what keyword to use to get bid and ask price of data  [SOLVED]

Questions about MultiCharts and user contributed studies.
martingale
Posts: 91
Joined: 10 Dec 2010
Has thanked: 2 times
Been thanked: 1 time

what keyword to use to get bid and ask price of data

Postby martingale » 08 Sep 2012

I tried buy, but seems 'buy' refer to the action of buying

is there another keyword that I can use in PLE to get buy or ask or data?

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: what keyword to use to get bid and ask price of data

Postby sptrader » 08 Sep 2012

I think you need to plot bid data or ask data and then refer to that data stream- Example--
data1 = ES
data2 = bid price
data3 = ask price

format instrument , settings, "quote field" allows you to choose bid or ask to plot..

(I don't think you can access bid or ask directly in PLE without plotting them ...maybe in .net version)

martingale
Posts: 91
Joined: 10 Dec 2010
Has thanked: 2 times
Been thanked: 1 time

Re: what keyword to use to get bid and ask price of data

Postby martingale » 08 Sep 2012

thanks sptrader
doesn't it sound strange if in quote manager we can put bid ask trade in the same symbol but in PLE we cant use one data to refer to the same symbol?

I think you need to plot bid data or ask data and then refer to that data stream- Example--
data1 = ES
data2 = bid price
data3 = ask price

format instrument , settings, "quote field" allows you to choose bid or ask to plot..

(I don't think you can access bid or ask directly in PLE without plotting them ...maybe in .net version)

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: what keyword to use to get bid and ask price of data

Postby TJ » 08 Sep 2012

I tried buy, but seems 'buy' refer to the action of buying

is there another keyword that I can use in PLE to get buy or ask or data?
Look up:

InsideAsk
InsideBid

martingale
Posts: 91
Joined: 10 Dec 2010
Has thanked: 2 times
Been thanked: 1 time

Re: what keyword to use to get bid and ask price of data

Postby martingale » 08 Sep 2012

thanks TJ

I loaded bid and ask into my symbol and checked them by editing data,
but why when I plot insidebid of data1, it only plot 0.
what does this mean by '
Quote Fields cannot be referenced historically.
'
I tried buy, but seems 'buy' refer to the action of buying

is there another keyword that I can use in PLE to get buy or ask or data?
Look up:

InsideAsk
InsideBid

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: what keyword to use to get bid and ask price of data

Postby TJ » 08 Sep 2012

thanks TJ

I loaded bid and ask into my symbol and checked them by editing data,
but why when I plot insidebid of data1, it only plot 0.
what does this mean by '
Quote Fields cannot be referenced historically.
'
I tried buy, but seems 'buy' refer to the action of buying

is there another keyword that I can use in PLE to get buy or ask or data?
Look up:

InsideAsk
InsideBid
Have you looked up the keywords as I suggested?
or did you simply apply them to your indicator/chart ?

martingale
Posts: 91
Joined: 10 Dec 2010
Has thanked: 2 times
Been thanked: 1 time

Re: what keyword to use to get bid and ask price of data

Postby martingale » 08 Sep 2012

I searched it in multichart wiki and get this
Usage

InsideBid
Notes

Quote Fields cannot be referenced historically.
Use InsideAsk to get the current best Ask for the symbol.
Example

InsideBid
Will return the current best Bid.

it doesn't show up any example. where can I find it?

thanks
thanks TJ

Have you looked up the keywords as I suggested?
or did you simply apply them to your indicator/chart ?

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: what keyword to use to get bid and ask price of data

Postby TJ » 08 Sep 2012

InsideBid

Quote Field

Will return the current best Bid.

Quote Field = real time price

current best Bid = real time best bid


ie. not for historical use

martingale
Posts: 91
Joined: 10 Dec 2010
Has thanked: 2 times
Been thanked: 1 time

Re: what keyword to use to get bid and ask price of data

Postby martingale » 08 Sep 2012

i c, so there's no way to get bid and ask from data1, except plot bid,ask separately in the chart and refer them as data2,data3.
right?
InsideBid

Quote Field

Will return the current best Bid.

Quote Field = real time price

current best Bid = real time best bid


ie. not for historical use

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: what keyword to use to get bid and ask price of data

Postby TJ » 08 Sep 2012

i c, so there's no way to get bid and ask from data1, except plot bid,ask separately in the chart and refer them as data2,data3.
right?
You can get bid and ask from data1, in real time, by using the following keywords:

InsideAsk
InsideBid

martingale
Posts: 91
Joined: 10 Dec 2010
Has thanked: 2 times
Been thanked: 1 time

Re: what keyword to use to get bid and ask price of data

Postby martingale » 09 Sep 2012

pretty sad to know that, but good to have a solution finally.
thanks TJ.

i c, so there's no way to get bid and ask from data1, except plot bid,ask separately in the chart and refer them as data2,data3.
right?
You can get bid and ask from data1, in real time, by using the following keywords:

InsideAsk
InsideBid

Nick
Posts: 496
Joined: 04 Aug 2006
Has thanked: 4 times
Been thanked: 24 times

Re: what keyword to use to get bid and ask price of data  [SOLVED]

Postby Nick » 10 Sep 2012

I tried buy, but seems 'buy' refer to the action of buying

is there another keyword that I can use in PLE to get buy or ask or data?
Look up:

InsideAsk
InsideBid
Just be aware that these return the value of the current best bid and ask which may not be what the value that they where at the time of the tick you are processing.


Return to “MultiCharts”