Can this code work when we run 3 EA's on 1 account (like Gertje is doing)?tomele » Sat May 05, 2018 9:01 am wrote:I will be happy to help you with the database code.
We must avoid to give both versions the same name in order to make them distinguishable for the database.
Cheers
Thomas
Peaky on Steroids
-
billv
- Trader
- Posts: 283
- Joined: Fri Apr 13, 2012 1:57 pm
Peaky on Steroids
-
chrisdk2018
- Trader
- Posts: 37
- Joined: Tue Jun 07, 2016 10:18 am
Peaky on Steroids
I looked at the equity line and the peak drawdown stated at 11.9% is not correct.ianp » Sun Apr 15, 2018 4:31 pm wrote:Unless I have picked up the wrong end of the stick , Gertje's POS fully auto demo is just amazing I have been following it for quite a while now and it is rocking !!!!
https://www.fxblue.com/users/2085517
Rather it is approx. 34% (19k/29k 12/7/2017). Still fine though.
-
zafh
- Trader
- Posts: 74
- Joined: Mon May 22, 2017 12:48 pm
Peaky on Steroids
FXblue messes up the historically equity, but I have been tracking the account for a while now and it has been doing amazingly well.
- tomele
- Administrator
- Posts: 1208
- Joined: Tue May 17, 2016 3:40 pm
- Location: Germany, Forest of Odes, Defending the Limes
Peaky on Steroids
No, it doesnt. When testing any EA that uses multiple magic numbers, this EA must run solitary in the account. No multiple instances, no other EAs.billv » 06 May 2018, 03:13 wrote: Can this code work when we run 3 EA's on 1 account (like Gertje is doing)?
Cheers
Happy pippin, Thomas 
It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so. (Mark Twain)
Keep the coder going: Donate
It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so. (Mark Twain)
Keep the coder going: Donate
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Peaky on Steroids
Thomas just sent me this PM:
I have been running PoS for a couple of weeks, using Gertje's set file:
Closed trades: Open over the weekend:

I will release the update I promised earlier when I have heard from him again.tomele wrote:Hi Steve.
Please wait with releasing your new version. My first idea how to handle multi-magic EAs was not ideal. I am developing a structure to enable running multiple instances of them in the same account.
Thanks
Thomas
I have been running PoS for a couple of weeks, using Gertje's set file:
Closed trades: Open over the weekend:
You do not have the required permissions to view the files attached to this post.
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.
Peaky on Steroids
V 1j is in post 1. This has the ability to take part in the tests database added.
The DIY is easy. Go to the top of the ode and do a search for "WriteFileForTestDatabase". Depending on your versions, it will either come up blank or take you to this line of code:
extern bool WriteFileForTestDatabase=true;
This code needs adding if your search came up blank. I put it at the bottom of the General Inputs section.
Repeat the search if the first one took you to the line of code I described above. This will take you to the top of int OnInit() and this line of code:
if(WriteFileForTestDatabase)
The whole snippet needs replacing with this, or adding if your search came out blank:
Getrje, Thomas has added the relevant code to V 1e to make it do whatever it is you were wanting it to do, so I attach it here.

The DIY is easy. Go to the top of the ode and do a search for "WriteFileForTestDatabase". Depending on your versions, it will either come up blank or take you to this line of code:
extern bool WriteFileForTestDatabase=true;
This code needs adding if your search came up blank. I put it at the bottom of the General Inputs section.
Repeat the search if the first one took you to the line of code I described above. This will take you to the top of int OnInit() and this line of code:
if(WriteFileForTestDatabase)
The whole snippet needs replacing with this, or adding if your search came out blank:
Code: Select all
if(WriteFileForTestDatabase)
ChartSaveTemplate(0,StringFormat("ZZT2MTPL-%s-%s-%s-%d-%d-%d-%d-%d-%d-%d","SHF","POS","MULSYM",
Period(),AccountNumber(),TimeCurrent(),Trade1MagicNumber,Trade2MagicNumber,Trade3MagicNumber,Trade4MagicNumber));
Getrje, Thomas has added the relevant code to V 1e to make it do whatever it is you were wanting it to do, so I attach it here.
You do not have the required permissions to view the files attached to this post.
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.
Peaky on Steroids
I forgot to add this to my previous post: it is part of the PM that Thomas sent me:

