V 1g is in post 1. It is an attempt to automate Gertje's groups-of-pairs trading. I have added a group of inputs underneath those belonging to the four time frames, entitled, "Gertje automation feature". The details are in the updated user guide, but you do not need it if you understood Gertje's post just a few up from here and have used PoS for a while.
I am not certain that the code is entirely correct, so perhaps you expert bloop spotters might care to take a look. The relevant function is void CalculateGertjeInputs(int tfIndex) at line 3133. It is called at line 3240.
Gertje, could you put together a setfile for post 1, please?
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.
SteveHopwood » Thu Nov 02, 2017 2:43 pm wrote:V 1g is in post 1. It is an attempt to automate Gertje's groups-of-pairs trading. I have added a group of inputs underneath those belonging to the four time frames, entitled, "Gertje automation feature". The details are in the updated user guide, but you do not need it if you understood Gertje's post just a few up from here and have used PoS for a while.
I am not certain that the code is entirely correct, so perhaps you expert bloop spotters might care to take a look. The relevant function is void CalculateGertjeInputs(int tfIndex) at line 3133. It is called at line 3240.
Gertje, could you put together a setfile for post 1, please?
Hi Steve,
I tried to manipulate one pair to add recovery trades, the new EA won't send any.
I tried several inputs, like UseGertje yes/ no, changed lotsizes etc.
When I changed back to the previous version, it added the trades immediately again.
I tried to manipulate one pair to add recovery trades, the new EA won't send any.
I tried several inputs, like UseGertje yes/ no, changed lotsizes etc.
When I changed back to the previous version, it added the trades immediately again.
Can you have a look in the Journal and Experts tabs to see if there are any messages?
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.
LUC came around for a coffee and this resulted in some insane lot sizes when I loaded her up and she fired her first trades. Fixed in post 1. I did not turn off the auto lot calculation features in the four time frames - Trade1LotsPerDollopOfCash etc.
Do a search for "//Lot sizing. Hard lot size" and copy this over the top of the code block:
//Lot sizing. Hard lot size
if (!UseGertje)
{
Lot = TradeLots[tfIndex];
//Dynamic lot sizing based on account size
if (!CloseEnough(TradeLotsPerDollop[tfIndex], 0))
{
LotsPerDollopOfCash = TradeLotsPerDollop[tfIndex];
SizeOfDollop = TradeSizeOfDollop[tfIndex];
UseBalance = TradeUseBalance[tfIndex];
UseEquity = TradeUseEquity[tfIndex];
CalculateLotAsAmountPerCashDollops();
}//if (!CloseEnough(LotsPerDollopOfCash, 0))
}//if (!UseGertje)
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.
I downloaded the last version, and tried to make it add pendings by removing existing ones.
1g didn't add any, 1e did right away after I replaced it on the chart.
The expert tab shows no messages other than whats to be expected.
1g deleted pendings journal.png
1e new pendings added.png
1g experts tab.png
You do not have the required permissions to view the files attached to this post.
Gertje » Fri Nov 03, 2017 10:39 am wrote:
I downloaded the last version, and tried to make it add pendings by removing existing ones.
1g didn't add any, 1e did right away after I replaced it on the chart.
The expert tab shows no messages other than whats to be expected.
I have no idea what your problem is. The latest version send several pending orders immediately after I loaded it and it had finished its initial calculations. Two of these have filled and a third is close.
All the new code does is re-calculate the variables you can see in void CalculateGertjeInputs(string symbol, int tfIndex). It does nothing to interfere with the order sending stuff.
Delete your current .mq4 and .ex4 files and re-download from post 1 to ensure you are using the latest code with the fix I mentioned at http://www.stevehopwoodforex.com/phpBB3 ... 12#p157912. There is nothing I can do, sadly, if that does not work. The bot is working fine on my demo.
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.
SteveHopwood » Fri Nov 03, 2017 11:22 am wrote:
I have no idea what your problem is. The latest version send several pending orders immediately after I loaded it and it had finished its initial calculations. Two of these have filled and a third is close.
All the new code does is re-calculate the variables you can see in void CalculateGertjeInputs(string symbol, int tfIndex). It does nothing to interfere with the order sending stuff.
Delete your current .mq4 and .ex4 files and re-download from post 1 to ensure you are using the latest code with the fix I mentioned at http://www.stevehopwoodforex.com/phpBB3 ... 12#p157912. There is nothing I can do, sadly, if that does not work. The bot is working fine on my demo.
Okay, I will delete the older files to make sure it uses the latest one.
Thanks for reporting back, I will sort it out. Eventually...
SteveHopwood » Fri Nov 03, 2017 11:22 am wrote:
I have no idea what your problem is. The latest version send several pending orders immediately after I loaded it and it had finished its initial calculations. Two of these have filled and a third is close.
All the new code does is re-calculate the variables you can see in void CalculateGertjeInputs(string symbol, int tfIndex). It does nothing to interfere with the order sending stuff.
Delete your current .mq4 and .ex4 files and re-download from post 1 to ensure you are using the latest code with the fix I mentioned at http://www.stevehopwoodforex.com/phpBB3 ... 12#p157912. There is nothing I can do, sadly, if that does not work. The bot is working fine on my demo.
Okay, I will delete the older files to make sure it uses the latest one.
Thanks for reporting back, I will sort it out. Eventually...
Couldn't get it to work.
Started a brand new demo, and tadaaa
Works okay now, have to look after a few strange level of pendings, probably the history is missing.