Reply To: How to build Mcclellan Oscillator in breath Module

Optuma Forums Optuma Scripting How to build Mcclellan Oscillator in breath Module Reply To: How to build Mcclellan Oscillator in breath Module

#54259
Darren
Darren
  • Topics: 38
  • Replies: 261
  • Posts: 299

Hi Yan,

Yes you would need to calculate the daily index advance and decline values in the Breadth engine using 2 separate scripts. Once created they can be used in the calculation for the McClellan Oscillator:

(19-day EMA of advances minus declines) – (39 day EMA of advances minus declines)

We calculate those advance/decline numbers for NYSE, Nasdaq and the S&P500 in our Breadth Measures data, so the formula to calculate a Custom Code symbol for the oscillator using would be as follows for the S&P500:

Capture

1 user thanked author for this post.
Avatar Yan

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close