Technical Studies Reference


Study Subgraph Divide

This study Divides the selected study Subgraph by a specified Divider. To select the study to use, set the Based On study setting to that study and set the Input Data Input to the specific study Subgraph.

Let \(X\) be a random variable denoting the Input Data Input, and let \(X_t\) be the value of the Input Data at Index \(t\). Let the Divider Input be denoted as \(k\). Then the displayed value of Study Subgraph Divide at Index \(t\) is given by \(X_t / k\).

If the Draw Zeros Input is set to No, then Study Subgraph Divide is not drawn at Index \(t\) if \(X_t = 0\). Otherwise, it is drawn at Index \(t\) even if \(X_t = 0\).

More than likely you will want to display this study in the same chart region as the study that it is based on. To do this, set the Chart Region setting in the Study Settings window for this study to the same Chart Region as the study you have based it on using the Based On setting. You can also hide the study you have based this study on by opening the Study Settings window for that other study and enabling the Hide Study option.

Inputs

  • Input Data
  • Divider: This Input sets the amount to Divide the selected study Subgraph by.
  • Draw Zeros: When this Input is set to Yes, then zero values from the study Subgraph will be drawn. Otherwise, they will not be.

Spreadsheet

The spreadsheet below contains the formulas for this study in Spreadsheet format. Save this Spreadsheet to the Data Files Folder.

Open it through File >> Open Spreadsheet.

Study_Subgraph_Divide.281.scss


*Last modified Wednesday, 03rd January, 2018.