源码:
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
K:=EMA(RSV,M);
D:=MA(K,M);
AK1:=REF(K,0);
AK2:=REF(K,1);
AK3:=REF(K,2);
AK4:=REF(K,3);
HTIME:=HOUR;
MTIME:=MINUTE;
BUYTIMEH:=IF(AK1>AK2 AND HTIME==15,1,0);
BUY_START:IF(AK1>AK2 AND AK2<AK3,1,0);
BUY_WAIT:IF(AK1<AK2 AND AK2<AK3 AND AK1<50,1,0);