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

AllPairTradeManager(APTM)
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3482
Page 50 of 65
Author:  qvintus [ Wed Jun 08, 2016 12:45 pm ]
Post subject:  AllPairTradeManager(APTM)

milanese » 02 Nov 2015, 13:14 wrote: As you use always very small distances for SL and/or TP I have changed in the attached version the security code to accept a min distance of 1pip+spread, try this one it should work better for your use..

Cheers :)

Tommaso
Hi Tommaso, could you share the version which accepts tighter settings? It is not in your post above anymore.
Author:  milanese [ Wed Jun 08, 2016 1:21 pm ]
Post subject:  AllPairTradeManager(APTM)

qvintus » Wed Jun 08, 2016 12:45 pm wrote:
milanese » 02 Nov 2015, 13:14 wrote: As you use always very small distances for SL and/or TP I have changed in the attached version the security code to accept a min distance of 1pip+spread, try this one it should work better for your use..

Cheers :)

Tommaso
Hi Tommaso, could you share the version which accepts tighter settings? It is not in your post above anymore.
all later versions have this included, so too the version on page onee

Cheers :)

Tommaso
Author:  qvintus [ Wed Jun 08, 2016 1:22 pm ]
Post subject:  AllPairTradeManager(APTM)

milanese » 08 Jun 2016, 14:21 wrote:
qvintus » Wed Jun 08, 2016 12:45 pm wrote:
milanese » 02 Nov 2015, 13:14 wrote: As you use always very small distances for SL and/or TP I have changed in the attached version the security code to accept a min distance of 1pip+spread, try this one it should work better for your use..

Cheers :)

Tommaso
Hi Tommaso, could you share the version which accepts tighter settings? It is not in your post above anymore.
all later versions have this included, so too the version on page onee

Cheers :)

Tommaso
Good to know, thanks :clap:
Author:  acostafulano [ Sun Jul 03, 2016 8:27 pm ]
Post subject:  AllPairTradeManager(APTM)

Hello Tommaso!
I hope you don't mind me posting this in the APTM thread as well.

I'm trying to find a trade manager that is capable of managing baskets of SAME-PAIR trades. For example, if I'm trading with an EA and i have 10 Long EURCAD and 8 Short EURCAD, I'd like a trade manager that treats the whole EURCAD basket as "the position" and acts accordingly as instructed (basket TP/SL, etc) but independently of what's going on in other pairs.

Do you know of any EA that is capable of doing this?

What I'm trying to avoid is having to install 20 trade managers (one per pair, or magic number) in one Empty4
Thansk for the comments.
Author:  milanese [ Sun Jul 03, 2016 8:39 pm ]
Post subject:  AllPairTradeManager(APTM)

acostafulano » Sun Jul 03, 2016 8:27 pm wrote:Hello Tommaso!
I hope you don't mind me posting this in the APTM thread as well.

I'm trying to find a trade manager that is capable of managing baskets of SAME-PAIR trades. For example, if I'm trading with an EA and i have 10 Long EURCAD and 8 Short EURCAD, I'd like a trade manager that treats the whole EURCAD basket as "the position" and acts accordingly as instructed (basket TP/SL, etc) but independently of what's going on in other pairs.

Do you know of any EA that is capable of doing this?

What I'm trying to avoid is having to install 20 trade managers (one per pair, or magic number) in one Empty4
Thansk for the comments.
APTM is able to manage only the symbol it is attached too for the basket functions, but if you will use this function on more than one pair you have to attach it moretimes..
I think I understood what you want , aTM that can manage for each individual pair baskets, but must only one time be attached..
This sound interesting and could be coded, I don't think it is already disponible, and I have at the moment to much coding requests in pipeline, for adding this, but it sounds interesting and maybe when I will find in future more time I will add this to the APTM or code a new TM for this..

Cheers :)

Tommaso
Author:  acostafulano [ Sun Jul 03, 2016 8:41 pm ]
Post subject:  AllPairTradeManager(APTM)

Thanks for your attention Tomasso.

I think such Trade Manager would be very useful for trading the EA "HGB in a different hedge" from Steve

Diego
milanese » Sun Jul 03, 2016 3:39 pm wrote: APTM is able to manage only the symbol it is attached too for the basket functions, but if you will use this function on more than one pair you have to attach it moretimes..
I think I understood what you want , aTM that can manage for each individual pair baskets, but must only one time be attached..
This sound interesting and could be coded, I don't think it is already disponible, and I have at the moment to much coding requests in pipeline, for adding this, but it sounds interesting and maybe when I will find in future more time I will add this to the APTM or code a new TM for this..

Cheers :)

Tommaso
Author:  Timid [ Wed Jul 13, 2016 10:05 am ]
Post subject:  AllPairTradeManager(APTM)

Hi,

I was using the SL by MA as the only way to set and manipulate SL, so no initial SL set by any other means.

I found that it did not set any SL at all on sell trades and my investigation shows that it is because the setting of SL by MA is depending on that there is a SL from the beginning, for sell trades that is.

My humble fix is to change line 1968 to:

Code: Select all

      if(NormalizeDouble(NewStop,Xdigits)>=NormalizeDouble((OrderStopLoss()-(5/factor)),Xdigits) && NormalizeDouble(OrderStopLoss(), Digits) != 0 ) modify=false;
i.e. adding the check if SL exist.

Thanks,
Timid
Author:  milanese [ Wed Jul 13, 2016 10:13 am ]
Post subject:  AllPairTradeManager(APTM)

Timid » Wed Jul 13, 2016 10:05 am wrote:Hi,

I was using the SL by MA as the only way to set and manipulate SL, so no initial SL set by any other means.

I found that it did not set any SL at all on sell trades and my investigation shows that it is because the setting of SL by MA is depending on that there is a SL from the beginning, for sell trades that is.

My humble fix is to change line 1968 to:

Code: Select all

      if(NormalizeDouble(NewStop,Xdigits)>=NormalizeDouble((OrderStopLoss()-(5/factor)),Xdigits) && NormalizeDouble(OrderStopLoss(), Digits) != 0 ) modify=false;
i.e. adding the check if SL exist.

Thanks,
Timid
Your fix will not work as you have to use Xdigits and not Digits, and you have not understood right the function re-read first post and the special post in re. to this subject..

Cheers :)

Tommaso
Author:  Timid [ Wed Jul 13, 2016 10:17 am ]
Post subject:  AllPairTradeManager(APTM)

milanese » Wed Jul 13, 2016 12:13 pm wrote: Your fix will not work as you have to use Xdigits and not Digits, and you have not understood right the function re-read first post and the special post in re. to this subject..

Cheers :)

Tommaso
Thanks for the correction! :hi:
Timid
Author:  anelef [ Fri Jul 15, 2016 10:58 am ]
Post subject:  AllPairTradeManager(APTM)

Thank you for the great EA. Im off to practice on demo, should i have any issues will definitely ask . Great work :clap:
All times are UTC Page 50 of 65