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

请老师帮忙修改个同花顺上用的指标在博易上面用 [博易POBO]

咨询内容:

请老师帮忙修改个同花顺上用的指标在博易上面用

DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

DEA1:=EMA(DIF1,9);

AAA1:=(DIF1-DEA1)*2*60;

短线宝:CROSS(AAA1-REF(AAA1,1),7),coloryellow,nodraw;

STICKLINE(短线宝>0 AND 短线宝>=REF(短线宝,1),0,短线宝,6,0),coloryellow;

RSV:=(CLOSE - LLV(LOW,18))/(HHV(HIGH,18) - LLV(LOW,18))*100;

K:=EMA(RSV,3);

D:=EMA(K,3);

J:=(3*K-2*D);

关注:IF(J<=0,-J*0.08,0),LINETHICK0,nodraw,colormagenta;

STICKLINE(关注>0 AND 关注>=REF(关注,1),0,关注,8,0),colormagenta;

DRAWTEXT(关注,1.3,'短线买?'),colormagenta;

RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;

RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;

短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21);

中线:=SMA(RSV2,5,1)+2*STD(CLOSE,37);

RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;

长线:=SMA(RSV3,5,1);

金坑:短线<20 AND 中线<20 AND 长线<20,colorwhite,nodraw;

STICKLINE(金坑>0 AND 金坑>=REF(金坑,1),0,金坑,2,0),colorwhite;

个股:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),color1010FF;

黑马:IF(CROSS(个股,9),1,0)*0.5,STICK,linethick6,coloryellow;

DRAWTEXT(CROSS(个股,9),0.8,'黑马!')*0.5,coloryellow;

DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite;

DEA : EMA(DIFF,9),coloryellow;

MACD=2*(DIFF-DEA);

Zero : =0;

gj:=MAX(C,O);

STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),color0000ff;

STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2,0),colorffff00;

STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),colorff00ff;

STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),color00ff00;

A0:=DIFF<0 AND DEA<0;

A11:=A0>REF(A0,1);

A3:=BARSLAST(A11);

A4:=COUNT(DEA>0 AND DIFF >0,A3)=0;

A5:=CROSS(DIFF ,DEA);

A6:=BARSLAST(A5);

A7:=REF(A6,A6+1)+A6;

A8:=(DIFF+DEA)/2;

A9:=(HIGH+LOW)/2;

A10:=A5 AND A7<A3 AND A4 AND A8>REF(A8,A7) AND A9<REF(A9,A7) AND MACD>0;

DRAWTEXT(A10,DIFF*0.95,'★金叉买入'),coloryellow;

AA:=(O+H+L+C)/4;

A1:=HHV(AA,15);

A2:=LLV(AA,15);

A3:=A1-A2;

A4:=EMA((AA-A2)/A3,2)*9;

RSV:= (HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*10;

空:=SMA(RSV,2,1)/5;

多:=A4;

STICKLINE(空>1.3 AND 多<0.3 AND C*0.02<(EMA(C,5)-C),0,ABS(SMA(MAX(MACD,0),5,1)-ABS(MACD))*0.5,8,0),colorwhite;

 

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

博易技术人员: DIF1:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA1:=EMA(DIF1,9);

AAA1:=(DIF1-DEA1)*2*60;

短线宝:CROSS(AAA1-REF(AAA1,1),7),COLORYELLOW,NODRAW;

STICKLINE(短线宝>0 AND 短线宝>=REF(短线宝,1),0,短线宝,6,0),COLORYELLOW;

RSV:=(CLOSE - LLV(LOW,18))/(HHV(HIGH,18) - LLV(LOW,18))*100;

K:=EMA(RSV,3);

D:=EMA(K,3);

J:=(3*K-2*D);

关注:IF(J<=0,-J*0.08,0),LINETHICK0,NODRAW,COLORMAGENTA;

STICKLINE(关注>0 AND 关注>=REF(关注,1),0,关注,8,0),COLORMAGENTA;

DRAWTEXT(关注,1.3,'短线买?'),COLORMAGENTA;

RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;

RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;

短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21);

中线:=SMA(RSV2,5,1)+2*STD(CLOSE,37);

RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;

长线:=SMA(RSV3,5,1);

金坑:短线<20 AND 中线<20 AND 长线<20,COLORWHITE,NODRAW;

STICKLINE(金坑>0 AND 金坑>=REF(金坑,1),0,金坑,2,0),COLORWHITE;

个股:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;

黑马:IF(CROSS(个股,9),1,0)*0.5,STICK,LINETHICK6,COLORYELLOW;

DRAWTEXT(CROSS(个股,9),0.8,'黑马!'),COLORYELLOW;

DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),COLORWHITE;

DEA : EMA(DIFF,9),COLORYELLOW;

MACD:=2*(DIFF-DEA);

ZERO :=0;

GJ:=MAX(C,O);

STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2,0),COLOR0000FF;

STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2,0),COLORFFFF00;

STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2,0),COLORFF00FF;

STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2,0),COLOR00FF00;

A0:=DIFF<0 AND DEA<0;

A11:=A0>REF(A0,1);

A3:=BARSLAST(A11);

A4:=COUNT(DEA>0 AND DIFF >0,A3)=0;

A5:=CROSS(DIFF ,DEA);

A6:=BARSLAST(A5);

A7:=REF(A6,A6+1)+A6;

A8:=(DIFF+DEA)/2;

A9:=(HIGH+LOW)/2;

A10:=A5 AND A7<A3 AND A4 AND A8>REF(A8,A7) AND A9<REF(A9,A7) AND MACD>0;

DRAWTEXT(A10,DIFF*0.95,'★金叉买入'),COLORYELLOW;

AA:=(O+H+L+C)/4;

A1:=HHV(AA,15);

A2:=LLV(AA,15);

A3:=A1-A2;

A4:=EMA((AA-A2)/A3,2)*9;

RSV:= (HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*10;

空:=SMA(RSV,2,1)/5;

多:=A4;

STICKLINE(空>1.3 AND 多<0.3 AND C*0.02<(EMA(C,5)-C),0,ABS(SMA(MAX(MACD,0),5,1)-ABS(MACD))*0.5,8,0),COLORWHITE; 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容