Hello,
I would like to know the proper way to write a Stop Limit Order into the PowerLanguage...I have tried but for some reason, I get an error message.
Thanks in advance,
MD
Stop Limit Orders [SOLVED]
- Roman MultiCharts
- Posts: 50
- Joined: 28 Nov 2011
- Has thanked: 21 times
- Been thanked: 67 times
Re: Stop Limit Orders
Hello,
Stop Limit
Used in signal entry or exit statements to specify a level of stop and a limit price for an entry or an exit.
Usage
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:
Sell short within the next bar on the first tick with a price of 45 or more if the stop price reaches 50:
Stop Limit
Used in signal entry or exit statements to specify a level of stop and a limit price for an entry or an exit.
Usage
Code: Select all
at Price1 stop Price2 limit
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:
Code: Select all
Buy next bar at 100 stop 105 limit;
Code: Select all
SellShort Next Bar 50 stop 45 limit;