CodeRe: Moving Average indicators for MT4

3793
MA Fibonacci Rainbow Waves
(on/off button)

Based on a TradingView indicator @

Code: Select all

https://www.tradingview.com/script/QjqWtkNy/
In this version, you have the options to choose from the 4 basic Moving Averages: SMA, EMA, Smoothed MA, or Linear-weighted.

Overview

The MA Fibonacci Rainbow Waves indicator caters to traders looking to balance simplicity and complexity in their strategies. Utilizing multiple Moving Averages (MAs) weighted by Fibonacci numbers, this indicator offers a refined perspective on price action, helping traders identify key market trends while minimizing irrelevant noise.


Key Features

1. Multiple Moving Averages (MMA)
  • The indicator utilizes a series of MAs to capture both short-term and long-term trends, offering a well-rounded perspective on market sentiment.
  • Each MA highlights crucial price levels that act as support and resistance, with the purple Fibonacci MA playing a key role in precision entries.
2. Fibonacci-Based Weighting
  • By incorporating Fibonacci principles into the MAs, the indicator adapts dynamically to market fluctuations.
  • This method helps traders identify critical support and resistance zones within Fibonacci layers, improving their ability to forecast price movements.
3. Dynamic Support and Resistance Levels
  • The MA Fibonacci Rainbow Waves indicator pinpoints essential support and resistance zones derived from Fibonacci layers.
  • On the hourly chart, these levels serve as strong reversal points, while on the 15-minute chart, consolidations within the rainbow pocket followed by breakouts can signal high-probability trading setups.
4. Enhanced Visual Clarity
  • Each MA is color-coded for easy differentiation, ensuring a clear visual representation of key levels on the chart.

Benefits

1. Streamlined Trading Approach
  • Helps traders concentrate on key market trends, improving decision-making efficiency while minimizing emotional biases.
2. Versatile Across Timeframes
  • Functions seamlessly across different timeframes, making it suitable for various trading styles, from scalping to long-term investing.
3. Deeper Market Understanding
  • The integration of multiple MAs and Fibonacci weighting provides a holistic market perspective, enabling traders to uncover high-potential opportunities that might otherwise go unnoticed.
4. Balance Between Simplicity and Complexity
  • Strikes a perfect balance between clarity and depth, allowing traders to navigate intricate market movements without feeling overwhelmed.
Conclusion

The MA Fibonacci Rainbow Waves indicator is a powerful tool for traders looking to simplify their analysis while accurately tracking market movements. By combining Fibonacci principles with multiple MAs, it equips traders with the confidence to follow trends effectively. Designed for both beginners and seasoned traders, this indicator uncovers entry points that traditional tools often overlook.

PS: For the full sequence of Fibonacci numbers which can be used for Moving Averages and indicators, please see: What is the sequence of Fibonacci numbers?
These users thanked the author Banzai for the post (total 12):
Cagliostro, doolfrews, Jimmy, ddVito, Krunal Gajjar, specialkey, macd & rsi, vvFish, 88FX88, Akela, dilong, 太虚一毫


Re: Moving Average indicators for MT4

3799
Guppy Envelope
(on/off button)

coder: Banzai
date: April 2, 2025

The Guppy Multiple Moving Average (GMMA) is a technical indicator developed by Daryl Guppy that helps traders analyze trends and potential reversals in forex, stocks, and other financial markets. It consists of two sets of exponential moving averages (EMAs)—one for short-term traders and one for long-term investors.

How GMMA Works

1. Short-term EMAs (6, 8, 10, 12, 15, 18)
  • Represent trading activity by short-term traders.
  • React quickly to price changes.
  • If they cross above the long-term EMAs, it suggests a strong uptrend.
2. Long-term EMAs (30, 35, 40, 45, 50, 60)
  • Represent institutional and long-term investors.
  • Move more slowly, showing the overall trend.
  • If they stay wide apart, it suggests strong momentum.
How to Use GMMA in Forex Trading
  • Bullish Signal: Short-term EMAs cross above the long-term EMAs with a wide separation.
  • Bearish Signal: Short-term EMAs cross below the long-term EMAs with a wide separation.
  • Trend Strength: The wider the gap between the two groups, the stronger the trend.
  • Reversal Signal: When short-term EMAs start crossing back through long-term EMAs.
