Changes
Jump to navigation
Jump to search
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..."
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>
==== Notes ====
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:
<syntaxhighlight>Value1=ContractProfit;</syntaxhighlight>
[[Category:Strategy Position]]
==== Usage ====
<syntaxhighlight>ContractProfit</syntaxhighlight>
==== Notes ====
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:
<syntaxhighlight>Value1=ContractProfit;</syntaxhighlight>
[[Category:Strategy Position]]