以下是通达信LN18副图指标
通达信LN18副图指标
源码
MAV:=(INDEXC*2+INDEXH+INDEXL)/4;
SK := EMA(MAV,13) - EMA(MAV,34);
SD := EMA(SK,3);
B:=(SK-SD);
多方:IF(B>=0,B,0),LINESTICK,LINETHICK2,COLOR0000FF;
IF(B>=0 AND B
空方:IF(B<=0,B,0),LINESTICK,LINETHICK2,LINETHICK2,COLOR00FF00;
IF(B<0 AND B>REF(B,1),B,DRAWNULL),LINESTICK,LINETHICK2,COLORFF00FF;
TJ1:=FILTER(CROSS(B,0) AND B>REF(B,1),5);
DRAWICON(TJ1,空方,15);
TJ2:=FILTER(REF(B,2)>REF(B,1) AND B>REF(B,1),5);
DRAWICON(TJ2,空方,23);
TJ3:=FILTER(REF(B,2)
DRAWICON(TJ3,多方,19);