Urgent! Please How Do I Achieve This Condition
-
Good day friends and masters,
1.I want to sell whenever price comes to the open price of candle2 for a bearish engulfing; 2. and buy whenever price comes to the open price of candle2 for a bullish engulfing. Here is what I have done https://fxdreema.com/shared/BSs21FUJc but not giving me the desired result, kindly help check the logic and help me achieve these conditions.

Thank you.
-
@plentygrazes The problem is with the moment you want the EA to open the trade. If you want the engulfing to be confirmed rthe EA should work on candle ID 1-2 but apparently you are looking for that to happen before it is confirmed. Which option is the one you want?
-
@l-andorrà I want the engulfing to be confirmed first and then mark the open price of candle2; so that whenever price comes back to the open price, trade will be triggered
-
@plentygrazes You’re over complicating it by numbering the candles the reverse way, why not say Candle 2 buy when = to Candle 1 open price
-
-
@plentygrazes Ok I get it, you basically want a limit order to created at the open price of the candle that’s engulfed…it’s the same logic either way Candle 1 gets engulfed by candle 2, create limit order at open price of candle
-
@gtoat777 you are very correct, that's what I want, I will just create pending orders at open price of candle2.

Instead of creating pending order, I want phone notification whenever price comes back to the open of candle2 so that i can check manually before taking the trade.
Please help
-
@plentygrazes all you literally need to do is swap the candle id numbers, you are calling it candle 2 because it was 2 candles ago however FXdreema sees it as your candle 2 is actually candle 1 because it was formed first
-
@gtoat777 I dont understand what you are trying to say. the logic I gave for the pending order is working as desired. All I want is phone notification when the condition is fulfilled instead on initiating the pending order. thanks.
-
@plentygrazes dont worry its al good, you had no mention of a phone notification before
-
@gtoat777 Yea, sorry about that. I have resolved it. Thank you so much for your timely help. I appreciate it alot.
-
@plentygrazes No worries, through testing has it been picking the right candles?
-
@gtoat777 yes. Thanks for your care.
