通达信多空乾坤线主图指标公式
2021/2/19 18:42:51
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.8,1,0,'今天,你打新股了吗?')COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.8,0.87,0,'今天,你打新股了吗?')COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.8,0.8,0,'今天,你打新股了吗?')COLORRED;
M:=60; N:=30;
乾坤线:EMA(CLOSE,M),COLORYELLOW;
操盘线:=EMA(CLOSE,N);
多线:IFF(操盘线>乾坤线,操盘线 ,DRAWNULL),COLORRED,LINETHICK1.8;
线上选股:CROSS(C,多线) OR (O<多线 AND C>多线),COLORWHITE,NODRAW;
空线:IFF(操盘线<=乾坤线,操盘线,DRAWNULL),COLORCYAN,LINETHICK1.8;
买信号:=REF(操盘线,1)<=REF(乾坤线,1) AND 操盘线>乾坤线;
卖信号:=REF(操盘线,1)>=REF(乾坤线,1) AND 操盘线<乾坤线;
DRAWICON(买信号,乾坤线,1);
DRAWICON(卖信号,操盘线,2);
转强:空线>REF(空线,1) AND 乾坤线>REF(乾坤线,1),NODRAW,COLORMAGENTA;
STICKLINE(转强,空线*0.998,空线*1.002,1,1),COLORMAGENTA;
转强XG: 转强 AND REF(转强,1)=0,NODRAW,COLORRED;
金叉:CROSS(操盘线,乾坤线),NODRAW,COLORYELLOW;
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
卖:=CROSS(90,操作线);
DRAWICON(卖,H*1.02,43);
看 股吧公式 www.k anguba.com
其它股票公式列表