Support Board
Date/Time: Sat, 18 Jan 2025 23:53:59 +0000
Is It Possible To Plot Color Bar Based On Alert Condition To Previous Bar?
View Count: 849
[2018-03-12 17:13:15] |
cmet - Posts: 584 |
I have an alert condition based on price action over two bars. However, the condition cannot be present until the second bar is completed. Basically what I want to do is add the indicator (draw type) to the previous bar once the alert condition is met. I know you can of course reference past bars in the syntax using [-1], [-2], etc but I want to actually be able to color the previous bar instead of the current one (or add an arrow, dash, triangle or whatever). Is there a way to do this? |
[2018-03-12 19:30:10] |
Sierra Chart Engineering - Posts: 104368 |
Look at using the Displacement setting: http://www.sierrachart.com/index.php?page=doc/ChartStudies.html#Displacement Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to 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: