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

MPTM's new home
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=64
Page 24 of 57
Author:  dudest [ Mon Apr 22, 2013 12:34 pm ]
Post subject:  Re: MPTM's new home

PS: just thought of something.

Try the setfile attached

Changes:

Code: Select all

ManageSpecifiedPairs=1
PairsToManage="AUDCAD.G,AUDCHF.G,AUDNZD.G,AUDUSD.G,CADCHF.G,EURAUD.G,EURCAD.G,EURCHF.G,EURGBP.G,EURNZD.G,EURUSD.G,GBPAUD.G,GBPCAD.G,GBPCHF.G,GBPNZD.G,GBPUSD.G,NZDUSD.G,USDCAD.G,USDCHF.G,USDDKK.G,USDSGD.G"
OverRide1=ManageAllTrades will override all others
ManageAllTrades=0
Author:  tommiho [ Mon Apr 22, 2013 1:08 pm ]
Post subject:  Re: MPTM's new home

dudest wrote:PS: just thought of something.

Try the setfile attached

Changes:

Code: Select all

ManageSpecifiedPairs=1
PairsToManage="AUDCAD.G,AUDCHF.G,AUDNZD.G,AUDUSD.G,CADCHF.G,EURAUD.G,EURCAD.G,EURCHF.G,EURGBP.G,EURNZD.G,EURUSD.G,GBPAUD.G,GBPCAD.G,GBPCHF.G,GBPNZD.G,GBPUSD.G,NZDUSD.G,USDCAD.G,USDCHF.G,USDDKK.G,USDSGD.G"
OverRide1=ManageAllTrades will override all others
ManageAllTrades=0
Hi tried the set file but the SL line didn`t move. What it was suppose to do was to move only non jpy pairs appropriate amount to BE? Just so I understand.
And re the alarm recall I was looking for some kind of press F6 function just to see what BEs were hit or jump stops were executed, just to see the history of those.
Thanks very much

See attached pic.

ps: just used the mod 1 of a set file and all BE were executed. pic also enclosed.

And I forgot about the magic number, not using it to be honest.Also I am setting up trades manualy also TP and SL. Exception were a JPY pairs where I was telling MPTM to set automatic SL once trade was taken.
Author:  dudest [ Mon Apr 22, 2013 1:24 pm ]
Post subject:  Re: MPTM's new home

tommiho wrote:
Hi tried the set file but the SL line didn`t move. What it was suppose to do was to move only non jpy pairs appropriate amount to BE? Just so I understand.
And re the alarm recall I was looking for some kind of press F6 function just to see what BEs were hit or jump stops were executed, just to see the history of those.
Thanks very much

See attached pic.

ps: just used the mod 1 of a set file and all BE were executed. pic also enclosed.

And I forgot about the magic number, not using it to be honest.Also I am setting up trades manualy also TP and SL. Exception were a JPY pairs where I was telling MPTM to set automatic SL once trade was taken.
@setfile: Yes, the setfile was just supposed to move SL for the specified pairs (all non-JPY)

@function: sorry, don't know of any. Though you can check past history in your experts log (experts tab)


Please clarify for me where we are now. Is MPTM moving SL OK for the specified pairs?

Thanks
Author:  dudest [ Mon Apr 22, 2013 1:31 pm ]
Post subject:  Re: MPTM's new home

dudest wrote:
@setfile: Yes, the setfile was just supposed to move SL for the specified pairs (all non-JPY)

@function: sorry, don't know of any. Though you can check past history in your experts log (experts tab)


Please clarify for me where we are now. Is MPTM moving SL OK for the specified pairs?

Thanks
PS: for manual trading, another option that could work is the ManageByTradeComment option.

Example:

MPTM Instance #1: JPY pairs
ManageByTradeComment=1
TradeComment=JPY


MPTM Instance #2: non-JPY pairs
ManageByTradeComment=1
TradeComment=nonJPY

Then when entering trades, enter the appropriate comment in the comments field (i.e, either JPY or nonJPY)
Author:  tommiho [ Mon Apr 22, 2013 1:35 pm ]
Post subject:  Re: MPTM's new home

