Re: MT5 Moving Averages (MAs)

131
Mickey Abi wrote: Sat Apr 20, 2024 11:54 pm Hello Mr. Toolz ..

is it possible to have full alert in this Indi.. ..

Are there more possibilities with mtf 5 indicator? , like MTF and buttons.
I am trying to start trading volatility index and it works mostly on mt5.

Thanks and Appreciation.
Added mtf and alerts.
These users thanked the author mrtools for the post (total 5):
Mickey Abi, RodrigoRT7, thomdel, Ricstar_8, josi


Re: MT5 Moving Averages (MAs)

133
Hi everyone, i've been looking forever for a simple moving average candles for mt5 but TWO colors only like the image, they're everywhere for mt4 but i only find for mt5 with 3 colors , i dont want the third color , i just need a simple two color candles MA for mt5 with smoothed option. Can anyone help please ???

Re: MT5 Moving Averages (MAs)

134
Mickey Abi wrote: Mon Apr 22, 2024 2:04 am Thank you very much Mr Tools. the alert works although it writes up signal for down signal.

Let me continue tweaking will ask for more mt5 indicators tweaks soon.. ..

A button will be good on this also.

Profound appreciation.
Sorry for the late answer just now happened to reread your post, had copied the alerts from mt4 and forgot to change +1 to -1, makes all the difference in the alerts, anyway please redownload, and have no idea how to do a button in mt5 yet.
These users thanked the author mrtools for the post (total 2):
kvak, Mickey Abi


Re: MT5 Moving Averages (MAs)

136
mrtools wrote: Wed Apr 24, 2024 6:45 am Sorry for the late answer just now happened to reread your post, had copied the alerts from mt4 and forgot to change +1 to -1, makes all the difference in the alerts, anyway please redownload, and have no idea how to do a button in mt5 yet.
While testing the indicator, discovered the alert on the corrected indicator comes one or 2 bar late, compared to the former one with wrong alert.. any idea why that is happening?

Great work Mr Toolz with appreciation..
These users thanked the author Mickey Abi for the post:
macd & rsi

Re: MT5 Moving Averages (MAs)

137
Mickey Abi wrote: Thu Apr 25, 2024 2:43 pm While testing the indicator, discovered the alert on the corrected indicator comes one or 2 bar late, compared to the former one with wrong alert.. any idea why that is happening?

Great work Mr Toolz with appreciation..
To be honest not really sure why it is doing that, changed it around on this version, seems it may be better.
These users thanked the author mrtools for the post (total 2):
Mickey Abi, macd & rsi

Re: MT5 Moving Averages (MAs)

138
Double Exponential Moving Average

coder: mladen?
date: June 11, 2012

Dema (double EMA) ...

This is Dema (double exponential moving average) for metatrader 5 version with slope coloring ...

A technical indicator developed by Patrick Mulloy that first appeared in the January, 1994 Technical Analysis of Stocks & Commodities. The DEMA is a calculation based on both a single exponential moving average (EMA) and a double EMA.
These users thanked the author Banzai for the post (total 3):
Ricstar_8, thomdel, Mickey Abi

Re: MT5 Moving Averages (MAs)

139
From Mladen Rakic:

Was checking if this one exists as a standalone function/indicator and since I did not find it, here it is

The RMS (Root Mean Square) value is calculated by squaring the values, taking the average of the squared values, and then taking the square root of the average. This calculation is applicable to a set of values, especially in the context of waveforms in electrical engineering.

The RMS is also known as the quadratic mean (denoted 𝑀 2 )


What you need to know if you want to use it:

I have seen implementations of Quadratic Mean as a moving average, but it seems that people forgot to compare it to some other averages

RMS or Quadratic Mean is equal to SMA (Simple Moving Average) when applied to set of values that is always equal to or greater than 0

As soon as there is even a single negative value the result will be wrong (that is simply a consequence of the formula used for calculation) hence it can not be used as normal moving averages that do not have the described restriction.

These users thanked the author mrtools for the post (total 2):
RodrigoRT7, kvak

Re: MT5 Moving Averages (MAs)

140
From Mladen Rakic:

In the "good old days" coders were trying to optimize all the code that could be optimized. One such example was the optimization of Liner regression calculation. Coder that was coding by the name "mathemat" (if I remember correctly, if I am wrong please correct me) came up with a simplified formula for linear regression value : 3*lwma - 2*sma

And, since both lwma and sma can be optimized to a so called "loop less mode", it was adopted as the optimal way to calculate it and it produces correct values. But that calculation lacks what the "normal" linear regression value calculation has as intermediate values :

* linear regression intercept
* and the slope of the linear regression line

So, here is one different way of calculating linear regression (optimal : uses the so called "loop less mode") but that has both the intercept and slope

These users thanked the author mrtools for the post (total 5):
RodrigoRT7, Ricstar_8, ionone, Jimmy, Cagliostro


Who is online

Users browsing this forum: IBM oBot [Bot] and 4 guests