齐头并进,非涨不可(副图)——通达信指标...

齐头并进,非涨不可(副图)——通达信指标

源码:
A:=EMA((EMA(CLOSE,29)+EMA(CLOSE,31)+EMA(CLOSE,33))/3,3),COLORYELLOW;
DRAWTEXT_FIX(1,0.52,0,0,'齐头并进'),COLORRED;
B:=REF(A,1);
DRAWTEXT(A>B,(A+B)/2,'★'), COLORFF00FF;
DRAWTEXT(A<=B,(A+B)/2,'☆'), COLORGREEN;
STICKLINE(A>B,A,B,3,0),COLORFF00FF;
STICKLINE(A<=B,A,B,3,1),COLORFF0000,NODRAW;
齐头并进:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100));
趋势线:=EMA(((齐头并进 / 10) + EMA(CLOSE,10)),3);
AA:=-100*(趋势线-CLOSE)/趋势线;
BB:=(EMA(AA,5) );
SS:=EMA(CLOSE,3);
CXH:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);
ZB:=MA(CXH,1);
STICKLINE(((SS>ZB)),SS,ZB,0.05,0),COLORRED;
STICKLINE(((SS<ZB)),SS,ZB,0.01,0),COLOR00FF00;

(0)

相关推荐