2 Indicator Confirmations
-
Hi Guys. Hope you are all well.
Is there a way to create an Indicator based EA that waits for 2 or more confirmations (not at the same time) before opening a trade.
I have attached an image to explain what I'm talking about.
In the image:
-
The Red line indicates the first indicator confirmation. After 2 candles, the 2nd indicator (yellow line) is confirmed, then the sell trade is opened.
-
The Blue line indicates the first indicator confirmation. After 4 candles, the 2nd indicator (yellow line) is confirmed, then the buy trade is opened.
Is possible to create an EA that follows these rules? Thank you for your time and assistance.
-
-
try creating variable. If red line = true.
then if red line = true and yellow line = true -> sell
then remember to reset the variables -
@Vespera Thanks for your response. What these variables be allocated in the normal condition yellow block or its in another block?
-
Use bool, if a condition is true set to true, and set to false when no longer viable, do this for both conditions, then check both before using.
-
@jstap Thanks for your response. Ok let me give it a try