Looking for a single (or more) line of code to do the following: ... "To NOT trade in a period where the EA has already closed a trade".
The Open & Close criteria are to close together in this EA making it possible for a weak re-entry to follow a proper close. By not allowing an entry in the same bar that the previous trade exited, or postponing the entry until the next "BAR" there should be enough time for conditions to safely change.
Appreciate your input on how to do this... Thanks.
The Open & Close criteria are to close together in this EA making it possible for a weak re-entry to follow a proper close. By not allowing an entry in the same bar that the previous trade exited, or postponing the entry until the next "BAR" there should be enough time for conditions to safely change.
Appreciate your input on how to do this... Thanks.