同花顺正反力指副图源码
-
相关简介:改编组成并用过的指标,观注反力.正力走势及关系,反趋及正趋,是趋势线. 反力: 3*SMA((C-LLV(C,5))/(HHV(NEW,5)-LLV(C,5))*100,5,1)-2*SMA(SMA((C-LLV(C,5))/(HHV(C,5)-LLV(C,5))*100,5,1),3,1),Color00FF00,linethick2; 正力: 3*SMA((C-LLV(C,5))/(HHV(C,5)-LLV(C,5))*100,5,1)-2*SMA(SMA((C-LLV(C,5))/(HHV
-
文章来源:股海网作者:股海网发布时间:2017-12-15浏览次数:
改编组成并用过的指标,观注"反力.正力"走势及关系,反趋及正趋,是趋势线.
反力: 3*SMA((C-LLV(C,5))/(HHV(NEW,5)-LLV(C,5))*100,5,1)-2*SMA(SMA((C-LLV(C,5))/(HHV(C,5)-LLV(C,5))*100,5,1),3,1),Color00FF00,linethick2;
正力: 3*SMA((C-LLV(C,5))/(HHV(C,5)-LLV(C,5))*100,5,1)-2*SMA(SMA((C-LLV(C,5))/(HHV(C,5)-LLV(C,5))*100,5,1),3,1),colorwhite,linethick2;
反趋:MA(反力,10),linethick2;
正趋:MA(正力,10),linethick2;
LC := REF(CLOSE,1);
DI:=(EMA(CLOSE,12) - EMA(CLOSE,26))*200;
DE:=EMA(DI,9);
MACD:=2*(DI-DE);
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*400-200;
STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,8,0),COLOR0000AA;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,8,0),COLOR0090FF;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),MACD,0,8,0),COLORFF0000;
STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,8,0),COLORFF00A9;