飞狐主力退诱指标公式,飞狐KD表格指标公式
admin888
|飞狐主力退诱指标公式,飞狐KD表格指标公式
飞狐主力退诱指标公式
DRAWGBK(1,COLORRGB(0,0,66),COLORRGB(0,18,55),1);
hh:=SYSPARAM(4);
ll:=SYSPARAM(5);
x:=hh-(hh-ll+MINdifF)/5;
VAR1:=REF((L+O+C+H)/4,1);
VAR2:=SMA(Abs(VAR1-H),13,1)/Sma(MAX(VAR1-H,0),10,1);
VAR3:=ema(VAR2,10);
VAR4:=HHV(H,33);
VAR5:=EMA(IF(H>=VAR4,VAR3,0),3)*-1;
主力退场:IF(VAR5>REF(VAR5,1),VAR5,0),LINETHICK2,Color0066BB;
飞狐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;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。