Difference between revisions of "Stop Limit"
Jump to navigation
Jump to search
(Created page with " Used in signal entry or exit statements to specify a level of stop and a limit price for an entry or an exit. ==Usage== <syntaxhighlight>at Price1 stop Price2 limit</syntax...") |
|||
Line 19: | Line 19: | ||
<syntaxhighlight>SellShort Next Bar 50 stop 45 limit;</syntaxhighlight> | <syntaxhighlight>SellShort Next Bar 50 stop 45 limit;</syntaxhighlight> | ||
+ | |||
+ | [[Category:Strategy Orders]] |
Revision as of 13:39, 4 April 2017
Used in signal entry or exit statements to specify a level of stop and a limit price for an entry or an exit.
Usage
at Price1 stop Price2 limit
Where:
- Price1 - a numerical expression, specifying the Stop Price
- Price2 – a numerical expression, specifying Limit price level
- at - a skip word and can be omitted
Example
Buy within the next bar on the first tick with a price of 105 or less if the stop price reaches 100:
Buy next bar at 100 stop 105 limit;
Sell short within the next bar on the first tick with a price of 45 or more if the stop price reaches 50:
SellShort Next Bar 50 stop 45 limit;