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

请老师咋样把这指标公式改成不压缩的图形,不要去掉任何指标,以前不压缩图现在更新后就被压缩图形了 [博易POBO]

咨询内容:

请老师咋样把这指标公式改成不压缩的图形,不要去掉任何指标,以前不压缩图现在更新后就被压缩图形了

重心:=(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382,COLORYELLOW,LINETHICK2;GAO:=HHV(C,60)-LLV(C,60);
RSI:=SMA(MAX(重心-REF(重心,1),0),5,1)/SMA(ABS(重心-REF(重心,1)),5,1);
指导线:重心+GAO*(RSI-0.5);{COLORWHITE,COLORGREEN,LINETHICK2;}
PARTLINE(C>指导线,指导线),COLORFF0000,LINETHICK2;
PARTLINE(C<指导线,指导线),COLORRED,LINETHICK2;
PARTLINE(C=指导线,指导线),COLORWHITE,LINETHICK2;
STICKLINE(CROSS(RSI,0.1),指导线,REF(指导线,2),6,0),COLORYELLOW;
STICKLINE(CROSS(0.9,RSI),指导线,REF(指导线,4),6,0),COLORFF0000;
WGH:=MA(H,4);WGO:=MA(O,4);WGL:=MA(L,4);WGC:=MA(C,4);
DRAWKLINE(WGH,WGO,WGL,WGC);
STICKLINE(WGO>=WGC,WGO,WGC,4,0 ),COLOR990000;
STICKLINE(WGO>=WGC,WGO,WGC,3,0 ),COLORCC0000;
STICKLINE(WGO>=WGC,WGO,WGC,2.5,0 ),COLORFF4400;
STICKLINE(WGO>=WGC,WGO,WGC,1.5,0 ),COLORFF8800;
STICKLINE(WGO>=WGC,WGO,WGC,0.9,0 ),COLORFFCC00;
STICKLINE(WGO>=WGC,WGO,WGC,0.3,0 ),COLORCYAN;
STICKLINE(WGO<WGC,WGO,WGC,4,0 ),COLORRED;
STICKLINE(WGO<WGC,WGO,WGC,3,0 ),COLORRED;
STICKLINE(WGO<WGC,WGO,WGC,2.5,0 ),COLORRED;
STICKLINE(WGO<WGC,WGO,WGC,1.5,0 ),COLORRED;
STICKLINE(WGO<WGC,WGO,WGC,0.9,0 ),COLORRED;
STICKLINE(WGO<WGC,WGO,WGC,0.3,0 ),COLORRED;
VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
DRAWTEXT(VAR19,L,'买'),COLORYELLOW;
DRAWTEXT(VAR1A,H+0.1,'卖'),COLORF408F4;
MAL平1仓:MA(LOW,30);
MAH平2仓:MA(HIGH,30);
DRAWICON(CROSS(C,MAH平2仓),LOW,1),COLORWHITE;
DRAWICON(CROSS(MAL平1仓,C),HIGH,2),COLORWHITE;
PARTLINE(C>MAH平2仓,MAH平2仓),COLORF408F4
,LINETHICK2;
PARTLINE(C<MAH平2仓,MAH平2仓),COLOR33FF33
,LINETHICK2;
PARTLINE(C>MAL平1仓,MAL平1仓),COLORF408F4
,LINETHICK2;
PARTLINE(C<MAL平1仓,MAL平1仓),COLOR33FF33
,LINETHICK2;
VAR1:=(HIGH+LOW+OPEN+CLOSE)/4;
VAR3:=2*EMA(LLV(VAR1,7),10)-VAR1;
乾坤线:3*VAR3-2*SMA(VAR3,10,1),COLORFF8080,LINETHICK2;
X2:=C;
STICKLINE(CROSS(C,乾坤线),OPEN,CLOSE,3.5,0),COLORFF8080,LINETHICK2;
STICKLINE(CROSS(乾坤线,C),OPEN,CLOSE,3.5,0),COLORFF8080,LINETHICK2;








 

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

博易技术人员: 您好,这个指标上下数值相差太大造成的压缩,您说的以前不压缩指标,请问是在什么版本上使用的? 以前就是5.5.17.0版本,周5停盘后我打开博易大师软件上面显示要更新,我就点更新了,然后在点开指标图形就压缩了 来源 程序化久久网

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,谢谢您!)

怎么收费,代编流程等详情请点击阅读,或QQ微信联系我们!


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

相关文章

    没有相关内容