V 1o is in post 1. I have not removed the 'Bob stuff' yet. I have added code to enforce values for certain variables if we are using hedging. I also noticed and fixed a bloop that left orphaned stop orders if an opposite direction semafor closes the market trades.
More to the point is the idea that this position gave me:
GBPJPYH4.png
The yellow blob looks wrong but I added temporary code to kid the ea that there was a low semafor on the previous candle, so he obediently closed the market sells, deleted the orphaned pendings, then sent a fresh batch of sell stops.
Now there is a huge gap between the market and those market buys. OK, so my original idea was to close them if the market retraced upwards for a half-way decent number of pips - leaving us in profit over the whole exercise that started with 5 buy stops and 5 sell stops.
The idea I had a few minutes ago was this: populate the gap with another grid of buy stop trades. Now the chart looks like this:
GBPJPYH4x.png
If the market does now rise then we will be well placed to exit the buy position at a profit earlier - maybe at breakeven so we can regard all those lovely sell pips as pure profit.
It could be all that happens is we get left with a mess. It is the work of seconds to make more of these features user options but this is early days.Let's just play with it and see where the ride takes us.

You do not have the required permissions to view the files attached to this post.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed
Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.