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

Gridtrading from daily open
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4666
Page 14 of 37
Author:  SteveHopwood [ Sun Apr 10, 2016 3:11 pm ]
Post subject:  Gridtrading from daily open

I have moved this thread to the Automation forum.

:xm:
Author:  passgo [ Sun Apr 10, 2016 5:23 pm ]
Post subject:  Gridtrading from daily open

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.
Author:  SteveHopwood [ Sun Apr 10, 2016 6:12 pm ]
Post subject:  Gridtrading from daily open

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:
Author:  ianp [ Sun Apr 10, 2016 11:33 pm ]
Post subject:  Gridtrading from daily open

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
Author:  moebiusx [ Mon Apr 11, 2016 12:40 am ]
Post subject:  Gridtrading from daily open

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
Author:  Gertje [ Mon Apr 11, 2016 5:38 am ]
Post subject:  Gridtrading from daily open

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.
Author:  Gertje [ Mon Apr 11, 2016 9:00 am ]
Post subject:  Gridtrading from daily open

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:
Author:  Bruster400 [ Mon Apr 11, 2016 9:27 am ]
Post subject:  Gridtrading from daily open

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....
Author:  Gertje [ Mon Apr 11, 2016 9:32 am ]
Post subject:  Gridtrading from daily open

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.
Author:  Bruster400 [ Mon Apr 11, 2016 9:35 am ]
Post subject:  Gridtrading from daily open

Thanks Gertje,

Just found the code in the ShouldTradesBeClosed so was getting to the answer but you beat me to it!! :good:
All times are UTC Page 14 of 37