通达信简单反k线 副图源码

[复制链接]
查看66 | 回复0 | 2022-7-24 04:20:41 | 显示全部楼层 |阅读模式

C1:=REVERSE(C),COLORFFFFFF,POINTDOT,LINETHICK0;
 O1:=REVERSE(O);
 H1:=REVERSE(L);
 L1:=REVERSE(H);
 MA1:MA(C1,5);
 MA2:EMA(SLOPE(C1,21)*20+C1,36);
 MA3:MA(C1,30);
 MA4:MA(C1,120);
 STICKLINE(C1<=O1,O1,C1,2,0),COLOR00FF00;
 STICKLINE(C1<=O1,H1,L1,0,0),COLOR00FF00;
 {GREEN}
 STICKLINE(C1<=O1,H1,L1,0,0 ),COLORFF7700;
 STICKLINE(C1<=O1,O1,C1,3,0),COLORFF7700;
 STICKLINE(C1<=O1,O1,C1,2.2,0),COLORFF9900;
 STICKLINE(C1<=O1,O1,C1,1.5,0),COLORFFBB00;
 STICKLINE(C1<=O1,O1,C1,0.5,0),COLORCYAN;
 {RED}
 STICKLINE(C1>O1,O1,C1,3,0),COLOR000099;
 STICKLINE(C1>O1,O1,C1,2.2,0),COLOR0000CC;
 STICKLINE(C1>O1,O1,C1,1.5,0),COLOR0000FF;
 STICKLINE(C1>O1,O1,C1,0.5,0),COLORCC66FF;
 STICKLINE(C1>O1,H1,L1,0,0),COLORRED;
 {BUY}

 DRAWICON(CROSS(MA2,MA1),L1*1.1,7);
 DRAWICON(CROSS(MA3,MA1),L1*1.02,1);
 DRAWICON(CROSS(MA1,MA2),L1*1.02,8);
 

91366597.jpg

91366597.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则