Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 20:31:33 +0000



[User Discussion] - color bar based on alert condition question

View Count: 7961

[2019-11-24 21:30:51]
AndyB - Posts: 96
I'm using this study on my internals chart to change the background to green if positive and red if negative. currently it DOES change the background, but only for that period of time the criteria was met. I would like the entire background to switch to green if positive and red if negative, not spliced up historically, as looks a little too noisy. I hope this makes sense. It's definitely possible that I have misinterpreted the study settings and this actually is possible, so I apologize if that's the case. anyway, I've attached my chart.

follow up question - Is it possible for lines drawn with the line tool lay underneath the main price graph? in these same charts, i'd like my "zero" line to be underneath, not on top of them. thank you
imageCapture.PNG / V - Attached On 2019-11-24 20:43:07 UTC - Size: 78.53 KB - 553 views
[2019-11-25 05:12:20]
Sierra Chart Engineering - Posts: 104368
This is not supported unless you use the Advanced Custom Study Interface and Language.

For the second question refer to:
Chart Drawing Tools: Controlling Display Order of Chart Drawings Relative to Graphs
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: 2019-11-25 05:12:28
[2019-11-25 07:32:14]
Ackin - Posts: 1863
I would like the entire background to switch to green if positive and red if negative

Do you want it according to the state of the last candle?

If YES it is nonsensical to redraw the constantly colored background bars. Then it would be better to solve this in another way. For example, using a graphic element that will be in the background and will change its color according to the condition. This saves a lot of memory. I will create a study for it today and you can download it from our forum in the evening.



contact link:
https://www.sierrachart.com/UserControlPanel.php?page=StudyStore&SCDLLName=zyp_download_free
Date Time Of Last Edit: 2020-06-24 22:52:45
[2019-12-05 23:19:19]
AndyB - Posts: 96
Thank you! yes thats what i would like to happen. i use internals all day long and would like to have that whole chart be red or green so i can almost feel it better if that makes sense. in a perfect world, i'd like the intensity of the red or green to be higher the more positive/negative the internal is. sorry i just now saw this. thanks!
[2020-01-02 18:45:29]
Ackin - Posts: 1863
I missed your answer, sorry....It will be in tomorrow's update.

Free study: Colored rectangle by alert


contact link:
https://www.sierrachart.com/UserControlPanel.php?page=StudyStore&SCDLLName=zyp_download_free


btw.

in a perfect world, i'd like the intensity of the red or green to be higher the more positive/negative the internal is.
The world can be perfect. You'll have it what you want there. ;)
[2021-08-29 16:55:57]
User103448 - Posts: 69
I have a problem with highlighting swing highs and lows that move above or under a VWAP.
When want to highlight background of a bar that is above VWAP it works.
But when i invers the commands to highlight Swing Highs under a VWAP it highlights everything.

Where is my mistake?
image1.jpg / V - Attached On 2021-08-29 16:55:50 UTC - Size: 445.76 KB - 259 views
image2.jpg / V - Attached On 2021-08-29 16:55:54 UTC - Size: 462.51 KB - 214 views
[2021-08-31 14:00:51]
John - SC Support - Posts: 30444
You have to remember that when a Subgraph is not displayed it has a value of zero (0). Therefore, when you ask to display the background when the Swing Low is less than the VWAP, you are getting everywhere that the value is 0 along with the other items you want. You would need to add an option to exclude zeros - AND(ID7.SG1 < ID15.SG1, ID7.SG1 <> 0).
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-08-31 16:05:45]
User103448 - Posts: 69
Hello John,

thank you very much. This makes sense. It works now.

Is there a way to take the swing highs and low from the ZigZag Indicator? There is no subgraph for the high and the low to define them in the color bar based on alert condition.

The Problem is that, the swing low high study defines the lows and highs delayed. While the ZigZag indicator works in real time.

Is there any other study that im not finding ?
[2021-08-31 17:16:28]
John - SC Support - Posts: 30444
You would have to use a Spreadsheet Study in combination with the Zig Zag study to get the information you are wanting.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-08-31 19:17:49]
Ackin - Posts: 1863
I have a problem with highlighting swing highs and lows that move above or under a VWAP.
When want to highlight background of a bar that is above VWAP it works.
But when i invers the commands to highlight Swing Highs under a VWAP it highlights everything.

Where is my mistake?


The Problem is that, the swing low high study defines the lows and highs delayed.

look at post #5

You can find tools for ZigZag and HighLow swing study for free on my forum

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

Login

Login Page - Create Account