OPEN-SOURCE SCRIPT

Impulse Momentum MACD - Slow and Fast

Impulse Momentum MACD - Slow and Fast

The Momentum indicator is a technical indicator that measures the speed and strength of the price movement of a financial asset. This indicator is used to identify the underlying strength of a trend and predict potential changes in price direction, when the indicator crosses the zero line, it can signal a change of direction in the price trend.

On the other hand, the MACD is an indicator used to identify the trend and strength of the market and shows the difference between two exponential moving averages ( EMA ) of different periods. The MACD is commonly used to determine the direction of an asset's price trend.

COPOSITION AND USE OF THE INDICATOR

This script is an implementation of the Impulse Momentum MACD indicator with two variations: slow and fast. It uses a combination of the Momentum indicator and the Moving Average Convergence/Divergence (MACD) indicator to identify trend reversals and momentum changes in an asset's price.

The combination of both indicators can help traders identify market entry and exit opportunities. The Impulse Momentum MACD is a Modified MACD, it is formed by filtering the values ​​in a range of Modifiable Moving Averages by calculating their high and low ranges,This indicator has two parts: a slow part and a fast part. The slow part uses input values ​​for the lengths of the moving averages and the length of the signal for the MACD indicator. The fast part uses different input values ​​for the lengths of the moving averages. Also, each part has its own set of line colors and histogram colors for easy visualization.

The script also includes inputs to choose the type of moving average to use (SMA, EMA, etc.), the lookback period, the colors for the histogram lines and bars, and a zero trend line (also known as a horizontal trend line). ).

* Highest performing custom settings for the zero trend line. For Operations of:
- One Minute: Trend Line Time Frame = Five Minutes.
- Three Minutes: Trend Line Time Frame = Fifteen Minutes.
- Five Minutes: Trend Line Time Frame = Thirty Minutes.
- Fifteen Minutes: Trend Line Time Frame = Sixty Minutes.

Rules For Trading

🔹 Bullish:
* The Zero Horizontal Trend Line should be in Green Color.
* The Slow Histogram Bar should be in Green Color.
* The Fast Histogram Bar must be in Blue or Black Color or No Bar Appears.
* The Momentum Line or Momentum Area must be in Green Color.

crosses:
- When the Impulse Momentum MACD Slow line crosses the Impulse Momentum MACD Slow signal line upwards.
- When the Impulse Momentum MACD Fast line crosses the Impulse Momentum MACD Fast signal line upwards.

- Note 1: A Position is Opened when the condition of any of the aforementioned crossovers is met.
- Note 2: If the two aforementioned crossings anticipate the condition of the Zero Horizontal Tendency Line because it is in Red; A position is only opened immediately when the Zero Horizontal Trend line turns Green.

🔹 Bearish:
* The Zero Horizontal Trend Line should be in Red Color.
* The Slow Histogram Bar should be in Red Color.
* The Fast Histogram Bar must be in Blue or Black Color or No Bar Appears.
* The Momentum Line or Momentum Area must be in Red Color.

crosses:
- When the Impulse Momentum MACD Slow line crosses the Impulse Momentum MACD Slow signal line downwards.
- When the Impulse Momentum MACD Fast line crosses the Impulse Momentum MACD Fast signal line downwards.

- Note 1: A Position is Opened when the condition of any of the aforementioned crossovers is met.
- Note 2: If the two aforementioned crossings anticipate the condition of the Zero Horizontal Tendency Line because it is Green, an immediate position is only opened when the Zero Horizontal Tendency line turns Red.

This script can be used in different markets such as forex, indices and cryptocurrencies for analysis and trading. However, it is important to note that no trading strategy is guaranteed to be profitable, and traders should always conduct their own research and risk management.
Moving Average Convergence / Divergence (MACD)Momentum Indicator (MOM)

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss