------------------------------------------------------------------------------------------------------------------
V 1y is in post 1.
RnR and HGB are linked in my mind at the mo, as I am trying to implement offsetting. I have probably gone about it in the wrong way. Remon's simulator plots events int $1 increments. I assumed that a pips implementation of this would work equally well. It seems not.
The problem I was having was that, say, the highest of a group of buy trades would fall by DistanceBetweenTradesPips and that closing it and the lowest of the buys would result in profit. It rarely did. I tell you guys, there is blood on my walls.
Tonight I came up with the idea of not closing the pair unless they are in profit. RnR is now happily closing the trades only when to do so will result in profit. I have transferred this code across to HGBnG.
I have the latest version on my live account, but I wrote most of it and know the harm it can do. I suggest you guys stick to offsetting on demo only for now.
Implemented so far is only the simple offsetting of the highest and lowest of an unhedged pair. Opposite-sides of a hedged position has to come later. Getting what we already have has proven a total bastard and I need to recover some strength.