咨詢內容:
請老師咋樣把這指標公式改成不壓縮的圖形,不要去掉任何指標,以前不壓縮圖現在更新后就被壓縮圖形了
重心:=(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.kzuj.com.cn )
博易技術人員:
您好,這個指標上下數值相差太大造成的壓縮,您說的以前不壓縮指標,請問是在什么版本上使用的?
以前就是5.5.17.0版本,周5停盤后我打開博易大師軟件上面顯示要更新,我就點更新了,然后在點開指標圖形就壓縮了
來源 程序化久久網