清晰波段主图(通达信公式 主图 源码 测试图 波段公式 顶底)

[复制链接]
查看19 | 回复0 | 2022-6-27 19:25:53 | 显示全部楼层 |阅读模式

MA5:MA(C,5),COLORF00FF0;
MA10:MA(C,10),COLORYELLOW;
MA21:MA(C,21),COLORE66878;
MA30:MA(C,30),COLORWHITE;
MA120:MA(C,120),COLORGREEN,POINTDOT;
MA240:MA(C,240),COLORRED,POINTDOT;
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
DRAWTEXT(CROSS(X2,X3),L*0.98,'BUY');
DRAWTEXT(CROSS(X3,X2),H*1.02,'SELL');
STICKLINE(X2>=X3,LOW,HIGH,1,0),COLORRED;
STICKLINE(X2>=X3,CLOSE,OPEN,3,1),COLORRED;
STICKLINE(X2>=X3,CLOSE,OPEN,2,0),COLORBROWN;
STICKLINE(X2<X3,LOW,HIGH,1,0),COLORGREEN;
STICKLINE(X2<X3,CLOSE,OPEN,3,1),COLORGREEN;
STICKLINE(CROSS(X2,X3),OPEN,CLOSE,2.5,0),COLORYELLOW;
STICKLINE(CROSS(X3,X2),OPEN,CLOSE,2.5,0),COLORBLUE;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MAVOL1:=MA(VOL,5);
MAVOL2:=MA(VOL,10);
Y:=MAVOL1<MAVOL2 AND DIF<DEA;
DRAWTEXT(Y,H,'空'),COLORGREEN;
Y1:=MAVOL1>MAVOL2 AND DIF>DEA;
DRAWTEXT(Y1,H,'多'),COLORRED;

p2019111615415671072.jpg

p2019111615415671072.jpg

2019111615414952126.rar

2.74 KB, 下载次数: 0

售价: 6 金钱  [记录]  [购买]

2019111615414952126.rar

回复

使用道具 举报

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

本版积分规则