标题:
【OBV】
[打印本页]
作者:
龙听
时间:
2022-11-2 11:26
标题:
【OBV】
if BarType >= 2 and BarType < 5 then
begin
if Close > Close[1] then
OBV = OBV[1] + Volume
else if Close < Close[1] then
OBV = OBV[1] - Volume
else
OBV = OBV[1] ;
end
else
begin
if Close > Close[1] then
OBV = OBV[1] + Ticks
else if Close < Close[1] then
OBV = OBV[1] - Ticks
else
OBV = OBV[1] ;
end ;
复制代码
欢迎光临 龙听期货论坛 (http://qhlt.club/)
Powered by Discuz! 7.2