Difference between revisions of "Stop"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | Used in strategy entry or exit statements to specify a Stop price for an entry or an exit. | + | Used in strategy entry or exit statements to specify a '''Stop''' price for an entry or an exit. |
+ | |||
A Stop order will execute at the specified price or worse. A worse price is a higher price for Buy and Buy to cover orders, and a lower price for Sell and Sell short orders. | A Stop order will execute at the specified price or worse. A worse price is a higher price for Buy and Buy to cover orders, and a lower price for Sell and Sell short orders. | ||
− | + | == Usage == | |
<syntaxhighlight>At Price Stop</syntaxhighlight> | <syntaxhighlight>At Price Stop</syntaxhighlight> | ||
− | Where: | + | Where: |
− | + | ||
− | + | :'''Price''' - a numerical expression, specifying the trigger stop price. | |
+ | :'''At''' - a skip word and can be omitted | ||
− | + | == Example == | |
Sell within the next bar on the first tick with a price of 100 or less: | Sell within the next bar on the first tick with a price of 100 or less: | ||
<syntaxhighlight>Sell Next Bar 100 Stop;</syntaxhighlight> | <syntaxhighlight>Sell Next Bar 100 Stop;</syntaxhighlight> | ||
− | |||
Cover within the next bar on the first tick with a price of 50 or more: | Cover within the next bar on the first tick with a price of 50 or more: |
Latest revision as of 16:54, 19 February 2012
Used in strategy entry or exit statements to specify a Stop price for an entry or an exit.
A Stop order will execute at the specified price or worse. A worse price is a higher price for Buy and Buy to cover orders, and a lower price for Sell and Sell short orders.
Usage
At Price Stop
Where:
- Price - a numerical expression, specifying the trigger stop price.
- At - a skip word and can be omitted
Example
Sell within the next bar on the first tick with a price of 100 or less:
Sell Next Bar 100 Stop;
Cover within the next bar on the first tick with a price of 50 or more:
BuyToCover Next Bar At 50 Stop;