Hi,SteveHopwood » Thu Apr 28, 2016 6:38 pm wrote:V 1f is in post 2, with offsetting implemented. I got into a real tangle doing this and guarantee nothing. 1f should go nowhere near a live account yet.
There is an offsetting inputs section just below the ADX inputs:
- AllowSimpleAndComplexOffsetting: this allows the offsetting of the biggest winner in one group of trades against the biggest loser in the group, and offsetting a number of trades from the winning side of a hedge against the biggest loser on the other side.
- AllowSingleSideOffsets: allows offsetting a group of trades against a loser from the same group of trades. This is not allowed if AllowSimpleAndComplexOffsetting = false
I've got this EA set up on a few charts and I'm trading it manually as I got tired of my broker's ever changing minimum distance between trades preventing the EA from opening trades based on ATR or too narrow distance.
Spent a few days trying to understand why I'm getting all these weird error messages and why the EA doesn't open trades on the time specified in the settings.
That being dealt with, I've had a chance to test the latest version with offsetting on my charts (each has around three grids launched manually at different prices, I'm testing something) and I woke up to see a bunch of trades closed because of this feature. It sure helped ease the DD and while it's not a lot of trades (Around 10, in total, on two different charts) to be able to say everything is working as it should, it sure looks that way.
Thank you.