通达信买卖洗盘空仓主图源码

[复制链接]
查看131 | 回复0 | 2021-8-20 04:35:32 | 显示全部楼层 |阅读模式

以下是通达信买卖洗盘空仓主图源码(无源码的请下载附件导入)

VAR1:=EMA(C,3);
VAR2:=EMA(C,5);
VAR3:=EMA(C,10);
VAR4:=EMA(C,20);
VAR5:=EMA(C,30);
VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;
VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;
VAR8:=(VAR6-REF(VAR6,15))/REF(VAR6, 15)*100;
VAR9:=EMA(VAR7,8);STICKLINE(VAR7<1*REF(VAR7,1),H,L,0.5,0),COLORBLUE;
STICKLINE(VAR7<1*REF(VAR7,1),O,C,6,  0),COLORBLUE;
STICKLINE(VAR7>1*REF(VAR7,1),H,L,0.5,0),COLORRED;
STICKLINE(VAR7>1*REF(VAR7,1),O,C,6,  0),COLORRED;
STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),H,L,0.5,0),COLORGREEN;
STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),O,C,6,  0),COLORGREEN;
买进价:((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
买进条件:CROSS(C,买进价) AND 买进价>REF(买进价,1);
STICKLINE(买进条件,H,L,0.5,1),COLORWHITE,LINETHICK2;
STICKLINE(买进条件,O,C,6,0),COLORWHITE,LINETHICK2;
加码价:((C-REF(MA(C,18),1))/18+MA(C,18))*1.004;
加码条件:CROSS(C,加码价) AND 加码价>REF(加码价,1);
STICKLINE(加码条件,H,L,0.5,1),COLORYELLOW,LINETHICK2;
STICKLINE(加码条件,O,C,6,0),COLORYELLOW,LINETHICK2; 

65399721.jpg

65399721.jpg

回复

使用道具 举报

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

本版积分规则