- UID
- 2
- 积分
- 2892977
- 威望
- 1396520 布
- 龙e币
- 1496457 刀
- 在线时间
- 13326 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-12-26
|
公式如下:- RV:=(CLOSE-LLV(LOW,29))/(HHV(HIGH,29)-LLV(LOW,29))*100;
- VAR89:=SMA(RV,3,1);
- VAR98:=SMA(VAR89,3,1);
- PARTLINE(VAR98>REF(VAR98,1),VAR89),COLORRED,LINETHICK2;
- PARTLINE(VAR98<REF(VAR98,1),VAR89),COLORGREEN,LINETHICK2;
- VAR1:=LLV(LOW,34);
- VAR2:=HHV(HIGH,34);
- VAR3:=REF(CLOSE,1);
- VAR4:=EMA((CLOSE-VAR1)/(VAR2-VAR1),3)*100;
- VAR7:=SMA(MAX(CLOSE-VAR3,0),7,1)/SMA(ABS(CLOSE-VAR3),7,1)*100,COLORRED;
- VAR5:=(VAR4-LLV(VAR4,21))/(HHV(VAR4,21)-LLV(VAR4,21))*100;
- Q1:IF(CROSS(VAR5,90) AND VAR4<40,18,10);
- Q2:IF(CROSS(VAR7,12) AND REF(VAR4,5)<20 AND REF(VAR4,3)<20,18,10);
- P1:IF(CROSS(84,VAR7),82,90),COLOR99FF33;
- P2:IF(CROSS(84,VAR4),82,90),COLORCYAN;
- DRAWTEXT(Q1>10 OR Q2>10,20,'多'),COLOR0000FF;
- DRAWTEXT(P1<90 OR P2<90,80,'空'),COLOR00FF00;
复制代码
效果如下:
|
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|