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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.