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

simple allPairBasketManager
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4081
Page 21 of 28
Author:  milanese [ Sun Jul 03, 2016 8:40 pm ]
Post subject:  simple allPairBasketManager

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.
see APTM thread..
Author:  FWN85BBK [ Mon Jul 25, 2016 8:33 pm ]
Post subject:  simple allPairBasketManager

Hi, the SAPBTM nicely shuts off the EA at a specified time on a specific day but the problem is that, I'm trying to close all open trades, and delete all pending orders (before) this tool shuts down all EAs on a specific time and weekday. Is that possible?
Author:  milanese [ Tue Jul 26, 2016 7:47 am ]
Post subject:  simple allPairBasketManager

FWN85BBK » Mon Jul 25, 2016 8:33 pm wrote:Hi, the SAPBTM nicely shuts off the EA at a specified time on a specific day but the problem is that, I'm trying to close all open trades, and delete all pending orders (before) this tool shuts down all EAs on a specific time and weekday. Is that possible?
attached version has this new optional; set closeAllPositionsDeactivating=true and a open basket will be closed before decativating automatic trading..
SAPBTM127.ex4
Cheers :)

Tommaso
Author:  FWN85BBK [ Tue Jul 26, 2016 2:38 pm ]
Post subject:  simple allPairBasketManager

milanese » Mon Jul 25, 2016 11:47 pm wrote: attached version has this new optional set closeAllPositionsDeactivating=true and a open basket will be closed before decativating automatic trading..

Cheers :)

Tommaso
Great, thanks! :)
Author:  traderduke [ Sat Jul 30, 2016 2:32 pm ]
Post subject:  simple allPairBasketManager

Tommaso
You and I have touched on this before and I have seen many other members ask for it, a Pair specific basket manager. I have since come across a couple of enlightening coding ideas.

1. Rene helped me add Pair specific basket manager to the HnG EA which is loaded on each and every chart, it works great but of course only works with BnG EA charts. http://www.stevehopwoodforex.com/phpBB3 ... 8&start=30

2. I found that the newer version of TargetCloseAllTradesBE with the EmergPairLossPerc option (line 37), on BnG pg88, provided the SL Pair specific but with pending failures. It does give a glimpse into the coding requirements.
http://www.stevehopwoodforex.com/phpBB3 ... &start=870

Your SAPBM EA appears to be the ideal place for the "Basket Specific Pair" SL & TP function.

If nothing else I shall endeavor to fix the TargetCloseAllTradesBE EA pending problems.

Thank you for your consideration and all the help that you have bestowed on this forum.

Ray
Author:  milanese [ Sat Jul 30, 2016 5:02 pm ]
Post subject:  simple allPairBasketManager

traderduke » Sat Jul 30, 2016 2:32 pm wrote:Tommaso
You and I have touched on this before and I have seen many other members ask for it, a Pair specific basket manager. I have since come across a couple of enlightening coding ideas.

1. Rene helped me add Pair specific basket manager to the HnG EA which is loaded on each and every chart, it works great but of course only works with BnG EA charts. http://www.stevehopwoodforex.com/phpBB3 ... 8&start=30

2. I found that the newer version of TargetCloseAllTradesBE with the EmergPairLossPerc option (line 37), on BnG pg88, provided the SL Pair specific but with pending failures. It does give a glimpse into the coding requirements.
http://www.stevehopwoodforex.com/phpBB3 ... &start=870

Your SAPBM EA appears to be the ideal place for the "Basket Specific Pair" SL & TP function.

If nothing else I shall endeavor to fix the TargetCloseAllTradesBE EA pending problems.

Thank you for your consideration and all the help that you have bestowed on this forum.

Ray
I will later publish a special version that has a new limitation, for the pair it is attached at, user- selectable..

Cheers :)

Tommaso
Author:  milanese [ Sat Jul 30, 2016 5:13 pm ]
Post subject:  simple allPairBasketManager

milanese » Sat Jul 30, 2016 5:02 pm wrote: I will later publish a special version that has a new limitation, for the pair it is attached at, user- selectable..

Cheers :)

Tommaso
the attached one can be used too as one Pair BasketManager....
just set onlyManageThisPair to true, you can use too the EA with only a specific MagicNumber, for this set onlyManageOneMagicNumber to true
SAPBTM129.ex4
Cheers:)

Tommaso
Author:  dydynamic [ Sun Jul 31, 2016 3:38 am ]
Post subject:  simple allPairBasketManager

milanese » Sat Jul 30, 2016 5:13 pm wrote:
milanese » Sat Jul 30, 2016 5:02 pm wrote: I will later publish a special version that has a new limitation, for the pair it is attached at, user- selectable..

Cheers :)

Tommaso
the attached one can be used too as one Pair BasketManager....
just set onlyManageThisPair to true, you can use too the EA with only a specific MagicNumber, for this set onlyManageOneMagicNumber to true


Cheers:)

Tommaso
Thanks Milanese....
You've always been a star...... :clap:
Author:  traderduke [ Fri Aug 05, 2016 10:55 am ]
Post subject:  simple allPairBasketManager

Tommaso
Thanks a lot, I'll give it a try.

Ray
Author:  kaiserchen [ Sat Aug 20, 2016 5:01 am ]
Post subject:  simple allPairBasketManager

milanese » Sun Jul 31, 2016 1:13 am wrote:
milanese » Sat Jul 30, 2016 5:02 pm wrote: I will later publish a special version that has a new limitation, for the pair it is attached at, user- selectable..

Cheers :)

Tommaso
the attached one can be used too as one Pair BasketManager....
just set onlyManageThisPair to true, you can use too the EA with only a specific MagicNumber, for this set onlyManageOneMagicNumber to true


Cheers:)

Tommaso
Hello!
If you are using onlyManageOneMagicNumber
1.Existing open trade, to achieve profits after close all trades
OR
2.The existing open and closed trade, to achieve profits after close all trades
Thank you very much!
All times are UTC Page 21 of 28