I am thinking abt logic.
If Volume is changing higher, then martke is very active.
Then place buy stop & sell stop at the same time.
Distance from high and low for Candle stick is xxxx pips.
With this logic, you don’t care about high impact news!
The result is amazing!!
I modified code.
buyorder and sell order is 5pips distance from High/low.
If trade is closed with loss, then next lot size is double.