大智慧危险提示副图指标
源码
{吴明}
Var1:=(CLOSE-LLV(LOW,31))/(HHV(HIGH,31)-LLV(LOW,31))*10;
Var2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*10;
VAR12: SMA(Var2,3,1);
VAR3: SMA(VAR12,3,1);
VAR4: 3*VAR12-2*VAR3;
T: VOL/WINNER(CLOSE)/CAPITAL/VOLUNIT/Var2;
M: VOL/Var1/WINNER(CLOSE)/CAPITAL/VOLUNIT;
HY:10;
GH: DRAWTEXT(VAR4>10.7 OR VAR4>9.4,HY,'危险');