通达信大波段主图指标公式
2020/1/4 19:07:40
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA60:MA(C,60);
HH:=HHV(H,10);
LL:=LLV(L,10);
AA:=SMA(C,13,2);
DRAWTEXT(ISLASTBAR=1 AND AA>REF(AA,1) AND REF(AA,1)<REF(AA,2) AND REF(AA,2)<REF(AA,3),HH,'激进买入'),COLORRED;
{投股票网-股票公式网站 www.tou18.cn}
DRAWTEXT(ISLASTBAR=1 AND AA>REF(AA,1) AND REF(AA,1)>REF(AA,2),HH,'激进持股'),COLOR0066FF;
DRAWTEXT(ISLASTBAR=1 AND AA<REF(AA,1) AND REF(AA,1)>REF(AA,2),HH,'激进卖出'),COLORGREEN;
A1:=MA(C,13);
ZX:=REF(A1,13/2+1);
DRAWTEXT(ISLASTBAR=1 AND CROSS(C,ZX),LL,'稳健买入'),COLORRED;
DRAWTEXT(ISLASTBAR=1 AND C>ZX AND REF(C,1)>REF(ZX,1),LL,'稳健持股'),COLOR0066FF;
DRAWTEXT(ISLASTBAR=1 AND C<ZX AND REF(C,1)>REF(ZX,1),LL,'稳健卖'),COLORGREEN;
T1:=(AA>REF(AA,1) AND REF(AA,1)<REF(AA,2) AND REF(AA,2)<REF(AA,3)) OR CROSS(C,ZX);
T2:=(AA<REF(AA,1) AND REF(AA,1)>REF(AA,2)) OR (C<ZX AND REF(C,1)>REF(ZX,1));
T3:=(AA>REF(AA,1) AND REF(AA,1)>REF(AA,2)) OR (C>ZX AND REF(C,1)>REF(ZX,1));
STICKLINE(T1,O,C,2.5,0),COLOR00EEEE;
STICKLINE(T2,O,C,2.5,0),COLORBLUE;
STICKLINE(T3,O,C,2.5,0),COLORRED;
STICKLINE(T1 OR T2 OR T3,O,C,0,0);
投股 票网 www.tou 18.cn
股市公式下载推荐