AllPairTradeManager(APTM)

MPTM's new home
Post Reply
User avatar
Aussiedoc
Trader
Posts: 270
Joined: Tue Dec 13, 2011 8:10 am
Location: Western District. Victoria. Australia

AllPairTradeManager(APTM)

Post by Aussiedoc »

Over60 » Tue May 19, 2015 3:56 pm wrote:Hi Doc,
Thanks for sharing the Ducks-EA.
I tried the EA, but somethings does not run correctly.
Trade well
Over60
Ahhh! Says he melodramatically bashing his head against the wall! :arrrg: :arrrg: :arrrg:
My apologies! :uff: I had completely forgotten. :oops:
These should do the job when installed as per tag
Cheers
Doc :)
You do not have the required permissions to view the files attached to this post.
If you can never exceed your own expectations - why expect second-best?
Over60
Trader
Posts: 153
Joined: Thu Sep 13, 2012 12:58 pm

AllPairTradeManager(APTM)

Post by Over60 »

Hi Doc,

Thanks again for your reply and the attachments.

For the followers: Now the EA works, considering that the button positions have to be adapted concerning screen size, if they do not appear after attaching the EA.

Sorry Doc, the EA was worth for a try, but the EA does not match my special and personal requirements, because it contains quite more features I Need and I did request.

Anyway for the coder it might be worth for a glance. Insight it is well documented.

Trade well friends
Over60
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

[update!!]AllPairTradeManager(APTM)

Post by milanese »

update version 2.26
may 27th 2015

This is a major updating presenting new functionalities. New you can enter your SL/TP/BE/JS/SLMinDistance values in AccountCurrency, APTM will this convert into pips for setting SL TP ecc....
For using this setting set useAccountCurrValuesForSL_TP_BE_JS to true note that this will adapt automatic other settings so that incompatible settings will be automatic deactivated (like ATR calculations).
New the APTM has too the possibility to use a basket SL/TP, for using this set UseBasketSLTP to true.
Here all new inputs (OOTB all false):

Code: Select all

extern string special="---Special AccountCurrency defined SL/TP BE Settings---";
extern string special2="---This deactivates automatic incompatible Settings like ATR---";
extern bool    useAccountCurrValuesForSL_TP_BE_JS=false;
extern double  SLAccountCurr=25;
extern double  TPAccountCurr=75;
extern double  BEProfitAccCurr=4;
extern double  JumpStepAccCurr=15;
extern double  SLMinDistanceToPriceBEAccCurr=20;
extern double  SLMinDistanceToPriceJSAccCurr=25;
extern string special4="---Special Basket TP/SL Option in Account Currency---";
extern bool    UseBasketSLTP=false;
extern double  BasketSL=2500;
extern double  BasketTP=7500;
Note you can use them too for only one pair or only one magicnumber or only a specific order comment, if you have preselected that APTM should not manage all open trades on the account.

The new version is found attached to the first post, please read the entire first post if you are new here, for understanding the functions APTM includes. If you have questions, are you are in doubt how to configure the APTM for your sepecific use, just post your question here...

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
Jollyroger
Trader
Posts: 91
Joined: Wed Nov 16, 2011 4:13 am

AllPairTradeManager(APTM)

Post by Jollyroger »

Hi Tommaso:

Just a quick point for clarification. Are the Basket settings for SL and TP in pips or account currency?
This update is great time saver for those of us who are "pip challenged" in trading multiple currencies.
Thanks Tommaso
Roger
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

AllPairTradeManager(APTM)

Post by milanese »

Jollyroger » Wed May 27, 2015 12:14 pm wrote:Hi Tommaso:

Just a quick point for clarification. Are the Basket settings for SL and TP in pips or account currency?
This update is great time saver for those of us who are "pip challenged" in trading multiple currencies.
Thanks Tommaso
Roger
This is in account currency so if your account is in AUD input of 1000 = 1000 AUD

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
cr1982
Trader
Posts: 41
Joined: Wed Apr 08, 2015 6:22 pm

