Buffer after a trade is finished
-
Hey Guys wanted to know how to add a buffer lets say 5hours after a trade is finished....so for example once a trade is finished loss or profit the EA then waits 5 hours before a new trade can be executed and of course if the conditions are met.
-
@Hass81 You need to connect all you conditions on top of this structure:

-
Ok thank you so much will try it.
-
You can do it like this, this uses seconds to prevent trades: https://fxdreema.com/shared/gC1iNim0b
-
Thank you jstap appreciate it
-
jstap.....for the variables what do i add in there.....close time and trade ended

-
@Hass81 You're welcome.
-
@Hass81 That is taking the trade closed time in seconds from 1970 from the current time in seconds , and giving the variable how many seconds it has been since trade closed.
-
Thanks mate