参数:N 9; M 3
{N 9; M 3; }
LOWV:=LLV(LOW,3 );
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
A:EMA(RSV,3);
{stock08.cn}
B:MA(A,3);
VAR1:=3;
VAR2:=((3 * SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));
买入:IF(CROSS(VAR2,VAR1),100,0);