OPEN-SOURCE SCRIPT
NNFX BTC SSL+QQE - SignalForge

NNFX-style trend-following strategy for BTC: SSL baseline + QQE confirmation + Keltner filter, with ATR-based exits.
HOW IT WORKS
- Entry: price crosses the SSL baseline (EMA) with QQE histogram agreement, only when price is inside the Keltner channel (avoids chasing overextended moves).
- Exits: ATR stop/target (default 33x / 33x ATR) plus an early exit when the baseline or QQE flips against the position.
- Signals confirm at bar close (no repainting). Pyramiding off, one position per direction.
SETTINGS
- Price Source: source used for all calculations.
- Invert Signals: flips long/short logic (useful for testing).
- Baseline / Keltner / QQE: independent periods for each component.
- Risk: ATR length and the stop/target multipliers.
- Backtest: custom date range filter.
ALERTS
Every entry and exit ships with a pre-formatted JSON alert message, ready for webhook automation with any trading bridge. Create the alert on the strategy, keep the default
{{strategy.order.alert_message}} placeholder, and point it at your endpoint.
Default commission 0.04% and 2-tick slippage are pre-set for realistic crypto backtests. As always: past performance does not guarantee future results.
HOW IT WORKS
- Entry: price crosses the SSL baseline (EMA) with QQE histogram agreement, only when price is inside the Keltner channel (avoids chasing overextended moves).
- Exits: ATR stop/target (default 33x / 33x ATR) plus an early exit when the baseline or QQE flips against the position.
- Signals confirm at bar close (no repainting). Pyramiding off, one position per direction.
SETTINGS
- Price Source: source used for all calculations.
- Invert Signals: flips long/short logic (useful for testing).
- Baseline / Keltner / QQE: independent periods for each component.
- Risk: ATR length and the stop/target multipliers.
- Backtest: custom date range filter.
ALERTS
Every entry and exit ships with a pre-formatted JSON alert message, ready for webhook automation with any trading bridge. Create the alert on the strategy, keep the default
{{strategy.order.alert_message}} placeholder, and point it at your endpoint.
Default commission 0.04% and 2-tick slippage are pre-set for realistic crypto backtests. As always: past performance does not guarantee future results.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.