麻烦高手帮我编个通达信选股公式!谢谢!

2024-12-23 01:32:22
推荐回答(1个)
回答1:

VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,M);
A1:=REF(OBV,N)=HHV(OBV,2*N+1);
B1:=FILTER(A1,N);
C1:=BACKSET(B1,N+1);
D1:=FILTER(C1,N);
T线:=REF(OBV,BARSLAST(D1));
选股:OBV>T线

参数m,n按你公式中设置就ok