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

老师 你好,可以把这个公式该为博弈大师么,非常感谢! [博易POBO]

咨询内容:

老师 你好,可以把这个公式该为博弈大师么,非常感谢!

VAR1:=HHV(HIGH,21);
VAR2:=LLV(LOW,21);
VAR3:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5);
VAR4:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20);

VAR6:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
VAR7:=SMA(VAR6,3,1);
VAR8:=SMA(VAR7,3,1);
VAR9:=3*VAR7-2*VAR8;
VARA:=LLV(LOW,5);
VARB:=HHV(HIGH,5);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*100,4)*2;
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
VARE:=3*VARC-2*VARD;
VARF:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VAR10:=POW(MA(LOW,5),2)+MA(LOW,5);
VAR11:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VAR12:=(VARF-LLV(VAR10,64))/(HHV(VAR11,64)-LLV(VAR10,64))*150+65-10;
VAR13:=SMA(VAR12,3,1)*1.5-100;
VAR14:=SMA(VAR13,3,1);
VAR15:=3*VAR13-2*VAR14;
VAR16:=(HIGH+LOW+CLOSE*2)/4;
VAR17:=EMA(VAR16,13);
VAR18:=STD(VAR16,13);
VAR19:=(VAR16-VAR17)*100/VAR18;
VAR1A:=EMA(VAR19,5);
VAR1B:=EMA(VAR1A,13);
VAR1C:=EMA(VAR1A,13)+200-100;
VAR1D:=EMA(VAR1C,10);
VAR1E:=3*VAR1C-2*VAR1D;
VAR1F:=VAR7+VARC+VAR13+VAR1C;
VAR20:=VAR8+VARD+VAR14+VAR1D;
VAR21:=VAR9+VARE+VAR15+VAR1E;
VAR22:=(HIGH+LOW+CLOSE)/3;
VAR23:=AMOUNT/VOL/100;
VAR24:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
VAR25:=(VAR22-MA(VAR22,34))/(0.015*AVEDEV(VAR22,34));
VAR26:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VAR27:=(HIGH+LOW+CLOSE+VAR22)/4;
VAR28:=EMA(VAR27,24);
VAR29:=STD(VAR27,24);
VAR2A:=(VAR27-VAR28)/VAR29*100;
VAR2B:=(VAR22-MA(VAR22,24))/(0.015*AVEDEV(VAR22,24));
VAR2C:=EMA(VAR2A,5);
VAR2D:=(VAR23-MA(VAR23,21))/(0.015*AVEDEV(VAR23,21));
VAR2E:=(VAR24-MA(VAR24,90))/(0.015*AVEDEV(VAR24,90));
VAR2F:=((VAR2C+VAR2B+VAR25)/3+165)/4;
VAR30:=(EMA(EMA(EMA(VAR2F,15),10),5)-25)*2+VAR26;
VAR31:=(VAR1F+VAR20+VAR21*30)/32/5-15;
VAR32:=EMA(VAR31,13);
VAR33:=(VAR2F+VAR31)/2/1.1;
VAR34:=VAR33;
趋势线:=EMA(VAR34,2),colorwhite;
价位线:=EMA(趋势线,12);
趋势:EXPMA(趋势线,3),coloryellow,LINETHICK2;
多:IF(趋势>REF(趋势,1),趋势,DRAWNULL),colorred,LINETHICK4;
空:IF(趋势<REF(趋势,1),趋势,DRAWNULL),colorblue,LINETHICK3;
逃:IF(趋势<REF(趋势,1) AND 价位线>趋势, 趋势,DRAWNULL),colorcyan,LINETHICK4;

 

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

博易技术人员: VAR1:=HHV(HIGH,21); 
VAR2:=LLV(LOW,21); 
VAR3:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5); 
VAR4:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20); 

