Oscillator of Moving Average (OsMA) free
Description
The Moving Average of Oscillator (OsMA), is an indicator that is calculated by taking the difference between a shorter-term moving average and a longer-term moving average. The two most common are the 12 period moving average and the 26 period moving averages.
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 ; u s i n g c A l g o . 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 { [ L e v e l s ( 0 . 0 ) ] [ I n d i c a t o r ( I s O v e r l a y = f a l s e , S c a l e P r e c i s i o n = 5 , T i m e Z o n e = T i m e Z o n e s . U T C , 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 O S M A : I n d i c a t o r { [ P a r a m e t e r ( D e f a u l t V a l u e = 1 2 ) ] p u b l i c i n t s h o r t C y c l e { g e t ; s e t ; } [ P a r a m e t e r ( D e f a u l t V a l u e = 2 6 ) ] p u b l i c i n t l o n g C y c l e { g e t ; s e t ; } [ P a r a m e t e r ( D e f a u l t V a l u e = 9 ) ] p u b l i c i n t s i g n a l P e r i o d { g e t ; s e t ; } [ O u t p u t ( "