OPEN-SOURCE SCRIPT
Swing Trading Indicator

This script is a swing‑trading dashboard designed for BTC, ETH, S&P 500 (for now). It combines weekly RSI, USDT.D, VIX, moving averages and Fisher Transform into a single visual tool, with background highlights, an on‑chart info table and ready‑made alerts to help you time high‑probability swing entries and manage risk.
1. Overview
The indicator is intended to work on daily timeframe.
Signals are context‑aware: BTC and ETH get USDT.D conditions, SPX gets VIX and EMA‑100 logic, and all non‑ETH symbols can also use Fisher Transform as a mean‑reversion filter.
2. Conditions and background highlights
Each component sets a boolean condition and, when active, paints a background layer:
Weekly RSI condition
True when weekly RSI is below its symbol‑specific threshold.
USDT.D conditions
BTC: triggered when USDT.D is above the user threshold and the chart symbol is BTC.
ETH: same logic for ETH, but tracked separately..
VIX condition (SPX only)
True when VIX high is at or above the VIX threshold while the chart is SPX.
EMA condition (BTC & SPX)
BTC: daily close below EMA‑200.
SPX: daily close below EMA‑100.
Fisher Transform condition (non‑ETH)
Fisher Transform on the chart timeframe, using the configured period.
True when Fisher value is below the Fisher threshold.
3. Intended use and notes
This indicator is designed as a confluence tool for swing traders, not a standalone buy/sell system. It works best on assets that are in a clear uptrend, where the main idea is to accumulate during corrections within that broader bullish structure.
During larger market shocks, deep corrections, or black‑swan events, trend‑based and mean‑reversion filters can produce false signals, because volatility and correlations often behave abnormally in those periods. For that reason, this script should always be combined with independent risk management, higher‑timeframe trend analysis, and your own discretion.
1. Overview
The indicator is intended to work on daily timeframe.
Signals are context‑aware: BTC and ETH get USDT.D conditions, SPX gets VIX and EMA‑100 logic, and all non‑ETH symbols can also use Fisher Transform as a mean‑reversion filter.
2. Conditions and background highlights
Each component sets a boolean condition and, when active, paints a background layer:
Weekly RSI condition
True when weekly RSI is below its symbol‑specific threshold.
USDT.D conditions
BTC: triggered when USDT.D is above the user threshold and the chart symbol is BTC.
ETH: same logic for ETH, but tracked separately..
VIX condition (SPX only)
True when VIX high is at or above the VIX threshold while the chart is SPX.
EMA condition (BTC & SPX)
BTC: daily close below EMA‑200.
SPX: daily close below EMA‑100.
Fisher Transform condition (non‑ETH)
Fisher Transform on the chart timeframe, using the configured period.
True when Fisher value is below the Fisher threshold.
3. Intended use and notes
This indicator is designed as a confluence tool for swing traders, not a standalone buy/sell system. It works best on assets that are in a clear uptrend, where the main idea is to accumulate during corrections within that broader bullish structure.
During larger market shocks, deep corrections, or black‑swan events, trend‑based and mean‑reversion filters can produce false signals, because volatility and correlations often behave abnormally in those periods. For that reason, this script should always be combined with independent risk management, higher‑timeframe trend analysis, and your own discretion.
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.