Difference between revisions of "Sell"

From MultiCharts
Jump to navigation Jump to search
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Completely or partially exits one or all of the long entries as specified by the parameters.  
 
Completely or partially exits one or all of the long entries as specified by the parameters.  
 +
 
The exit point is visually indicated on a chart by an Arrow and a Tick. The Arrow identifies the time and the Tick identifies the price value of the exit point. Labels, displaying the exit name and the number of contracts or shares traded, are displayed above the Sell Arrow.  
 
The exit point is visually indicated on a chart by an Arrow and a Tick. The Arrow identifies the time and the Tick identifies the price value of the exit point. Labels, displaying the exit name and the number of contracts or shares traded, are displayed above the Sell Arrow.  
  
An order is executed at the point specified by the parameters; if the order is not filled within the specified bar, the order is cancelled.  
+
<div style="background-color: #FFE4E1;margin-bottom:10px;">An order is executed at the point specified by the parameters;  
 +
if the order is not filled '''within''' the specified bar, the order is '''cancelled'''.</div>
  
==== Usage ====
+
== Usage ==
<syntaxhighlight>Sell[("ExitLabel")][From Entry("EntryLabel")][TradeSize[Total]]Exit</syntaxhighlight>  
+
<syntaxhighlight>Sell[("ExitLabel")] [From Entry("EntryLabel")] [TradeSize[Total]] Exit</syntaxhighlight>  
Parameters inside the square brackets are optional  
+
Parameters inside the square brackets are optional - if these aren't defined, the default is used.
  
==== Parameters ====  
+
== Parameters ==
[[ExitLabel]] - an optional parameter; assigns a name that will be displayed in the name label above the exit  
+
:'''ExitLabel''' - an optional parameter; assigns a name that will be displayed in the name label above the exit.
 +
::If '''ExitLabel''' is not specified, the name "Sell" will be used for the first exit, "Sell#2" for the second exit, "Sell#3" for the third exit, etc.
  
If [[ExitLabel]] is not specified, the name "Sell" will be used for the first exit, "Sell#2" for the second exit, "Sell#3" for the third exit, etc.  
+
:'''EntryLabel''' - an optional parameter; ties the exit to the particular entry that was assigned the '''EntryLabel''' name; the name must be preceded by the word [[Entry]], the word [[From]] is a [[:Category:Skip Words|skip word]] and can be omitted.
 +
::An exit can only be tied to an entry within the same signal. For more information, see [[Buy]].
 +
::If '''EntryLabel''' is not specified, '''all''' of the open long entries will be closed.  
  
[[EntryLabel]] - an optional parameter; ties the exit to the particular entry that was assigned the [[EntryLabel]] name; the name must be preceded by the word [["Entry",]] the word [["From"]] is a skip word and can be omitted
+
:'''TradeSize''' - an optional parameter; a numerical expression, specifying the number of contracts or shares to sell; the expression must be followed by one of the following interchangeable words: [[Share]], [[Shares]], [[Contract]] or [[Contracts]].
 +
::By default, the number of contracts or shares specified by the '''TradeSize''' parameter will be sold from '''each one''' of the open long entries.
 +
::If '''TradeSize''' is followed by the word [[Total]], only the number of contracts or shares specified by the '''TradeSize''' parameter will be sold, regardless of the number of open long entries. The contracts or shares will be sold in the same order they were bought: ''First In, First Out''.
 +
::If '''TradeSize''' is not specified, the entire long position will be closed out.
  
An exit can only be tied to an entry within the same signal. For more information, see [[Buy]]
+
:'''Exit''' - a required parameter; specifies the timing and price of exit. See the section below for the different types of exits.
  
If [[EntryLabel]] is not specified, [[all]] of the open long entries will be closed.
+
== Types of exit ==
 +
There are four types of Exit:
  
