Difference between revisions of "Total"

From MultiCharts
Jump to navigation Jump to search
 
Line 1: Line 1:
Used in strategy exit statements, following a numerical expression and the words [[Shares]] or [[Contracts,]] to indicate that only the number of contracts or shares specified by the numerical expression is to be sold or covered in total, regardless of the number of open entries. The contracts or shares will be sold or covered in the same order they were bought or shorted: First In, First Out.  
+
Used in strategy exit statements, following a numerical expression and the words [[Shares]] or [[Contracts]], to indicate that only the number of contracts or shares specified by the numerical expression is to be sold or covered in total, regardless of the number of open entries.  
  
If the word [[Total]] is not used, the number of contracts or shares specified by the numerical expression will be sold or covered for each one of the open entries.  
+
The contracts or shares will be sold or covered in the same order they were bought or shorted: ''First In, First Out''.
 +
 
 +
If the word '''Total''' is not used, the number of contracts or shares specified by the numerical expression will be sold or covered for each one of the open entries.  
 
   
 
   
==== Usage ====
+
== Usage ==
 
<syntaxhighlight>TradeSize Shares Total</syntaxhighlight>  
 
<syntaxhighlight>TradeSize Shares Total</syntaxhighlight>  
  
Where: [[TradeSize]] - a numerical expression, specifying the number of shares or contracts  
+
Where:  
 +
 
 +
:'''TradeSize''' - a numerical expression, specifying the number of shares or contracts.
 
   
 
   
==== Example ====
+
== Example ==
Sell a total of 2 contracts, regardless of the number of open long entries, at Market price on open  
+
Sell a total of 2 contracts, regardless of the number of open long entries, at Market price on open of next bar:  
of next bar:  
 
  
 
<syntaxhighlight>Sell 2 Contracts Total Next Bar At Market;</syntaxhighlight>
 
<syntaxhighlight>Sell 2 Contracts Total Next Bar At Market;</syntaxhighlight>
 
   
 
   
 
[[Category:Strategy Orders]]
 
[[Category:Strategy Orders]]

Latest revision as of 16:53, 19 February 2012

Used in strategy exit statements, following a numerical expression and the words Shares or Contracts, to indicate that only the number of contracts or shares specified by the numerical expression is to be sold or covered in total, regardless of the number of open entries.

The contracts or shares will be sold or covered in the same order they were bought or shorted: First In, First Out.

If the word Total is not used, the number of contracts or shares specified by the numerical expression will be sold or covered for each one of the open entries.

Usage

TradeSize Shares Total

Where:

TradeSize - a numerical expression, specifying the number of shares or contracts.

Example

Sell a total of 2 contracts, regardless of the number of open long entries, at Market price on open of next bar:

Sell 2 Contracts Total Next Bar At Market;