OPEN-SOURCE SCRIPT

Super-trend Signal Engine Strat [QUANTUM EDGE]

4 037
Short description
Volatility-adjusted Supertrend strategy with trend-reversal entries, bar highlights, and date-range backtesting.

Description
Signal Engine Quantum Edge is a clean Supertrend-based strategy that tracks volatility-adjusted trend state and generates long/short entries on confirmed reversals. It includes optional visual highlights, signal labels, and bar coloring to make trend alignment instantly readable, plus a configurable date range for precise backtest control.

How it works
Computes ATR-based upper and lower bands from a user-selected source (default hl2)

Bands tighten with trend continuation and reset on reversal

A trend flip from bearish to bullish triggers a long entry

A trend flip from bullish to bearish triggers a short entry

Recommended timeframe settings
Timeframe ATR Period ATR Multiplier
15-minute 15 9.1
5-minute 13 5.1
1-minute 10 3.0
Load the chart on your desired timeframe, open the strategy settings, and match the ATR Period and ATR Multiplier to the values above before running backtests.

Inputs
ATR Period — lookback for volatility measurement

ATR Multiplier — band width scalar

Source — price input for band calculation (default hl2)

Change ATR Calculation Method — toggle between standard ATR and SMA-of-TR

Show Buy/Sell Signals — toggle signal labels on/off

Highlighter On/Off — background trend shading

Bar Coloring On/Off — candle color sync with trend state

Date Range — backtest window limits (From/To month, day, year)

Important usage notes
This is a strategy script, not an indicator. It executes strategy.entry() calls and is meant for backtesting and automated execution workflows.

Combine with your own higher-timeframe bias, structure, and risk-management rules before live deployment.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。