I have a strategy with SetExitOnClose, but it is working correctly only in backtest, while in live trading, it is not closing the opened position... My code is:
Code: Select all
if ExitOnClose = True
then
begin
SetExitOnClose;
end;
Any ideas? Thank you!!