dudest wrote:
tommiho wrote:
Hi tried the set file but the SL line didn`t move. What it was suppose to do was to move only non jpy pairs appropriate amount to BE? Just so I understand.
And re the alarm recall I was looking for some kind of press F6 function just to see what BEs were hit or jump stops were executed, just to see the history of those.
Thanks very much

See attached pic.

ps: just used the mod 1 of a set file and all BE were executed. pic also enclosed.

And I forgot about the magic number, not using it to be honest.Also I am setting up trades manualy also TP and SL. Exception were a JPY pairs where I was telling MPTM to set automatic SL once trade was taken.
@setfile: Yes, the setfile was just supposed to move SL for the specified pairs (all non-JPY)

@function: sorry, don't know of any. Though you can check past history in your experts log (experts tab)


Please clarify for me where we are now. Is MPTM moving SL OK for the specified pairs?

Thanks
Hi the latest set file didn`t move non-JPY pairs.The first set file which is set manage all pairs moved everything.Probably confused you with two screenshots I attached, first one I called it mod 1 is the manage all trades (the first set file you attached) the second one I call it mod 2 as per your second set file,didn`t move anything. Sorry for not making it clearer hope this make sense now.

thanks
Author:  dudest [ Mon Apr 22, 2013 2:01 pm ]
Post subject:  Re: MPTM's new home

Thanks

Noted the following:

a) in your mod1, it says "Managing all open trades" --> OK

b) in your mod2, it says "Managing by:" --> NOT OK ( it should say something like "Managing selected pairs only" )

I've gone through the MPTM code more, and seen that it auto-detects suffixes :)

So try this latest mod (without suffixes, just the usual symbol names)

Code: Select all

ManageSpecifiedPairs=1

PairsToManage=AUDCAD,AUDCHF,AUDNZD,AUDUSD,CADCHF,EURAUD,EURCAD,EURCHF,EURGBP,EURNZD,EURUSD,GBPAUD,GBPCAD,GBPCHF,GBPNZD,GBPUSD,NZDUSD,USDCAD,USDCHF,USDDKK,USDSGD

Lemme know how it goes
Author:  tommiho [ Mon Apr 22, 2013 2:35 pm ]
Post subject:  Re: MPTM's new home

dudest wrote:Thanks

Noted the following:

a) in your mod1, it says "Managing all open trades" --> OK

b) in your mod2, it says "Managing by:" --> NOT OK ( it should say something like "Managing selected pairs only" )

I've gone through the MPTM code more, and seen that it auto-detects suffixes :)

So try this latest mod (without suffixes, just the usual symbol names)

Code: Select all

ManageSpecifiedPairs=1

PairsToManage=AUDCAD,AUDCHF,AUDNZD,AUDUSD,CADCHF,EURAUD,EURCAD,EURCHF,EURGBP,EURNZD,EURUSD,GBPAUD,GBPCAD,GBPCHF,GBPNZD,GBPUSD,NZDUSD,USDCAD,USDCHF,USDDKK,USDSGD

Lemme know how it goes
Hi well it looks like only the specified pairs were moved.
Is there anything that has to be changed in the code to achieve this or the ManageSpecifiedPairs=1 simple means ManageSpecifiedPairs=true. Asking because I would like to have MPTM where I can change what ever I want it to manage and use it in similar fashion I use to.
I have noticed that you have changed the pips away from Visual BE back to 0 and left pips away from Visual JS to 100.
Please find the pic attached as a confirmation that it has moved as it was supposed to.
So what would you suggest? Shall I change the specified pairs in to no suffix version change the Visual BE back to 0 and Visual JS to 100?
Just want to hardcode it so I don`t have to use the set files.(by hard codeit I mean to rewrite whatever is necessary in the MPTM, I am no coder at all :) )
Author:  dudest [ Mon Apr 22, 2013 3:18 pm ]
Post subject:  Re: MPTM's new home

Sorry, didnt mean to change any of the visual settings. Set Visual BE and Visual JS to 0

To manage JPY and non-JPY pairs seperately, you need to have 2 MPTM instances running (each on its own chart)

Instance #1: pairs to trade --> jpy pairs (without suffix, just normal names)

Instance #2: pairs to trade --> non-jpy pairs (without suffix, just normal names)

I donno what values you want to set for JPY, just edit the below values in JPY MPTM attached:

extern double BreakEvenPips = 10;
extern double BreakEvenProfit = 1;
extern double JumpingStopPips = 49;


Cheers

PS: I'm not a coder either :)
Author:  KevinT [ Mon Apr 22, 2013 3:28 pm ]
Post subject:  Re: MPTM's new home

tommiho wrote:Hi guys,
I seem to be having a little problem with MPTM and it is as follows.
On the global prime Empty4 platform all pairs have suffix xxxxxx.G (e.g. AUDUSD.G). I have an account with another broker where there is no suffix (AUDUSD). So my trouble is MPTM is not moving SL when the BE conditions are met.Also the jumping SL is not working. This is happening on GP account where the suffix is, but not on the another one which lacks the suffix. Is the suffix presence, not presence the cause of the trouble? Does any of you who has account with GP experienced similar?
The other things not working, when the specified pairs to be traded function is selected( I have changed the names of the pairs to be same as showed on the charts to (AUDUSD.G,EURUSD.G etc.)
I am totally hooked up on MPTM and would really hate to loose the best functions there are.
I can confirm that automatic SL TP setting is working.
If anyone would know a workaround on this any help would be much appreciated.
Hi, GP demo acct unlike GP live has the nasty suffix (it's a shared server).
Until GP moves to a new clean GMT+2 demo :roll: ... I'd use another STP/ECN demo.
Can you share the set file you came up with so far? so we can compare with OOTB and have a better base to tweek from...
EDIT: Dudest asked you already :mrgreen: Thanks guys!
Author:  tommiho [ Mon Apr 22, 2013 3:30 pm ]
Post subject:  Re: MPTM's new home

So did we just go a full circle and only problem was when to manage pairs separately leave the names without suffixes and that would do the trick?
I am clear on the setting up two instances of MPTM just still not clear why wasn`t it working on the broker which is using suffixes. I have to do a bit of testing still.
Thanks for the mq4s.
Also thank you for all the help.Will let you know how did I end up.
All times are UTC Page 24 of 57