What is the pmms keyword for portfolio cash balance?
thank you,
David
pmms keyword for portfolio cash balance
- Polly MultiCharts
- Posts: 264
- Joined: Jul 20 2022
- Has thanked: 1 time
- Been thanked: 67 times
Hello
You can use this code sample to check the available balance for trading:
Or you can use this pre-built function:
Portfolio_Equity
For more info about Portfolio keywords please see this page.
You can use this code sample to check the available balance for trading:
Code: Select all
InitialCapital + Portfolio_NetProfit - Portfolio_InvestedCapital
Portfolio_Equity
Code: Select all
Portfolio_Equity = InitialCapital + Portfolio_NetProfit + Portfolio_OpenPositionProfit;