DislikedWaiting for updated version from Ananthhh.....
Anyway since the 9 pips max range is not correctly coded, let´s wait.....Ignored
Actually the inside bar can have a range greater than 9 pips - could be 25 pips! A pending order should still be placed in the direction of the inside bar's close, example if close is bearish then a pending sell should be placed 0.5 pips below the low. The stop should be a size of 9 pips.
If the inside bar's range was 6 pips, and the low was 1.2550, (high 1.2556) pending order would be 1.25495 with the stop placed at 1.2556.
Hope this clarifies things!
I would also like to see down the track the option of turning on max gain/loss with %input as it would be nice to have the EA stop trading once a preset daily gain or perhaps net pips has been achieved....