VAR1:=(HIGH+LOW+CLOSE*2)/4;
VAR2:=EMA(VAR1,10);
VAR3:=STD(VAR1,10);
波动:(VAR1-VAR2)*100/VAR3,COLORMAGENTA;
量趋:EMA(波动,5),COLORGREEN;
VAR4:=EMA(量趋,10)+100/2-5;
VAR5:=EMA(VAR4,4);
VAR6:=SUMBARS(VOL,CAPITAL);
VAR7:=IF(CAPITAL=0,AMOUNT=LLV(AMOUNT,34),VOL<MA(VOL,VAR6)/3);
VAR8:=SUM(VAR7,1)=1;
VAR17:=(C-REF(C,1))/REF(C,1)*100>1 AND C>(MA(V,25)>MA(V,5));
VAR18:=CROSS(VAR4,VAR5) AND VAR5<20 AND VAR5>-10;