How use counters to stop this EA ?.
-
Case - :
The EA is creating orders / Modify orders / Close orders (including trailing) using OnTimer / OnTick / OnTrade Events.
- I need to count each time the EA is create a order / modify / close.
- Once all of counters (total) reach amount 2000, the EA should stop working until the next day.
ex -
counter 01 - 100
counter 02 - 1300
counter 03 - 600total counts = 2000
like that.
How should I use blocks to do this..?
-
On trade tab, trade created add 1 to a variable, check number stop trading, reset to 0 once per daily bar
-
@jstap thanks brother
-
Check the number on tick
-
@tharindu999 This is the third thread asking for the exact same question. Please stop duplicating threads.
-
That problem was already solved brother.