Hello there.

I wonder if you would like to code the following strategy with fractals

Pending order buy:
At the latest fractal up, if the price break through the PSAR trail the Stop Loss
Stop loss at the latest fractal down

Pending order sell:
At the latest fractal down, if the price break through the PSAR trail the Stop Loss
Stop loss at the latest fractal up

Filter: ADX above 25 for trending market, when the breakouts are more likely to happen