EMA Wave & GRaB

EMA Wave & GRaB

This indicator brings a comprehensive trend-following system (by JustUncleL), combining the classic 34-period EMA Wave with the popular GRaB (Green, Red, and Blue) candle coloring logic.

Designed to keep traders on the right side of the market, this tool provides immediate visual feedback on trend direction, momentum, and volatility. It helps filter out noise during ranging markets and highlights strong momentum phases.

How it Works

The system is built upon two main components:

1. The EMA Wave (Price Action Channel) The “Wave” consists of three Exponential Moving Averages (EMA) set to 34 periods:

  • High Wave: 34 EMA of the High.

  • Low Wave: 34 EMA of the Low.

  • Centre Wave: 34 EMA of the Close.

This band acts as a dynamic support and resistance zone. When the price is “riding” the bands, the trend is healthy.

2. GRaB Candles (Color Logic) The candles are painted based on their relationship with the Wave, giving you an instant read on market sentiment:

  • Green (Bullish): The candle closes above the High Wave. This indicates strong bullish momentum.

  • Red (Bearish): The candle closes below the Low Wave. This indicates strong bearish momentum.

  • Blue/Aqua (Neutral): The candle closes inside the Wave (between the High and Low EMAs). This typically signals consolidation, retracement, or a lack of momentum.

3. Trend Indicator (Bottom Ribbon) The code also includes an optional trend ribbon plotted at the bottom of the chart. This provides a secondary confirmation:

  • Lime Box: Strong Uptrend (High and Low of the candle are completely above the Wave).

  • Red Box: Strong Downtrend (High and Low of the candle are completely below the Wave).

  • Gray: Neutral/Transition zone.

Configuration

You can customize the indicator using the variable settings at the start of the code:

  • ShowPAC: Set to 1 to draw the 3 EMA lines on the chart, or 0 to hide them.

  • ShowBarColor: Set to 1 to paint the candlesticks (GRaB style), or 0 to keep your default chart colors.

  • ShowTrendIndi: Set to 1 to display the trend strength ribbon at the bottom of the panel.

  • PACLen: The lookback period for the Wave. The default is 34, which is standard for this strategy, but you can adjust it to fit different timeframes.

The Code

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

avatar
Register or
Related users ' posts
Quino Line 86, just replace N by (N-1) . 1 degree of freedom
Iván No, non è la stessa cosa. Basta guardare il modo in cui vengono calcolati i pivot.
Ciccarelli Franco Quale dei due mi consigli di usare?
Iván A me piacciono i concetti dello smart money, ma è solo la mia opinione.
Iván Sorry. You should add new line after line 21. showtrend=1 // ------------------...
shephinc When i download it says the file is corrupt and when i try to paste the code something gets ...
Iván if you open the file with V13 you will have no problems. You can copy/paste the original co...
efahmy Hi Ivan, I have one of your great indicatores to catch reversals, I tried to add voice alert...
Iván you can't use alerts inside indicator. Only works if you create an alarm (from the menu)
Paolo.B Hi Ivan, great work. I'd love to try this indicator in an automated system, but I don't unde...
Maik2404 Hello. It would be very interesting to integrate this indicator into an automated trading sy...
Marc Boliart Hi! i do not know why _v.1.1"] was on 1st line, remember to remove it!
Iván Hola. No puedo arreglarlo. Puedes copiar/pegar (2 segundos) y tienes el indicador... La V...
Harley82 Grazie IVAN per questo lindicatore che mi sembra molto interessante, putroppo, non essendo u...
Iván Buongiorno, la risposta la trovi alle righe 115 e 122, che sono quelle che provocano il camb...
Iván
4 months ago
roccafragius Thank you so much, for my point of view very useful!!!
NicoGB67 Excelente trabajo!!
Jrmjrm Bonsoir est-il possible d'avoir cet indicateur, mais à la place du Wilder Average, utiliser ...
Iván Hi! just change line13 for this: showsignals=1
Quino Hi Excellent indicator as usual. Just 2 questions: Why LenH and LenL = 15 as Len could be...
Iván Hi! good question. This is a code request traslation from other platform. I took same inputs...
Gaspare Grazie Ivan, ottimo indicatore posso chiedere, per favore, una strategia che apre posizio...
Iván thanks! maybe I could test it

Top