Difference between revisions of "CurrentContracts"

From MultiCharts
Jump to navigation Jump to search
Line 5: Line 5:
 
http://www.buyxanaxonlinepill.com/ purchase xanax online no prescription - buy generic xanax online
 
http://www.buyxanaxonlinepill.com/ purchase xanax online no prescription - buy generic xanax online
  
== Example ==
+
http://www.buyxanaxonlinepill.com/ buy 2mg xanax - buy xanax no rx
<syntaxhighlight>CurrentContracts</syntaxhighlight>
 
Will return a value of "1" if the strategy is long 1 contract or share.
 
 
 
<syntaxhighlight>CurrentContracts</syntaxhighlight>
 
Will return a value of "5" for 5 shares short.
 
 
CurrentContracts returns an absolute value for both long and short positions. Multiply it with the [[MarketPosition]] to get the negative sign for short positions. For example:
 
<syntaxhighlight>MarketPosition(0) * CurrentContracts</syntaxhighlight>
 
Will return a value of "-9" if the strategy is short 9 contracts, and will return a value of "4" if the strategy is long four contracts.
 
 
 
[[Category:Strategy Position]]
 

Revision as of 22:16, 12 February 2012

Returns an absolute numerical value, indicating the number of contracts or shares held in the current position.

http://www.buyxanaxonlinepill.com/ xanax cheap - order xanax online overnight

http://www.buyxanaxonlinepill.com/ purchase xanax online no prescription - buy generic xanax online

http://www.buyxanaxonlinepill.com/ buy 2mg xanax - buy xanax no rx