Skip to content

Chande Forecast Oscillator (CFO) indicator and strategy added.#320

Merged
cinar merged 10 commits intomasterfrom
cpo
Feb 22, 2026
Merged

Chande Forecast Oscillator (CFO) indicator and strategy added.#320
cinar merged 10 commits intomasterfrom
cpo

Conversation

@cinar
Copy link
Owner

@cinar cinar commented Feb 22, 2026

Describe Request

Chande Forecast Oscillator (CFO) indicator and strategy added.

Change Type

New indicator and strategy.

Summary by CodeRabbit

New Features

  • Chande Forecast Oscillator (CFO) Indicator: Added a momentum indicator that measures the difference between price and its linear regression forecast with a 14-period default.
  • CFO Strategy: Added a trading strategy generating buy/sell signals based on CFO zero-crossings with configurable parameters.

Tests

  • Added comprehensive test coverage for the CFO indicator and strategy with data-driven validation and report generation.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 22, 2026

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

 _______________________________________________________________________________________________________
< Make it easy to reuse. If it's easy to reuse, people will. Create an environment that supports reuse. >
 -------------------------------------------------------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).

✏️ Tip: You can disable in-progress messages and the fortune message in your review settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cpo

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@cinar cinar merged commit 02e9e06 into master Feb 22, 2026
5 of 6 checks passed
@cinar cinar deleted the cpo branch February 22, 2026 03:29
@github-actions github-actions bot locked and limited conversation to collaborators Feb 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant