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

AllPairTradeManager(APTM)
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3482
Page 10 of 65
Author:  Over60 [ Sun Dec 07, 2014 10:09 am ]
Post subject:  an other AllPairTradeManager

Hi Milanese,

I assume that UseIndividualTradeManagement = true, means to manage only a single trade?
Anyway concerning the UseBasketManagement = true, the EA will supervise the risk- and money-management of all open orders concerning all pairs?

The question arise, how to perform the settings, if I wish to manage all open specific orders of only a specific pair?
I assume, I have to use ManageByMagicNumber = true?
Please confirm.

Btw: With the HiddenPending-EA the problem occurred, how to distinguish new from old orders within a pair. Is there any possibility, to suspend specific working orders (swing, longterm) without EA-reset, which should not managed by the AllPairTradeManager-EA?

In comparison, the AllPairTradeManager,I assume, does not use a BE-Level to start JSL-trailing.
I mean it is suspensable, because of MinDistanceToPrice.
I don´t know, if there is a need (by a coding condition) for e.g. partial profit at BE.
I´m afraid, that this advanced features have not to be understand completely by the followers.

The question arise, if it is possible to implement the JSL-function in the HiddenPending-EA to manage all trades in a specific pair by using the magic number, if this JSL-functions than works for all open trades only within this pair.

I have the suspicion that this function in the HiddenPending-EA works only once a time for one/single trade without dynamic SL-offset, because and besides of lacking to manage multiple orders resp. missing basket-functionality?

Will stay tuned…

Kind regards
Over60
Author:  milanese [ Sun Dec 07, 2014 10:42 am ]
Post subject:  an other AllPairTradeManager

Hi Over60,
assume that UseIndividualTradeManagement = true, means to manage only a single trade?
this means all trades are manged seperatly with moving SL, part closes ecc.
The question arise, how to perform the settings, if I wish to manage all open specific orders of only a specific pair?
I assume, I have to use ManageByMagicNumber = true?
so far you can do this only if the specific pair has a specific magicnumber using ManageByMagicNumber or if they have all the same order comment ManageByOrderComment .
I can add in the next update a specific option manage only the specific pair the EA is attached..
Btw: With the HiddenPending-EA the problem occurred, how to distinguish new from old orders within a pair. Is there any possibility, to suspend specific working orders (swing, longterm) without EA-reset, which should not managed by the AllPairTradeManager-EA?
Please specify this more with a practic exampel, what you want the EA(s) to do..
In comparison, the AllPairTradeManager,I assume, does not use a BE-Level to start JSL-trailing.
I mean it is suspensable, because of MinDistanceToPrice.
I don´t know, if there is a need (by a coding condition) for e.g. partial profit at BE.
I´m afraid, that this advanced features have not to be understand completely by the followers.
The allPairTrademanager will allways set first BE, and than do JS, it has complex functiones for this read my previous post where I explained a little for BobbyT. The right use of the partclose functions is in the first post explained, if you have further questions, please ask them.
In general it can close with BE a part, a part with the first JS and too with every next JS step, all this can be set by user inputs, I wanted so give many variants for the MM.

The hiddenPending EA will manage all trades with the same magicnumber, but please ask questions for the hiddenPending EA in the hiddenPending EA thread, avoiding mixes of the two subjects.

Cheers :)

Tommaso
Author:  Over60 [ Sun Dec 07, 2014 12:51 pm ]
Post subject:  an other AllPairTradeManager

Hi Milanese,

It was not my intention, to mix the threads, but they intersect concerning some features applied.

You quote:

I can add in the next update a specific option manage only the specific pair the EA is attached.
Might be useful in the setup to avoid confusion, if users are not firm to work with magic number.


TradeOnlyAllOfThisPair or (-symbol) = true/false. Than it should be clear, that the EA will manage only this appropriate pair.

Btw: With the HiddenPending-EA the problem occurred, how to distinguish new from old orders within a pair. Is there any possibility, to suspend specific working orders (swing, longterm) without EA-reset, which should not managed by the AllPairTradeManager-EA?

You quote:

Please specify this more with a practic exampel, what you want the EA(s) to do.

