Re: Rijay's System of Moving Averages

212
stond wrote: Tue Nov 03, 2026 2:00 am Hey,
it looks great in photos, but in real life it’s not quite so great.
Is there any chance of sorting this out?

Best regards
use indicator XU-MA v3 4 colors it's candle colors will remain stable
These users thanked the author rijay for the post (total 2):
stond, JAEYOUNG

Re: Rijay's System of Moving Averages

213
rijay wrote: Sat Oct 31, 2026 5:09 pm How it decides the text in jurik macd fixation mode

The trend comes from the existing structure logic in Jurik MACD centre-line fixation mode. HH + HL counts as an up trend and LH + LL as a down trend.
Blue means colour index 1 (50,150,255) or the light blue fill (160,200,255). Red means index 2 (200,50,100) or the light red fill (255,160,160).


The label only works with ZigZag mode set to Jurik MACD, and it is removed when the indicator is unloaded.
This indicator looks really nice, and I hope its signals do not repaint.

Re: Rijay's System of Moving Averages

215
How it works

Direction: It uses the standard MACD line against the standard MACD signal line. The Jurik MACD is not used.
“Get ready” text: After a cross up it shows GET READY TO BUY, and after a cross down it shows GET READY TO SELL. The text stays on the chart until the opposite cross. It is found by scanning back through history, so it is also correct right after you load the indicator or switch timeframe.
BUY / SELL / WAIT text: After a cross up, it shows BUY while the 5 EMA is diverging away from the 13 EMA, and WAIT otherwise. After a cross down, it shows SELL under the same divergence test, and WAIT otherwise. It re-checks on every tick.

One is the persistent “get ready” text, and the other is the BUY / SELL / WAIT text that changes with the EMA divergence. They are two labels, so you can see both at once.
These users thanked the author rijay for the post (total 3):
stond, vikxel, kelvinchase


Re: Rijay's System of Moving Averages

216
rijay wrote: Tue Nov 03, 2026 10:40 pm How it works

Direction: It uses the standard MACD line against the standard MACD signal line. The Jurik MACD is not used.
Hi rijay,
Thanks for these codes; *moving_average_gradient_color_candle_mtf_JurikTrend* seems to be the original template for them.

I’m trying to work with this—let’s see if I can make some improvements.

Best regards,
stond

Re: Rijay's System of Moving Averages

217
How the filter works

While the standard MACD line is above 0, strong red (200,50,100) and light red (255,160,160) candles become light blue (160,200,255).
While the standard MACD line is below 0, strong blue (50,150,255) and light blue (160,200,255) candles become light red (255,160,160).
All other candles, and any candle where the MACD line is exactly 0, keep their original colors.

Changes

New inputs: InpUseMacdFilter switches the filter on or off. InpStdFast (12), InpStdSlow (26) and InpStdPrice (Close) set the standard MACD. The 12/26 defaults are my assumption, so change them to match the MACD on your chart.
MACD line: it is the fast EMA minus the slow EMA, with the centerline at 0. It is separate from the Jurik MACD and does not use the Jurik smoothing.
Timeframe: the standard MACD is calculated on the same timeframe as the Jurik MACD (InpTimeframe, which is the current chart by default).
Jurik direction buffer: the Jurik MACD’s up/down direction is now stored in its own buffer. This stops the new filter from affecting the Jurik direction on the next bar.