×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Portfolio MaxOpenPositionPotentialLoss - MultiCharts
Open main menu

Portfolio MaxOpenPositionPotentialLoss

Revision as of 14:42, 19 February 2012 by JoshM (talk | contribs)

Returns a dollar value indicating the combined potential loss (not including margin, commision or slippage) for the traded symbols' open position within the portfolio.

Usage

SetStopPosition; 

SetStopLoss(Portfolio_MaxOpenPositionPotentialLoss);

Notes

Example

value1 = Portfolio_MaxOpenPositionPotentialLoss; 

if value1 <> 0 then begin 

SetStopPosition; 

SetStopLoss (value1); 

end;
Portfolio_MaxOpenPositionPotentialLoss
  • Will return a value of 0 if there are currently no open positions within a portfolio,
  • Will return a value of 100 if the combined potential loss for all open positions within a portfolio is $100 since the positions were entered.