- UID
- 2
- 积分
- 2869185
- 威望
- 1384620 布
- 龙e币
- 1484565 刀
- 在线时间
- 13082 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-11-14
|
- MA3:=MA(CLOSE,3);
- MA7:=MA(CLOSE,7);
- MA14:=MA(CLOSE,14);
- RED:=CROSS(C,MA14);
- GREEN:=CROSS(MA14,C);
- FLAG:=IF(BARSTATUS=1,0,IF(RED,1,IF(GREEN,-1,REF(FLAG,1))));
- STICKLINE(FLAG>0,HIGH,MAX(C,O),0,1),COLORRED;
- STICKLINE(FLAG>0,LOW,MIN(C,O),0,1),COLORRED;
- STICKLINE(FLAG>0,C,O,4,1),COLORRED;
- STICKLINE(FLAG<0,HIGH,MAX(C,O),0,0),COLORGREEN;
- STICKLINE(FLAG<0,LOW,MIN(C,O),0,0),COLORGREEN;
- STICKLINE(FLAG<0,C,O,4,0),COLORGREEN;
- STICKLINE(FLAG=0,HIGH,MAX(C,O),0,0),COLORYELLOW;
- STICKLINE(FLAG=0,LOW,MIN(C,O),0,0),COLORYELLOW;
- STICKLINE(FLAG=0,C,O,4,0),COLORYELLOW;
- DRAWICON(FLAG>0 AND CROSS(MA3,MA7),LOW,4),VALIGN0;
- DRAWICON(FLAG<0 AND CROSS(MA7,MA3),HIGH,5),VALIGN2;
复制代码
|
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|