sellshort getting Market instead of Limit

Questions about MultiCharts and user contributed studies.
Ram
Posts: 90
Joined: 25 Nov 2014
Has thanked: 17 times
Been thanked: 5 times

sellshort getting Market instead of Limit

Postby Ram » 26 Nov 2014

Hi All,

as part of many POC's, I've tried the following command in my signal:

Code: Select all

sellshort Next Bar At close Limit;
although i get to see the order executed in IB's TWS, the sell to open executed as Market instead of Limit, what am I doing wrong here?

Thx much in advance,
Cheers,
R.

wilkinsw
Posts: 662
Joined: 21 Apr 2013
Has thanked: 154 times
Been thanked: 104 times

Re: sellshort getting Market instead of Limit

Postby wilkinsw » 27 Nov 2014

sellshort "at close" limit

if best bid on the open of the next bar > "at close" then your order will execute as an aggressor sell. Aka a market order, worse price = "at close".

Else it will join the book as a limit order.

Ram
Posts: 90
Joined: 25 Nov 2014
Has thanked: 17 times
Been thanked: 5 times

Re: sellshort getting Market instead of Limit

Postby Ram » 28 Nov 2014

sellshort "at close" limit

if best bid on the open of the next bar > "at close" then your order will execute as an aggressor sell. Aka a market order, worse price = "at close".

Else it will join the book as a limit order.

that makes seance :)

Thx!


Return to “MultiCharts”