Hi All,
I'm trying to devise the best way to capture a fractal in a fast moving market, and in general, as well.
My code is looking at the third bar back to find the latest fractal, when first placed on a chart, if there's no fractal in the last three bars, it would mean that some entries might be missing as the EA is working with fractals as the entry points (just me playing around with code, no strategy here).
Will it be better to capture the latest lower and upper fractals using a loop? But in a fast moving market, wouldn't it also mean way more resources consumed by the EA? And maybe by the time the calculation is done, the price had already moved on and the entry might be taken at a different price than intended?
Hope I explained myself well.
I'm trying to devise the best way to capture a fractal in a fast moving market, and in general, as well.
My code is looking at the third bar back to find the latest fractal, when first placed on a chart, if there's no fractal in the last three bars, it would mean that some entries might be missing as the EA is working with fractals as the entry points (just me playing around with code, no strategy here).
Will it be better to capture the latest lower and upper fractals using a loop? But in a fast moving market, wouldn't it also mean way more resources consumed by the EA? And maybe by the time the calculation is done, the price had already moved on and the entry might be taken at a different price than intended?
Hope I explained myself well.