请老师修改一下这个指标 [博易POBO]
咨询内容:
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,22,1)*100,COLORRED;
G:=MA(B,2);
D:CROSS(B,G)*1000,COLORRED,LINETHICK2;
W:CROSS(G,B)*1000,COLORWHITE,LINETHICK2;
INDEXC1:="999001$CLOSE";
E:=REF(INDEXC1,1);
F:=SMA(MAX(INDEXC1-E,0),50,1)/SMA(ABS(INDEXC1-E),50,1);
VAR10:=F AND F<8;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,50,1);
VAR13:=SMA(VAR12,50,1);
VAR14:=VAR13 AND VAR13<50;
DRAWTEXT(W=1000,1000,'S' ),COLORWHITE;
DRAWTEXT(D=1000, 1000,'B'),COLORRED;
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,22,1)*100,COLORRED;
G:=MA(B,2);
D:CROSS(B,G)*1000,COLORRED,LINETHICK2;
W:CROSS(G,B)*1000,COLORWHITE,LINETHICK2;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,50,1);
VAR13:=SMA(VAR12,50,1);
VAR14:=VAR13 AND VAR13<50;
DRAWTEXT(W=1000,1000,'S' ),COLORWHITE;
DRAWTEXT(D=1000, 1000,'B'),COLORRED;
仅删除中间几句没有作用的语句,我看了是正常显示的。 谢谢
来源 程序化久久网
请老师修改一下这个指标
在盘中的时候它不出现买卖指标信号,要重启软件的时候才显示买卖指信号标这能跟我改改吗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,22,1)*100,COLORRED;
G:=MA(B,2);
D:CROSS(B,G)*1000,COLORRED,LINETHICK2;
W:CROSS(G,B)*1000,COLORWHITE,LINETHICK2;
INDEXC1:="999001$CLOSE";
E:=REF(INDEXC1,1);
F:=SMA(MAX(INDEXC1-E,0),50,1)/SMA(ABS(INDEXC1-E),50,1);
VAR10:=F AND F<8;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,50,1);
VAR13:=SMA(VAR12,50,1);
VAR14:=VAR13 AND VAR13<50;
DRAWTEXT(W=1000,1000,'S' ),COLORWHITE;
DRAWTEXT(D=1000, 1000,'B'),COLORRED;
来源:程序化99网( WWW.CXH99.COM )
博易技术人员: 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,22,1)*100,COLORRED;
G:=MA(B,2);
D:CROSS(B,G)*1000,COLORRED,LINETHICK2;
W:CROSS(G,B)*1000,COLORWHITE,LINETHICK2;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,50,1);
VAR13:=SMA(VAR12,50,1);
VAR14:=VAR13 AND VAR13<50;
DRAWTEXT(W=1000,1000,'S' ),COLORWHITE;
DRAWTEXT(D=1000, 1000,'B'),COLORRED;
仅删除中间几句没有作用的语句,我看了是正常显示的。 谢谢
来源 程序化久久网
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信号:cxh99cxh99 进行 有偿收费 编写!
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容