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

老师 改革指标 [博易POBO]

咨询内容:

老师 改革指标


ZK1:=(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1+EMA(EMA(H,25),25),COLORBLUE;
 ZD1:=EMA(EMA(L,25),25)-(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1,LINETHICK2,COLORRED;
 ZD2:=EMA(ZD1,25),LINETHICK2;
 DRAWKLINE(H,O,L,C);
 VAR23:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
 XG:=ZD1>HIGH AND 回调买 AND L<=ZD1;
 DRAWTEXT(XG,L,'买'),COLORRED;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
下面是第二个指标
 
 
 

DRAWKLINE(H,O,L,C);

买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
 BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);

DRAWTEXT(BU,L-0.5,'多');
DRAWTEXT(SEL,H+0.5,'空');


 //STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORRED;
 //STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),COLORRED;
 //STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORGREEN;
 //STICKLINE(买线<卖线,CLOSE,OPEN,2,1),COLORGREEN;

 {本文来源:'WWW.CXH99.COM' }
 LC:=REF(CLOSE,1);
 RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
 //DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW. CXH 99.COM '),COLORRED;
 //DRAWTEXT_FIX(C>O,1,1,0,'),COLORRED;
 FF:=EMA(CLOSE,3);
 MA15:=EMA(CLOSE,21);
日:=150;
昨前:=3;
高1:=REF(HHV(H,日),昨前);
低1:=REF(LLV(L,日),昨前);
H1:=高1-(高1-低1)*0.191;
 H2:=高1-(高1-低1)*0.382;
 H3:=高1-(高1-低1)*0.5;
 H4:=高1-(高1-低1)*0.618;
 H5:=高1-(高1-低1)*0.809;
顶:REFX(高1,10000),COLORRED;
一0809:REFX(H1,10000),COLORYELLOW;
二0618:REFX(H2,10000),COLORMAGENTA;
三0500:REFX(H3,10000),COLORWHITE;
四0382:REFX(H4,10000),COLORGREEN;
五0191:REFX(H5,10000),COLORYELLOW;
低:REFX(低1,10000),COLORRED;
 
 

 

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

博易技术人员: 当同时出现买入  和多指标时    合并成另外一个
2345
  ZK1:=(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1+EMA(EMA(H,25),25),COLORBLUE;
 ZD1:=EMA(EMA(L,25),25)-(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1,LINETHICK2,COLORRED;
 ZD2:=EMA(ZD1,25),LINETHICK2;
 DRAWKLINE(H,O,L,C);
 VAR23:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)=LLV(VAR23,7)ANDCOUNT(VAR23<0,2)ANDCROSS(VAR23,MA(VAR23,2));
 XG:=ZD1>HIGHAND回调买ANDL<=ZD1;
买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
DRAWTEXT(XGANDBU,L,'买'),COLORRED;
//SEL:=CROSS(卖线,买线);
//DRAWTEXT(SEL,H+0.5,'空');


 //STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORRED;
 //STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),COLORRED;
 //STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORGREEN;
 //STICKLINE(买线<卖线,CLOSE,OPEN,2,1),COLORGREEN;

 {本文来源:'WWW.CXH99.COM'}
 LC:=REF(CLOSE,1);
 RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-LC)),3,1))*100);
 //DRAWTEXT_FIX(C>O,0.01,0.9,0,'WWW.CXH99.COM'),COLORRED;
 //DRAWTEXT_FIX(C>O,1,1,0,'),COLORRED;
 FF:=EMA(CLOSE,3);
 MA15:=EMA(CLOSE,21);
日:=150;
昨前:=3;
高1:=REF(HHV(H,日),昨前);
低1:=REF(LLV(L,日),昨前);
H1:=高1-(高1-低1)*0.191;
 H2:=高1-(高1-低1)*0.382;
 H3:=高1-(高1-低1)*0.5;
 H4:=高1-(高1-低1)*0.618;
 H5:=高1-(高1-低1)*0.809;
顶:REFX(高1,10000),COLORRED;
一0809:REFX(H1,10000),COLORYELLOW;
二0618:REFX(H2,10000),COLORMAGENTA;
三0500:REFX(H3,10000),COLORWHITE;
四0382:REFX(H4,10000),COLORGREEN;
五0191:REFX(H5,10000),COLORYELLOW;
低:REFX(低1,10000),COLORRED; 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容