stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

MPTM's new home
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=64
Page 7 of 57
Author:  wBear [ Tue May 08, 2012 3:23 am ]
Post subject:  Re: MPTM's new home

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.
Author:  rthien [ Tue May 08, 2012 6:26 am ]
Post subject:  Re: MPTM's new home

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.
F7 will not work (by design) if you have the parameter "AlwaysOn" set to "true" (by default).

_Roger
Author:  wBear [ Tue May 08, 2012 8:32 am ]
Post subject:  Re: MPTM's new home

rthien wrote: F7 will not work (by design) if you have the parameter "AlwaysOn" set to "true" (by default).

_Roger
I set it to "false", F7 now works. Thank you _Roger :)
Author:  SteveHopwood [ Tue May 08, 2012 10:21 am ]
Post subject:  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:
  • - 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.
:D
Author:  cuzgeorge [ Tue May 08, 2012 10:44 am ]
Post subject:  Re: MPTM's new home

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.
:D
hey all,
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' :| etc etc. use the settings you used to identify the set file and dont forget to add the EA's name it belongs to. simple stuff that helps so much when looking for files.
2c
cuz
ps: thanks for this great MPTM, it's an account saver.
Author:  babul [ Tue May 08, 2012 7:27 pm ]
Post subject:  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)
Author:  SteveHopwood [ Tue May 08, 2012 7:44 pm ]
Post subject:  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.

:D
Author:  radrob [ Wed May 09, 2012 9:57 pm ]
Post subject:  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
Author:  SteveHopwood [ Wed May 09, 2012 10:10 pm ]
Post subject:  Re: MPTM's new home

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
No. Read the manual. Finding out about basics like this is what it is for.

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.
Author:  radrob [ Wed May 09, 2012 10:12 pm ]
Post subject:  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... :oops:
Thanks,
Rob
SteveHopwood wrote:
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
No. Read the manual. Finding out about basics like this is what it is for.

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.
All times are UTC Page 7 of 57