×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

CurrentContracts

671 bytes added, 12:42, 13 February 2012
m
Reverted edits by 176.8.90.7 (talk) to last revision by JoshM
Returns an absolute numerical value, indicating the number of contracts or shares held in the current position.
http:== Usage ==<syntaxhighlight>CurrentContracts<//wwwsyntaxhighlight> == Notes == * This function can only be used in signals.buyxanaxonlinepill* To use the CurrentContracts or [[CurrentShares]] in an indicator, see [[i_CurrentContracts]] and [[i_CurrentShares]] respectively.com/ xanax cheap - order xanax online overnight
http:== Example ==<syntaxhighlight>CurrentContracts<//wwwsyntaxhighlight>Will return a value of "1" if the strategy is long 1 contract or share.buyxanaxonlinepill.com/ purchase xanax online no prescription - buy generic xanax online
http:<syntaxhighlight>CurrentContracts<//wwwsyntaxhighlight>Will return a value of "5" for 5 shares short. CurrentContracts returns an absolute value for both long and short positions.buyxanaxonlinepillMultiply it with the [[MarketPosition]] to get the negative sign for short positions.comFor example:<syntaxhighlight>MarketPosition(0) * CurrentContracts</ buy 2mg xanax syntaxhighlight>Will return a value of "- buy xanax no rx9" if the strategy is short 9 contracts, and will return a value of "4" if the strategy is long four contracts. [[Category:Strategy Position]]