AllPairTradeManager(APTM)

MPTM's new home
Post Reply
User avatar
putusernamehere
Trader
Posts: 107
Joined: Fri Nov 15, 2013 8:56 pm

an other AllPairTradeManager

Post by putusernamehere »

putusernamehere » Sun Mar 09, 2014 9:34 pm wrote:thanks Tommaso for your work. :hi: next week I will test it and write you the result. :good:
cheers Gunter
as promised, here's an example of how the AllPairTradeManager works.
edit: now the right screenshot (first i posted a wrong trade sorry)
You do not have the required permissions to view the files attached to this post.
User avatar
fxozgirl
Trader
Posts: 1176
Joined: Wed Nov 16, 2011 9:16 am
Location: Melbourne, Australia

an other AllPairTradeManager

Post by fxozgirl »

Thanks Tommaso, another fabulous contribution :clap:

is it possible to code the EA to manage trades by ticket number?

Cheers Shelley
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

an other AllPairTradeManager

Post by milanese »

fxozgirl » Wed Mar 12, 2014 10:47 am wrote:Thanks Tommaso, another fabulous contribution :clap:

is it possible to code the EA to manage trades by ticket number?

Cheers Shelley
Thanks Shelley , I will take a look ..

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
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

[New]MAPTM Shelley Version

Post by milanese »

milanese » Wed Mar 12, 2014 12:54 pm wrote:
fxozgirl » Wed Mar 12, 2014 10:47 am wrote:Thanks Tommaso, another fabulous contribution :clap:

is it possible to code the EA to manage trades by ticket number?

Cheers Shelley
Thanks Shelley , I will take a look ..

Cheers :)

Tommaso
Ok here you go Shelley really a great idea :) This one handels trade by ticketnumber and knows after the part closes automatic the new ticketnumer.
It is OOTB set to manage trades with the ticket number setting isManageByTickeNumber=true TicketNumber here you must input your ticketnumber you wish to manage(after partclose the trademanager knows automatic the new one and will use this automatic)
Attention make sure you have set ManageAllOpenTrades to false if you want to use other management options, as ManageAllOpenTrades overwrites all other settings !!
This version is OOTB set to ManageByTicketNumber with all partcose options activ, like Shelley wanted.
You can too select new ManageByOrderComment and give an OrderComment CommentOfOrder
for orders you want to manage, too in this case the trademanager will know after partclose(s) what order to manage.

A attach this version to to the first post as it is thanks to Shelley more functional!! :!!:

See first post for explaining all other functions :)
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
fxozgirl
Trader
Posts: 1176
Joined: Wed Nov 16, 2011 9:16 am
Location: Melbourne, Australia

[New]MAPTM Shelley Version

Post by fxozgirl »

milanese » Thu Mar 13, 2014 1:09 am wrote:
milanese » Wed Mar 12, 2014 12:54 pm wrote:
fxozgirl » Wed Mar 12, 2014 10:47 am wrote:Thanks Tommaso, another fabulous contribution :clap:

is it possible to code the EA to manage trades by ticket number?

Cheers Shelley
Thanks Shelley , I will take a look ..

Cheers :)

Tommaso
Ok here you go Shelley really a great idea :) This one handels trade by ticketnumber and knows after the part closes automatic the new ticketnumer.
It is OOTB set to manage trades with the ticket number setting isManageByTickeNumber=true TicketNumber here you must input your ticketnumber you wish to manage(after partclose the trademanager knows automatic the new one and will use this automatic)
Attention make sure you have set ManageAllOpenTrades to false if you want to use other management options, as ManageAllOpenTrades overwrites all other settings !!
This version is OOTB set to ManageByTicketNumber with all partcose options activ, like Shelley wanted.
You can too select new ManageByOrderComment and give an OrderComment CommentOfOrder
for orders you want to manage, too in this case the trademanager will know after partclose(s) what order to manage.

A attach this version to to the first post as it is thanks to Shelley more functional!! :!!:

See first post for explaining all other functions :)
Cheers :)

Tommaso
You are simply awesome Tommaso :hi:

thanks so much...I will set it up tonight once I'm home from work/cricket etc :)

Cheers
Shelley
User avatar
Aussiedoc
Trader
Posts: 270
Joined: Tue Dec 13, 2011 8:10 am
Location: Western District. Victoria. Australia

[New]MAPTM Shelley Version