AllPairTradeManager(APTM)

Post by cr1982 »

Hello fantastic traders,

I am stupid and i confess :?

But i need your help.

I am using a script which forwards to broker my order, via Empty4. This script it's for me really useful because allows to set the position size based to my risk management and stop loss. So, when i put an order, thanks to this script in few click it's already well been done.

Problem:

I have not understood how to manage the Jumping Stops and a BE value.

Attached my tipical situation.

Let's suppose i settled an order as that one enclosed, with SL and TP already done.

Goal: Set a jumping stoploss to BE (modifying the existing and original one?) when price hit 1.49703. Then, when price moves to PriceLevel 1 and PriceLevel2, move again the SL (when PriceLevel1 reached, then move SL to 1.49703; when PriceLevel2 reached, then move SL to PriceLevel1 and so on)

Followings my settings:
"false" input remains:

DoNotManagePositionOpenedBefore
useATRforStopLoss
useATRforTakeProfit
useMAforStopLoss
SetInitialTakeProfit
SetiinitialStopLoss

"true":
Use_SetBEandJump
MoveSLOnlyifWin

And:
BeProfit=Pips difference between the sell stop entry and the BE level
JumpStep= WHICH VALUE is This?
SLMinDistanceToPriceBE=Pips difference between BE and Price i want hit before start moving original SL to BE
SLMinDistanceToPriceJS=Which VALUE is this?

Furthermore, i dont know how to set the "partSet" and "partSet1" into the EA input. I think they should be on "false" but i am not sure.

I know i am really a dimwit, but please help.

Thank you
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 +

AllPairTradeManager(APTM)

Post by milanese »

And:
BeProfit=Pips difference between the sell stop entry and the BE level
JumpStep= WHICH VALUE is This?
SLMinDistanceToPriceBE=Pips difference between BE and Price i want hit before start moving original SL to BE
SLMinDistanceToPriceJS=Which VALUE is this?
BeProfitPips added/substracted to orderopen price exp. openprice BUY 1,25000 BeProfit=4 1,25040 BE SL
JumpStep this value the price will with next steps after BE is set moved (pips added/substracted to SL so far)
SLMinDistanceToPriceBEDistance SL after BE must have to actual price
SLMinDistanceToPriceJSDistance SL after JS must have to actual price

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
cr1982
Trader
Posts: 41
Joined: Wed Apr 08, 2015 6:22 pm

AllPairTradeManager(APTM)

Post by cr1982 »

milanese » Wed May 27, 2015 6:16 pm wrote:
BeProfitPips added/substracted to orderopen price exp. openprice BUY 1,25000 BeProfit=4 1,25040 BE SL
JumpStep this value the price will with next steps after BE is set moved (pips added/substracted to SL so far)
SLMinDistanceToPriceBEDistance SL after BE must have to actual price
SLMinDistanceToPriceJSDistance SL after JS must have to actual price

Cheers :)

Tommaso
Hello MIlanese

Ok, but what about the other settings ? Specially partSet and partSet1 which now i turned on "false"
I dont want to risk to understand 1 thing and leave other mistakes on my way....

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

AllPairTradeManager(APTM)

Post by milanese »

cr1982 » Wed May 27, 2015 6:20 pm wrote:
Hello MIlanese

Ok, but what about the other settings ? Specially partSet and partSet1 which now i turned on "false"
I dont want to risk to understand 1 thing and leave other mistakes on my way....

Thanks
This are partclose settings, I recommend you to read carefull the entire first post and to test your setting on a demo account or maybe to test different setups for understanding better how the APTM works and to get familiar with the different setting- possibilities..

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
cr1982
Trader
Posts: 41
Joined: Wed Apr 08, 2015 6:22 pm

AllPairTradeManager(APTM)

Post by cr1982 »

Hello

I am getting issue with "RemoveSLandTP" which doesn't work.

Does it needs to be loaded in "scripts" folder right?
Post Reply

Return to “Utilities Indicators and Scripts”