Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 07:31:52 +0000



[Programming Help] - Creating a moving average of another indicator

View Count: 1556

[2020-04-01 11:42:41]
User525965 - Posts: 153
Hi!
I'm trying to create a moving average of Williams %R.
I have the Williams %R set up on my chart, but how would i create a 21 period moving average of this?

Here is what i have so far. I create a color based on alert condition using MOVINGAVERAGE (not even sure if this is a function) using the 21 period, and I set up ID13 for the %R value i want to use....

=MOVINGAVERAGE(21, ID13.sg1)
[2020-04-01 12:25:20]
User907968 - Posts: 802
Have a look at this:
Chart Studies: Settings and Inputs Tab >> Based On - Basing a Study on Another Study

1) Add an appropriate moving average study to your chart
2) Change the 'Based On' setting for the moving average to 'Williams %R'
3) Change the 'Input Data' for moving average to '%R'

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

Login

Login Page - Create Account