Each study has its own set of properties which may be modified. Certain studies (such as Bollinger Bands, Exponential Moving Average, and Momentum), perform their calculations using a specific value (Field) from the underlying data on which the study is applied. When the study is initially applied to a chart, it “binds” itself to this Field, which is set in the study properties.
The Field “Default” will always be used in a study’s properties, unless you specifically tell the application to use another price field, such as “High”, “Low”, or “Open”.
Let’s look at an example. The Momentum study is applied to a daily Corn chart. The calculation for Momentum is:
- MOM = (Value of the current day’s bar) – (Value from 10 days ago)
With Momentum’s properties set to “Default”, the “Value” used in the calculation is the Close Price. However, if Momentum was applied to a daily expression chart (C1! – W1!), the expression does not have a “Close” price. Therefore, the “Value” will be the expression’s result for the specific bar. The study uses the “Default” value available in the underlying price data.
When a study is applied to a Symbol, “Default” = “Close” (a symbol will always have a “Close” price on which the study can perform its’ calculation). When the study is applied to an expression, “Default” = the expression’s result for the given bar.
When a study is initially applied to a Symbol, the Symbol naturally has data such as “Open”, “High”, “Low”, “Close”, etc. Examination of a study’s properties, when applied to a Symbol, will reveal a drop-down box (as shown in the Properties illustration, above).
However, when the study is initially applied to an expression, the only data available on which to apply a study is the expression’s result.
Examination of a study’s properties, when applied to an expression, will ONLY reveal the “Default” field as an option:
A study stays “bound” to the Field on which it was initially calculated.
Let’s go back to our original example. You apply the Momentum study to a daily Corn chart. However, you change the study’s properties to calculate Momentum based on the “High” price field. Momentum’s calculation is now “bound” to the “High” price of the underlying data.
Now, you change the Symbol from Corn to an expression: Nearby Corn – Nearby Wheat. Because Momentum is “bound” to the “High” price of the underlying data (and because an expression does not have a “High” price), the chart cannot show the Momentum study.
Content Source: FutureSource
View Other Technical Analysis Studies
- Bollinger Bands
- Commodity Channel Index
- Crack Spread
- Crush Spread
- Directional Movement Index
- Exponential Moving Average
- Exponential Oscillator
- High Low Moving Average
- Highest High / Lowest Low
- Historic Volatility
- Keltner Channel
- Least Squares Linear Regression
- Line Oscillator
- Moving Average
- Moving Average Convergence Divergence
- Moving Standard Deviation
- Open Interest
- Parabolic Stop and Reversal
- Rate of Change
- Relative Strength Index
- Slow Stochastic
- Smoothed Moving Average
- Smoothed Oscillator
- Variable Moving Average
- Volume and Open Interest
- Weighted Close
- Williams’ %R