Will this work ?.
-
Case -:
I want to count every trade open / close / modifies. Here I use a Constant to define the daily limit and a variable to keep track of the current limit.
I used a formula to update the variable. will this work without bugs ?.
-
This will count every time a trade is placed, I would get this number in a loop, and if you want a count every time something happens, you will need multiple variables added together. I would think this enacts many trades without a no trade block, in which case you would need to conduct the count in a separate tree
-
New Trades creates on OnTick / OnTrade.
Orders are modifying on OnTimerso, I need to count for these three events.
How about using this "CurrentLimit" Variable for these three events ?. will it do the math every time the EA calls for it and hold the latest value after math done?.
-
Can we pick a variable and do some math to it and hold the new value in same variable as many times as we want?
-
On trade tab trade created-formula +1to save into variable, trade closed-formula +1 to save into variable, modifiers are the same just seperate trees, something like trade SL moved. Put this into a comment so you can see what's happening
-
I'll try it brother.
-
@tharindu999 And here we have your fourth thread asking the same. Please focus on one thread only!
-
these threads have been already solved brother.