VAR1:=MA(CLOSE, 3);
VAR2:=MA(CLOSE, 5);
VAR3:=MA(CLOSE, 10);
VAR4:=MA(CLOSE, 20);
VAR5:=MA(CLOSE, 30);
VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;
VAR7:=(VAR6-REF(VAR6, 15))/REF(VAR6, 15)*100;
VAR8:=(VAR6-REF(VAR6, 15))/REF(VAR6, 15)*100;
VAR9:=EMA(VAR7, 8);
VAR10:=(CLOSE-MA(CLOSE, 58))/MA(CLOSE, 58)*100;
VAR11:=(VAR10>1*REF(VAR10, 1) AND VAR10<-26 AND VAR10>-40)*1.5;
VAR12:=LLVBARS(LOW, 50);
VAR13:=SUM(VOL, VAR12);
VAR14:=HHVBARS(HIGH, 50);
VAR15:=SUM(VOL, VAR14);
VAR16:=(CLOSE-REF(OPEN, VAR15))/REF(OPEN, VAR15)*100;
VAR17:=(CLOSE-REF(OPEN, VAR13))/REF(OPEN, VAR13)*100;
VAR18:=MA(CLOSE, 3);
VAR19:=REF(CLOSE, 2)*0.865;
VAR20:=REF(CLOSE, 13)*0.772;
VAR21:=MIN(VAR19, VAR20);
VAR22:=MA(CLOSE, 13);
VAR23:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
VAR24:=(EMA(CLOSE, 12)-EMA(CLOSE, 26))*100;
VAR25:=EMA(VAR24, 9);
VAR26:=2*(VAR24-VAR25);
A1:=(H+L+O+1*C)/6;
A2:=(H+L+O+2*C)/6;
A3:=(H+L+O+3*C)/6;
A4:=(H+L+O+4*C)/6;
A5:=(H+L+O+5*C)/6;
A6:=(H+L+O+6*C)/6;
A7:=(H+L+O+7*C)/6;
A8:=(H+L+O+8*C)/6;
A9:=(H+L+O+9*C)/6;
BIAS1:=(A1-EMA(A1,21))/EMA(A1,21)*100,COLORWHITE;
BIAS2:=(A2-EMA(A2,21))/EMA(A2,21)*100,COLORWHITE;
BIAS3:=(A3-EMA(A3,21))/EMA(A3,21)*100,COLORWHITE;
BIAS4:=(A4-EMA(A4,21))/EMA(A4,21)*100,COLORWHITE;
BIAS5:=(A5-EMA(A5,21))/EMA(A5,21)*100,COLORWHITE;
BIAS6:=(A6-EMA(A6,21))/EMA(A6,21)*100,COLORWHITE;
BIAS7:=(A7-EMA(A7,21))/EMA(A7,21)*100,COLORWHITE;
BIAS8:=(A8-EMA(A8,21))/EMA(A8,21)*100,COLORWHITE;
BIAS9:=(A9-EMA(A9,21))/EMA(A9,21)*100,COLORWHITE;
M2:=LLV(BIAS3,89),COLORCYAN;
金龙:SMA(BIAS3,3,1),COLORYELLOW;
赤龙:SMA(金龙,3,1),COLORMAGENTA;
碧海:0,COLORLIGREEN;
蓝天:HHV(BIAS3,89),COLORCYAN;