Super Trend Plus free
Description
Trend Indicator showing an Up Trend when the current close price is higher than the main trend line in uptrend and a Down Trend when the current close price is lower than main trend line in downtrend. The main trend line in uptrend equals to the median price plus a multiple of the average true range and the main line in downtrend equals the median price minus the multiple of the average true range. The exponential moving average equals the value of the Down Trend Indicator Dots in an uptrend and the value of the Up Trend Dots in a downtrend.
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
/ / # r e f e r e n c e : . . \ I n d i c a t o r s \ A v e r a g e T r u e R a n g e . a l g o 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 = t r u e ) ] p u b l i c c l a s s S u p e r T r e n d P l u s : I n d i c a t o r { p r i v a t e A v e r a g e T r u e R a n g e _ a v e r a g e T r u e R a n g e ; p r i v a t e E x p o n e n t i a l M o v i n g A v e r a g e _ e m a ; p r i v a t e b o o l [ ] _ t r e n d ; [ P a r a m e t e r ( ) ] p u b l i c D a t a S e r i e s S o u r c 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 = 1 , M a x V a l u e = 2 , M i n V a l u e = 1 ) ] p u b l i c i n t P e r i o d { 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 = 1 . 6 1 8 , M a x V a l u e = 2 . 0 , M i n V a l u e = 1 . 0 ) ] p u b l i c d o u b l e M u l t i p l i e r { g e t ; s e t ; } [ O u t p u t ( "