> For the complete documentation index, see [llms.txt](https://docs.bigbeluga.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bigbeluga.com/ultimate-suite/ultimate-macd-suite/macd-engine.md).

# MACD Engine

The MACD Engine is the core computational logic of the suite, normalizing the MACD values and signal line for all other components (signals, divergences, histogram, etc.).&#x20;

It visualizes the MACD oscillator using a normalized range from -100 to +100 and enables gradient-based color mapping to enhance trend clarity.

### **MACD Line:** Rendered with dynamic coloring:

*HeatMap mode:* Color intensity grows as values reach extreme ranges (-100/+100)

<div align="left" data-with-frame="true"><figure><img src="/files/AoQntKFahU5lGGAcb1nw" alt=""><figcaption></figcaption></figure></div>

<figure><img src="/files/w2ZOm2U8M7RwfZ89vqnf" alt=""><figcaption></figcaption></figure>

*Rising/Falling mode:* Color changes based on histogram slope.

<div align="left" data-with-frame="true"><figure><img src="/files/EoptYBizdgoszxIxuCff" alt=""><figcaption></figcaption></figure></div>

<figure><img src="/files/vEOFSFt9Qe2DnZlrr6ZB" alt=""><figcaption></figcaption></figure>

### **Overbought/Oversold Zones**

OB zone: above +100

OS zone: below -100

<figure><img src="/files/x3JnAeOM8B7YDnS0c6G5" alt=""><figcaption></figcaption></figure>

### **Settings**

<div align="left" data-with-frame="true"><figure><img src="/files/vWpLFPfkFoF9wyCnIZVN" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}

### **Settings**

1. **Source** – Default: `close`.\
   Defines the price type to calculate MACD on.
2. **Fast Length** – Default: `10`.\
   Short-term MA period.
3. **Slow Length** – Default: `20`.\
   Long-term MA period.
4. **Signal Smoothing** – Default: `9`.\
   Period used to smooth the signal line.
5. **Oscillator MA Type** – `EMA` or `SMA`.\
   Defines moving average type for MACD itself.
6. **Signal Line MA Type** – `EMA` or `SMA`.\
   Defines moving average type for the signal line.
   {% endhint %}
