AllPairTradeManager(APTM)

MPTM's new home
Post Reply
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.32
sep. 11th 2015

more detailed informaiton about the ATR tf,period and multipliactor, if you use ATR for automatic dynamic calculations of TP/SL/BE/SLMinDistance ecc...
As always go to the first post for downloading the latest version. Newcomers here, please read carefully the first post and test different options first on a demo account, to get familiar with the APTM. In case of any questions or ideas, feel free to post them 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
global
Trader
Posts: 67
Joined: Wed Aug 15, 2012 2:16 am

AllPairTradeManager(APTM)

Post by global »

Thanks again for the greatest trade manager... I can't do without it.

I have a request for another feature that I don't think APTM is capable of doing at the moment. I'm finding that sometimes it's more profitable to do multiple partial closures of trades instead of doing just one partial closure then letting the profits run with a trailing stop. So can you add the option to do partial closures until the lot sizes become too small to do any more part closures?

In other words, here is what I would like APTM to be able to do. Break even, optionally with break even profit, Part Close at a certain number of pips defined by PartCloseFirstTpPips, THEN CONTINUE doing more Part Closures every x number of pips that are defined by a new variable maybe named something like, PartCloseAdditionalTpPips. Also with this scenario I can also trail the trade if I decide to by using JumpStep=1 as you suggested in an earlier post.

Here is the same trade management scenario but with PartCloseWithBE=true:

Break even and Part Close at BE (PartCloseWithBE), optionally also with break even profit, Part Close at a certain number of pips defined by PartCloseFirstTpPips, THEN CONTINUE doing more Part Closures every x number of pips that are defined by a new variable maybe named something like, PartCloseAdditionalTpPips. Also with this scenario I can also trail the trade if I decide to by using JumpStep=1 as you suggested in an earlier post.

So the idea is to be able to be able Break Even, let profit run with a trailing stop (JumpStep=1) whilst doing multiple PartCloses until the minimum lot size of the remaining lots won't allow us to do any more partial closes so the entire trade would be closed at that point. You are the expert so you would know how best to add a Multiple Part Closures. I hope that you can add this. Thanks.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

AllPairTradeManager(APTM)

Post by milanese »

global » Fri Sep 11, 2015 6:17 pm wrote:Thanks again for the greatest trade manager... I can't do without it.

I have a request for another feature that I don't think APTM is capable of doing at the moment. I'm finding that sometimes it's more profitable to do multiple partial closures of trades instead of doing just one partial closure then letting the profits run with a trailing stop. So can you add the option to do partial closures until the lot sizes become too small to do any more part closures?

In other words, here is what I would like APTM to be able to do. Break even, optionally with break even profit, Part Close at a certain number of pips defined by PartCloseFirstTpPips, THEN CONTINUE doing more Part Closures every x number of pips that are defined by a new variable maybe named something like, PartCloseAdditionalTpPips. Also with this scenario I can also trail the trade if I decide to by using JumpStep=1 as you suggested in an earlier post.

Here is the same trade management scenario but with PartCloseWithBE=true:

Break even and Part Close at BE (PartCloseWithBE), optionally also with break even profit, Part Close at a certain number of pips defined by PartCloseFirstTpPips, THEN CONTINUE doing more Part Closures every x number of pips that are defined by a new variable maybe named something like, PartCloseAdditionalTpPips. Also with this scenario I can also trail the trade if I decide to by using JumpStep=1 as you suggested in an earlier post.

So the idea is to be able to be able Break Even, let profit run with a trailing stop (JumpStep=1) whilst doing multiple PartCloses until the minimum lot size of the remaining lots won't allow us to do any more partial closes so the entire trade would be closed at that point. You are the expert so you would know how best to add a Multiple Part Closures. I hope that you can add this. Thanks.
So far APTM has two PartClose options, that can be used too together, PartClose as firstTP and PartClosewithBE, with both versions the the trail function runs together, so after a partclose the restposition will always be trailed.
The partclose-functions, will be autodeactivated with incompatible functions (see for this first post).
A possibility to add a partclose function like you asked would be the JS, so I could add an optional that would close with every jumpstep, if set to true, a part of the position, I will look into this and maybe add it.

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
Bernhard
Trader
Posts: 28
Joined: Thu Oct 24, 2013 8:15 am

AllPairTradeManager(APTM)

Post by Bernhard »

Thank you very much for upgrade!
I was thinking about trailing stop (JS) alternatively to be trailed at candle close with (High[1]+Low[1])/2 +/- atr instead to simply follow price.
It will avoid unnecessary stop-outs.
global
Trader
Posts: 67
Joined: Wed Aug 15, 2012 2:16 am

AllPairTradeManager(APTM)

Post by global »

