Support

Equilla Formula Language

PortfolioGroup

Returns the name of the portfolio (scanner/watchlist) group the instrument is attached to.

Remarks

This function is only working with the following document types: Portfolio, Watchlist and Scanner.

The PortfolioGroup can be customized via the context menu of the hosting document.

Examples

Write the portfolio related information for each instrument in a portfolio to the output window
If CurrentBar = 1 Then Print( "group=" + CStr( PortfolioGroup ) + " number=" + CStr( PortfolioItemNumber ) + " of " + CStr( PortfolioSize ) );