Page 1 of 9

One More Average (OMA) Indicators for MT4

Posted: Mon Aug 07, 2017 6:09 am
by mntiwana
One More Average (OMA) Indicators for MT4

As One More Average "OMA" indicators are a bit different than rest of Moving Average indicators not only code wise but types of displaying/forming differently in an attractive way,with so many sorts and variety,so this thread means to post all "OMA" indicators separately here for easiness and comfort of users
___________________
Some Explanation from Mladen:

The usual story goes something like this : which is the best moving average? Everyone that ever started to do any kind of technical analysis was pulled into this "game". Comparing, testing, looking for new ones, testing ...
______________________________

The idea of this one is simple : it should not be itself, but it should be a kind of a chameleon - it should "imitate" as much other moving averages as it can. So the need for zillion different moving averages would diminish. And it should have some extra, of course :

The extras :
  • it has to be smooth
  • it has to be able to "change speed" without length change
  • it has to be able to adapt or not (since it has to "imitate" the non-adaptive as well as the adaptive ones)
______________________________

The steps :
  • smoothing - compared are the simple moving average (that is the basis and the first step of this indicator - a smoothed simple moving average with as little lag added as it is possible and as close to the original as it is possible) Speed 1 and non-adaptive are the reference for this basic setup.
OMA vs SMA
OMA Compared Speed settings

"speed changing" - same chart only added one more average with "speeds" 2 and 3 (for comparison purposes only here)

OMA vs Adaptive Moving Average

finally - adapting : same chart with SMA compared to one more average with speed 1 but adaptive (so this parameters would make it a "smoothed adaptive simple average") Adapting part is a modified Kaufman adapting way and this part (the adapting part) may be a subject for changes in the future (it is giving satisfactory results, but if or when I find a better way, it will be implemented here)
______________________________

Speed settings and their matches to other Moving Averages

Some comparisons for different speed settings (all the comparisons are without adaptive turned on, and are approximate : approximation comes from a fact that it is impossible to get exactly the same values from only one way of calculation, and frankly, I even did not try to get those same values)
  • speed 0.5 - T3 (0.618 Tilson)
  • speed 2.5 - T3(0.618 Fulks/Matulich)
  • speed 1 - SMA, harmonic mean
  • speed 2 - LWMA
  • speed 7 - very similar to Hull and TEMA
  • speed 8 - very similar to LSMA and Linear regression value
Due to some properties of this average, it is very convenient to use it as a part of other indicators for pre- (as a filter before calculation) and post- smoothing. Some of the indicators that are going to be posted in this section are going to use this way to achieve those goals

______________________________

And, the last (it might be posted before the rest, but )

Parameters :
  • Length- length (period) for averaging ]AppliedPrice- price to use for averaging (it uses the usual metatrader values :
  • 0 - close
  • 1 - open
  • 2 - high
  • 3 - low
  • 4 - median (high+low)/2
  • 5 - typical (high+low+close)/3
  • 6 - weighted (high+low+close+close)/4
  • Speed- desired speed (i limited to -1.5 on the lower side but it even does not need that limit - some interesting results with speeds that are less than 0 can be achieved)
  • Adaptive- does it adapt or not
PS: did not think of a different name for it.We could name it whatever we want (since it does not exist anywhere else but here on TSD) but I rather like this name :)

Re: One More Average (OMA) Indicators

Posted: Mon Aug 07, 2017 6:28 am
by mntiwana
Starting from some "Step OMA" indicator versions
Step One more average
This of Step OMA with oma length - oma speed - adaptive true/false - sensitivity and step size parameters - shift - high low true/false and alerts
upper picture with default parameters,2 instances high low true and the other false

Re: One More Average (OMA) Indicators

Posted: Mon Aug 07, 2017 6:35 am
by mntiwana
Step One more average histo
histo version of step oma with almost same attributes

Re: One More Average (OMA) Indicators

Posted: Mon Aug 07, 2017 6:47 am
by mntiwana
Step One more average 2
MLADEN : This is step OMA that doesnot use fixed step size but uses average true range as a step size - make it less dependent oh symbol and/or time frame

Re: One More Average (OMA) Indicators

Posted: Mon Aug 07, 2017 6:51 am
by mntiwana
step one more average 2 histo
histo version of step OMA 2

Re: One More Average (OMA) Indicators

Posted: Mon Aug 07, 2017 6:58 am
by mntiwana
Step One more average 2.01
extended with (on chart) "bar" option with bar size

Re: One More Average (OMA) Indicators

Posted: Mon Aug 07, 2017 7:05 am
by mntiwana
step one more average 2.1
More extended with filter addition - filter value and filter periods - almost rest of parameters are same including alerts

Re: One More Average (OMA) Indicators

Posted: Mon Aug 07, 2017 7:39 pm
by Bob Loblaw
Thanks for starting this thread Mntiwana. Step One More Average is a useful indicator. Here are some of the latest versions I have (all from Mladen). Best regards.

Re: One More Average (OMA) Indicators

Posted: Mon Aug 07, 2017 10:05 pm
by chsrahim
Dear mntiwana , can you share indicators and template of this picture:
thank you and best regards.

Re: One More Average (OMA) Indicators

Posted: Tue Aug 08, 2017 12:30 am
by mladen
chsrahim wrote: Mon Aug 07, 2017 10:05 pm Dear mntiwana , can you share indicators and template of this picture:
thank you and best regards.
As far as I see that is HA offline chart - and if you apply the indicators to it, you should get similar results