飞狐微分MACD指标公式,飞狐黄金一线指标公式
admin888
|飞狐微分MACD指标公式,飞狐黄金一线指标公式
飞狐微分MACD指标公式
dif12:=(ema(CLOSE,12)-Ema(CLOSE,26))/((EMA(CLOSE,12)+EMA(CLOSE,26))/2)*1000;
DEA12:=EMA(DIF12,9);
相对macd:2*(DIF12-DEA12),COLORstICK,COLORRED;
kdIF12:=3*(DIF12-DEA12);{KDIF12:=2*(DIF12-DEA12)};
KDEA12:=SMA(KDIF12,5,2);
买卖力道:=2*(KDIF12-KDEA12),COLORLIRED,LINETHICK1;
相对DIF:=DIF12,COLORMAGENTA,LINETHICK2;
相对DEA:=DEA12,COLORGREEN,LINETHICK2;
微分DIF:KDIF12,COLORYELLOW,LINETHICK1;
微分DEA:=KDEA12,COLORLIGRAY,LINETHICK1;
STICKLINE(相对MacD0,0,相对MACD,0,0 ),COLOR00BBFF;
STICKLINE(相对MACD>=REF(相对MACD,1)AND 相对MACD>0,0,相对MACD,0,0 ),COLOR0011BB;
STICKLINE(相对MACD>REF(相对MACD,1)AND 相对MACD<0,0,相对MACD,0,0),COLORBB11BB;
STICKLINE(相对MACD<=REF(相对MACD,1)AND 相对MACD<0,0,相对MACD,0,0),COLORFFBB11;
wr反向:(0-微分DIF)-100,COLORRED;
极近:IF(微分DIF-WR反向<=10,-150,-200),COLOR00FF00;
VAR4:=MA(CLOSE,5);
VAR5:=MA(CLOSE,10);
VAR6:=MA(CLOSE,30);
VAR7:=MA(CLOSE,60);
VAR8:=EMA(COST(85),7);
VAR9:=EMA(COST(15),7);
VARA:=(SUM(((CLOSE *vol) * 10),4) / SUM((VOL * 200),4));
VARB:=(INTPART((VARA * 10)) / 10);
VARC:=(SUM(((CLOSE * VOL) * 10),7) / SUM((VOL * 200),7));
VARD:=(INTPART((VARC * 10)) / 10);
VARE:=(SUM(((CLOSE * VOL) * 10),28) / SUM((VOL * 200),28));
VARF:=(INTPART((VARE * 10)) / 10);
短线趋势:=(EMA(CLOSE,5) - EMA(CLOSE,10)),COLORMAGENTA,LINETHICK2;
中线趋势:=EMA(短线趋势,9),COLORMAGENTA,LINETHICK3;
VAR10:=((0 - ((10 * (HHV(CLOSE,5) - CLOSE)) / (HHV(CLOSE,5) - LLV(LOW,5)))) + 10);
VAR11:=((0 - ((10 * (HHV(CLOSE,10) - CLOSE)) / (HHV(CLOSE,10) - LLV(LOW,10)))) + 10);
VAR12:=((0 - ((10 * (HHV(CLOSE,20) - CLOSE)) / (HHV(CLOSE,20) - LLV(LOW,20)))) + 10);
VAR13:=((0 - ((10 * (HHV(CLOSE,30) - CLOSE)) / (HHV(CLOSE,30) - LLV(LOW,30)))) + 10);
VAR14:=REF(中线趋势,1);
VAR15:=中线趋势;
VAR16:=(VAR15 - VAR14);
VAR17:=REF(短线趋势,1);
VAR18:=短线趋势;
VAR19:=(VAR18 - VAR17);
VAR1A:=OPEN;
VAR1B:=CLOSE;
庄家吸筹:IF((((((((VAR1A <= VAR4) AND (VAR1A <= VAR5)) AND (VAR1A <= VAR6)) AND (VAR1B >= VAR4)) AND (VAR1B >= VARF)) AND (VAR16 > 0)) AND (VAR19 > 0)),-50,-100),LINETHICK2,COLOR66FF00;
飞狐黄金一线指标公式
重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382;
Gao:=HHV(C,60)-LLV(C,60);
rsi:=SMA(maX(重心-REF(重心,1),0),5,1)/SMA(Abs(重心-REF(重心,1)),5,1);
黄金线:重心+GAO*(RSI-0.5);
上升:crOSS(黄金线,REF(黄金线,1)),COLORRED,LINETHICK0;
PARTLINE(黄金线>ref(黄金线,1),黄金线),LINETHICK3,COLORRED;
下降:CROSS(ref(黄金线,1),黄金线),COLORGREEN,LINETHICK0;
DRAWICON(上升,L*0.995,1);
DRAWICON(下降,H*1.005,2);
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。