Bear this in mind folks, please.As you can see, we now write all magic numbers. The new uploader does the rest. All testers should obey the following:
"The handling for EAs using multiple magic numbers has improved. Now you can run multiple instances of them in one account. All trades are attributed to the EAs first magic number in the database. All magic numbers must be unique within the account, even those of timeframes you dont use."
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.
- traveliron
- Trader
- Posts: 24
- Joined: Wed Nov 16, 2011 1:01 pm
Peaky on Steroids
Gertje,
I'd like to experiment using your concept of adjusting trade behaviour based on 6th distances. I'd like to try to finesse some optimal settings for individual pairs rather than having to group them with those of similar 6th distances. I've got a few platforms I can put to work on this so let me know if you have any ideas. Anything useful will be shared.
On earlier screenshots you had what appears to be an indi that displayed the distances in pips of the whole sixth range as well as the distances between each sixth line. That would be quite helpful to me and I'm hoping you wouldn't mind sharing. Right now I'm literally measuring those distances which is not that accurate and a PITA.
I too am replicating modest success with your PoS v1e. Another month of these consistent results and I'll be going live; my nads are tingling already. Amazing work here by Steve, Thomas and yourself.
Cheers guys - traveliron
I'd like to experiment using your concept of adjusting trade behaviour based on 6th distances. I'd like to try to finesse some optimal settings for individual pairs rather than having to group them with those of similar 6th distances. I've got a few platforms I can put to work on this so let me know if you have any ideas. Anything useful will be shared.
On earlier screenshots you had what appears to be an indi that displayed the distances in pips of the whole sixth range as well as the distances between each sixth line. That would be quite helpful to me and I'm hoping you wouldn't mind sharing. Right now I'm literally measuring those distances which is not that accurate and a PITA.
I too am replicating modest success with your PoS v1e. Another month of these consistent results and I'll be going live; my nads are tingling already. Amazing work here by Steve, Thomas and yourself.
Cheers guys - traveliron
- Gertje
- Trader
- Posts: 1936
- Joined: Mon Dec 12, 2011 1:17 pm
- Location: Middle of the Netherlands
Peaky on Steroids
Sure, see attached.traveliron » Sun May 06, 2018 9:55 pm wrote:Gertje,
I'd like to experiment using your concept of adjusting trade behaviour based on 6th distances. I'd like to try to finesse some optimal settings for individual pairs rather than having to group them with those of similar 6th distances. I've got a few platforms I can put to work on this so let me know if you have any ideas. Anything useful will be shared.
On earlier screenshots you had what appears to be an indi that displayed the distances in pips of the whole sixth range as well as the distances between each sixth line. That would be quite helpful to me and I'm hoping you wouldn't mind sharing. Right now I'm literally measuring those distances which is not that accurate and a PITA.
I too am replicating modest success with your PoS v1e. Another month of these consistent results and I'll be going live; my nads are tingling already. Amazing work here by Steve, Thomas and yourself.
Cheers guys - traveliron
Be aware that the EA uses Steve's 6th indi that doesn't take the wicks into account, and the attached indi calculates the 6th lines including the wicks. This gives sometimes entries that don't seem right, but are nevertheless.
One thing that might be worth looking at is grouping the pairs by ADR instead of 6th-distance.
I'm testing setting 3 additional pendings at the MDP distance, so the recovery closes the lot when the 4th pending is triggered. This will happen before the current TP-line, and generate at least double the amount of pips.
You do not have the required permissions to view the files attached to this post.
-
alecsa72
- Trader
- Posts: 50
- Joined: Wed Nov 09, 2016 7:50 pm
- Location: South Africa
Peaky on Steroids
I have a feeling FXblue is using an "absolute" drawdown definition here.chrisdk2018 » Sun May 06, 2018 10:52 am wrote:I looked at the equity line and the peak drawdown stated at 11.9% is not correct.ianp » Sun Apr 15, 2018 4:31 pm wrote:Unless I have picked up the wrong end of the stick , Gertje's POS fully auto demo is just amazing I have been following it for quite a while now and it is rocking !!!!
https://www.fxblue.com/users/2085517
Rather it is approx. 34% (19k/29k 12/7/2017). Still fine though.
DD of 11.9% was right in the beginning, when equity dropped below the sum that Gertije invested originally - 9.3k or so.
On 12/7/2017 yes, relative drawdown was around 34% but even at 19k low, it was still way above the original "invested" sum, so it didn't register as "drawdown"
Just my speculation.