McClellan Oscillator free
Description
The McClellan oscillator is a market breadth indicator used by financial analysts to evaluate the rate of money entering or leaving the market and interpretively indicate overbought or oversold conditions of the market.
Developed by Sherman and Marian McClellan in 1969, the oscillator is computed using the EMA of the daily ordinal difference of advancing issues (stocks which gained in value) from declining issues (stocks which fell in value) over 39 trading day and 19 trading day periods.
Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
Formula / Source Code
u s i n g S y s t e m ; u s i n g c A l g o . A P I ; u s i n g c A l g o . A P I . I n d i c a t o r s ; n a m e s p a c e c A l g o . I n d i c a t o r s { [ I n d i c a t o r ( I s O v e r l a y = f a l s e , A c c e s s R i g h t s = A c c e s s R i g h t s . N o n e ) ] p u b l i c c l a s s M S I : I n d i c a t o r { [ O u t p u t ( "