Stop Limit Orders

Questions about MultiCharts and user contributed studies.
Guest

Stop Limit Orders

Postby Guest » 19 Jan 2012

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

User avatar
Roman MultiCharts
Posts: 50
Joined: 28 Nov 2011
Has thanked: 21 times
Been thanked: 67 times

Re: Stop Limit Orders

Postby Roman MultiCharts » 19 Jan 2012

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

Code: Select all

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:

Code: Select all

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:

Code: Select all

SellShort Next Bar 50 stop 45 limit;
These users thanked the author Roman MultiCharts for the post (total 3):
jojo0908sptraderHenry MultiСharts

Guest

Re: Stop Limit Orders

Postby Guest » 19 Jan 2012

Ok got it! Thanks!


Return to “MultiCharts”