Re: Rijay's System of Moving Averages
222Chart candles: the Jurik now comes from H4 on H1, from H1 on M15, from M15 on M5, and from M5 on M1.
Higher-timeframe colours: these now use their own Jurik series, taken from the timeframe above the higher timeframe. For an M15 chart, the H1 colours use Jurik from H4 and EMAs from H4. Before, they reused the chart’s Jurik data.
Higher-timeframe colours: these now use their own Jurik series, taken from the timeframe above the higher timeframe. For an M15 chart, the H1 colours use Jurik from H4 and EMAs from H4. Before, they reused the chart’s Jurik data.
Re: Rijay's System of Moving Averages
223How it works
The MA, the ATR (when ATR units are selected), and the speed away from the MA are all calculated on the timeframe you choose, InpTimeframe (default H1). The histogram is then shown on whatever chart you attach it to.
Each chart bar takes the value of the higher-timeframe bar it sits inside, so on an M15 chart with H1 selected you see four bars of the same height.
It still plots only the speed away from the MA, coloured lime when price is above the MA and red when below. Nothing is drawn while price is moving towards the MA.
The MA, the ATR (when ATR units are selected), and the speed away from the MA are all calculated on the timeframe you choose, InpTimeframe (default H1). The histogram is then shown on whatever chart you attach it to.
Each chart bar takes the value of the higher-timeframe bar it sits inside, so on an M15 chart with H1 selected you see four bars of the same height.
It still plots only the speed away from the MA, coloured lime when price is above the MA and red when below. Nothing is drawn while price is moving towards the MA.
Re: Rijay's System of Moving Averages
224Title: [COMPLETE] XU-MA v3 MOD_EN + EA
Indicator XU-MA v3 MOD_EN:
4 Colors: Represents 4 market states. The color tells you the current trend strength.
Thinner lines: Trend & Signal lines are thinner for better visibility.
Alerts: Disabled by default.
Reading the indicator: The color of the candle defines the state. Strong colors (green/red) indicate a strong trend, light colors indicate a retracement.
Note: On some pairs with low prices (e.g., EURUSD, AUDUSD), the indicator may draw vertical lines at trend changes. This is a known visual artifact and does not affect the EA – it reads only the color buffer.
EA XU-MA v3 MOD_EN EA:
Logic fix: Symmetric closing. EA closes the opposite position before opening a new one (no hedging).
Exit logic: EA closes positions on a weak candle (retracement – color 3 for BUY, color 4 for SELL). It also closes on a strong opposite signal.
Error handling: Eliminated [close order already exists] error (ignoring code 4756).
Last Resort Management: Full package – SL, TP, Trailing Stop, Breakeven, Money Management (3 modes), Trading Session, Close All Control.
Behavior: EA reacts to the current state of the closed candle. If it's a Strong Bull (color 0) or Strong Bear (color 2) at startup, it will open a position immediately.
How to run:
Place indicator in Indicators and EA in Experts.
Drag both onto the chart.
In EA settings, ensure InpIndicatorName is set to: XU-MA v3 MOD_EN.
EA uses magic 8888 (original used 777777 – they don't conflict).
stond
Indicator XU-MA v3 MOD_EN:
4 Colors: Represents 4 market states. The color tells you the current trend strength.
Thinner lines: Trend & Signal lines are thinner for better visibility.
Alerts: Disabled by default.
Reading the indicator: The color of the candle defines the state. Strong colors (green/red) indicate a strong trend, light colors indicate a retracement.
Note: On some pairs with low prices (e.g., EURUSD, AUDUSD), the indicator may draw vertical lines at trend changes. This is a known visual artifact and does not affect the EA – it reads only the color buffer.
EA XU-MA v3 MOD_EN EA:
Logic fix: Symmetric closing. EA closes the opposite position before opening a new one (no hedging).
Exit logic: EA closes positions on a weak candle (retracement – color 3 for BUY, color 4 for SELL). It also closes on a strong opposite signal.
Error handling: Eliminated [close order already exists] error (ignoring code 4756).
Last Resort Management: Full package – SL, TP, Trailing Stop, Breakeven, Money Management (3 modes), Trading Session, Close All Control.
Behavior: EA reacts to the current state of the closed candle. If it's a Strong Bull (color 0) or Strong Bear (color 2) at startup, it will open a position immediately.
How to run:
Place indicator in Indicators and EA in Experts.
Drag both onto the chart.
In EA settings, ensure InpIndicatorName is set to: XU-MA v3 MOD_EN.
EA uses magic 8888 (original used 777777 – they don't conflict).
stond