Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 22:28:38 +0000



"Color bar based on alert" not cooperating with "Overlay (bar)"

View Count: 394

[2023-10-12 16:59:13]
adam czuk - Posts: 26
I'm trying to reference the overlay (bar) study to make alerts based on another chart

I'm doing this using the "color bar based on alert" study. But I am getting inaccurate results

I don't think it is the formula that is incorrect, because the same formula gives accurate results when it is based on an "add additional symbol" study within the same chart. I can't use that option because I'm trying to reference a separate continuous futures contract chart. So that's why I am using the "overlay (bar)" study.

The formula checks if the bars on the charts are closing in opposite directions: up/down or down/up.
The Color bar based on alert study fills the candle orange if either condition is true.

Here is my formula:

OR(AND(C>O,ID2.SG4<ID2.SG1),AND(C<O,ID2.SG4>ID2.SG1))

I've marked with a blue X on my screenshot the bars that should have been filled orange but for some reason were not.

Might have something to with the settings in "color bar based on alert condition" but I have tweaked them without success. Changing "input data" to "last" does nothing.
imageScreenshot (61).png / V - Attached On 2023-10-12 16:43:14 UTC - Size: 201.56 KB - 85 views
[2023-10-12 18:16:42]
John - SC Support - Posts: 36309
In the "Studies to Graph" window there is an item that states "Calc Order". The Study Overlay should be "1" and the Color Bar Based on Alert Condition should be "2". Please verify that this is the case.

If it is, then we want you to try setting the option for "Global Settings >> General Settings >> Charts >> Use Controlled Order Chart Updating" to "Yes", as you want to ensure that the source chart gets updated prior to the destination. Refer to the following:
General Settings Window: Use Controlled Order Chart Updating (Global Settings >> General Settings >> Charts >> Charts)
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-10-12 18:33:59]
adam czuk - Posts: 26
I just confirmed and tried this but it unfortunately had no effect.
[2023-10-12 18:56:11]
John - SC Support - Posts: 36309
Then there must be something else going in with the way you have things setup. In particular, make sure the bars are lined up properly from the Overlay by checking the settings for the "Data Copy Mode" and "Bar Time Matching Method".

Since you state that this works the way you expect when using the "Add Additional Symbol" it makes us wonder if there is a mis-alignment with the overlay.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-10-12 19:14:26]
adam czuk - Posts: 26
The settings you describe I believe are available in the "study/price overlay" study settings but not in the "overlay (bar)" settings on my Sierra.

I fixed the issue though.

The problem was that the symbol I was referencing normally is priced with 0.0001 decimal points and the chart that had the overlay reference on it was priced in 0.01 decimal points. The error was due to rounding.

In the "overlay (bar)" settings I changed the Value Format from "Inherited" to "0.0001"
[2023-10-12 19:27:18]
John - SC Support - Posts: 36309
Very good.
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