OPEN-SOURCE SCRIPT
SignalForge

# SignalForge v5 — Volume Intelligence (Updated)
Pine Script v6 indicator that generates BUY/SELL signals from a
7-strategy composite score (RSI, Volume/OBV, VWAP, EMA trend, MACD, Bollinger Bands,
and a Volume Intelligence delta engine), with ML-style adaptive weighting and
candlestick/chart pattern detection.
This document covers what changed in this update.
---
## 1. Chart decluttering — overlay plots removed
The following lines, which previously drew directly on the price chart, have been
**removed** (the underlying calculations are kept — they still feed the composite
score, only the visual plots are gone):
- VWAP line + upper/lower deviation bands (3 lines)
- EMA Fast (9) / EMA Slow (21) lines (2 lines)
- Bollinger Band upper / lower / mid lines (3 lines)
The chart now only shows: candles, BUY/SELL signal markers, bar coloring,
pattern labels, the new SMA lines (below), and the new proximity labels.
---
## 2. Configurable SMA levels + proximity labels
A new **"SMA Levels"** input group adds five independently configurable SMAs:
| SMA slot | Default length | Toggle input | Length input |
|----------|----------------|--------------|--------------|
| SMA 1 | 9 | Show SMA 1 | Length |
| SMA 2 | 12 | Show SMA 2 | Length |
| SMA 3 | 22 | Show SMA 3 | Length |
| SMA 4 | 50 | Show SMA 4 | Length |
| SMA 5 | 200 | Show SMA 5 | Length |
Each is plotted in its own color (yellow, orange, fuchsia, blue, maroon) and can be
shown/hidden or resized independently — change the length to anything from 2 to 400 bars.
### Proximity labels
- **Proximity Threshold (%)** (default `0.15%`) — how close price must get to an SMA
(as a % of price) before it's considered a "touch."
- **Show SMA Proximity Labels** (default ON) — when price first enters the proximity
zone of one or more SMAs, a single combined label appears above the bar, e.g.:
```
⟷ Near SMA50 SMA200
```
The label only fires on the bar price *first* enters the zone (not every bar it
stays there), so it won't spam the chart.
---
## 3. False-signal reduction (Signal Gate)
Three new controls were added to the **"Signal Gate"** group, specifically aimed at
reducing false BUY/SELL signals:
### a) ADX Chop Filter
- **Filter Signals in Choppy Markets (ADX)** — default **ON**
- **ADX Length** — default 14
- **Minimum ADX to Allow Signals** — default 18.0
When enabled, BUY/SELL signals are suppressed whenever ADX is below the threshold —
i.e. the market isn't trending. Range-bound chop is the single biggest source of
false signals in composite-oscillator systems like this one.
### b) Anti-whipsaw Reversal Guard
- **Reversal Strength Multiplier** — default **1.3**
If a signal fires in the *opposite* direction of the last signal within
`2 × Min Bars Between Signals`, the composite score must exceed the adaptive
threshold by this multiplier to fire. This stops rapid BUY→SELL→BUY flip-flopping
during noisy/whipsaw conditions, while still allowing a genuinely strong reversal
through.
### c) ML Accuracy Noise Filter
- **Min Move to Count (% of price)** — default **0.05%** (in the "ML Engine" group)
The rolling accuracy tracker that drives the ML weight-adaptation engine now ignores
price moves smaller than this threshold when scoring whether a past signal was
"correct." Previously, even a 0.01% tick counted as a win/loss, which added noise to
the weight adjustments — especially on lower timeframes.
### Dashboard
If **Show Dashboard** is enabled, a new row **"Chop Filter / ADX"** shows live
`TRENDING` / `CHOPPY` status and the current ADX value, color-coded against your
threshold.
---
Pine Script v6 indicator that generates BUY/SELL signals from a
7-strategy composite score (RSI, Volume/OBV, VWAP, EMA trend, MACD, Bollinger Bands,
and a Volume Intelligence delta engine), with ML-style adaptive weighting and
candlestick/chart pattern detection.
This document covers what changed in this update.
---
## 1. Chart decluttering — overlay plots removed
The following lines, which previously drew directly on the price chart, have been
**removed** (the underlying calculations are kept — they still feed the composite
score, only the visual plots are gone):
- VWAP line + upper/lower deviation bands (3 lines)
- EMA Fast (9) / EMA Slow (21) lines (2 lines)
- Bollinger Band upper / lower / mid lines (3 lines)
The chart now only shows: candles, BUY/SELL signal markers, bar coloring,
pattern labels, the new SMA lines (below), and the new proximity labels.
---
## 2. Configurable SMA levels + proximity labels
A new **"SMA Levels"** input group adds five independently configurable SMAs:
| SMA slot | Default length | Toggle input | Length input |
|----------|----------------|--------------|--------------|
| SMA 1 | 9 | Show SMA 1 | Length |
| SMA 2 | 12 | Show SMA 2 | Length |
| SMA 3 | 22 | Show SMA 3 | Length |
| SMA 4 | 50 | Show SMA 4 | Length |
| SMA 5 | 200 | Show SMA 5 | Length |
Each is plotted in its own color (yellow, orange, fuchsia, blue, maroon) and can be
shown/hidden or resized independently — change the length to anything from 2 to 400 bars.
### Proximity labels
- **Proximity Threshold (%)** (default `0.15%`) — how close price must get to an SMA
(as a % of price) before it's considered a "touch."
- **Show SMA Proximity Labels** (default ON) — when price first enters the proximity
zone of one or more SMAs, a single combined label appears above the bar, e.g.:
```
⟷ Near SMA50 SMA200
```
The label only fires on the bar price *first* enters the zone (not every bar it
stays there), so it won't spam the chart.
---
## 3. False-signal reduction (Signal Gate)
Three new controls were added to the **"Signal Gate"** group, specifically aimed at
reducing false BUY/SELL signals:
### a) ADX Chop Filter
- **Filter Signals in Choppy Markets (ADX)** — default **ON**
- **ADX Length** — default 14
- **Minimum ADX to Allow Signals** — default 18.0
When enabled, BUY/SELL signals are suppressed whenever ADX is below the threshold —
i.e. the market isn't trending. Range-bound chop is the single biggest source of
false signals in composite-oscillator systems like this one.
### b) Anti-whipsaw Reversal Guard
- **Reversal Strength Multiplier** — default **1.3**
If a signal fires in the *opposite* direction of the last signal within
`2 × Min Bars Between Signals`, the composite score must exceed the adaptive
threshold by this multiplier to fire. This stops rapid BUY→SELL→BUY flip-flopping
during noisy/whipsaw conditions, while still allowing a genuinely strong reversal
through.
### c) ML Accuracy Noise Filter
- **Min Move to Count (% of price)** — default **0.05%** (in the "ML Engine" group)
The rolling accuracy tracker that drives the ML weight-adaptation engine now ignores
price moves smaller than this threshold when scoring whether a past signal was
"correct." Previously, even a 0.01% tick counted as a win/loss, which added noise to
the weight adjustments — especially on lower timeframes.
### Dashboard
If **Show Dashboard** is enabled, a new row **"Chop Filter / ADX"** shows live
`TRENDING` / `CHOPPY` status and the current ADX value, color-coded against your
threshold.
---
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.