Page 366 of 389

Re: Moving Average indicators for MT4

Posted: Thu Sep 05, 2024 9:14 pm
by mrtools
moey_dw wrote: Thu Sep 05, 2024 7:58 pm Esteemed Mrtools thanks for fabulous indicator which shows distance price travels from MA now with Arrows... I cannot adjust width of histogram after the arrows updated compared to old code from 2021 can it please be edited & uploading into original post here so not to confuse our friends 🙏🙏🙏
Added the histogram auto width option, if auto width = false then you can control the width with your external inputs.

Code: Select all

input bool                 inpAutoWidth    = true;             // Automatic width?
input int                  inpHistoWidth   = 2;                // Used if not using automatic width

Re: Moving Average indicators for MT4

Posted: Fri Sep 06, 2024 11:34 am
by moey_dw
mrtools wrote: Thu Sep 05, 2024 9:14 pm Added the histogram auto width option, if auto width = false then you can control the width with your external inputs.

Code: Select all

input bool                 inpAutoWidth    = true;             // Automatic width?
input int                  inpHistoWidth   = 2;                // Used if not using automatic width
It works!! What a great code....... I see now in the code it has AutoWidth its really neat. By adding Arrows and the AutoWidth toggle in Inputs tab only added extra 5kb to the code so really light weight..... I love this indicator because from a glance you can see the trend instantly from what its doing vs the moving average

Re: Moving Average indicators for MT4

Posted: Fri Sep 06, 2024 7:53 pm
by boytoy
mrtools wrote: Thu Sep 05, 2024 9:14 pm Added the histogram auto width option, if auto width = false then you can control the width with your external inputs.
moey_dw wrote: Fri Sep 06, 2024 11:34 am It works!!
Just started following the Forex Station Twitter and saw this daily download and so many more indicators posted.. great googily moogily.. this is one oscillator that gives you a unique view of new trends that are forming as the histogram bars begin rising. Actually very good using a 100 Simple Moving Average like on the Twitter post too


Re: Moving Average indicators for MT4

Posted: Sun Sep 08, 2024 5:46 am
by kvak
3D (3rd Generation) Moving Average Ribbon with Sampling Period adjustment

Here is idea from other forum.
Cross of 3 MA and in this case is calling 3dgenma.
If it is better from other ma cross indicators, you may test it...
I made this 3dgenma as a function, for simplicity and in this case is an ema version.
Separate arrows/alerts for fast/medium, medium/slow cross.

What is the 3rd Generation Moving Average?

The 3rd Generation Moving Average is an enhanced iteration of the conventional moving average. This advanced version employs a straightforward lag-reduction technique that is predicated on an extended MA period.

The methodology was initially articulated by M. Duerschner in his publication titled Gleitende Durchschnitte 3.0 (in German).
The current iteration utilizes λ = 2, which optimally minimizes lag. An increase in λ results in a greater resemblance to the traditional moving average:
  • The default Sampling Period is 220
  • Increasing this period results in greater resemblance to the traditional moving average's calculation.
  • Decreasing this period results in a faster-reacting "lag-free" moving average.
For the single MA version with High Low channel display, please see here.

Re: Moving Average indicators for MT4

Posted: Sun Sep 08, 2024 5:49 am
by kvak
3D (3rd Generation) Moving Average with Sampling Period adjustment

And here is original file and updated version.
In updated version you may choose sampling period also < then 4*ma period.

PS: For the 3x cross "ribbon" version with Sampling adjustment, please see here.

Re: Moving Average indicators for MT4

Posted: Mon Sep 09, 2024 12:35 am
by Jimmy
kvak wrote: Sun Sep 08, 2024 5:46 am Here is idea from other forum.
Cross of 3 MA and in this case is calling 3dgenma.
If it is better from other ma cross indicators, you may test it...
I made this 3dgenma as a function, for simplicity and in this case is an ema version.
Separate arrows/alerts for fast/medium, medium/slow cross.
"3D MA" I like that 😉

Very nice concept and coding brother.

Re: Moving Average indicators for MT4

Posted: Tue Sep 10, 2024 2:35 am
by RodrigoRT7
mrtools wrote: Thu Aug 22, 2024 11:44 pm Moving Average Distance indicator with Arrows + Alerts + MTF

Good morning, added the arrows.
Good afternoon Mr Tools!!

This indicator is very interesting when added to the SVE Bbands bands. super cool

Could you add your excellent averages/RMAs and a price filter?

Thank you very much again :D

Re: Moving Average indicators for MT4

Posted: Tue Sep 10, 2024 5:44 am
by mrtools
RodrigoRT7 wrote: Tue Sep 10, 2024 2:35 am Good afternoon Mr Tools!!

This indicator is very interesting when added to the SVE Bbands bands. super cool

Could you add your excellent averages/RMAs and a price filter?

Thank you very much again :D
Hello,

Added filtering options, all the prices, and averages.

Re: Moving Average indicators for MT4

Posted: Fri Sep 13, 2024 1:39 am
by andrewstone
Hello traders/coders. Could anyone add the option for APB candles to have color change when the body closes above or below the ma channel? I only want the color to change when the body closes above/below, not the close of the candle.

Re: Moving Average indicators for MT4

Posted: Fri Sep 13, 2024 1:42 am
by BeatlemaniaSA
kvak wrote: Sun Sep 08, 2024 5:46 am 3D (3rd Generation) Moving Average Ribbon with Sampling Period adjustment

Here is an idea from another forum.
Cross of 3 MA and in this case is calling 3dgenma.
Hi kvak,

It's been a while :D.

Would you be willing to convert your indicator to a histogram version? I feel it would be a great addition to XARD's system and mine if members prefer cleaner charts. ;)

You know I love clean charts and having this in a histo version will allow me to continue doing that.

Regards,
Beatle 🪲