Changes
Jump to navigation
Jump to search
Created page with "Returns an absolute numerical value, indicating the number of contracts or shares held in the current position. ==== Usage ==== <syntaxhighlight>CurrentContracts</syntaxhig..."
Returns an absolute numerical value, indicating the number of contracts or shares held in the current position.
==== Usage ====
<syntaxhighlight>CurrentContracts</syntaxhighlight>
==== Notes ====
This function can only be used in signals.
==== Example ====
<syntaxhighlight>CurrentContracts will return a value of 1 for 1 contract long
CurrentContracts will return a value of 5 for 5 shares short</syntaxhighlight>
[[Category:Strategy Position]]
==== Usage ====
<syntaxhighlight>CurrentContracts</syntaxhighlight>
==== Notes ====
This function can only be used in signals.
==== Example ====
<syntaxhighlight>CurrentContracts will return a value of 1 for 1 contract long
CurrentContracts will return a value of 5 for 5 shares short</syntaxhighlight>
[[Category:Strategy Position]]