EA for 2 temporalities and open in both at the same time (Solved)
-
Good!
I want to apply in my EA the possibility of working at the same time in 2 or 3 temporalities, and that it carry out the operations that correspond to each temporality without blocking one to the other. This is possible? How?Thank you very much
-
@xyon126 Select the timeframe you want for each 'Condition' block inside its 'More settings' tab. You can combine as many different timframes as you need. However, be careful not to place those blocks in away that they can interfere each other.
-
Hello Andorra!
Could you upload an example, please?
I do not get it.thank you
-
@xyon126 Sure. Here you have this easy one:

Here you are working woth two timframes at the same time. The condition on top says that candle close must be above 20 SMA in H1 timeframe whereas the second one says candle close must be above 8 SMA in M15. Both conditions need to be true at the same time for a buy to be open.
-
And if the condition is the same? Since, due to the conditions that I apply, they act in completely different times, not temporalities, I explain to myself in H1 it can occur on Friday, 8:00 AM instead in M5 on Friday but not 8:00 AM but on Friday, 8:15 AM And my idea is that the two operations will be opened and that neither is closed due to the opening of the other.
-
@xyon126 My example was an 'AND' connection. This means both conditions need to be true at the same tome. Apparenty what you want is an 'OR' connection so that any of them can happen without beong conditioned bt the other one. In that case you need to connect blocks 2 and 3 below block 1 but not connected to each other. Finally block 4 is connected both to blocks 2 and 3 above it.
-
OK! Muchas gracias. okay! Thank you very much.
-
@xyon126 You're welcome. De nada.