Support Board
Date/Time: Fri, 29 May 2026 15:59:57 +0000
Colour bar based on alert condition for Heikin Ashi bars.
View Count: 50
| [2026-05-28 21:56:17] |
| Louis Vs - Posts: 5 |
|
Hi, My formulae is working for regular candlestick bars, but not for Heikin ashi Study bars. Someone posted a thread discussing the same issue, their fix seemed to be setting the Heikin ashi study to display as main price graph. When I do this, the entire chart, my studies and scale goes blank. I have also tried setting the scale to “same as region” on both the Heikin Ashi study and the colour bar study. Which does nothing at all. Any ideas on how to resolve this? My formula is based on range bars reaching a minimum volume, and a ratio of 70% bid-ask or ask-bid volume. Again, this works on regular candlestick bars, but not on the Heikin Ashi study. (I have also tried writing the Heikin Ashi study’s ID directly into the formula. Using its open and close.) |
| [2026-05-28 21:58:50] |
| John - SC Support - Posts: 46358 |
|
Please get us the chart so we can take a look at how you have this setup and see if we can quickly identify the issue. Follow these instructions to get us the chart: Support Board Posting Information: Providing Chartbook with Only a Single Chart You can attach it privately, so that only you and Sierra Chart can view it. For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
| [2026-05-28 22:22:19] |
| Louis Vs - Posts: 5 |
|
Single chart in chartbook should be attached. Thank you. The study subgraph will be hidden when the issue is resolved, it is simply there for the bars volume ratio to be pulled from.
|
Private File Attachment Deleted. |
| [2026-05-29 14:37:45] |
| John - SC Support - Posts: 46358 |
|
To start with, you are missing a comma, so the alert condition is wrong. Here is what you have now: =OR( id22.sg1 > 0.7 id4.sg15 > id15.sg1 ) Here is what it should be: =OR( id22.sg1 > 0.7, id4.sg15 > id15.sg1 ) We are also missing the study with ID of 4. Can you please get us another chart that includes that study in it? For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
| [2026-05-29 15:23:16] |
| Louis Vs - Posts: 5 |
|
Terribly sorry, the 4 and 15 in the first section of line 2 were swapped. I have instead attached a chartbook with a time-based, candlestick chart, on which the study is working as desired. The code I will be using is on the candlestick chart (IDs 21 and 24). I simply would like to use that given code, and reference the HA bars instead of candlestick bars, I added a HA study (ID1) and hid it for this purpose. I believe this study/ID needs to be referenced in the formula, for the HA bars to be painted, but I cannot figure it out. If we can resolve this, I will then change the time based chart back to a range chart, and adjust the minimum volume alert condition accordingly. I figure this is the most efficient way to supply you with the problem/chart. Thank you very much for all your help. |
Private File |
To post a message in this thread, you need to log in with your Sierra Chart account:
