- UID
- 2
- 积分
- 2869185
- 威望
- 1384620 布
- 龙e币
- 1484565 刀
- 在线时间
- 13082 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-14
|
- S:=CROSS(CLOSE,EMA2(HIGH,30));
- X:=CROSS(EMA2(LOW,30),CLOSE);
- WS:=BARSLAST(S)+1;
- WX:=BARSLAST(X)+1;
- SS:=CROSS(SUM(S,WX),0.5);
- XX:=CROSS(SUM(X,WS),0.5);
- STICKLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),COLORMAGENTA,1);
- STICKLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),EMA2(HIGH,30),COLORBLUE,1);
- STICKLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),EMA2(LOW,150),COLORLIGHTRED,1);
- STICKLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),EMA2(HIGH,150),COLORLIGHTGREEN,1);
- PARTLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),COLORMAGENTA);
- PARTLINE(CLOSE<EMA2(HIGH,30),EMA2(HIGH,30),COLORBLUE);
- PARTLINE(CLOSE>EMA2(LOW,30),EMA2(LOW,30),COLORMAGENTA);
- PARTLINE(CLOSE<EMA2(LOW,30),EMA2(LOW,30),COLORBLUE);
- PARTLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),COLORLIGHTRED);
- PARTLINE(CLOSE<EMA2(HIGH,150),EMA2(HIGH,150),COLORLIGHTGREEN);
- PARTLINE(CLOSE>EMA2(LOW,150),EMA2(LOW,150),COLORLIGHTRED);
- PARTLINE(CLOSE<EMA2(LOW,150),EMA2(LOW,150),COLORLIGHTGREEN);
- STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,COLORRED,0);
- STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,COLORCYAN,0);
- DRAWTEXT(SS,LOW,'买入');
- DRAWTEXT(XX,HIGH,'卖出');
复制代码 |
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|