Expiration
-
What does "Expiration (works while the robot is running)" mean? I have an expiration setup that close my trades after 72 hours. Its working for 3 months fine, but this month my MQL VPS expired, I renewed the VPS and imported the bot again while I had an open trade, but when it reached the 72 hours it did not close my trade.
-
It seems using hidden object for the expiration. In case the hidden object has been deleted accidentally, expiration should not work. Using EA to check the time since opening is more reliable
-
If you want to do this manually save time in a global variable, then check this +minutes to close is > time now, if so close. It will need robot running at some point thow to check this, for now backtest an see, if it is working you can make it more robust in case comp closes
-
Thank you all.