15-minute control
MACD 12, 26, 9
Use a 50 bar EMA trend filter and accept a signal-line cross only after the candle closes.
This setup values smoother confirmation over early entry.
Intraday parameter research
Short answer
MACD 12, 26, 9 is the best control for day-trading research because platforms document it and the result is easy to reproduce. Compare it with a faster 8, 21, 5 or 5, 13, 5 setup on the exact symbol and timeframe you trade. Faster values react sooner but usually create more crossovers, turnover, and false signals.
These values are controls for a test. Keep the symbol, session, costs, entry rule, and exit rule fixed while you compare them.
| Setting | Use case | Tradeoff | Test note |
|---|---|---|---|
| 12, 26, 9 | Documented control for 15-minute, 30-minute, or hourly trend confirmation. | It can react after much of a short intraday move has already occurred. | Save this result before testing faster lengths. It is the comparison baseline. |
| 8, 21, 5 | Faster momentum test for liquid stocks and index ETFs on 5-minute or 15-minute charts. | More responsive values can increase false turns during quiet or sideways sessions. | Keep the trend filter and exit fixed while comparing with 12, 26, 9. |
| 5, 13, 5 | Shorter intraday hold periods where a quicker signal is part of the written rule. | A short fast and slow pair can follow minor price changes and raise trading costs. | Measure average trade after spread, commission, and slippage. |
| 3, 10, 3 | Aggressive lower-timeframe research, not a default recommendation. | Signal frequency can be high enough for costs and whipsaws to dominate. | Require bar-close confirmation and compare results by session. |
MACD 12, 26, 9
Use a 50 bar EMA trend filter and accept a signal-line cross only after the candle closes.
This setup values smoother confirmation over early entry.
MACD 8, 21, 5
Keep the same trend filter, stop, exit, dates, and position size as the control.
A higher trade count is not evidence of a better strategy.
MACD 5, 13, 5
Restrict entries to liquid market hours and include a minimum relative-volume condition only in a separate test.
Do not combine a new MACD setting and a new filter in the same first comparison.
MACD 12, 26, 9 above or below zero
Use MACD as a directional state while a separate price rule times the entry.
This is a different strategy from trading each signal-line crossover.
A 12 bar fast average spans one hour on a 5-minute chart and three hours on a 15-minute chart. The same MACD numbers therefore describe different windows of market activity.
Write the symbol, timeframe, session, and expected holding period before choosing parameters. A setup for an SPY 15-minute trend trade should not be copied into a one-minute NVDA scalp without a new test.
Faster MACD settings usually create more signals. More signals mean more spread crossings, commissions, slippage, and exposure to partial fills. A gross-profit result can disappear after those costs are modeled.
Use the same cost assumptions for every parameter set. Report average trade and turnover beside net profit so a busy strategy does not look better only because it traded more often.
Start with three or four documented settings instead of hundreds of combinations. Pick the control, one moderate alternative, and one fast alternative. Hold the rest of the strategy constant.
After a useful range appears, test nearby values on untouched dates. If the result changes sharply when one length moves by a single bar, the parameter choice is fragile.
These examples define a research process. They are not trade calls or evidence that a setup will make money.
Rule to test
Compare MACD 12, 26, 9 with 8, 21, 5. Enter long on a bullish cross only when price is above a rising 50 bar EMA. Exit on the bearish cross.
Validation
Keep the final 30 percent of dates untouched. Include commission and slippage, then compare drawdown, average trade, and turnover.
Rule to test
Compare MACD 12, 26, 9 with 5, 13, 5 during regular US market hours. Use the same two ATR stop and end-of-day exit.
Validation
Split results by morning and afternoon. Check whether the faster rule adds trades that remain positive after costs.
Rule to test
Use MACD above zero as a long-only state, then enter on a close above the prior bar high. Test 12, 26, 9 and 8, 21, 5.
Validation
Compare with the crossover strategy as a separate test. Do not mix state and crossover entries in one result.
I write the session and holding period before I choose a MACD setting. The number has no useful context without the chart interval.
When I compare 12, 26, 9 with 8, 21, 5, I keep the stop, exit, costs, and position size unchanged.
I reject a faster setting when its average trade cannot cover a conservative fill assumption. More signals do not make that problem smaller.
Pineify can turn each MACD length into an input, add the session and trend filter, and generate a TradingView strategy you can inspect. The Strategy Optimizer can compare the same rule across a small parameter range after the baseline is saved.
Build a day-trading MACD testTest MACD reaction speed on five-minute charts without hiding session, turnover, or execution costs.
Compare faster MACD settings with explicit timeframe, session, fill, and cost assumptions.
Compare MACD parameter starting points for swing trading, then test them with explicit costs, dates, and holdout data.
Compute Moving Average Convergence Divergence values to identify trend direction and momentum.
Learn how to build, backtest, and optimize a MACD crossover strategy on TradingView using Pine Script v5 and Pineify Deep Report.
Source review completed 2026-07-26.
This page is an information and strategy-testing tool, not investment advice. MACD settings are research starting points, not trade recommendations or promises of returns. Backtests and paper trades are hypothetical and do not predict future performance. Day trading can result in rapid loss.