Gridtrading from daily open

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

I have moved this thread to the Automation forum.

: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.
passgo
Trader
Posts: 51
Joined: Thu Nov 24, 2011 1:14 pm

Gridtrading from daily open

Post by passgo »

I have been following this conversation with interest and the examples of trading lower volatility pairs are a massive insight - thanks one and all.

I would like to make a positive contribution and have found an ATR monitor which others may find useful in selecting pairs to trade. It is possible to select 10 pairs to watch and set the ATR period. I post some screen shots below and for anybody interested google ATR Monitor.
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 »

theforexedge has pm'd me with a tiny bloop in the code.

Line 439:
SM("Global cash target = " + DoubleToStr(GlobalProfitTargetP, 2) + NL);

should be:
SM("Global cash target = " + DoubleToStr(GlobalProfitTargetC, 2) + NL);

P = pips.
C = cash.

It makes no difference to the running of the bot as it is purely a display thingy, so ignore it if you have not already noticed. The fix will be included in the next update.

Thanks Jason. :clap: :clap: :clap:

: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.
ianp
Trader
Posts: 83
Joined: Tue Nov 15, 2011 9:58 pm

Gridtrading from daily open

Post by ianp »

I came across this tool which gives ATR values , it also shows you which hours have the most range .

http://au.investing.com/tools/forex-vol ... calculator
moebiusx

Gridtrading from daily open

Post by moebiusx »

Hello everyone,
you can set in automatic a half value of ATR?

If yes, how?

As it has been said a few messages ago...(maybe Zenner) to win in a range moment-day
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 »

moebiusx » Mon Apr 11, 2016 12:40 am wrote:Hello everyone,
you can set in automatic a half value of ATR?

If yes, how?

As it has been said a few messages ago...(maybe Zenner) to win in a range moment-day
Set the ATR multiplier at 0.5 (or 0,5) aand it will send the number of trades you entered earlier at the 1/2 ATR grid.
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 »

Greedy Wotsit took of like a roller coaster, opening all xxxJPY crosses within half an hour of setting the pendings.
Right now all charts have trades on them, 6 pairs already closed for 447 pips. I disabled the 2nd basket timing, first I want to look what happens when I aim for 1 basket a day. The pairs that closed already;

AUDJPY
GOLD
GBPCHF
GBPUSD
GBPCAD
GBPAUD [left open from friday]
Greedy Wotsit.png
DD is a bit high, I left the lotsizing 0.02/ $1.000 and changed it to 0.01/ 1.000 for tonight.

I spotted a little glitch in the code, when the grid is at L4 and send an additional piece, L5 is deleted and not replaced. This can easily be overcome to make a bigger grid to start with.
GBPJPYM30.png
Looking forward to more baskets closing...... :yahoo:
You do not have the required permissions to view the files attached to this post.
Bruster400
Trader
Posts: 192
Joined: Tue Sep 24, 2013 3:19 pm

Gridtrading from daily open

Post by Bruster400 »

Gertje » Fri Apr 08, 2016 5:36 pm wrote:
Bruster400 » Fri Apr 08, 2016 3:48 pm wrote:Just to put some data behind my "2ATR" buffer assumption - I've just "looked" back at how this system would have performed on GBPUSD for year to date. Using a grid of 2ATR is each direction and a 50%ATR take profit, there were two occasions when the profit closed out on the penultimate grid level. It never went beyond 2 ATR but it got very close. This test assumes that you don't open another grid if one is open from yesterday so it's not complete by any means. 27 grids in total. I was using 12 trades in each direction but the results would be similar to this for a range of gridlevels numbers.

With some cautious settings this could get interesting!
Hi Bruster,

What did you use for this test?

Regarding the 2xADR grid, GW will add a grid at the extremes with the right settings so you never run out of trades.
Gertje,

I just ran it through the backtester to give me a feel for the required shape of grid vs profit targets. I'm aware it's not perfect but it's useful data to feed into forward trials. I did make a minor mod so that it automatically sets the profit at a % of ATR so that it would adapt to the changing grid dimensions over the course of the test.

If you're using the trading timeframes to enable the bot to set trades shortly after the open, doesn't that then stop the sending of the extreme grids because it will be outside trading hours? I had them turned off because I didn't think that they'd work....
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 » Mon Apr 11, 2016 9:27 am wrote:
Gertje,

I just ran it through the backtester to give me a feel for the required shape of grid vs profit targets. I'm aware it's not perfect but it's useful data to feed into forward trials. I did make a minor mod so that it automatically sets the profit at a % of ATR so that it would adapt to the changing grid dimensions over the course of the test.

If you're using the trading timeframes to enable the bot to set trades shortly after the open, doesn't that then stop the sending of the extreme grids because it will be outside trading hours? I had them turned off because I didn't think that they'd work....
No, the extreme grids will be send untill the basket closes.
Then the trading TF's will stop the EA sending a new grid.
Bruster400
Trader
Posts: 192
Joined: Tue Sep 24, 2013 3:19 pm

Gridtrading from daily open

Post by Bruster400 »

Thanks Gertje,

Just found the code in the ShouldTradesBeClosed so was getting to the answer but you beat me to it!! :good:
Post Reply

Return to “Automated trading systems”