通达信个股洗礼副图指标
2016-06-20 09:47:00来源:本站整理浏览:132
通达信个股洗礼副图指标
源码
A:=(H-L)/REF(C,1)/(VOL/CAPITAL);
上涨线:MA(A,7)*4,COLORGREEN;
获利线:MA(WINNER(C)*100 ,5),COLORRED;
STICKLINE(CROSS(获利线,上涨线),获利线,100,4,0);
DRAWICON(CROSS(获利线,上涨线),获利线,1);
DIF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA := EMA(DIF,6);
MACD := 2*(DIF-DEA), COLORSTICK;
周DIF:='MACD.DIF#WEEK';
周DEA:='MACD.DEA#WEEK';
EEE:=周DIF>周DEA AND DIF>DEA;
持股区:STICKLINE(EEE>0,85,75,6,1),COLORYELLOW;
K5:=WINNER(CLOSE)*100;
K6:=100*VOL/CAPITAL;
高控盘:STICKLINE(K5>=80 AND K6<3 ,90,100,6,0),COLORGREEN;
DRAWTEXT(CROSS(上涨线,100),上涨线,'←洗盘'),COLORWHITE;
- 上一篇公式:通达信另类RSI副图源码贴图说明
- 下一篇公式:通达信多项指标融合直接源码,学习借鉴