amine_chourou wrote:
Hi,
Do you need this High and lows starting from the moment you launch the strategy or you need to get previous values from a given range of candles ? If so how many candles needed ? What are the parameters of your fractal (will you keep the default ones ? 2,2) ?
What is the main issue that you faced in trying to achieve this in VJF ?
cheers
Thanks.
I need the high of the last up fractal and the low of the last down fractal. 2,2 candles parameters is okay.
Thinking through I think i could get the high from maxmimum10 and low from minimum 10.
Please correct me if I m wrong.
In the diagram attached previously, we have a down fractal, that occur 4 candles back, Will the LOW of that fractal still hold or it can be used only at immediate candle after 2 candles from fractal occurence.
Also, How to best provide the logic when the price cross either the high or low. Im using if logic for price crossing low of down fractal as follows:
last Ask candle: candle close < minimums10
last tick: tick bid >= minimums10

Regards,