Cross MA and returning trigger
-
Greetings community of fxdreema!
Need help traying to set the next conditions to trigger Buys or Sells.
Condition Buy: When Price crosses below SMA and later returns closing above that same SMA, then BUY.
Condition Sell: When Price crosses above SMA and later returns closing below that same SMA, then Sell.Thanks in advance for your answers and thanks for the excellent tool that is fxdreema.
-
how much is later?
-
In the same 5 minute candle (sorry not saying that before)
-
The condition has to happen in the same 15 minute candle (no 5 minute, 15 minute is the correct timeframe)
-
@lopezdiaz2510 The problem in this case is that price can cross up and down the SMA within the same candle. I recommend you to use the close price of a lower timeframe in order to define when proce hs crossed or not the SMA.
-
@l-andorrà You are a genius!!!!! Thank you so much!!! i definitely try that.
-
@l-andorrà Sadly i have to say that your advice will not work for me because a need that the EA check on every tick for the conditions to fullfill. If a make that the EA check on lower timeframes will lose many operations oportunities even if i do it in 1M.
Tell me please if this is posible on fxdreema?
On every Tick - If no trade
When Variable=False: Then check if Candle 0 Low x< SMA (crosses below) - If True then: Modify Variable=True
When Variable=True: Then check if Candle o Low x> SMA (crosses Below) - If True then BUY

-
@lopezdiaz2510 Yes, it is possible. What that nice graph you should be able to implement it yourself in fxDreema!

-
@l-andorrà Ok! I will try that and share the results. Thanks!!!!!
-
@lopezdiaz2510 Good. And don't hesitate to be back here if you need mpre help.