Key Insight: The repository reproduces some of the paper’s qualitative trading-pattern claims—especially that VP-MACD+λ (Strategy C) is more selective and often stronger than baseline MACD—but it fails to reproduce the paper’s main out-of-sample magnitude results and significance pattern, particularly for Strategy B and for formal pairwise tests.
Repository Result Summary Used
The repository’s documented implementation choices are:
Adjusted-price lookback N = 20
STD window for sigma = 20
EMA init = pandas ewm(adjust=False)
Test starts flat on 2023-01-01, indicators carried from history
These choices matter because the paper left several of them unspecified, and the repo’s own sensitivity study shows VP-MACD results are materially affected by them.
Results Comparison
Experiment 1 — Primary Out-of-Sample Replication
Metric
Paper
Reproduced
Diff
Status
SPY A Trades
40
38
-2
Within tolerance
SPY A Sharpe
0.47
0.38
-0.09
Within tolerance
SPY A PnL
13612.34
10902.10
-2710.24
Close
SPY B Trades
36
29
-7
Material
SPY B Sharpe
1.35
0.58
-0.77
Material
SPY B PnL
52688.94
16572.08
-36116.86
Material
SPY C Trades
6
14
+8
Material
SPY C Sharpe
0.96
0.60
-0.36
Material
SPY C PnL
27543.78
20110.30
-7433.48
Moderate/material
Metric
Paper
Reproduced
Diff
Status
QQQ A Trades
35
33
-2
Within tolerance
QQQ A Sharpe
0.45
0.53
+0.08
Within tolerance
QQQ A PnL
16823.12
21741.64
+4918.52
Close
QQQ B Trades
31
24
-7
Material
QQQ B Sharpe
1.13
0.21
-0.92
Material
QQQ B PnL
63321.06
7192.00
-56129.06
Material
QQQ C Trades
21
18
-3
Acceptable/moderate
QQQ C Sharpe
1.51
0.91
-0.60
Material
QQQ C PnL
88324.48
44146.89
-44177.59
Material
Metric
Paper
Reproduced
Diff
Status
DIA A Trades
40
38
-2
Within tolerance
DIA A Sharpe
0.09
-0.05
-0.14
Within tolerance
DIA A PnL
1236.96
-2367.48
-3604.44
Moderate/material
DIA B Trades
34
33
-1
Within tolerance
DIA B Sharpe
-0.20
0.11
+0.31
Material
DIA B PnL
-6862.00
1792.82
+8654.82
Material
DIA C Trades
13
17
+4
Moderate
DIA C Sharpe
1.08
0.62
-0.46
Material
DIA C PnL
29592.17
22340.57
-7251.60
Moderate/material
Summary
The replication is mixed:
Baseline Strategy A is reproduced reasonably well on trade counts and Sharpe across all three ETFs.
Strategy B is not faithfully reproduced in SPY and QQQ: the paper reports a large improvement over A, but the repo finds only mild improvement in SPY and a clear underperformance vs A in QQQ.
Strategy C does better qualitatively: it is more selective and often stronger than A/B, but the absolute magnitudes and Sharpe ratios are still materially below the paper, especially in QQQ and DIA.
So the repo captures baseline mechanics and some directional claims, but not the main quantitative strength reported in the paper.
Strategy C trades less than A in all three markets.
B often trades less than A.
This supports the paper’s “more selective” claim for λ-relaxed and VP-MACD variants.
Strategy C often improves trade quality:
Higher win rates than A and B in all three tickers.
Strongly higher expectancy than A and B in all three tickers.
This is directionally consistent with the paper.
SPY and DIA ranking by total PnL:
SPY: C > B > A
DIA: C > B > A
This is at least partly consistent with the paper’s narrative that VP-MACD can dominate.
What does not match?
QQQ Strategy B fails badly relative to paper:
Paper: B should strongly outperform A with Sharpe 1.13 and PnL $63k.
Reproduction: B Sharpe 0.21, PnL $7.2k, and it underperforms A on PnL and Sharpe.
This is a major non-replication.
SPY Strategy B is much weaker than paper:
Paper Sharpe 1.35 vs reproduced 0.58.
Paper PnL 52.7k∗∗vsreproduced∗∗16.6k.
Improvement over A exists, but only modestly.
Strategy C magnitude is much weaker than paper:
QQQ C PnL is roughly half the paper.
DIA C Sharpe 0.62 vs paper 1.08.
SPY C trades 14 vs paper 6, indicating materially different signal timing/selectivity.
Economic significance
Economically, the reproduced results still imply:
Strategy C may be useful:
Strong expectancy across all three ETFs.
Much fewer trades than A, especially in SPY/DIA.
Positive PnL in all three markets.
Strategy B is not robustly useful in this reproduction:
Only mild help in SPY and DIA.
Fails badly in QQQ, contrary to the paper’s central improvement claim.
So the economic story becomes:
Baseline MACD is roughly reproduced
VP-MACD+λ remains promising
MACD+λ does not deliver the paper’s reported edge consistently
Experiment 2: Training-Period Lambda Calibration
Best lambda summary found in repo
DIA B: published 0.92, best Sharpe/PnL/Expectancy = 0.82
DIA C: published 0.86, best Sharpe/PnL/Expectancy = 0.82
QQQ B: published 0.84, best Sharpe = 0.84, best PnL/Expectancy = 0.80
QQQ C: published 0.98, best Sharpe/PnL/Expectancy = 0.80
SPY B: published 0.90, best Sharpe/PnL/Expectancy = 0.88
SPY C: published 0.88, best Sharpe/PnL = 0.90, best Expectancy = 0.82
Interpretation
This experiment does not strongly support the paper’s published lambdas.
What matches
QQQ Strategy B is the strongest calibration match:
Published λ = 0.84
Best Sharpe λ = 0.84
SPY Strategy B is close:
Published 0.90 vs best 0.88
Difference only 0.02, likely acceptable under a multi-metric narrative
What does not match
QQQ Strategy C is the largest miss:
Published λ = 0.98
Best Sharpe/PnL/Expectancy all at 0.80
This is a huge discrepancy
DIA B/C both point to ~0.82 rather than the published 0.92/0.86
SPY C does not point cleanly to 0.88
Calibration surface evidence
From the partial calibration grid shown:
For SPY B, training Sharpe peaks around 0.88
For QQQ B, the high-performing region appears around 0.84–0.86
For QQQ C, the published 0.98 does not seem naturally favored by the repo’s calibration metrics
For SPY C, performance is sensitive and non-monotonic across λ
Assessment
The repo successfully reconstructs a market- and strategy-specific calibration landscape, but it does not convincingly recover the paper’s selected lambdas except in limited cases. Therefore:
The qualitative claim “lambda is market-specific and strategy-specific” is reproduced.
The specific selected lambda values from the paper are only partially reproduced.
Experiment 3: Pairwise Statistical Significance
Reproduced significance results
All nine pairwise comparisons are insignificant at 5% under:
standard t-test,
Newey-West HAC t-test,
circular block bootstrap.
This is the strongest point of divergence from the paper.
Comparison with paper’s expected pattern
Paper expected:
Pair 1 (B vs A) significant for SPY and QQQ
Pair 2 (C vs A) significant for QQQ
Pair 3 (C vs B) significant for DIA
Reproduced:
No significant cases at all
Quantitative comparison
Pair
Paper t/p
Reproduced t/p
Status
SPY B vs A
t=1.7171, p=0.0432
t=0.6658, p=0.2529
Not reproduced
QQQ B vs A
t=1.6653, p=0.0481
t=-0.8118, p=0.7914
Not reproduced
QQQ C vs A
t=1.6586, p=0.0488
t=0.7704, p=0.2206
Not reproduced
DIA C vs B
t=1.7065, p=0.0442
t=0.9442, p=0.1727
Not reproduced
For Newey-West:
Same story; the t-stats are directionally smaller and never reach significance.
For bootstrap:
Paper reports:
SPY Pair 1 p=0.024
QQQ Pair 2 p=0.039
DIA Pair 3 p=0.028
Repo gets:
SPY Pair 1 p=0.224
QQQ Pair 2 p=0.226
DIA Pair 3 p=0.147
These are far away, not borderline misses.
Statistical significance assessment
This experiment is not reproduced. The discrepancy is too large to attribute to normal sampling noise or only to Newey-West lag ambiguity. The repo’s own sensitivity analysis shows NW lag changes do not fix this.
Economic relevance of mean differences
Mean daily differences are small:
SPY B vs A: 0.000062
QQQ C vs A: 0.000238
DIA C vs B: 0.000220
These are economically modest and statistically weak in the reproduced data, explaining why inference is not significant.
Experiment 4: Ambiguity Audit / Sensitivity
This experiment is important because it helps explain the replication gaps.
Main findings from sensitivity study
The repo reports Strategy C Sharpe ranges under varying N and STD windows:
SPY Strategy C Sharpe:0.19 to 1.13
QQQ Strategy C Sharpe:0.31 to 1.43
DIA Strategy C Sharpe:-0.03 to 0.71
This is a large sensitivity range, especially for SPY and QQQ. It means the unresolved VP-MACD construction details can materially alter outcomes and can potentially move results closer to or farther from the paper.
Newey-West lag sensitivity
Lag 1: 0 significant pairs
Lag 5: 0 significant pairs
Lag 10: 0 significant pairs
This indicates:
HAC lag choice is not the main reason significance failed.
The underlying return differences themselves are too weak in this implementation.
EMA sensitivity
The shown exp4_ema_sensitivity.csv entries suggest no change in reported metrics between recursive and adjusted EMA conventions for the configurations shown. So:
EMA initialization is probably not a first-order driver here.
Interpretation
The ambiguity audit supports a nuanced conclusion:
VP-MACD results are highly sensitive to N and STD window.
Inference failures are not primarily due to NW lag choice.
Main discrepancies are more likely caused by the under-specified adjusted-price formula choices and/or broader implementation/data differences, not by a minor test-setting choice.
Statistical & Economic Significance
Statistical significance
The paper’s inferential claims are not reproduced.
No pair reaches 5% significance under any of the three procedures.
Since the gap persists under standard, HAC, and bootstrap tests, this is a material failure rather than a marginal p-value issue.
Economic significance
Some strategies remain economically interesting:
Strategy C has large positive expectancy and positive PnL in all three ETFs.
In SPY and DIA, C is best by PnL.
In QQQ, C strongly beats A and B on absolute PnL.
However:
Strategy B lacks convincing economic support, especially in QQQ.
Reproduced Sharpe ratios are much lower than the paper’s for B and C.
So the economic case is partially preserved for Strategy C, but not for the full paper narrative.
Discrepancies
1. VP-MACD formula ambiguities materially affect Strategy C
The repo explicitly chose:
N = 20
sigma STD window = 20
But the sensitivity study shows Strategy C Sharpe can swing widely depending on these settings. Because the paper does not specify them, exact replication is inherently unstable. This likely explains much of the mismatch in Strategy C’s magnitude and trade counts.
2. Strategy B mismatch is harder to explain by VP-MACD ambiguity
Strategy B uses standard MACD plus λ only. Yet:
SPY B and especially QQQ B are far below the paper.
QQQ B actually underperforms A, opposite to the paper.
This suggests that discrepancies likely come from one or more of:
data-source differences (Yahoo ETF data vs paper source),
indicator/sample-boundary handling,
exact execution assumptions,
λ calibration/selection narrative in the paper,
or possible differences in how the paper computed returns/portfolio sizing.
3. Trade counts differ materially for some strategies
Examples:
SPY C: 14 vs paper 6
SPY B: 29 vs paper 36
QQQ B: 24 vs paper 31
Trade-count gaps usually signal differences in:
crossover implementation details,
warmup / sample-boundary treatment,
EMA startup handling,
or VP-MACD adjusted price construction.
4. Significance discrepancy is too large to be a mere testing-convention issue
Changing NW lag did not restore significance. Bootstrap differences are also large. Therefore the core issue is the underlying daily-return series, not just inference machinery.
Methodology Issues
Methodology appears broadly faithful to the user’s required experiment design:
Separate train/test windows used
Published λ values used for final OOS run
Next-day-open execution
Integer shares
4 bps one-way costs
Formal significance testing done
Ambiguities documented rather than hidden
So this does not look like a careless implementation. The main issue is not obvious methodological noncompliance, but rather that paper-faithful implementation under documented choices does not recover the paper’s headline outcomes.
One notable point:
The calibration output does not naturally justify several of the paper’s published λ selections, especially QQQ Strategy C = 0.98. That weakens confidence that the paper’s calibration rule was fully specified.
Reliability
Positives
Results are internally coherent.
Strategy hierarchies are sensible.
Sensitivity analysis is present and useful.
The same inference failure persists across standard, HAC, and bootstrap methods.
Red flags
Several paper claims are not close quantitatively.
Strategy B’s reproduced behavior is sharply inconsistent with the paper in QQQ.
Calibration does not support some published λ choices.
VP-MACD results are highly assumption-sensitive.
Overall confidence
Medium confidence in the repository’s reported findings as a serious replication attempt.
Low confidence that the original paper’s exact reported magnitudes are robust or uniquely reproducible from the published methodology.
Charts Found in Repository
Experiment 1
Experiment 2
Experiment 3
Experiment 4
Verdict
Final Decision: PARTIALLY REPRODUCED
Why:
The replication does recover some core qualitative findings:
baseline MACD behavior is broadly similar,
Strategy C is more selective,
Strategy C often improves trade quality and sometimes total PnL,
results remain market-dependent.
But the repository does not reproduce the paper’s headline quantitative results:
Strategy B’s strong OOS improvement is not recovered, especially in QQQ,
Strategy C’s reported magnitudes are much weaker,
the published significance pattern is not reproduced at all,
calibration does not convincingly recover several published λ values.
So this is not a full reproduction, but also not a complete failure, because meaningful parts of the paper’s qualitative narrative do survive under a transparent, documented implementation.
Experiments
Primary paper-faithful out-of-sample replication of MACD, MACD+lambda, and VP-MACD+lambda on SPY, QQQ, and DIA
Reproduce the paper’s main empirical results by implementing three daily long-only ETF trading strategies—baseline MACD crossover, MACD with a lambda-relaxed buy rule, and VP-MACD with its own lambda-relaxed buy rule—using Yahoo Finance OHLCV data for SPY, QQQ, and DIA. The experiment must calibrate lambda on the 2018-2022 training sample, then evaluate out-of-sample performance on 2023-01-01 to 2026-02-28 with next-day-open execution, integer shares, no leverage, and 4 bps one-way transaction costs. The experiment must preserve the paper’s custom VP-MACD adjusted price definition and asymmetric lambda rule, while explicitly documenting unresolved ambiguities such as the adjusted-price lookback N, the volatility STD window, EMA initialization, and sample-boundary conventions.
Training-period lambda calibration experiment for MACD+lambda and VP-MACD by market
Reproduce the paper’s parameter-calibration stage by searching over lambda values from 0.80 to 1.00 in increments of 0.02 for Strategy B (traditional MACD with lambda-relaxed buy rule) and Strategy C (VP-MACD with lambda-relaxed buy rule), separately for SPY, QQQ, and DIA, using only the 2018-2022 training sample. This experiment is independent of the final out-of-sample backtest and focuses only on reconstructing the calibration grid, calibration metrics, selected lambdas, and the claim that lambda is market- and strategy-specific.
Pairwise statistical significance experiment on out-of-sample daily return differences
Independently reproduce the paper’s inferential analysis by constructing out-of-sample daily portfolio return difference series for pairwise strategy comparisons and applying three one-sided significance procedures: a standard t-test, a Newey-West HAC-adjusted t-test, and a circular block bootstrap with 1,000 resamples and block length 5. This experiment focuses only on statistical testing of strategy-improvement claims on the 2023-01-01 to 2026-02-28 testing period, assuming daily return series for the three strategies have already been generated under the paper’s trading rules.
Ambiguity audit and sensitivity experiment for unresolved VP-MACD implementation choices
Systematically evaluate how unresolved paper ambiguities affect replication results by running a controlled sensitivity analysis over the implementation choices that the paper leaves unspecified, especially the adjusted-price lookback N in the VP-MACD formula, the STD window used in the volatility term sigma_i, the EMA initialization convention, the test-period starting-state convention, and the Newey-West lag choice. This experiment is designed as an audit layer separate from the primary replication and should quantify which ambiguities materially change the reported outcomes and which do not.