Greetings,
Looking for a line of code that will stop an EA from opening a trade IF a separate trade has already closed in the current period.
In other words, if a trade should close 15 minutes into a 60 minute bar then the EA will Not open another trade until the current bar closes.
Maybe something that will turn the EA off until the following period?
Thanks to all ...
Looking for a line of code that will stop an EA from opening a trade IF a separate trade has already closed in the current period.
In other words, if a trade should close 15 minutes into a 60 minute bar then the EA will Not open another trade until the current bar closes.
Maybe something that will turn the EA off until the following period?
Thanks to all ...