Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 18:05:05 +0000



Conditional Coloring Daily OHLC Lines

View Count: 173

[2024-08-10 11:38:44]
User652903 - Posts: 25
I have a daily chart and an intraday chart. I have the prior day’s OHLC lines, referenced from the daily chart, displaying on the intraday chart. Using Daily OHLC lines study for this.

I want the prior day OHLC lines on the intraday chart to be colored green if the prior day was a green candle on the daily chart. And red if the prior day was a red candle on the daily chart.

What’s the easiest way to accomplish this?
[2024-08-11 11:10:44]
User652903 - Posts: 25
Edit: I solved this using a spreadsheet study. Believe that or a custom study is the only way possible.
Date Time Of Last Edit: 2024-08-11 11:11:05
[2024-08-12 16:05:35]
John - SC Support - Posts: 36238
The Spreadsheet Study would be the easiest way to do this. You could also use 4 copies of the "Color Bar Based on Alert Condition" study, but working with date and time is a little more difficult with the Alert Syntax.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account