Brilliant. Thanks for your help.forexsiuk » Wed Jan 03, 2018 12:32 pm wrote:Tested and all working perfectly now!
Many thanks for your time and attention as always.
MPTM updated
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
MPTM updated
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.
-
zafh
- Trader
- Posts: 74
- Joined: Mon May 22, 2017 12:48 pm
MPTM updated
Quick question which I can't seem to see in the manual.
If I take a trade and it gets hedged and then the initial trade hits it take profit target, does the hedge trade get automatically closed or stays open until the rules for closing a hedge are fulfilled?
If I take a trade and it gets hedged and then the initial trade hits it take profit target, does the hedge trade get automatically closed or stays open until the rules for closing a hedge are fulfilled?
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
MPTM updated
Work things out for yourself - you might learn something. Best not to ask idiotic questions of me.zafh » Wed Jan 03, 2018 6:21 pm wrote:Quick question which I can't seem to see in the manual.
If I take a trade and it gets hedged and then the initial trade hits it take profit target, does the hedge trade get automatically closed or stays open until the rules for closing a hedge are fulfilled?
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.
-
ericjschroeder
- Trader
- Posts: 52
- Joined: Sat Jan 05, 2013 2:50 am
MPTM updated
Thanks, Steve. The additions look good. The only thing I do differently is I like to move my SL to BE at 1:1 rather than a specific # of pips. Another interesting variant I have seen is to use an ATR trail as soon as price starts moving, so if it does reverse, you don't get a full loss. Not sure if that would save money or cost profits by closing too early.
Also, I noticed in the manual that the additions are explained only under the Hedging section, but at least to me it's clear that they work the same as a trade exit.
Yeah, I know about having to go through your own old code, and try to figure out what the hell you were thinking when you wrote it! I have a multi-1000 line indicator (that I've never been able to convert to an EA) that can be challenging to update, but moving to HGI may just make that a moot point.
Cheers.
Also, I noticed in the manual that the additions are explained only under the Hedging section, but at least to me it's clear that they work the same as a trade exit.
Yeah, I know about having to go through your own old code, and try to figure out what the hell you were thinking when you wrote it! I have a multi-1000 line indicator (that I've never been able to convert to an EA) that can be challenging to update, but moving to HGI may just make that a moot point.
Cheers.
-
ericjschroeder
- Trader
- Posts: 52
- Joined: Sat Jan 05, 2013 2:50 am
MPTM updated
deleted.
Last edited by ericjschroeder on Wed Jan 17, 2018 4:12 pm, edited 1 time in total.
- cozybooks
- Trader
- Posts: 301
- Joined: Wed Mar 27, 2013 1:33 am
MPTM updated
Steve, you are the best!!
So far I've been using this just to set the TP on all trades using a daily ATR, and it is working great. I can see all sorts of other good things to try out using HGI to assist closing trades just for starters. What a great tool!

So far I've been using this just to set the TP on all trades using a daily ATR, and it is working great. I can see all sorts of other good things to try out using HGI to assist closing trades just for starters. What a great tool!
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
MPTM updated
Glad you like it.cozybooks » Wed Jan 10, 2018 1:35 pm wrote:Steve, you are the best!!![]()
![]()
![]()
![]()
So far I've been using this just to set the TP on all trades using a daily ATR, and it is working great. I can see all sorts of other good things to try out using HGI to assist closing trades just for starters. What a great tool!![]()
![]()
![]()
The SHF experiment steam rollers on.
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.
-
ericjschroeder
- Trader
- Posts: 52
- Joined: Sat Jan 05, 2013 2:50 am
MPTM updated
deleted.
Last edited by ericjschroeder on Wed Jan 17, 2018 4:11 pm, edited 1 time in total.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
MPTM updated
I saw it and ignored it and do not care. I never involve myself with problems experienced by others on their platforms.ericjschroeder » Tue Jan 16, 2018 6:26 pm wrote:Hi, Steve, not sure if you saw this before, but I found the solution, so thought I'd add that to the KB, in case you didn't already know. It is not the EA (obviously) but has to do with the fact that Empty4 doesn't pass LiveTrading permissions in certain circumstances. In this case, if you have a program, such as HGIMatrix which will open a chart when you click on an arrow, it uses ChartApplyTemplate to open it with your chosen template, HOWEVER, since it is an indicator that's opening the chart and does not have LiveTrading permissions, it prevents any EA in the template or added afterwards from functioning. I have an indicator which did open charts successfully without this problem but it only used ChartOpen which applies the Default template, not the (defective) ChartApplyTemplate, which would only work if opened from an EA (I think), not an indicator.ericjschroeder » Mon Jan 08, 2018 3:23 pm wrote:Hi again Steve. I am using this to manage the trades by ticket number and keep getting error 4109 when the EA attempts to move SL to BE. According to Empty4 error codes this means I don't have Live Trading enabled in the Expert properties, but I do as well as in the Tools, Options, Expert Advisors. I've never had that error on any of my own EAs. Any idea where else to look? I don't see anything in the code that should prompt that error. Also, I don't know if I got another error before I closed a trade at the appearance of a yellow wavy, but the EA should have closed the trade for me, since that is the option I selected.
Thanks.
The idea that I might be able to help is ludicrous. Do not attract my attention to it again.
This thread is about MPTM. Limit yourself to discussion of MPTM here. Talk about whatever you want elsewhere, until you irritate another mod sufficiently to attract an SHF ban. Warning: you may think you can get around a ban from prior experience elsewhere; SHF is different. Try it out and see.
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.
MPTM updated
V 1a is in post 1.
I had forgotten to implement code to react to IncludePendingOrdersInClosure and IncludePendingInClosure in the global closure and shirt protection functions. I have corrected this in 1a.
DIY'ers, do a search for "//Edit 26th Feb 2018" in 1a and copy the line of code underneath it. Find the relevant spot in your current file and paste the code.

I had forgotten to implement code to react to IncludePendingOrdersInClosure and IncludePendingInClosure in the global closure and shirt protection functions. I have corrected this in 1a.
DIY'ers, do a search for "//Edit 26th Feb 2018" in 1a and copy the line of code underneath it. Find the relevant spot in your current file and paste the code.
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.