Greetings all,
After MTPM successfully loads & displays information on a chart, F7 or right-click to access EA properties no longer works. I noticed prior to the info display, F7 still works. I'm using Empty4 Build 419.
The only few parameters I set were:
ManageByMagicNumber = True
MagicNumber = 305121850
TradeComment = MPTM
I have placed Remove stop losses.mq4 in the scripts folder per installation instructions. I have also tried re-downloading and re-installing both .mq4, restarted Empty4, they compiled successfully as they have their respective .ex4 files. There are no errors in Experts tab.
Greatly appreciate anyone's help on how to resolve this please.
P.S. Steve -- I really like your MPTM & all that's built within.
MPTM's new home
- wBear
- Trader
- Posts: 56
- Joined: Sun Apr 08, 2012 5:06 pm
- Location: An insignificant small red dot in the world called Singapore
Re: MPTM's new home
You do not have the required permissions to view the files attached to this post.
- rthien
- Posts: 7
- Joined: Tue Nov 15, 2011 10:47 pm
Re: MPTM's new home
F7 will not work (by design) if you have the parameter "AlwaysOn" set to "true" (by default).wBear wrote:Greetings all,
After MTPM successfully loads & displays information on a chart, F7 or right-click to access EA properties no longer works. I noticed prior to the info display, F7 still works. I'm using Empty4 Build 419.
The only few parameters I set were:
ManageByMagicNumber = True
MagicNumber = 305121850
TradeComment = MPTM
I have placed Remove stop losses.mq4 in the scripts folder per installation instructions. I have also tried re-downloading and re-installing both .mq4, restarted Empty4, they compiled successfully as they have their respective .ex4 files. There are no errors in Experts tab.
Greatly appreciate anyone's help on how to resolve this please.
P.S. Steve -- I really like your MPTM & all that's built within.
_Roger
- wBear
- Trader
- Posts: 56
- Joined: Sun Apr 08, 2012 5:06 pm
- Location: An insignificant small red dot in the world called Singapore
Re: MPTM's new home
I set it to "false", F7 now works. Thank you _Rogerrthien wrote: F7 will not work (by design) if you have the parameter "AlwaysOn" set to "true" (by default).
_Roger
- 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: MPTM's new home
You should never use the F7 key to change inputs in any EA; the results can be both strange and unpredictable.
Always:
Always:
- - load an EA for the first time and change inputs to suit yourself.
- save the inputs as a set file.
- if you want to make subsequent changes, load a fresh instance of the ea onto the chart, load up the setfile, make changes and resave the set.
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.
- cuzgeorge
- Trader
- Posts: 674
- Joined: Mon Mar 05, 2012 10:10 am
- Location: Johannesburg, South Africa.
Re: MPTM's new home
hey all,SteveHopwood wrote:You should never use the F7 key to change inputs in any EA; the results can be both strange and unpredictable.
Always:
- - load an EA for the first time and change inputs to suit yourself.
- save the inputs as a set file.
- if you want to make subsequent changes, load a fresh instance of the ea onto the chart, load up the setfile, make changes and resave the set.
I'd like to 'ditto' this in a big way, i've been messing around with ea's and i cannot tell you how many times i messed up a good copy or mixed set files, ridiculous when you are 'wired' in to an EA. very very important to follow Steve's guidelines, and name the set file clearly, not names like 'latest' or 'test'
2c
cuz
ps: thanks for this great MPTM, it's an account saver.
10.X, BMac,Xmeter,Marylin,and CaptsNakedTrading thread coupled with Slowkeys Intraday setup for manual trades.
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
http://www.stevehopwoodforex.com/phpBB3 ... f=36&t=848
-
babul
- Posts: 2
- Joined: Mon Apr 16, 2012 9:29 am
Re: MPTM's new home-Code to CLOSE Terminal
Hi Steve,
I have been following your works and am of utmost appreciation for you for your contribution and sharing which has helped learning traders like me a lot. Your Trade Manager is a big hit with me and many of my friends to whom I suggested. In fact it is your MPTM which allows for me to sleep without worry at night as I know that MPTM will ensure that come what so ever, it will control my trades and not wake up to some big surprises or an account crash. Once again Thank you very much for giving it to us as an open code. I have tweeked it a little to suit my needs again with help of your guide on modifying the script.
Now I need a help from you or from some coding expert in this forum to give me a code (especially to include in my trade manager). In the skirt protection, when the account goes low, it closes the trading order. Can you please give me a code by which when a set condition is met like say when the account has reached a certain high or a certain low it closes all the orders AND CLOSES THE TERMINAL TOO. Please help.
-Babul
(P.S: I did attempt at it by making a stand alone EA by extracting codes from MPTM and Metaeditor help to close open orders, close pending orders and STOP EA by key stroke Cntl+E. But it is not giving the fail-proof result. Sometime it loops and the EA button goes OFF/ON/OFF/ON..... and sometimes it switches OFF the EA button of another instance of Empty4 that is running at that time. It will be safe if the terminal itself is closed after the set criteria is met so that the trading EA will not execute any further orders. Attached herein for review and suggestion)
I have been following your works and am of utmost appreciation for you for your contribution and sharing which has helped learning traders like me a lot. Your Trade Manager is a big hit with me and many of my friends to whom I suggested. In fact it is your MPTM which allows for me to sleep without worry at night as I know that MPTM will ensure that come what so ever, it will control my trades and not wake up to some big surprises or an account crash. Once again Thank you very much for giving it to us as an open code. I have tweeked it a little to suit my needs again with help of your guide on modifying the script.
Now I need a help from you or from some coding expert in this forum to give me a code (especially to include in my trade manager). In the skirt protection, when the account goes low, it closes the trading order. Can you please give me a code by which when a set condition is met like say when the account has reached a certain high or a certain low it closes all the orders AND CLOSES THE TERMINAL TOO. Please help.
-Babul
(P.S: I did attempt at it by making a stand alone EA by extracting codes from MPTM and Metaeditor help to close open orders, close pending orders and STOP EA by key stroke Cntl+E. But it is not giving the fail-proof result. Sometime it loops and the EA button goes OFF/ON/OFF/ON..... and sometimes it switches OFF the EA button of another instance of Empty4 that is running at that time. It will be safe if the terminal itself is closed after the set criteria is met so that the trading EA will not execute any further orders. Attached herein for review and suggestion)
You do not have the required permissions to view the files attached to this post.
- 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: MPTM's new home
babul, I have yet to find a code that stops an EA permanently, let alone disables the terminal - and I have asked some pretty fabulous programmers about this.
So, if it can be done the code required to do so probably resides within a memory-resident utility coded in a different language - way beyond the scope of my expertise.

