Fix in post 1. Remove the blasted things yourselves in lines 485 and 493 if you prefer.
Pipcruiser's Pipmasher
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Pipcruiser's Pipmasher
Niels just emailed to say the latest version would not download again. Those extra '+' signs are back again. Unbesmegginglievable. I didn't put the damn things there.
Fix in post 1. Remove the blasted things yourselves in lines 485 and 493 if you prefer.

Fix in post 1. Remove the blasted things yourselves in lines 485 and 493 if you prefer.
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.
Pipcruiser's Pipmasher
This will appear strange to some of you, but the individual it is aimed at will understand.
Questions about telling the time are not allowed in my threads. Work it out for yourself.
Questions about telling the time are not allowed in my threads. Work it out for yourself.
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.
-
spotdespot
- Trader
- Posts: 768
- Joined: Sun Jan 22, 2012 11:38 pm
Pipcruiser's Pipmasher
Steve - I think the EA might need a pending order expiry time or another mechanism to cope with what happened last night. At yesterday's close the previous day's pending orders that had not been filled happened to be valid trades again so the EA tried to set new pendings whilst the old ones were still present, got a bit confused and thought there was some rogue trading, closed the new pendings and left the old ones behind and, of course, disabled the EA on those charts.
Cheers,
Dave.
Cheers,
Dave.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Pipcruiser's Pipmasher
Actually, this is a classic case of fixing one problem creating a different one.spotdespot » Thu Oct 16, 2014 10:55 am wrote:Steve - I think the EA might need a pending order expiry time or another mechanism to cope with what happened last night. At yesterday's close the previous day's pending orders that had not been filled happened to be valid trades again so the EA tried to set new pendings whilst the old ones were still present, got a bit confused and thought there was some rogue trading, closed the new pendings and left the old ones behind and, of course, disabled the EA on those charts.
Cheers,
Dave.
The Cretins at CrapperQuotes have gone a long way towards breaking Matt's OR code in Jerrybuile 7xx. Niels was seeing the occasional duplicate pending being sent, so I added code to delete duplicates - PP is only ever supposed to have one open pending.
When I forgot to add code to test for an already existing pending, PP dutifully sent the second one. Next tick, it equally dutifully discovered a duplicate and deleted it, then hung up its hat to avoid repeating the process. My robots do what they are told to do very nicely.
The fix is a single extra line of code, but here his the whole of the 'trading' bit of OnTick()
Code: Select all
//Trading
if (EveryTickMode) OldBarsTime = 0;
if (OldBarsTime != iTime(NULL, TradingTF, 0) )
{
OldBarsTime = iTime(NULL, TradingTF, 0);
if (!PendingOrder || PendingTradesCount == 0)
if (TradingDayStatus != nottradingday)
if (!AlreadyTradedToday)
if (OpenTrades < MaxTradesAllowed)
if (!StopTrading)
{
BriefSleep();//Generates a random period of sleep. Initialised in OnInit
LookForTradingOpportunities();
}//if (!StopTrading)
}For the peasants, V 1j is in post 1 with the fix - you don't need it if you have MaxTradesAllowed set to 1, but best to get it at some stage.
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.
-
spotdespot
- Trader
- Posts: 768
- Joined: Sun Jan 22, 2012 11:38 pm
Pipcruiser's Pipmasher
Thanks Steve.
- matt_32
- Trader
- Posts: 204
- Joined: Tue Apr 03, 2012 8:51 am
- Location: Crete, Greece
Pipcruiser's Pipmasher
Now we are rolling !!!!!!!!
The whole month was in DD and in the last few days things have come around. (+2000 pips)
What a strategy !!!!!
Thank you Pipmasher & thank you Steve (for coding it)
Matt
The whole month was in DD and in the last few days things have come around. (+2000 pips)
What a strategy !!!!!
Thank you Pipmasher & thank you Steve (for coding it)
Matt
You do not have the required permissions to view the files attached to this post.
"Wise men speak because they have something to say; Fools because they have to say something." - Plato 347 BC
-
pipcruiser
- Trader
- Posts: 134
- Joined: Wed Nov 16, 2011 8:24 am
Pipcruiser's Pipmasher
Good to see matt 
Yes, the strategy can sometimes be a bit "boring" but once the trends kicks in, its raining pips
Have a great weekend.
PC
PS: Steve congrats with the grandchild
Yes, the strategy can sometimes be a bit "boring" but once the trends kicks in, its raining pips
Have a great weekend.
PC
PS: Steve congrats with the grandchild
"Perfection is Achieved Not When There Is Nothing More to Add, But When There Is Nothing Left to Take Away"...
- matt_32
- Trader
- Posts: 204
- Joined: Tue Apr 03, 2012 8:51 am
- Location: Crete, Greece
Pipcruiser's Pipmasher
@pipcruiser
By the way are you in the process of testing your strategy in other Tf's ? If yes what are your conclusions?
Matt
By the way are you in the process of testing your strategy in other Tf's ? If yes what are your conclusions?
Matt
Last edited by matt_32 on Fri Oct 31, 2014 11:18 am, edited 1 time in total.
"Wise men speak because they have something to say; Fools because they have to say something." - Plato 347 BC
-
AGT
- Trader
- Posts: 889
- Joined: Thu Nov 17, 2011 7:20 pm
- Location: Germany
Pipcruiser's Pipmasher
Hmm ... we had a considerable move the last two days bcz of US/JPY news. So these changes providing the pretty good gains are based on fundamental changes in the price action ... SO: I think these fundamental causes aren't included neither in the strategy nor in the code ! 
Or can the technical code predict the future J.Y.'s speech directed yesterday ... ?
Or in words ... in fact it was more luck wasn't it ?
Or can the technical code predict the future J.Y.'s speech directed yesterday ... ?
Or in words ... in fact it was more luck wasn't it ?
AGT's EA portfolio: http://www.stevehopwoodforex.com/phpBB3 ... =36&t=1374
- matt_32
- Trader
- Posts: 204
- Joined: Tue Apr 03, 2012 8:51 am
- Location: Crete, Greece
Pipcruiser's Pipmasher
AGT » Fri Oct 31, 2014 12:46 pm wrote:Hmm ... we had a considerable move the last two days bcz of US/JPY news. So these changes providing the pretty good gains are based on fundamental changes in the price action ... SO: I think these fundamental causes aren't included neither in the strategy nor in the code !
Or can the technical code predict the future J.Y.'s speech directed yesterday ... ?
Or in words ... in fact it was more luck wasn't it ?
OK the sudden move itself was lucky but .....the truth is that this strategy follows the big trends (monthly & weekly) which in my opinion encapsulate the long term sentiment of the market (fundamentals inluded).
So in other words if you stick to long term the moves sooner or later will come and then ......
Party time
Matt
"Wise men speak because they have something to say; Fools because they have to say something." - Plato 347 BC