DRAWGBK(c,COLORRGB(63,128,0) ,COLORRGB(0,0,30),1);
DYNAINFO(3),linethick2;
HS:=VOL/SUM(VOL,BARSCOUNT(C));
FBMAX:dma(c,hs),linethick2,,COLORBROWN;
A:=REF(HHV(high,240),1);
AA:=A[DATACOUNT];
B:=REF(LLV(low,240),1);
BB:=B[DATACOUNT];
ZJ1:=(((HIGH + LOW) + (2 * CLOSE)) / 4);
ZJ2:=(((ZJ1 - EMA(ZJ1,21)) / STD(ZJ1,21)) * 100);
ZJ3:=EMA(ZJ2,5);
ZJ4:=EMA(ZJ3,2);
ZJ5:=EMA(ZJ4,2);
ZJ6:=(((3 * ZJ4) - (2 * ZJ5)) / 2);
IF((ZJ6 90),(AA * 0.998),AA),LINETHICK2,colorDD66AA;
IF((ZJ6 (0 - 95)),(BB * 1.002),BB),LINETHICK2,colorDD66AA;
上线:=sma(c,13,1);
下线:=sma(c,27,1);
上线1:=sma(c,6,1);
下线1:=sma(c,16,1);
STICKLINE(上线 下线 , 上线,下线 ,2.5, 0),colorred,linethick2;
stickline(下线 上线,上线,下线,2.5,0),coloryellow,linethick2;
X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);
Y:=EMA(CLOSE,10);
LL:=REF(CLOSE,2);
MM:=((SMA(MAX((CLOSE - LL),0),6,1) / SMA(ABS((CLOSE - LL)),6,1)) * 100);
DB:=IF(((MM REF(MM,1)) AND (MM 79)),MM,0);
DRAWTEXT(DB,(HIGH * 1.002),'○'),LINETHICK2,color00ff00;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);
DD:=EMA(((0.667 * REF(AK1,1)) + (0.333 * AK1)),2);
VAR3:=LLV(LOW,55);
VAR4:=HHV(HIGH,34);
VAR5:=EMA((((CLOSE - VAR3) / (VAR4 - VAR3)) * 100),3);
VAR6:=((AK + VAR5) / 2);
VAR7:=EMA(((0.667 * REF(VAR5,1)) + (0.333 * AK1)),2);
VAR8:=EMA(VAR6,5);
BB:=EMA(((0.667 * REF(VAR8,1)) + (0.333 * VAR8)),2);
AB:=CROSS(AK1,AK);
BB1:=(CROSS(AK1,BB) AND (BB 30));
CD:=(BB1 * 0.6);
DRAWTEXT((CD = 0.6),(c * 0.995),'□'),LINETHICK2,color33CC99;
DRAWTEXT((AB = 1),(c * 0.995),'□'),LINETHICK2,colorwhite;
上:=HHV(HIGH,80);
下:=LLV(LOW,80);
RSV:=(CLOSE-下)/(上-下)*100;
K:下+SMA(RSV,3,1)/100*(上-下),LINETHICK2,colorFF00;
D:SMA(K,3,1),LINETHICK2,colorFF00FF;
close,linethick2,COLORBLACK;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 27)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
AA:=3*Q3-2*Q4;
z1:=HHV((CLOSE-LLV(LOW, 18)),18)/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
z2:=LLV((CLOSE-LLV(LOW, 18)),18)/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
A1:=EMA(Q3, 3) , COLORFFDDCC;
DRAWTEXT(CROSS(A1, AA) AND REF(AA,1) 80 AND OPENMINUTES(TIME) 15, c, '★ 顶'), COLOR00FF00;
ma20:=ma(close,20);
aa10:=ma(close,8),color0000ff;
var1q:=((((open + low) + high) + close) / 4);
短底:=ema(var1q,5);
支撑:=hhv(短底,60);
压力一:=hhv(low,20),colorfaabec;
drawtext(filter(((((high 支撑) and (close 支撑)) and ((close / open) (0 - 1.06))) and (close open)),5),close*1.002,'逃'),color00ffff;