Var0:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
Var3:=SMA(Var0,3,1);
Var1:=SMA(Var3,4,1)-10;
Var4:=(HHV(HIGH,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100;
Var5:=SMA(Var4,3,1);
Var2:=SMA(Var5,4,1)-90;
STICKLINE(REF(Var1,1)<Var1,Var1,REF(Var1,1),13,0),COLOR0000FF;
STICKLINE(REF(Var1,1)>Var1,Var1,REF(Var1,1),8,0),COLOR00ff00;
STICKLINE(REF(Var2,1)>Var2,Var2,REF(Var2,1),13,0),COLOR0000FF;
STICKLINE(REF(Var2,1)<Var2,Var2,REF(Var2,1),8,0),COLOR00ff00;
骑小牛1:0,colorwhite,LINETHICK1,POINTDOT;
A:90-SMA(VAR5,4,1),colorwhite,NODRAW;
STICKLINE(A<=0,A,0,10,0),COLORFFFF00;
B:Var2,colorwhite,NODRAW;
R1:=MA(HHV(HIGH,500/5),20);
R2:=MA(HHV(HIGH,250/5),20);
R3:=MA(HHV(HIGH,90/5),20);
R4:=MA(LLV(LOW,500/5),20);
R5:=MA(LLV(LOW,250/5),20);
R6:=MA(LLV(LOW,90/5),20);
R7:=MA((R4*0.95+R5*0.95+R6*0.95+R1*0.55+R2*0.55+R3*0.55)/6,20);
R8:=MA((R4*1.15+R5*1.15+R6*1.15+R1*0.65+R2*0.65+R3*0.65)/6,20);
R9:=MA((R4*1.35+R5*1.35+R6*1.35+R1*0.75+R2*0.75+R3*0.75)/6,20);
RA:=MA((R7*3+R8*2+R9)/6*1.738,20);
RB:=REF(LOW,1);
RC:=SMA(ABS(LOW-RB),3,1)/SMA(MAX(LOW-RB,0),3,1)*100;
RD:=MA(IF(CLOSE*1.35<=RA,RC*10,RC/10),3);
RE:=LLV(LOW,30);
RF:=HHV(RD,30);
R10:=IF(MA(CLOSE,58),1,0);
RE1:=LLV(LOW,10); RF1:=HHV(RD,10); R101:=IF(MA(CLOSE,20),1,0);
开始建仓:=MA(IF(LOW<=RE,(RD+RF*2)/2,0),3)/618*R10;
开始建仓1:=MA(IF(LOW<=RE1,(RD+RF1*2)/2,0),3)/300*R101;
STICKLINE(开始建仓,开始建仓,0,7,0),colorred;
STICKLINE(开始建仓1,开始建仓1,开始建仓,3,0),color00FFFF;
真实:=AMOUNT/(1*VOL),LINETHICK1;
突破:=HHV(真实,14);
底部:=LLV(真实,14);
STICKLINE(突破/底部<=1.5 AND A<=10,A,A-10,10,0),colorFF00FF;