Does macd_histogram_pct_60d above 0.4992 work on GOLD? 2023 to 2026 backtest
GOLD long when MACD histogram, 60-day percentile is above the threshold, tested at five thresholds taken from the feature’s own distribution on GOLD over this window: its 10th, 25th, 50th, 75th and 90th percentiles. Window 2023-09-30 to 2026-09-30, the last 30 percent held out of sample; stop 2.5 ATR, target 3 R, held overnight, max spread 30 pips, one-minute confirmation 2 pips, no hour filter. Fills and spread as measured on a demo fleet (how a result is judged). The direction and the exit are the ones the research catalogue carried for this pair; the thresholds are not.
Five thresholds, one rule shape
Percentile
Condition
In sample R / trades
Out of sample R / trades
t
Trades to confirm
Last quarter R / trades
Verdict
p10
macd_histogram_pct_60d > 0.08767
-149.0 R / 3167
-155.2 R / 1272
-2.7
716
-65.9 R / 440
Active, net negative
p25
macd_histogram_pct_60d > 0.2363
-170.7 R / 2946
-143.8 R / 1230
-2.5
776
-48.4 R / 415
Active, net negative
p50
macd_histogram_pct_60d > 0.4992
-139.9 R / 2743
-118.8 R / 1094
-2.2
892
-55.8 R / 366
Active, net negative
p75
macd_histogram_pct_60d > 0.7634
-38.0 R / 2200
-100.1 R / 914
-2.1
851
-34.9 R / 292
Active, net negative
p90
macd_histogram_pct_60d > 0.9128
+49.7 R / 1391
-34.3 R / 509
-1.0
2,220
+0.5 R / 160
No edge shown
R is the risk on one trade. The out-of-sample split carries the verdict: below 100 trades it is “no edge shown” whatever the t; a positive mean with t below 2 is “net positive, not yet distinguishable from chance”; the last column is how many trades that mean would need to reach t = 2.
Each threshold in full
macd_histogram_pct_60d > 0.08767 (p10)
Honesty panelActive, net negative
Traded 1272 times out of sample, net negative beyond chance (-155.2 R, -0.122 R per trade, t = -2.7); still active in the last quarter (-65.9 R over 440 trades).
In sample
2023-09-30 to 2025-11-05
-149.0 R
3167 trades · 33% wins
-0.047 R per trade · t = -1.6, within chance
about 5,102 trades to confirm this mean (-0.047 R per trade) at t = -2 · shown: 3167
spread 0.108 R per trade
Out of sample
2025-11-05 to 2026-09-30
-155.2 R
1272 trades · 30% wins
-0.122 R per trade · t = -2.7, beyond chance
about 716 trades to confirm this mean (-0.122 R per trade) at t = -2 · shown: 1272
spread 0.065 R per trade
Last quarter
last 91 days of the window
-65.9 R
440 trades · 28% wins
-0.150 R per trade · t = -1.9, within chance
about 479 trades to confirm this mean (-0.150 R per trade) at t = -2 · shown: 440
spread 0.086 R per trade
Costs. Spread 0.096 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 792 fills in measured hot hours (01:00 at 3.9 times). Fill offset 0.08 stop-distances on every entry, measured on 732 demo fills. Note: the symbol's quoting precision changed on 2025-08-04; the spread field is converted with the point of each era. At 1.5 times the bar’s minimum the out-of-sample figure would read -171.6 R (-0.135 R per trade over 1272 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,682 signals placed, 4,439 filled, 243 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 88.9 pips, 2.50 ATR, 31 raised to the 10-pip floor); target 3 R; exits 65% at the stop, 22% at the target, 13% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (1,433 bars); max spread 30 pips (1 bars over it); M1 confirmation 2 pips (907 signals rejected).
macd_histogram_pct_60d > 0.2363 (p25)
Honesty panelActive, net negative
Traded 1230 times out of sample, net negative beyond chance (-143.8 R, -0.117 R per trade, t = -2.5); still active in the last quarter (-48.4 R over 415 trades).
In sample
2023-09-30 to 2025-11-05
-170.7 R
2946 trades · 33% wins
-0.058 R per trade · t = -1.9, within chance
about 3,319 trades to confirm this mean (-0.058 R per trade) at t = -2 · shown: 2946
spread 0.108 R per trade
Out of sample
2025-11-05 to 2026-09-30
-143.8 R
1230 trades · 30% wins
-0.117 R per trade · t = -2.5, beyond chance
about 776 trades to confirm this mean (-0.117 R per trade) at t = -2 · shown: 1230
spread 0.065 R per trade
Last quarter
last 91 days of the window
-48.4 R
415 trades · 29% wins
-0.117 R per trade · t = -1.4, within chance
about 798 trades to confirm this mean (-0.117 R per trade) at t = -2 · shown: 415
spread 0.087 R per trade
Costs. Spread 0.096 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 739 fills in measured hot hours (01:00 at 3.9 times). Fill offset 0.08 stop-distances on every entry, measured on 732 demo fills. Note: the symbol's quoting precision changed on 2025-08-04; the spread field is converted with the point of each era. At 1.5 times the bar’s minimum the out-of-sample figure would read -159.7 R (-0.130 R per trade over 1230 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,440 signals placed, 4,176 filled, 264 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 89.9 pips, 2.50 ATR, 30 raised to the 10-pip floor); target 3 R; exits 65% at the stop, 22% at the target, 14% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (1,766 bars); max spread 30 pips (2 bars over it); M1 confirmation 2 pips (926 signals rejected).
macd_histogram_pct_60d > 0.4992 (p50)
Honesty panelActive, net negative
Traded 1094 times out of sample, net negative beyond chance (-118.8 R, -0.109 R per trade, t = -2.2); still active in the last quarter (-55.8 R over 366 trades).
In sample
2023-09-30 to 2025-11-05
-139.9 R
2743 trades · 33% wins
-0.051 R per trade · t = -1.6, within chance
about 4,240 trades to confirm this mean (-0.051 R per trade) at t = -2 · shown: 2743
spread 0.096 R per trade
Out of sample
2025-11-05 to 2026-09-30
-118.8 R
1094 trades · 31% wins
-0.109 R per trade · t = -2.2, beyond chance
about 892 trades to confirm this mean (-0.109 R per trade) at t = -2 · shown: 1094
spread 0.061 R per trade
Last quarter
last 91 days of the window
-55.8 R
366 trades · 29% wins
-0.152 R per trade · t = -1.8, within chance
about 454 trades to confirm this mean (-0.152 R per trade) at t = -2 · shown: 366
spread 0.080 R per trade
Costs. Spread 0.086 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 571 fills in measured hot hours (01:00 at 3.9 times). Fill offset 0.08 stop-distances on every entry, measured on 732 demo fills. Note: the symbol's quoting precision changed on 2025-08-04; the spread field is converted with the point of each era. At 1.5 times the bar’s minimum the out-of-sample figure would read -132.1 R (-0.121 R per trade over 1094 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,071 signals placed, 3,837 filled, 234 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 91.2 pips, 2.50 ATR, 18 raised to the 10-pip floor); target 3 R; exits 64% at the stop, 21% at the target, 15% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (2,108 bars); max spread 30 pips (4 bars over it); M1 confirmation 2 pips (910 signals rejected).
macd_histogram_pct_60d > 0.7634 (p75)
Honesty panelActive, net negative
Traded 914 times out of sample, net negative beyond chance (-100.1 R, -0.110 R per trade, t = -2.1); still active in the last quarter (-34.9 R over 292 trades).
In sample
2023-09-30 to 2025-11-05
-38.0 R
2200 trades · 34% wins
-0.017 R per trade · t = -0.5, within chance
about 36,177 trades to confirm this mean (-0.017 R per trade) at t = -2 · shown: 2200
spread 0.071 R per trade
Out of sample
2025-11-05 to 2026-09-30
-100.1 R
914 trades · 30% wins
-0.110 R per trade · t = -2.1, beyond chance
about 851 trades to confirm this mean (-0.110 R per trade) at t = -2 · shown: 914
spread 0.047 R per trade
Last quarter
last 91 days of the window
-34.9 R
292 trades · 29% wins
-0.119 R per trade · t = -1.3, within chance
about 732 trades to confirm this mean (-0.119 R per trade) at t = -2 · shown: 292
spread 0.063 R per trade
Costs. Spread 0.064 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 277 fills in measured hot hours (01:00 at 3.9 times). Fill offset 0.08 stop-distances on every entry, measured on 732 demo fills. Note: the symbol's quoting precision changed on 2025-08-04; the spread field is converted with the point of each era. At 1.5 times the bar’s minimum the out-of-sample figure would read -108.7 R (-0.119 R per trade over 914 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 3,319 signals placed, 3,114 filled, 205 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 97.9 pips, 2.50 ATR, 2 raised to the 10-pip floor); target 3 R; exits 63% at the stop, 20% at the target, 17% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (2,921 bars); max spread 30 pips (4 bars over it); M1 confirmation 2 pips (571 signals rejected).
macd_histogram_pct_60d > 0.9128 (p90)
Honesty panelNo edge shown
No edge shown out of sample: -34.3 R over 509 trades is -0.067 R per trade, within what chance produces (t = -1.0); about 2,220 trades would be needed to confirm this mean at t = -2, shown: 509.
In sample
2023-09-30 to 2025-11-05
+49.7 R
1391 trades · 36% wins
+0.036 R per trade · t = 0.8, within chance
about 8,037 trades to confirm this mean (+0.036 R per trade) at t = 2 · shown: 1391
spread 0.052 R per trade
Out of sample
2025-11-05 to 2026-09-30
-34.3 R
509 trades · 31% wins
-0.067 R per trade · t = -1.0, within chance
about 2,220 trades to confirm this mean (-0.067 R per trade) at t = -2 · shown: 509
spread 0.035 R per trade
Last quarter
last 91 days of the window
+0.5 R
160 trades · 33% wins
+0.003 R per trade · t = 0.0, within chance
about 1,120,383 trades to confirm this mean (+0.003 R per trade) at t = 2 · shown: 160
spread 0.047 R per trade
Costs. Spread 0.047 R per trade at 1.25 times the bar’s minimum (85% of the gross); 126 fills in measured hot hours (01:00 at 3.9 times). Fill offset 0.08 stop-distances on every entry, measured on 732 demo fills. Note: the symbol's quoting precision changed on 2025-08-04; the spread field is converted with the point of each era. At 1.5 times the bar’s minimum the out-of-sample figure would read -37.8 R (-0.074 R per trade over 509 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 1,995 signals placed, 1,900 filled, 95 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 111.7 pips, 2.50 ATR); target 3 R; exits 58% at the stop, 22% at the day end, 20% at the target.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (5,459 bars); max spread 30 pips (7 bars over it); M1 confirmation 2 pips (305 signals rejected).
What macd_histogram_pct_60d measures
MACD histogram, 60-day percentile (percentile), on M5 bars. Percentile rank of macd_histogram within the trailing 17,280 bars, 0 to 1.
Test your own variant
Rule Collider runs one rule on one symbol over years of broker M5 data with the fills and the spread a demo fleet measured, and shows the out-of-sample figure first. Early access goes to the waitlist in signup order.
Historical simulation on broker M5 data with a measured fill offset, a measured spread factor, swap and a one-minute confirmation model. Past results do not predict future results. This is a research tool, not investment advice. Hours are broker time, the chart time in MT5. Built 2026-11-04 from runs ending 2026-09-30; refreshed monthly.