Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 06:01:37 +0000



Post From: Show/Hide Level Based on Proximity to Level

[2023-04-12 15:19:29]
John - SC Support - Posts: 31704
With respect to your first question - if the line in question is from a study, then you could use the Color Bar Based on Alert Condition to color the line the same as the background when the price is not within the range, and then to "not" color it when the price is within range. Refer to the information here:
Color Bar Based on Alert Condition

Just note that you would need a single Color Bar Based on Alert Condition study for each line in question. So it would definitely be better to create a custom study. If you do, you do not want to hide the Study, you would want to hide the Subgraph for the study (sc.SetStudySubgraphDrawStyle())

With regards to your last question, refer to the following:
Chart Scale and Scale Adjusting: Basing Scale Only on Price Bars
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing