Limiting number of open positions

Questions about MultiCharts and user contributed studies.
Leo
Posts: 89
Joined: 23 Sep 2015
Has thanked: 8 times
Been thanked: 4 times

Limiting number of open positions

Postby Leo » 09 Apr 2021

Hello everyone, in Portfolio Trader I would like to limit the number of concurrent open positions, and this number has to be calculated on the basis of the overall open risk.

Example:

Let's say I have 5 different trading systems running on a total of 100 stocks, thus 25 per system.
Say that each of the 5 systems has its own stop loss ranging between 300 and 1000 USD per position.
Say that if the overall number of open position exceed 2% of trading capital, no new position can be opened, regardless the trading system has a new signal.

Hae no idea how this could be done but think it's possible.
Thanks in advance for any help.

User avatar
Kate MultiCharts
Posts: 591
Joined: 21 Oct 2020
Has thanked: 9 times
Been thanked: 148 times

Re: Limiting number of open positions

Postby Kate MultiCharts » 15 Apr 2021

Hello Leo,

You can use Portfolio Money Management signals.
You can find the Wiki section dedicated to PMM Keywords here, or you can find more info in the PowerLanguage Editor Dictionary.

waveslider
Posts: 223
Joined: 16 Oct 2011
Has thanked: 66 times
Been thanked: 20 times

Re: Limiting number of open positions

Postby waveslider » 22 Dec 2023

Portfolio Trader seems to be lacking in this very basic functionality, making it virtually useless.

1. There seems to be no way to see the number of positions currently held at one time (it is possible to see how many strategies are active- but that doesn't help).
2. When a signal is issued for the following bar, there is no way to limit the number of new entries.

Has anyone found a way to do this?


Return to “MultiCharts”