Page 1 of 2

MA Slope indicator

PostPosted: Wed Feb 06, 2013 5:14 pm
by Apprentice
MA_Slope.png

Shows the slope of MA, in Pips per period.
MASO (in Pips) = ( MA[period]- MA[period-Bar] )
if MASO > Slope then Buy;
if MASO < Slope then Sell;
else Neutral;

MA_Slope.lua
(3.2 KiB) Downloaded 2113 times


The indicator was revised and updated

Re: MA Slope indicator

PostPosted: Sat Feb 09, 2013 6:36 pm
by tradecraft
I really like this indicator. Could you add the nonlagMA2 as one of the available moving average methods?

Re: MA Slope indicator

PostPosted: Sun Feb 10, 2013 6:37 am
by Apprentice
Averages_Slope.png

Try Averages Version.
Averages_Slope.lua
(4.26 KiB) Downloaded 1594 times

Averages_Slope with Alert.lua
(13.14 KiB) Downloaded 1200 times


Please, download and install Averages indicator.
viewtopic.php?f=17&t=2430

This indicator will provides Audio / Email Alerts on slope change.

Dec 14, 2015: Compatibility issue Fixed. _Alert helper is not longer needed.

Re: MA Slope indicator

PostPosted: Fri Nov 29, 2013 2:13 pm
by Alexander.Gettinger
MQL4 version of MA Slope indicator: viewtopic.php?f=38&t=60021.

Re: MA Slope indicator

PostPosted: Fri Jan 31, 2014 10:06 pm
by Taskryr
Can we get a correction or explanation for this indicator. If I have the indicator set to 1 slope and 3 bars, my understanding is that the current period line color should be up if the previous three bars average are up, down if the three previous bars are down, and flat if otherwise.

However, it doesn't seem to function that way or else I am misunderstanding what the slope and bars are actually measuring. I say this because the color of the MA for the previous three periods will repaint their colors depending on future bars. I don't understand why. That is, a green bar on my screen will turn red after a few more bars. This is very frustrating. I can understand if the current bar fluctuates colors, but once a period has ended shouldn't the MA color stop fluctuating? Am I missing something?

It is making my backtesting moot since the real-time line fluctuates colors even after the current bar has ended.

Re: MA Slope indicator

PostPosted: Sat Feb 01, 2014 2:49 pm
by Apprentice
if MASO > Slope then Buy;
if MASO < Slope then Sell;
else Neutral;

At the beginning of the period, the absolute difference between current and previous values ​​can,
be less than the value of Pip.

If the difference is greater then Pip, positive or negative indication is given.

Averages_Slope.lua

PostPosted: Fri May 22, 2015 5:14 am
by SuperTrader
Hi Apprentice. Your "Averages_Slope.lua" indicator above is fantastic (it works fine even on tick charts!). Whenever you have time could you please add in its code (if possible) an audio-alert (custom *.wav) when it changes color (slope-change) which should trigger "Live" (real-time).
I don't normally use your optional setting "End of Turn" in your other alert-enhanced indicators (I know some traders do though), I only trade with the "Live" alerts and I must admit that all these indicators of yours are simply awesome! Many thanks in advance! :)

Re: MA Slope indicator

PostPosted: Mon May 25, 2015 5:17 am
by Apprentice
Averages_Slope with Alert.lua Added

Re: MA Slope indicator

PostPosted: Wed Jun 10, 2015 2:47 am
by SuperTrader
The Alert works perfectly (even on tick charts!) :D
Thank you very much for your help on this Apprentice! :)

Re: MA Slope indicator

PostPosted: Mon Dec 14, 2015 6:10 am
by Apprentice
Dec 14, 2015: Compatibility issue Fixed. _Alert helper is not longer needed.

If you want to use updated version of this indicator,
please make sure to use TS Version 01.14.101415. or higher.