Separate conditions on same EA
-
Hi,
I´m trying to do somethin and I don´t know if its possible. I want the EA to check several conditions and 1 signal, if that group of conditions did not work, I want it to go to another set of conditions and try them to see if they fit and so on. What is happening is if I set all sets of conditions it seem that it doesn´t chek them separetly but all together.
mqh5 on annex.
Thanks in advance.
......
SuperBovespa.mq5 -
First of all, AND it not needed, it's almost never needed. Remove those blocks and everything will be the same.
I will suggest to use "No position" and it's orange output. It fits better because of it's name.
Make sure you understand how these "Price x>..." and "Price x<..." blocks work. They would detect the moment when the price crosses some line, which means that their orange output is active only at few rare moments. It's different than the crossover in "Condition" where the output can be active until the end of the current candle.