以下是通达信短线买卖 (副图指标源码)(无源码的请下载附件导入)
VAR1:=1;
VAR2:=(2*CLOSE+HIGH+LOW) / 4;
预警:90,COLORFFFF00;
关注:10,COLOR70DB93;
分界线:50,COLORFF8400,LINETHICK1;
VAR3:=LLV(LOW,9);
VAR4:=HHV(HIGH,5);
A1:EMA((((VAR2-VAR3)/(VAR4-VAR3))*100),5)*VAR1,COLORFF00FF;
A2:EMA(((0.618*REF(A1,1))+(0.382*A1)),3)*VAR1,COLORFFFFFF;
DRAWBAND(A1,RGB(230,74,74),A2,RGB(255,255,0));
DRAWICON(A1>=A2,0+4.5,1);
DRAWICON(A2>A1,100,2);
低买: IF((A1<20),15,0) ,COLORF300FF,LINETHICK2;
高卖:IF((A2>80),85,100),COLOR00FF00,LINETHICK2;
738233063.jpg
|