Help with Fractal Indicator
-
Hello guys, I'm looking for some help with the fractal indicator.
I'm currently building a system, and the fractal is my last condition. I want to take a short position when a candle closes above a fractal high that price has never reached before.
The problem I have is with the candle ID — if I use 3, the system will only take trades where the close above the fractal high happens when the fractal is exactly the third last candle.
What I actually want is for the system to take trades based on any fractal high (whether it’s a new one or one from months ago) as long as price has never reached it before, regardless of the candle ID.
Could you give me some advice on how to do that ?


-
I'm not sure I don't fully understand what you mean. In your image I see three fractal high and apparently only the last one has not been reached before. When should the trade be open exactly on that scenario?
-
In the example above, for the last position, that’s what I want. However, in FxDreema, the position is only taken if the fractal is located on Candle ID 3 when the candle closes above it.
In the last trade shown in the screenshot, when the candle closes above the fractal high, the fractal’s Candle ID is 9, so the trade is not taken by the algo
-
Any solutions @l-andorrà ?
-
Then what you need is storing the value of the last fractal into a variable and then use that variables as the price to break trhough.