MPTM's new home

MPTM's new home
Locked
User avatar
varso
Trader
Posts: 44
Joined: Mon Oct 22, 2012 7:19 am

MPTM's new home

Post by varso »

milanese » Mon Feb 17, 2014 5:44 pm wrote:
varso » Mon Feb 17, 2014 3:53 pm wrote:yes sure
here it is


and here is log

2014.02.17 09:31:10.051 Multi-purpose trade manager600 USDCHF,M1: modify #31425622 buy 0.08 NZDCAD at 0.91931 sl: 0.00000 tp: 0.00000 ok
2014.02.17 09:31:09.786 Multi-purpose trade manager600 USDCHF,M1: Alert: Sell hedge trade set for NZDCAD buy
2014.02.17 09:31:09.786 Multi-purpose trade manager600 USDCHF,M1: open #31444672 sell 0.08 NZDCAD at 0.91690 sl: 0.91938 tp: 0.91540 ok
2014.02.17 00:13:55.455 TMA_CG_MultiTrader v1.05 USDCHF,M1: modify #31425622 buy 0.08 NZDCAD at 0.91931 sl: 0.91561 tp: 0.00000 ok
2014.02.17 00:13:55.111 TMA_CG_MultiTrader v1.05 USDCHF,M1: TMA_CG_MultiTrader v1.05 31425622 ModifyOrder() take profit < market 0: no error
2014.02.17 00:13:55.111 TMA_CG_MultiTrader v1.05 USDCHF,M1: Alert: TMA_CG_MultiTrader v1.05 31425622 ModifyOrder() take profit < market 0: no error
2014.02.17 00:13:54.987 TMA_CG_MultiTrader v1.05 USDCHF,M1: open #31425622 buy 0.08 NZDCAD at 0.91931 ok

Why the red one?
Hi varso,

ok try the attached one, it should work as you wanted, should not change the sl of the original trade to 0..

Cheers :)

Tommaso
Thank you it works.
ace81
Trader
Posts: 44
Joined: Thu Dec 26, 2013 6:31 pm

MPTM's new home

Post by ace81 »

Hi Tommaso

Seems i can't compile Multi-purpose trade manager_V_6xx on my Empty4 build 600, and i also cannot compile on new download build 610 :arrrg: :arrrg:
Any solution? Thanks for the help.
You do not have the required permissions to view the files attached to this post.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

MPTM's new home

Post by milanese »

ace81 » Wed Feb 19, 2014 5:25 am wrote:Hi Tommaso

Seems i can't compile Multi-purpose trade manager_V_6xx on my Empty4 build 600, and i also cannot compile on new download build 610 :arrrg: :arrrg:
Any solution? Thanks for the help.
I loaded it just down and retested it, works with no problems and compiles with 0 warnings 0 errors, seems you have a problem at your backend..
Looking at the errors you edited the code wrong...


Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
ace81
Trader
Posts: 44
Joined: Thu Dec 26, 2013 6:31 pm

MPTM's new home

Post by ace81 »

:arrrg: i don't have any coding skills.. can you upload your ex4 file..
sorry for the trouble and thanks for your time :good:
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

MPTM's new home

Post by milanese »

ace81 » Wed Feb 19, 2014 8:43 am wrote::arrrg: i don't have any coding skills.. can you upload your ex4 file..
sorry for the trouble and thanks for your time :good:
Here you go
Multi-purpose trade manager_6xx.ex4
Cheers :)

Tommaso
You do not have the required permissions to view the files attached to this post.
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
ace81
Trader
Posts: 44
Joined: Thu Dec 26, 2013 6:31 pm

MPTM's new home

Post by ace81 »

Hi Tommaso

:yahoo: thanks for your help

maybe this is the reason i can't compile it?
You do not have the required permissions to view the files attached to this post.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

MPTM's new home

Post by milanese »

ace81 » Wed Feb 19, 2014 11:57 am wrote:Hi Tommaso

:yahoo: thanks for your help

maybe this is the reason i can't compile it?
[mod=]It is for MT 4 ;)[/mod]
but looking again at the error messages the compiler generates, it seems you try to compile an incomplet code..

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
ace81
Trader
Posts: 44
Joined: Thu Dec 26, 2013 6:31 pm

MPTM's new home

Post by ace81 »

milanese » Wed Feb 19, 2014 8:06 pm wrote:
ace81 » Wed Feb 19, 2014 11:57 am wrote:Hi Tommaso

:yahoo: thanks for your help

maybe this is the reason i can't compile it?
but looking again at the error messages the compiler generates, it seems you try to compile an incomplet code..

Cheers :)

Tommaso
:o i'm using Empty4 build600, but metaeditor is mt5 build 887.... :arrrg: :arrrg:
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

MPTM's new home

Post by milanese »

ace81 » Wed Feb 19, 2014 1:15 pm wrote: :o i'm using Empty4 build600, but metaeditor is mt5 build 887.... :arrrg: :arrrg:
Yes this is normal the new Empty4 build comes with the MT5 editor build 8xx, but it should normal compile as I use here the same... and it works fine, in my opinion you did some wrong editing or bad file transfering after you downloaded the mq4 code..

Cheers :)

Tommaso
Global Prime is the official SHF broker :yahoo:
Searching for Servers and Workstations with individual configuration?
Just PM
:smile: Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
User avatar
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's new home

Post by SteveHopwood »

The latest version of MPTM is in post 1.

All it does is tidy up the code for use with Crapperquotesmoron 6xx Empty4/5 platforms. Non-coders probably found that mptm moved seamlessly from build 509 to bulds 6xx.

Coders, the original generated a few warnings when int functions were terminated with return; and void functions with return(0). There were a couple of redundant variables. That is all. I am lucky that I never adopted the principle of separating parts of a variable with a '.' as in Stop.Loss - saved me a lot of work here. :D Apart from that, if anyone can tell me what 'not all control paths return a value' is all about, I would appreciate it. No biggie, mind, as it appears to make no difference to the running of the code.

Also, in the latest CrapperEditor, has anyone worked out how to invoke word wrap and function folding?

:xm:
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.
Locked

Return to “Utilities Indicators and Scripts”