Instead of using several Empty4-instances, which anyway makes no sense, there are orders in the swing or longterm in any specific pair, which has to be treated differently, respectively manually, especially concerning SL.
These trades should not be supervised and managed by the attached EA and therefore suspended, because their SL´s have to follow other distances to the actual price.
Honestly, I do not have an idea, how to designate and suspend such older working orders.

How partial close will work is clear for me and I will not enter further to confuse followers.
I did only assume, that the EA has internal connections and conditions which works together.

Thanks for your reply.

Moving on…

Regards
Over60
Author:  milanese [ Sun Dec 07, 2014 1:14 pm ]
Post subject:  an other AllPairTradeManager

Over60 » Sun Dec 07, 2014 12:51 pm wrote:....
Btw: With the HiddenPending-EA the problem occurred, how to distinguish new from old orders within a pair. Is there any possibility, to suspend specific working orders (swing, longterm) without EA-reset, which should not managed by the AllPairTradeManager-EA?

You quote:

Please specify this more with a practic exampel, what you want the EA(s) to do.

Instead of using several Empty4-instances, which anyway makes no sense, there are orders in the swing or longterm in any specific pair, which has to be treated differently, respectively manually, especially concerning SL.
These trades should not be supervised and managed by the attached EA and therefore suspended, because their SL´s have to follow other distances to the actual price.
Honestly, I do not have an idea, how to designate and suspend such older working orders.

.....

Thanks for your reply.

Moving on…

Regards
Over60
Hi Over60,

it could be integrated an input like "doOnlyMangeOrdersMadeAfter" with a date input, so you user could specify at exp. only to manage order made after 14 oct. 2014.

Cheers :)

Tommaso
Author:  Over60 [ Mon Dec 08, 2014 11:15 am ]
Post subject:  an other AllPairTradeManager

Hi Milanese,

You quote:

… it could be integrated an input like "OnlyManageOrdersAfter" with a date input, so you user could specify at exp. only to manage order made after 14 oct. 2014.

Yes, this feature is very appreciated.
Date and time could be solve this problem/request.

Do you mind to implement this feature also for the HiddenPending-EA by the next update?

Please consider, to switch this function on or off (OOTB = false).
I know you will probably do that.

Thanks for your reply and the cooperation.

Moving on …

Kind regards
Over60
Author:  milanese [ Mon Dec 08, 2014 4:48 pm ]
Post subject:  [Updated EA] an other AllPairTradeManager

Hi all,
Over60 asket for adding a function, that the allPairTradeManager will not manage orders that are made before a user specified date. Note this will not work with the basket- mangement!
this are the new inputs for this:

set doNotManagePositionsOpenedBefore to true for using this functon
enter the date in Format YYYY.MM.DD with doNotDate

You will find the EA attached at the first post it is the milaneseAllTradeManagerPlusA.

Cheers :)

Tommaso
Author:  tommiho [ Wed Dec 10, 2014 12:11 pm ]
Post subject:  an other AllPairTradeManager

Hi Tommaso,

would there be a way to calculate the SL based on the ATR too?
Like it's being done with the TP?

Thank you very much for this manager, I always wanted to be able to set my trades TP and SL on it's ATR or ADR.

regards

Tomas
Author:  milanese [ Wed Dec 10, 2014 12:18 pm ]
Post subject:  an other AllPairTradeManager

tommiho » Wed Dec 10, 2014 12:11 pm wrote:Hi Tommaso,

would there be a way to calculate the SL based on the ATR too?
Like it's being done with the TP?

Thank you very much for this manager, I always wanted to be able to set my trades TP and SL on it's ATR or ADR.

regards

Tomas
Hi Tomas,

the automatic setting uses something very simil to ATR, but more sensitiv to the price dynamic. Just do some test on a demo with the OOTB setting.

Cheers :)

Tommaso
Author:  tommiho [ Wed Dec 10, 2014 4:10 pm ]
Post subject:  an other AllPairTradeManager

Thanks Tommaso will throw it on chart and see.

Thank you
Author:  milanese [ Sat Jan 03, 2015 9:23 am ]
Post subject:  [Bugfix]an other AllPairTradeManager

The calaculations for the SELL SL had had a bug inside, that caused a wrong calculation, taking always the min. possible SL, now fixed. Please load all the newest version down attached to the first post.

Thank you, and I wish you all a great 2015 :xm: :xm:

Tommaso
All times are UTC Page 10 of 65