Login Page - Create Account

Support Board


Date/Time: Sun, 26 Jun 2022 22:55:36 +0000



[User Discussion] - Identifying a bar that is back 26 bars

View Count: 1008

[2014-01-14 17:14:52]
User70427 - Posts: 5
In the Ichimoku Cloud indicators there is one where the current data bar close is also shown as a line 26 bars in the past. (The Chikou Span). The price level/line is easily found when the chart is current as it ends 26 bars back, but when looking at history, you would have to count back 26 bars to see where the level of the line is. Is there any tool/study that when a bar in the past data is clicked on that would automatically show say a vertical line 26 bars back?
Any help would be appreciated.
Cliff
[2014-01-14 23:51:03]
tomgilb - Posts: 3325
Try this:

Add the Bar Numbering study
-set the Display At Bottom to Yes
-set the Number Of Bars To Label to 27
-set both Draw Style colors to match the chart background (this is the only way to hide the numbers)

Add the Color Background Based On Alert Condition study
-set the Use Vertical Line Instead Of Coloring Background to Yes
-put this formula on the Alerts tab:
=ID1.SG1=2
where the Bar Numbering study is ID1. Edit formula as needed.

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

Login

Login Page - Create Account