Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 19:45:56 +0000



2 PERIOD RATE OF CHANGE HELP

View Count: 630

[2021-01-21 16:14:36]
User762875 - Posts: 7
Hi,

I'm currently enrolled in a trading class and they are requesting I use a 2 period ROC indicator.

But I'm having some trouble putting a 2 period ROC indicator on my chart.

Under your ROC studies
-ROC by percent and ROC by points.

Would I just change the input to 2 on either one of these studies in order to get a 2 period ROC?
[2021-01-22 10:02:50]
Sierra Chart Engineering - Posts: 104368
You need to determine what particular study you want to use and then it sounds like you need to add two instances of that study and then change the "Length" Input to what is required for each.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2021-02-12 19:40:31]
User459170 - Posts: 262
How do we get a 2 period ROC? e.g. ROC that is built by subtracting the close of two bars ago from the close of current bar? Thanks for your help.
Date Time Of Last Edit: 2021-02-12 19:40:58
[2021-02-12 20:18:58]
John - SC Support - Posts: 31437
Are you sure you need a study that Subtracts the close of two bars ago from the close of the current bar? The reason we ask this, is that we have the Rate of Change Oscillator Type 1 that uses the Ratio of these values, but not the difference. Refer to the information here:
Rate of Change Oscillator Type I

There is also a more advanced version of the study that lets you set threshold levels for when to use the High or the Low of a bar. The documentation can be found here:
Rate of Change Oscillator Type II

But if you just need to subtract the data, then that can be easily accomplished by using the Spreadsheet Formula and entering the following formula: = C[-2] - C[0].
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-04-10 03:13:18]
User624595 - Posts: 183
But if you just need to subtract the data, then that can be easily accomplished by using the Spreadsheet Formula and entering the following formula: = C[-2] - C[0]

Is there a way to put this into an ROC study that plots a subgraph on the chart, something like this?
imageROC Line Subgraph.png / V - Attached On 2024-04-10 03:13:03 UTC - Size: 332.77 KB - 26 views
[2024-04-10 15:21:12]
John - SC Support - Posts: 31437
Yes, you can do this. Setup the Spreadsheet Formula, or whatever study you are going to use, and set the ROC study you are going to use to have the "Based On" set to the "Spreadsheet Formula" and then make sure the "Input Data" is set appropriately. Refer to the following:
Chart Studies: Settings and Inputs Tab >> Based On - Basing a Study on Another Study
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-04-10 16:49:13]
User624595 - Posts: 183
Thank you, is it difficult you could put put this formula directly into a Sierrachart ROC study without using spreadsheets?
[2024-04-10 17:07:47]
John - SC Support - Posts: 31437
This is not something we would do. What you are asking for is a specific formula to go into the ROC study. Sierra Chart is setup to allow you to reference other studies within a study, therefore giving you the ability to do what you are wanting.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-04-24 21:15:41]
User624595 - Posts: 183
Have any users done this? This is by default available in Tradingview and other platforms.

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

Login

Login Page - Create Account