[[TradeSize]] - an optional parameter; a numerical expression, specifying the number of contracts or shares to sell; the expression must be followed by one of the following transposable words: [[Share, Shares, Contract]] or [[Contracts.]]
+
=== Exit this bar on close ===
 +
<syntaxhighlight>This Bar On Close</syntaxhighlight>
  
By default, the number of contracts or shares specified by the [[TradeSize]] parameter will be sold from [[each one]] of the open long entries.  
+
Where:
 +
:'''On''' - a [[:Category:Skip Words|skip word]] that can be omitted.
  
If [[TradeSize]]  is followed by the word [["Total",]] only the number of contracts or shares specified by the [[TradeSize]] parameter will be sold, regardless of the number of open long entries. The contracts or shares will be sold in the same order they were bought: First In, First Out.
+
A Sell Arrow will be placed at the current bar's [[Close]] tick.  
  
If [[TradeSize]]  is not specified, the entire long position will be closed out.
+
=== Exit next bar at open ===
 +
<syntaxhighlight>Next Bar At Open</syntaxhighlight>
 +
or
 +
<syntaxhighlight>Next Bar At Market</syntaxhighlight>
  
[[Exit]] - a required parameter; specifies the timing and price of exit.
+
Where:
  
There are four types of Exit:  
+
:Words '''Market''' and '''Open''' are interchangeable.
 +
:'''At''' - a [[:Category:Skip Words|skip word]] that can be omitted.
  
<syntaxhighlight>This Bar[On]Close</syntaxhighlight>
+
A Sell Arrow will be placed at the next bar's [[Open]] tick.
  
Where: - [[On]]  is a skip word and can be omitted
+
=== Exit next bar at limit ===
 +
<syntaxhighlight>Next Bar At Price Limit</syntaxhighlight>
  
A Sell Arrow will be placed at the current bar's [[Close]] tick.
+
Where:  
 
 
<syntaxhighlight>Next Bar[At]Open  or  Next Bar[At]Market</syntaxhighlight>
 
 
 
Where: - words [["Market"]] and [["Open"]] are transposable
 
           
 
-[[At]]  is a skip word and can be omitted
 
  
A Sell Arrow will be placed at the next bar's [[Open]] tick.  
+
:'''Price''' - a numerical expression, specifying the [[Limit]] Price.
 +
:'''At''' - a [[:Category:Skip Words|skip word]] that can be omitted.
  
<syntaxhighlight>Next Bar[At]Price Limit</syntaxhighlight>
+
A Sell Arrow will be placed on the next bar at the first tick with a price value greater than or equal to '''Price'''; if there are no such ticks within the next bar, the order will be cancelled.
  
Where: - [[Price]]  is a numerical expression, specifying the Limit Price
+
=== Exit next bar at stop ===
           
+
<syntaxhighlight>Next Bar At Price Stop</syntaxhighlight>
- [[At]]  is a skip word and can be omitted
 
  
A Sell Arrow will be placed on the next bar at the first tick with a price value greater than or equal to [[Price]] ; if there are no such ticks within the next bar, the order will be cancelled.
+
Where:
  
<syntaxhighlight>Next Bar[At]Price  Stop</syntaxhighlight>
+
:'''Price''' - a numerical expression, specifying the [[Stop]] Price.
 +
:'''At''' - a [[:Category:Skip Words|skip word]] that can be omitted.
  
