Code Monkey home page Code Monkey logo

cmo-indicator's Introduction

CMO-Indicator

Requirements: numpy pandas requests lxml pandas_ta backtesting==0.3.3 bokeh==2.4.3

The Chande Momentum Indicator (CMO) is a technical analysis tool created by Tushar Chande to gauge the momentum of a security's price. Diverging from other momentum indicators such as the Relative Strength Index (RSI), the CMO considers both upward and downward price movements in its calculation, resulting in a more comprehensive assessment of price momentum.

With a range oscillating between -100 and +100, the CMO offers insights into potential overbought and oversold conditions. Typically, readings surpassing +50 suggest overbought circumstances, hinting at a potential price decline. Conversely, readings below -50 indicate oversold conditions, suggesting a potential price increase. Traders often combine the CMO with other indicators to enhance the robustness of their trading signals.

Strategy Long Entry

Slope of the long-term market MA is positive (long-term market trend filter)

Slope of the long-term stock close MA is positive (long-term trend filter)

CMO crosses negative threshold from below (momentum signal)

VROC with lookback period is positive (volume confirmation)

Long Exit

CMO crosses positive threshold from below (overbought signal)

Trailing stop (risk management)

Stop loss (risk management).

Game Plan Fetch NASDAQ 100 symbols

For each symbol: Fetch hourly prices for 5 years and

Either perform strategy optimization or perform backtest

Collect results for backtest or optimization

Plot new maximum or minimum backtest results

Print final results for all stocks.

cmo-indicator's People

Contributors

ceyxtrading avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.