BOLL:MA(CLOSE,M);
UB:BOLL+2*STD(CLOSE,M);
LB:BOLL-2*STD(CLOSE,M);
Z1:=STRCAT(HYBLOCK,' ');
MA5:MA(C,5),DOTLINE;
MA10:MA(C,10),DOTLINE;
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLOR00C0C0;
DRAWTEXT_FIX(ISLASTBAR,0,0.05,0,FGBLOCK),COLOR00C0C0;
STICKLINE((C-REF(C,1))/REF(C,1)>0.04,O,C,1,0),COLORRED;
STICKLINE((REF(C,1)-C)/REF(C,1)>0.04,O,C,1,0),COLORGREEN;
ZT:=C/REF(C,1)>1.097;
STICKLINE((REF(C,1)-C)/REF(C,1)>0.092,O,C,-1,0),COLORBLUE;
STICKLINE(ZT,O,C,-1,0),COLORYELLOW;
買線:=EMA(C,2);
賣線:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(買線,賣線);
SEL:=CROSS(賣線,買線);
DRAWICON(BU,L-0.1,1);
DRAWICON(SEL,H+0.1,2);
STICKLINE(BU,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(SEL,OPEN,CLOSE,2,0),COLORBLUE;
G20:MA(C,20)>C*(1+0.01*N);
G30:IF(MA(C,30)>C*(1+0.01*N1),0.8,0);
G60:IF(MA(C,60)>C*(1+0.01*N2),0.6,0);
G120:IF(MA(C,120)>C*(1+0.01*N3),0.4,0);
跳水2:IF(MA(C,20)>C*(1+0.01*6),0.2,0);
跳水1:IF(MA(C,10)>C*(1+0.01*5),0.1,0);
DRAWTEXT_FIX(1,0.01,0,0,'疊加短期 MACD,低位橫盤創(chuàng)新低,全倉買進好時機'),COLORYELLOW;
BIAS1:=(L-MA(L,6))/MA(L,6)*100;
多:CROSS(-6,BIAS1);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
KDSQ:(DIF>0 OR DIF>DEA) AND (CROSS(D,K*0.98) OR CROSS(D,K));
15,15,25,35
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D;
短期:100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
TYP:=(HIGH+LOW+CLOSE)/3;
CCI1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))/2+50;
CCI2:=IF(CCI1>100,100,CCI1);
CCI:IF(CCI2<0,0,CCI2),COLORCYAN,DOTLINE;
QS:IF(COUNT(K>60,2)=2 AND COUNT(CCI>50,2)=2,60,50),LINETHICK2;
量比:=VOL/MA(REF(VOL,1),5);
STICKLINE(量比>1.5 AND 量比<2.5,55,50,0.5,0),COLORYELLOW;
STICKLINE(量比>2.5,96,100,0.5,0),COLORYELLOW;
A1:=1;
A2:=(5);
A3:=(((2 * CLOSE) + HIGH) + LOW) / 4;
A4:=LLV(LOW,34);
A5:=HHV(HIGH,34);
A6:=EMA((((A3 - A4) / (A5 - A4)) * 100),13);
A7:=(EMA(((0.667 * (REF(A6,1))) + (0.333 * A6)),2)) * A1;
A8:=(HHV(HIGH,9)) - (LLV(LOW,9));
A9:=(HHV(HIGH,9)) - CLOSE;
A10:=CLOSE - (LLV(LOW,9));
A11:=((A9 / A8) * 100) - 70;
A12:=((CLOSE - (LLV(LOW,60))) / ((HHV(HIGH,60)) - (LLV(LOW,60)))) * 100;
A13:=SMA(((A10 / A8) * 100),3,1);
A14:=(SMA(A13,3,1)) - (SMA(A11,9,1));
A15:=IF((A14 > 100),(A14 - 100),0);
A16:=(EMA((((A3 - A4) / (A5 - A4)) * 100),8)) * A1;
A17:=(EMA(A16,5)) * A1;
QS1:IF((A16-A17)>0,55,50),LINETHICK2;
G20:IF(MA(C,20)>C*(1+0.01*N),91,100),LINETHICK2;
G30:IF(MA(C,30)>C*(1+0.01*N1),88,100),LINETHICK2;
G60:IF(MA(C,60)>C*(1+0.01*N2),85,100),LINETHICK2;
G120:IF(MA(C,120)>C*(1+0.01*N3),83,100),LINETHICK2;
跳水2:IF(MA(C,20)>C*(1+0.01*6),93,100),LINETHICK2;
跳水1:IF(MA(C,10)>C*(1+0.01*5),97,100),LINETHICK2;
BIAS1:=(L-MA(L,6))/MA(L,6)*100;
多:IF(CROSS(-6,BIAS1),8,0),LINETHICK2;
聯(lián)系客服