JMA (Jurik Filter Moving Average) towards this EA
-
https://fxdreema.com/shared/5uY5DXuI

With this custom indicator, I wanted to have the "buy pending order" format activate whenever there's a previous blue line painted as shown in the image:

and the "sell pending order" format activated when there's a red line shown in based on the image above.
Bottomline, when a previous blue line is shown I want the ea to place a buy pending order along with all the other inputs and if a red line is shown I want the ea to place a sell (there will be one position at a time since I will add no position/order in the mix).
How do I make this happen?
-
I'm afraid that will never work. This indicator repaints. That means the pending orders will not coincide with the places you are looking for. Sorry for bringing bad news, but I recommend you to find another more reliable indicator.
-
@l-andorrà that's fine, I'll use it anyway