天堂星MACD主图指标 (源码)

2012-05-08 09:22:00来源:本站整理浏览:697

通达信天堂星MACD主图指标公式股票软件源码如下:

MA3:MA(CLOSE,3);
MA5:MA(CLOSE,5);
MA7:MA(CLOSE,7);
MA15:MA(CLOSE,15);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60),COLORYELLOW;
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
双线合一:=COUNT(CROSS(DIFF,DEA),2)=1 ;
均线多头:=MA3>MA5 AND MA5>MA7;
中均线多头:=MA15>MA30 AND MA30>MA60;
{股票软件下载网-股票公式网站 www.gpxiazai.com}
AA:=双线合一 AND 短均线多头 AND FILTER(双线合一 AND 短均线多头,2);
STICKLINE(DIFF>=DEA,H,L,0.5,0),COLORRED;
STICKLINE(DIFF>=DEA,O,C,5,0),COLORRED;
STICKLINE(DIFF<DEA,H,L,0.5,0),COLORF0F000;
STICKLINE(DIFF<DEA,O,C,5,0),COLORF0F000;
短线介入:DRAWICON(AA AND DIFF<0.15,L*0.99,1);
大胆介入:DRAWICON(AA AND DIFF>MACD AND DIFF<0.15,L*0.95,1);

通达信天堂星MACD主图指标公式

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式