当前位置:首页 > 同花顺公式 > 内容

分时决策 同花顺分时指标

作者:公式指标网   更新时间:2016-09-03   点击:

分时决策 同花顺分时指标

源码

IF (MARKETTYPE==17 OR MARKETTYPE==33 )
{www.qill.cn
分时趋势="该指标只用于A股。";
}
AAA:=MAX(DYNAINFO(3),DYNAINFO(5));
BBB:=MIN(DYNAINFO(3),DYNAINFO(6));
CCC:AAA-BBB;
中轨:(AAA+BBB)/2,colorgray;
DIFF:=(EMA(NEW,12)-EMA(NEW,26))*500/EMA(NEW,26);
DEAA:=EMA(DIFF,9);
MACD:=(DIFF-DEAA)/4;
STICKLINE(MACD>=REF(MACD,1)AND MACD<=0,中轨,中轨+MACD,2,1),COLOR009999;
STICKLINE(MACD>REF(MACD,1)AND MACD>=0,中轨,中轨+MACD,2,1),COLOR0000DD;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,中轨,中轨+MACD,2,0),COLORDDDD00;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,中轨,中轨+MACD,2,0),COLORDDDD00;
阻力:BBB+CCC*7/8,COLOR00DD00;
支撑:BBB+CCC*1/8,COLOR00DD00;
上顶:BBB+CCC*2/3,colorwhite;
下底:BBB+CCC/3,colorwhite;
价:NEW,COLOR00FFFF;
FILLRGN(MA(NEW,60),MA(NEW,90),MA(NEW,60)>MA(NEW,90),RGB(255,0,255));
FILLRGN(MA(NEW,60),MA(NEW,90),MA(NEW,60)<MA(NEW,90),RGB(127,0,255));
FILLRGN(MA(NEW,20),MA(NEW,30),MA(NEW,20)>MA(NEW,30),RGB(255,255,0));
FILLRGN(MA(NEW,20),MA(NEW,30),MA(NEW,20)<MA(NEW,30),RGB(180,180,0));
FILLRGN(MA(NEW,10),MA(NEW,20),MA(NEW,10)>MA(NEW,20),RGB(255,0,0));
FILLRGN(MA(NEW,10),MA(NEW,20),MA(NEW,10)<MA(NEW,20),RGB(140,0,0));

分时决策 同花顺分时指标

资源下载

相关文章

热门推荐

移动端首页 | PC端

© by gszx.com.cn Mobile Web