How to get the numbers of open long/short entries in PT  [SOLVED]

Questions about MultiCharts and user contributed studies.
thomashck
Posts: 22
Joined: 06 Oct 2013
Has thanked: 25 times
Been thanked: 2 times

How to get the numbers of open long/short entries in PT

Postby thomashck » 11 Mar 2021

I'm coding a strategy to control the numbers of open long/short entries in PT but I found that only Portfolio_CurrentEntries function can be use.
Is there anyone has idea of how to separate the numbers of open long/short entries in PT?

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

Re: How to get the numbers of open long/short entries in PT

Postby Kate MultiCharts » 18 Mar 2021

Hello,

You can try using the pmms keywords.

You can find more information about them in the PowerLanguage Editor Dictionary or in our Portfolio Money Management Wiki section.

thomashck
Posts: 22
Joined: 06 Oct 2013
Has thanked: 25 times
Been thanked: 2 times

Re: How to get the numbers of open long/short entries in PT  [SOLVED]

Postby thomashck » 22 Mar 2021

thanks, I found the pmms keywords.


Return to “MultiCharts”