ContractProfit: Difference between revisions
From MultiCharts
m
no edit summary
(Created page with "Returns a numerical value, indicating the current profit or loss per each contract or share of a multi-share or multi-contract position. ==== Usage ==== <syntaxhighlight>Co...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
Returns a numerical value, indicating the current profit or loss per each contract or share of a multi-share or multi-contract position. | Returns a numerical value, indicating the current profit or loss per each contract or share of a multi-share or multi-contract position. | ||
== Usage == | |||
<syntaxhighlight>ContractProfit</syntaxhighlight> | <syntaxhighlight>ContractProfit</syntaxhighlight> | ||
== Notes == | |||
This function can only be used in signals. | * This function can only be used in signals. | ||
== Example == | |||
Assign a value, indicating the current profit or loss per contract or share, to Value1 variable: | Assign a value, indicating the current profit or loss per contract or share, to Value1 variable: | ||
<syntaxhighlight>Value1=ContractProfit;</syntaxhighlight> | <syntaxhighlight>Value1 = ContractProfit;</syntaxhighlight> | ||
[[Category:Strategy Position]] | [[Category:Strategy Position]] |