how to specify wait condition
-
i am trying to create an ea which checks for macd crossover then waits till stochastic crossover and then perform certain action
here how can make the wait condition anyone has any idea -
Just create a boolean variable (true/false) for the first two conditions. Then use two condition blocks above the third one requiring the previous ones to be both true.
-
@l-andorrà sorry for bothering but I'm having trouble putting together what you're saying, maybe because my english is not that good. Could you provide us with some graphic example or something.
-
@alfredinho50 Sure. No problem. Here you have a simplified version of it with just one variable. The more conditions to use the more variables you will need.
-
@l-andorrà thanks man you're the best
-
You're welcome.