Changes
Lower
,Created page with "Used in strategy entry or exit statements to specify a price range for an entry or an exit. Must be preceded by the word Or. ==== Usage ==== <syntaxhighlight>At Price ..."
Used in strategy entry or exit statements to specify a price range for an entry or an exit.
Must be preceded by the word [[Or.]]
==== Usage ====
<syntaxhighlight>At Price Or Lower</syntaxhighlight>
Where: [[Price]] - a numerical expression, specifying the base Price
[[At]] - a skip word and can be omitted
==== Notes ====
[[At Price Or Lower]] is an equivalent of a Limit when used with [[Buy]] or [[BuyToCover]] statements, and an equivalent of a Stop when used with [[Sell]] or [[SellShort]] statements.
==== Example ====
Buy within the next bar on the first tick with a price of 100 or less:
<syntaxhighlight>Buy Next Bar At 100 Or Lower;</syntaxhighlight>
Sell short within the next bar on the first tick with a price of 50 or less:
<syntaxhighlight>SellShort Next Bar At 50 Or Lower;</syntaxhighlight>
[[Category:Strategy Orders]]
Must be preceded by the word [[Or.]]
==== Usage ====
<syntaxhighlight>At Price Or Lower</syntaxhighlight>
Where: [[Price]] - a numerical expression, specifying the base Price
[[At]] - a skip word and can be omitted
==== Notes ====
[[At Price Or Lower]] is an equivalent of a Limit when used with [[Buy]] or [[BuyToCover]] statements, and an equivalent of a Stop when used with [[Sell]] or [[SellShort]] statements.
==== Example ====
Buy within the next bar on the first tick with a price of 100 or less:
<syntaxhighlight>Buy Next Bar At 100 Or Lower;</syntaxhighlight>
Sell short within the next bar on the first tick with a price of 50 or less:
<syntaxhighlight>SellShort Next Bar At 50 Or Lower;</syntaxhighlight>
[[Category:Strategy Orders]]