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

请老师修改指标 [博易POBO]

咨询内容:

请老师修改指标

这个指标是文化的帮忙修改下在博易能用谢谢!
 
高:=HHV(H,75);
低:=LLV(L,75);
H3:=高-(高-低)*0.5;
Z1:=ZIGZAG(C,2,1),COLORGREEN;
Z2:=ZIGZAG(C,5,1),COLORMAGENTA;
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);
B:=ZIGZAG(C,10/5,1)*100,COLORWHITE;
G:=MA(B,2),COLORYELLOW;
D:=CROSS(B,G)*1000,COLORRED;
W:=CROSS(G,B)*1000,COLORBLUE;

INDEXC:="999001$C";
E:=REF(INDEXC,1);
F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
VAR10:=F AND F<8;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
MM:=A AND D AND VAR10 AND VAR14 ;
X22:=ZIGZAG(C,1,1);
X33:=REF(ZIGZAG(C,1,1),1);
DRAWTEXT(CROSS(X22,X33),L,'多'),VALIGN2;
DRAWTEXT(CROSSDOWN(X22,X33),H,'空'),VALIGN0;
高1:=HHV(H,75);
低1:=LLV(L,75);
H31:=高1-(高1-低1)*0.5;
DRAWTEXT(W=1000,H,'卖' ),COLOR00FF00,VALIGN2;
DRAWTEXT(D=1000,L,'买'),COLORRED,VALIGN0;

 

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

博易技术人员: 高:=HHV(H,75);
低:=LLV(L,75);
H3:=高-(高-低)*0.5;
Z1:=ZIG(C,2,1),COLORGREEN;
Z2:=ZIG(C,5,1),COLORMAGENTA;
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);
B:=ZIG(C,10/5,1)*100,COLORWHITE;
G:=MA(B,2),COLORYELLOW;
D:=CROSS(B,G)*1000,COLORRED;
W:=CROSS(G,B)*1000,COLORBLUE;

INDEXC1:="999001$C";
E:=REF(INDEXC,1);
F:=SMA(MAX(INDEXC1-E,0),3,1)/SMA(ABS(INDEXC1-E),3,1);
VAR10:=F AND F<8;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
MM:=A AND D AND VAR10 AND VAR14 ;
X22:=ZIG(C,1,1);
X33:=REF(ZIG(C,1,1),1);
DRAWTEXT(CROSS(X22,X33),L,'多'),VALIGN2;
DRAWTEXT(CROSS(X33,X22),H,'空'),VALIGN0;
高1:=HHV(H,75);
低1:=LLV(L,75);
H31:=高1-(高1-低1)*0.5;
DRAWTEXT(W=1000,H,'卖' ),COLOR00FF00,VALIGN2;
DRAWTEXT(D=1000,L,'买'),COLORRED,VALIGN0; ZIG和文化的ZIGZAG用法不一样啊,
 


上边图是博易的

这个是文化的 来源 程序化久久网

 

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

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

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

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


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

相关文章

    没有相关内容