- UID
- 2
- 积分
- 2892917
- 威望
- 1396490 布
- 龙e币
- 1496427 刀
- 在线时间
- 13326 小时
- 注册时间
- 2009-12-3
- 最后登录
- 2024-12-26
|
[大智慧指标] [转载]老指标MACD做波段简单好用,(主图,源码,附图)
ACD是最常用的家喻户晓的指标,简单好用用来做波段,比希里糊嘟竟坐过山车强得多,主图公式--------------------就是MA加MACD;
- MA1:MA(C,5),PRECIS2,LINETHICK2;
- MAR:ref(ma1,1),LINETHICK0;
- MA2:MA(C,10),PRECIS2;
- MA3:MA(C,20),PRECIS2;
- MA4:MA(C,30),PRECIS2;
- MA5:MA(C,60),PRECIS2;
- MA6:MA(C,120),PRECIS2;
- 现价: if (DYNAINFO(4)=0,C,DYNAINFO(7)),color0077FF,POINTDOT;
- X:=BARSLAST(DISPSTATUS=1)+1;
- E:=llvall(llv(l,x))*0.95;
- DIFF :EMA( EMA(CLOSE,12) - EMA(CLOSE,26),3),COLOR0000FF,LINETHICK0;
- DEA : EMA(DIFF,9),COLOR00FF00,LINETHICK0;
- MACD : 2*(DIFF-DEA),LINETHICK0;
- STICKLINE(MACD>0,E+MACD,E,4,0),Color0000FF;
- STICKLINE(MACD<0,E+MACD,E,1,0),Color00FF00;
- DRAWGBK(DIFF>DEA,STRIP(RGB(0,0,255),RGB(140,0,80),0)),LAYER0;
- VERTLINE(CROSS(REF(WMA(C,13),1),WMA(C,13)) AND MACD>0 ,2),LAYER0,COLOR00FFFF;
复制代码
|
论坛官方微信、群(期货热点、量化探讨、开户与绑定实盘)
|