Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 05:49:15 +0000



from color background to a variable

View Count: 9182

[2020-07-05 07:37:13]
User275592 - Posts: 97
Hi,

I need some help to transform (if possible) a "color background on alert condition"

I am looking for a way to draw on a graph in a dedicated region a line at "+1" value if the condition used in the "color background" is true, 0 otherwise

If possible without writing any line in acsil ;-)

Thank you for your help
[2020-07-05 14:18:30]
Sawtooth - Posts: 3976
Use the Spreadsheet Formula study, with a formula like this in the Formula field:
=IF(ID1.SG1,1,0)
where ID1 is the color background study.

Note: The Spreadsheet Formula study must be below the color background study in the Studies to Graph list.
[2020-08-06 14:33:36]
User275592 - Posts: 97
Thank you very much. Another question : I have a moving average 1min green when going up and red otherwise.
How can I display an horizontal bar on top of my 10 sec graph, green when the slope of moving average M1 is green and red otherwise ?
thank you for your help
[2020-08-06 16:26:59]
Sawtooth - Posts: 3976
How can I display an horizontal bar on top of my 10 sec graph, green when the slope of moving average M1 is green and red otherwise ?

Add the Study/Price Overlay study to the 10 sec chart,
Set the 'Study to Overlay' to the MA on the 1 min chart,
Set the 'Bar Time Matching Method' to 'Containing Match',

This will overlay the MA line. You can choose another Draw Style, but you'll need to set 'Use Styles from Source Study' to No.
[2020-08-06 19:14:40]
Sierra Chart Engineering - Posts: 104368
You would need to use combination of the Horizontal Lines study along with the Color Bar Based On Alert Condition study.

Refer to the information here:
Horizontal Lines

and here:
Color Bar Based on Alert Condition

Regarding the first post, refer to:
Color Bar Based on Alert Condition: Drawing Arrows/Text or Other Styles at the High or Low of Bars
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: 2020-08-06 19:15:42

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

Login

Login Page - Create Account