If you try to place a stop order with the GTC parameter, but you receive an error likeThe allowed validity period of the stop order has been exceededmaximum number of days is 30 , then open the lua script file and edit the following line
Change it in according to the restrictions of your account, for example, if the broker allows you to set a stop for only 30 days, then the line will look like order_gtc_period = 30
The OFT.lua file is located in the folder where the platform is installed, by default it is C:\Program Files (x86)\ATAS Platform
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article