Gold Net Range Signals
- Indicators
- Version: 1.0
- Activations: 10
The panel shows the subtraction: range 787 - spread 40 = 747 net. When nothing is printed, it tells you how many points are missing.
Gold Net Range Signals marks the closed bar on which a move cleared the last 20 bars after the cost of trading was taken out of it. It uses no indicator at all. The only inputs to the rule are the open, high, low and close of closed bars and the spread recorded on each of those bars.
It draws. It does not trade. No orders, no modifications, no closing, no account access.
WHAT THE PANEL SHOWS
Gold Net Range Signals
Spread history 20/20 bars recorded
Last closed bar range 787 - spread 40 = 747 net
body 260 - spread 40 = 220 net
Strongest net body (20 bars) 1933
20-bar high 4396.91 low 4310.84
Chart TF H1 Signals today Long 0 / Short 0
State Waiting: net body 220 pts, needs > 1933 pts
Three things there are deliberate:
- The subtraction is written out as arithmetic, not summarised. You can check it against the candle yourself.
- Spread history says how many of the 20 bars actually carry a recorded spread. If your history has none, the panel says so instead of quietly treating it as zero.
- State names the exact number of points that are missing. There is no silent do-nothing state.
THE COMPLETE RULE - NOTHING IS HIDDEN
All values in points, from closed bars only. S is the spread recorded on that bar.
net body = (close - open) / point - S for an up bar
net body = (open - close) / point - S for a down bar
net range = (high - low) / point - S
A long arrow is drawn under a closed bar when all three hold:
1. the bar closed up, and its net body is above zero
2. its net body is greater than the net body of each of the previous 20 closed bars
3. its close is above the highest high of the previous 20 closed bars
Short is the mirror image. The window is 20 bars. It is fixed and it is not an input.
WHICH BARS ARE USED
Only closed bars, and the window never includes the bar being judged. Every reading is 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: 573 arrows, identical in position and direction. Recalculated from ten different starting points on a 6,000 bar tape: no arrow already printed ever moved. Restarting the terminal left 300 arrows unchanged.
WHAT THE SUBTRACTION DOES, AND WHAT IT DOES NOT
This is a measurement, not a filter, and the honest numbers are these.
On gold the subtraction changes the number of arrows very little. Measured over 100,000 M5 bars, 515 days: 2,765 arrows without it, 2,780 with it. On H4 over 23,583 bars the count was identical either way. The reason is structural: condition 3 already asks for a large move, so the bars that pass carry a body an order of magnitude bigger than the spread - on gold M5 the median body is 150 points against a median spread of 36.
It can also add arrows rather than remove them. In that same M5 run, 16 arrows disappeared and 31 new ones appeared, because a wide spread among the previous 20 bars lowers the bar that condition 2 has to clear.
Where it moves more is on instruments whose spread is large next to the body. On EURUSD, where the median body is 13 points against a spread of 19, doubling the spread changed the count by 27 percent.
So the claim here is narrow and exact: every comparison is made on values with the cost already taken out, and the arithmetic is on the panel. It is not a claim that fewer or better arrows come out of it.
HOW OFTEN IT PRINTS
Measured on gold over the last two years. The chart timeframe decides this, not a setting.
M5 about 5.4 arrows a day, longest quiet stretch 3.3 days
M15 about 2.0 a day, longest 3.7 days
H1 about 0.5 a day, longest 9.9 days
H4 about 0.1 a day, longest 58.5 days
On H4 it is normal for nothing to appear for weeks. That is the rule working, not a fault.
ALERTS
Popup, push notification and email, each with its own switch. Every alert carries the symbol, the chart timeframe, the time of the bar, the net body and the spread that was removed, so the message is readable on a phone without opening the terminal. One alert per bar, and nothing is sent for history when you attach it.
FREE DEMO - OPEN IT ON M15
The demo runs in the Strategy Tester and the indicator behaves there exactly as it does live. Open it on M15: that timeframe prints often enough to see arrows appear during a short run. On H4 a demo can legitimately show nothing at all.
Note that the MT5 Strategy Tester has no spread setting, unlike MT4. It replays the spread recorded in your history, so you cannot widen it there to watch the effect.
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 the window or any threshold. Those inputs do not exist.
- The subtraction is not a filter that reduces signals. It can raise the count as well as lower it.
- 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 look at any other timeframe.
- It does not read an economic calendar.
- It does not predict the spread. It uses only the value recorded on each closed bar.
- It cannot subtract anything on a history that carries no spread. It says so on the panel and continues with zero.
- It makes no claim about symbols other than gold. It runs on EURUSD and others, and there the subtraction moves the count more.
- It does not print more than one arrow on one bar.
- It needs 21 closed bars before it can judge anything.
INPUTS - ELEVEN, ALL DISPLAY OR NOTIFICATION
InpShowPanel, InpPanelCorner, InpPanelFontSize, InpColorLong, InpColorShort, InpColorPanelText, InpColorWarn, 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 a long arrow, buffer 1 the price of a short 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 indicator handles are created at all. No DLL calls, no web requests, no external files or services. Verified by machine before release: zero trading API calls, zero indicator handles, 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.
