Login Page - Create Account

Support Board


Date/Time: Tue, 24 Dec 2024 01:42:20 +0000



[User Discussion] - Back ground color based on Zig Zag

View Count: 1936

[2015-10-14 22:06:31]
User167108 - Posts: 49
Hi

would it possible to set Sieera chart back ground color based on ZigZag Line Color using deault Zigzag Indicator ?

appreciate your help
[2015-10-15 00:28:12]
Sierra Chart Engineering - Posts: 104368
You can look at using the Color Background Based on Alert Condition study to do what you need:
https://www.sierrachart.com/index.php?page=doc/doc_TechnicalStudiesReference.html#s245
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
[2015-10-15 12:27:29]
User167108 - Posts: 49
I read the page before .. When i tried, i am only getting perticular onr bar back ground as the color .. not sure how i can do ... i need to have background of the chart color changes in line with Zig Zag line color..In other words, if ZigZag line is green, chart back ground should be green until zigzagline changes the color .. May be simple thuing if you are acoder..but primarirly i am trader example would be more beneficial ...appreciate ur time
[2015-10-15 13:30:15]
Sawtooth - Posts: 4141
You'll need two instances of the Color Background study, one for each ZZ direction color.

Use formulas like these:
Up:
=ID1.SG1>ID1.SG1[-1]
Down:
=ID1.SG1<ID1.SG1[-1]
where the ZZ study is ID1. Edit as needed.
[2015-10-16 10:24:07]
Joe Hobart - Posts: 89
i will often use a duplicate of the study, or a Study/Price Overlay and just set it to use background style
imagebackgroun.jpg / V - Attached On 2015-10-16 10:24:02 UTC - Size: 303.49 KB - 389 views
[2015-10-17 21:25:03]
User167108 - Posts: 49
Thanks a lot Joe , tomgilb

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

Login

Login Page - Create Account