Post by Aussiedoc »

Ok here you go Shelley really a great idea ........Tommaso
Mate, my thanks also for this!. :good: :good: I keep saying that you are an absolute LEGEND!! :cheer: :cheer: :cheer: :yahoo: :yahoo: :yahoo:

Cheers!
Doc
If you can never exceed your own expectations - why expect second-best?
User avatar
putusernamehere
Trader
Posts: 107
Joined: Fri Nov 15, 2013 8:56 pm

an other AllPairTradeManager

Post by putusernamehere »

I have a question. can I activate the part close only for the BE ?
Thank
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

an other AllPairTradeManager

Post by milanese »

putusernamehere » Thu Mar 13, 2014 8:30 pm wrote:I have a question. can I activate the part close only for the BE ?
Thank
Sure see first pot too, just set PartCloseEnabled = true; and PartCloseJumpEnabled=false
PartCloseJumpPlusEnabled = false;
please note too that you should set MinSetSLDistanceFirst=50; and MinSetSLDistancePlus=75;, to higher values as OOTB if you have great SL distance, as it could happen that if the trademanager sets BE after 100 pips and you use it OOTB with all partcloses activated, the trademanager will immediately move the sl two times or more and close the entire position...

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
putusernamehere
Trader
Posts: 107
Joined: Fri Nov 15, 2013 8:56 pm

an other AllPairTradeManager

Post by putusernamehere »

milanese » Thu Mar 13, 2014 9:37 pm wrote:
putusernamehere » Thu Mar 13, 2014 8:30 pm wrote:I have a question. can I activate the part close only for the BE ?
Thank
Sure see first pot too, just set PartCloseEnabled = true; and PartCloseJumpEnabled=false
PartCloseJumpPlusEnabled = false;
please note too that you should set MinSetSLDistanceFirst=50; and MinSetSLDistancePlus=75;, to higher values as OOTB if you have great SL distance, as it could happen that if the Trademanger sets BE after 100 pips and you use it OOTB with all partcloses activated, the trademanger will immediately move the sl two times or more and close the entire position...

Cheers :)

Tommaso
thank you Tommaso for the quickly answer :hi:
cheers
Gunter
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

[New version]MAPTM Shelley

Post by milanese »

putusernamehere » Thu Mar 13, 2014 9:15 pm wrote:
milanese » Thu Mar 13, 2014 9:37 pm wrote:
putusernamehere » Thu Mar 13, 2014 8:30 pm wrote:I have a question. can I activate the part close only for the BE ?
Thank
Sure see first pot too, just set PartCloseEnabled = true; and PartCloseJumpEnabled=false
PartCloseJumpPlusEnabled = false;
please note too that you should set MinSetSLDistanceFirst=50; and MinSetSLDistancePlus=75;, to higher values as OOTB if you have great SL distance, as it could happen that if the Trademanger sets BE after 100 pips and you use it OOTB with all partcloses activated, the trademanger will immediately move the sl two times or more and close the entire position...

Cheers :)

Tommaso
thank you Tommaso for the quickly answer :hi:
cheers
Gunter
For in future avoiding problems Gunter described, I have added new funtionality:
UseHighLowForMovingSteps=True if this is set true the trademanager will use the distance form h/l of the last five candles to move the SL this for a better managing of open positions in win, so the SL jumps in profit will be analog to the price movement, here is too used BEPercentSLIncrement for the % calculation of the high/low distance. Now the trademanager has a certain "intelligence" in moving the SL.
Note that this will be overide you settings in MinSetSLDistanceFirst=50; MinSetSLDistancePlus=75 JumpPipsFirst=25; JumpPipsPlus=37;
BufferPips=1.7 is used to add this pips to the calculated SL.
JumpPipsFirst=25 sets the pips for first SL move
JumpPipsPlus=37; sets the pips for all further SL moves
as always the EA is too attached in the first post.
please use the deactivate EA button of your Empty4 before attaching the alltrademanager, and activate after attaching the alltrademanager, as the alltrademanager could freeze for some seconds yor Empty4 , do the same if you want remove the alltrademanager (the alltrademanager uses an endless loop)

As always let me know all bugs you find, ask all questions you might have, and if you want some other functions embedded feel free to post your proposes here :)
Cheers and a great weekend to all :)

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
Post Reply

Return to “Utilities Indicators and Scripts”