Support Board
Date/Time: Sat, 14 Mar 2026 16:57:06 +0000
Post From: Chart candle number limit
| [2026-01-26 17:20:41] |
| John - SC Support - Posts: 45108 |
|
As noted, there is not a direct way to do this, but you can make the other bars disappear by coloring them the same as the background. The easiest way to do this would be to use the Spreadsheet Study and enter the following formula in cell K3: =IF(ROW() > 15, 1, 0) Then use a "Color Bar Based on Alert Condition" study where the alert formula is the following: =ID1.SG1 Where ID1 is the ID of the Spreadsheet Study and SG1 is the first subgraph of the spreadsheet study, which is the K column. Then set the "Color" of the "Color Bar" subgraph to be the same as your background. You will have to adjust the number of rows for the calculation of the Spreadsheet Study to cover the amount of time so all the bars are colored. Keep in mind the chart itself will still display as if that data is there (because it is). Refer to the following: Spreadsheet Systems, Alerts and Automated Trading https://www.sierrachart.com/index.php?page=doc/SpreadsheetFunctions.html#ROW_Function Color Bar Based on Alert Condition For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
