Login Page - Create Account

Support Board


Date/Time: Fri, 20 Jul 2018 02:35:35 +0000



Divergence between Ask/Bid Volume Difference Bars and Price

Support Request:
[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: 76
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: 61914
You will need to use the Color Bar Based on Alert Condition study:

https://www.sierrachart.com/index.php?page=doc/StudiesReference.php&ID=245&Name=Color_Bar_Based_on_Alert_Condition

And then you need to use this particular Draw Style:
https://www.sierrachart.com/index.php?page=doc/ChartStudies.html#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. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
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: 61914
Follow through the instructions in this subsection here:
https://www.sierrachart.com/index.php?page=doc/StudiesReference.php&ID=245&Name=Color_Bar_Based_on_Alert_Condition#DrawingArrowsAtHighOrLowOfBars

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. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
Date Time Of Last Edit: 2017-12-21 18:30:50
[2018-02-08 13:38:01]
User657944 - Posts: 27
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: 61914
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. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.

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

Login


Login Page - Create Account