RN MACD Signals
Mar 12, 2015

The RN MACD Signals indicator provides a minimalist approach to monitoring MACD crossovers and zero-line positioning directly on the price chart, eliminating the need for a separate oscillator pane. It uses arrows to signify the relationship between the MACD line and the signal line, while their vertical placement indicates whether the momentum is currently above or below the zero line.
Usage
The indicator can be used to identify trend momentum and potential reversal points without cluttering the bottom of the chart.
- Bullish Signals: A green upward arrow indicates that the MACD line is above the signal line.
- Bearish Signals: A red downward arrow indicates that the MACD line is below the signal line.
- Zero Line Context: The vertical position of the arrow provides context regarding the zero line. Arrows appearing at the top of the chart indicate the MACD is currently above the zero line (bullish territory), while arrows at the bottom indicate the MACD is below the zero line (bearish territory).
Details
This script calculates the standard Moving Average Convergence Divergence (MACD) by subtracting a slow Exponential Moving Average (EMA) from a fast EMA. A signal line is then derived using a Simple Moving Average (SMA) of the MACD value.
Instead of plotting a traditional histogram or line oscillator, the script evaluates four distinct states:
- DnBelow: MACD is below the signal line and below the zero line.
- DnAbove: MACD is below the signal line but remains above the zero line.
- UpBelow: MACD is above the signal line but remains below the zero line.
- UpAbove: MACD is above the signal line and above the zero line.
Settings
- Fast Length: The period for the fast Exponential Moving Average (default: 12).
- Slow Length: The period for the slow Exponential Moving Average (default: 26).
- Signal Length: The period for the Signal line calculation (default: 9).
FAQ
How do I interpret the arrow locations? Arrows at the top of the chart signify that the MACD value is positive (above zero), while arrows at the bottom signify that the MACD value is negative (below zero). The direction and color of the arrow indicate the relationship between the MACD and its signal line.
Can I set alerts for crossovers? Yes, the script includes built-in alert conditions that trigger whenever a bullish or bearish MACD crossover occurs.
How can I access RN MACD Signals? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.