She sure is. I am just doing some tea and will finish off later.TraderTim wrote:Steve, that is awesome! I'd best notify the wife she is going to be neglected yet again tonight!SteveHopwood wrote:Only if you have nothing to do for now. I uploaded them because I could see there were people hanging around and thought they might like to play.hiredwhip wrote:This thing sure is fun Steve......Now I need to try and figure out all these updates......
I am adding the TmaTrue stuff and will post the latest update in post 1 as usual, along with some explanation, later.
Gertje: a hedged grid trader
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Re: Gertje: a hedged grid trader
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.
Re: Gertje: a hedged grid trader
Tell Her Ladyship that she cannot expect you any time soon, but that I am to blame.TraderTim wrote:Steve, that is awesome! I'd best notify the wife she is going to be neglected yet again tonight!
Latest update in post 1 adds the TMA functionality to trigger the initial trades. My description in post 1 is sketchy. It uses the TMA code from TIB to draw upper and lower boundary lines in yellow. When the market touches the lines, the bot sends the initial trades. I am writing this here because I forgot to add it to post 1 and cannot be bothered to do so now. If any mods are reading this, please feel free to save me a job by doing so yourself; you would be doing me a huge favour.
At the mo, there is no flexibility in the tma settings, as I simply wanted to get them up and running. I will add settings flexibility tomorrow.
For now, I have been coding this all day and am exhausted. Do not ask for anything else from me. You will not enjoy the reply.
Today has been the most remarkably warm March day that I have experienced here in the UK. The evening is equally warm and pleasant, so I am taking a whiskey into the garden to enjoy the night air.
Have 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.
-
SWG123
- Trader
- Posts: 565
- Joined: Wed Nov 16, 2011 3:02 pm
- Location: Cape Town
Re: Gertje: a hedged grid trader
Enjoy the evening (and the whiskey). Since moving to Africa I have an occasional wistful longing for those balmy spring evenings in England. Then I pinch myself and remember that they occur once or twice per decade. The first year I spent in Sheffield it snowed ... in June ...SteveHopwood wrote:Tell Her Ladyship that she cannot expect you any time soon, but that I am to blame.TraderTim wrote:Steve, that is awesome! I'd best notify the wife she is going to be neglected yet again tonight!
Latest update in post 1 adds the TMA functionality to trigger the initial trades. My description in post 1 is sketchy. It uses the TMA code from TIB to draw upper and lower boundary lines in yellow. When the market touches the lines, the bot sends the initial trades. I am writing this here because I forgot to add it to post 1 and cannot be bothered to do so now. If any mods are reading this, please feel free to save me a job by doing so yourself; you would be doing me a huge favour.
At the mo, there is no flexibility in the tma settings, as I simply wanted to get them up and running. I will add settings flexibility tomorrow.
For now, I have been coding this all day and am exhausted. Do not ask for anything else from me. You will not enjoy the reply.
Today has been the most remarkably warm March day that I have experienced here in the UK. The evening is equally warm and pleasant, so I am taking a whiskey into the garden to enjoy the night air.
Have fun.
- hiredwhip
- Trader
- Posts: 90
- Joined: Tue Nov 15, 2011 7:36 pm
- Location: Mountains, East Coast USA
Re: Gertje: a hedged grid trader
Got it Steve,
Will give it a go.....very interesting
Have a great week
whip
Will give it a go.....very interesting
Have a great week
whip
A rainy day is of enormous value to both the farm and the farmer....Stay Hungry. Stay Foolish....
-
TraderTim
- Trader
- Posts: 21
- Joined: Fri Dec 30, 2011 7:49 pm
Re: Gertje: a hedged grid trader
SteveHopwood wrote:Tell Her Ladyship that she cannot expect you any time soon, but that I am to blame.TraderTim wrote:Steve, that is awesome! I'd best notify the wife she is going to be neglected yet again tonight!
Latest update in post 1 adds the TMA functionality to trigger the initial trades. My description in post 1 is sketchy. It uses the TMA code from TIB to draw upper and lower boundary lines in yellow. When the market touches the lines, the bot sends the initial trades. I am writing this here because I forgot to add it to post 1 and cannot be bothered to do so now. If any mods are reading this, please feel free to save me a job by doing so yourself; you would be doing me a huge favour.
At the mo, there is no flexibility in the tma settings, as I simply wanted to get them up and running. I will add settings flexibility tomorrow.
For now, I have been coding this all day and am exhausted. Do not ask for anything else from me. You will not enjoy the reply.
Thank you Steve, enjoy the whiskey and sunset, I am testing like a fiend on 2 boxes and will share the results, should I get something worth sharing.
Today has been the most remarkably warm March day that I have experienced here in the UK. The evening is equally warm and pleasant, so I am taking a whiskey into the garden to enjoy the night air.
Have fun.
-
nubika
- Trader
- Posts: 80
- Joined: Tue Dec 06, 2011 9:52 pm
- Location: Sydney, Hills District
Re: Gertje: a hedged grid trader
Steve,nubika wrote:Steve,
That would be an awsome feature.![]()
If you can code this in to the EA, then this EA will be unbeatable.
I would probably have the same feature at the lower lever though like 5 buys and 5 sells as well. User selectable. maybe one at level 5 and one at the levels you suggested. Just an idea. That would suit traders with smaller accounts.
Personally I would not let the EA to rack up 10 buys and sells at the same time. You run low on margins then. If you have a 10K account with small lot size, then the 10 buys and 10 sells target is OK and no issue.
The key to this EA is to find the right pip step and the corresponding lot size to your account balance.
This will make constant profit for you. I think this is one of the best EAs around. Worthy of fine tuning it to perfection.
Frank
I hope this helps you with the quest to add that function to the EA.
I am running GBPJPY :
Pips between trades: 26
Lot size is : 0.3
Cash profit target is $45
Account size is $2000
I was visually watching the EA turning a negative profit level to positive. This is the point we are looking to minimize loss and close all trades when we have too many open trades on each side as you mentioned.
In this case : I had the 2 initial buy and sell trades open + 1 extra buy trades
on the other side I had the original sell trade from the opening + 3 extra sell trades. The DD turned to $0 almost at the time the EA was just about to open the fifth trade. A couple of pips away from opening the fifth.
Maybe the way to do it is to monitor equity level and if we have a certain number of trades already open on both sides, the EA will close off all trades at the $0 point. This way we clean the table and start again.
I am sure this situation will hardly ever happen, but just in case.
So in summary I had 2 x buy and 4 x sell trades just about to open the fifth, when the DD turned to $0.
Frank[/quote]
Just want to update on this account.
Gertje: Original version
In 2 days it is standing at 21% profit (Equity as well) as per the settings below $432 profit:
Pips between trades: 27
Lot size is : 0.3
Cash profit target is $43
Account size is $2000
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Re: Gertje: a hedged grid trader
Latest update in post 1. I have added the customisable inputs for the TMA emulation.

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.
Re: Gertje: a hedged grid trader
One more update in post 1, implementing an idea that came to me whilst loading the bot onto my demo.
We do not need the Tma emulation updating once the lines are drawn on the chart. At the mo, G performs the emulation at every tick; this involves a call to the Moving Average and Atr indi's.
Instead, much better to leave the lines static until trades are triggered and they are deleted. The latest version emulates Tma once only, then leaves the lines alone - this also makes them manually adjustable.
This will save some processor-hammering.
It is also irrelevant if you do not want the Tma emulation, so ignore the last two updates unless you plan using it.

We do not need the Tma emulation updating once the lines are drawn on the chart. At the mo, G performs the emulation at every tick; this involves a call to the Moving Average and Atr indi's.
Instead, much better to leave the lines static until trades are triggered and they are deleted. The latest version emulates Tma once only, then leaves the lines alone - this also makes them manually adjustable.
This will save some processor-hammering.
It is also irrelevant if you do not want the Tma emulation, so ignore the last two updates unless you plan using it.
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.
Re: Gertje: a hedged grid trader
I have added a couple of scripts to post 1 - read the 'Just in case scripts' section for details.

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.
Re: Gertje: a hedged grid trader
Positively, definitely the final update (I promise
) this week is in post 1. Read the Money Management section for details.

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.