Gold Net Range Signals
- Indicators
- Version: 1.0
- Activations: 10
Gold Net Range Signals draws an arrow on a closed bar when its move cleared the last 20 bars after the spread on that bar was subtracted. No repainting, no thresholds to set, and no other indicator used - only the open, high, low and close of closed bars, and the spread recorded on each. It draws; it does not trade.
The panel shows the subtraction it just made, and when no arrow is printed it names what is missing: body 260 - spread 40 = 220 net, needs > 1933.
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
These are one calculation, not separate readings: the last closed bar's net body is 220, the largest of the previous 20 is 1933, and 220 is not above 1933.
THE RULE, IN FULL
All values in points, from closed bars. 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
An up arrow, labelled "Long setup", is drawn below a closed bar when all three of these are true:
- the bar closed up, and its net body is above zero
- its net body is greater than the net body of each of the previous 20 closed bars
- its close is above the highest high of the previous 20 closed bars
The mirror image draws a down arrow, labelled "Short setup". The window is 20 bars, not an input. net range is shown, not judged.
IT DOES NOT REPAINT
Only closed bars are used, and the window never includes the bar being judged. Each bar is judged against the spread recorded on it, not the spread of the moment, so the same history always gives the same arrows. Over 20,000 bars, the output and an independent recomputation of the rule agreed on all 573 arrows, in position and direction.
MEASURED ON GOLD, ON ITS OWN CLOSED BARS
The subtraction is a measurement, not a filter. One of the timeframes tested gave 2,765 arrows without it and 2,780 with it - it can add arrows as well as remove them.
The chart timeframe decides how often arrows appear, not a setting. Over the last two years M15 averaged 2.0 arrows a day; on H4 the longest run with nothing at all was 58.5 days.
WHAT THE ALERT SAYS
Popup, push and email alerts each have their own switch and fire at most once per closed bar. The message carries the symbol, the timeframe, the bar time, the net body, the spread removed, the close and the level it passed.
ELEVEN INPUTS - EVERY ONE OF THEM DISPLAY OR ALERT
InpShowPanel, InpPanelCorner, InpPanelFontSize, InpColorLong, InpColorShort, InpColorPanelText, InpColorWarn, InpArrowSize, InpAlertPopup, InpAlertPush, InpAlertEmail.
That is all 11, and none changes a signal: no threshold, period or multiplier exists. InpColorWarn is the colour used on the State line when a spread is missing from the last 20 bars, or before 21 bars have closed.
WHAT IT DOES NOT DO
- It does not place, modify or close orders, or touch the account.
- There is nothing to optimise: the 20-bar window is fixed and no threshold input exists.
- The subtraction is not a filter; it can raise the count as well as lower it.
- It does not react to a forming bar, and never moves an arrow it has drawn.
- It has only been measured on gold. On EURUSD and other symbols the subtraction changes the count by more, and no figures for them are published.
DEMO AND REQUIREMENTS
MetaTrader 5, indicator, chart window, interface in English. Checked by automated source analysis: no trading API calls, no indicator handles, no web requests. Run the demo on M15 - it prints often enough to show arrows in a short test; an H4 demo can show nothing at all. In the Strategy Tester the subtraction uses the spread stored in your history, not a spread you type in.
