Gridtrading from daily open

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

krzysiekqq2 » Wed Apr 13, 2016 11:17 am wrote:Hi, do you experiance error 130 on GW? I run ECN account with 5 digits. Could anyone suggest, where I should look to fix it. The Alert window almost does not close.
Cheers,
Krzysztof
Nope.
Use Global Prime and you don't have these.
:jump:
Probably there is a minimal distance between price and [pending]order that the broker set.
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 »

Also the input "is ECN broker" is there for a reason, set it to yes when using ECN broker.
User avatar
krzysiekqq2
Trader
Posts: 69
Joined: Sun Oct 11, 2015 11:59 am
Location: Gdynia, town at Baltic sea cost

Gridtrading from daily open

Post by krzysiekqq2 »

Also the input "is ECN broker" is there for a reason, set it to yes when using ECN broker.
Thanks, I do not know how I could miss this.

Krzysztof
Louisetano
Trader
Posts: 68
Joined: Thu Jan 01, 2015 9:42 am

Gridtrading from daily open

Post by Louisetano »

Zennor » Wed Apr 13, 2016 9:51 am wrote:Louisetano did you make any changes to the EA, if so sometimes this can happen, as a rule if I make a single change I save the .set file, remove the EA, replace the EA and then load the saved .set file. This ensures that the EA is running clean. This is especially true when changing time.
Hi Zennor,

No I actually did exactly how you described it. Am running on 8 pairs, some have slightly different setfile due to ADR, but it was only UJ that couldn't wait for tonight to go again ;)
No harm done though, and maybe it's just a one off. I'll let it have a go again at next DO.
Thanks though :hi:
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 »

Louisetano » Wed Apr 13, 2016 12:14 pm wrote:
Zennor » Wed Apr 13, 2016 9:51 am wrote:Louisetano did you make any changes to the EA, if so sometimes this can happen, as a rule if I make a single change I save the .set file, remove the EA, replace the EA and then load the saved .set file. This ensures that the EA is running clean. This is especially true when changing time.
Hi Zennor,

No I actually did exactly how you described it. Am running on 8 pairs, some have slightly different setfile due to ADR, but it was only UJ that couldn't wait for tonight to go again ;)
No harm done though, and maybe it's just a one off. I'll let it have a go again at next DO.
Thanks though :hi:
Funny, I had the exact same thing happening on USDJPY..... :arrrg:
USDJPYH1.png
You do not have the required permissions to view the files attached to this post.
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 »

I looked into it, and an additional pending triggered at the moment that GW was closing trades.
The now orphan open order made GW add another grid to do it's thing.
Just a case of LUC coming by for coffee I guess.
Bruster400
Trader
Posts: 192
Joined: Tue Sep 24, 2013 3:19 pm

Gridtrading from daily open

Post by Bruster400 »

Gertje » Wed Apr 13, 2016 1:30 pm wrote:I looked into it, and an additional pending triggered at the moment that GW was closing trades.
The now orphan open order made GW add another grid to do it's thing.
Just a case of LUC coming by for coffee I guess.

Hmmmmm I thought the last update made the trade closure routine more robust to prevent orphans. As an additional safety net, the if(SendIndividualGridsAtExtremes) check could be enhanced to also check that the rest of the grid is still in place too so that it doesn't open an extra grid on the basis of just one pending trade if that trade is orphaned. Something like:

line 1157:

Code: Select all

if (SendIndividualGridsAtExtremes)
      {
         if (BuyStops == 1 && MarketBuys >=(GridSize-1))
         {
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 »

Bruster400 » Wed Apr 13, 2016 1:23 pm wrote:
Gertje » Wed Apr 13, 2016 1:30 pm wrote:I looked into it, and an additional pending triggered at the moment that GW was closing trades.
The now orphan open order made GW add another grid to do it's thing.
Just a case of LUC coming by for coffee I guess.
Hmmmmm I thought the last update made the trade closure routine more robust to prevent orphans. As an additional safety net, the if(SendIndividualGridsAtExtremes) check could be enhanced to also check that the rest of the grid is still in place too so that it doesn't open an extra grid on the basis of just one pending trade if that trade is orphaned. Something like:

line 1157:

Code: Select all

if (SendIndividualGridsAtExtremes)
      {
         if (BuyStops == 1 && MarketBuys >=(GridSize-1))
         {
Well, uuuuhmmm, Steve is goanna slap me over the head for this one.....
I was running v1, just updated after I realised this....
:arrrg:
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 1b is in post 2.

The scenario Gertje described earlier can occur easily, especially if the market is moving quickly. 1b attempts to combat this.

What is not possible is that GW can initiate a basket out of hours. Shudder delicately and contemplate the results of suggesting it is.

: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.
Anima999
Trader
Posts: 13
Joined: Wed Mar 02, 2016 11:05 pm

Gridtrading from daily open

Post by Anima999 »

Evening traders,

Thanks Steve for the updates.

An update on my live account:
GJ has hits its 100pip every day this week
EJ and GN trades are still alive from Monday and in a combined DD of ~700pips with a max of 1000 earlier today.

My demo on USDSEK exotic has smashed in +700 today alone but that might be expected as its so volatile. Don't worry, I won't be going live on this without demoing for a very long time first; just an interesting experiment at this stage.

A quick glance through my hindsight-ometre
Ranging currencies are a killer in terms of DD for this so it strikes me that a quick glance at a CSS chart might help in optimising performance. For those who don't know what it is have a look in the HGI forum.
CSS.png
As you can see from the beginning of the week it says EUR and JPY are both parallel heading south (weakening) = ranging
GBP and NZD are both heading up parallel (and at the 0 line) which means both are strengthening = ranging.
Therefore Grannies and eggs ;
GBP strengthening, JPY weakening... GJ has given me the pips.

I chose the currencies that I did by having a look at their trending and ATR over the previous week without looking at the bigger picture. If I had glanced at CSS, which is an amazing tool, I can't help but think I might have chosen different pairs.
So next week I will experiment with manually adding CSS into the GW mix next week.
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Automated trading systems”