VAR6:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200; 
VAR7:=SMA(VAR6,3,1); 
VAR8:=SMA(VAR7,3,1); 
VAR9:=3*VAR7-2*VAR8; 
VARA:=LLV(LOW,5); 
VARB:=HHV(HIGH,5); 
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*100,4)*2; 
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2); 
VARE:=3*VARC-2*VARD; 
VARF:=POW(MA(CLOSE,5),2)+MA(CLOSE,5); 
VAR10:=POW(MA(LOW,5),2)+MA(LOW,5); 
VAR11:=POW(MA(HIGH,5),2)+MA(HIGH,5); 
VAR12:=(VARF-LLV(VAR10,64))/(HHV(VAR11,64)-LLV(VAR10,64))*150+65-10; 
VAR13:=SMA(VAR12,3,1)*1.5-100; 
VAR14:=SMA(VAR13,3,1); 
VAR15:=3*VAR13-2*VAR14; 
VAR16:=(HIGH+LOW+CLOSE*2)/4; 
VAR17:=EMA(VAR16,13); 
VAR18:=STD(VAR16,13); 
VAR19:=(VAR16-VAR17)*100/VAR18; 
VAR1A:=EMA(VAR19,5); 
VAR1B:=EMA(VAR1A,13); 
VAR1C:=EMA(VAR1A,13)+200-100; 
VAR1D:=EMA(VAR1C,10); 
VAR1E:=3*VAR1C-2*VAR1D; 
VAR1F:=VAR7+VARC+VAR13+VAR1C; 
VAR20:=VAR8+VARD+VAR14+VAR1D; 
VAR21:=VAR9+VARE+VAR15+VAR1E; 
VAR22:=(HIGH+LOW+CLOSE)/3; 
VAR23:=AMOUNT/VOL/100; 
VAR24:=SUM(AMOUNT,5)/SUM(VOL,5)/100; 
VAR25:=(VAR22-MA(VAR22,34))/(0.015*AVEDEV(VAR22,34)); 
VAR26:=DMA(AMOUNT/VOL/100,VOL/CAPITAL); 
VAR27:=(HIGH+LOW+CLOSE+VAR22)/4; 
VAR28:=EMA(VAR27,24); 
VAR29:=STD(VAR27,24); 
VAR2A:=(VAR27-VAR28)/VAR29*100; 
VAR2B:=(VAR22-MA(VAR22,24))/(0.015*AVEDEV(VAR22,24)); 
VAR2C:=EMA(VAR2A,5); 
VAR2D:=(VAR23-MA(VAR23,21))/(0.015*AVEDEV(VAR23,21)); 
VAR2E:=(VAR24-MA(VAR24,90))/(0.015*AVEDEV(VAR24,90)); 
VAR2F:=((VAR2C+VAR2B+VAR25)/3+165)/4; 
VAR30:=(EMA(EMA(EMA(VAR2F,15),10),5)-25)*2+VAR26; 
VAR31:=(VAR1F+VAR20+VAR21*30)/32/5-15; 
VAR32:=EMA(VAR31,13); 
VAR33:=(VAR2F+VAR31)/2/1.1; 
VAR34:=VAR33; 
趋势线:=EMA(VAR34,2),COLORWHITE; 
价位线:=EMA(趋势线,12); 
趋势:=EMA(趋势线,3),COLORYELLOW,LINETHICK2;
PARTLINE(趋势>REF(趋势,1),趋势) ,COLORRED,LINETHICK4; 
PARTLINE(趋势<REF(趋势,1),趋势) ,COLORBLUE,LINETHICK3; 
PARTLINE(趋势<REF(趋势,1) AND 价位线>趋势,趋势) ,COLORCYAN,LINETHICK4; VAR1:=HHV(HIGH,21); 
VAR2:=LLV(LOW,21); 
VAR3:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,5); 
VAR4:=EMA((CLOSE-VAR2)/(VAR1-VAR2)*100,20); 

VAR6:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200; 
VAR7:=SMA(VAR6,3,1); 
VAR8:=SMA(VAR7,3,1); 
VAR9:=3*VAR7-2*VAR8; 
VARA:=LLV(LOW,5); 
VARB:=HHV(HIGH,5); 
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*100,4)*2; 
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2); 
VARE:=3*VARC-2*VARD; 
VARF:=POW(MA(CLOSE,5),2)+MA(CLOSE,5); 
VAR10:=POW(MA(LOW,5),2)+MA(LOW,5); 
VAR11:=POW(MA(HIGH,5),2)+MA(HIGH,5); 
VAR12:=(VARF-LLV(VAR10,64))/(HHV(VAR11,64)-LLV(VAR10,64))*150+65-10; 
VAR13:=SMA(VAR12,3,1)*1.5-100; 
VAR14:=SMA(VAR13,3,1); 
VAR15:=3*VAR13-2*VAR14; 
VAR16:=(HIGH+LOW+CLOSE*2)/4; 
VAR17:=EMA(VAR16,13); 
VAR18:=STD(VAR16,13); 
VAR19:=(VAR16-VAR17)*100/VAR18; 
VAR1A:=EMA(VAR19,5); 
VAR1B:=EMA(VAR1A,13); 
VAR1C:=EMA(VAR1A,13)+200-100; 
VAR1D:=EMA(VAR1C,10); 
VAR1E:=3*VAR1C-2*VAR1D; 
VAR1F:=VAR7+VARC+VAR13+VAR1C; 
VAR20:=VAR8+VARD+VAR14+VAR1D; 
VAR21:=VAR9+VARE+VAR15+VAR1E; 
VAR22:=(HIGH+LOW+CLOSE)/3; 
VAR23:=AMOUNT/VOL/100; 
VAR24:=SUM(AMOUNT,5)/SUM(VOL,5)/100; 
VAR25:=(VAR22-MA(VAR22,34))/(0.015*AVEDEV(VAR22,34)); 
VAR26:=DMA(AMOUNT/VOL/100,VOL/CAPITAL); 
VAR27:=(HIGH+LOW+CLOSE+VAR22)/4; 
VAR28:=EMA(VAR27,24); 
VAR29:=STD(VAR27,24); 
VAR2A:=(VAR27-VAR28)/VAR29*100; 
VAR2B:=(VAR22-MA(VAR22,24))/(0.015*AVEDEV(VAR22,24)); 
VAR2C:=EMA(VAR2A,5); 
VAR2D:=(VAR23-MA(VAR23,21))/(0.015*AVEDEV(VAR23,21)); 
VAR2E:=(VAR24-MA(VAR24,90))/(0.015*AVEDEV(VAR24,90)); 
VAR2F:=((VAR2C+VAR2B+VAR25)/3+165)/4; 
VAR30:=(EMA(EMA(EMA(VAR2F,15),10),5)-25)*2+VAR26; 
VAR31:=(VAR1F+VAR20+VAR21*30)/32/5-15; 
VAR32:=EMA(VAR31,13); 
VAR33:=(VAR2F+VAR31)/2/1.1; 
VAR34:=VAR33; 
趋势线:=EMA(VAR34,2),COLORWHITE; 
价位线:=EMA(趋势线,12); 
趋势:EMA(趋势线,3),COLORYELLOW,LINETHICK2; 
多:IF(趋势>REF(趋势,1),趋势,DRAWNULL),COLORRED,LINETHICK4; 
空:IF(趋势<REF(趋势,1),趋势,DRAWNULL),COLORBLUE,LINETHICK3; 
逃:IF(趋势<REF(趋势,1)AND价位线>趋势,趋势,DRAWNULL),COLORCYAN,LINETHICK4; 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容