@xxxx[{:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::>

Code: Select all

                  \\\///
                /  _  _  \
             ( |  (.)(.)  | )
.- - - - . OOOo - - () - - oOOO .- - - - .
|                ENVELOPE                |
|                indicator               |
|                   MT4                  |
. _ _ _ . ooooO_ _ _ _ _ _ _ _ _ _ _ _ _ .
          (    )          Oooo.
           \  (           (    )
            \__)           )  /
                          (__/         

The Envelope Indicator in MetaTrader 4 (MT4) is a technical analysis tool that consists of two bands plotted around a moving average.
These bands are typically set a certain percentage above and below the moving average,
creating an "envelope" around the price action.
The envelope is used to identify overbought or oversold conditions in the market, as well as potential price breakouts.

How the Envelope Indicator Works
  • The envelope indicator uses a moving average (usually Simple Moving Average (SMA) or Exponential Moving Average (EMA)) as the central line.
  • Two parallel lines are plotted around the moving average at a fixed percentage or absolute distance above and below it.
    • Upper Envelope: Calculated as the moving average plus the set percentage or distance.
    • Lower Envelope: Calculated as the moving average minus the set percentage or distance.
How to Use the Envelope Indicator
  • Overbought/Oversold Levels: When the price touches or exceeds the upper band, it may indicate an overbought condition, suggesting a potential reversal or correction. Conversely, when the price touches or falls below the lower band, it may indicate an oversold condition, signaling a potential buying opportunity.
  • Trend Reversals: If the price moves outside of the envelope and then reverses, it can signal a potential trend reversal.
  • Price Breakouts: A breakout above the upper band or below the lower band might indicate the continuation of a strong trend.
Example Use Cases
  • Swing Trading: Traders might use the envelope to spot potential reversals or corrections within a range-bound market.
  • Trend Following: In trending markets, traders might use the envelope to identify when the price is overextended and potentially ready for a pullback.
These users thanked the author Banzai for the post (total 12):
lukgoku, Shabba23, 88FX88, 太虚一毫, Nik123, Krunal Gajjar, Akela, Jimmy, talaate, macd & rsi, jackboton, Mundu19

Re: Moving Average indicators for MT4

3800
Banzai wrote: Tue Apr 01, 2025 3:02 am EURUSDM15_MT4.png

MA Fibonacci Rainbow Waves
(on/off button)

Based on a TradingView indicator @

Code: Select all

https://www.tradingview.com/script/QjqWtkNy/
In this version, you have the options to choose from the 4 basic Moving Averages: SMA, EMA, Smoothed MA, or Linear-weighted.

Overview

The MA Fibonacci Rainbow Waves indicator caters to traders looking to balance simplicity and complexity in their strategies. Utilizing multiple Moving Averages (MAs) weighted by Fibonacci numbers, this indicator offers a refined perspective on price action, helping traders identify key market trends while minimizing irrelevant noise.


EURUSDH1_support02.png


Key Features

1. Multiple Moving Averages (MMA)
  • The indicator utilizes a series of MAs to capture both short-term and long-term trends, offering a well-rounded perspective on market sentiment.
  • Each MA highlights crucial price levels that act as support and resistance, with the purple Fibonacci MA playing a key role in precision entries.
2. Fibonacci-Based Weighting
  • By incorporating Fibonacci principles into the MAs, the indicator adapts dynamically to market fluctuations.
  • This method helps traders identify critical support and resistance zones within Fibonacci layers, improving their ability to forecast price movements.
3. Dynamic Support and Resistance Levels
  • The MA Fibonacci Rainbow Waves indicator pinpoints essential support and resistance zones derived from Fibonacci layers.
  • On the hourly chart, these levels serve as strong reversal points, while on the 15-minute chart, consolidations within the rainbow pocket followed by breakouts can signal high-probability trading setups.
4. Enhanced Visual Clarity
  • Each MA is color-coded for easy differentiation, ensuring a clear visual representation of key levels on the chart.
EURUSDH1_expand02.png


Benefits

1. Streamlined Trading Approach
  • Helps traders concentrate on key market trends, improving decision-making efficiency while minimizing emotional biases.
2. Versatile Across Timeframes
  • Functions seamlessly across different timeframes, making it suitable for various trading styles, from scalping to long-term investing.
3. Deeper Market Understanding
  • The integration of multiple MAs and Fibonacci weighting provides a holistic market perspective, enabling traders to uncover high-potential opportunities that might otherwise go unnoticed.
4. Balance Between Simplicity and Complexity
  • Strikes a perfect balance between clarity and depth, allowing traders to navigate intricate market movements without feeling overwhelmed.
Conclusion

The MA Fibonacci Rainbow Waves indicator is a powerful tool for traders looking to simplify their analysis while accurately tracking market movements. By combining Fibonacci principles with multiple MAs, it equips traders with the confidence to follow trends effectively. Designed for both beginners and seasoned traders, this indicator uncovers entry points that traditional tools often overlook.

PS: For the full sequence of Fibonacci numbers which can be used for Moving Averages and indicators, please see: What is the sequence of Fibonacci numbers?
;)
These users thanked the author vvFish for the post (total 3):
Banzai, boytoy, Jimmy
"Only the price on the chart can show the entrance to the deal..."