All indicators

GreenRedSignal with Alerts

Feb 5, 2018

Static chart image
SignalsCandlestickChannelsMoving AveragesVolatility

The GreenRedSignal indicator provides a visual trend-following framework that uses color-coded candlesticks and momentum shifts to help traders identify potential entry and exit points. By combining EMA-based signal crossovers with Bollinger Bands for volatility context, it streamlines the process of spotting directional changes in market momentum.

Usage

The indicator is primarily used to identify trend shifts through bar coloring and alert triggers.

  • Long Opportunities: When the signal line (derived from the difference between short-term and long-term EMAs) crosses above its previous value, the bars turn green, signaling a potential buy or long entry.
  • Short Opportunities: When the signal line crosses below its previous value, the bars turn red, signaling a potential sell or short entry.

The included Bollinger Bands serve as a secondary reference for volatility and price extremes. Traders often look for signals occurring near the upper or lower bands to gauge the strength or exhaustion of a move.

Details

The script utilizes a momentum calculation similar to the MACD (Moving Average Convergence Divergence) signal line, calculating the difference between a 12-period and 26-period Exponential Moving Average (EMA). The core logic monitors the rate of change of this signal; an increase in the signal value triggers a bullish bar color, while a decrease triggers a bearish bar color.

Additionally, the script calculates a standard Bollinger Band set using a Simple Moving Average (SMA) and Standard Deviation. This provides a visual range of price action, helping to identify overbought or oversold conditions alongside the momentum signals.

Settings

  • Length: Sets the lookback period for the Bollinger Bands SMA and Standard Deviation calculation.
  • Mult: Determines the standard deviation multiplier used to set the width of the Bollinger Bands.

FAQ

How do I use the alerts?

You can set up alerts via the TradingView Alert menu. The indicator includes specific alert conditions for "Buy Condition" and "Sell Condition" that trigger when the momentum signal shifts direction.

What do the bar colors represent?

Green bars indicate that the underlying momentum signal is increasing (bullish), while red bars indicate that the momentum signal is decreasing (bearish).

How can I access GreenRedSignal?

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.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

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