飞狐真假突破指标公式,飞狐KD表格指标公式
admin888
|飞狐真假突破指标公式,飞狐KD表格指标公式
飞狐真假突破指标公式
Var3:=vol/CAPITAL*100;
Var4:=CLOSE/OPEN;
短期兵力:ema(Var3*Var4,9)*44.545*0.999 , colorred;
中期兵力: ma(Var3*Var4,33)*44.545*0.999,COLORwhite;
长期兵力: EMA(Var3*Var4,61)*44.545*0.999,coloryellow;;
预备兵力: EMA(Var3*Var4,120)*44.545*0.888, COLOR00ff00;
Var5:=EMA(100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,33)),20);
Var6:=EMA(Var5,1);
Var7:=VOL/CAPITAL*100;
Var8:=SUM(Var7,5)>=3;
Var9:=Var8/REF(Var7,10)>=2;
VarA:=HHV(CLOSE,5);
VarB:=VarA/REF(CLOSE,5)>=1.01;
VarC:=Var6>20;
VarD:=HIGH/REF(LOW,20)<1.2;
VarE:=WINNER(CLOSE)*100;
VarF:=Var8 AND VarC AND Var9 AND Var3 AND VarB;
Var10:=FILTER(VarF,20);
DRAWTEXT(Var10,3.82*中期兵力,'★资金活动'),coloryellow;
stICKLINE(短期兵力>长期兵力,预备兵力,短期兵力,1.5,0),colorred;
STICKLINE(短期兵力<中期兵力,预备兵力,中期兵力,1.5,0),colorLIME;
STICKLINE(短期兵力<预备兵力,预备兵力,短期兵力,1.5,0),colorLIME;
飞狐KD表格指标公式
K01:="kdj.K#MIN1" ;
K05:="kdJ.K#MIN5" ;
K15:="KDJ.K#MIN15";
K30:="KDJ.K#MIN30";
K60:="KDJ.K#MIN60";
RK :="KDJ.K#DAY" ;
ZK :="KDJ.K#WEEK" ;
YK :="KDJ.K#MONTH";
{10行D数据引用}D01:="KDJ.D#MIN1" ;
D05:="KDJ.D#MIN5" ;
D15:="KDJ.D#MIN15";
D30:="KDJ.D#MIN30";
D60:="KDJ.D#MIN60";
RD :="KDJ.D#DAY" ;
ZD :="KDJ.D#WEEK" ;
YD :="KDJ.D#MONTH";
{19行}{表框部份}
p:=SYSPARAM(1);
DRAWTEXTEX(c,0,155,0 ,'────────────────────────────────'),Color00AAAA{,ALIGN1};
DRAWTEXTEX(c,0,155,20,'────────────────────────────────'),Color00AAAA;
DRAWTEXTEX(c,0,155,40,'────────────────────────────────'),Color00AAAA;
DRAWTEXTEX(c,0,155,60,'────────────────────────────────'),Color00AAAA;
{25行}DRAWTEXTEX(c,0,150,5 ,'│ │ │ │ │ │ │ │ │ │'),Color00AAAA;
DRAWTEXTEX(c,0,150,17,'│ │ │ │ │ │ │ │ │ │'),Color00AAAA;
DRAWTEXTEX(c,0,150,29,'│ │ │ │ │ │ │ │ │ │'),Color00AAAA;
DRAWTEXTEX(c,0,150,41,'│ │ │ │ │ │ │ │ │ │'),Color00AAAA;
DRAWTEXTEX(c,0,150,53,'│ │ │ │ │ │ │ │ │ │'),Color00AAAA;
DRAWTEXTEX(c,0,150,10,'周期: 15 15 30 60 日 周 月 '),ColorDEDEDE;
DRAWTEXTEX(c,0,150,30,' K:'),ColorDEDEDE;
DRAWTEXTEX(c,0,150,50,' D:'),ColorDEDEDE;
{35行}DRAWTEXTEX(c,0,150,30,' '+NUMTOstR(K01[P],2)),COLORWHITE;
DRAWTEXTEX(c,0,150,30,' '+NUMTOSTR(K05[P],2)),COLORWHITE;
DRAWTEXTEX(c,0,150,30,' '+NUMTOSTR(K15[P],2)),COLORWHITE;
DRAWTEXTEX(c,0,150,30,' '+NUMTOSTR(K30[P],2)),COLORYELLOW;
DRAWTEXTEX(c,0,150,30,' '+NUMTOSTR(K60[P],2)),COLORYELLOW;
DRAWTEXTEX(c,0,150,30,' '+NUMTOSTR(RK[P],2)),COLORYELLOW;
DRAWTEXTEX(c,0,150,30,' '+NUMTOSTR(ZK[P],2)),COLORYELLOW;
DRAWTEXTEX(c,0,150,30,' '+NUMTOSTR(YK[P],2)),COLORWHITE;
DRAWTEXTEX(c,0,150,50,' '+NUMTOSTR(D01[P],2)),COLORWHITE;
DRAWTEXTEX(c,0,150,50,' '+NUMTOSTR(D05[P],2)),COLORWHITE;
DRAWTEXTEX(c,0,150,50,' '+NUMTOSTR(D15[P],2)),COLORWHITE;
DRAWTEXTEX(c,0,150,50,' '+NUMTOSTR(D30[P],2)),COLORYELLOW;
DRAWTEXTEX(c,0,150,50,' '+NUMTOSTR(D60[P],2)),COLORYELLOW;
DRAWTEXTEX(c,0,150,50,' '+NUMTOSTR(RD[P],2)),COLORYELLOW;
DRAWTEXTEX(c,0,150,50,' '+NUMTOSTR(ZD[P],2)),COLORYELLOW;
DRAWTEXTEX(c,0,150,50,' '+NUMTOSTR(YD[P],2)),COLORWHITE;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。