Gridtrading from daily open

Post Reply
Reamasesa
Trader
Posts: 14
Joined: Sun Aug 31, 2014 2:55 pm

Gridtrading from daily open

Post by Reamasesa »

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.
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Gridtrading from daily open

Post by Gertje »

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
You do not have the required permissions to view the files attached to this post.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Gridtrading from daily open

Post by SteveHopwood »

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:
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.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Gridtrading from daily open

Post by SteveHopwood »

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:
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.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Gridtrading from daily open

Post by SteveHopwood »

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:
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.
User avatar
Gertje
Trader
Posts: 1936
Joined: Mon Dec 12, 2011 1:17 pm
Location: Middle of the Netherlands

Gridtrading from daily open

Post by Gertje »

Thanks Steve for all the work you're doing.
It's hugely appreciated.
:clap: :clap: :clap:
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Gridtrading from daily open

Post by SteveHopwood »

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:
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.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Gridtrading from daily open

Post by SteveHopwood »

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:
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.
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

Gridtrading from daily open

Post by SteveHopwood »

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:
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.
viltsu
Trader
Posts: 13
Joined: Tue Apr 09, 2013 2:05 pm

Gridtrading from daily open

Post by viltsu »

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.
Post Reply

Return to “Automated trading systems”