Prevent new trade positions from opening after the close to a profitable position.
-
I need help to implement a 30-minute delay between profitable trade closures and new trade position. I want to implement logic that checks the time of the last closed profitable trade and compares it to the current time. If the time difference is less than 30 minutes, the EA should prevent new trade positions from opening (either manual or automatic trade position) . If the time difference is 30 minutes or more, the EA can allow a new trade(manual or automatic) to be opened.
Here's the link to the project http://fxdreema.com/shared/QmdJS4Htd
-
https://fxdreema.com/shared/Ei2B83yne
Something like this. Note that EA can never prevent manual trades.
-
@roar kudos to you for your swift response...
Please, what's the method of operation of the blocks you connected