MOMENTUM & OSCILLATORS
Forecast oscillator
How far price has drifted from the straight line that best fits its recent path — in percent.
spec id: cfolength (default 14)
What does Forecast oscillator measure?
How far price has drifted from the straight line that best fits its recent path — in percent. Large gaps often snap back.
How is Forecast oscillator calculated?
Fit a straight line through the last 14 closing prices, read the line's value at today's candle, and express the gap between the real close and that line as a percentage of the real close.
Written by reading the engine’s real computation, not a textbook — where the two differ, the page describes what actually runs.
How do I use Forecast oscillator in a bot?
In the builder, add an indicator of type cfo (parameters: length, default 14). Its value becomes an operand you can compare in any entry or exit rule. The engine grades the whole rule honestly: real fills, no look-ahead, half the history held back.
Related indicators
- CMOA momentum meter running from −100 to +100.
- Center of gravityA smooth oscillator that swings around the price's recent balance point.
- Coppock curveA slow, long-term momentum curve built to spot major market bottoms.
- Connors RSIA mean-reversion gauge that blends three views of "how stretched is this?
Or browse all 158 indicators in the full library.