|
|
分析家原码
- DIFF1:(EMA(CLOSE,12)-EMA(CLOSE,26))*3{,linethick2};
- DEA1:EMA(DIFF1,9);{,linethick2,colorFF00FF}
- MACD1:=2*(DIFF1-DEA1){,COLORSTICK};
- STICKLINE(MACD1>0,MACD1,0,0.8,1),colorFFCC33;
- STICKLINE(MACD1<0,MACD1,0,0.8,1),colorCCCCCC;
- DIFF22:=(EMA(CLOSE,60) - EMA(CLOSE,130))*1.5;
- DEA22:=EMA(DIFF22,45);
- MACD2:2.5*(DIFF22-DEA22),colorred,linethick2;
- FILLRGN( macd2,0,macd2>0),COLOR99ff66;
- DIFF2:DIFF22,colorgreen,linethick2;
- DEA2:DEA22,color9966ff,linethick2;
- {DIFF33:=EMA(CLOSE,240) - EMA(CLOSE,520);
- DEA33:=EMA(DIFF33,180);
- MACD3:2*(DIFF33-DEA33),CIRCLEDOT,color00CCFF};
复制代码 |
|
|