simple allPairBasketManager

MPTM's new home
Post Reply
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

simple allPairBasketManager

Post by milanese »

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
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
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

[update!!]simple allPairBasketManager

Post by milanese »

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
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
madopter1
Trader
Posts: 23
Joined: Mon Apr 13, 2015 10:47 pm

simple allPairBasketManager

Post by madopter1 »

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
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

simple allPairBasketManager

Post by milanese »

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
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
User avatar
Mike
Trader
Posts: 272
Joined: Sun Dec 11, 2011 12:30 pm
Location: Italy

simple allPairBasketManager

Post by Mike »

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
Image
Image
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

simple allPairBasketManager

Post by milanese »

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
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
toc17
Trader
Posts: 34
Joined: Mon Mar 30, 2015 7:55 am
Location: Madrid, Spain

simple allPairBasketManager

Post by toc17 »

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
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

simple allPairBasketManager

Post by milanese »

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
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
FxFoil
Trader
Posts: 42
Joined: Wed Dec 07, 2011 5:40 am

simple allPairBasketManager

Post by FxFoil »

.
Last edited by FxFoil on Mon Apr 30, 2018 9:13 pm, edited 1 time in total.
User avatar
milanese
TechAdmin
Posts: 3293
Joined: Wed Jan 09, 2013 9:02 am
Location: btr rdx, r8 +

simple allPairBasketManager

Post by milanese »

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


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
Post Reply

Return to “Utilities Indicators and Scripts”