以下是通达信黄金手指主图指标源码(无源码的请下载附件导入)
MA5:MA(C,5);
MA24:MA(C,24);
MA72:MA(C,72);
VAR1:=(CLOSE+HIGH+LOW)/3;
VAR2:=EMA(VAR1,10);
VAR3:=REF(VAR2,1);
持股: IF(VAR2>VAR3,VAR2,DRAWNULL), POINTDOT,LINETHICK6, COLORYELLOW;
持币: IF(VAR2<VAR3,VAR3,DRAWNULL),POINTDOT,LINETHICK6, COLORBLUE;
AA:=CROSS(MA(C,5),MA(C,18));
DRAWICON(AA,L*0.98,11);
620500677.jpg
|