买卖指标不含未来函数
异动关注
买卖指标
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA :=EMA(DIFF,9);
MACD :=2*(DIFF-DEA);
买点:D<=25 and ref(macd,1)=llv(macd,3) and CROSS(c,ma(C,5)) and (ref(H,PEAKBARS(3,7,1))-C)*100/C>=7 ;
V4:=REF(CLOSE,1);
V5:=SMA(MAX(CLOSE-V4,0),7,1)/SMA(ABS(CLOSE-V4),7,1)*100;
V6:=CROSS(79,V5);
卖点:FILTER(V6,4);