Support Board
Date/Time: Sun, 24 Nov 2024 20:27:07 +0000
Color Price "Line" when using "Color Bars based on above/below Study"
View Count: 148
[2024-10-23 19:20:06] |
User495282 - Posts: 6 |
I'm using the "Color Bars based on above/below Study" to color the price bars green or red depending on if the price is above/below a moving average, and it works, but when I change the "Price Bars" to a "Price Line" it no longer colors correctly. How do I fix it or is there a different study to use?
|
[2024-10-23 20:57:46] |
John - SC Support - Posts: 36238 |
We are not seeing any issue with the "Color Bars Based on Above/Below Study" coloring the Main Price Graph regardless of what Draw Type it is set to (OHLC Bars, Candlestick, Line on Close, etc.). What exactly are you changing and what do you mean by "Price Line"? For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-10-23 21:09:20] |
User495282 - Posts: 6 |
Oh, I forgot to mention that the study "Color Bars Based on Above/Below Study" is "Based On:" an "Add Additional Symbol". It does color the bars correctly until I set the "additional symbol" study's "Graph Draw Type" to "Line on Close". Hope that makes sense.
|
[2024-10-24 16:08:35] |
John - SC Support - Posts: 36238 |
We are not able to reproduce this. The attached image is what we see for the situation you describe (the yellow line is the Moving Average study that is used to determine the Above/Below. Please get us an image of what you are seeing by following these instructions: Support Board Posting Information: Attaching or Posting a Screenshot/Image (Optional) For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
ESZ24-CME[M] 1 Min #1 2024-10-24 11_06_35.333.png / V - Attached On 2024-10-24 16:08:30 UTC - Size: 84.94 KB - 20 views |
[2024-10-25 18:30:16] |
User495282 - Posts: 6 |
Ok weird. I got it to work but the studies must be in a certain order. The "additional symbol" has to be the first study (top-most study), then the "color bars above/below study" in the middle, then the "moving avg" has to be the last study (bottom). It would not work any other way. Why would that be?
Date Time Of Last Edit: 2024-10-25 18:34:18
|
[2024-10-25 20:23:00] |
John - SC Support - Posts: 36238 |
The order of the studies is the order in which they are displayed and calculated. So this can affect how the data is displayed. There are other items, such as an internal priority that also gets applied that makes the order not exact. Refer to the following: Chart Studies: Study Calculation Precedence And Related Issues We apologize for not thinking of that ourselves. It has been awhile since that kind of issue has come up, so it is not "top of mind". For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-10-26 02:44:24] |
User495282 - Posts: 6 |
Ok thanks. Interestingly, the picture you uploaded has a different order of these studies and it still worked. Can you tell me the settings of your studies?
|
[2024-10-27 17:40:58] |
John - SC Support - Posts: 36238 |
I can not recall the order in which I added the studies. Most likely it would have been "Add Additional Study", "Moving Average", and then "Color Bar Based on Above/Below Study".
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: