Attachments forums

Re: Rijay's System of Moving Averages

rijay, 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).

Structure Candle Text
HH + HL blue or light blue new up swing
HH + HL red or light red retracement in up trend
LH + LL red or light red new down swing
LH + LL blue or light blue retracement in down trend

When the structure is mixed (for example HH + LL), there is no text.

New inputs (group “Swing status text”)

Corner, X distance and Y distance from the corner. The default is the upper left corner, at Y=55 so it sits under the existing trend text.
Font size, the four texts and their colours.
SwingUseClosedBar: false (default) reads the forming candle, so the text can change during the bar. True reads the last closed candle, which is more stable.

The label only works with ZigZag mode set to Jurik MACD, and it is removed when the indicator is unloaded.
All files in topic