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.