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

Likes

avatar
Related users ' posts
Nicolas
9 years ago
ALMA MACD
ALMA MACD
7
Indicators
Arnaud HALVICK Great indicator, thank you!
JMat45 Hi Nicolas, just reviewing this indicator and noticed that you have double assigned the vari...
Nicolas That would not make any difference because the code is read from top to bottom.
gianlox I added a simple momentum indicator (MACD). I think much better results:   achat = 0v...
gianlox achat = 0 vente = 0 MACD12M = MACDline[12,26,9](close) MACD12S = ExponentialAverage[9](MA...
MikeGC I don't know if you have used the variables a and b to optimise the parameters for the Super...
gianpiero75 I have not optimized, I multiplied the parameters for 6 (5,8), to use them on the 4  hoursTF...
bertrandpinoy bonjour Mike j utilise TrendChaser V2.0 et quand il prend position cela ne programme pas le ...
eisi If i switch between different Markets, the Backgroundcolour will appear where it should not...
datageek How can I get alerts on colour change?
NAMBO40 Hello, I would like to add a 25 period SMA moving average. It's possible?
Fabio Anthony Terrenzio this strategy works only in a well defined trend
brosly Good afternoon I am trying to get the complete code of lex strategy made by adolfo since I s...
dreif123 hi Adolfo, is Alex Auto Trading Botindex working on DAX as well ? if so , can you post the...
Doctrading I forgot to write at the beginning :  a = 50 b = 50 These are intermediate levels Sorry
DerPat Thank you. This one could be an aid in my current research on stochastics.
Pelayo it is possible that in line 12 we should put seuilinf=-b, thaks for all
Doctrading Hello, Someone asked me something (his results seemed to be different) on my email, but it ...
Glen Marquis Not your best..So what is your best strategy? :)
GraHal Hi Nicolas I like this and would like to understand it fully so please forgive the (maybe) d...
Nicolas Hi GraHal, the Factor parameter is only a multiplier of the ATR that is added or subtracted ...
GraHal Nicolas, thank you for your useful and informative response. Yes I optimise using ProBackte...
Nicolas
10 years ago
Denis Hello, Congratulations and thank you for this work. I do not understand one thing, however...
Nicolas
10 years ago
GraHal Hi Nicolas Britains .itf file didn't work for me ... I had to change h to hh at line 13 and...
Nicolas Thank you GraHal for pointing this error, i have corrected the code in the file. The code in...
Nicolas
10 years ago
Nicolas
10 years ago
U Trend Sensor
U Trend Sensor
4
Indicators
Nicolas Hi Stef, thanks again for contributing to my near perfect english :)
Salocin Hi Nicolas, seems to be a pretty cool one as an indicator. can you define "plotsingal". Syst...
Nicolas Download the itf file attached to the post, there's everything needed in it. Just import thi...
Nicolas
10 years ago
cosmicsurfer I actually live up the road from Daryl Guppy. On the first day of my training i walked aroun...
Pleidian Hi, I'm trying to add the guppy indicator to my charts but i keep getting a box that's says ...
Nicolas Wrong copy/paste? Always a better idea to download the ITF file and import it into the platf...
Yantra "i believe this indicator could help any trend followers in trading decision. " I'm wonderin...
Nicolas
10 years ago
Tradesun Salve, ho provato ad inserire l'indicatore nella piattaforma ma mi chiede di definire la var...
maximus78 Tradesun, se scarichi il file ITF allegato e lo importi nella piattaforma ci sono già le var...

Top