"I want to set a variable that stores the balance every time it drops by 10 dollars."
-
I want in this example to open a trade whenever the balance drops by 10 dollars, regardless of the type of trade. I want to set a variable that stores the last balance value each time it changes. My attempts have not been successful."
https://fxdreema.com/shared/kGtTmczmd -
But why do you exactly need the variable if you can open a new trade directly when the condition is met?
-
@l-andorrà said in "I want to set a variable that stores the balance every time it drops by 10 dollars.":
But why do you exactly need the variable if you can open a new trade directly when the condition is met?
The condition is not working correctly
-
But why are you using the variable? It is not necessary.