Help Needed: Heiken Ashi + SMA Pullback Strategy (Up to 4 Bear Candles)
-
@l-andorrà
Hi everyone,
I am working on a trading robot in Fxdreema and would love some help to make sure my logic is set up correctly.
The Strategy:
I am using Heiken Ashi and a Smoothed Moving Average (SMA). The goal is to buy during a pullback in an uptrend.
The Rules:
Trend: Heiken Ashi candles must be above the SMA.
Pullback: I need to see a sequence of Bear candles (minimum 1, maximum 4).
The "No Touch" Rule: Crucially, these Bear candles must NOT touch the SMA (Heiken Ashi Low > SMA).
Entry: Buy when a Bull candle appears after the pullback. This Bull candle must also NOT touch the SMA.
Exit:
Stop Loss (SL): At the current price of the SMA.
Take Profit (TP): Using a 0.5 Reward-to-Risk ratio. -
In block ID 1 you selected the HA close price instead of the low price, as requested by your strategy. On the other hand, I don't see how your logic can look for pullback condition up to 4 candles. Shouldn't you use 4 conditions blocks instead of 2 like now, one for each possible candle?