A possibility to add a partclose function like you asked would be the JS, so I could add an optional that would close with every jumpstep, if set to true, a part of the position, I will look into this and maybe add it.
Thanks for considering my request. However, I currently use Jumpstep=1 to trail the price so if you part close with every jumpstep then I won't be able to use the trailing because then the jumpstep will have to have a larger value, for example, 10 or more. Hmm... there must be some way to have both trailing as well as multiple part closures.
Over60
Trader
Posts: 153
Joined: Thu Sep 13, 2012 12:58 pm

AllPairTradeManager(APTM)

Post by Over60 »

Hi Global,

You can use the HPEA together with the APTM to place orders.

With what lotsize do you intend to start? Keep in mind, that if a high lotsize applied at open and price will not run in profit you will burn your account very fast. It makes more sense to stack orders consecutive in price-direction by pyramiding, if price moves in profit protected by trailing-SL in the designated direction by stacking further orders.

You have to consider, that price will not move after open always immediately into profit. So your starting risk will be extremely high. Try it in a live account and you will become persuade very fast, that this method with partial profit will not work to your favor.

Experience from an old dog.

Over60
Last edited by Over60 on Sat Sep 12, 2015 3:17 pm, edited 1 time in total.
Over60
Trader
Posts: 153
Joined: Thu Sep 13, 2012 12:58 pm

AllPairTradeManager(APTM)

Post by Over60 »

Hi Milanese and followers,

Please refer to my former post starting the trailing issue at:

http://www.stevehopwoodforex.com/phpBB3 ... 10#p119639


Actually the trailing settings works using e.g. partclose in conjunction with setBEonPartClosefirstTP.
But if I disactivate partclose-inputs or use BE& JS inputs both = false, the trailing will not work.

I assume there are a conflict, because in the section of BE & JS inputs, one of the features has to be set = true.
If both are set = false, trailing will not start by logic.
The same occurs with SEtBEonPartcloseFirstTP = false.

Maybe an additional function like MoveJSlinProfit might solve the problem to start trailing.
I assume that the function MoveSLOnlyifWin will consider SLminDistancetopriceJS only if price => open expecting, that in any case price has to move the defined min-pip-distance > open in profit before start trailing.

To make it more transparency for better understanding.

I set initial SL 30 pips < open. SLMinDistancetoPriceSL = 20. Now the price will move into profit, but there is still a variable missing to define when trailing by defined pips in profit has to start. By logic price has to be X pips in profit. Let say trailing should start, if price moves 10 pips into profit. Now I would expect, that the initial SL will jump to 10 pips distance < open, resp. 20 pips distance from the actual price.
Afterwards the trailing by Jump-Step can execute as long as price moves into profit.

In addition:

The background for this kind of trailing would makes sense in conjunction with PartCloseEnabled.

If I use at the open a high lotsize, say 0.1 and I use partclose 90% when 10 pips in profit, I would by partclose taken profit and by risk calculation it is not necessary to move the JSL to BE.

By a certain, minor risk the JSL can remain < open for further trailing open end, considering the already taken profit.

That would provide more space for market movements.

Hope I did describe it understandable.

Your comments, even complains are welcome.

Regards
Over60
User avatar
cad0811
Trader
Posts: 97
Joined: Sat Sep 08, 2012 1:09 pm

AllPairTradeManager(APTM)

Post by cad0811 »

Hello, I use the following Settings, but it didn't work
QQ截图20150913155554.png
QQ截图20150913155617.png
QQ截图20150913155632.png
My understanding is that profits by 50 points, BE at 5 points, at the same time close 50 %,but I find that in the process of using doesn't really work
thanks!
You do not have the required permissions to view the files attached to this post.
Thank you so much for all the people here!Thank you for your selfless!My growth cannot leave your work!Cheers!
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

AllPairTradeManager(APTM)

Post by milanese »

cad0811 » Sun Sep 13, 2015 7:59 am wrote:Hello, I use the following Settings, but it didn't work



My understanding is that profits by 50 points, BE at 5 points, at the same time close 50 %,but I find that in the process of using doesn't really work
thanks!
TheSLMinDistanceToPriceBE will determine when the BE will be set (in your case with partclose) and after that the SLMinDistanceToPriceJswill be used to decide when the SL in Win will be moved, it seems you have not understood the settings so far .. please re-read the first post
BEProfit is the pip value added to the openprice of position, when BE is set
JumpStep is the pip value used to move the SL in Win with every jump


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
Bernhard
Trader
Posts: 28
Joined: Thu Oct 24, 2013 8:15 am

AllPairTradeManager(APTM)

Post by Bernhard »

cad0811 » Sun Sep 13, 2015 7:59 am wrote:Hello, I use the following Settings, but it didn't work



My understanding is that profits by 50 points, BE at 5 points, at the same time close 50 %,but I find that in the process of using doesn't really work
thanks!
Did you check the limits of your broker
Post Reply

Return to “Utilities Indicators and Scripts”