Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 01:54:57 +0000



Relative spread for a given volume

View Count: 1594

[2013-12-22 14:12:47]
working4coins - Posts: 3
Hello,

I'm trying SC for trading Bitcoin.
I would like to display relative spread for a given volume.

spread_rel = 200.0 * (ask - bid) / (bid + ask)
where bid is bid price for a volume V
and ask is ask price for a volume V

Ideally I would like to display it numerically and also to draw it

I ever saw Analysis / Studies / "Time and Sales Bid&Ask" but I think it's only for highest bid and lowest ask.
Moreover it's an absolute difference... not a relative difference.

Kind regards
Date Time Of Last Edit: 2013-12-22 14:36:59
[2013-12-22 20:03:40]
Sierra Chart Engineering - Posts: 104368
So what exactly is the question?

Do want to know how to access the current market depth data and how to draw text on a chart?
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-12-22 20:25:49]
working4coins - Posts: 3
Yes that's both questions... (calculating using orderbook depth) and drawing text on a chart.

If I could also plot this spread_rel value it will help me a lot to understand how SC works.

Thanks.
Date Time Of Last Edit: 2013-12-22 20:28:47
[2013-12-23 18:29:39]
Sierra Chart Engineering - Posts: 104368
Refer to these two sections in the documentation:

http://www.sierrachart.com/index.php?l=doc/doc_ACSIL_Members_Variables_And_Arrays.html#scSymbolData

http://www.sierrachart.com/index.php?l=doc/doc_DLLTools.html
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2013-12-23 18:30:27

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account