Seems to be working as intended. I put this on overnight with M1 HGI and MinimumTradesToCallImbalance set to one to give plenty of hedging tests and just a 2pip grid .. I didn't expect this to be profitable but it's holding it's own considering price has been ranging. I've now changed to a 5pip grid and look forwards to the next decent move.SteveHopwood » Wed Jun 01, 2016 11:35 am wrote:V 1n is in post 1, with an implementation of another brilliant idea by TraderJoeForex. From the updated post 1:
There are probably bugs in the code. Coders, have a look at
void GetLosingTradesTickets(int type, double profit) starting at line 1127. The function is called from within bool LookForTradeClosure(int ticket) - itself only called to examine a defensive hedge trade.
Rinse 'n Repeat
- TraderJoeForex
- Trader
- Posts: 1157
- Joined: Fri Mar 08, 2013 10:29 pm
- Location: South London
Rinse 'n Repeat
You do not have the required permissions to view the files attached to this post.
Last edited by TraderJoeForex on Thu Jun 02, 2016 2:12 pm, edited 1 time in total.
- TraderJoeForex
- Trader
- Posts: 1157
- Joined: Fri Mar 08, 2013 10:29 pm
- Location: South London
Rinse 'n Repeat
... haha right on time we get a nice little 100pip drop. The hedge kicks in perfectly protecting me from drawdown and closes with a nice profit.

You do not have the required permissions to view the files attached to this post.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Rinse 'n Repeat
Excellent. We progress further still.

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.
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.
- rapple
- Trader
- Posts: 277
- Joined: Fri Feb 21, 2014 10:56 pm
- Location: Sydney, Australia
Rinse 'n Repeat
Hi all
Here are my results for RnR (version 1o) both started at the same time on fresh $5000 GP demos
RnR (ootb) RnR (ootb) but with "AllowComplexSingleSidedOffset=false" Cheers Richard
Here are my results for RnR (version 1o) both started at the same time on fresh $5000 GP demos
RnR (ootb) RnR (ootb) but with "AllowComplexSingleSidedOffset=false" Cheers Richard
You do not have the required permissions to view the files attached to this post.
- Gertje
- Trader
- Posts: 1936
- Joined: Mon Dec 12, 2011 1:17 pm
- Location: Middle of the Netherlands
Rinse 'n Repeat
Probably NFP this afternoon will give a good test.....TraderJoeForex » Thu Jun 02, 2016 2:11 pm wrote:... haha right on time we get a nice little 100pip drop. The hedge kicks in perfectly protecting me from drawdown and closes with a nice profit.
I'm still not sure what to do with my account running RnR. I think I will manually hedge it before NFP and release the hedge once the dust settles.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Rinse 'n Repeat
RnR should detect a hugely widened spread and stop any kind of trading/managing activity.Gertje » Fri Jun 03, 2016 5:12 am wrote: Probably NFP this afternoon will give a good test.....![]()
I'm still not sure what to do with my account running RnR. I think I will manually hedge it before NFP and release the hedge once the dust settles.
I always intend to hide the RunInSpreadDetectionMode input because nobody bothers to read what this does and think that setting it to 'false' stops this filter. It actually tells the ea to recalculate the average spread based on the number of ticks in TicksToCount. The only way to turn this filter off is to set MultiplierToDetectStopHunt to something so high that not even NFP can cause a spread that wide.
We can look into this and think about whether the ea pause loop should include testing the need to apply a defensive hedge, but as coded now it does not. You will need to apply this manually.
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.
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.
- TraderJoeForex
- Trader
- Posts: 1157
- Joined: Fri Mar 08, 2013 10:29 pm
- Location: South London
Rinse 'n Repeat
This is still demo so I will keep this running through NFP and let you know how it goes. With a 5pip grid, 1+ trade to call imbalances and HGI on M1 for hedge signals I am really pleased.Gertje » Fri Jun 03, 2016 5:12 am wrote: Probably NFP this afternoon will give a good test.....![]()
I'm still not sure what to do with my account running RnR. I think I will manually hedge it before NFP and release the hedge once the dust settles.
The profit is significantly less with the hedging on because of the false HGI signals (especially as this is M1) but it is still profitable and the beauty is that no more than 10 trades have been open at any time so I could be running a much higher lot size which would make up for this. Right now GJ is still a ranging market based on D1 and has been since February .. once price breaks out of this range in the coming weeks/months I think the benefits will be even more pronounced.
I have found that anything other than +1 imbalances and M1 for HGI the hedges just aren't on quick enough to keep the number of open trades consistent but this is just a brief snapshot. It would be good to have a week long comparison with M15 H1 and H4 next week if anyone wants to join in this test with some space on VPS..
Below is the set file I am using for M1:
Bring on the NFP
You do not have the required permissions to view the files attached to this post.
- Gertje
- Trader
- Posts: 1936
- Joined: Mon Dec 12, 2011 1:17 pm
- Location: Middle of the Netherlands
Rinse 'n Repeat
Hi,TraderJoeForex » Fri Jun 03, 2016 10:57 am wrote:
This is still demo so I will keep this running through NFP and let you know how it goes. With a 5pip grid, 1+ trade to call imbalances and HGI on M1 for hedge signals I am really pleased.
The profit is significantly less with the hedging on because of the false hedge trades but it is still profitable and the beauty is that no more than 10 trades have been open at any time so I could be running a much higher lot size which would make up for this. Right now GJ is still a ranging market based on D1 and has been since February .. once price breaks out of this range in the coming weeks/months I think the benefits will be even more pronounced.
I have found that anything other than +1 imbalances and M1 for HGI the hedges just aren't on quick enough to keep the number of open trades consistent but this is just a brief snapshot. It would be good to have a week long comparison with M15 H1 and H4 next week if anyone wants to join in this test with some space on VPS..
Below is the set file I am using for M1:
Bring on the NFP
If you can setup the different setfiles for me, I can run it on my VPS starting next week.
- TraderJoeForex
- Trader
- Posts: 1157
- Joined: Fri Mar 08, 2013 10:29 pm
- Location: South London
Rinse 'n Repeat
Great.. I will PM them to you later.Gertje » Fri Jun 03, 2016 11:09 am wrote: Hi,
If you can setup the different setfiles for me, I can run it on my VPS starting next week.
NFP wasn't much drama.. just added a few more £
You do not have the required permissions to view the files attached to this post.
- TonkaTuff
- Trader
- Posts: 74
- Joined: Wed May 01, 2013 6:30 am
- Location: Sydney, AUSTRALIA
Rinse 'n Repeat
I've currently got a spare VPS at the moment I would like to test HGBnG and RNR on if you need any capacity I'd be happy to test any settings you don't have capacity for.
In theory, there is no difference between theory and practice. In practice, there is.