Login Page - Create Account

Support Board


Date/Time: Sat, 12 Jul 2025 15:59:21 +0000



Study/Price Overlay

View Count: 121

[2025-06-24 02:19:35]
User882351 - Posts: 8
Apologies if my wording is confusing, but I'm finding it difficult to wrap my head around this.

I have 2 charts open, both using different bar periods (chart #1 and chart #2)

With chart #2, I'm using Color Bar Based On Alert Condition (ID1.SG1). I have "Output When Condition True" set to Study Subgraph Reference.
I am referencing a Moving Average (ID2.SG1) set to "hidden" on that same chart, so that whenever the alert condition is true, the alert paints an arrow on the chart where the moving average currently is.

On chart #1, I'm using "Study/Price Overlay" (ID1.SG1) to overlay the arrows from chart #2. However, I would like to change the positioning of the arrows. Perhaps put them above the candles, or even have them attached to a different length moving average etc.

How would I go about doing this? I tried adding a Color Bar Based On Alert Condition to chart #1, and setting the formula to: =(ID1.SG1 = 1), but that didn't work.
imagechart #2.png / V - Attached On 2025-06-24 02:18:05 UTC - Size: 168.53 KB - 28 views
imagechart #1.png / V - Attached On 2025-06-24 02:18:08 UTC - Size: 203.52 KB - 27 views
[2025-06-24 15:41:51]
John - SC Support - Posts: 40857
If you want to change the arrows to be a Point or the value at the top or bottom of the bar, then you can do this by changing the "Study/Price Overlay" Draw Style. Keep in mind that you first need to set the Input for "Use Styles and Widths from Source Study" to "No" and then select "Apply" prior to making the change to the "Draw Style". Refer to the following:
Study/Price Overlay Study: Use Styles and Widths from Source Study

Chart Studies: Point On Low (ACSIL: DRAWSTYLE_POINT_ON_LOW)

If you are wanting to completely change what is viewed and where, then you would need to use another "Color Bar Based on Alert Condition" on the chart that has the "Study/Price Overlay" on it. The formula you wrote should work, although you can just use =ID1.SG1. Then setup that Color Bar Based on Alert Condition as you want. The one "trick" to this is that you have to ensure that the "Color Bar Based on Alert Condition" is below the "Study/Price Overlay" in the list of studies to graph - as this controls the order in which the items are calculated. Refer to the following:
Chart Studies: Study Calculation Precedence And Related Issues
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