通达信涨跌乖离马前就有炮指标(源码)

2014-04-10 08:19:00来源:本站整理浏览:345

0,COLOR00FFFF,DOTLINE;
KCW:=WMA(WMA(WMA(C,2),3),3);
AAK:(KCW-REF(KCW,1))/REF(KCW,1)*100,COLOR00FF00,LINETHICK0;
DRAWBAND(AAK,RGB(255,80,0),REF(AAK,1),RGB(0,100,55));
(KCW-REF(KCW,1))/REF(KCW,1)*100,COLOR00FF00,LINETHICK2;
IF(AAK>REF(AAK,1),AAK,DRAWNULL),COLOR0000FF,LINETHICK2;
{FORCAST六天的反映比KCW.还要提前一步其实这特别有利于买卖股票.能起到预告的效果}
PMA5:=FORCAST(C,5);
PM5:(PMA5-REF(PMA5,1))/REF(PMA5,1)*100,COLORFF00FF,DOTLINE;
PMA6:=FORCAST(C,6);
PM6:(PMA6-REF(PMA6,1))/REF(PMA6,1)*100,COLOR00FF00,DOTLINE;
PMA7:=FORCAST(C,7);
PM7:(PMA7-REF(PMA7,1))/REF(PMA7,1)*100,COLOR00FFFF,DOTLINE;
合力:(3*PM5+2*PM6+PM7)/6,COLOR00FFFF,LINETHICK2;
DRAWTEXT_FIX(1,0.02,0,0,'■【注意】曲线的变化点与股价涨跌一旦发生【背离】以后的涨跌都不可靠.'),COLOR00FFFF,LINETHICK3;


股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式