Changes
Stop
,Created page with "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 highe..."
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 ====
<syntaxhighlight>At Price Stop</syntaxhighlight>
Where: [[Price]] - a numerical expression, specifying the Limit Price
[[At]] - a skip word and can be omitted
==== Example ====
<syntaxhighlight>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;</syntaxhighlight>
[[Category:Strategy 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>
Where: [[Price]] - a numerical expression, specifying the Limit Price
[[At]] - a skip word and can be omitted
==== Example ====
<syntaxhighlight>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;</syntaxhighlight>
[[Category:Strategy Orders]]