- UID
- 2
- 积分
- 2892977
- 威望
- 1396520 布
- 龙e币
- 1496457 刀
- 在线时间
- 13326 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-12-26
|
源码如下:
- OBV:=EMA(SUM(IF(C>REF(C,1),VOL,IF(C
- obve:=EMA(OBV,3);
- DIFF:=(EMA(obve,12)-EMA(obve,26));
- bbDIFF:=DIFF-REF(DIFF,1);
- DEA:=EMA(DIFF,9);
- bbDEA:=DEA-REF(DEA,1);
- MACD:2*(DIFF-DEA);
- PARTLINE(IF(C,0,0),0,colorwhite);
- STICKLINE(DIFF>=REF(DIFF,1) AND DEA>REF(DEA,1),DIFF,dea,8,0),LINETHICK4,Color0089FF;//{橙}
- //DRAWTEXT(DIFF>=REF(DIFF,1) AND DEA>REF(DEA,1),L*0.98,"介入");
- STICKLINE(DIFF>DEA,DIFF,DEA,8,0),Color0089FF;//{橙--加宽}
- STICKLINE(DIFF
- STICKLINE(DIFF
- STICKLINE(DIFF>=REF(DIFF,1) AND DEA
- STICKLINE(DIFFREF(DEA,1),DIFF,DEA,8,0),LINETHICK4,coloryellow;//{黄}
- STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,2,0),colorred;
- STICKLINE(MACD0,0,MACD,2,0),coloryellow;
- STICKLINE(MACD<0,0,MACD,2,0),colorgreen;
- STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,2,0),COLOR0099FF;
- //IF(C,2*(DEA-DIFF),MACD),LINETHICK2,colorgray;//{加速线}
复制代码
|
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|