So, if it can be done the code required to do so probably resides within a memory-resident utility coded in a different language - way beyond the scope of my expertise.
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.
-
radrob
- Posts: 2
- Joined: Wed May 09, 2012 8:47 pm
Re: MPTM's new home
Hello,
I don't do any coding, but I like your work, because i'ts a great help and a nice work.
I'd like to use it on FXPro, which is a 5 digit broker. I saw, that there was one need for that.
Did you do anything regarding this?
I tried to enter like 8.8 pips for SL, but It didn't allow it, so I can use only 8 or 9 which will be 80 or 90 pips in my version.
Sure it'S the same 10X difference when using ATR stops or TP...
Should I search for some section in the code to change working perfect in 5 digits broker,or it's more difficult then that?
Thank you for your answer,
Robert
I don't do any coding, but I like your work, because i'ts a great help and a nice work.
I'd like to use it on FXPro, which is a 5 digit broker. I saw, that there was one need for that.
Did you do anything regarding this?
I tried to enter like 8.8 pips for SL, but It didn't allow it, so I can use only 8 or 9 which will be 80 or 90 pips in my version.
Sure it'S the same 10X difference when using ATR stops or TP...
Should I search for some section in the code to change working perfect in 5 digits broker,or it's more difficult then that?
Thank you for your answer,
Robert
Last edited by radrob on Wed May 09, 2012 10:10 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.
Re: MPTM's new home
No. Read the manual. Finding out about basics like this is what it is for.radrob wrote:Hello,
I don't do any coding, but I like your work, because i'ts a great help and a nice work.
I'd like to use it on FXPro, which is a 5 digit criminal. I saw, that there was one need for that.
Did you do anything regarding this?
I tried to enter like 8.8 pips for SL, but It didn't allow it, so I can use only 8 or 9 which will be 80 or 90 pips in my version.
Should I search for some section in the code to change working perfect in 5 digits criminal,or it's more difficult then that?
Thank you for your answer,
Robert
Guys, if you continue to ask questions that are answered in the manual, I shall lock this thread an nobody will be able to post at all. I cannot stand it when people are too lazy and dim to work out stuff for themselves.
It might have escaped your notice, but I am a tad busy here and there.
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.
-
radrob
- Posts: 2
- Joined: Wed May 09, 2012 8:47 pm
Re: MPTM's new home
I red it, but then I didn't understan it well, sorry if I misunderstood, this is my bad english sorry...
Thanks,
Rob
Thanks,
Rob
SteveHopwood wrote:No. Read the manual. Finding out about basics like this is what it is for.radrob wrote:Hello,
I don't do any coding, but I like your work, because i'ts a great help and a nice work.
I'd like to use it on FXPro, which is a 5 digit criminal. I saw, that there was one need for that.
Did you do anything regarding this?
I tried to enter like 8.8 pips for SL, but It didn't allow it, so I can use only 8 or 9 which will be 80 or 90 pips in my version.
Should I search for some section in the code to change working perfect in 5 digits criminal,or it's more difficult then that?
Thank you for your answer,
Robert
Guys, if you continue to ask questions that are answered in the manual, I shall lock this thread an nobody will be able to post at all. I cannot stand it when people are too lazy and dim to work out stuff for themselves.
It might have escaped your notice, but I am a tad busy here and there.