Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 14:48:09 +0000



Paint Bars based on the slope of a VWMA -10/+10 on Cumulative Delta

View Count: 387

[2024-03-06 03:28:55]
Oz - Posts: 50
Hi, I’m trying to paint price bars based on the slope of a VWMA on Cumulative Delta using Angle Study study and Paint Bar Based on Alert Condition, hence only paint when a specific slope is evident, in this case +/-10% at other times graphics just paint a white bar.

I’ve done this before based on the VWMA on price without issue, however I wanted to have a look at the same using the VWMA of cumulative delta.
When adding the VWMA to CD I get +80 or -80 results in the Study Angle study and I cannot work out what I have done wrong. This does not appear right when on CD?
I've played around with the Value Format, but this does not change the result.
Color Bar Based on Alert Condition looks ok. I’m using =ID2.SG1>10 and also <10
I don’t think the issue is here.

Pics attached.
Study Angle study. Chart Region2
Based on the VWMA on Delta ID:1
Input Data: VWMA
Length: 9
Value Per Point: 1

The issue appears to be in the Study Angle study as this is not plotting as I would like.
What have I missed. Any assistance on how to fix is appreciated. Thank you.
Attachment Deleted.
imageStudy Angle Study settings1.png / V - Attached On 2024-03-06 03:22:23 UTC - Size: 217.85 KB - 83 views
imageColor Bar Based on Alert Condition Settings1.jpg / V - Attached On 2024-03-06 03:24:27 UTC - Size: 528.72 KB - 93 views
[2024-03-06 17:42:23]
John - SC Support - Posts: 36244
The problem is that the "Study Angle" study needs to be normalized, which is done by using the "Value per Point" option. You need to keep in mind that the X value for the determination of the angle is determined by the number of bars. So you need to enter a Value Per Point that will normalize the Y value to give you the angle you want for the size of the data points (your Y values). The information for the "Value per Line" points you to the following documentation which covers this topic for drawings, but the "Value Increment Per Bar" is the same thing:
Chart Drawing Tools: Viewing Angle in Degrees, Related Settings, Understanding Angled Lines on Charts
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-03-07 07:46:09]
Oz - Posts: 50
So what's the solution here?
Is this possible and what's the easiest way to achieve this?
Thank you.
[2024-03-07 15:50:09]
John - SC Support - Posts: 36244
You need to change the "Value per Point" input on the Study Angle study until you find a value that gives you an angle that makes sense. Start with 100 and go up from there.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-03-08 00:07:54]
Oz - Posts: 50
Hi SC,
Yes that worked.
Makes sense now.
Thank you.
Have a great day.
Cheers

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

Login

Login Page - Create Account