The portfolio studies block is used to calculate the properties of the overall portfolio, a specific position, or even the specific leg of a position. Properties include gain / loss, ROI, option greeks (delta, gamma, theta, vega), breakeven points, available cash balance, etc..
For more information, please review: Studies Block Documentation