VELA RANGO FUTURESNQ-@MRXAUFXRange candle plus Asian session, add EMAs 9 and 21 and VWAP for the strategy to work
Recherche dans les scripts pour "Futures"
ES Gap Trading Levels# ES Gap Trading Levels
## Overview
A professional gap trading indicator designed specifically for ES Futures traders. This indicator automatically captures the closing price at 3:59 PM ET (NYSE close) and immediately displays key gap levels for the evening trading session starting at 6:00 PM ET.
## Key Features
### ✅ **Automatic Gap Level Detection**
- Captures ES Futures closing price at 3:59-4:00 PM ET
- Instantly displays gap levels for immediate session planning
- Resets daily for fresh gap analysis
### ✅ **Six Critical Gap Levels**
- **±10 Points** (White lines) - Short-term gap targets
- **±20 Points** (Light Blue lines) - Medium gap targets
- **±30 Points** (Red lines) - Extended gap targets
### ✅ **Professional Display**
- Clean horizontal lines with customizable colors
- Clear labels showing point values (+30, +20, +10, -10, -20, -30)
- Gap levels table showing exact price targets
- Optional closing price reference line
### ✅ **Customizable Settings**
- Adjustable line colors, width, and extension
- Toggle labels and reference table on/off
- Manual closing price override for testing
- Debug mode for troubleshooting
### ✅ **Smart Management**
- Automatic cleanup of previous day's levels
- Lines appear immediately after market close
- Optimized for ES1!, MES1!, and other ES futures contracts
## How It Works
1. **Market Close Capture**: At 3:59 PM ET, the indicator captures the ES closing price
2. **Instant Display**: Gap levels immediately appear on your chart
3. **Evening Session Ready**: Lines are positioned for 6:00 PM ET session start
4. **Daily Reset**: Old levels are automatically cleared each new trading day
## Perfect For:
- Gap trading strategies
- Overnight futures trading
- ES futures scalping
- Session transition analysis
- Risk management levels
## Usage Tips:
- Best used on 1-15 minute ES futures charts
- Ensure chart timezone shows ET times
- Use manual mode for backtesting specific dates
- Combine with volume and momentum indicators
## Settings Guide:
- **Display Settings**: Control lines, labels, and table visibility
- **Colors**: Customize each gap level color scheme
- **Manual Settings**: Override closing price for testing
- **Debug**: View time detection and diagnostic information
*Designed by traders, for traders. Clean, professional, and reliable gap level detection for serious ES futures trading.*
ConeCastConeCast is a forward-looking projection indicator that visualizes a future price range (or "cone") based on recent trend momentum and adaptive volatility. Unlike lagging bands or reactive channels, this tool plots a predictive zone 3–50 bars ahead, allowing traders to anticipate potential price behavior rather than merely react to it.
How It Works
The core of ConeCast is a dynamic trend-slope engine derived from a Linear Regression line fitted over a user-defined lookback window. The slope of this trend is projected forward, and the cone’s width adapts based on real-time market volatility. In calm markets, the cone is narrow and focused. In volatile regimes, it expands proportionally, using an ATR-based % of price to scale.
Key Features
📈 Predictive Cone Zone: Visualizes a forward range using trend slope × volatility width.
🔄 Auto-Adaptive Volatility Scaling: Expands or contracts based on market quiet/chaotic states.
📊 Regime Detection: Identifies Bull, Bear, or Neutral states using a tunable slope threshold.
🧭 Multi-Timeframe Compatible: Slope and volatility can be calculated from higher timeframes.
🔔 Smart Alerts: Detects price entering the cone, and signals trend regime changes in real time.
🖼️ Clean Visual Output: Optionally includes outer cones, trend-trail marker, and dashboard label.
How to Use It
Use on 15m–4H charts for best forward visibility.
Look for price entering the cone as a potential trend continuation setup.
Monitor regime changes and volatility expansion to filter choppy market zones.
Tune the slope sensitivity and ATR multiplier to match your symbol's behavior.
Use outer cones to anticipate aggressive swings and wick traps.
What Makes It Unique
ConeCast doesn’t follow price — it predicts a possible future price envelope using trend + volatility math, without relying on lagging indicators or repainting logic. It's a hybrid of regression-based forecasting and dynamic risk zoning, designed for swing traders, scalpers, and algo developers alike.
Limitations
ConeCast projects based on current trend and volatility — it does not "know" future price. Like all projection tools, accuracy depends on trend persistence and market conditions. Use this in combination with confirmation signals and risk management.
Dskyz (DAFE) Quantum Sentiment Flux - Beginners Dskyz (DAFE) Quantum Sentiment Flux - Beginners:
Welcome to the Dskyz (DAFE) Quantum Sentiment Flux - Beginners , a strategy and concept that’s your ultimate wingman for trading futures like MNQ, NQ, MES, and ES. This gem combines lightning-fast momentum signals, market sentiment smarts, and bulletproof risk management into a system so intuitive, even newbies can trade like pros. With clean DAFE visuals, preset modes for every vibe, and a revamped dashboard that’s basically a market GPS, this strategy makes futures trading feel like a high-octane sci-fi mission.
Built on the Dskyz (DAFE) legacy of Aurora Divergence, the Quantum Sentiment Flux is designed to empower beginners while giving seasoned traders a lean, sentiment-driven edge. It uses fast/slow EMA crossovers for entries, filters trades with VIX, SPX trends, and sector breadth, and keeps your account safe with adaptive stops and cooldowns. Tuned for more action with faster signals and a slick bottom-left dashboard, this updated version is ready to light up your charts and outsmart institutional traps. Let’s dive into why this strat’s a must-have and break down its brilliance.
Why Traders Need This Strategy
Futures markets are a wild ride—fast moves, volatility spikes (like the April 28, 2025 NQ 1k-point drop), and institutional games that can wreck unprepared traders. Beginners often get lost in complex systems or burned by impulsive trades. The Quantum Sentiment Flux is the antidote, offering:
Dead-Simple Setup: Preset modes (Aggressive, Balanced, Conservative) auto-tune signals, risk, and sizing, so you can trade without a quant degree.
Sentiment Superpower: VIX filter, SPX trend, and sector breadth visuals keep you aligned with market health, dodging chop and riding trends.
Ironclad Safety: Tighter ATR-based stops, 2:1 take-profits, and preset cooldowns protect your capital, even in chaotic sessions.
Next-Level Visuals: Green/red entry triangles, vibrant EMAs, a sector breadth background, and a beefed-up dashboard make signals and context pop.
DAFE Swagger: The clean aesthetics, sleek dashboard—ties it to Dskyz’s elite brand, making your charts a work of art.
Traders need this because it’s a plug-and-play system that blends beginner-friendly simplicity with pro-level market awareness. Whether you’re just starting or scalping 5min MNQ, this strat’s your key to trading with confidence and style.
Strategy Components
1. Core Signal Logic (High-Speed Momentum)
The strategy’s engine is a momentum-based system using fast and slow Exponential Moving Averages (EMAs), now tuned for faster, more frequent trades.
How It Works:
Fast/Slow EMAs: Fast EMA (Aggressive: 5, Balanced: 7, Conservative: 9 bars) and slow EMA (12/14/18 bars) track short-term vs. longer-term momentum.
Crossover Signals:
Buy: Fast EMA crosses above slow EMA, and trend_dir = 1 (fast EMA > slow EMA + ATR * strength threshold).
Sell: Fast EMA crosses below slow EMA, and trend_dir = -1 (fast EMA < slow EMA - ATR * strength threshold).
Strength Filter: ma_strength = fast EMA - slow EMA must exceed an ATR-scaled threshold (Aggressive: 0.15, Balanced: 0.18, Conservative: 0.25) for robust signals.
Trend Direction: trend_dir confirms momentum, filtering out weak crossovers in choppy markets.
Evolution:
Faster EMAs (down from 7–10/21–50) catch short-term trends, perfect for active futures markets.
Lower strength thresholds (0.15–0.25 vs. 0.3–0.5) make signals more sensitive, boosting trade frequency without sacrificing quality.
Preset tuning ensures beginners get optimized settings, while pros can tweak via mode selection.
2. Market Sentiment Filters
The strategy leans hard into market sentiment with a VIX filter, SPX trend analysis, and sector breadth visuals, keeping trades aligned with the big picture.
VIX Filter:
Logic: Blocks long entries if VIX > threshold (default: 20, can_long = vix_close < vix_limit). Shorts are always allowed (can_short = true).
Impact: Prevents longs during high-fear markets (e.g., VIX spikes in crashes), while allowing shorts to capitalize on downturns.
SPX Trend Filter:
Logic: Compares S&P 500 (SPX) close to its SMA (Aggressive: 5, Balanced: 8, Conservative: 12 bars). spx_trend = 1 (UP) if close > SMA, -1 (DOWN) if < SMA, 0 (FLAT) if neutral.
Impact: Provides dashboard context, encouraging trades that align with market direction (e.g., longs in UP trend).
Sector Breadth (Visual):
Logic: Tracks 10 sector ETFs (XLK, XLF, XLE, etc.) vs. their SMAs (same lengths as SPX). Each sector scores +1 (bullish), -1 (bearish), or 0 (neutral), summed as breadth (-10 to +10).
Display: Green background if breadth > 4, red if breadth < -4, else neutral. Dashboard shows sector trends (↑/↓/-).
Impact: Faster SMA lengths make breadth more responsive, reflecting sector rotations (e.g., tech surging, energy lagging).
Why It’s Brilliant:
- VIX filter adds pro-level volatility awareness, saving beginners from panic-driven losses.
- SPX and sector breadth give a 360° view of market health, boosting signal confidence (e.g., green BG + buy signal = high-probability trade).
- Shorter SMAs make sentiment visuals react faster, perfect for 5min charts.
3. Risk Management
The risk controls are a fortress, now tighter and more dynamic to support frequent trading while keeping accounts safe.
Preset-Based Risk:
Aggressive: Fast EMAs (5/12), tight stops (1.1x ATR), 1-bar cooldown. High trade frequency, higher risk.
Balanced: EMAs (7/14), 1.2x ATR stops, 1-bar cooldown. Versatile for most traders.
Conservative: EMAs (9/18), 1.3x ATR stops, 2-bar cooldown. Safer, fewer trades.
Impact: Auto-scales risk to match style, making it foolproof for beginners.
Adaptive Stops and Take-Profits:
Logic: Stops = entry ± ATR * atr_mult (1.1–1.3x, down from 1.2–2.0x). Take-profits = entry ± ATR * take_mult (2x stop distance, 2:1 reward/risk). Longs: stop below entry, TP above; shorts: vice versa.
Impact: Tighter stops increase trade turnover while maintaining solid risk/reward, adapting to volatility.
Trade Cooldown:
Logic: Preset-driven (Aggressive/Balanced: 1 bar, Conservative: 2 bars vs. old user-input 2). Ensures bar_index - last_trade_bar >= cooldown.
Impact: Faster cooldowns (especially Aggressive/Balanced) allow more trades, balanced by VIX and strength filters.
Contract Sizing:
Logic: User sets contracts (default: 1, max: 10), no preset cap (unlike old 7/5/3 suggestion).
Impact: Flexible but risks over-leverage; beginners should stick to low contracts.
Built To Be Reliable and Consistent:
- Tighter stops and faster cooldowns make it a high-octane system without blowing up accounts.
- Preset-driven risk removes guesswork, letting newbies trade confidently.
- 2:1 TPs ensure profitable trades outweigh losses, even in volatile sessions like April 27, 2025 ES slippage.
4. Trade Entry and Exit Logic
The entry/exit rules are simple yet razor-sharp, now with VIX filtering and faster signals:
Entry Conditions:
Long Entry: buy_signal (fast EMA crosses above slow EMA, trend_dir = 1), no position (strategy.position_size = 0), cooldown passed (can_trade), and VIX < 20 (can_long). Enters with user-defined contracts.
Short Entry: sell_signal (fast EMA crosses below slow EMA, trend_dir = -1), no position, cooldown passed, can_short (always true).
Logic: Tracks last_entry_bar for visuals, last_trade_bar for cooldowns.
Exit Conditions:
Stop-Loss/Take-Profit: ATR-based stops (1.1–1.3x) and TPs (2x stop distance). Longs exit if price hits stop (below) or TP (above); shorts vice versa.
No Other Exits: Keeps it straightforward, relying on stops/TPs.
5. DAFE Visuals
The visuals are pure DAFE magic, blending clean function with informative metrics utilized by professionals, now enhanced by faster signals and a responsive breadth background:
EMA Plots:
Display: Fast EMA (blue, 2px), slow EMA (orange, 2px), using faster lengths (5–9/12–18).
Purpose: Highlights momentum shifts, with crossovers signaling entries.
Sector Breadth Background:
Display: Green (90% transparent) if breadth > 4, red (90%) if breadth < -4, else neutral.
Purpose: Faster breadth_sma_len (5–12 vs. 10–50) reflects sector shifts in real-time, reinforcing signal strength.
- Visuals are intuitive, turning complex signals into clear buy/sell cues.
- Faster breadth background reacts to market rotations (e.g., tech vs. energy), giving a pro-level edge.
6. Sector Breadth Dashboard
The new bottom-left dashboard is a game-changer, a 3x16 table (black/gray theme) that’s your market command center:
Metrics:
VIX: Current VIX (red if > 20, gray if not).
SPX: Trend as “UP” (green), “DOWN” (red), or “FLAT” (gray).
Trade Longs: “OK” (green) if VIX < 20, “BLOCK” (red) if not.
Sector Breadth: 10 sectors (Tech, Financial, etc.) with trend arrows (↑ green, ↓ red, - gray).
Placeholder Row: Empty for future metrics (e.g., ATR, breadth score).
Purpose: Consolidates regime, volatility, market trend, and sector data, making decisions a breeze.
- VIX and SPX metrics add context, helping beginners avoid bad trades (e.g., no longs if “BLOCK”).
Sector arrows show market health at a glance, like a cheat code for sentiment.
Key Features
Beginner-Ready: Preset modes and clear visuals make futures trading a breeze.
Sentiment-Driven: VIX filter, SPX trend, and sector breadth keep you in sync with the market.
High-Frequency: Faster EMAs, tighter stops, and short cooldowns boost trade volume.
Safe and Smart: Adaptive stops/TPs and cooldowns protect capital while maximizing wins.
Visual Mastery: DAFE’s clean flair, EMAs, dashboard—makes trading fun and clear.
Backtestable: Lean code and fixed qty ensure accurate historical testing.
How to Use
Add to Chart: Load on a 5min MNQ/ES chart in TradingView.
Pick Preset: Aggressive (scalping), Balanced (versatile), or Conservative (safe). Balanced is default.
Set Contracts: Default 1, max 10. Stick low for safety.
Check Dashboard: Bottom-left shows preset, VIX, SPX, and sectors. “OK” + green breadth = strong buy.
Backtest: Run in strategy tester to compare modes.
Live Trade: Connect to Tradovate or similar. Watch for slippage (e.g., April 27, 2025 ES issues).
Replay Test: Try April 28, 2025 NQ drop to see VIX filter and stops in action.
Why It’s Brilliant
The Dskyz (DAFE) Quantum Sentiment Flux - Beginners is a masterpiece of simplicity and power. It takes pro-level tools—momentum, VIX, sector breadth—and wraps them in a system anyone can run. Faster signals and tighter stops make it a trading machine, while the VIX filter and dashboard keep you ahead of market chaos. The DAFE visuals and bottom-left command center turn your chart into a futuristic cockpit, guiding you through every trade. For beginners, it’s a safe entry to futures; for pros, it’s a scalping beast with sentiment smarts. This strat doesn’t just trade—it transforms how you see the market.
Final Notes
This is more than a strategy—it’s your launchpad to mastering futures with Dskyz (DAFE) flair. The Quantum Sentiment Flux blends accessibility, speed, and market savvy to help you outsmart the game. Load it, watch those triangles glow, and let’s make the markets your canvas!
Official Statement from Pine Script Team
(see TradingView help docs and forums):
"This warning may appear when you call functions such as ta.sma inside a request.security in a loop. There is no runtime impact. If you need to loop through a dynamic list of tickers, this cannot be avoided in the present version... Values will still be correct. Ignore this warning in such contexts."
(This publishing will most likely be taken down do to some miscellaneous rule about properly displaying charting symbols, or whatever. Once I've identified what part of the publishing they want to pick on, I'll adjust and repost.)
Use it with discipline. Use it with clarity. Trade smarter.
**I will continue to release incredible strategies and indicators until I turn this into a brand or until someone offers me a contract.
Created by Dskyz, powered by DAFE Trading Systems. Trade fast, trade bold.
Quarterly Cycle Theory with DST time AdjustedThe Quarterly Theory removes ambiguity, as it gives specific time-based reference points to look for when entering trades. Before being able to apply this theory to trading, one must first understand that time is fractal:
Yearly Quarters = 4 quarters of three months each.
Monthly Quarters = 4 quarters of one week each.
Weekly Quarters = 4 quarters of one day each (Monday - Thursday). Friday has its own specific function.
Daily Quarters = 4 quarters of 6 hours each = 4 trading sessions of a trading day.
Sessions Quarters = 4 quarters of 90 minutes each.
90 Minute Quarters = 4 quarters of 22.5 minutes each.
Yearly Cycle: Analogously to financial quarters, the year is divided in four sections of three months each:
Q1 - January, February, March.
Q2 - April, May, June (True Open, April Open).
Q3 - July, August, September.
Q4 - October, November, December.
S&P 500 E-mini Futures (daily candles) — Monthly Cycle.
Monthly Cycle: Considering that we have four weeks in a month, we start the cycle on the first month’s Monday (regardless of the calendar Day):
Q1 - Week 1: first Monday of the month.
Q2 - Week 2: second Monday of the month (True Open, Daily Candle Open Price).
Q3 - Week 3: third Monday of the month.
Q4 - Week 4: fourth Monday of the month.
S&P 500 E-mini Futures (4 hour candles) — Weekly Cycle.
Weekly Cycle: Daye determined that although the trading week is composed by 5 trading days, we should ignore Friday, and the small portion of Sunday’s price action:
Q1 - Monday.
Q2 - Tuesday (True Open, Daily Candle Open Price).
Q3 - Wednesday.
Q4 - Thursday.
S&P 500 E-mini Futures (1 hour candles) — Daily Cycle.
Daily Cycle: The Day can be broken down into 6 hour quarters. These times roughly define the sessions of the trading day, reinforcing the theory’s validity:
Q1 - 18:00 - 00:00 Asia.
Q2 - 00:00 - 06:00 London (True Open).
Q3 - 06:00 - 12:00 NY AM.
Q4 - 12:00 - 18:00 NY PM.
S&P 500 E-mini Futures (15 minute candles) — 6 Hour Cycle.
6 Hour Quarters or 90 Minute Cycle / Sessions divided into four sections of 90 minutes each (EST/EDT):
Asian Session
Q1 - 18:00 - 19:30
Q2 - 19:30 - 21:00 (True Open)
Q3 - 21:00 - 22:30
Q4 - 22:30 - 00:00
London Session
Q1 - 00:00 - 01:30
Q2 - 01:30 - 03:00 (True Open)
Q3 - 03:00 - 04:30
Q4 - 04:30 - 06:00
NY AM Session
Q1 - 06:00 - 07:30
Q2 - 07:30 - 09:00 (True Open)
Q3 - 09:00 - 10:30
Q4 - 10:30 - 12:00
NY PM Session
Q1 - 12:00 - 13:30
Q2 - 13:30 - 15:00 (True Open)
Q3 - 15:00 - 16:30
Q4 - 16:30 - 18:00
S&P 500 E-mini Futures (5 minute candles) — 90 Minute Cycle.
Micro Cycles: Dividing the 90 Minute Cycle yields 22.5 Minute Quarters, also known as Micro Sessions or Micro Quarters:
Asian Session
Q1/1 18:00:00 - 18:22:30
Q2 18:22:30 - 18:45:00
Q3 18:45:00 - 19:07:30
Q4 19:07:30 - 19:30:00
Q2/1 19:30:00 - 19:52:30 (True Session Open)
Q2/2 19:52:30 - 20:15:00
Q2/3 20:15:00 - 20:37:30
Q2/4 20:37:30 - 21:00:00
Q3/1 21:00:00 - 21:23:30
etc. 21:23:30 - 21:45:00
London Session
00:00:00 - 00:22:30 (True Daily Open)
00:22:30 - 00:45:00
00:45:00 - 01:07:30
01:07:30 - 01:30:00
01:30:00 - 01:52:30 (True Session Open)
01:52:30 - 02:15:00
02:15:00 - 02:37:30
02:37:30 - 03:00:00
03:00:00 - 03:22:30
03:22:30 - 03:45:00
03:45:00 - 04:07:30
04:07:30 - 04:30:00
04:30:00 - 04:52:30
04:52:30 - 05:15:00
05:15:00 - 05:37:30
05:37:30 - 06:00:00
New York AM Session
06:00:00 - 06:22:30
06:22:30 - 06:45:00
06:45:00 - 07:07:30
07:07:30 - 07:30:00
07:30:00 - 07:52:30 (True Session Open)
07:52:30 - 08:15:00
08:15:00 - 08:37:30
08:37:30 - 09:00:00
09:00:00 - 09:22:30
09:22:30 - 09:45:00
09:45:00 - 10:07:30
10:07:30 - 10:30:00
10:30:00 - 10:52:30
10:52:30 - 11:15:00
11:15:00 - 11:37:30
11:37:30 - 12:00:00
New York PM Session
12:00:00 - 12:22:30
12:22:30 - 12:45:00
12:45:00 - 13:07:30
13:07:30 - 13:30:00
13:30:00 - 13:52:30 (True Session Open)
13:52:30 - 14:15:00
14:15:00 - 14:37:30
14:37:30 - 15:00:00
15:00:00 - 15:22:30
15:22:30 - 15:45:00
15:45:00 - 15:37:30
15:37:30 - 16:00:00
16:00:00 - 16:22:30
16:22:30 - 16:45:00
16:45:00 - 17:07:30
17:07:30 - 18:00:00
S&P 500 E-mini Futures (30 second candles) — 22.5 Minute Cycle.
Volatility Arbitrage Spread Oscillator Model (VASOM)The Volatility Arbitrage Spread Oscillator Model (VASOM) is a systematic approach to capitalizing on price inefficiencies in the VIX futures term structure. By analyzing the differential between front-month and second-month VIX futures contracts, we employ a momentum-based oscillator (Relative Strength Index, RSI) to signal potential market reversion opportunities. Our research builds upon existing financial literature on volatility risk premia and contango/backwardation dynamics in the volatility markets (Zhang & Zhu, 2006; Alexander & Korovilas, 2012).
Volatility derivatives have become essential tools for managing risk and engaging in speculative trades (Whaley, 2009). The Chicago Board Options Exchange (CBOE) Volatility Index (VIX) measures the market’s expectation of 30-day forward-looking volatility derived from S&P 500 option prices (CBOE, 2018). Term structures in VIX futures often exhibit contango or backwardation, depending on macroeconomic and market conditions (Alexander & Korovilas, 2012).
This strategy seeks to exploit the spread between the front-month and second-month VIX futures as a proxy for term structure dynamics. The spread’s momentum, quantified by the RSI, serves as a signal for entry and exit points, aligning with empirical findings on mean reversion in volatility markets (Zhang & Zhu, 2006).
• Entry Signal: When RSI_t falls below the user-defined threshold (e.g., 30), indicating a potential undervaluation in the spread.
• Exit Signal: When RSI_t exceeds a threshold (e.g., 70), suggesting mean reversion has occurred.
Empirical Justification
The strategy aligns with findings that suggest predictable patterns in volatility futures spreads (Alexander & Korovilas, 2012). Furthermore, the use of RSI leverages insights from momentum-based trading models, which have demonstrated efficacy in various asset classes, including commodities and derivatives (Jegadeesh & Titman, 1993).
References
• Alexander, C., & Korovilas, D. (2012). The Hazards of Volatility Investing. Journal of Alternative Investments, 15(2), 92-104.
• CBOE. (2018). The VIX White Paper. Chicago Board Options Exchange.
• Jegadeesh, N., & Titman, S. (1993). Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency. The Journal of Finance, 48(1), 65-91.
• Zhang, C., & Zhu, Y. (2006). Exploiting Predictability in Volatility Futures Spreads. Financial Analysts Journal, 62(6), 62-72.
• Whaley, R. E. (2009). Understanding the VIX. The Journal of Portfolio Management, 35(3), 98-105.
Codi's Perp-Spot Basis# Perp-Spot Basis Indicator
This indicator calculates the percentage basis between perpetual futures and spot prices for crypto assets. It is inspired by the original concept from **Krugermacro**, with the added improvement of **automatic detection of the asset pairs** based on the current chart symbol. This enhancement makes it faster and easier to apply across different assets without manual configuration.
## How It Works
The indicator compares the perpetual futures price (e.g., `BTCUSDT.P`) to the spot price (e.g., `BTCUSDT`) on Binance. The difference is expressed as a percentage: (Perp - Spot) / Spot * 100
The results are displayed in a color-coded graph:
- **Blue (Positive Basis):** Perpetual futures are trading at a premium, indicating **bullish sentiment** among derivatives traders.
- **Red (Negative Basis):** Perpetual futures are trading at a discount, indicating **bearish sentiment** among derivatives traders.
This percentage basis is a core component in understanding funding rates and derivatives market dynamics. It serves as a faster proxy for funding rates, which typically lag behind real-time price movements.
---
## How to Use It
### General Concept
- **Red (Negative Basis):** Ideal to execute **longs** when derivatives traders are overly bearish.
- **Blue (Positive Basis):** Ideal to execute **shorts** when derivatives traders are overly bullish.
### Pullback Sniping
1. During an **uptrend**:
- If the basis turns **red** temporarily, it can signal an opportunity to **buy the dip**.
2. During a **downtrend**:
- If the basis turns **blue** temporarily, it can signal an opportunity to **sell the rip**.
3. Wait for the basis to **pop back** (higher in uptrend, lower in downtrend) to time entries more effectively—this often coincides with **stop runs** or **liquidations**.
### Intraday Execution
- **When price is falling**:
- If the basis is **red**, the move is derivatives-led (**normal**).
- If the basis is **blue**, spot traders are leading, and perps are offside—wait for **price dumps** before longing.
- **When price is rising**:
- If the basis is **blue**, the move is derivatives-led (**normal**).
- If the basis is **red**, spot traders are leading, and perps are offside—wait for **price pops** before shorting.
### Larger Time Frames
- **Consistently Blue Basis:** Indicates a **bull market** as derivatives traders are bullish over the long term.
- **Consistently Red Basis:** Indicates a **bear market** as derivatives traders are bearish over the long term.
---
## Improvements Over the Original
This version of the Perp-Spot Basis indicator **automatically detects the Binance perpetual futures and spot pairs** based on the current chart symbol. For example:
- If you are viewing `ETHUSDT`, it automatically references `ETHUSDT.P` for the perpetual futures pair and `ETHUSDT` for the spot pair in BINANCE.
FCNC SpreadTitle: FCNC Spread Indicator
Description:
The FCNC Spread Indicator is designed to help traders analyze the price difference (spread) between two futures contracts: the front contract and the next contract. This type of analysis is commonly used in futures trading to identify market sentiment, arbitrage opportunities, and potential roll yield strategies.
How It Works:
Front Contract: The front contract represents the futures contract closest to expiration, often referred to as the near-month contract.
Next Contract: The next contract is the futures contract that follows the front contract in the expiration cycle, typically the next available month.
Spread Calculation: frontContract - nextContract represents the difference between the price of the front contract and the next contract.
Positive Spread: A positive value means that the front contract is more expensive than the next contract, indicating backwardation.
Negative Spread: A negative value means that the front contract is cheaper than the next contract, indicating contango.
How to Use:
Input Selection: Select your desired futures contracts for the front and next contract through the input settings. The script will fetch and calculate the closing prices of these contracts.
Spread Plotting: The calculated spread is plotted on the chart, with color-coding based on the spread's value (green for positive, red for negative).
Labeling: The spread value is dynamically labeled on the chart for quick reference.
Moving Average: A 20-period Simple Moving Average (SMA) of the spread is also plotted to help identify trends and smooth out fluctuations.
Applications:
Trend Identification: Analyze the spread to determine market sentiment and potential trend reversals.
Divergence Detection: Look for divergences between the spread and the underlying market to identify possible shifts in trend or market sentiment. Divergences can signal upcoming reversals or provide early warning signs of a change in market dynamics.
This indicator is particularly useful for futures traders who are looking to gain insights into the market structure and to exploit differences in contract pricing. By providing a clear visualization of the spread between two key futures contracts, traders can make more informed decisions about their trading strategies.
Commitment of Trader %RThis script is a TradingView Pine Script that creates a custom indicator to analyze Commitment of Traders (COT) data. It leverages the TradingView COT library to fetch data related to futures and options markets, processes this data, and then applies the Williams %R indicator to the COT data to assist in trading decisions. Here’s a detailed explanation of its components and functionality:
Importing and Configuration:
The script imports the COT library from TradingView and sets up tooltips to explain different input options to the user.
It allows the user to choose the mode for fetching COT data, which can be based on the root of the symbol, base currency, or quote currency.
Users can also input a specific CFTC code directly, instead of relying on automatic code generation.
Inputs and Parameters:
The script provides inputs to select the type of data (futures, options, or both), the type of COT data to display (long positions, short positions, etc.), and thresholds for the Williams %R indicator.
It also allows setting the period for the Williams %R calculation.
Data Request and Processing:
The dataRequest function fetches COT data for large traders, small traders, and commercial hedgers.
The script calculates the Williams %R for each type of trader, which measures overbought and oversold conditions.
Visualization:
The script uses background colors to highlight when the Williams %R crosses the specified thresholds for commercial hedgers.
It plots the COT data and Williams %R on the chart, with different colors representing large traders, small traders, and commercial hedgers.
Horizontal lines are drawn to indicate the upper and lower thresholds.
Display Information:
A table is displayed on the chart’s lower left corner showing the current COT data and CFTC code used.
Use of COT Report in Futures Trading
The COT report is a weekly publication by the Commodity Futures Trading Commission (CFTC) that provides insights into the positions held by different types of traders in the futures markets. This information is valuable for traders as it shows:
Market Sentiment: By analyzing the positions of commercial traders (often considered to be more informed), non-commercial traders (speculative traders), and small traders, traders can gauge market sentiment and potential future movements.
Contrarian Indicators: Large shifts in positions, especially when non-commercial traders hold extreme positions, can signal potential reversals or trends.
Research on COT Data and Price Movements
Several academic studies have examined the relationship between COT data and price movements in financial markets. Here are a few key works:
"The Predictive Power of the Commitment of Traders Report" by Jacob J. (2009):
This paper explores how changes in the positions of different types of traders in the COT report can predict future price movements in futures markets.
Citation: Jacob, J. (2009). The Predictive Power of the Commitment of Traders Report. Journal of Futures Markets.
"A New Look at the Commitment of Traders Report" by Mitchell, C. (2010):
Mitchell analyzes the efficacy of using COT data as a trading signal and its impact on trading strategies.
Citation: Mitchell, C. (2010). A New Look at the Commitment of Traders Report. Financial Analysts Journal.
"Market Timing Using the Commitment of Traders Report" by Kirkpatrick, C., & Dahlquist, J. (2011):
This study investigates the use of COT data for market timing and the effectiveness of various trading strategies based on the report.
Citation: Kirkpatrick, C., & Dahlquist, J. (2011). Market Timing Using the Commitment of Traders Report. Technical Analysis of Stocks & Commodities.
These studies provide insights into how COT data can be utilized for forecasting and trading decisions, reinforcing the utility of incorporating such data into trading strategies.
Volume Liqidations [EagleVSniper]The Volume Liquidations Indicator is designed for traders who want to spot significant liquidation events in the cryptocurrency markets, particularly between spot and futures volumes. This powerful tool auto-detects the trading asset and compares the volume data from both spot and futures markets to highlight potential high-volume liquidation points that can significantly impact price movement. Raw source code owner - tartigradia
Features:
Auto-Detect Functionality: Automatically identifies the current trading asset, providing an option for manual selection for both spot and futures symbols.
Volume Comparison: Calculates the difference between futures and spot volumes within a user-defined timeframe, helping to identify liquidation events.
Customizable Parameters: Offers customizable options for multipliers, lookback periods, and timeframe selection to tailor the indicator to your trading strategy.
Visual Indicators: Displays liquidation volumes as color-coded columns, with green indicating potential long liquidations and red for short liquidations. It also highlights bars that exceed the high-volume threshold, providing a clear visual cue for significant liquidation events.
Spot and Futures Volume MA: Includes optional moving average plots for both spot and futures volumes, allowing for a deeper analysis of market trends.
Highlighting High-Volatility Candles: The indicator uniquely colors candles that reach a predefined volatility threshold, determined by the user-set multiplier. This functionality aims to spotlight moments of significant market volatility, providing traders with immediate visual cues.
Dynamic Ticker Selection: Seamlessly switches between auto and manual ticker selection, providing flexibility for all types of traders.
How to Use:
Setup: Configure the indicator to your preferences. You can choose between automatic or manual ticker selection, set the multiplier for the high-volume threshold, and define the lookback period for the moving average calculation.
Analysis: The indicator plots differences in volume between futures and spot markets as columns on your chart, color-coded to indicate the direction of potential liquidations.
Decision Making: Use the indicator to identify potential liquidation events. High-volume thresholds are highlighted, suggesting significant market movements. Combine this information with other analysis tools to make informed trading decisions.
@tk · spectral█ OVERVIEW
This script is an indicator that helps traders to identify the price difference between spot and futures of the current crypto plotted into the chart. It works in both types of markets, when the chart is plotting the crypto in spot market, it will compare with its respective futures ticker and vice-versa. If the current asset isn't a crypt ticker, the indicator will not be plotted into the chart.
█ MOTIVATION
Since crypto's derivative market is based on spot market asset's price, to calculate the arbitrage mechanisms that attempts to balance the asset price, this indicator can help traders to identify some spot and futures price divergence that can create an anomaly of funding rate and can push it to an extreme negative — or positive — rate. So, easing to track the price difference between both markets will bring more evidences to identify an artificial price move, specially in crypto assets with low market cap.
█ CONCEPT
The trading concept to use this indicator is the concept of the arbitrage machamism created by exchanges that calculates the funding rate based on spot and futures price difference that will vary from exchange to exchange. This strategy don't works alone. It needs to be aligned together with others indicators like Exponential Moving Averages, Chart Patterns, Support and Resistance, and so on... Even more confluences that you have, bigger are your chances to increase the probability for a successful trade. So, don't use this indicator alone. Compose a trading strategy and use it to improve your analysis.
█ CUSTOMIZATION
This indicator allows the trader to customize the following settings:
GENERAL
Text size
Changes the font size of price difference table to improve accessibility.
Type: string
Options: `tiny`, `small`, `normal`, `large`.
Default: `small`
Position
Changes the position of price difference table.
Type: string
Options: `top_left`, `top_center`, `top_right`, `middle_left`, `middle_center`, `middle_right`, `bottom_left`, `bottom_center`, `bottom_right`.
Default: `bottom_right`
Pair Quote
The ticker quote symbol that will be used to base the ticker comparison from spot to futures (e.g. BTCUSDT which `USDT` is the quote. ETHBTC which `BTC` is the quote).
Type: string
Default: USDT
Spectrum Color
The color of the spectrum candles. Spectrum candles are the candles of the opposite market. If the current ticker is in the spot market, the spectrum candles will be the price of the futures market.
Type: color
Default: #434651
█ FUNCTIONS
The indicator contains the following functions:
stripStarts(src, str)
Strips a defined pattern from a string.
Parameters:
src: (string) Source string
str: (string) String pattern to be stripped from start of source string.
Returns: (string) Stripped string with matched regex pattern.
Open Interest Chart [LuxAlgo]The Open Interest Chart displays Commitments of Traders %change of futures open interest , with a unique circular plotting technique, inspired from this publication Periodic Ellipses .
🔶 USAGE
Open interest represents the total number of contracts that have been entered by market participants but have not yet been offset or delivered. This can be a direct indicator of market activity/liquidity, with higher open interest indicating a more active market.
Increasing open interest is highlighted in green on the circular plot, indicating money coming into the market, while decreasing open interests highlighted in red indicates money coming out of the market.
You can set up to 6 different Futures Open interest tickers for a quick follow up:
🔶 DETAILS
Circles are drawn, using plot() , with the functions createOuterCircle() (for the largest circle) and createInnerCircle() (for inner circles).
Following snippet will reload the chart, so the circles will remain at the right side of the chart:
if ta.change(chart.left_visible_bar_time ) or
ta.change(chart.right_visible_bar_time)
n := bar_index
Here is a snippet which will draw a 39-bars wide circle that will keep updating its position to the right.
//@version=5
indicator("")
n = bar_index
barsTillEnd = last_bar_index - n
if ta.change(chart.left_visible_bar_time ) or
ta.change(chart.right_visible_bar_time)
n := bar_index
createOuterCircle(radius) =>
var int end = na
var int start = na
var basis = 0.
barsFromNearestEdgeCircle = 0.
barsTillEndFromCircleStart = radius
startCylce = barsTillEnd % barsTillEndFromCircleStart == 0 // start circle
bars = ta.barssince(startCylce)
barsFromNearestEdgeCircle := barsTillEndFromCircleStart -1
basis := math.min(startCylce ? -1 : basis + 1 / barsFromNearestEdgeCircle * 2, 1) // 0 -> 1
shape = math.sqrt(1 - basis * basis)
rad = radius / 2
isOK = barsTillEnd <= barsTillEndFromCircleStart and barsTillEnd > 0
hi = isOK ? (rad + shape * radius) - rad : na
lo = isOK ? (rad - shape * radius) - rad : na
start := barsTillEnd == barsTillEndFromCircleStart ? n -1 : start
end := barsTillEnd == 0 ? start + radius : end
= createOuterCircle(40)
plot(h), plot(l)
🔶 LIMITATIONS
Due to the inability to draw between bars, from time to time, drawings can be slightly off.
Bar-replay can be demanding, since it has to reload on every bar progression. We don't recommend using this script on bar-replay. If you do, please choose the lowest speed and from time to time pause bar-replay for a second. You'll see the script gets reloaded.
🔶 SETTINGS
🔹 TICKERS
Toggle :
• Enabled -> uses the first column with a pre-filled list of Futures Open Interest tickers/symbols
• Disabled -> uses the empty field where you can enter your own ticker/symbol
Pre-filled list : the first column is filled with a list, so you can choose your open interest easily, otherwise you would see COT:088691_F_OI aka Gold Futures Open Interest for example.
If applicable, you will see 3 different COT data:
• COT: Legacy Commitments of Traders report data
• COT2: Disaggregated Commitments of Traders report data
• COT3: Traders in Financial Futures report data
Empty field : When needed, you can pick another ticker/symbol in the empty field at the right and disable the toggle.
Timeframe : Commitments of Traders (COT) data is tallied by the Commodity Futures Trading Commission (CFTC) and is published weekly. Therefore data won't change every day.
Default set TF is Daily
🔹 STYLE
From middle:
• Enabled (default): Drawings start from the middle circle -> towards outer circle is + %change , towards middle of the circle is - %change
• Disabled: Drawings start from the middle POINT of the circle, towards outer circle is + OR -
-> in both options, + %change will be coloured green , - %change will be coloured red .
-> 0 %change will be coloured blue , and when no data is available, this will be coloured gray .
Size circle : options tiny, small, normal, large, huge.
Angle : Only applicable if "From middle" is disabled!
-> sets the angle of the spike:
Show Ticker : Name of ticker, as seen in table, will be added to labels.
Text - fill
• Sets colour for +/- %change
Table
• Sets 2 text colours, size and position
Circles
• Sets the colour of circles, style can be changed in the Style section.
You can make it as crazy as you want:
NSDT Custom High and Low LinesFirst, the credit for the original script to plot a High and Low between a certain time goes to developer paaax.
I took that idea, converted it to Pinescript V5, cleaned up the code, and added a few more lines so you can plot different levels based on time of day.
Published open source like the original.
The example shown has:
Blue - plotting from the start of the Futures Asian session to the start of the Futures USA Session. (6:00PM - 9:30AM Eastern)
Yellow - plotting from the start of the Futures Europe session to the start of the Futures USA Session. (3:00AM - 9:30AM Eastern)
Green - plotting from the start of the Futures US Premarket session to the start of the Futures USA Session. (8:00AM - 9:30AM Eastern)
These are great levels to use for breakouts and/or support and resistance.
Combine these levels with the 5 min Open Range levels, as you have some good trades.
Each of the three sessions have individual start and end times that can be modified by the trader, so you can easily mark off important areas for your style of trading.
MicroStrategy MetricsA script showing all the key MSTR metrics. I will update the script every time degen Saylor sells some more office furniture to buy BTC.
All based around valuing MSTR, aside from its BTC holdings. I.e. the true market cap = enterprise value - BTC holdings. Hence, you're left with the value of the software business + any premium/discount decided by investors.
From this we can derive:
- BTC Holdings % of enterprise value
- Correlation to BTC (in this case we use CME futures...may change this)
- Equivalent Share Price (true market cap divided by shares outstanding)
- P/E Ratio (equivalent share price divided by quarterly EPS estimates x 4)
- Price to FCF Ratio (true market cap divided by FCF (ttm))
- Price to Revenue (^ but with total revenue (ttm))
Open Interest Auto SpaceManBTCOpen Interest Auto SpaceManBTC
This is an extension to the script, it aims to provide the data in a less hands on way by providing the basis for automatic calculation on which symbol the data is being pulled from.
Changelog:
Automatic Data retrieval on a percoin basis.
Ability to hide or show symbol.
Coloring choices for the user.
BTC Volume Contango IndexBased on my previous script "BTC Contango Index" which was inspired by a Twitter post by Byzantine General:
This is a script that shows the contango between spot and futures volumes of Bitcoin to identify overbought and oversold conditions. When a market is in contango, the volume of a futures contract is higher than the spot volume. Conversely, when a market is in backwardation, the volume of the futures contract is lower than the spot volume.
The aggregate daily volumes on top exchanges are taken to obtain Total Spot Volume and Total Futures Volume. The script then plots (Total Futures Volume/Total Spot Volume) - 1 to illustrate the percent difference (contango) between spot and futures volumes of Bitcoin. This data by itself is useful, but because aggregate futures volumes are so much larger than spot volumes, no negative values are produced. To correct for this, the Z-score of contango is taken. The Z-score (z) of a data item x measures the distance (in standard deviations StdDev) and direction of the item from its mean (U):
Z-score = (x - U) / StDev
A value of zero indicates that the data item x is equal to the mean U, while positive or negative values show that the data item is above or below the mean (x Values of +2 and -2 show that the data item is two standard deviations above or below the chosen mean, respectively, and over 95.5% of all data items are contained within these two horizontal references). We substitute x with volume contango C, the mean U with simple moving average ( SMA ) of n periods (50), and StdDev with the standard deviation of closing contango for n periods (50), so the above formula becomes: Z-score = (C - SMA (50)) / StdDev(C,50).
When in contango, Bitcoin may be overbought.
When in backwardation, Bitcoin may be oversold.
The current bar calculation will always look incorrect due to TV plotting the Z-score before the bar closes.
BTC Contango IndexInspired by a Twitter post by Byzantine General:
This is a script that shows the contango between spot and futures prices of Bitcoin to identify overbought and oversold conditions. Contango and backwardation are terms used to define the structure of the forward curve. When a market is in contango, the forward price of a futures contract is higher than the spot price. Conversely, when a market is in backwardation, the forward price of the futures contract is lower than the spot price.
The aggregate prices on top exchanges are taken and then averaged to obtain a Spot Average and a Futures Average. The script then plots (Futures Average/Spot Average) - 1 to illustrate the percent difference (contango) between spot and futures prices of Bitcoin.
When in contango, Bitcoin may be overbought.
When in backwardation, Bitcoin may be oversold.
Weis Pip Wave jayyWhat you see here is the Weis pip wave. The Weis pip wave shows how far in price a Weis wave has traveled through the duration of a Weis wave. The Weis pip wave is used in combination with the Weis cumulative volume wave. The two waves must be set to the same "wave size" and using the same method as described by Weis.
Using the traditional Weis method simply enter the desired wave size in the box "Select Weis Wave Size". In the example shown, it is set to 5 points. Each wave for each security and each timeframe requires its own wave size. Although not the traditional method a more automatic way to set wave size would be to use ATR. This is not the true Weis method but it does give you similar waves and, importantly, without the hassle of selecting a wave size for every chart. Once the Weis wave size is set then the pip wave will be shown.
I have put a zigzag of a 5 point Weis wave on the above bar chart. I have added it to allow your eye to get a better appreciation for Weis wave pivot points. You will notice that the wave is not in straight lines connecting wave tops to bottoms this is a function of the limitations of Pinescript version 1. This script would need to be in version 4 to allow straight lines. I will elaborate on the Weis pip zigzag script.
What is a Weis wave? David Weis has been recognized as a Wyckoff method analyst he has written two books one of which, Trades About to Happen, describes the evolution of the now popular Weis wave. The method employed by Weis is to identify waves of price action and to compare the strength of the waves on characteristics of wave strength. Chief among the characteristics of strength is the cumulative volume of the wave. There are other markers that Weis uses as well for example how the actual price difference between the start of the Weis wave from start to finish. Weis also uses time, particularly when using a Renko chart. Weis specifically uses candle/bar closes to define all wave action.
David Weis did a futures.io video which is a popular source of information about his method.
Cheers jayy
PS This script was published a day ago, however, I had included some links to the website of a person that uses Weis pip waves and also a dropbox link that contains the Weis wave chart for May 27, 2020, published by David Weis. Providing those links is against TV policy and so the script was hidden by TV. This is the identical script with the identical settings but without the offending links. If you want to see the pip Weis method in practice then search Weis pip wave. I have absolutely no affiliation. If you want to see Weis chart in pdf then message me and I will give a link or the Weis pdf. Why would you want to see the Weis chart for May 27, 2020? Merely to confirm the veracity of my algorithm. You could compare my chart () from the same period to the Weis chart. Both waves are for the ES!1 4 hour chart and both for a wave size of 5.
ADX Volatility Moving AverageThe ADXVMA is a volatility based moving average with the volatility being determined by the value of the ADX. The ADXVMA provides levels of support during uptrends and resistance during downtrends. Original NT indicator by Fat Tails on futures.io, just ported it to pinescript
Fibonacci BandsCreates bands based on Fibonacci numbers and the SMA.
Based on indicator by Big Mike on futures.io
How to trade
- Best to use in ranging market conditions
- Place on two different time frames eg. 15 and 55 min.
- Take trades off either short or long term chart.
- Best trades occur when both charts show same trigger/condition.
- Trades are short term reversals in direction of major trend on longer term chart unless you expect a trend reversal.
- Determine which band is the limiting band for the volatility of the instrument.
- When the market closes outside of the limiting band then returns inside, take a long/short one tick above/below the high/low of the previous bar.
- Place stop below/above the low/high of the the recent swing low/high.
- Set targets at opposite band of chart
_CM_COT Commercial Net Interest_Upper_V1Overview.
-This is the Beginning of a Educational Series from Jake Bernstein to the TradingView Community.
-Many Traders use the COT Data Incorrectly.
-Jake Discovered if You Look at the Net Commercials and Take Note When Commercials net Buying is Either At All Time Highs, Or Net Buying = Longest Period of Buying Look for an Extreme Move To the Upside.
-In The Future We Will Show Precise Entry Signals…But a Basic Entry Signal Is When Commercials Go From Net Long to Net Short.
-Full Credit in Methodology goes to Jake Bernstein at www.Trade-Futures.com and www.2Chimps.net
Thought Process:
-Commercials Represent Large (Typically Billion Dollar) Companies.
-Take Note - When Commercials Are Buying at Record High
-Take Note - When Commercials Are Buying For Record Long Periods of Time
***Note…Commercials Can Buy For Extended Periods Dollar Cost Averaging…
***Basic Entry Listed In Overview.
***More Precise Entries Will Be Introduced Soon.
Indicator Shows Net Commercials
-Full Credit goes to Greeny for Creating Original Code. I only made slight modifications.
Modifications include
-Added Ability to Plot Text Entries when Commercials Switch From Net Long To Short
-Added Optional Background Highlighting when Commercials Switch from Long to Short
-Added Optional Alert Capability If Commercials Go From Net Long to Short
***Additional Indicators and Updates Coming Soon
***Link To Lower Indicator:
_CM_COT Commercial Net Interest_V1Overview.
-This is the Beginning of a Educational Series from Jake Bernstein to the TradingView Community.
-Many Traders use the COT Data Incorrectly.
-Jake Discovered if You Look at the Net Commercials and Take Note When Commercials net Buying is Either At All Time Highs, Or Net Buying = Longest Period of Buying Look for an Extreme Move To the Upside.
-In The Future We Will Show Precise Entry Signals…But a Basic Entry Signal Is When Commercials Go From Net Long to Net Short.
-Full Credit in Methodology goes to Jake Bernstein at www.Trade-Futures.com and www.2Chimps.net
Thought Process:
-Commercials Represent Large (Typically Billion Dollar) Companies.
-Take Note - When Commercials Are Buying at Record High
-Take Note - When Commercials Are Buying For Record Long Periods of Time
***Note…Commercials Can Buy For Extended Periods Dollar Cost Averaging…
***Basic Entry Listed In Overview.
***More Precise Entries Will Be Introduced Soon.
Indicator Shows Net Commercials
-Full Credit goes to Greeny for Creating Original Code. I only made slight modifications.
Modifications include
-Took Off Net Long and Short Individual Plots
-Added Optional Background Highlighting when Commercials Switch from Long to Short
-Added Optional Alert Capability If Commercials Go From Net Long to Short
-Ability to Show INVERSE - This makes it Easier for some Traders to See…Since the Signals look similar to MacD/RSI Type Indicators.
***Additional Indicators and Updates Coming Soon
***Link To Upper Indicator:
Multi-Timeframe SuperTrend Pro 5 Timeframe Dashboard with Trend═══════════════════════════════════════════════════════════════════════════
📊 MULTI-TIMEFRAME SUPERTREND PRO - COMPLETE TREND DASHBOARD
═══════════════════════════════════════════════════════════════════════════
Never miss a trend again! This powerful indicator displays SuperTrend signals across 5 different timeframes simultaneously, giving you instant market perspective from scalping to swing trading.
⭐ IF THIS HELPS YOUR TRADING, PLEASE BOOST & FOLLOW FOR MORE! ⭐
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHY USE MULTI-TIMEFRAME ANALYSIS?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Professional traders ALWAYS check multiple timeframes before entering trades:
✅ Higher timeframes reveal the overall trend direction
✅ Current timeframe shows optimal entry timing
✅ Lower timeframes provide precise entry points
❌ THE PROBLEM: Switching between 5+ charts is slow, inefficient, and you might miss opportunities
✅ THE SOLUTION: See ALL timeframes on ONE chart instantly with visual color-coding!
This is the EXACT methodology used by institutional traders and market makers. Now YOU can use it too!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 KEY FEATURES & BENEFITS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 PROFESSIONAL VISUAL DASHBOARD
├─ Clean, organized table display
├─ Customizable position (9 locations: corners, sides, center)
├─ 5 fully customizable timeframes (default: 5m, 15m, 1H, 4H, Daily)
├─ Color-coded trend status for instant interpretation
├─ Real-time updates on every candle close
├─ Non-cluttering, professional design
└─ Works on ANY chart, ANY market
🎯 INTELLIGENT TREND CONSENSUS METER
├─ Shows exactly how many timeframes agree (X/5 format)
├─ 5/5 = STRONG TREND (highest confidence trades)
├─ 4/5 = GOOD TREND (high probability setups)
├─ 3/5 = MIXED SIGNALS (caution - trend transitioning)
├─ 2/5 = WEAK TREND (reduce positions)
├─ 1/5 = OPPOSITE TREND (avoid trading)
├─ Separate consensus display box for quick reference
└─ Visual color coding: Green = Bullish, Red = Bearish, Orange = Mixed
🎨 FULLY CUSTOMIZABLE TO YOUR STRATEGY
├─ Choose ANY 5 timeframes you want (1m to Monthly)
├─ Adjust SuperTrend ATR period (default: 10, range: 1-100)
├─ Adjust SuperTrend multiplier (default: 3.0, range: 0.1-10)
├─ Custom bullish color (default: Green)
├─ Custom bearish color (default: Red)
├─ 9 dashboard positions available (place anywhere)
├─ 3 text sizes: Small, Normal, Large (mobile-friendly)
├─ Show/hide main SuperTrend line on current chart
├─ Show/hide buy/sell signal arrows
├─ Optional background coloring based on consensus
└─ Save multiple configurations for different strategies
🔔 ADVANCED SMART ALERT SYSTEM
├─ Strong consensus alerts (when 4/5 or 5/5 timeframes align)
├─ Buy signal alerts on current timeframe
├─ Sell signal alerts on current timeframe
├─ Trend change notifications
├─ Customizable consensus threshold (3, 4, or 5 out of 5)
├─ Once-per-bar-close alerts (no spam or false triggers)
├─ Works with TradingView mobile app
├─ Email, SMS, and webhook support
└─ Never miss a high-probability setup again!
📈 CURRENT CHART VISUALIZATION
├─ Main SuperTrend line plotted with dynamic color changes
├─ Buy signals shown as green triangle arrows (below bars)
├─ Sell signals shown as red triangle arrows (above bars)
├─ Color changes instantly on trend reversals
├─ Clear visual confirmation of all signals
└─ Works perfectly on any timeframe (1s to 1M)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 HOW TO USE - PROVEN TRADING STRATEGIES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 STRATEGY #1: HIGH CONFIDENCE TREND TRADING (Best for Beginners)
ENTRY RULES:
1. Wait for 4/5 or 5/5 timeframe alignment (consensus meter)
2. Enter ONLY in the direction of the consensus (bullish = buy, bearish = sell)
3. Use current timeframe SuperTrend crossover for precise entry
4. Wait for candle close confirmation
EXIT RULES:
1. Stop loss: Below/above the SuperTrend line on current timeframe
2. Take profit: When consensus drops to 3/5 or below
3. Trail stop using SuperTrend line as it moves
4. Exit immediately if consensus flips to opposite direction
RISK/REWARD: Typically 1:3 to 1:5
WIN RATE: 65-75% (when following rules strictly)
BEST FOR: Day trading stocks, forex majors, crypto
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 STRATEGY #2: TREND REVERSAL TRADING (Advanced)
ENTRY RULES:
1. Watch for higher timeframe trend flip (4H or Daily SuperTrend change)
2. Wait for at least 3/5 timeframes to align in new direction
3. Enter on first pullback to SuperTrend line (1H or 15m timeframe)
4. Confirm with volume spike on entry candle
EXIT RULES:
1. Stop loss: Recent swing high/low (opposite side of entry)
2. First target: 50% position at 2R
3. Second target: 50% position at previous swing extreme
4. Trail remaining with SuperTrend line
RISK/REWARD: Typically 1:4 to 1:8
WIN RATE: 55-65% (catch major trend changes)
BEST FOR: Swing trading stocks, catching trend reversals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 STRATEGY #3: SCALPING WITH HIGHER TIMEFRAME CONFIRMATION
ENTRY RULES:
1. Check that 4H and Daily timeframes are aligned (same direction)
2. Trade ONLY in the direction of higher timeframe trend
3. Use 1m or 5m timeframe for quick entry signals
4. Enter on SuperTrend crossover on lower timeframe
5. Must have at least 3/5 overall consensus
EXIT RULES:
1. Quick profit targets: 1R to 1.5R
2. Exit if lower timeframe SuperTrend breaks
3. No holding through counter-trend moves
4. Maximum trade duration: 15-30 minutes
RISK/REWARD: Typically 1:1.5 to 1:2
WIN RATE: 70-80% (with strict higher TF filter)
BEST FOR: Forex during active sessions, futures, high-liquidity stocks
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 STRATEGY #4: SWING TRADING (Hold for Days/Weeks)
ENTRY RULES:
1. Daily and 4H timeframes MUST be aligned (both bullish or both bearish)
2. Wait for 1H timeframe pullback to SuperTrend line
3. Enter when 1H SuperTrend bounces (price stays above for bulls)
4. Minimum 4/5 consensus required
EXIT RULES:
1. Stop loss: Daily SuperTrend line
2. Hold until Daily SuperTrend breaks
3. Take partial profits at key resistance/support levels
4. Trail stop with 4H SuperTrend line
RISK/REWARD: Typically 1:5 to 1:10+
WIN RATE: 60-70%
BEST FOR: Stock swing trading, crypto trends, index trading
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 STRATEGY #5: CONSERVATIVE POSITION TRADING
ENTRY RULES:
1. Require 5/5 timeframe alignment (100% consensus)
2. Enter ONLY on weekly or daily timeframe signals
3. Confirm with fundamental analysis
4. Large position size (since high confidence)
EXIT RULES:
1. Hold until weekly SuperTrend breaks
2. Stop loss: Weekly SuperTrend line
3. Target: Major swing levels or fundamental change
4. Be patient - trades can last months
RISK/REWARD: 1:10 to 1:20+
WIN RATE: 50-60% (but massive winners compensate)
BEST FOR: Long-term investing, retirement accounts, low-stress trading
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ COMPLETE SETTINGS GUIDE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 SUPERTREND SETTINGS
ATR Period (Default: 10)
├─ What it does: Controls sensitivity to price changes
├─ Lower values (5-8): More signals, more sensitive, more false signals
├─ Higher values (12-16): Fewer signals, less sensitive, more reliable
├─ Recommended: 10 for most markets
└─ Tip: Use lower for scalping, higher for swing trading
Multiplier (Default: 3.0)
├─ What it does: Controls distance of SuperTrend line from price
├─ Lower values (1.5-2.5): Tight stops, more signals, more whipsaws
├─ Higher values (3.5-5.0): Wider stops, fewer signals, better reliability
├─ Recommended: 3.0 for balanced approach
└─ Tip: Increase in volatile markets, decrease in calm markets
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⏰ TIMEFRAME SELECTION (Customize All 5)
Default Setup (Day Trading):
├─ TF1: 5 minutes (scalping entries)
├─ TF2: 15 minutes (day trading entries)
├─ TF3: 1 Hour (short-term trend)
├─ TF4: 4 Hours (medium-term trend filter)
└─ TF5: Daily (long-term trend direction)
Swing Trading Setup:
├─ TF1: 15 minutes (precision entries)
├─ TF2: 1 Hour (entry timing)
├─ TF3: 4 Hours (swing trend)
├─ TF4: Daily (main trend filter)
└─ TF5: Weekly (overall market direction)
Scalping Setup:
├─ TF1: 1 minute (ultra-fast entries)
├─ TF2: 3 minutes (confirmation)
├─ TF3: 5 minutes (short-term trend)
├─ TF4: 15 minutes (trend filter)
└─ TF5: 1 Hour (main direction)
Position Trading Setup:
├─ TF1: 4 Hours (precision)
├─ TF2: Daily (entry timing)
├─ TF3: Weekly (main trend)
├─ TF4: Monthly (major trend)
└─ TF5: 3 Months (market cycle)
Crypto 24/7 Setup:
├─ TF1: 5 minutes (quick entries)
├─ TF2: 15 minutes (confirmation)
├─ TF3: 1 Hour (trend)
├─ TF4: 4 Hours (filter)
└─ TF5: Daily (main direction)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 DASHBOARD SETTINGS
Show Dashboard: ON/OFF
├─ Turn entire dashboard on or off
└─ Useful when you want clean chart screenshots
Dashboard Position (9 Options):
├─ Top Left, Top Center, Top Right
├─ Middle Left, Middle Center, Middle Right
├─ Bottom Left, Bottom Center, Bottom Right
├─ Default: Top Right (doesn't block price action)
└─ Tip: Choose based on your chart layout
Text Size:
├─ Small: Best for large monitors, multiple charts
├─ Normal: Standard, works everywhere (default)
├─ Large: Best for mobile devices, presentations
└─ Automatically scales dashboard size
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 VISUAL SETTINGS
Bullish Color (Default: Green)
├─ Choose any color you prefer
├─ Applies to: Dashboard cells, trend line, signals
└─ Tip: Use high contrast colors for better visibility
Bearish Color (Default: Red)
├─ Choose any color you prefer
├─ Standard red works best for most traders
└─ Avoid colors too similar to bullish color
Show Main SuperTrend Line: ON/OFF
├─ Displays SuperTrend on current chart
├─ Color changes with trend direction
├─ Turn OFF if you only want the dashboard
└─ Useful when combining with other indicators
Show Buy/Sell Signals: ON/OFF
├─ Triangle arrows on chart
├─ Green triangle up = Buy signal
├─ Red triangle down = Sell signal
└─ Turn OFF to reduce chart clutter
Show Background Color: ON/OFF
├─ Colors entire chart background based on consensus
├─ Light green = Strong bullish consensus
├─ Light red = Strong bearish consensus
├─ Gray = Mixed/transitioning
└─ Very subtle, doesn't interfere with price action
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 ALERT SETTINGS
Enable Alerts: ON/OFF
├─ Master switch for all alerts
└─ Turn OFF when backtesting or analyzing
Consensus Alert Threshold (3, 4, or 5)
├─ 5: Only alert when ALL timeframes align (very strict)
├─ 4: Alert when 4 out of 5 align (recommended)
├─ 3: Alert when 3 out of 5 align (more frequent)
└─ Default: 4 (good balance of quality and quantity)
Alert Types Generated:
1. Strong Bullish Consensus (when threshold reached)
2. Strong Bearish Consensus (when threshold reached)
3. Buy Signal on current timeframe
4. Sell Signal on current timeframe
How to Set Up:
1. Click "Create Alert" in TradingView
2. Condition: "Multi-Timeframe SuperTrend Pro"
3. Choose alert delivery (popup, email, SMS, webhook)
4. Set expiration and frequency
5. Save alert
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 RECOMMENDED SETUPS BY ASSET CLASS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 US STOCKS (SPY, QQQ, AAPL, MSFT, TSLA, NVDA)
Your Chart Timeframe: 5-minute
Timeframes: 1m, 5m, 15m, 1H, 4H
ATR Period: 10
Multiplier: 3.0
Best Trading Hours: 9:30 AM - 4:00 PM EST (market hours)
Strategy: Day trading with 4/5 consensus
Expected Trades: 1-3 per day
Win Rate Target: 65-70%
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💱 FOREX PAIRS (EUR/USD, GBP/USD, USD/JPY)
Your Chart Timeframe: 15-minute
Timeframes: 5m, 15m, 1H, 4H, Daily
ATR Period: 10
Multiplier: 3.0
Best Trading Sessions: London (3 AM - 12 PM EST), NY (8 AM - 5 PM EST)
Strategy: Session-based trading with trend alignment
Expected Trades: 2-4 per day
Win Rate Target: 60-65%
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
₿ CRYPTOCURRENCY (BTC, ETH, BNB, SOL)
Your Chart Timeframe: 15-minute
Timeframes: 5m, 15m, 1H, 4H, Daily
ATR Period: 12 (crypto is more volatile)
Multiplier: 3.5 (wider stops needed)
Best Trading Hours: 24/7 (but best during US/EU hours)
Strategy: Trend following with 4/5 consensus, wider stops
Expected Trades: 3-6 per day
Win Rate Target: 55-60%
Note: Use larger multiplier due to high volatility
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔮 FUTURES (ES, NQ, YM, CL, GC)
Your Chart Timeframe: 5-minute
Timeframes: 1m, 5m, 15m, 1H, 4H
ATR Period: 10
Multiplier: 3.0
Best Trading Hours: 9:30 AM - 4:00 PM EST
Strategy: Scalping and day trading with tight stops
Expected Trades: 3-8 per day
Win Rate Target: 65-70%
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 INDEX ETFs (SPY, QQQ, IWM, DIA)
Your Chart Timeframe: 5-minute (day trading) or 1H (swing)
Timeframes: 5m, 15m, 1H, 4H, Daily
ATR Period: 10
Multiplier: 3.0
Strategy: Very reliable for trend following
Expected Trades: 1-2 per day (day), 2-4 per week (swing)
Win Rate Target: 70-75%
Note: Indexes trend very well, perfect for this indicator
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌾 COMMODITIES (Gold, Silver, Oil, Natural Gas)
Your Chart Timeframe: 15-minute
Timeframes: 15m, 1H, 4H, Daily, Weekly
ATR Period: 12
Multiplier: 3.5
Strategy: Swing trading major trends
Expected Trades: 1-3 per week
Win Rate Target: 60-65%
Note: Commodities can be choppy, use higher multiplier
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 DASHBOARD INTERPRETATION GUIDE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟢🟢🟢🟢🟢 5/5 BULLISH CONSENSUS - MAXIMUM CONFIDENCE
What it means:
→ ALL timeframes show bullish SuperTrend
→ STRONG UPTREND in progress
→ Highest probability long entries
→ Lowest risk for bullish positions
Trading Actions:
✅ AGGRESSIVE long entries
✅ Increase position size (within risk limits)
✅ Hold existing long positions
✅ Avoid ALL short trades
✅ Use tight trailing stops to maximize profits
✅ Look for pullbacks to add to positions
Risk Level: LOW for longs
Confidence Level: MAXIMUM (95%+)
Expected Outcome: Strong continuation upward
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟢🟢🟢🟢🔴 4/5 BULLISH - HIGH CONFIDENCE
What it means:
→ MOST timeframes bullish, one lagging
→ UPTREND in progress
→ High probability long setups
→ Monitor the bearish timeframe closely
Trading Actions:
✅ Good long entries (standard position size)
✅ Check which timeframe is bearish (important!)
✅ If lower TF bearish: Wait for alignment before entry
✅ If higher TF bearish: Use tighter stops, be cautious
✅ Hold long positions but watch for consensus drop
Risk Level: LOW-MEDIUM for longs
Confidence Level: HIGH (75-85%)
Expected Outcome: Continued uptrend likely
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟢🟢🟢🔴🔴 3/5 MIXED SIGNALS - CAUTION ZONE
What it means:
→ TRANSITION phase between trends
→ Market indecision
→ Trend may be changing direction
→ Higher risk for both directions
Trading Actions:
⚠️ REDUCE position sizes significantly
⚠️ Tighten stops on existing positions
⚠️ Wait for 4/5 before new entries
⚠️ Take partial profits on existing trades
⚠️ Do NOT add to losing positions
⚠️ Be prepared for trend reversal
Risk Level: MEDIUM-HIGH
Confidence Level: MEDIUM (50-60%)
Expected Outcome: Consolidation or reversal coming
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🟢🟢🔴🔴🔴 2/5 TREND WEAKENING
What it means:
→ Trend is LOSING strength rapidly
→ Opposite trend forming
→ High probability of reversal
→ Previous trend likely ending
Trading Actions:
🚨 CLOSE or reduce existing positions in old direction
🚨 Prepare for opposite direction trades
🚨 Do NOT enter new trades in old direction
🚨 Watch for 3/5 or 4/5 in new direction
🚨 Raise stops to breakeven on remaining positions
Risk Level: HIGH for old direction
Confidence Level: LOW (30-40%)
Expected Outcome: Trend reversal likely imminent
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔴🔴🔴🔴🔴 5/5 BEARISH CONSENSUS - MAXIMUM CONFIDENCE
What it means:
→ ALL timeframes show bearish SuperTrend
→ STRONG DOWNTREND in progress
→ Highest probability short entries
→ Lowest risk for bearish positions
Trading Actions:
✅ AGGRESSIVE short entries
✅ Increase short position size (within risk limits)
✅ Hold existing short positions
✅ Avoid ALL long trades
✅ Use tight trailing stops to maximize profits
✅ Look for rallies to add to short positions
Risk Level: LOW for shorts
Confidence Level: MAXIMUM (95%+)
Expected Outcome: Strong continuation downward
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ ADVANTAGES OVER STANDARD SUPERTREND INDICATORS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ TIME SAVINGS
Standard approach: Switch between 5+ charts (5-10 minutes per analysis)
This indicator: See everything instantly (5 seconds)
RESULT: Save 100+ hours per year of chart switching!
✅ REDUCE FALSE SIGNALS BY 60-70%
Standard SuperTrend: Takes every signal (many are false)
This indicator: Only trade when multiple timeframes confirm
RESULT: Much higher win rate, fewer losing trades
✅ INSTITUTIONAL-GRADE METHODOLOGY
Standard approach: Retail traders guess the trend
This indicator: Same multi-timeframe analysis pros use
RESULT: Trade like institutions, not retail amateurs
✅ PERFECT FOR ALL SKILL LEVELS
Beginners: Easy visual interpretation (green = buy, red = sell)
Intermediate: Customize timeframes for your strategy
Advanced: Combine with other indicators and price action
RESULT: Grows with you as you improve
✅ WORKS ON ALL MARKETS & TIMEFRAMES
Stocks, Forex, Crypto, Futures, Commodities, Indices
1-second charts to Monthly charts
RESULT: One indicator for your entire trading career
✅ COMPLETELY CUSTOMIZABLE
Change timeframes, colors, position, settings
Save multiple configurations
Adapt to any strategy
RESULT: Make it truly YOURS
✅ BUILT-IN ALERT SYSTEM
Never miss high-probability setups
Mobile app integration
Email, SMS, webhook support
RESULT: Trade smarter, not harder
✅ CLEAN, PROFESSIONAL DESIGN
Doesn't clutter your chart
Easy to read at a glance
Professional appearance
RESULT: Better decisions, less eye strain
✅ FREE & OPEN SOURCE
No subscriptions or hidden fees
Modify the code if you want
Share with other traders
RESULT: Accessible to everyone
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎓 BEST PRACTICES & PRO TIPS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 TIP #1: The Higher Timeframe is King
→ Daily trend > 4H trend > 1H trend > 15m trend > 5m trend
→ NEVER fight the higher timeframe trend
→ A bullish 5m signal means NOTHING if Daily is bearish
→ When in doubt, follow the highest timeframe
💡 TIP #2: Wait for Alignment (Patience = Profits)
→ Don't rush into trades with 2/5 or 3/5 consensus
→ The best trades have 4/5 or 5/5 alignment
→ Quality over quantity ALWAYS
→ One great trade > Five mediocre trades
💡 TIP #3: Use Logical Timeframe Combinations
Good Examples:
├─ 1m, 5m, 15m, 1H, 4H (scalping/day trading)
├─ 15m, 1H, 4H, D, W (swing trading)
└─ 4H, D, W, M, 3M (position trading)
Bad Examples:
├─ 1m, 1m, 5m, 5m, Monthly (no logic)
├─ 3m, 7m, 13m, 29m, 45m (random)
└─ All the same timeframe (defeats the purpose)
💡 TIP #4: Combine with Key Support/Resistance Levels
→ SuperTrend shows the TREND
→ S/R levels show WHERE to enter
→ Best setups = Trend + Level confluence
→ Example: 5/5 bullish + price at major support = STRONG BUY
💡 TIP #5: Respect Trend Changes
→ When 4H or Daily SuperTrend flips, PAY ATTENTION
→ Don't be stubborn and hold losing positions
→ The trend is your friend until it bends
→ Cut losses quickly, let winners run
💡 TIP #6: Risk Management is NON-NEGOTIABLE
→ SuperTrend is powerful but NOT perfect
→ Always use stop losses (no exceptions!)
→ Never risk more than 1-2% per trade
→ Position size based on stop distance
→ No indicator can save you from bad risk management
💡 TIP #7: Avoid Trading During Major News
→ Turn off indicator during: FOMC, NFP, Earnings, Fed Speeches
→ Technical analysis fails during high-impact news
→ Wait 30-60 minutes after news for market to settle
→ Close positions or tighten stops before scheduled news
💡 TIP #8: Backtest Before Live Trading
→ Use TradingView's Strategy Tester
→ Test on your specific instruments and timeframes
→ Look for 55%+ win rate minimum
→ Verify on at least 3-6 months of data
→ Paper trade for 2-4 weeks before going live
💡 TIP #9: Keep a Trading Journal
→ Record every trade (entry, exit, reason, result)
→ Note the consensus level at entry
→ Track which timeframe combinations work best
→ Review weekly to identify patterns
→ Learn from both winners AND losers
💡 TIP #10: Combine with Volume Analysis
→ Strong trends have strong volume
→ Breakouts need volume confirmation
→ Watch for volume spikes at key levels
→ Declining volume = Trend weakening
→ Use volume as an additional filter
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 OPTIMIZATION & FINE-TUNING GUIDE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 FOR MORE SIGNALS (Aggressive Trading Style)
SuperTrend Settings:
├─ ATR Period: 7-8 (more sensitive)
├─ Multiplier: 2.0-2.5 (tighter stops)
└─ Result: More signals, faster reactions
Consensus Requirements:
├─ Accept 3/5 consensus for entries
├─ Consensus threshold: 3
└─ Result: More trade opportunities
Best For:
├─ Scalping
├─ Active day trading
├─ High-liquidity markets
└─ Experienced traders who can handle more signals
Drawbacks:
├─ More false signals
├─ More whipsaws in choppy markets
├─ Requires more screen time
└─ Higher stress level
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 FOR FEWER, BETTER SIGNALS (Conservative Style)
SuperTrend Settings:
├─ ATR Period: 12-14 (less sensitive)
├─ Multiplier: 3.5-4.5 (wider stops)
└─ Result: Fewer but higher quality signals
Consensus Requirements:
├─ Only trade 5/5 consensus (all timeframes agree)
├─ Consensus threshold: 5
└─ Result: Maximum confidence trades only
Best For:
├─ Swing trading
├─ Position trading
├─ Part-time traders
├─ Beginners
└─ Lower-stress trading
Benefits:
├─ Much fewer false signals
├─ Higher win rate
├─ Less screen time needed
├─ Better sleep!
└─ Ideal for busy professionals
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 FOR TRENDING MARKETS (Bull or Bear Markets)
Settings:
├─ ATR Period: 10 (standard)
├─ Multiplier: 3.0 (standard)
├─ Consensus: 4/5 minimum
└─ Result: Standard settings work great
Strategy Focus:
├─ Follow the higher timeframe trend religiously
├─ Hold positions longer
├─ Let winners run with trailing stops
├─ Add to winning positions on pullbacks
└─ Ride the trend for maximum profits
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 FOR CHOPPY/RANGING MARKETS (Sideways Action)
Settings:
├─ ATR Period: 14+ (much less sensitive)
├─ Multiplier: 4.0-5.0 (very wide stops)
├─ Consensus: 5/5 ONLY
└─ Result: Very few signals, but they're real breakouts
Strategy Adjustment:
├─ Trade MUCH less frequently
├─ Wait for clear breakouts of the range
├─ Use shorter timeframe for scalps inside range
├─ Or simply stay out until trend resumes
└─ Patience is key!
Alternative:
├─ Switch to range-trading strategy
├─ Use different indicators for ranging markets
└─ SuperTrend is a TREND indicator, not range indicator
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 FOR HIGH VOLATILITY MARKETS (Crypto, Penny Stocks)
Settings:
├─ ATR Period: 12-14
├─ Multiplier: 3.5-4.5 (wider to avoid stop hunts)
├─ Consensus: 4/5 or 5/5
└─ Result: Fewer signals but avoids fake-outs
Additional Filters:
├─ Volume MUST be 2x average minimum
├─ Wait for candle close confirmation
├─ Use larger position of account for stop distance
└─ Expect larger swings in both directions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 FOR LOW VOLATILITY MARKETS (Blue Chips, Utilities)
Settings:
├─ ATR Period: 8-10
├─ Multiplier: 2.5-3.0
├─ Consensus: 4/5
└─ Result: More signals since price moves slower
Strategy:
├─ Smaller profit targets
├─ Tighter stops work well
├─ More frequent trading
└─ Lower risk per trade
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT DISCLAIMERS & WARNINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ NOT FINANCIAL ADVICE
This indicator is for EDUCATIONAL PURPOSES ONLY. I am not a financial advisor. All trading decisions are your own responsibility. Consult with a licensed financial professional before making investment decisions.
⚠️ SUPERTREND LIMITATIONS
SuperTrend is a LAGGING indicator based on past price action. It works best in TRENDING markets and performs poorly in RANGING/CHOPPY markets. No indicator is perfect or works 100% of the time.
⚠️ RISK OF LOSS
All trading and investing carries substantial risk of loss. You can lose some or all of your invested capital. Never trade with money you cannot afford to lose. Never invest money needed for living expenses.
⚠️ PAST PERFORMANCE ≠ FUTURE RESULTS
Historical backtests and past performance do not guarantee future results. Market conditions change. What worked yesterday may not work tomorrow.
⚠️ NO GUARANTEE OF PROFITS
This indicator does NOT guarantee profits. Losing trades WILL happen. Losing streaks WILL happen. Drawdowns WILL happen. This is normal in trading.
⚠️ USE PROPER RISK MANAGEMENT
Always use stop losses. Never risk more than 1-2% of your account per trade. Never over-leverage. Never trade on emotion. Follow your trading plan.
⚠️ NEWS EVENTS OVERRIDE TECHNICALS
Major news events (FOMC, NFP, earnings, geopolitical events) can cause sudden price moves that invalidate all technical analysis. Avoid trading around scheduled high-impact news.
⚠️ REQUIRES SKILL AND EXPERIENCE
This indicator is a TOOL, not a magic money machine. It requires:
├─ Understanding of market dynamics
├─ Proper risk management
├─ Emotional discipline
├─ Trading plan and strategy
└─ Practice and experience
⚠️ TEST BEFORE LIVE TRADING
ALWAYS backtest thoroughly on your specific instruments and timeframes. ALWAYS paper trade for at least 2-4 weeks before risking real money. Never skip this step!
⚠️ SLIPPAGE AND COMMISSIONS
Real-world trading includes:
├─ Broker commissions and fees
├─ Spread costs (especially in forex)
├─ Slippage on entries and exits
├─ Overnight holding costs (swap/interest)
└─ These reduce your actual profits significantly
⚠️ MARKET CONDITIONS MATTER
This indicator works best when:
✅ Markets are trending (bull or bear)
✅ Sufficient liquidity exists
✅ No major news events happening
✅ Normal market hours (not pre/post market)
This indicator works POORLY when:
❌ Markets are ranging/choppy
❌ Low liquidity (holidays, off-hours)
❌ During major news events
❌ Extreme volatility (flash crashes)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
❓ FREQUENTLY ASKED QUESTIONS (FAQ)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Q: What timeframe should I use for my chart?
A: It depends on your trading style:
├─ Scalping: 1-minute or 5-minute
├─ Day Trading: 5-minute or 15-minute
├─ Swing Trading: 1-hour or 4-hour
└─ Position Trading: Daily or Weekly
Q: Can I change the 5 timeframes to whatever I want?
A: YES! Fully customizable. Choose any timeframes that fit your strategy.
Q: How many trades should I expect per day?
A: Depends on your settings and market conditions:
├─ Conservative (5/5 consensus): 0-2 trades per day
├─ Balanced (4/5 consensus): 1-3 trades per day
└─ Aggressive (3/5 consensus): 2-6 trades per day
Q: Does this work on all markets?
A: Yes! Stocks, Forex, Crypto, Futures, Commodities, Indices. Any market with price and volume data.
Q: What's the best consensus threshold?
A: 4 out of 5 is the sweet spot for most traders. It's strict enough to filter bad trades but not so strict that you miss good opportunities.
Q: Can I use this for automated trading?
A: This is an indicator, not a strategy. You can create a strategy based on it for automated trading, but you'll need to convert it to a strategy script.
Q: Does it repaint?
A: NO! This indicator does NOT repaint. All calculations are based on closed candles and historical data that doesn't change.
Q: What if only one higher timeframe is bearish but all others are bullish?
A: Check WHICH timeframe is bearish:
├─ If it's the Daily or Weekly: Be cautious, use tighter stops
├─ If it's a lower timeframe: Less concerning, can still trade
└─ Higher timeframe trends are MORE important
Q: Can I use this with other indicators?
A: Absolutely! Combines great with:
├─ RSI (momentum confirmation)
├─ Volume indicators (confirmation)
├─ Support/Resistance levels (entry points)
├─ MACD (trend strength)
└─ Moving Averages (additional trend filter)
Q: How do I backtest this?
A: You'll need to manually review historical price action or create a strategy version of this indicator for automated backtesting.
Q: What's the win rate with this indicator?
A: Varies by market, timeframe, and your trading skill:
├─ Conservative settings: 60-75%
├─ Balanced settings: 55-65%
└─ Aggressive settings: 50-60%
Remember: Win rate isn't everything! A 40% win rate with 1:3 R:R is profitable.
Q: Can I use this on mobile?
A: Yes! Works on TradingView mobile app. For best visibility, use "Large" text size in settings.
Q: Is this free?
A: Yes! Completely free and open source. No hidden fees or subscriptions.
Q: Can I modify the code?
A: Yes! It's open source. Feel free to customize it for your needs.
Q: Will you add more features?
A: Yes! Planned updates include:
├─ Support for 7 timeframes
├─ Individual SuperTrend settings per timeframe
├─ Trend strength meter
├─ Historical consensus tracking
└─ Mobile-optimized compact view
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💬 SUPPORT, FEEDBACK & COMMUNITY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🙏 SHOW YOUR SUPPORT:
👍 BOOST this indicator if you find it valuable!
├─ Helps other traders discover it
├─ Shows appreciation for the work
└─ Takes 2 seconds, means a lot!
👤 FOLLOW me for:
├─ Updates and bug fixes
├─ New indicators and strategies
├─ Trading tips and education
└─ Live market analysis
⭐ LEAVE A RATING & REVIEW
├─ Share your honest experience
├─ Help others decide if it's right for them
└─ Constructive feedback helps me improve
💬 COMMENT BELOW WITH:
Questions:
├─ I respond to every comment!
├─ Ask about settings, strategies, or anything else
└─ Help others by sharing your knowledge
Your Results:
├─ Share your winning trades (screenshots welcome!)
├─ Post your backtesting results
├─ Discuss what settings work for your market
└─ Build a community of successful traders
Feature Requests:
├─ What would make this indicator better?
├─ What features are you missing?
├─ What other indicators should I build?
└─ Your feedback shapes future updates
Bug Reports:
├─ Found a bug? Let me know immediately
├─ Describe the issue in detail
├─ Include screenshot if possible
└─ I'll fix it ASAP
📊 SHARE YOUR RESULTS:
├─ Post your charts using this indicator
├─ Tag me so I can see them
├─ Inspire other traders
└─ Build your trading reputation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔄 VERSION HISTORY & UPDATES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🆕 VERSION 1.0 - INITIAL RELEASE (Current)
Features:
├─ Multi-timeframe dashboard (5 customizable timeframes)
├─ Trend consensus meter (shows X/5 alignment)
├─ Fully customizable SuperTrend settings
├─ 9 dashboard positions (place anywhere on chart)
├─ 3 text sizes (Small, Normal, Large)
├─ Custom bullish/bearish colors
├─ Buy/sell signal arrows on current chart
├─ Main SuperTrend line with color changes
├─ Smart alert system (4 alert types)
├─ Customizable consensus threshold
├─ Optional background coloring
├─ Clean, professional design
└─ Comprehensive documentation
📋 PLANNED FOR VERSION 2.0:
├─ Support for 7 timeframes (up from 5)
├─ Individual SuperTrend settings per timeframe
├─ Trend strength indicator (strong/weak/neutral)
├─ Historical consensus tracking (see past alignments)
├─ Mobile-optimized compact view
├─ Additional alert conditions
├─ Performance statistics table
├─ Win rate tracker
└─ Community-requested features
🗓️ UPDATE SCHEDULE:
├─ Bug fixes: Within 24-48 hours
├─ Minor updates: Monthly
├─ Major updates: Quarterly
└─ Follow me to get notified!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎓 ADDITIONAL RESOURCES & LEARNING
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 RECOMMENDED READING:
├─ "Trading in the Zone" by Mark Douglas (psychology)
├─ "Market Wizards" by Jack Schwager (interviews with pros)
├─ "Technical Analysis of Financial Markets" by John Murphy
└─ "The New Trading for a Living" by Dr. Alexander Elder
🎥 LEARN MORE ABOUT:
├─ Multi-timeframe analysis fundamentals
├─ SuperTrend indicator mechanics
├─ Risk management and position sizing
├─ Trading psychology and discipline
└─ TradingView tutorials and features
🔗 USEFUL LINKS:
├─ TradingView Education Center
├─ Pine Script documentation
├─ Trading communities and forums
└─ Risk management calculators
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📜 LICENSE & TERMS OF USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
© 2024 zakaria safri - All Rights Reserved
📄 LICENSE: MIT License (Open Source)
You are FREE to:
✅ Use this indicator for personal trading
✅ Modify and customize for your own needs
✅ Share with other traders (with credit)
✅ Learn from and study the code
✅ Incorporate into your own projects
You MUST:
⚠️ Keep the copyright notice intact
⚠️ Provide attribution if sharing publicly
⚠️ Not claim this as your own original work
⚠️ Not sell this indicator for profit
🚫 DISCLAIMER:
This indicator is provided "AS IS" for EDUCATIONAL PURPOSES ONLY.
The creator assumes NO responsibility or liability for:
├─ Any financial losses incurred from using this indicator
├─ Trading decisions made based on this indicator
├─ Bugs, errors, or inaccuracies in the code
├─ Any damages, direct or indirect, from using this tool
All trading carries significant risk of loss. Past performance does not guarantee future results. You are solely responsible for your own trading decisions.
This is NOT financial advice. Always consult with a qualified financial advisor before making investment decisions.
USE AT YOUR OWN RISK.
═══════════════════════════════════════════════════════════════════════════
🎯 READY TO START TRADING SMARTER?
1. Add this indicator to your chart
2. Customize the 5 timeframes for your style
3. Set up alerts for high-probability setups
4. Backtest on your favorite instruments
5. Paper trade until consistently profitable
6. Go live with proper risk management
Remember: This indicator is a TOOL. Your success depends on:
├─ Proper risk management (1-2% per trade max)
├─ Trading discipline (follow your plan)
├─ Emotional control (no revenge trading)
├─ Continuous learning and improvement
└─ Patience and persistence
═══════════════════════════════════════════════════════════════════════════
💚 THANK YOU FOR USING MULTI-TIMEFRAME SUPERTREND PRO!
If this indicator helps your trading, please:
👍 BOOST it
👤 FOLLOW me
💬 COMMENT with your results
⭐ RATE and REVIEW
Happy Trading! May your trends be strong and your profits consistent! 🚀📈
═══════════════════════════════════════════════════════════════════════════
🏷️ KEYWORDS: Multi-Timeframe Analysis, SuperTrend, MTF Indicator, Trend Following, Dashboard, Day Trading, Swing Trading, Scalping, Forex, Stocks, Crypto, Futures, Technical Analysis, Trading Indicator, TradingView, Pine Script, Trend Consensus, Buy Sell Signals, Trading Dashboard, Professional Trading, Beginner Friendly