Skip to content

MACD (Moving Average Convergence Divergence)

The gap between a fast and a slow moving average of the close (the MACD line), plus a smoothed copy of it (the signal line). Above zero, the fast average is above the slow one.

Settings

Setting Default What it does
Fast 12 Length of the fast average. Shorter makes MACD react sooner (more, earlier crosses).
Slow 26 Length of the slow average. Longer makes MACD smoother and slower (fewer crosses). Must be larger than Fast.
Signal 9 Length of the signal line. Shorter follows MACD closely, so crosses come often; longer gives fewer, later crosses.

Ready-made conditions

For Condition Fires when
Buy MACD crosses above signal the one candle MACD moves from below the Signal line to above it
Buy MACD above zero every candle MACD is above 0
Sell MACD crosses below signal the one candle MACD moves from above the Signal line to below it
Sell MACD below zero every candle MACD is below 0

Warnings

  • Same line on both sides can never fire. With at or above, at or below, equals, or touches, it is always true. Give the two lines different settings. You can still save it.
  • Blocks Save: Fast 1–1000 (whole number); Slow 1–1000 (whole number); Signal 1–1000 (whole number); Fast smaller than Slow.

Good to know

  • Needs 3 × (Slow + Signal) candles (105 at 12 / 26 / 9).