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

simple allPairBasketManager
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4081
Page 9 of 28
Author:  milanese [ Fri May 22, 2015 8:34 am ]
Post subject:  simple allPairBasketManager

basch312 » Fri May 22, 2015 8:30 am wrote:
milanese » Fri May 22, 2015 9:21 am wrote: with your code adapting it will not work as intended, as it will always use the entire equity for the calculations, and only in display and basketclose the magicnumber will be used...
I removed the attachment(as it would not work as intended), but I will consider for a next update this feature...
It will need some recoding of the entire structure.
Cheers :)

Tommaso
Thanks Tommaso for the explanation. If I'm understanding it correctly, what we need to achieve this feature is to calculate ONLY the profit/loss of the magic ?¿?¿? Am I missing something else?
Exactly...

Cheers :)

Tommaso
Author:  milanese [ Sun May 24, 2015 9:34 am ]
Post subject:  [update!!]simple allPairBasketManager

update version 1.16
may 24th 2015

As requested by many users added new ActivateEATradingDay and DeactivateEATradingDay inputs for the EA-Trading Activate/Deactivate funtions on a certain user defined time.
Too the userdisplay informs now about the Activate/Deactivate time if this optional is selected.
As always you will find the latest version 1.16 attached on the first post.

Cheers :)

Tommaso
Author:  madopter1 [ Mon May 25, 2015 3:49 am ]
Post subject:  simple allPairBasketManager

milanese, if I may make a suggestion, would you please add some sort of counter for DD (drawdown displayed either as a cash value, percentage, or both). This recorded value would be allowed to be overwritten the next time trading resumes after a basket close.

:good:

madopter
Author:  milanese [ Mon May 25, 2015 5:51 pm ]
Post subject:  simple allPairBasketManager

madopter1 » Mon May 25, 2015 3:49 am wrote:milanese, if I may make a suggestion, would you please add some sort of counter for DD (drawdown displayed either as a cash value, percentage, or both). This recorded value would be allowed to be overwritten the next time trading resumes after a basket close.

:good:

madopter
I will look into this and it maybe for a future update consider..

Cheers :)

Tommaso
Author:  Mike [ Wed Jun 03, 2015 8:12 am ]
Post subject:  simple allPairBasketManager

Tommaso

Your sapbm works flawlessly and I use it more and more. There is one issue, I do not know how to handle and for which I have a whish. (I remember some ea having this option but I do not remember which and how.)
If I set Basket Profit 3% and only 2 trades start off it is a very different situation as when 11 trades are in a basket. To make the story short, could you add a feature that defines basket profit in relation to the number of trades in the basket either as a) the sum of x pips per trade ore b) the sum of y atrMultiBascetProfit of each trade.

Basket USDCAD, ATR 113; GBPUSD, ATR 148;EURUSD, ATR 135

Scenario 1
set Profit at an average of x = 25 Pips (arbitrary) in Profit per Pair
3 Pairs --> Basket close at 75 Pips in Profit

Scenario 2
set profit at the sum of each pair's y = atrMultiBasketProfit = 0.3 (arbitrary)
USDCAD = 0.3 *113 = 33.9
GBPUSD = 0.3*148 = 44.4
EURUSD = 0.3*135 = 40.5
3 Pairs --> Basket closes at 118.8 Pips in Profit

perhaps there is a better way to relate target profit to basket size.
Thanks for consideration Mike
Author:  milanese [ Wed Jun 03, 2015 9:44 am ]
Post subject:  simple allPairBasketManager

Mike » Wed Jun 03, 2015 8:12 am wrote:Tommaso

Your sapbm works flawlessly and I use it more and more. There is one issue, I do not know how to handle and for which I have a whish. (I remember some ea having this option but I do not remember which and how.)
If I set Basket Profit 3% and only 2 trades start off it is a very different situation as when 11 trades are in a basket. To make the story short, could you add a feature that defines basket profit in relation to the number of trades in the basket either as a) the sum of x pips per trade ore b) the sum of y atrMultiBascetProfit of each trade.

Basket USDCAD, ATR 113; GBPUSD, ATR 148;EURUSD, ATR 135

Scenario 1
set Profit at an average of x = 25 Pips (arbitrary) in Profit per Pair
3 Pairs --> Basket close at 75 Pips in Profit

Scenario 2
set profit at the sum of each pair's y = atrMultiBasketProfit = 0.3 (arbitrary)
USDCAD = 0.3 *113 = 33.9
GBPUSD = 0.3*148 = 44.4
EURUSD = 0.3*135 = 40.5
3 Pairs --> Basket closes at 118.8 Pips in Profit

perhaps there is a better way to relate target profit to basket size.
Thanks for consideration Mike
I think, understood would you mean , you want an adaptive TP, I will take a look and consider this for a next update. I see I will fast have to delete the"simple" out of the name :smile: :smile:

Cheers :)

Tommaso
Author:  toc17 [ Wed Jun 03, 2015 3:11 pm ]
Post subject:  simple allPairBasketManager

Hi Tommaso,

Talking about next update... :D

I woul like to have
MinDistanzCashSLinWinToEquity
and
JS_CashAdd

as a % of initial balance.

In fact, I use 3% of initial balance for MinDistanzCashSLinWinToEquity and 2% for JS_CashAdd, but I have to calculate both values on every basket close, and restart the EA (minor problem if I am online :smile: )

And yes, this could be named "awesomebasketmanager"

Thank you very much for this EA!

Jose
Author:  milanese [ Wed Jun 03, 2015 4:50 pm ]
Post subject:  simple allPairBasketManager

toc17 » Wed Jun 03, 2015 3:11 pm wrote:Hi Tommaso,

Talking about next update... :D

I woul like to have
MinDistanzCashSLinWinToEquity
and
JS_CashAdd

as a % of initial balance.

In fact, I use 3% of initial balance for MinDistanzCashSLinWinToEquity and 2% for JS_CashAdd, but I have to calculate both values on every basket close, and restart the EA (minor problem if I am online :smile: )

And yes, this could be named "awesomebasketmanager"

Thank you very much for this EA!

Jose
:smile: I will consider this for the next update..

Cheers :)

Tommaso
Author:  FxFoil [ Wed Jun 03, 2015 9:41 pm ]
Post subject:  simple allPairBasketManager

.
Author:  milanese [ Sat Jun 06, 2015 6:42 am ]
Post subject:  simple allPairBasketManager

@FxFoil I like your idea and will this probably add to one of the next updates....


Cheers :)

Tommaso
All times are UTC Page 9 of 28