Nq/ES daily CME risk intervalNQ/ES Daily CME Range Indicator: Description and Usage
What the Indicator Does
Reverse engineering the risk interval for CME (Chicago Mercantile Exchange) products based on margin requirements involves understanding the relationship between margin requirements, volatility, and the risk interval (price movement assumed for margin calculation)
The CME uses a methodology called SPAN (Standard Portfolio Analysis of Risk) to calculate margins. At a high level, the initial margin is derived from:
Initial Margin = Risk Interval × Contract Size × Volatility Adjustment Factor
This indicator creates daily risk intervals for NQ/ES futures contracts based on volatility measurements given the fact that the CME volatility adjustment factor is not public.
The indicator draws horizontal lines on your chart that represent expected price movement ranges based on:
Your specified maintenance margin requirements
Current and historical volatility calculations
Contract lifecycle and rollover detection
The indicator automatically detects when futures contracts roll over to a new contract month, dynamically adjusts volatility calculations throughout the contract lifecycle, and displays the intervals as horizontal lines that extend from the previous day's close. These intervals give you a visual representation of likely price ranges for the current trading session.
How to Use the Indicator
To use this indicator effectively:
Add it to your NQ or ES futures chart (works on continuous contracts or individual contract months)
Set your maintenance margin amount in the risk interval settings (product margins page from the CME website. I tend to use the maintenance short margin)
The indicator will automatically draw horizontal lines at 18:00 ET each day
Use these lines as potential profit targets in volatile days
Monitor the information table for details on volatility, risk interval size, and contract lifecycle
The indicator helps you visualize expected price movement based on market volatility and your specified risk parameters, allowing you to make more informed trading decisions about position sizing and potential profit targets.
Additionally, when the market moves on news/events you will notice it will most often move exactly the risk interval value.
Why These Settings Work as Defaults
First Month Vol Period (30): The first 30 days after contract rollover typically have different volatility characteristics. This setting ensures accurate volatility measurements during this period when contract behaviour may be less stable.
Enable Volatility Floor (Checked): This prevents volatility from falling below historical levels, ensuring your risk intervals don't become too narrow during artificially calm periods. Research shows that protracted low volatility can lead to a build-up of leverage and risk, making the system vulnerable.
Volatility Floor % (0.7): The 0.7 setting works better than higher values because it better accounts for how equity volatility behaves at lower bounds. It allows for natural mean reversion while still providing protection against underestimating risk during low volatility periods.
Transition Period (30 days): This creates a smooth transition from the first month volatility period to the actual days since rollover calculation, preventing abrupt changes in your risk intervals.
Annual Trading Days (252): 252 is the standard number of trading days in a year used in financial calculations. This value is used for properly annualizing volatility measurements.
Long-Term Volatility Period (504): A 504-day period (approximately 2 years of trading days) provides several advantages over the standard 252-day setting. It better captures full market cycles including both bull and bear markets, provides more stable volatility estimates across regime changes, and results in more reliable risk intervals. Research shows this longer timeframe produces better volatility forecasts for futures markets, as it captures a more comprehensive range of market conditions while smoothing out anomalous periods.
The combination of these settings—particularly the 504-day long-term period with the 0.7 volatility floor—creates more stable and reliable risk intervals that adapt appropriately to changing market conditions without becoming overly sensitive to short-term fluctuations or too sluggish during genuine market shifts.
อินดิเคเตอร์และกลยุทธ์
HH HL LH LL + BOS / CHoCHHH HL LH LL + BOS / CHoCH Structure Indicator (ATR Adaptive)
This indicator provides a complete market structure framework using swing-based pivots, real-time trend detection, BOS (Break of Structure), CHoCH (Change of Character), and optional ATR-adaptive swing sensitivity.
🔹 Core Features
1. Market Structure Labels
The script detects and labels:
HH – Higher High
LH – Lower High
HL – Higher Low
LL – Lower Low
These labels help visualize trend continuation or weakness in structure.
Each label type can be individually toggled ON/OFF in settings.
2. ATR-Based Adaptive Swing Length (Optional)
Swing pivots can be calculated using:
A fixed manual swing length, or
A dynamic ATR-based swing length that adjusts automatically to volatility.
Increasing volatility → longer swings
Decreasing volatility → tighter swings
This makes structure detection more stable and timeframe-adaptive.
3. Close-Based Break of Structure (BOS)
The indicator identifies a BOS when:
Price closes above the previous swing high (Bullish BOS↑)
Price closes below the previous swing low (Bearish BOS↓)
BOS labels can be turned ON/OFF without affecting internal calculations.
4. CHoCH (Change of Character)
CHoCH is triggered when a BOS occurs against the current trend, indicating a potential trend reversal:
CHoCH↑ – Bearish → Bullish reversal
CHoCH↓ – Bullish → Bearish reversal
CHoCH remains active even when BOS labels are turned off.
5. Alerts
The indicator provides alert conditions for:
CHoCH↑ (Bullish Trend Shift)
CHoCH↓ (Bearish Trend Shift)
This allows traders to automate notifications for significant trend changes.
6. Trend State Tracking
The script internally tracks the current structure-based trend:
Uptrend
Downtrend
Undefined
The trend updates dynamically based on real BOS events.
7. Fully Backwards Compatible
The indicator generates structure, BOS, and CHoCH even when scrolling back deep in chart history, thanks to extended max_bars_back handling.
Summary
This tool provides a complete, flexible, and non-repainting framework for market structure analysis, suitable for:
SMC/ICT traders
Swing & intraday traders
Trend traders
Price action analysts
With adaptive swing detection, clean structure labeling, BOS/CHoCH logic, and alert integration, the indicator helps traders understand market transitions with clarity and precision.
Daily Swing High/Low Fibs (Clean v6)This indicator automatically detects the latest Daily Swing High and Swing Low and plots clean Fibonacci retracement levels based on those swings.
Even if you switch to 4H, 1H, 15m, or 5m, the levels remain locked to the Daily timeframe, giving you consistent higher-timeframe structure on any chart.
A.I. 👑 Optimus Prime [RubiXalgo]A.I. OPTIMUS PRIME — RUBIK’S ALGO EDITION (2025)
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Imagine a Rubik’s Cube spinning inside another Rubik’s Cube.
The outer cube = Supply / Demand structure
The inner cube = Trend / xTrend (price + volume momentum)
While speed-cubers solve cubes blindfolded and while juggling,
the tiny hand movements they make are eerily similar to real market microstructure.
This indicator tries to visualize that analogy using heavy Kalman filtering,
k-Nearest-Neighbors regression, LOWESS smoothing, dynamic volume delta,
and machine-learning-driven color gradients — all wrapped in a clean visual language.
Features
• Dual Kalman “Rubik” trend lines (fast + slow) with adaptive noise models
• AI candle coloring (optional) using trend-angle + momentum gradients
• Dynamic Linear Regression Volume Profile (slanted VPOC channel)
• Volume Profit-Trend polyline (walk-forward volume delta prediction)
• Liquidation / Target window with automatic stop-loss & 3 take-profit levels
• Up to 5 multi-timeframe moving averages (SMA/DEMA/TEMA/VWMA) + trend table
• All calculations use dynamic scaling (VSQC lookback) so the same settings stay relevant
across timeframes and assets
How to trade it (simple version)
• Green fast + slow line → bullish bias
• Red fast + slow line → bearish bias
• Green liquidation window + green volume polyline → high-probability long setup
• Red liquidation window + red volume polyline → high-probability short setup
• Targets are drawn automatically — aim for Target 2 or 3 (3:1+ RR typical)
Educational note
This script is shared for learning and experimentation purposes only.
It is not financial advice. Trading involves risk. Test thoroughly on demo before live use.
Credits & inspiration
Heavily inspired by Zeiierman, ChartPrime, LuxAlgo, BigBeluga, DeltaSeek,
and many open-source Pine coders. Special thanks to the entire TradingView community.
© 2025 StupidBitcoin — Open source under Mozilla Public License 2.0 + CC BY-NC-SA 4.0
Feel free to fork, improve, and share — just keep the credits.
↦ (Paste the full working code here — the one you already have, starting with string X7K9P = ... and ending with the last plot)
- Legal & fair-use footer (keeps it clean and TV-compliant)
Disclaimer
This script is published for educational purposes only.
It is not investment advice. Use at your own risk.
License
Mozilla Public License 2.0 — mozilla.org
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 — creativecommons.org
// Enjoy the cube.
// StupidBitcoin — 2025
Key Levels v1Key Levels
This comprehensive multi-timeframe indicator provides traders with key price levels and opening ranges across multiple timeframes, designed to identify significant support/resistance zones and market structure.
KEY FEATURES:
📦 Monthly Range Box
- Automatically draws a box capturing the high and low of the first 9 hours of each new month
- Box extends until the next month begins
- Includes an optional mid-line showing the 50% level of the range
- Fully customizable colors, line styles, and background opacity
📊 Multi-Timeframe Open Lines
The indicator plots horizontal lines at the open price of:
- Midnight Open (00:00 session start)
- 4-Hour Open (updates every 4-hour candle)
- Daily Open (true daily candle open)
- Weekly Open (start of trading week)
- Monthly Open (start of new month)
- Yearly Open (start of new year)
🎯 Smart Label System
- Automatic label combining when multiple timeframe opens overlap at the same price
- Clean text labels positioned ahead of current price to avoid obstruction
- Labels show combined timeframes (e.g., "Monthly Open / Weekly Open")
⚙️ Customization Options
Each timeframe open line includes:
- Toggle on/off independently
- Custom color selection
- Line style options (Solid, Dashed, Dotted)
- Organized settings grouped by timeframe for easy navigation
🔧 Technical Implementation
- Uses request.security() for accurate higher timeframe data
- Works on any chart timeframe
- Lines extend 10 bars beyond current price for clear label visibility
- Efficient overlap detection prevents duplicate labels
IDEAL FOR:
✓ Identifying key institutional levels
✓ Trading range breakouts
✓ Multi-timeframe analysis
✓ Support and resistance zones
✓ Session-based trading strategies
All settings are organized chronologically from shortest to longest timeframe for intuitive configuration.
Pulse by RoseTreePulse by RoseTree is a dynamic stock/cash allocation indicator that answers the essential question: "How much should I have in stocks right now?"
It outputs a percentage from 0-100% representing suggested equity exposure—a reading of 75% means 75% stocks and 25% cash/bonds. The indicator synthesizes five key market dimensions: Regime (trend strength and market structure), Risk (volatility and drawdown management), Valuation (P/E, equity risk premium, shareholder yield), Sentiment (VIX term structure and fear/greed dynamics), and Macro (yield curves, credit spreads, financial stability). Each factor is weighted and blended into a single actionable signal. A built-in Crisis Detection System automatically reduces exposure when multiple stress indicators trigger—including VIX spikes, rapid drawdowns, credit spread blowouts, and correlated stock/bond selloffs. The indicator classifies markets into six regimes: Strong Bull, Bull Market, Neutral, Correction, Bear Market, and Crisis. Four approach modes (Conservative, Balanced, Aggressive, Adaptive) let you match the signal to your risk personality. The on-chart dashboard displays real-time metrics including VIX, market drawdown, P/E ratio, equity risk premium, ROE, and individual component scores. Built-in alerts notify you of allocation threshold crossings, regime changes, and crisis events. Data is pulled automatically from SPY, VIX, Treasury yields, credit ETFs (HYG/LQD), TLT, gold, and dollar index. Eight color themes are included with dark/light mode support. Best used on daily timeframe for strategic allocation decisions.
Adaptive Dual MA Trend Ribbon Community “Larsson-Style” PresetsMany traders enjoy experimenting with dual-moving-average “trend ribbon” structures that resemble the visual style of popular tools such as the Larsson Line. While the internal logic of closed-source indicators is not publicly available, the trading community often explores MA combinations like SMMA 15/29 or EMA 30/60 with ATR filters to study trend transitions and visualize momentum shifts.
This script does not replicate, reverse-engineer, or replace any closed-source indicator. Instead, it provides a flexible, open-source framework that lets traders build their own trend-ribbon configuration inspired by similar visual concepts while maintaining full transparency. Because the calculations rely only on standard, well-known moving-average and ATR methods, traders can experiment freely with community-discussed presets without relying on proprietary tools.
What the Script Does
• Plots Fast and Slow moving averages using the method of your choice: SMMA (RMA), EMA, SMA, or WMA
• Colors the ribbon to show directional bias:
• Bullish when Fast MA > Slow MA
• Bearish when Fast MA < Slow MA
• Neutral when the difference is small (optional ATR filter)
• Supports ATR-based neutral zone filtering
• Supports optional bar coloring
• Works on all markets and timeframes
• Fully open-source and customizable
Why This Script Is Useful
Traditional moving averages identify trend direction but lack context during uncertain or low-momentum conditions. This script adds value by:
1. Allowing multiple smoothing techniques (SMMA/EMA/SMA/WMA)
2. Highlighting clearer trend transitions
3. Identifying low-confidence periods using ATR
4. Providing a visually intuitive ribbon instead of single-line signals
Suitable for swing traders, trend followers, breakout traders, and anyone who wants cleaner structure-based contextualization.
Popular Community MA Combinations
Many traders experiment with specific MA pairs to understand trend-ribbon behavior:
• SMMA 15/29 → smoother structural trend flow
• EMA 30/60 → more responsive momentum shifts
• EMA 10/21 → intraday rhythm
• EMA 50/100 → higher-timeframe structure
These examples are commonly used by the community—but this script does not recreate or imitate any closed-source or commercial indicator.
How to Use
1. Choose your preferred MA type
2. Adjust Fast/Slow lengths to match your timeframe
3. Enable ATR Neutral Zone to reduce false flips
4. Optionally enable bar coloring
5. Combine with structure, volume, or price action for decision-making
Important Notes
• This script is original, open-source, and not affiliated with any commercial indicator or author.
• It does not reproduce, imitate, or reverse-engineer any closed-source logic.
• All computations are standard MA/ATR methods for clarity and transparency.
Disclaimer
This tool is for educational and analytical purposes only.
Always test parameters and use proper risk management before applying to live trading.
DANGER SP500This indicator is designed to identify severe correlation anomalies between the Volatility Index (VIX) and the S&P 500 (SPX). It operates on the premise that a simultaneous rise in both assets often precedes market corrections or significant local tops.
The underlying concept is "fear in the rally": investors are buying equities (driving price up), but at the same time, they are aggressively buying protection (Puts), causing the VIX to spike.
⚠️ Strict Usage Rules
To guarantee the mathematical reliability of the VIX data, this indicator includes strict security restrictions:
EXCLUSIVE ASSET: Designed solely for the S&P 500 (SPX, SPY, US500, ES1!). It should not be used on Crypto or Forex, as the VIX correlation does not apply in the same way.
LOCKED TIMEFRAME: It only functions on the Daily Chart (1D).
Note: The script includes a runtime.error block that will prevent execution if you attempt to load it on intraday charts (H1, H4, etc.) to avoid false signals caused by market noise.
Visualization
Red Background: Visually highlights the exact moment the alert is triggered.
"DANGER" Label: Prints clearly above the signaled bar.
Max Price Display: Unlike other indicators that mark the close, this tool specifically labels the HIGH of the candle, allowing you to identify the exact point of price extension.
🔔 Alerts
The script is ready for TradingView Alerts. The alert message is dynamic and will include the exact High price reached during the signal candle.
Disclaimer: This script is for technical analysis purposes only and does not constitute financial advice. Trading involves risk.
Linda Raschke 5 SMA Reversal [LuciTech]How This Indicator Works:
-5 SMA Tracking: Calculates a 5-period simple moving average and plots it on the chart.
-Extension Counter: Counts consecutive bars where price closes above or below the 5 SMA.
-BUY Signals (Green Up Arrow): Triggers when price closes BELOW the 5 SMA after 7+ consecutive closes ABOVE it—indicates a reversal opportunity into dynamic support.
-SELL Signals (Red Down Arrow): Triggers when price closes ABOVE the 5 SMA after 7+ consecutive closes BELOW it—indicates a reversal bounce setup.
-No Repainting: Signals only plot on confirmed bar closes; no repainting issues.
Linda Raschke's Core Principles:
-Extended Run = Imbalance: When price stays above/below the 5 SMA for 7+ bars, it's a one-sided market; mean reversion is likely.
-First Cross = Trigger: The first close back across the SMA after an extension is the reversal signal, not every touch.
-No Setup? No Trade: Without a prior extension or "three-bar balance" filter, a 5 SMA tag is noise. The model requires the prior momentum condition.
-Uptrend Buys: In uptrends, buy dips to the SMA (dynamic support) as long as the weekly/monthly trend is intact.
-Downtrend Fades: In downtrends, treat first rallies above the SMA as bounce fades into lower lows (especially after 14+ bars below).
Robrechtian Long-Medium Breakout Trend SystemRobrechtian Long–Medium-Term Breakout Trend System
A professional, rule-based trend-following strategy designed to capture large, sustained price movements using pure price action and breakouts.
This system follows long-established trend-following philosophy: no prediction, no volatility targeting, and no profit targets. Only disciplined entries, position additions, and exits driven entirely by trend structure.
Core Principles
Breakout-driven entries: Initial positions are taken only when price breaks above/below the 80-day Donchian channel, confirming a long–medium-term trend shift.
Short-term confirmation: Breakouts must also exceed the 20-day channel, reducing false positives.
Trend-direction filter: A 50-day moving average slope filter ensures alignment with the broader trend.
Explosive bar filter: Entries avoid excessively large, single-candle expansions (>2.5× ATR(20)) to prevent chasing exhaustion spikes.
Pyramiding into strength: Additional units are added only when price makes fresh 20-day breakouts in the direction of the trend. No scaling out. No adding on dips.
Exit only on trend violation: Positions are closed exclusively when price breaks the opposite 80-day channel. This preserves unlimited upside while enforcing disciplined exits.
Pure trend philosophy: No volatility targeting, no smoothing, no discretionary overrides, no optimization for short-term performance.
Intended Use
This system is designed primarily for diversified futures portfolios, where diversification across dozens of globally liquid markets creates robustness and stability. However, it may also be used on individual assets for educational and analytical purposes.
The system embraces the core trend-following logic:
Small losses, big winners, and unlimited upside when trends persist.
⚠️ WARNINGS / DISCLAIMERS
⚠️ Warning 1 — This strategy is not optimized for single stocks
The Robrechtian Trend System is designed for multi-asset futures portfolios, not single equities.
Performance on individual tickers may vary greatly due to lack of diversification.
⚠️ Warning 2 — Trend following includes substantial drawdowns
Deep drawdowns are a normal and expected feature of all long-term trend-following systems.
The strategy does not attempt to smooth returns or manage volatility.
If you seek steady, low-volatility equity curves, this system is not suitable.
⚠️ Warning 3 — No volatility targeting or risk smoothing
This system intentionally avoids volatility-based position sizing.
Trades may experience larger fluctuations than systems using risk parity or vol targeting.
⚠️ Warning 4 — Not financial advice
This script is for educational and research purposes only.
Past performance does not guarantee future results.
Use at your own risk.
⚠️ Warning 5 — TradingView backtests have known limitations
TradingView does not simulate:
futures contract roll logic
slippage
real bid/ask spreads
liquidity conditions
limit-up/limit-down behavior
Results may vary from live market execution.
Aydan ScalperBy when EMA 8 cross EMA 21 from Below to Abouve and SELL when EMA 21 cross EMA 8 from Abouve to Belove
Buyer-Seller Locomotive IndexBuyer-Seller Locomotive Index (BSLI)
An original indicator that measures buyer and seller pressure, momentum shifts, and structural control in the market.
Overview
The Buyer-Seller Locomotive Index evaluates candle-level positioning relative to an adaptive EMA-based reference price. It calculates bull vs bear strength percentages and Total Power momentum using fast and slow EMAs, providing insight into which side currently dominates market structure. By combining pressure analysis with momentum smoothing, BSLI highlights both the intensity and direction of market control.
Features
Bull/Bear Strength Percentages: Normalized 0–100 values showing current dominance and threshold-based high-strength alerts.
Total Power Momentum: Fast and slow EMA crossover signals with a histogram to visualize expansion or contraction of pressure.
Visual Markers: Optional fight diamonds highlight candles intersecting the reference price, while dynamic labels show the exact strength percentages.
Crossover Signals: Circles mark potential shifts in momentum, helping to identify early transitions in market control.
Customizable Display: Users can toggle labels, markers, and histogram visibility for a clean or detailed chart view.
How to Use
BSLI provides traders with a multi-layered view of market structure:
Observe shifts in buyer vs seller dominance.
Spot early momentum transitions before trends become obvious.
Confirm price structure with Total Power and strength percentages.
Highlight periods of compression, conflict, or indecision for additional context.
This indicator is intended as a supportive analysis tool. Traders should combine it with personal methodology, risk management, and other analysis techniques. It is not a standalone trade signal.
Important Notes
Measures relative pressure, not absolute volume.
Percentages reflect current structure, not predicted price direction.
Signals are contextual; do not rely solely on crossovers for trading decisions.
Uses no lookahead; all calculations are based on completed bars.
Results may vary by asset, timeframe, and market volatility.
Originality
BSLI uniquely combines adaptive pressure extraction, normalized strength percentages, dual-EMA power momentum, conflict detection, and integrated labeling. This multi-component approach provides a clear and actionable view of the evolving balance between buyers and sellers, supporting both short-term and structural analysis.
Relative Strength Index w/ BandsStandard RSI but with the option to add a shaded zone around the Upper and Lower Bands, based on an offset value.
Value/level of shaded zones need to be modified separately in the Settings from the Upper and Lower Band values.
Multi-TF EMA(20) — JcsatasiyaOverview
This indicator plots 7 multi-timeframe EMA(20) lines on any chart and displays a clean dynamic label for each EMA showing:
Full timeframe name (Yearly, Half-Yearly, Quarterly, Monthly, Weekly, etc.)
EMA(20) value formatted with exactly 2 decimals
A label that is positioned automatically to the right of the latest candle
White text for maximum readability
Color-coded lines for each timeframe
All EMA lines extend horizontally and update in real-time when new candles form on the selected timeframes.
✅ Key Features
• 7 Custom Timeframes
Choose any timeframe for each EMA (Yearly, 6-Month, 3-Month, Monthly, Weekly, Daily, 4H, etc.)
• Horizontal EMA Levels
Each EMA is drawn as a fixed horizontal level, making structure and bias easier to analyze.
• Dynamic Label Placement
Labels automatically position:
Horizontally: Left, Middle, or Right of the right-side future area
Vertically: Above, Middle, or Below the EMA line
• Clean Readable Labels
Always white text
Shows: EMA (20) – Timeframe Price: 123.45
Price always displays with 2 decimals
Label style auto-adjusts based on position
• Color Customization
Each timeframe EMA has its own color picker.
• All EMA Thickness Unified
Set one line thickness for all EMA lines.
• Reliable Multi-TF Accuracy
Uses request.security() with proper lookahead handling.
⭐ Why This Indicator Is Useful
This tool makes it extremely easy to visualize where your chart sits relative to major multi-timeframe EMA levels.
You immediately see:
Higher-timeframe trend direction
Bias zones
Key support/resistance EMA levels
Long-term vs short-term trend alignment
Price interaction with institutional EMAs
Perfect for day traders, swing traders, and position traders.
📘 HOW TO USE
1️⃣ Add to Chart
After adding the indicator, open the Settings → Inputs panel.
2️⃣ Choose the 7 Timeframes
For each slot, select your desired timeframe (example setup):
Yearly
Half Yearly
Quarterly
Monthly
Weekly
Daily
4H
3️⃣ Customize Colors
Pick a different color for each EMA for clarity.
4️⃣ Choose Label Placement
Use the label position controls:
Vertical: Upper / Middle / Below
Horizontal: Left / Middle / Right (relative to right-side future space)
5️⃣ Adjust Line Thickness (Optional)
A single slider controls the thickness of all 7 EMAs.
📝 NOTES
The indicator places labels 2–50 bars into the future depending on chosen position.
Labels are always visible and readable due to white text.
EMA values always show exactly two decimals, even for crypto, indices, and forex.
Works on any market and any chart timeframe.
TrategyMulti-Indicator Trading System - Detailed Description
═══════════════════════════════════════════
OVERVIEW
This indicator combines four proven technical analysis tools (EMA, RSI, MACD, ATR) with a specific logic that filters out low-probability setups. Unlike simple indicator mashups, this system requires all conditions to align simultaneously before generating a signal, significantly reducing false entries.
═══════════════════════════════════════════
CORE COMPONENTS & LOGIC
1. Trend Detection - Triple EMA Filter
The system uses three Exponential Moving Averages (5, 10, 20 periods) to establish trend direction and strength:
For LONG signals:
• EMA(5) must be above EMA(10)
• EMA(10) must be above EMA(20)
• Price must be trading above all three EMAs
This creates a "stacked EMA" configuration that confirms a strong uptrend.
For SHORT signals:
• EMA(5) must be below EMA(10)
• EMA(10) must be below EMA(20)
• Price must be trading below all three EMAs
This inverse configuration confirms a strong downtrend.
2. Momentum Confirmation - RSI Filter
The RSI (14-period) acts as a momentum filter to avoid entering during exhausted moves:
For LONG signals:
• RSI must be above 40 (avoiding oversold extremes)
• RSI must be rising (current RSI > previous RSI)
For SHORT signals:
• RSI must be below 60 (avoiding overbought extremes)
• RSI must be falling (current RSI < previous RSI)
This prevents entries at extreme overbought/oversold levels while confirming momentum direction.
3. Entry Trigger - MACD Crossover
The MACD (12, 26, 9) provides the precise entry timing:
LONG trigger: MACD line crosses above Signal line
SHORT trigger: MACD line crosses below Signal line
The signal only fires when this crossover occurs while all other conditions are already met.
4. Risk Management - ATR-Based TP/SL
Take Profit and Stop Loss levels are calculated dynamically using the 14-period ATR (Average True Range), adjusted for timeframe:
5-Minute Charts:
• Take Profit: 1.0 × ATR
• Stop Loss: 0.5 × ATR
4-Hour Charts and above:
• Take Profit: 2.0 × ATR
• Stop Loss: 1.0 × ATR
This adaptive approach accounts for different volatility levels across timeframes.
═══════════════════════════════════════════
SIGNAL GENERATION LOGIC
A signal is only generated when ALL four conditions are simultaneously true:
LONG Signal Requirements:
1. ✓ Triple EMA alignment (bullish stack)
2. ✓ Price above all EMAs
3. ✓ RSI > 40 and rising
4. ✓ MACD bullish crossover
SHORT Signal Requirements:
1. ✓ Triple EMA alignment (bearish stack)
2. ✓ Price below all EMAs
3. ✓ RSI < 60 and falling
4. ✓ MACD bearish crossover
This multi-layered filtering approach is what differentiates this system from basic indicator combinations.
═══════════════════════════════════════════
WHY THIS COMBINATION WORKS
Trend + Momentum + Timing:
• EMAs establish the overall trend context
• RSI confirms momentum is present (not exhausted)
• MACD provides precise entry timing
• ATR adapts risk management to current volatility
Key Innovation: The system waits for all filters to align rather than acting on individual signals, which significantly reduces whipsaws and false breakouts common in single-indicator strategies.
═══════════════════════════════════════════
OPTIMIZED TIMEFRAMES
While the indicator works on all timeframes, it has been specifically optimized and backtested on:
• 5-minute charts (for scalping/day trading)
• 4-hour charts (for swing trading)
The ATR multipliers automatically adjust based on the selected timeframe.
═══════════════════════════════════════════
VISUAL FEATURES
• Green arrows below bars: Long signal
• Red arrows above bars: Short signal
• Green line: Take Profit level
• Red line: Stop Loss level
• Alert capability: Configurable alerts for paid TradingView subscriptions
═══════════════════════════════════════════
HOW TO USE
1. Add the indicator to your chart
2. Wait for a colored arrow to appear
3. Enter the trade in the direction of the arrow
4. Set your Take Profit at the green line
5. Set your Stop Loss at the red line
6. (Optional) Set up alerts to receive notifications
Note: Not every arrow will show TP/SL lines. Lines only appear when the ATR-based calculation determines there is sufficient volatility to justify the trade setup.
═══════════════════════════════════════════
WHAT MAKES THIS INVITE-ONLY WORTHY
Unlike free indicators that simply plot standard EMAs, RSI, or MACD separately, this system:
1. Integrates all four indicators with specific thresholds designed to work together
2. Uses adaptive risk management that adjusts to timeframe and volatility
The value lies not in the individual components (which are public domain) but in the specific combination logic, thresholds, and ATR-based risk system that took months of testing to optimize.
═══════════════════════════════════════════
ACCESS INFORMATION
This is an invite-only indicator. To request access:
• Visit our website
We offer both monthly subscriptions and lifetime access.
═══════════════════════════════════════════
RISK DISCLAIMER
This indicator is a technical analysis tool and does not constitute financial advice. All trading involves substantial risk of loss. Past performance does not guarantee future results. The indicator provides signals based on historical price patterns, but cannot predict future market movements. Always use proper risk management and never risk more than you can afford to lose.
═══════════════════════════════════════════
Questions? Feel free to message us on TradingView, or to email us.
Linear Regression CVDHere is the complete user manual and introduction for the Linear Regression CVD indicator in English. You can save this as your documentation for your trading system.
📊 Linear Regression CVD – Trader’s Manual
1. Introduction
Core Concept:
Standard Cumulative Volume Delta (CVD) indicators are often noisy and jagged, making it difficult to decipher the true direction of capital flow. This indicator applies a Linear Regression algorithm to smooth out the CVD data and adds a Standard Deviation Channel. It is designed to answer two critical questions:
What is the "True Trend" of the money flow? (Filtering out noise)
Is the market sentiment currently overheated? (Using the channel to spot extremes)
Best Markets:
Crypto Perpetual Futures (e.g., BTCUSDT.P) — Highly Recommended.
Stocks & Forex (Must have volume data).
Timeframes:
Scalping: 1m, 5m, 15m (To catch rapid capital inflows/outflows).
Swing Trading: 1H, 4H (To identify the dominant direction of "Smart Money").
2. Visual Guide
When you load the indicator, you will see the following elements:
A. The Main Line (Linear Regression)
Appearance: A smooth, thick line.
Meaning: The average trend of capital flow.
Color Logic:
🟢 Green: Money flow is trending UP (Buyers are dominant).
🔴 Red: Money flow is trending DOWN (Sellers are dominant).
B. The Raw Line (Gray Hairline)
Appearance: A thin, jagged gray line fluctuating around the main line.
Meaning: The Raw, Real-time CVD. It calculates the volume delta (Close vs. Open) for every single candle without smoothing.
C. The Channel (Blue Background)
Appearance: A blue shaded area around the main line.
Meaning: The "Normal Volatility Range."
Calculated based on 2 Standard Deviations (2σ) from the Linear Regression.
If the Gray Line stays inside this channel, the market is stable/balanced.
D. The Signal Dots
🟢 Green Dot (Upside Extension): The Raw CVD has broken above the upper channel.
Meaning: Extreme Greed / Aggressive Buying / FOMO.
🔴 Red Dot (Downside Extension): The Raw CVD has broken below the lower channel.
Meaning: Extreme Fear / Panic Selling / Capitulation.
3. Trading Strategies
Strategy 1: Trend Confirmation
The basic "Follow the Money" approach.
Bullish Signal (Long):
Price is making Higher Highs.
CVD Main Line turns Green and slopes upward.
Action: Confirms that the price rise is backed by real volume. Hold or Add to Longs.
Bearish Signal (Short):
Price is making Lower Lows.
CVD Main Line turns Red and slopes downward.
Action: Confirms that sellers are in control. Hold Shorts.
Strategy 2: Divergence (High Win Rate)
Finding disagreements between "Price" and "Money Flow".
Bearish Divergence (Top Signal):
Price makes a Higher High.
CVD Main Line makes a Lower High (or fails to break out).
Meaning: Price is rising, but buying effort is fading (Exhaustion) or Limit Sellers are absorbing the buy orders (Absorption).
Action: Look for Short entries.
Bullish Divergence (Bottom Signal):
Price makes a Lower Low.
CVD Main Line makes a Higher Low.
Meaning: Price is dropping, but selling pressure is drying up, or Smart Money is absorbing sell orders via limit buy orders.
Action: Look for Long entries.
Strategy 3: Mean Reversion (Extreme Extensions)
Using the Red/Green dots to fade extremes.
Long Opportunity (Bounce):
Price crashes rapidly.
Cluster of Red Dots appears at the bottom.
Meaning: Panic selling has peaked (Capitulation). The market is oversold on a volume basis.
Action: Wait for a candle reversal pattern, then Long for a bounce.
Short Opportunity (Pullback):
Price pumps vertically.
Cluster of Green Dots appears at the bottom.
Meaning: Retail traders are chasing the pump (FOMO). Buying power is overextended.
Action: Wait for momentum to stall, then Short.
4. Important Limitations & Notes
Data Source Accuracy:
TradingView Standard Volume is an approximation (Close vs. Open logic).
It is not perfect "Tick Data" (like professional Orderflow software), but it is 90% accurate for trend analysis on 1H/4H charts.
Tip: Always use Perpetual Contract charts (e.g., BTCUSDT.P) for Crypto, not Spot charts, to get the correct volume data.
The "Extension" Trap:
Do not Short just because you see a Green Dot. In a strong parabolic bull run, you will see many Green Dots in a row while price keeps flying.
These dots indicate velocity, not necessarily a reversal. Always look for resistance levels or divergence before fading the move.
Settings:
Default Length: 20.
For faster signals: Try 10 or 14.
For smoother trends: Try 50.
5. Pre-Trade Checklist
Before entering a trade, check the Linear CVD:
Color: Is the CVD Line Green or Red? Does it match my trade direction?
Slope: Is the CVD accelerating or flattening out?
Divergence: Did price break a level, but CVD failed to follow? (Fakeout warning).
Extremes: Are there Red/Green dots appearing? If yes, am I chasing a trade too late?
这是一套完整的线性回归 CVD (Linear Regression CVD) 指标的使用说明书和简介。你可以把它保存下来,作为你的交易系统参考文档。
📊 线性回归 CVD (Linear Regression CVD) —— 交易员手册
1. 指标简介 (Introduction)
核心理念:
普通的 CVD(累积成交量差)往往噪音很大,线条锯齿状严重,导致交易者难以看清真正的资金流向趋势。本指标通过线性回归算法 (Linear Regression) 对 CVD 进行平滑处理,并结合标准差通道 (Standard Deviation Channel),试图解决两个核心问题:
资金流向的真实趋势是什么?(排除噪音)
当前的情绪是否过热?(通过通道判定)
适用市场:
加密货币合约 (BTC, ETH 等永续合约) —— 效果最佳
股票、外汇 (需有成交量数据)
适用周期:
日内短线:1分钟、5分钟、15分钟(捕捉快速的资金进出)。
趋势波段:1小时、4小时(判断主力资金的大方向)。
2. 视觉元素说明 (Visual Guide)
当你加载指标后,你会看到以下几个部分:
A. 彩色主线 (The LinReg Line)
形态:一条平滑的粗线。
含义:资金流向的**“平均趋势”**。
颜色:
🟢 绿色:资金流向趋势向上(买盘主导)。
🔴 红色:资金流向趋势向下(卖盘主导)。
B. 灰色背景细线 (Raw CVD)
形态:一条充满锯齿的灰色细线,在主线周围波动。
含义:原始的、实时的累积成交量。它反应了当下的每一根K线的实际买卖差额。
C. 蓝色背景通道 (The Channel)
形态:包裹在主线周围的深蓝色带状区域。
含义:“正常波动范围”。
基于线性回归的 2倍标准差计算。
如果灰色细线在通道内运行,说明市场情绪稳定,多空力量均衡。
D. 信号点 (The Dots)
🟢 绿点 (底部出现):原始 CVD 向上突破了通道上轨。代表极度贪婪 / 抢筹。
🔴 红点 (底部出现):原始 CVD 向下跌破了通道下轨。代表极度恐慌 / 抛售。
3. 实战交易策略 (Trading Strategies)
策略一:趋势确认 (Trend Following)
这是最基础的顺势用法。
做多信号:
价格处于上升趋势(如在均线之上)。
CVD 主线由红变绿,且持续向上倾斜。
操作:这确认了价格的上涨有真金白银的买盘支持,可以持有或加仓。
做空信号:
价格处于下降趋势。
CVD 主线由绿变红,且持续向下倾斜。
操作:确认卖盘主导,价格下跌是健康的。
策略二:背离交易 (Divergence) —— 胜率最高的用法
寻找“主力资金”与“价格”不一致的地方。
顶背离 (看跌):
价格创出了新高 (Higher High)。
CVD 主线却没有创新高,或者形成更低的高点 (Lower High)。
含义:价格在涨,但买入的资金在减少。这通常是主力在通过限价单悄悄出货,或者是买盘枯竭。
操作:准备做空,或多单止盈。
底背离 (看涨):
价格创出了新低 (Lower Low)。
CVD 主线却形成了更高的低点 (Higher Low)。
含义:价格在跌,但卖出的资金在减少,或者有大资金在底部通过挂单吸筹 (Absorption)。
操作:准备做多,或空单止盈。
策略三:极端情绪反转 (Mean Reversion)
利用红绿点判断短期的超买超卖。
做多机会 (反弹):
价格快速下跌,甚至暴跌。
指标底部出现密集的红点 (Downside Extension)。
含义:恐慌盘被杀出来了 (Capitulation),市场短期内无可再卖。
操作:等待K线出现反转形态(如长下影线)后尝试博反弹。
做空机会 (回调):
价格快速拉升(垂直上涨)。
指标底部出现密集的绿点 (Upside Extension)。
含义:大量的散户在追涨 (FOMO),透支了买盘动能。
操作:等待上涨停滞后尝试做空。
4. 关键注意事项 (Limitations)
数据源区别:
TradingView 的普通 Volume 是基于 K 线的近似计算(Close > Open 算买,Close < Open 算卖)。
这与专业的 Orderflow 软件(如 Exocharts)使用的逐笔 Tick 数据有一定误差,但在 1小时/4小时 级别上,趋势方向基本一致。
建议:如果你是做合约,请务必加载 合约图表(如 BTCUSDT.P),不要用现货图表看 CVD。
红绿点的陷阱:
不要一看到绿点就做空! 在超级大单边行情(比如牛市主升浪)中,绿点会连续出现,价格会一直涨。
红绿点必须配合 关键支撑/阻力位 使用。如果在“半空中”出现绿点,往往意味着趋势加速,而不是反转。
参数调整:
默认 LinReg Length = 20。
如果你觉得反应太慢,可以改为 10 或 14。
如果你觉得假信号太多,可以改为 50,但这会牺牲灵敏度。
5. 快速检查清单 (Checklist)
在开单前,看一眼 CVD:
颜色:CVD 是绿的还是红的?和我想做的方向一致吗?
斜率:CVD 是在加速上升/下降,还是开始变平了?
背离:价格破位了,CVD 跟着破位了吗?如果没跟,就是假突破。
极值:有没有出现红点/绿点?如果出现了,是不是应该等回调再进场?
FiboBot Position TrackerManual position tracking overlay with Fibonacci levels, ATR-based stops, and Chandelier trailing stop. Visualizes entries, targets, stop losses with real-time P&L and R:R calculations.
#### Features
Position Visualization
- Two entry levels with average entry calculation
- Two target levels (T1 and T2)
- Original pivot points display (SP1/SP2 for shorts, LP1/LP2 for longs)
Stop Loss Management
- Fixed initial stop loss (typically ATR-based)
- Chandelier Trailing Stop - Activates after Target 1 is hit
- Automatic breakeven protection after T1
- Visual distinction between fixed and trailing stops
### Chandelier Trailing Stop Logic
The Chandelier stop provides dynamic trailing protection after your first target is hit:
For SHORT positions:
- Tracks the lowest low since position opened
- Stop = Lowest Low + (ATR × Chandelier Multiple)
- Only moves down (in your favor), never up
For LONG positions:
- Tracks the highest high since position opened
- Stop = Highest High - (ATR × Chandelier Multiple)
- Only moves up (in your favor), never down
After T1 Hit:
- Stop automatically moves to at least breakeven
- Chandelier can trail beyond breakeven if price continues favorably
All of MAsCustom indicator with my favorite multiple MAs.
Can switch to different timeframe source.
Default SMAs:
9
20
50
50 @ 2min
200
200 @ 2min
400 @ 2min
800
London First 15m Candle (Real-Time NY)London First 15-Minute Candle (Real-Time New York Time)
This custom TradingView indicator identifies and tracks the first 15-minute candle of the London session, but calculated in real-time according to New York time (EST/EDT).
🔹 What the Indicator Does
1. Detects the London Session Open (Real NY Time)
You define the London session start time in New York hours (default: 3:00 AM NY Time).
The indicator monitors the first 15 minutes from the defined start time (3:00–3:15 NY time).
Only today’s candle is tracked — historical London ranges are not shown.
2. Builds the London Opening Range Candle (15m)
While the 15-minute window is still open, it continuously tracks:
Highest price reached (London High)
Lowest price reached (London Low)
The values update in real time only within the 3:00–3:15 window.
At 3:15 NY time, the candle is locked in and no longer changes.
3. Draws Three Persistent Levels on the Chart
Once the London candle closes, the indicator plots:
🔴 Top Line (London High)
Extended to the right across the chart.
🟢 Bottom Line (London Low)
Extended to the right across the chart.
⚪ Mid Line (Middle of the Range)
Computed as:
(londonHigh + londonLow) / 2
Also extended to the right.
All lines:
Are only drawn for today.
Auto-delete and refresh when a new trading day begins.
4. Works on ANY Timeframe
Even if the indicator runs on:
1m
2m
5m
1h
etc.
…it still uses a real 15-minute aggregation, ensuring the London candle is accurate.
5. Clean Chart — No Historical London Levels
The script:
Removes old lines at the start of each new day.
Keeps only today’s active London range.
This prevents clutter and ensures clarity.
6. Optional Alerts (if enabled)
The indicator can generate alerts when the market crosses:
The top of the London range
The bottom of the London range
The midline
For example:
Price breaks above London High
Price breaks below London Low
Price crosses the Midline up or down
These can be used for:
Breakout strategies
Liquidity grabs
Range-trading confirmations
7. Fully Customizable
User inputs allow you to modify:
London session start hour (NY Time)
Candle duration (fixed at 15 minutes)
Line colors:
High line color
Low line color
Midline color
Line widths
Summary
This indicator gives you a clean and accurate view of the first 15-minute candle of the London session — critical for many ICT/SMS/prop firm strategies — with:
Real-time NY-based calculation
Automatic cleanup
Clear range lines
Custom colors
Alerts for breakouts
Pair Correlation Master [Macro]The Main Idea
Trading represents a constant battle between Systemic Flows (the whole market moving together) and Idiosyncratic Moves (one specific asset moving on its own).
This tool allows you to monitor a "basket" of 4 assets simultaneously (e.g., the major USD pairs). It answers the most important question in forex and multi-asset trading: "Is this move happening because the Dollar is weak, or because the Euro is strong?"
It separates the "Signal" (the unique move) from the "Noise" (the herd movement).
1. The Chart Lines: The "Race" (Macro Trend)
Think of the lines on your chart as a long-distance race. They visualize the performance of all 4 assets over the last 200 candles (adjustable).
- Bunched Together: If all lines are moving in the same direction, the market is highly correlated. (e.g., "The Dollar is selling off everywhere").
- Fanning Out: If the lines are spreading apart, specific currencies are outperforming others.
- The Zero Line: This is the starting line.
--- Above 0: The pair is in a macro uptrend.
--- Below 0: The pair is in a macro downtrend.
2. The Dashboard: The "Health Check" (Micro Data)
The table in the top right gives you the immediate statistics for right now.
- A. The Z-Score (The Rubber Band)
This measures how "stretched" price is compared to its normal behavior.
- White (< 2.0): Normal trading activity.
- Orange (> 2.0): The price is stretching. Warning sign.
- Red (> 3.0): Critical Stretch. The rubber band is pulled to its limit. Statistically, a pullback or pause is highly likely.
B. The Star (★)
The script automatically calculates the average behavior of your group. If one asset is behaving completely differently from the rest, it marks it with a Star (★).
- Example: EURUSD, GBPUSD, and NZDUSD are flat, but AUDUSD is rallying hard. AUDUSD gets the ★. This is where the unique opportunity lies.
🎯 Best Uses: 4H & Daily Timeframes
This indicator is tuned for "Macro" analysis. It works best on the "4-Hour" and "Daily" charts to filter out intraday noise and capture swing trading moves.
- Strategy 1: The "Rubber Band" Snap (Mean Reversion)
- Setup: Look for a Z-Score in the RED (> 3.0) on the Daily timeframe.
- Action: This indicates an unsustainable move. Look for reversals or exhaustion patterns to trade against the trend back toward the mean.
- Strategy 2: The "Lone Wolf" (Trend Following)
- Setup: Look for the asset with the Star (★).
- Action: If the whole basket is flat (Balanced), but the Star asset is breaking out, that creates a high-quality trend trade because that specific currency has its own catalyst (News/Earnings).
- Strategy 3: Systemic Flows (Basket Trading)
- Setup: The dashboard footer says "⚠️ SYSTEMIC MOVE."
- Action: This means everything is moving together (e.g., a massive USD crash). Don't look for unique setups; just join the trend on the strongest pair.
Dashboard Footer Key
The bottom of the table summarizes the current state of the market for you:
- Balanced / Rangebound: The market is quiet. Good for range trading.
- Focus: : Trade this specific pair. It is moving independently.
- Systemic Move: The whole basket is moving violently. Trade the momentum.
p.s. Suggestion - apply and use on the chart rather than an oscillator.
Key Support and ResistanceKEY SUPPORT AND RESISTANCE - USER GUIDE
========================================
OVERVIEW
This indicator automatically identifies and displays key support and resistance levels based on swing highs and swing lows. It uses pivot point detection to mark significant price levels where the market has previously shown reactions, helping traders identify potential entry/exit points and key decision zones.
KEY FEATURES
• Automatic Level Detection: Identifies swing highs (resistance) and swing lows (support) using pivot point analysis
• Dynamic Line Management: Displays only recent levels within a specified lookback period to keep charts clean
• Auto-Extending Lines: Projects support/resistance levels forward to anticipate future price interactions
• Color-Coded Levels: Red lines for resistance, green lines for support for easy visual identification
========================================
PARAMETERS
========================================
Left Bars (Default: 10)
• Minimum: 5 bars
• Number of bars to the left of the pivot point
• Higher values = more significant levels but fewer signals
• Lower values = more sensitive detection but may include minor swings
Right Bars (Default: 10)
• Minimum: 5 bars
• Number of bars to the right of the pivot point
• Must be confirmed by price action before the level is drawn
• Balances between confirmation delay and signal accuracy
Show Last N Bars (Default: 200)
• Minimum: 10 bars
• Only displays support/resistance levels detected within the most recent N bars
• Keeps your chart clean by removing outdated levels
• Adjust based on your trading timeframe and style
Line Extension Length (Default: 48)
• Minimum: 1 bar
• How many bars forward the support/resistance lines extend
• Helps visualize potential future price interactions
• Longer extensions useful for swing trading, shorter for day trading
========================================
HOW TO USE
========================================
FOR SWING TRADERS
1. Use default settings (10/10) or increase to 15/15 for more significant levels
2. Set "Show Last N Bars" to 300-500 to capture longer-term levels
3. Look for price reactions when approaching these levels
4. Combine with volume analysis for confirmation
FOR DAY TRADERS
1. Consider reducing Left/Right Bars to 7-8 for more frequent signals
2. Set "Show Last N Bars" to 100-150 to focus on recent action
3. Reduce "Line Extension Length" to 20-30 bars
4. Watch for intraday bounces or breakouts at these levels
TRADING STRATEGIES
Bounce Trading (Mean Reversion)
• Enter long when price approaches green support lines
• Enter short when price approaches red resistance lines
• Use stop loss just beyond the support/resistance level
• Best in ranging or consolidating markets
Breakout Trading (Trend Following)
• Wait for price to break through resistance (bullish) or support (bearish)
• Confirm with increased volume
• Previous resistance becomes new support (and vice versa)
• Best in trending markets
Multi-Timeframe Analysis
• Check higher timeframe levels for major support/resistance zones
• Use lower timeframe levels for precise entry/exit timing
• Confluence of multiple timeframe levels creates strong zones
========================================
IMPORTANT NOTES
========================================
Line Confirmation Delay
• Lines appear with a delay equal to "Right Bars" parameter
• This delay ensures the pivot point is confirmed
• Real-time level detection requires price action confirmation
Chart Clarity
• Maximum 500 lines can be displayed (TradingView limitation)
• Adjust "Show Last N Bars" if chart becomes too cluttered
• Old lines automatically delete when outside the lookback period
False Signals
• Not all support/resistance levels will hold
• Use additional confirmation (volume, candlestick patterns, other indicators)
• Markets can break through levels, especially during high-impact news
BEST PRACTICES
1. Combine with Other Analysis: Use alongside trend indicators, volume, and price action patterns
2. Context Matters: Consider overall market trend and structure
3. Risk Management: Always use stop losses; don't rely solely on S/R levels
4. Market Conditions: More effective in liquid, actively traded markets
5. Backtesting: Test settings on your specific instrument and timeframe before live trading
TROUBLESHOOTING
Too Many Lines?
• Increase "Left Bars" and "Right Bars" values
• Decrease "Show Last N Bars" value
Too Few Lines?
• Decrease "Left Bars" and "Right Bars" values
• Increase "Show Last N Bars" value
Lines Not Appearing?
• Ensure sufficient price data is loaded on your chart
• Check that "Right Bars" have passed since the last swing point
• Verify indicator is properly loaded (refresh if needed)
TECHNICAL DETAILS
• Uses ta.pivothigh() and ta.pivotlow() functions for level detection
• Implements array-based line management for efficient rendering
• Automatic cleanup of outdated lines to maintain performance
• Overlay indicator - displays directly on price chart
Disclaimer: This indicator is for educational and informational purposes only. It does not constitute financial advice. Always conduct your own research and risk assessment before making trading decisions.
========================================
中文使用指南
========================================
概述
本指標自動識別並顯示基於波段高點和低點的關鍵支撐阻力位。使用樞軸點檢測標記市場先前反應的重要價格水平,幫助交易者識別潛在的進出場點和關鍵決策區域。
主要功能
• 自動水平檢測:使用樞軸點分析識別波段高點(阻力)和波段低點(支撐)
• 動態線條管理:僅顯示指定回看期內的近期水平,保持圖表清晰
• 自動延伸線條:將支撐阻力水平向前投影,預測未來價格互動
• 顏色編碼:紅線表示阻力,綠線表示支撐,便於視覺識別
========================================
參數說明
========================================
左側K棒數(預設:10)
• 最小值:5根K棒
• 樞軸點左側的K棒數量
• 數值越高 = 水平越重要但訊號越少
• 數值越低 = 檢測更敏感但可能包含次要波動
右側K棒數(預設:10)
• 最小值:5根K棒
• 樞軸點右側的K棒數量
• 必須經過價格行為確認後才繪製水平
• 在確認延遲和訊號準確性之間取得平衡
顯示最近N根K棒內的點(預設:200)
• 最小值:10根K棒
• 僅顯示最近N根K棒內檢測到的支撐阻力水平
• 透過移除過時水平保持圖表清晰
• 根據您的交易時間框架和風格調整
線條延伸長度(預設:48)
• 最小值:1根K棒
• 支撐阻力線向前延伸的K棒數
• 幫助視覺化潛在的未來價格互動
• 較長延伸適合波段交易,較短適合當沖交易
========================================
使用方法
========================================
波段交易者
1. 使用預設設定(10/10)或增加至15/15以獲得更重要的水平
2. 將「顯示最近N根K棒」設為300-500以捕捉長期水平
3. 觀察價格接近這些水平時的反應
4. 結合成交量分析進行確認
當沖交易者
1. 考慮將左右側K棒減少至7-8以獲得更頻繁的訊號
2. 將「顯示最近N根K棒」設為100-150以專注於近期行情
3. 將「線條延伸長度」減少至20-30根K棒
4. 觀察日內在這些水平的反彈或突破
交易策略
反彈交易(均值回歸)
• 當價格接近綠色支撐線時做多
• 當價格接近紅色阻力線時做空
• 在支撐阻力水平之外設置止損
• 在區間或盤整市場中效果最佳
突破交易(趨勢跟隨)
• 等待價格突破阻力(看漲)或支撐(看跌)
• 以增加的成交量確認
• 先前的阻力成為新的支撐(反之亦然)
• 在趨勢市場中效果最佳
多時間框架分析
• 檢查更高時間框架的主要支撐阻力區域
• 使用較低時間框架進行精確的進出場時機
• 多個時間框架水平的匯合創造強大區域
========================================
重要注意事項
========================================
線條確認延遲
• 線條出現時會有等於「右側K棒數」參數的延遲
• 此延遲確保樞軸點被確認
• 實時水平檢測需要價格行為確認
圖表清晰度
• 最多可顯示500條線(TradingView限制)
• 如果圖表變得太雜亂,請調整「顯示最近N根K棒」
• 超出回看期的舊線會自動刪除
假訊號
• 並非所有支撐阻力水平都會守住
• 使用額外確認(成交量、K棒型態、其他指標)
• 市場可能突破水平,特別是在重大新聞期間
最佳實踐
1. 結合其他分析:與趨勢指標、成交量和價格行為型態一起使用
2. 背景很重要:考慮整體市場趨勢和結構
3. 風險管理:始終使用止損;不要僅依賴支撐阻力水平
4. 市場條件:在流動性高、活躍交易的市場中更有效
5. 回測:在實盤交易前,在您的特定商品和時間框架上測試設定
故障排除
線條太多?
• 增加「左側K棒數」和「右側K棒數」數值
• 減少「顯示最近N根K棒」數值
線條太少?
• 減少「左側K棒數」和「右側K棒數」數值
• 增加「顯示最近N根K棒」數值
線條未出現?
• 確保圖表上載入了足夠的價格數據
• 檢查自上次波動點以來是否已過「右側K棒數」
• 驗證指標是否正確載入(如需要請刷新)
技術細節
• 使用 ta.pivothigh() 和 ta.pivotlow() 函數進行水平檢測
• 實施基於陣列的線條管理以實現高效渲染
• 自動清理過時線條以保持性能
• 疊加指標 - 直接顯示在價格圖表上
免責聲明:本指標僅供教育和資訊目的。不構成財務建議。在做出交易決策前,請務必進行自己的研究和風險評估。
RoseTree BTC Macro LiquidityThis indicator identies good entry and exit points for Bitcoin by comparing its market cap to the total global M2 money supply, while also factoring in macroeconomic trends.
Why It's Unique
- Combines macro liquidity (M2) with BTC valuation.
- Not price-based — more about where BTC stands in the bigger economic picture.
- Useful for long-term, macro-aware investors looking for timing signals aligned with monetary expansion.
✅ Buy Signal (Green Triangle Below Bar)
M2 is expanding (liquidity increasing), AND
Bitcoin is undervalued compared to its historical relationship to M2
→ Suggests potential upside, triggers a green triangle below the bar.
❌ Sell Signal (Red Triangle Above Bar)
Bitcoin is significantly above its historical average share of M2
→ Suggests overvaluation or a short-term top, triggers a red triangle above the bar.
What is Global M2 Money Supply? (GLM2)
M2 is a measure of money supply, including cash, checking deposits, and easily convertible near money.
This indicator manually aggregates M2 values from numerous countries and converts them into USD equivalents using exchange rates.
The countries include the US, EU, UK, China, India, Japan, Brazil, and many others — totaling over 20.
This tells you how large Bitcoin is relative to the global money supply, giving a sense of its macroeconomic footprint or potential room to grow.






















