好用分时线-精品通达信指标公式源码分享
通达信免费指标
04-18
阅读:215
评论:0
STICKLINE(C>0,C,O,2.5,0),COLOR000000;
STICKLINE(C>0,H,L,0.1,0),COLOR000000;
现价:C,LINETHICK2;
均价:SUM(V*C,0)/SUM(V,0),COLORFF00FF;
昨收:DYNAINFO(3),COLORRED,LINETHICK2;
{涨停:REF(C,1)*1.1,NODRAW,COLORRED;
跌停:REF(C,1)*0.9,NODRAW,COLOR00FF00;}
VAR1:=EMA(C,12)-EMA(C,26);
VAR2:=EMA(VAR1,9);
MACD:=2*(VAR1-VAR2)*5;
STICKLINE(MACD>0,昨收,昨收+MACD,0,0),COLORRED;
STICKLINE(MACD<0,昨收,昨收+MACD,0,0),COLOR00FF00;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!