Hi All,
there is any easy way through PT to set a Max Number of Open Position to reduce account size required in a TS portfolio ?
For example i would like, in a portfolio of 25 system, to limit the max number of open position at 15.
Regards
No Erocla
Portfolio Trader - Set Max Open Position [SOLVED]
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Portfolio Trader - Set Max Open Position [SOLVED]
Hello No Erocla,
There is no specific reserved word for setting a max number of open positions, but you can deny sending any new orders once Portfolio_CurrentEntries (combined number of entries currently open within a portfolio) reaches a certain value. Please see PMM_Keywords for more details.
There is no specific reserved word for setting a max number of open positions, but you can deny sending any new orders once Portfolio_CurrentEntries (combined number of entries currently open within a portfolio) reaches a certain value. Please see PMM_Keywords for more details.
-
- Posts: 15
- Joined: 02 Mar 2018
- Has thanked: 3 times
Re: Portfolio Trader - Set Max Open Position
Hi Henry,
I believe your explanation here is helpful for limiting orders once a set number of positions is already open, but, for example, if we want to limit our portfolio to one position at a time, I don't think Portfolio_CurrentEntries is sufficient to keep 2 strategies, who see that there is no open position, from both sending their orders in simultaneously, thus opening 2 positions when we only want one at a time. Am I incorrectly understanding Portfolio_CurrentEntries function or do you have another way to prevent the scenario in my example?Hello No Erocla,
There is no specific reserved word for setting a max number of open positions, but you can deny sending any new orders once Portfolio_CurrentEntries (combined number of entries currently open within a portfolio) reaches a certain value. Please see PMM_Keywords for more details.