Page 17 of 23

Re: MT5 Moving Averages (MAs)

Posted: Wed Dec 18, 2024 9:29 pm
by vzulaks
Cagliostro wrote: Wed Dec 18, 2024 8:58 pm image_2024-12-18_103036313.png


XU 3MA Trend

-3xMA
-MTF
-Arrows
-Alerts

PS: Alerts and Arrows not working in MTF (used for higher TF bias). If someone wants to add more MA let me know, and will share the code.

+C+
i find it slower than xard's 3x xuma it's like 3 MA cross lines Cagliotro!

Re: MT5 Moving Averages (MAs)

Posted: Wed Dec 18, 2024 9:59 pm
by Cagliostro
vzulaks wrote: Wed Dec 18, 2024 9:29 pm i find it slower than xard's 3x xuma it's like 3 MA cross lines Cagliotro!
Yes, it does not react to simple price crossing, looks for MAs to get ordered. I am experimenting a bit, I am making some MT5 stuff.

Re: MT5 Moving Averages (MAs)

Posted: Fri Jan 10, 2025 4:00 pm
by budhi1976
Respected coders, is it possible to add "shift" feature to this indicator?

Re: MT5 Moving Averages (MAs)

Posted: Fri Jan 10, 2025 8:10 pm
by mrtools
budhi1976 wrote: Fri Jan 10, 2025 4:00 pm Respected coders, is it possible to add "shift" feature to this indicator?
Screenshot 2025-01-10 115627.png

avgs.ex5
Have a little more updated version with the added shift.

Re: MT5 Moving Averages (MAs)

Posted: Fri Jan 10, 2025 8:45 pm
by budhi1976
Wow, many many thanks mrtools for your fast responses. 👍👍
mrtools wrote: Fri Jan 10, 2025 8:10 pm Have a little more updated version with the added shift.

Re: MT5 Moving Averages (MAs)

Posted: Fri Jan 24, 2025 11:29 am
by mrtools
slnimantha wrote: Fri Jan 24, 2025 11:12 am Please convert Mq4 to mq5
Got this one, just for your information the one you posted repaints.

Re: MT5 Moving Averages (MAs)

Posted: Fri Jan 31, 2025 8:45 pm
by ionone
this MA is great !
the logic of it is quite powerful

3rd Generation Moving Average is an advanced version of the standard moving average (MA) indicator for MetaTrader. It implements a rather simple lag-reducing procedure based on the longer MA period. The method was first described by M. Duerschner in his article Gleitende Durchschnitte 3.0 (in German). The presented version uses λ = 2, which provides the best possible lag-reducing. Higher λ increases similarity with the classic moving average. The indicator is available for both MT4 and MT5. It does not require using any DLL.

Input parameters
MA_Period (default = 50) — a period of the 3rd generation moving average.
MA_Sampling_Period (default = 220) — a sampling period of the 3rd generation moving average. Should be at least 4 times greater than MA_Period.
MA_Method (default = MODE_EMA) — method of the moving average.
MA_Applied_Price (default = PRICE_TYPICAL) — applied price for the moving average.

https://www.mql5.com/en/code/55327
As you see, the 3rd Generation MA (red line) offers slightly less lag than the conventional EMA (blue line) and reacts to the price changes faster.

Re: MT5 Moving Averages (MAs)

Posted: Sun Feb 02, 2025 1:24 am
by pfxi
Hi mrtools and @kvak. If you find some free time, Please convert this MT4 indicator to MT5, Look for it somewhere in your archives. You can also add a button. Thank you

I know it's locked

Re: MT5 Moving Averages (MAs)

Posted: Sun Feb 02, 2025 6:44 am
by kvak
pfxi wrote: Sun Feb 02, 2025 1:24 am Hi mrtools and @kvak. If you find some free time, Please convert this MT4 indicator to MT5, Look for it somewhere in your archives. You can also add a button. Thank you

I know it's locked
After a long time, I launched MT5 and I probably won't open it again for a long time :) :)

Here is one version for test .... ( for mtf need tick to working )

This is all what I am able to do with MT5....

Re: MT5 Moving Averages (MAs)

Posted: Sun Feb 02, 2025 9:32 pm
by pfxi
kvak wrote: Sun Feb 02, 2025 6:44 am After a long time, I launched MT5 and I probably won't open it again for a long time :) :)

Here is one version for test .... ( for mtf need tick to working )

This is all what I am able to do with MT5....
Thanks for the job well done, respect. Only if you can make the third one participate in the calculation. Now they are only the first and the second.
And so does a good job.
Congratulations