Page 1 of 1

MA Trend indicator

PostPosted: Fri Dec 07, 2018 2:34 pm
by Alexander.Gettinger
Indicator analyses [Count_MA] moving averages with first period [Start_Period] and step [Step_Period].
MA_Trend=Sum(S)/Count_MA, where
S(i)=1 if Price>MA(i) and S(i)=-1 if Price<MA(i).

MA_Trend.PNG


Download:
MA_Trend_JS.jsl
(4.17 KiB) Downloaded 440 times


For this indicator must be installed Averages indicator (viewtopic.php?f=17&t=2430).