Gold Ema Rsi Alignment
- Indicators
- Version: 1.0
- Activations: 10
Every timeframe shows its own number, with the time of the bar it came from. You can check the alignment yourself.
Gold Ema Rsi Alignment marks the closed bar on which M5, M15, H1 and H4 all turned the same way at the same time. It uses two textbook indicators and nothing else: EMA(50) for where price sits and which way that average is leaning, RSI(14) for which side momentum is on. There is not a single threshold, period or multiplier for you to set.
It draws. It does not trade. No orders, no modifications, no closing, no account access.
WHY THE PANEL IS THE PRODUCT
Tools that claim "all timeframes agree" usually show you the claim and nothing else. When the claim looks wrong, the only way to check it is to ask the developer. This one prints the evidence next to the claim, on every bar:
Alignment 3 of 4 aligned (Up)
M5 08.14 15:55 Up close 4373.49 EMA50 4360.37 slope + RSI 60.8
M15 08.14 15:45 Up close 4373.49 EMA50 4349.93 slope + RSI 69.0
H1 08.14 15:00 Flat close 4373.49 EMA50 4365.52 slope - RSI 57.4
H4 08.14 12:00 Up close 4373.49 EMA50 4307.21 slope + RSI 53.4
Blocking H1 (close above EMA50, slope -, RSI 57.4)
Chart TF H1 Signals today Long 0 / Short 0
State Waiting for H1 to turn Up
Three things in that panel are there on purpose:
- The time on each row is the bar that was actually used. A higher timeframe bar closes long before the bar you are looking at. Without that time you would compare the panel against the current H4 candle and conclude the tool is lying. It is not: at 15:00 the H4 bar in force is the one that opened at 12:00.
- Blocking names what is stopping the signal, with the numbers that made it so. If two timeframes are out of line, two rows appear. Nothing is hidden behind a single word.
- State says what it is waiting for, in plain words. There is no silent do-nothing state.
THE COMPLETE RULE - NOTHING IS HIDDEN
For one timeframe, using only closed bars:
C = close of the last closed bar on that timeframe
E0 = EMA(50) on that same bar
E3 = EMA(50) three closed bars earlier
R = RSI(14) on that same bar
Up when C > E0 AND E0 > E3 AND R > 50
Down when C < E0 AND E0 < E3 AND R < 50
Flat in every other case
EMA period 50, RSI period 14, slope reference 3 bars, RSI boundary 50. These are fixed. They are not inputs.
The signal: when all four timeframes are Up on the same closed bar of your chart, and they were not all Up on the previous closed bar, one arrow is drawn under that bar. Short is the mirror image. Nothing else creates an arrow.
WHICH BAR OF A HIGHER TIMEFRAME IS USED
For a chart bar that closed at time T, each timeframe uses its newest bar whose close time is at or before T. That makes every reading a function of the bar sequence alone, so the same history always produces the same arrows. Verified on 20,000 bars against an independent calculation: 595 arrows, identical in position and direction. Recalculated from ten different starting points on a 150 day tape: no arrow already printed ever moved.
HOW OFTEN IT PRINTS
Signal count depends on the timeframe of the chart it runs on, not on a setting. Measured over 310 days on one gold account: about 6 arrows a day on M5, about 4 on M15, about 2 on H1, about 1 on H4. Longer chart timeframe, fewer arrows. This is a property of the rule, not a claim about outcomes.
ALERTS
Popup, push notification and email, each with its own on or off switch. Every alert carries the symbol, the chart timeframe, the time of the bar it was printed on, and the RSI of all four timeframes, so a notification on your phone is readable without opening the terminal:
XAUUSD H1 Long alignment printed on H1 bar 2026.08.14 15:00 | RSI M5 60.8 / M15 69.0 / H1 57.4 / H4 53.4 | all four closes above rising EMA50
One alert per bar. Nothing is sent for history when you attach it.
FREE DEMO - OPEN IT ON M5
The demo runs in the Strategy Tester. Open it on M5. The tester cannot serve a timeframe shorter than the chart, so on M15 the M5 row shows a dash and no arrow can appear. On M5 all four rows fill and the indicator behaves exactly as it does live.
WHAT IT DOES NOT DO
- It does not place, modify or close orders. It holds no trading functions at all.
- It does not report outcomes, statistics or money. That feature does not exist in it.
- It does not let you change periods or thresholds. Those inputs do not exist.
- It does not limit how many arrows appear. On M5 expect several a day.
- It does not react to a forming bar. Nothing is drawn until the bar closes.
- It does not move or delete what it has already drawn.
- It does not let you pick the timeframes. They are fixed at M5, M15, H1 and H4.
- It does not read an economic calendar.
- It does not calibrate itself to your account. It reads no spread and does not search for your gold symbol.
- It makes no claim about symbols other than gold. It runs on EURUSD and others, but the periods were chosen with gold in mind.
- It does not show a timeframe shorter than the chart inside the Strategy Tester. Open the demo on M5.
- It does not print more than one arrow on one bar.
- It does not work on a symbol with a short history. Each timeframe needs 400 closed bars, and until then the panel says so.
INPUTS - ELEVEN, ALL DISPLAY OR NOTIFICATION
InpShowPanel, InpPanelCorner, InpPanelFontSize, InpColorLong, InpColorShort, InpColorPanelText, InpColorBlocking, InpArrowSize, InpAlertPopup, InpAlertPush, InpAlertEmail.
There is no twelfth input. Nothing in that list changes a signal.
FOR DEVELOPERS - READING IT FROM YOUR OWN EA
Buffer 0 holds the price of an up arrow, buffer 1 the price of a down arrow. Bars without an arrow hold EMPTY_VALUE, and the forming bar always holds EMPTY_VALUE. No input group is declared, so the iCustom argument order is exactly the eleven inputs listed above, in that order.
TECHNICAL
MetaTrader 5. Indicator, chart window. No DLL calls. No web requests. No external files or services. Verified by machine before release: zero trading API calls, zero DLL imports, zero web requests, zero non-ASCII characters on screen.
Trading involves risk. This indicator describes what has already happened on closed bars and makes no statement about what will happen next.
