stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Gridtrading from daily open
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4666
Page 29 of 37
Author:  Reamasesa [ Fri Apr 29, 2016 9:36 am ]
Post subject:  Gridtrading from daily open

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
:xm:
Hi,

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.
Author:  Gertje [ Sat Apr 30, 2016 8:50 am ]
Post subject:  Gridtrading from daily open

Attached my results from the last 6 trading days.
I tampered with NZDJPY and failed. Closed it on friday and spend all friday's profit doing so. :arrrg:
Need to stop doing that and let price sort it out.
This is done using the version without offsetting, I will set that one up for next week's trading and see how it works out.
Still some DD from 6 open pairs, I want to let them run and close by themselves (or not).
Global Prime - Empty4 4.png
Author:  SteveHopwood [ Sat Apr 30, 2016 9:51 am ]
Post subject:  Gridtrading from daily open

The line for the bloop I have described in our RnR thread is line 1666:
if (MarketBuys >= 3)//Must be sufficient trades open to start offsetting


if (MarketSells >= 3)//Must be sufficient trades open to start offsetting

Slightly different variable name, but the same purpose.

Ig for the peasants in post 1.

:xm:
Author:  SteveHopwood [ Sat Apr 30, 2016 10:28 am ]
Post subject:  Gridtrading from daily open

dydynamic just pm'd me with this one. :clap: :clap: :clap:

Same bloop, different line. Line 1682 needs to be:
for (cc = MarketSells; cc > 0; cc--)

I have added the peasant's fix to the version in post 1.

:xm:
Author:  SteveHopwood [ Sat Apr 30, 2016 4:19 pm ]
Post subject:  Gridtrading from daily open

V 1h is in post 2, with the stuff added that I have added to HGBnG and RnR.

Anyone here not understanding offsetting? There is a full explanation in the HGBnG User Guid - and anybody not understanding what I mean by that, really hasn't been paying attention. :yahoo:

:xm:
Author:  Gertje [ Sat Apr 30, 2016 4:40 pm ]
Post subject:  Gridtrading from daily open

Thanks Steve for all the work you're doing.
It's hugely appreciated.
:clap: :clap: :clap:
Author:  SteveHopwood [ Sat Apr 30, 2016 8:03 pm ]
Post subject:  Gridtrading from daily open

V 1i is in post 1. Same bloop as RnR. Losing the will to live. Can't be arsed to explain. Line 1533.

:arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg: :arrrg:
Author:  SteveHopwood [ Sun May 01, 2016 6:30 pm ]
Post subject:  Gridtrading from daily open

Make sure you have read my "Really irritating bloop alert" in the RnR thread to know what this is all about. Fix in post 1.

The relevant lines here are:
1718
1835

:xm:
Author:  SteveHopwood [ Mon May 02, 2016 7:12 pm ]
Post subject:  Gridtrading from daily open

No doubt you have read about the bloop that dydynamic spotted over n RnR.

Bone-idle Gits Peasants' version 1j is in post 1. For the rest of you, the offending lines in my code are:
1580/1
1697

:xm:
Author:  viltsu [ Wed May 04, 2016 3:42 am ]
Post subject:  Gridtrading from daily open

Hello experts,

I have a problem which source I can't define. I'm using Greedy Wotsit with "+00.10,-00.25" time settings. Today take profit hit like in many many other days. But at some reason the Wotsit opened a new grid at 00:39 (broker and local time is the same). Have I understand the trading hours -variable wrong?

I love this EA and daily open -trading. Thank you for your hard work in this.
All times are UTC Page 29 of 37