Portfolio CalcMaxPotentialLossForEntry: Difference between revisions
From MultiCharts
Portfolio CalcMaxPotentialLossForEntry (view source)
Revision as of 14:45, 19 February 2012
, 19 February 2012→Parameters
No edit summary |
m (→Parameters) |
||
Line 9: | Line 9: | ||
:'''Side''' - a numerical expression specifying the entry type (e.g. 1 Long entry or -1 Short entry). | :'''Side''' - a numerical expression specifying the entry type (e.g. 1 Long entry or -1 Short entry). | ||
:'''Contracts''' - an optional parameter specifying the number of contracts. | :'''Contracts''' - an optional parameter specifying the number of contracts. | ||
::If the Contracts parameter is not specified, then the number of contracts indicated in the | ::If the Contracts parameter is not specified, then the number of contracts indicated in the [[Portfolio Settings|Format Settings]] dialog window under the '''Properties''' tab is used by default. | ||
:'''Price''' - an optional parameter specifying the price value. | :'''Price''' - an optional parameter specifying the price value. | ||
::If the Price parameter is not specified, then the [[Close]] price value of the current bar will be used by default. This parameter can be rounded down if entered a Short position or rounded up if entered a Long position. | ::If the Price parameter is not specified, then the [[Close]] price value of the current bar will be used by default. This parameter can be rounded down if entered a Short position or rounded up if entered a Long position. | ||
== Notes == | == Notes == | ||
* This function can only be used in signals intended to be used with the [[:Category:Portfolio_Backtesting|Portfolio Backtester]]. | * This function can only be used in signals intended to be used with the [[:Category:Portfolio_Backtesting|Portfolio Backtester]]. |