Login Page - Create Account

Support Board


Date/Time: Tue, 23 Apr 2024 13:33:44 +0000



Divergence between Ask/Bid Volume Difference Bars and Price

View Count: 3571

[2017-12-21 01:16:56]
ita31 - Posts: 7
Hi

I am new to Sierra charts and would like to start creating a simple indicator. Can someone guide me as to where to start if I want to create an indicator that will draw a text below bar's low or above bar's high based on the following criteria:

Indicators used are Numbers Bar and Ask/Bid VOlume DIfference Bars

If close > open and Delta < 0, draw text "imbalance" 2 ticks below bar's LOW

If close < open and Delta > 0, draw text "imbalance" 2 ticks above bar's HIGH

Any help is appreciated

thank you

thanks

ITA
[2017-12-21 01:56:35]
jsoviero - Posts: 84
hi Ita,
There are some very good videos published by Lee Harris of Emoji.com
He has several Sierra based indicators that measure Delta Divergence.
you will find them freely available on youtube.
[2017-12-21 03:56:59]
ita31 - Posts: 7
just checked what he has but looking for some coding examples to help with my simple indicator. His divergence uses a different logic than mine and code is not available to share.
[2017-12-21 04:07:53]
Sierra Chart Engineering - Posts: 104368
You will need to use the Color Bar Based on Alert Condition study:

Color Bar Based on Alert Condition

And then you need to use this particular Draw Style:
Chart Studies: Text (ACSIL: DRAWSTYLE_TEXT)

What you want to do is very easily accomplished.
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: 2017-12-21 04:08:39
[2017-12-21 10:03:26]
ita31 - Posts: 7
when I added the study "Color Bar Based on alert condition", I did the following

Input Data = last (i cant seem to select input data to be both last and open?)
Study Reference = ID1.SG1 (Ask volume bid volume difference)

under alert box

=AND(C>O, ID1.SG1<0)

nothing shows up in the chart

what am I doing wrong?
[2017-12-21 14:05:58]
ita31 - Posts: 7
i was able to figure out but when using "color bar based on alert condition", what's the best way to fix the scaling issue? any way to control where the text is plotted like below bar's low for bullish signals and above bar's high for bearish signals within 2 ticks?
[2017-12-21 18:30:13]
Sierra Chart Engineering - Posts: 104368
Follow through the instructions in this subsection here:
Color Bar Based on Alert Condition: Drawing Arrows/Text or Other Styles at the High or Low of Bars

You will need 2 instances of the Color Bar Based on Alert Condition study. One for each of these:

If close > open and Delta < 0, draw text "imbalance" 2 ticks below bar's LOW

If close < open and Delta > 0, draw text "imbalance" 2 ticks above bar's HIGH

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: 2017-12-21 18:30:50
[2018-02-08 13:38:01]
User657944 - Posts: 173
Hi ITA

I write here because yesterday I sent you a request to send direct message but may be you did not see it yet, so I would like to understand if you solved the function because I'm ineterested to do the same but I'm in the fog right now.
Thx
[2018-02-08 22:14:13]
Sierra Chart Engineering - Posts: 104368
Do not send us direct messages. Those will only get ignored.

We do not understand what your question is here.
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

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

Login

Login Page - Create Account