It didn't. Compare your broker time with your local time. Trading times are local times. Your broker times aren't.bazze » Thu Jun 26, 2014 7:28 pm wrote:One question: Why is it so that the EA open a buy stop AFTER the trading hour that I have set?
Scalp the Little Gits, dsu
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Scalp the Little Gits, dsu
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.
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.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Scalp the Little Gits, dsu
Just to let you guys know that I am not ignoring pleas to be able to control your D1 candle start time.
To avoid getting into the sticky mire of gmt offsets etc (any anybody asking me to get involved with those is begging for trouble; your begging will not be ignored). Instead, I am going to provide users with a D1 candle start hour input that will use the platform's D1 chart if set to <0.
I have done the necessary code conversion for defaulting to the platform's D1 chart. I might or might not get the rest done tonight. If not, then defo in time for Monday.

To avoid getting into the sticky mire of gmt offsets etc (any anybody asking me to get involved with those is begging for trouble; your begging will not be ignored). Instead, I am going to provide users with a D1 candle start hour input that will use the platform's D1 chart if set to <0.
I have done the necessary code conversion for defaulting to the platform's D1 chart. I might or might not get the rest done tonight. If not, then defo in time for Monday.
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.
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.
-
nonlinear
- Trader
- Posts: 293
- Joined: Fri Jun 01, 2012 2:56 pm
- Location: Washington DC
Scalp the Little Gits, dsu
SteveHopwood » Thu Jun 26, 2014 3:39 pm wrote:Just to let you guys know that I am not ignoring pleas to be able to control your D1 candle start time.
To avoid getting into the sticky mire of gmt offsets etc (any anybody asking me to get involved with those is begging for trouble; your begging will not be ignored). Instead, I am going to provide users with a D1 candle start hour input that will use the platform's D1 chart if set to <0.
I have done the necessary code conversion for defaulting to the platform's D1 chart. I might or might not get the rest done tonight. If not, then defo in time for Monday.
How can you not LOVE this man? lol. Thanks Steve, D1 candle start hour input is perfect.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Scalp the Little Gits, dsu
Hehe. Thanks for the kind words, but I have upset the occasional person from time to time.nonlinear » Thu Jun 26, 2014 9:08 pm wrote:
How can you not LOVE this man? lol. Thanks Steve, D1 candle start hour input is perfect.
Hey ho.
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.
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.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Scalp the Little Gits, dsu
I decided to do V 1j whilst the algorithm I had constructed in my head whilst driving around today was still there. Copied from my edited post 1:

The code seems to work on my demo, so I don't care what happens on yours guys. Don't bother me with the details. Do feel free to start a thread elsewhere to discuss the problems invoked by D1OpenHour. Send me a pm and I will add a link here so that new members can follow it. Just don't expect me to get involved.Your D1 candle time start
Different brokers have different D1 candle start times, so a system based on the D1 candle open time will start by using different open prices depending on your broker.
A number of guys here are unlucky enough to be unable to open accounts with Global Prime. My heart bleeds for them, or I would not have bothered adding this complication to my life. Fact is, these poor people exist and so there is an input that allows you to specify what time to pick as your D1 open time - D1OpenHour at the end of the 'General inputs' section. The default of -1 tells the bot to use the broker's D1 candle open time and value. That is the easy bit for me, and I am not going to get involved in your hard bit.
D1OpenHour works with your broker's time - see this at the top of your chart. It is a 24 hour time thingy. You want the ea to calculate all its values from a broker's hour of 2.00 AM, you enter 2 into D1OpenHour. You want it to calculate from a broker's hour of 3.00 PM, you enter 15 into D1OpenHour.
You may decide your D1 open hour coincides with the close of the NY session, or the open of the Tokyo markets. I do not care. It is your problem to work this out. Take this next bit very seriously.
Serious warning
Early on in my career as a train-wreck-Forex-coder I started a couple of threads that required contributors to calculate the start time of something-or-other according to their broker's time. These threads were quickly dragged into a mire of morons bleating that they could not do the required calculations.
This will not happen here. Learn to tell the time, guys. Questions about this are banned. Anybody moronic enough to ignore (or as been palpably demonstrated here already, fail to read) has one chance. I will delete the post. A second posting will attract a ban from this forum and there will be no redress - I own it and am a PCA (work it out for yourselves).
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.
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.
-
dsugums
- Trader
- Posts: 117
- Joined: Mon Jan 30, 2012 9:57 pm
Scalp the Little Gits, dsu
Thanks Steve for the additional functions for the EA. I think the current version has all it needs to trade properly.SteveHopwood » Thu Jun 26, 2014 10:22 pm wrote:Hehe. Thanks for the kind words, but I have upset the occasional person from time to time.nonlinear » Thu Jun 26, 2014 9:08 pm wrote:
How can you not LOVE this man? lol. Thanks Steve, D1 candle start hour input is perfect.
Hey ho.
Any additional filtering will kill the purpose of the EA; that is to be simple straight forward robot.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Scalp the Little Gits, dsu
Yep. It has already moved beyond the remit of a simple straight forward robot, but I have taken care to ensure that all the additional filters are easily disabled.dsugums » Thu Jun 26, 2014 10:33 pm wrote:
Thanks Steve for the additional functions for the EA. I think the current version has all it needs to trade properly.
Any additional filtering will kill the purpose of the EA; that is to be simple straight forward robot.
I only coded the D1 hour open time thingy because some members trade through brokers with ridiculously bizarre D1 candle open times and it seems a shame to disadvantage them when I (think) I can remove the disadvantage. Whether these members should be trading with such cowboys is another matter, and not one I am going to get involved in.
So, from here on testing only. Should be fun.
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.
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.
-
dsugums
- Trader
- Posts: 117
- Joined: Mon Jan 30, 2012 9:57 pm
Scalp the Little Gits, dsu
This EA is based on very tight spread for its survival. I know those in US are being buggered with high spread level even for EU. If the spread goes beyond 2pips, this EA will not work properly with 5 pip sl.
My spread for majors are less than 1.5pips (most of the time less than 1pip). To overcome this problem for higher spread, just increase your SL & TP accordingly by 1pip and see how it performs.
On a side note, please play around with stoch setting to false. Might get more trades for 5pips TP only during London/US session. Never do it during Asia.
My spread for majors are less than 1.5pips (most of the time less than 1pip). To overcome this problem for higher spread, just increase your SL & TP accordingly by 1pip and see how it performs.
On a side note, please play around with stoch setting to false. Might get more trades for 5pips TP only during London/US session. Never do it during Asia.
- rapple
- Trader
- Posts: 277
- Joined: Fri Feb 21, 2014 10:56 pm
- Location: Sydney, Australia
Scalp the Little Gits, dsu
Thank you Ds and Steve for all your hard work
Looking forward to testing the new version

Looking forward to testing the new version
-
nonlinear
- Trader
- Posts: 293
- Joined: Fri Jun 01, 2012 2:56 pm
- Location: Washington DC
Scalp the Little Gits, dsu
Up and running guys. Absent any unforeseen bugs, looks to me like this bot is done. Thanks Steve and dsu. Oh, and anyone with issues with the trade times and D1 open time, please just PM me and I will get you straight. Whatever you do, please please don't post here. Woot woot!
Cheers guys, I am drinking Rose because its in season and I am toasting the French. And I can still count, lol
Cheers guys, I am drinking Rose because its in season and I am toasting the French. And I can still count, lol

