If I can destinguish positions from which strategy in MM - Portfolio Trader?

Questions about MultiCharts and user contributed studies.
Morgan
Posts: 16
Joined: 29 Oct 2014
Has thanked: 1 time
Been thanked: 1 time

If I can destinguish positions from which strategy in MM - Portfolio Trader?

Postby Morgan » 14 Apr 2021

Hi,
I have several strategies run via portfolio trader.
I separate them with different segment and run together.
Currently, I contral them via Money Managemt module but have one problem.
That is I would like to limit every strategies entry postion.
However, in MM script, I can only fould pmms_strategies_in_positions_count.
It will calculat "ALL" position in hand but not every independent strategies positon.
If there's any solution can let me achieve this requirement?

Many Thanks~

Morgan

User avatar
Kate MultiCharts
Posts: 575
Joined: 21 Oct 2020
Has thanked: 7 times
Been thanked: 144 times

Re: If I can destinguish positions from which strategy in MM - Portfolio Trader?

Postby Kate MultiCharts » 20 Apr 2021

Hello Morgan,

Please check the Portfolio Money Management section in our Wiki or in the PowerLanguage Editor Dictionary.

pmms_* keywords might be helpful in the MM signal (e.g. pmms_strategy_marketposition(StrategyIndex) or pmms_strategy_set_entry_contracts(StrategyIndex, Contracts)).


Return to “MultiCharts”