Var1:=(CLOSE-LLV(LOW,31))/(HHV(HIGH,31)-LLV(LOW,31))*10;
Var2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*10;
VAR22: SMA(Var2,3,1);
VAR3: SMA(VAR22,3,1);
VAR4: 3*VAR22-2*VAR3;
T: VOL/WINNER(CLOSE)/CAPITAL/VOLUNIT/Var2;
M: VOL/Var1/WINNER(CLOSE)/CAPITAL/VOLUNIT;
HY: 10;
GH: DRAWTEXT(VAR4>10 OR VAR4>9.4,HY,'危险');