MACD - Signal Statistics [Dots3Red]

📊 MACD - SIGNAL STATISTICS [Dots3Red]
This indicator plots the MACD and measures how often its signals were followed by a meaningful move on the current chart, separately for signal-line crosses above and below zero and for zero-line crosses, shown as percentages with the sample size next to them.
✨ WHY THIS MATTERS
MACD is one of the most used indicators: buy when MACD crosses above its signal line, especially below zero; sell on the opposite. Whether those rules have worked depends on the instrument and timeframe. A bullish cross deep below zero behaves differently from one well above it. This script keeps a separate scoreboard for each kind of MACD signal, so you can see which ones have mattered on your chart.
⚙️ HOW IT WORKS
📊 Standard MACD — fast EMA minus slow EMA, a signal line, and a four-color histogram (rising or falling, above or below zero).
🔀 Six signal types tracked separately
• Bullish signal-line cross below zero / above zero
• Bearish signal-line cross above zero / below zero
• Bullish zero-line cross / bearish zero-line cross
🎯 Grading — each signal is graded from the close of the signal bar against two levels fixed at that moment:
• Worked — price moves a set ATR distance in the signal direction
• Failed — price moves a set ATR distance against it first, or the window runs out
If both happen on the same bar, it counts as failed. Only one signal of each type is graded at a time; a repeat that fires while one is still open is labeled but not counted.
🔒 Non-repainting — signals are graded and labeled on confirmed bars only.
📈 Drawn where you look — MACD, signal line and histogram in the lower pane; labels with each signal type's measured rate and the dashboard on the price chart.
🧭 HOW TO USE
1️⃣ Compare crosses below and above zero. The textbook says bullish crosses below zero are stronger. The dashboard shows whether that is true on your chart.
2️⃣ Compare signal-line and zero-line crosses. Some markets reward the faster signal-line cross, others the slower zero-line confirmation.
3️⃣ Tune target and stop to your style. A larger target with a tight stop is a harder test and usually lowers the rate.
4️⃣ Let each type build a sample. The count is shown next to every rate.
5️⃣ Use it as context, not a trigger. The rates describe how MACD signals have behaved on this chart. They do not predict the next one.
⏱️ WHICH TIMEFRAMES WORK BEST
15-minute through daily. Lower timeframes produce many crosses but more noise; daily gives cleaner signals but needs a long history to build a sample.
🛠️ SETTINGS
📊 MACD — fast length, slow length, signal length, source
🎯 Signal Grading — ATR length, target (× ATR), stop (× ATR), max bars to resolve, minimum samples to show a rate
🎨 Visuals — MACD and signal colors and thickness, four histogram colors, show histogram, price chart labels (signal crosses, zero crosses, all or off) and their colors
🖥️ Dashboard — show/hide, position
🔔 Alerts — bullish and bearish signal-line cross, MACD above zero, MACD below zero
📝 NOTES
All rates are specific to this chart, timeframe and settings, and do not transfer to other instruments or configurations.
⚠️ DISCLAIMER
This is an analytical and visualization tool. It does not generate trade signals and does not constitute financial advice. Historical statistics do not guarantee future performance.
This indicator plots the MACD and measures how often its signals were followed by a meaningful move on the current chart, separately for signal-line crosses above and below zero and for zero-line crosses, shown as percentages with the sample size next to them.
✨ WHY THIS MATTERS
MACD is one of the most used indicators: buy when MACD crosses above its signal line, especially below zero; sell on the opposite. Whether those rules have worked depends on the instrument and timeframe. A bullish cross deep below zero behaves differently from one well above it. This script keeps a separate scoreboard for each kind of MACD signal, so you can see which ones have mattered on your chart.
⚙️ HOW IT WORKS
📊 Standard MACD — fast EMA minus slow EMA, a signal line, and a four-color histogram (rising or falling, above or below zero).
🔀 Six signal types tracked separately
• Bullish signal-line cross below zero / above zero
• Bearish signal-line cross above zero / below zero
• Bullish zero-line cross / bearish zero-line cross
🎯 Grading — each signal is graded from the close of the signal bar against two levels fixed at that moment:
• Worked — price moves a set ATR distance in the signal direction
• Failed — price moves a set ATR distance against it first, or the window runs out
If both happen on the same bar, it counts as failed. Only one signal of each type is graded at a time; a repeat that fires while one is still open is labeled but not counted.
🔒 Non-repainting — signals are graded and labeled on confirmed bars only.
📈 Drawn where you look — MACD, signal line and histogram in the lower pane; labels with each signal type's measured rate and the dashboard on the price chart.
🧭 HOW TO USE
1️⃣ Compare crosses below and above zero. The textbook says bullish crosses below zero are stronger. The dashboard shows whether that is true on your chart.
2️⃣ Compare signal-line and zero-line crosses. Some markets reward the faster signal-line cross, others the slower zero-line confirmation.
3️⃣ Tune target and stop to your style. A larger target with a tight stop is a harder test and usually lowers the rate.
4️⃣ Let each type build a sample. The count is shown next to every rate.
5️⃣ Use it as context, not a trigger. The rates describe how MACD signals have behaved on this chart. They do not predict the next one.
⏱️ WHICH TIMEFRAMES WORK BEST
15-minute through daily. Lower timeframes produce many crosses but more noise; daily gives cleaner signals but needs a long history to build a sample.
🛠️ SETTINGS
📊 MACD — fast length, slow length, signal length, source
🎯 Signal Grading — ATR length, target (× ATR), stop (× ATR), max bars to resolve, minimum samples to show a rate
🎨 Visuals — MACD and signal colors and thickness, four histogram colors, show histogram, price chart labels (signal crosses, zero crosses, all or off) and their colors
🖥️ Dashboard — show/hide, position
🔔 Alerts — bullish and bearish signal-line cross, MACD above zero, MACD below zero
📝 NOTES
All rates are specific to this chart, timeframe and settings, and do not transfer to other instruments or configurations.
⚠️ DISCLAIMER
This is an analytical and visualization tool. It does not generate trade signals and does not constitute financial advice. Historical statistics do not guarantee future performance.
Connect the dots to elevate your trading.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Connect the dots to elevate your trading.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.