Thanks Banzak. I don't know why it worked, but I deleted the on at the front of oninit function, recompiled and it didnt work. Then I put the on back, recompiled and now it works - groping in the dark from a non coder, but it's working now.
Thanks for the help Banzak, much appreciated,
:0
Once Upon A Timeframe
- rapple
- Trader
- Posts: 277
- Joined: Fri Feb 21, 2014 10:56 pm
- Location: Sydney, Australia
Once Upon A Timeframe
Hi Banzak, nice resultsbanzak » Fri Aug 01, 2014 2:32 am wrote:Hi Radar,
thank you for that great EA. I've put it OOTB 2 days ago on my little live account, where I'm testing different EA's once in a while.
Here I want to share the impressing results:
Regards,
Banzak
I noted that your start and finished times where:
Day 1: 8 to 14.30
Day 2: 8 to 10.15
Did you change the trading times from the ootb or did the Money Management kick in?
Kind regards Rapple
-
Radar
- Trader
- Posts: 437
- Joined: Fri Mar 23, 2012 5:39 pm
- Location: Round the bend ;)
Once Upon A Timeframe
Hey Rapple,
Looks like the Basket Management kicked in at $1 per trade... Lucky results!
The open/close times are from the original OAD, which uses your computer time... Steve set them for London open (his local market)...
The same open hour in the EA is 3 hours after NZ open, and 1/2 hour after Sydney open, so I catch the Asian market (though I close my trades 2.5 hours before Singapore close).
Also, if you look at the default Basket settings for TakeProfitPerTrade, BreakeEvenPerTrade, etc, they don't make sense... You will never hit BreakEven with those settings, because the basket TP will always get hit first... They're just left-overs from testing different things... It's easier/quicker for coders to hard-code them when testing, so that we don't have to reset everything after recompiling.
With any EA that uses your computer's time to determine open & close times, you should NEVER run it OOTB, as the default times are (usually) set for the coder's local time...
That being said...
@Banzak...
You had a couple of lucky days, but hey, you're still in front, right?

Keep an eye on it, and if you see some pairs that are consistent losers, pull them out of the list, then put only those into another instance of the EA, with a different MagicNumber, and different open/close times, and see how they go... All the GlobalVariables have the MagicNumber appended to their names, so you can run multiple instances of the EA, and they won't stomp all over each other
Have fun!
Radar =8^)
rapple » Fri Aug 01, 2014 8:37 am wrote:Hi Banzak, nice resultsbanzak » Fri Aug 01, 2014 2:32 am wrote:Hi Radar,
thank you for that great EA. I've put it OOTB 2 days ago on my little live account, where I'm testing different EA's once in a while.
Here I want to share the impressing results:
Regards,
Banzak
I noted that your start and finished times where:
Day 1: 8 to 14.30
Day 2: 8 to 10.15
Did you change the trading times from the ootb or did the Money Management kick in?
Kind regards Rapple
Looks like the Basket Management kicked in at $1 per trade... Lucky results!
The open/close times are from the original OAD, which uses your computer time... Steve set them for London open (his local market)...
The same open hour in the EA is 3 hours after NZ open, and 1/2 hour after Sydney open, so I catch the Asian market (though I close my trades 2.5 hours before Singapore close).
Also, if you look at the default Basket settings for TakeProfitPerTrade, BreakeEvenPerTrade, etc, they don't make sense... You will never hit BreakEven with those settings, because the basket TP will always get hit first... They're just left-overs from testing different things... It's easier/quicker for coders to hard-code them when testing, so that we don't have to reset everything after recompiling.
With any EA that uses your computer's time to determine open & close times, you should NEVER run it OOTB, as the default times are (usually) set for the coder's local time...
That being said...
@Banzak...
You had a couple of lucky days, but hey, you're still in front, right?
Keep an eye on it, and if you see some pairs that are consistent losers, pull them out of the list, then put only those into another instance of the EA, with a different MagicNumber, and different open/close times, and see how they go... All the GlobalVariables have the MagicNumber appended to their names, so you can run multiple instances of the EA, and they won't stomp all over each other
Have fun!
Radar =8^)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
StackManV2
- bourgenot
- Trader
- Posts: 159
- Joined: Mon Aug 27, 2012 4:37 pm
HELP, THANK YOU
Hello all, I must be stupid! but EA does not work, no indication, present smile, I moved the pairs D1.. But nothing (in France now is 10:50 H). PLEASE HELP thank you!, have a good day!

