您现在的位置:程序化交易>> 期货公式>> 博易大师>> 博易大师知识>>正文内容

老师帮着改下这个谢谢 [博易POBO]

咨询内容:

老师帮着改下这个谢谢

DRAWGBK(OPEN>0,RGB(33,47,58),RGB(0,0,0),0,574,0);

VAR1:=EMA(CLOSE,2);

VAR2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);

VAR3:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);

VAR4:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));

VAR5:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);

DRAWBAND(VAR5+100,RGB(150,50,50),VAR3+100,RGB(0,0,255));

短线:VAR4+100,NODRAW,COLORLIBLUE;

中线:VAR5+100,COLORYELLOW,LINETHICK2;

长线:VAR3+100,COLORGREEN;

VAR6:=1;

VAR7:=1;

VAR8:=50+(中线-长线);

STICKLINE(VAR8>50,VAR8,50,0.0001,0),COLORRED;

STICKLINE(VAR8<=50,VAR8,50,0.0001,0),COLORGREEN;

龙海:100-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),NODRAW,COLORWHITE;

STICKLINE(龙海>=100,110,100,3,1),COLORYELLOW;

STICKLINE(龙海<=0,0,(-10),3,1),COLORRED;

见顶:长线>85 OR REF(长线,1)>85 AND (CROSS(中线,短线) OR CROSS(REF(中线,1),REF(短线,1))) AND CROSS(长线,短线),NODRAW,COLORLIGREEN;

VAR9:=中线<REF(中线,1) AND REF(中线,1)>80 AND (REF(短线,1)>95 OR REF(短线,2)>95) AND 长线>60 AND 短线<83.5 AND 短线<中线 AND 短线<长线+4;

VAR10:=FILTER(VAR9,4);

STICKLINE(见顶 OR VAR9,99,103,9,0),COLORRED;

底部:长线<12 AND 中线<8 AND 短线<7.2 AND REF(短线,1)<5 AND 中线>REF(中线,1) AND 短线>REF(短线,1) OR (长线<8 AND 中线<7 AND 短线<15 AND 短线>REF(短线,1)) OR (长线<10 AND 中线<7 AND 短线<1),NODRAW,COLORYELLOW;

STICKLINE(底部,(-4),0,22,0),COLORGREEN;

底叉:长线<15 AND REF(长线,1)<15 AND 中线<18 AND 短线>REF(短线,1) AND CROSS(短线,长线) AND 短线>中线 AND (REF(短线,1)<5 OR REF(短线,2)<5) AND (中线>=长线 OR REF(短线,1)<1),NODRAW,COLORLIRED;

STICKLINE(底叉,0,5,11,0),COLORRED;

底买:CROSS(中线,长线) AND VAR1>=VAR2 AND 中线<20,NODRAW,COLORYELLOW;

VAR11:=底叉 OR 底买;

DRAWICON(底叉,5,23),COLORYELLOW;

DRAWTEXT(CROSS(中线,长线) AND VAR1>=VAR2 AND 中线<20,长线-1.15,VAR7),COLORYELLOW;

DRAWICON(CROSS(中线,长线) AND VAR1>=VAR2,长线,1);

DRAWICON(CROSS(中线,长线) AND VAR1>=VAR2 AND 中线<20,长线,5);

DRAWICON(CROSS(长线,中线),长线,2);

DRAWICON(CROSS(长线,中线) AND 中线>80,长线,6);

DRAWTEXT(CROSS(长线,中线) AND 中线>80,长线+1.15,VAR6),COLORGREEN;

80,DOTLINE,COLOR996699;

20,DOTLINE,COLORGREEN;

 

 来源:程序化99网( WWW.CXH99.COM )

博易技术人员: VAR1:=EMA(CLOSE,2);

VAR2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);

VAR3:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);

VAR4:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));

VAR5:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);

FILLRGN2(VAR5+100,VAR3+100,VAR5+100>VAR3+100,COLOR323296,VAR5+100<VAR3+100,COLORFF0000);

短线:VAR4+100,NODRAW,COLORBLUE;

中线:VAR5+100,COLORYELLOW,LINETHICK2;

长线:VAR3+100,COLORGREEN;

VAR6:=1;

VAR7:=1;

VAR8:=50+(中线-长线);

STICKLINE(VAR8>50,VAR8,50,0.0001,0),COLORRED;

STICKLINE(VAR8<=50,VAR8,50,0.0001,0),COLORGREEN;

龙海:100-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),NODRAW,COLORWHITE;

STICKLINE(龙海>=100,110,100,3,1),COLORYELLOW;

STICKLINE(龙海<=0,0,(-10),3,1),COLORRED;

见顶:长线>85 OR REF(长线,1)>85 AND (CROSS(中线,短线) OR CROSS(REF(中线,1),REF(短线,1))) AND CROSS(长线,短线),NODRAW,COLORGREEN;

VAR9:=中线<REF(中线,1) AND REF(中线,1)>80 AND (REF(短线,1)>95 OR REF(短线,2)>95) AND 长线>60 AND 短线<83.5 AND 短线<中线 AND 短线<长线+4;

VAR10:=FILTER(VAR9,4);

STICKLINE(见顶 OR VAR9,99,103,9,0),COLORRED;

底部:长线<12 AND 中线<8 AND 短线<7.2 AND REF(短线,1)<5 AND 中线>REF(中线,1) AND 短线>REF(短线,1) OR (长线<8 AND 中线<7 AND 短线<15 AND 短线>REF(短线,1)) OR (长线<10 AND 中线<7 AND 短线<1),NODRAW,COLORYELLOW;

STICKLINE(底部,(-4),0,22,0),COLORGREEN;

底叉:长线<15 AND REF(长线,1)<15 AND 中线<18 AND 短线>REF(短线,1) AND CROSS(短线,长线) AND 短线>中线 AND (REF(短线,1)<5 OR REF(短线,2)<5) AND (中线>=长线 OR REF(短线,1)<1),NODRAW,COLORRED;

STICKLINE(底叉,0,5,11,0),COLORRED;

底买:CROSS(中线,长线) AND VAR1>=VAR2 AND 中线<20,NODRAW,COLORYELLOW;

VAR11:=底叉 OR 底买;

DRAWICON(底叉,5,23),COLORYELLOW;

DRAWTEXT(CROSS(中线,长线) AND VAR1>=VAR2 AND 中线<20,长线-1.15,VAR7),COLORYELLOW;

DRAWICON(CROSS(中线,长线) AND VAR1>=VAR2,长线,1);

DRAWICON(CROSS(中线,长线) AND VAR1>=VAR2 AND 中线<20,长线,5);

DRAWICON(CROSS(长线,中线),长线,2);

DRAWICON(CROSS(长线,中线) AND 中线>80,长线,6);

DRAWTEXT(CROSS(长线,中线) AND 中线>80,长线+1.15,VAR6),COLORGREEN;

80,POINTDOT,COLOR996699;

20,POINTDOT,COLORGREEN; 非常感谢 来源 程序化久久网

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信号:cxh99cxh99  进行 有偿收费 编写!

怎么收费,代编流程等详情请点击阅读!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容