All indicators

Buy/Sell Signals (MACD + RSI) 1H

Dec 31, 2024

Static chart image
SignalsOscillatorsMoving Averages

The Buy/Sell Signals (MACD + RSI) 1H indicator provides actionable entry and exit signals by combining trend momentum from the MACD with relative strength filters from the RSI, specifically optimized for the 1-hour timeframe.

Usage

This tool is designed to identify momentum shifts while ensuring trades are not entered during extreme overextended conditions. The script plots visual labels directly on the price chart to assist in trade execution:

  • BUY Signal: A green "BUY" label appears below the bar when the MACD line crosses above the signal line (bullish crossover) while the RSI is below 50. This suggests an upward momentum shift starting from a non-overbought position.
  • SELL Signal: A red "SELL" label appears above the bar when the MACD line crosses below the signal line (bearish crossunder) while the RSI is above 50. This indicates a downward momentum shift starting from a non-oversold position.

Details

The script utilizes a confluence of two classic technical analysis tools to filter out weak signals. By requiring the RSI to be below 50 for a Buy signal, the indicator avoids buying into a move that may already be exhausted or overbought. Conversely, requiring the RSI to be above 50 for a Sell signal avoids selling into deep oversold territory where a reversal might be imminent. While named for the 1-hour chart, the logic remains mathematically sound across various timeframes depending on the user's strategy.

Settings

The indicator uses standard parameters for its internal calculations to maintain reliability across different asset classes:

  • MACD Fast Length: 12 - The period for the shorter exponential moving average.
  • MACD Slow Length: 26 - The period for the longer exponential moving average.
  • Signal Smoothing: 9 - The period for the EMA of the MACD line.
  • RSI Period: 14 - The lookback period used for calculating the Relative Strength Index.

FAQ

How do I access Buy/Sell Signals (MACD + RSI) 1H?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Which timeframe is best for this indicator?

While the script is named for the 1H chart, it can be applied to any timeframe. However, the signals are specifically designed to capture the intraday trends found on hourly candles.

Can I set alerts for these signals?

Yes, the script includes built-in alert conditions. You can create alerts for both "Buy Signal" and "Sell Signal" to receive notifications in real-time when the conditions are met.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.