Where: - [[Price]  is a numerical expression, specifying the Stop Price
+
A Sell Arrow will be placed on the next bar at the first tick with a price value equal to or less than the ''''Price'''; if there are no such ticks within the next bar, the order will be cancelled.
           
 
- [[At]]  is a skip word and can be omitted
 
  
A Sell Arrow will be placed on the next bar at the first tick with a price value equal to or less than the [[Price]] ; if there are no such ticks within the next bar, the order will be cancelled.
+
== Examples ==
 
==== Example ====
 
 
Completely exit all open long entries at Market price on close of this bar and label the exit "Complete Exit":  
 
Completely exit all open long entries at Market price on close of this bar and label the exit "Complete Exit":  
  

Latest revision as of 17:08, 19 February 2012

Completely or partially exits one or all of the long entries as specified by the parameters.

The exit point is visually indicated on a chart by an Arrow and a Tick. The Arrow identifies the time and the Tick identifies the price value of the exit point. Labels, displaying the exit name and the number of contracts or shares traded, are displayed above the Sell Arrow.

An order is executed at the point specified by the parameters; if the order is not filled within the specified bar, the order is cancelled.

Usage

Sell[("ExitLabel")] [From Entry("EntryLabel")] [TradeSize[Total]] Exit

Parameters inside the square brackets are optional - if these aren't defined, the default is used.

Parameters

ExitLabel - an optional parameter; assigns a name that will be displayed in the name label above the exit.
If ExitLabel is not specified, the name "Sell" will be used for the first exit, "Sell#2" for the second exit, "Sell#3" for the third exit, etc.
EntryLabel - an optional parameter; ties the exit to the particular entry that was assigned the EntryLabel name; the name must be preceded by the word Entry, the word From is a skip word and can be omitted.
An exit can only be tied to an entry within the same signal. For more information, see Buy.
If EntryLabel is not specified, all of the open long entries will be closed.
TradeSize - an optional parameter; a numerical expression, specifying the number of contracts or shares to sell; the expression must be followed by one of the following interchangeable words: Share, Shares, Contract or Contracts.
By default, the number of contracts or shares specified by the TradeSize parameter will be sold from each one of the open long entries.
If TradeSize is followed by the word Total, only the number of contracts or shares specified by the TradeSize parameter will be sold, regardless of the number of open long entries. The contracts or shares will be sold in the same order they were bought: First In, First Out.
If TradeSize is not specified, the entire long position will be closed out.
Exit - a required parameter; specifies the timing and price of exit. See the section below for the different types of exits.

Types of exit

There are four types of Exit:

Exit this bar on close

This Bar On Close

Where:

On - a skip word that can be omitted.

A Sell Arrow will be placed at the current bar's Close tick.

Exit next bar at open

Next Bar At Open

or

Next Bar At Market

Where:

Words Market and Open are interchangeable.
At - a skip word that can be omitted.

A Sell Arrow will be placed at the next bar's Open tick.

Exit next bar at limit

Next Bar At Price Limit

Where:

Price - a numerical expression, specifying the Limit Price.
At - a skip word that can be omitted.

A Sell Arrow will be placed on the next bar at the first tick with a price value greater than or equal to Price; if there are no such ticks within the next bar, the order will be cancelled.

Exit next bar at stop

Next Bar At Price Stop

Where:

Price - a numerical expression, specifying the Stop Price.
At - a skip word that can be omitted.

A Sell Arrow will be placed on the next bar at the first tick with a price value equal to or less than the 'Price; if there are no such ticks within the next bar, the order will be cancelled.

Examples

Completely exit all open long entries at Market price on close of this bar and label the exit "Complete Exit":

Sell("Complete Exit")This Bar On Close;

Completely exit from the long position established by the entry labeled "Original Entry", at Market price on open of next bar:

Sell From Entry("Original Entry")Next Bar At Open;

Sell 10 shares of the long position established by the entry labeled "Original Entry", at Market price on open of next bar:

Sell Entry("Original Entry")10 Shares Next Bar At Market;

Sell 5 contracts for all open long entries at Market price on open of next bar:

Sell 5 Contracts Next Bar Market;

Sell a total of 1 share, regardless of the number of open long entries, within the next bar on the first tick with a price of 100 or more (the longest-held share will be sold if the price is met):

Sell 1 Share Total Next Bar At 100 Limit;

Completely exit all long entries within the next bar on the first tick with a price of 50 or less:

Sell Next Bar 50 Stop;