Limit Trades in zone above baseline Indicator defined by 1x ATR
-
I have a baseline indicator (JMA Starlight) on my chart (buy above sell below)
I want buys to only trigger when the candle crossing the baseline close is less than or equal to a distance of 1 ATR from the baseline

I think there is a complication with YEN Pairs
-
Do you have any initial project to begin with? If so you can share it here and I will take a look.
-
Hi @money123456 , see the NNFX template thread for the JMA with ATR indicator. However, I'm also thinking about the right way to use fxdreema blocks for the condition.
Usually I'd expected to check closed price of candle ID1 if it is X> JMA value (for long trade). However, I think fxdreema works here a bit different with that condition.
I found this example on EURAUD daily chart.

Candle (1) candle closed under JMA line .. that's okay. Candle (2) opened with a gap and hence fxdreema wouldn't find a valid condition. And finally for fxdreema logic candle (3) would give a valid long signal (ignore ATR linits here).
The candle (3) opened above JMA line and closed above. But the low was below indicator line. I observed that fxdreema would if checked for condition closed price x> JMA value give a valid long signal.Hence I think that for checking the condition "closed above" intends that the open was below the indicator! Do you agree?
Finally I have no clue yet, how to deal with the gap between candle 1 close and candle 2 open. Uusally I'd expect it to be a valid "closed above" by NNFX meanings. What do you think?