飞狐鸽子主图指标 EA

飞狐鸽子主图指标

rn

源码

rn

aaa:=ref(close,1)+ref(close,3)+ref(close,5)+ref(close,8)+ref(close,13)+ref(close,21)+ref(close,34);
rnbbb:=ref(h,1)+ref(h,3)+ref(h,5)+ref(h,8)+ref(h,13)+ref(h,21)+ref(h,34);
rnccc:=ref(l,1)+ref(l,3)+ref(l,5)+ref(l,8)+ref(l,13)+ref(l,21)+ref(l,34);
rnddd:=ref(o,1)+ref(o,3)+ref(o,5)+ref(o,8)+ref(o,13)+ref(o,21)+ref(o,34);

rn

换手:=1000*vol/capital;

rn

收:=aaa/7;
rn高:=bbb/7;
rn低:=ccc/7;
rn开:=ddd/7;

rn

Var1:=收>=REF(收,1);
rnVarD:=收<=REF(收,1);
rnSTICKLINE(开>收,高,低,换手/100,0 ),COLORgreen;
rnSTICKLINE(开<收,高,低,换手/100,0 ),COLORred;
rnSTICKLINE(开=收 and Var1,高,低,换手/100,0 ),COLORred;
rnSTICKLINE(开=收 and VarD,高,低,换手/100,0 ),COLORgreen;
rnSTICKLINE(Var1,收,开,换手,1),COLORred;
rn 
rnSTICKLINE(VarD,收,开,换手,0),COLORgreen;

rn

ma((收+低+高+开)/4,30);
rnaa:=(收+低+高+开)/4>ref((收+低+高+开)/4,3);
rnbb:=(收+低+高+开)/4>ref((收+低+高+开)/4,5);
rncc:=(收+低+高+开)/4>ref((收+低+高+开)/4,8);
rndd:=(收+低+高+开)/4>ref((收+低+高+开)/4,13);
rnee:=(收+低+高+开)/4>ref((收+低+高+开)/4,21);
rnff:=(收+低+高+开)/4>ref((收+低+高+开)/4,34);
rnhh:=aa+bb+cc+dd+ee+ff>4;

rn

PARTLINE(ma((收+低+高+开)/4,5)>REF(ma((收+低+高+开)/4,5),1),ma((收+低+高+开)/4,5)),color0000cc;
rnPARTLINE(ma((收+低+高+开)/4,10)>REF(ma((收+低+高+开)/4,10),1),ma((收+低+高+开)/4,10)),color00ddff;
rnPARTLINE(ma((收+低+高+开)/4,30)>REF(ma((收+低+高+开)/4,30),1),ma((收+低+高+开)/4,30)),color00cc00;
rnPARTLINE(ma((收+低+高+开)/4,60)>REF(ma((收+低+高+开)/4,60),1),ma((收+低+高+开)/4,60)),colorcc0000;
rnPARTLINE(ma((收+低+高+开)/4,30)>REF(ma((收+低+高+开)/4,30),1) and hh,ma((收+低+高+开)/4,30)),colorred;

rn

飞狐鸽子主图指标

© 版权声明
THE END
喜欢就支持一下吧
点赞86 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容