-
Radar
- Trader
- Posts: 437
- Joined: Fri Mar 23, 2012 5:39 pm
- Location: Round the bend ;)
HELP, THANK YOU
Hey Bourgenot,
Try right-clicking on the chart... If you see "Expert Advisors" in the pop-up menu, scroll down to that, then select "Properties"... If that comes up, then we might have a problem...
Have a look in the Experts tab, and see if there are any error messages in there...
Make sure you have enough weekly history for each pair that the EA will be trading on... I just realized that this could have been the cause of CurryMonster's "Zero Divide" problems, as the EA uses a 14 period ATR of the Weekly chart for each pair... If you find any ZD errors, there's a script floating around here that will update the history for all pairs in your Market Watch, for all timeframes, so grab and use that (just make sure that all pairs that the EA trades on are available in your Market Watch first, and remove any pairs from the EA that aren't available from your broker).
Have fun!
Radar =8^)
bourgenot » Fri Aug 01, 2014 6:23 pm wrote:Hello all, I must be stupid! but EA does not work, no indication, present smile, I moved the pairs D1.. But nothing (in France now is 10:50 H). PLEASE HELP thank you!, have a good day!![]()
![]()
![]()
Try right-clicking on the chart... If you see "Expert Advisors" in the pop-up menu, scroll down to that, then select "Properties"... If that comes up, then we might have a problem...
Have a look in the Experts tab, and see if there are any error messages in there...
Make sure you have enough weekly history for each pair that the EA will be trading on... I just realized that this could have been the cause of CurryMonster's "Zero Divide" problems, as the EA uses a 14 period ATR of the Weekly chart for each pair... If you find any ZD errors, there's a script floating around here that will update the history for all pairs in your Market Watch, for all timeframes, so grab and use that (just make sure that all pairs that the EA trades on are available in your Market Watch first, and remove any pairs from the EA that aren't available from your broker).
Have fun!
Radar =8^)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
StackManV2
- bourgenot
- Trader
- Posts: 159
- Joined: Mon Aug 27, 2012 4:37 pm
Once Upon A Timeframe
Sorry, i still do not inderstand, fine the picture. Thank you for your HELP.
You do not have the required permissions to view the files attached to this post.
-
Radar
- Trader
- Posts: 437
- Joined: Fri Mar 23, 2012 5:39 pm
- Location: Round the bend ;)
Once Upon A Timeframe
Hey Bourgenot,
CurryMonster had a similar problem... Check out his post here... http://www.stevehopwoodforex.com/phpBB3 ... 85#pr96802 and try what he did.
Also, follow this link... http://www.stevehopwoodforex.com/phpBB3 ... f=15&t=254
Download the script, and run it in Empty4 to update the price history of every pair.
Have fun!
Radar =8^)
CurryMonster had a similar problem... Check out his post here... http://www.stevehopwoodforex.com/phpBB3 ... 85#pr96802 and try what he did.
Also, follow this link... http://www.stevehopwoodforex.com/phpBB3 ... f=15&t=254
Download the script, and run it in Empty4 to update the price history of every pair.
Have fun!
Radar =8^)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
StackManV2
- banzak
- Trader
- Posts: 79
- Joined: Thu Dec 13, 2012 1:54 pm
- Location: Zgorzelec / Poland
Once Upon A Timeframe
Hi Radar,Radar » 01 Aug 2014, 10:09 wrote: @Banzak...
You had a couple of lucky days, but hey, you're still in front, right?![]()
Keep an eye on it, and if you see some pairs that are consistent losers, pull them out of the list, then put only those into another instance of the EA, with a different MagicNumber, and different open/close times, and see how they go... All the GlobalVariables have the MagicNumber appended to their names, so you can run multiple instances of the EA, and they won't stomp all over each other
Have fun!
Radar =8^)
yes i had lucky days, I was surprised myself.
I'm still in front:
today result +20$
yesterday +19$.
Take a look at myfxbook below for details.
Thank you for your hints, I will keep an eye on that and report here back to you.
Regards,
Banzak
_________________________________________________________________________
It is better to go on a new path to mislead than to follow the mass on the right track.
It is better to go on a new path to mislead than to follow the mass on the right track.
-
Radar
- Trader
- Posts: 437
- Joined: Fri Mar 23, 2012 5:39 pm
- Location: Round the bend ;)
Once Upon A Timeframe
Hey Gang,
I've finally completed Once Upon A Timeframe, so if you've gotten here via the quick-links, go to post 1.
To test this, please run 3 instances for now, as it will help pinpoint any kinks in the pipes.
Instance 1: Enable OAD. Disable OAW & OAM. Set everything else as you wish.
Instance 2: Enable OAW. Disable OAD & OAM. Set everything else as you wish.
Instance 3: Enable OAM. Disable OAD & OAW. Set everything else as you wish.
Give each instance their own MagicNumber, as it is used when rebuilding the arrays on re-init.
Have fun!
Radar =8^)
I've finally completed Once Upon A Timeframe, so if you've gotten here via the quick-links, go to post 1.
To test this, please run 3 instances for now, as it will help pinpoint any kinks in the pipes.
Instance 1: Enable OAD. Disable OAW & OAM. Set everything else as you wish.
Instance 2: Enable OAW. Disable OAD & OAM. Set everything else as you wish.
Instance 3: Enable OAM. Disable OAD & OAW. Set everything else as you wish.
Give each instance their own MagicNumber, as it is used when rebuilding the arrays on re-init.
Have fun!
Radar =8^)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
StackManV2
-
Radar
- Trader
- Posts: 437
- Joined: Fri Mar 23, 2012 5:39 pm
- Location: Round the bend ;)
Once Upon A Timeframe
Hey Gang,
Spotted a major bloop in the Basket Management system
Fix is in post 1.
Have fun!
Radar =8^)
Spotted a major bloop in the Basket Management system
Fix is in post 1.
Have fun!
Radar =8^)
Check out my new, (well, old now), manual trade & automatic scale-in manager,
StackManV2
StackManV2