天下第二 通达信主图指标 源码 贴图 无未来函数
MAA5:MA(C,5),COLORWHITE;MAA10:MA(C,10)COLORYELLOW;
MAA23:MA(C,23),COLORMAGENTA;
A:=C-REF(C,1);
AA:=100*EMA(EMA(A,6),6)/EMA(EMA(ABS(A),6),6);
买:=LLV(AA,2)=LLV(AA,7) AND COUNT(AA -20,2) AND CROSS(AA,MA(AA,2));
DRAWICON(FILTER(买=1,5),LOW*0.982,7);
VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR2:=REF(VAR1,1);{www.9m8.cn 九毛八公式指标网}
VAR3:=SMA((CLOSE-VAR2),6,1)/SMA(ABS(CLOSE-VAR2),6,1)*100;
VAR4:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(FILTER(REF(VAR3,1) 81 AND VAR3 80 OR CROSS(68,VAR4),5),HIGH*1.015,8);
VARC:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
DRAWTEXT(CROSS(84,VARC),H*1.01,'---顶'),COLORYELLOW;