Forecast Oscillator (FOSC)
Description
The FOSC makes a comparison of the current price against the value returned by the Time Series Forecast study. It is calculated as a percentage ratio of the difference between the close price and the Time Series Forecast value for the previous bar.
When this oscillator displays positive values, it hints that the Time Series Forecast has underestimated the price, whereas negative values suggest that the TSF has overestimated the price. Usually, an SMA also accompanies the Forecast Oscillator line in the search for oscillator reversals.
Further information
FMLabs: http://www.fmlabs.com/reference/default.htm?url=ForecastOscillator.htm
Parameters
inSeries Input data series for the indicator
period Number of bars included in the calculations
Return value
double
When using this method with an index (e.g. FOSC(14)[int barsAgo] ), the value of the indicator will be issued for the referenced bar.
Usage
Visualization
Examples
Last updated