同花顺王一平黄金坑公式
-
相关简介:同花顺王一平黄金坑公式 黄金坑买点,黄金坑三根量柱炒股票,我也不赚钱自己琢磨去吧。 源码 IF (MARKETTYPE==17 OR MARKETTYPE==33 ) { 分时趋势=该指标只用于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/E
-
文章来源:股海网作者:股海网发布时间:2016-01-04浏览次数:
同花顺王一平黄金坑公式
黄金坑买点,黄金坑三根量柱炒股票,我也不赚钱自己琢磨去吧。
源码
IF (MARKETTYPE==17 OR MARKETTYPE==33 )
{
分时趋势="该指标只用于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));