飞狐量质变指标公式,飞狐黄金山指标公式
admin888
|飞狐量质变指标公式,飞狐黄金山指标公式
飞狐量质变指标公式
{量质变}流通:CAPITAL/1000000,LINETHICK0,PRECISION2;
内外比:DYNAINFO(23)/DYNAINFO(22),COLORYELLOW,PRECISION1;
量比:V/(REF(ma(V,5),1)),COLORYELLOW,PRECISION1;
换手:vol/CAPITAL*100,POINTDOT COLORMAGENTA,PRECISION0;
{FWH58地量买点}地量rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
地量k:=SMA(地量rsv,3,1);
地量d:=sma(地量k,3,1);
地量j:=3*地量k-2*地量d;
地量买点:IF(crOSS(0.9,1/VOL*1000>0.01 AND 地量j<0),1,0),COLORWHITE,LINETHICK0;
量:VOL,VOLstICK;
V5:MA(VOL,5),COLORWHITE;
V35:MA(VOL,35)COLORYELLOW;
V135:MA(VOL,135);
AA:=VOL>REF(V,1)*1.9;
STICKLINE(AA,0,V,5,0),COLORYELLOW;
STICKLINE(AA1,0,V,5,0),COLORGREEN;
STICKLINE(AA2,0,V,5,0),COLORMAGENTA;
TJ1:=COUNT(V>REF(V,1)*1.9,4)=1;
TJ2:=COUNT(VMIN(L,4) AND L>REF(L,1),3)=3 ;
TJ3:=TJ1 AND TJ2;
STICKLINE(TJ3,0,V,5,0),COLORBLUE;
STICKLINE(地量买点=1,0,V*1.2,2,0),COLORWHITE;
DRAWTEXT(地量买点=1,V*1.3,'★'),COLORWHITE;
QJJ:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN))*10;
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE
HSL:=(XVL/20)/1.15;
攻击:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=ema(攻击,3);0,POINTDOT,COLORWHITE;
A1:SUM(LLJX,1),COLORCYAN;
A2:SUM(LLJX,2),COLORCYAN;
A3:SUM(LLJX,3),COLORCYAN;
A4:SUM(LLJX,4),COLORCYAN;
A5:SUM(LLJX,5),COLORCYAN;
A6:SUM(LLJX,6),COLORCYAN;
A7:SUM(LLJX,7),COLORCYAN;
A8:SUM(LLJX,8),COLORCYAN;
A9:SUM(LLJX,9),COLORCYAN;
A10:SUM(LLJX,10),COLORCYAN;
partline(a1>REF(a1,1),a1),COLORMAGENTA;
partline(a2>REF(a2,1),a2),COLORRED;
partline(a3>REF(a3,1),a3),COLORRED;
partline(a4>REF(a4,1),a4),COLORRED;
partline(a5>REF(a5,1),a5),COLORRED;
partline(a6>REF(a6,1),a6),COLORRED;
partline(a7>REF(a7,1),a7),COLORRED;
partline(a8>REF(a8,1),a8),COLORRED;
partline(a9>REF(a9,1),a9),COLORRED;
PARTLINE(a10>REF(a10,1),a10),COLORRED,LINETHICK3;
CC1:=IF(A1>REF(A1,1),1,0);
CC2:=IF(A2>REF(A2,1),1,0);
CC3:=IF(A3>REF(A3,1),1,0);
CC4:=IF(A4>REF(A4,1),1,0);
CC5:=IF(A5>REF(A5,1),1,0);
CC6:=IF(A6>REF(A6,1),1,0);
CC7:=IF(A7>REF(A7,1),1,0);
CC8:=IF(A8>REF(A8,1),1,0);
CC9:=IF(A9>REF(A9,1),1,0);
CC10:=IF(A10>REF(A10,1),1,0);
LS1:=MAX(MAX(A1,A2),MAX(A2,MAX(A3,MAX(A4,MAX(A5,MAX(A6,MAX(A7,MAX(A8,MAX(A9,A10)))))))));
LS2:=MIN(MIN(A1,A2),MIN(A2,MIN(A3,MIN(A4,MIN(A5,MIN(A6,MIN(A7,MIN(A8,MIN(A9,A10)))))))));
量线粘合度:ABS((LS1-LS2)/LS2)*100,LINETHICK0;
VAX2:=EMA(C,7);
VAR3:=EMA(C,14);
VAR4:=EMA(C,25);
VAR5:=2*(VAX2-VAR4);
VAR6:=2*(VAX2-VAR3);
VAR7:2*(VAR6+VAR5);
DRAWTEXT(CROSS(VAR7,0),V*1.1,'★'),COLORYELLOW;
LC:=REF(CLOSE,1);
rsi5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HX:=(HIGH - REF(HIGH,1));
LX:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HX > 0) AND (HX > LX)),HX,0),10);
DMM:=SUM(IF(((LX > 0) AND (LX > HX)),LX,0),10);
pdi:=((DMP * 100) / TR1);
mdi:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
wr10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
ZZ:=(AV + NEWVOL);
DRAWICON(CROSS(ZZ,0),v,1),COLORFF00FF;
飞狐黄金山指标公式
DRAWGBK(DAY>0,COLORRGB(20,5,205),COLORRGB(25,255,0),1);
difF周 :=ema(CLOSE,60) - Ema(CLOSE,130);
DEA周 := EMA(DIFF周,45);
金山 : 2*(DIFF周-DEA周), LINETHICK0;{
macd周}FILLRGN(0>金山, 0,金山),COLORBLUE;
FILLRGN(金山>=0,金山, 0),COLORYELLOW;
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),LINETHICK0;
DEA : EMA(DIFF,9),LINETHICK0;
FILLRGN(DIFF>DEA,DIFF,DEA),colorred;
FILLRGN(DIFF
力:2*(DIFF-DEA);
MacD : 2*(DIFF-DEA), COLORstICK,LINETHICK2;
DD:=C=HHV(C,180);
EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1;
CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1;
DRAWICON(CC AND EE,0.1,11);
A1:=BArslAST(REF(crOSS(DIFF,DEA),1));
底背离:=IF(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),1.2,0),COLORRED,LINETHICK4,CROSSDOT;
势:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED LINETHICK2;
DRAWICON(DD AND EE AND DEA< HHV(DEA,180),0.1,2);
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)
压:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN LINETHICK2;
FF:=C=LLV(C,180);
GG:= DEA> REF(DEA,1) AND REF(DEA> REF(DEA,1),1)=1;
LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1;
DRAWICON(LL AND GG,-0.1,16);
DRAWICON(FF AND GG AND DEA> LLV(DEA,180),-0.3,9);
MM:=IF(MACD< 0,MACD,0);
JJ:=MM> REF(MM,1);
ZZ:=REF(JJ,1)=1;
介入区:(JJ AND ZZ)*DEA,POINTDOT,COLORFFFFFF;{MACD蓝柱缩短---指今日比昨天短}
STICKLINE(介入区=DEA,DEA,DIFF,0,0),COLORFFFFFF;
选股:if(介入区=dea,1,0),LINETHICK0;
STICKLINE(MACD0,0,MACD,0,0),COLORFF00FF;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,0,0),COLORYELLOW;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,0,0),COLORRED;
持:PARTLINE(DIFF>=DEA,DIFF),COLORRED;
观:PARTLINE(DEA>=DIFF,DEA),COLORFF9900;
股:PARTLINE(DIFF>=DEA,DEA),COLOR00FFFF;
望:PARTLINE(DEA>=DIFF,DIFF),COLOR00FF00;
AA:=BARSLAST(REF(CROSS(DIFF,DEA),1));
BB:=REF(CLOSE,AA+1)>CLOSE AND DIFF>REF(DIFF,AA+1) AND CROSS(DIFF,DEA);
进:DRAWLINE(AA=0,DEA,BB,DEA,0),COLOR0000FF;
STICKLINE(BB,0,0.1,0,1),COLORFFFFFF;
山:=COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5),COLORGREEN;
DRAWTEXT(REF(火,3)>0 AND REF(火,2)>0 AND REF(火,1)>0 AND 火=0 AND REF(火,1)>山,DIFF,'●'),COLORRED;
DRAWTEXT(REF(火,3)>0 AND REF(火,2)>0 AND REF(火,1)>0 AND 火=0 AND REF(火,1)>山,DIFF,'¤'),COLORYELLOW;
STICKLINE(REF(山,1)=0 AND 山>0,0,0.1{-1},5,2),COLORRED;
DRAWTEXT(REF("kdj.J",1)<0 AND "kd.J">0,DIFF,'短'),COLORRED ;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。