687
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Returns a | Returns a value indicating the combined potential loss (not including margin, commision or slippage) for the traded symbol's open position within the portfolio. | ||
== Usage == | == Usage == | ||
Line 7: | Line 7: | ||
== Notes == | == Notes == | ||
* This function can only be used in signals intended to be used with the | * This function can only be used in signals intended to be used with the Portfolio Trader. | ||
* The value is returned in the currency specified in Portfolio Trader: '''Portfolio Settings -> Base Currency.''' | |||
* Use [[Portfolio SetMaxPotentialLossPerContract]] to set the maximum potential for a given symbol, and [[Portfolio CalcMaxPotentialLossForEntry]] to calculate the maximum potential loss for a specified entry. | * Use [[Portfolio SetMaxPotentialLossPerContract]] to set the maximum potential for a given symbol, and [[Portfolio CalcMaxPotentialLossForEntry]] to calculate the maximum potential loss for a specified entry. | ||
Line 23: | Line 24: | ||
<syntaxhighlight>Portfolio_MaxOpenPositionPotentialLoss</syntaxhighlight> | <syntaxhighlight>Portfolio_MaxOpenPositionPotentialLoss</syntaxhighlight> | ||
* Will return a value of 0 if there are currently no open positions within a portfolio, | * 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 | * 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. | ||
[[Category:Portfolio Strategy Position]] | [[Category:Portfolio Strategy Position]] |