Page 1 of 1

pmms keyword for portfolio cash balance

Posted: Jun 18 2024
by BossHog
What is the pmms keyword for portfolio cash balance?

thank you,
David

Re: pmms keyword for portfolio cash balance

Posted: Jun 26 2024
by Polly MultiCharts
Hello

You can use this code sample to check the available balance for trading:

Code: Select all

InitialCapital + Portfolio_NetProfit - Portfolio_InvestedCapital
Or you can use this pre-built function:
Portfolio_Equity

Code: Select all

Portfolio_Equity = InitialCapital + Portfolio_NetProfit + Portfolio_OpenPositionProfit;
For more info about Portfolio keywords please see this page.