Golden Swing Strategy - Signal/Entry/SL/Target🔍 Golden Swing Strategy – Visual Indicator
This indicator combines momentum, trend direction, and volatility filters into a unified signal framework designed for swing trading. It generates buy/sell signals only when multiple conditions align, providing high-confluence trade setups with dynamic risk management.
________________________________________
🚀 Strategy Logic:
This tool uses a confluence of technical indicators to validate trade entries:
• RSI (20): Measures market momentum. Long signals require RSI > 50; short signals require RSI < 50.
• Stochastic (55,34,21): Identifies overbought/oversold turning points for timing.
• Bollinger Band Midline (20,2): Provides a volatility-based context filter.
• Supertrend (10,2): Determines trend direction and serves as dynamic support/resistance.
• ATR (5): Powers risk management features including Stop Loss (SL), Target, and Entry Band calculations.
________________________________________
✅ Signal Conditions:
• Buy Signal: RSI > 50 + Stoch %K crosses above %D + Price pulls back below Supertrend + Supertrend below BB midline
• Sell Signal: RSI < 50 + Stoch %K crosses below %D + Price pulls back above Supertrend + Supertrend above BB midline
________________________________________
🎯 Risk Management & Position Sizing:
• Entry Band: Supertrend ± 0.5 × ATR (shaded zone, optional)
• Stop Loss: Supertrend ± 1.1 × ATR (based on previous candle)
• Target: Supertrend ± 2.2 × ATR
• Position Size: Automatically calculated based on max loss input
________________________________________
⚙️ User Controls:
• All parameters (RSI length, ATR period, SL/TP multipliers, etc.) are fully adjustable
• Toggle each visual element independently:
o Buy/Sell signal markers
o Supertrend plot
o Entry band shading
o SL/TP levels
o Price labels
o Position size label
• Adjust how many recent bars show signals to keep charts clean
________________________________________
🧠 What Makes This Unique?
While RSI, Stochastics, Supertrend, and ATR are standard tools, this indicator does not simply mash them together. It applies them in a layered logic to:
• Validate trades only when momentum, volatility, and structure align
• Automate visual risk-reward mapping and position sizing
• Provide traders with interpretable, real-time confluence signals with clean visuals
The system is modular, transparent, and optimized for clarity, making it ideal for swing traders who want to reduce noise and make decisions based on multiple confirmations.
Indicators and strategies
Commodity Trend Reactor [BigBeluga]
🔵 OVERVIEW
A dynamic trend-following oscillator built around the classic CCI, enhanced with intelligent price tracking and reversal signals.
Commodity Trend Reactor extends the traditional Commodity Channel Index (CCI) by integrating trend-trailing logic and reactive reversal markers. It visualizes trend direction using a trailing stop system and highlights potential exhaustion zones when CCI exceeds extreme thresholds. This dual-level system makes it ideal for both trend confirmation and mean-reversion alerts.
🔵 CONCEPTS
Based on the CCI (Commodity Channel Index) oscillator, which measures deviation from the average price.
Trend bias is determined by whether CCI is above or below user-defined thresholds.
Trailing price bands are used to lock in trend direction visually on the main chart.
Extreme values beyond ±200 are treated as potential reversal zones.
🔵 FEATURES\
CCI-Based Trend Shifts:
Triggers a bullish bias when CCI crosses above the upper threshold, and bearish when it crosses below the lower threshold.
Adaptive Trailing Stops:
In bullish mode, a trailing stop tracks the lowest price; in bearish mode, it tracks the highest.
Top & Bottom Markers:
When CCI surpasses +200 or drops below -200, it plots colored squares both on the oscillator and on price, marking potential reversal zones.
Background Highlights:
Each time a trend shift occurs, the background is softly colored (lime for bullish, orange for bearish) to highlight the change.
🔵 HOW TO USE
Use the oscillator to monitor when CCI crosses above or below threshold values to detect trend activation.
Enter trades in the direction of the trailing band once the trend bias is confirmed.
Watch for +200 and -200 square markers as warnings of potential mean reversals.
Use trailing stop areas as dynamic support/resistance to manage stop loss and exit strategies.
The background color changes offer clean confirmation of trend transitions on chart.
🔵 CONCLUSION
Commodity Trend Reactor transforms the simple CCI into a complete trend-reactive framework. With real-time trailing logic and clear reversal alerts, it serves both momentum traders and contrarian scalpers alike. Whether you’re trading breakouts or anticipating mean reversions, this indicator provides clarity and structure to your decision-making.
Range Filter + HyperTrend (Zeiierman)█ Overview
Range Filter + HyperTrend (Zeiierman) is a dynamic trend analysis tool combining real-time volatility filtering with hyper-reactive trend slope adaptation. It blends advanced range-based smoothing with a second-tier candle trend filter, providing clean visual confirmation for directional bias and structural momentum.
Ideal for traders seeking clarity in noisy markets, this indicator highlights genuine directional shifts and sustained price pressure using fully customizable smoothing types and gradient trend visualization. The upper and lower bands form a dynamic trend channel, helping traders frame directional bias and volatility structure in real time.
█ How It Works
⚪ Adaptive Range Band Calculation
At its core, the system builds a dynamic envelope around price using:
High/Low Pre-Smoothing – Raw high/low data is smoothed using a selected MA (e.g. HMA, EMA, KAMA, etc.) to better reflect true structural pivots.
Volatility Scaling – A fixed 2.618 multiplier scales the pre-smoothed range, producing a responsive volatility curve.
Scaled Band Width – The width of the envelope is adjusted using a user-defined Band Multiplier, forming the final dynamic band range.
This adaptive envelope acts as the primary filter for trend movement, reducing noise and highlighting meaningful market intent.
⚪ Customizable Multi-Type Smoothing Engine
Users can select from a suite of advanced smoothing algorithms, allowing full control over reactivity and smoothness:
Traditional: SMA, EMA, RMA, HMA
Volatility-Adaptive: KAMA (Efficiency Ratio), VIDYA (CMO-based), FRAMA (Fractal Adjustment), Super Smoother (Anti-aliasing)
This flexibility tailors the indicator to various trading styles and assets.
⚪ Dual Trend Logic
The indicator employs two parallel systems for trend confirmation:
HyperTrend Core Filter
Detects directional movement by comparing price deviation from the smoothed average, creating an upper and lower trend band. The slope dynamically adapts using a sensitivity multiplier and slope length setting.
Candle Trend System
A second layer of confirmation using a smoothed version of candle structure movement, with adjustable length and color-based trend indication. Helps reinforce direction and reduce whipsaw during sideways movement.
█ How to Use
⚪ Trend Confirmation
Use the Trend Line together with Candle Color to confirm trend direction. When both the HyperTrend slope and Candle Trend align, it signals a stronger and more reliable directional move.
⚪ Trend Channel Retests
When price pulls back into the dynamic channel (formed by the upper and lower bands), look for candle trend alignment or rejection from the channel edge as a potential continuation setup. These retests can offer high-probability re-entry points during trending conditions.
█ Settings
Scaled Volatility Length – Controls how stable or reactive the base volatility band is. Longer values smooth more, shorter values react faster.
Smoothing Type & MA Lengths – Select how data is smoothed for range filtering. Includes HMA, KAMA, VIDYA, FRAMA, and more, with adjustable lookback length.
High/Low Smoother Length – Applies smoothing to high/low prices before volatility is calculated, helping reduce noise in structural range detection.
Band Multiplier – Widens or tightens the distance of the dynamic bands from the average, increasing or decreasing sensitivity.
Slope & Multiplicative Factor – Governs how quickly the HyperTrend slope adjusts to price movement. Controls the slope’s reactivity and acceleration.
Candle Trend Length – Sets the lookback for detecting candle-based trend transitions; helps validate directional momentum.
Candle/Trend Colors – Full customization of bullish/bearish candles and up/down band fills to match your preferred visual theme.
Gradient Fill Toggle – Enables or disables area shading between the trend line and its upper/lower bounds for visual clarity.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Levels Of Interest ✨------------------------------------------------------------------------------------
LEVELS OF INTEREST ✨ (LOI)
TRADING INDICATOR GUIDE
------------------------------------------------------------------------------------
Table of Contents:
1. Indicator Overview & Core Functionality
2. VWAP Foundation & Historical Context
3. Multi-Timeframe VWAP Analysis
4. Moving Average Integration System
5. Trend Direction Signal Detection
6. Visual Design & Display Features
7. Custom Level Integration
8. Repaint Protection Technology
9. Practical Trading Applications
10. Setup & Configuration Recommendations
------------------------------------------------------------------------------------
1. INDICATOR OVERVIEW & CORE FUNCTIONALITY
------------------------------------------------------------------------------------
The LOI indicator combines multiple VWAP calculations with moving averages across different timeframes. It's designed to show where institutional money is flowing and help identify key support and resistance levels that actually matter in today's markets.
Primary Functions:
- Multi-timeframe VWAP analysis (Daily, Weekly, Monthly, Yearly)
- Advanced moving average integration (EMA, SMA, HMA)
- Real-time trend direction detection
- Institutional flow analysis
- Dynamic support/resistance identification
Target Users: Day traders, swing traders, position traders, and institutional analysts seeking comprehensive market structure analysis.
------------------------------------------------------------------------------------
2. VWAP FOUNDATION & HISTORICAL CONTEXT
------------------------------------------------------------------------------------
Historical Development: VWAP started in the 1980s when big institutional traders needed a way to measure if they were getting good fills on their massive orders. Unlike regular price averages, VWAP weighs each price by the volume traded at that level. This makes it incredibly useful because it shows you where most of the real money changed hands.
Mathematical Foundation: The basic math is simple: you take each price, multiply it by the volume at that price, add them all up, then divide by total volume. What you get is the true "average" price that reflects actual trading activity, not just random price movements.
Formula: VWAP = Σ(Price × Volume) / Σ(Volume)
Where typical price = (High + Low + Close) / 3
Institutional Behavior Patterns:
- When price trades above VWAP, institutions often look to sell
- When it's below, they're usually buying
- Creates natural support and resistance that you can actually trade against
- Serves as benchmark for execution quality assessment
------------------------------------------------------------------------------------
3. MULTI-TIMEFRAME VWAP ANALYSIS
------------------------------------------------------------------------------------
Core Innovation: Here's where LOI gets interesting. Instead of just showing daily VWAP like most indicators, it displays four different timeframes simultaneously:
**Daily VWAP Implementation**:
- Resets every morning at market open
- Provides clearest picture of intraday institutional sentiment
- Primary tool for day trading strategies
- Most responsive to immediate market conditions
**Weekly VWAP System**:
- Resets each Monday (or first trading day)
- Smooths out daily noise and volatility
- Perfect for swing trades lasting several days to weeks
- Captures weekly institutional positioning
**Monthly VWAP Analysis**:
- Resets at beginning of each calendar month
- Captures bigger institutional rebalancing at month-end
- Fund managers often operate on monthly mandates
- Significant weight in intermediate-term analysis
**Yearly VWAP Perspective**:
- Resets annually for full-year institutional view
- Shows long-term institutional positioning
- Where pension funds and sovereign wealth funds operate
- Critical for major trend identification
Confluence Zone Theory: The magic happens when multiple VWAP levels cluster together. These confluence zones often become major turning points because different types of institutional money all see value at the same price.
------------------------------------------------------------------------------------
4. MOVING AVERAGE INTEGRATION SYSTEM
------------------------------------------------------------------------------------
Multi-Type Implementation: The indicator includes three types of moving averages, each with its own personality and application:
**Exponential Moving Averages (EMAs)**:
- React quickly to recent price changes
- Displayed as solid lines for easy identification
- Optimal performance in trending market conditions
- Higher sensitivity to current price action
**Simple Moving Averages (SMAs)**:
- Treat all historical data points equally
- Appear as dashed lines in visual display
- Slower response but more reliable in choppy conditions
- Traditional approach favored by institutional traders
**Hull Moving Averages (HMAs)**:
- Newest addition to the system (dotted line display)
- Created by Alan Hull in 2005
- Solves classic moving average dilemma: speed vs. accuracy
- Manages to be both responsive and smooth simultaneously
Technical Innovation: Alan Hull's solution addresses the fundamental problem where moving averages are either too slow (missing moves) or too fast (generating false signals). HMAs achieve optimal balance through weighted calculation methodology.
Period Configuration:
- 5-period: Short-term momentum assessment
- 50-period: Intermediate trend identification
- 200-period: Long-term directional confirmation
------------------------------------------------------------------------------------
5. TREND DIRECTION SIGNAL DETECTION
------------------------------------------------------------------------------------
Real-Time Momentum Analysis: One of LOI's best features is its real-time trend detection system. Next to each moving average, visual symbols provide immediate trend assessment:
Symbol System:
- ▲ Rising average (bullish momentum confirmation)
- ▼ Falling average (bearish momentum indication)
- ► Flat average (consolidation or indecision period)
Update Frequency: These signals update in real-time with each new price tick and function across all configured timeframes. Traders can quickly scan daily and weekly trends to assess alignment or conflicting signals.
Multi-Timeframe Trend Analysis:
- Simultaneous daily and weekly trend comparison
- Immediate identification of trend alignment
- Early warning system for potential reversals
- Momentum confirmation for entry decisions
------------------------------------------------------------------------------------
6. VISUAL DESIGN & DISPLAY FEATURES
------------------------------------------------------------------------------------
Color Psychology Framework: The color scheme isn't random but based on psychological associations and trading conventions:
- **Blue Tones**: Institutional neutrality (VWAP levels)
- **Green Spectrum**: Growth and stability (weekly timeframes)
- **Purple Range**: Longer-term sophistication (monthly analysis)
- **Orange Hues**: Importance and attention (yearly perspective)
- **Red Tones**: User-defined significance (custom levels)
Adaptive Display Technology: The indicator automatically adjusts decimal places based on the instrument you're trading. High-priced stocks show 2 decimals, while penny stocks might show 8. This keeps the display incredibly clean regardless of what you're analyzing - no cluttered charts or overwhelming information overload.
Smart Labeling System: Advanced positioning algorithm automatically spaces all elements to prevent overlap, even during extreme zoom levels or multiple timeframe analysis. Every level stays clearly readable without any visual chaos disrupting your analysis.
------------------------------------------------------------------------------------
7. CUSTOM LEVEL INTEGRATION
------------------------------------------------------------------------------------
User-Defined Level System: Beyond the calculated VWAP and moving average levels, traders can add custom horizontal lines at any price point for personalized analysis.
Strategic Applications:
- **Psychological Levels**: Round numbers, previous significant highs/lows
- **Technical Levels**: Fibonacci retracements, pivot points
- **Fundamental Targets**: Analyst price targets, earnings estimates
- **Risk Management**: Stop-loss and take-profit zones
Integration Features:
- Seamless incorporation with smart labeling system
- Custom color selection for visual organization
- Extension capabilities across all chart timeframes
- Maintains display clarity with existing indicators
------------------------------------------------------------------------------------
8. REPAINT PROTECTION TECHNOLOGY
------------------------------------------------------------------------------------
Critical Trading Feature: This addresses one of the most significant issues in live trading applications. Most multi-timeframe indicators "repaint," meaning they display different signals when viewing historical data versus real-time analysis.
Protection Benefits:
- Ensures every displayed signal could have been traded when it appeared
- Eliminates discrepancies between historical and live analysis
- Provides realistic performance expectations
- Maintains signal integrity across chart refreshes
Configuration Options:
- **Protection Enabled**: Default setting for live trading
- **Protection Disabled**: Available for backtesting analysis
- User-selectable toggle based on analysis requirements
- Applies to all multi-timeframe calculations
Implementation Note: With protection enabled, signals may appear one bar later than without protection, but this ensures all signals represent actionable opportunities that could have been executed in real-time market conditions.
------------------------------------------------------------------------------------
9. PRACTICAL TRADING APPLICATIONS
------------------------------------------------------------------------------------
**Day Trading Strategy**:
Focus on daily VWAP with 5-period moving averages. Look for bounces off VWAP or breaks through it with volume. Short-term momentum signals provide entry and exit timing.
**Swing Trading Approach**:
Weekly VWAP becomes your primary anchor point, with 50-period averages showing intermediate trends. Position sizing based on weekly VWAP distance.
**Position Trading Method**:
Monthly and yearly VWAP provide broad market context, while 200-period averages confirm long-term directional bias. Suitable for multi-week to multi-month holdings.
**Multi-Timeframe Confluence Strategy**:
The highest-probability setups occur when daily, weekly, and monthly VWAPs cluster together, especially when multiple moving averages confirm the same direction. These represent institutional consensus zones.
Risk Management Integration:
- VWAP levels serve as dynamic stop-loss references
- Multiple timeframe confirmation reduces false signals
- Institutional flow analysis improves position sizing decisions
- Trend direction signals optimize entry and exit timing
------------------------------------------------------------------------------------
10. SETUP & CONFIGURATION RECOMMENDATIONS
------------------------------------------------------------------------------------
Initial Configuration: Start with default settings and adjust based on individual trading style and market focus. Short-term traders should emphasize daily and weekly timeframes, while longer-term investors benefit from monthly and yearly level analysis.
Transparency Optimization: The transparency settings allow clear price action visibility while maintaining level reference points. Most traders find 70-80% transparency optimal - it provides a clean, unobstructed view of price movement while maintaining all critical reference levels needed for analysis.
Integration Strategy: Remember that no indicator functions effectively in isolation. LOI provides excellent context for institutional flow and trend direction analysis, but should be combined with complementary analysis tools for optimal results.
Performance Considerations:
- Multiple timeframe calculations may impact chart loading speed
- Adjust displayed timeframes based on trading frequency
- Customize color schemes for different market sessions
- Regular review and adjustment of custom levels
------------------------------------------------------------------------------------
FINAL ANALYSIS
------------------------------------------------------------------------------------
Competitive Advantage: What makes LOI different is its focus on where real money actually trades. By combining volume-weighted calculations with multiple timeframes and trend detection, it cuts through market noise to show you what institutions are really doing.
Key Success Factor: Understanding that different timeframes serve different purposes is essential. Use them together to build a complete picture of market structure, then execute trades accordingly.
The integration of institutional flow analysis with technical trend detection creates a comprehensive trading tool that addresses both short-term tactical decisions and longer-term strategic positioning.
------------------------------------------------------------------------------------
END OF DOCUMENTATION
------------------------------------------------------------------------------------
Trend Scanner ProTrend Scanner Pro, Robust Trend Direction and Strength Estimator
Trend Scanner Pro is designed to evaluate the current market trend with maximum robustness, providing both direction and strength based on statistically reliable data.
This indicator builds upon the core logic of a previous script I developed, called Best SMA Finder. While the original script focused on identifying the most profitable SMA length based on backtested trade performance, Trend Scanner Pro takes that foundation further to serve a different purpose: analyzing and quantifying the actual trend state in real time.
It begins by testing hundreds of SMA lengths, from 10 to 1000 periods. Each one is scored using a custom robustness formula that combines profit factor, number of trades, and win rate. Only SMAs with a sufficient number of trades are retained, ensuring statistical validity and avoiding curve fitting.
The SMA with the highest robustness score is selected as the dynamic reference point. The script then calculates how far the price deviates from it using rolling standard deviation, assigning a trend strength score from -5 (strong bearish) to +5 (strong bullish), with 0 as neutral.
Two detection modes are available:
Slope mode, based on SMA slope reversals
Bias mode, based on directional shifts relative to deviation zones
Optional features:
Deviation bands for visual structure
Candle coloring to reflect trend strength
Compact table showing real-time trend status
This tool is intended for traders who want an adaptive, objective, and statistically grounded assessment of market trend conditions.
Laplace Momentum Percentile ║ BullVision 🔬 Overview
Laplace Momentum Percentile ║ BullVision is a custom-built trend analysis tool that applies Laplace-inspired smoothing to price action and maps the result to a historical percentile scale. This provides a contextual view of trend intensity, with optional signal refinement using a Kalman filter.
This indicator is designed for traders and analysts seeking a normalized, scale-independent perspective on market behavior. It does not attempt to predict price but instead helps interpret the relative strength or weakness of recent movements.
⚙️ Key Concepts
📉 Laplace-Based Smoothing
The core signal is built using a Laplace-style weighted average, applying an exponential decay to price values over a specified length. This emphasizes recent movements while still accounting for historical context.
🎯 Percentile Mapping
Rather than displaying the raw output, the filtered signal is converted into a percentile rank based on its position within a historical lookback window. This helps normalize interpretation across different assets and timeframes.
🧠 Optional Kalman Filter
For users seeking additional smoothing, a Kalman filter is included. This statistical method updates signal estimates dynamically, helping reduce short-term fluctuations without introducing significant lag.
🔧 User Settings
🔁 Transform Parameters
Transform Parameter (s): Controls the decay rate for Laplace weighting.
Calculation Length: Sets how many candles are used for smoothing.
📊 Percentile Settings
Lookback Period: Defines how far back to calculate the historical percentile ranking.
🧠 Kalman Filter Controls
Enable Kalman Filter: Optional toggle.
Process Noise / Measurement Noise: Adjust the filter’s responsiveness and tolerance to volatility.
🎨 Visual Settings
Show Raw Signal: Optionally display the pre-smoothed percentile value.
Thresholds: Customize upper and lower trend zone boundaries.
📈 Visual Output
Main Line: Smoothed percentile rank, color-coded based on strength.
Raw Line (Optional): The unsmoothed percentile value for comparison.
Trend Zones: Background shading highlights strong upward or downward regimes.
Live Label: Displays current percentile value and trend classification.
🧩 Trend Classification Logic
The indicator segments percentile values into five zones:
Above 80: Strong upward trend
50–80: Mild upward trend
20–50: Neutral zone
0–20: Mild downward trend
Below 0: Strong downward trend
🔍 Use Cases
This tool is intended as a visual and contextual aid for identifying trend regimes, assessing historical momentum strength, or supporting broader confluence-based analysis. It can be used in combination with other tools or frameworks at the discretion of the trader.
⚠️ Important Notes
This script does not provide buy or sell signals.
It is intended for educational and analytical purposes only.
It should be used as part of a broader decision-making process.
Past signal behavior should not be interpreted as indicative of future results.
Swing Fibo Zone PRO + AlgoAlpha Swift Liquidity + RSI DivergenceHeadline:
“Swing Fibo Zone PRO + Swift Liquidity: Advanced Price Action & Liquidity Detection”
Description:
Unlock next-level price action and liquidity insight with Swing Fibo Zone PRO + AlgoAlpha Swift Liquidity + RSI Divergence!
Perfect for day traders, scalpers, and swing traders who want to track institutional sweeps, breakout traps, and high-probability reversal zones.
Key Features:
Dynamic Fibonacci Zones:
Auto-detect the latest swing high/low and plot real-time Fibo zones (100, 75, 50, 25, 0) with price labels, customizable color/width/size.
Swift Liquidity (AlgoAlpha):
Accurately detects and draws high-volume liquidity sweep zones using higher timeframe price swings (with optional multiplier), adjustable line color, width, and style.
Get instant “Bull Sweep” & “Bear Sweep” alerts on true mitigation!
RSI Divergence Engine:
Professional divergence signals (bull/bear), with full control of label size and color, for high-confidence setups in reaction zones.
Highlight Zone Box:
Instantly spot the top and bottom action zones with colored highlights.
Clean UI – no label overlap, always easy-to-read.
Modular & Customizable:
Separate controls for Fibo lines, liquidity lines, and all label styles
Full toggle: show/hide each feature as you like
Completely array-safe, optimized for all timeframes
How to Use:
Apply to your chart – works best on intraday and swing timeframes.
Adjust “Swing Strength” and “Interval” for your preferred swing/trend style.
Set the TimeFrame Multiplier in the Swift Liquidity section (e.g. 4–8 for institutional liquidity).
Customize all visual styles – line color, width, style, and label sizes for perfect clarity.
Look for confluence:
Major liquidity sweeps aligning with key Fibo zones
RSI divergence signals at or near these zones
Confirm with volume and candle structure
Best Use Cases:
Spotting liquidity grabs / stop hunts
High-probability reversal and continuation setups
Combining institutional orderflow with classic price action
Scalping, swing trading, and intraday strategy development
Tags:
#liquidity #fibonacci #swingtrading #priceaction #scalping #orderflow #divergence #liquiditysweep #tradingstrategy #algoalpha
Pro Tip:
For the most robust results, combine liquidity sweep lines with Fibo zones and only trade setups with RSI divergence confirmation.
Swing High Low Detector by RV5📄 Description
The Swing High Low Detector is a visual indicator that automatically detects and displays swing highs and swing lows on the chart. Swings are determined based on configurable strength parameters (number of bars before and after a high/low), allowing users to fine-tune the sensitivity of the swing points.
🔹 Current swing levels are shown as solid (or user-defined) lines that dynamically extend until broken.
🔹 Past swing levels are preserved as dashed/dotted lines once broken, allowing traders to see previous support/resistance zones.
🔹 Customizable line colors, styles, and thickness for both current and past levels.
This indicator is useful for:
Identifying key market structure turning points
Building breakout strategies
Spotting trend reversals and swing zones
⚙️ How to Use
1. Add the indicator to any chart on any timeframe.
2. Adjust the Swing Strength inputs to change how sensitive the detector is:
A higher value will filter out smaller moves.
A lower value will capture more frequent swing points.
3. Customize the line styles for visual preference.
Choose different colors, line styles (solid/dashed/dotted), and thickness for:
Current Swing Highs (SH)
Past Swing Highs
Current Swing Lows (SL)
Past Swing Lows
4. Observe:
As new swing highs/lows are detected, the indicator draws a new current level.
Once price breaks that level, the line is archived as a past level and a new current swing is drawn.
✅ Features
Fully customizable styling for all lines
Real-time updates and automatic level tracking
Supports all chart types and instruments
👨💻 Credits
Script logic and implementation by RV5. This script was developed as a tool to improve price action visualization and trading structure clarity. Not affiliated with any financial institution. Use responsibly.
OBOB_With_Time4 – Smart Order Blocks + Time-Based Labels + Auto-Cleanup + Liquidity Zones
This indicator combines:
Fractal-based Order Block detection
Dynamic and Static Liquidity Zones
Time-based label calculations (Sum, Difference, Minutes)
Auto-removal of broken Order Blocks (custom feature)
🔹 Key features:
Detects bullish and bearish OBs using 3-bar or 5-bar fractals
OBs are automatically deleted once broken, helping keep charts clean and focused – a major improvement over the original implementation
Optional FVG validation for higher OB quality
Includes time-based label logic for bar/session timing analysis
Customizable line styles, widths, label positions, and time offsets
Displays swing highs/lows and fractal points
🛠 Fully customizable:
Select which fractal type to use
Enable/disable time logic elements
Adjust OB/FVG filtering
Fine-tune liquidity sensitivity
📌 Credits:
Liquidity detection uses open-source logic from 's LiquidityFinderLibrary.
This version significantly extends the original logic by adding automated cleanup of broken order blocks, new visualization options, and integrated time analytics.
Developed and expanded by @Nephew_Sam_
🔓 This script is open-source and published for educational and strategic use on TradingView.
eriktrades1995: supply demandThe Institutional Supply and Demand Zones indicator aims to identify and mark key price reversal areas on charts. These zones are considered places where institutions (large funds) concentrate their buying (forming demand zones) or selling (forming supply zones).
The core logic involves processing each candlestick sequentially. Before identifying new zones, the indicator checks if existing ones are still valid: demand zones become invalid if the current low breaks below their bottom, and supply zones become invalid if the current high breaks above their top. The most crucial part is identifying new zones, primarily based on the combination of the "previous" and "current" candlesticks. A demand zone (potential support) typically forms when a strong bullish candlestick (e.g., engulfing or significant reversal) appears after a bearish or doji candlestick, indicating strong buying interest. Conversely, a supply zone (potential resistance) usually forms when a strong bearish candlestick appears after a bullish or doji candlestick, signaling strong selling interest. The boundaries of these zones are typically derived from the open, high, or low prices of the candlesticks that form the pattern. Finally, the indicator draws the most recent and still valid supply zones (often filled in red as resistance) and demand zones (often filled in green as support) on the chart, up to a predefined maximum number. In essence, this indicator analyzes price action, particularly comparing candlestick body sizes and engulfing relationships, to pinpoint price levels where significant institutional buying or selling power might be concentrated. These zones can then act as support or resistance when prices re-approach them in the future.
聪明钱SMC_Dr_Lazarus小红书油管飞机微信同号:
Dr_Lazarus
策略学习介绍视频可以私信留言,目前小红书上有发也可以自行查找。
Small red book oil pipe airplane WeChat the same number: Dr_Lazarus
Strategy learning introduction video can be private message message, the current small red book on the hair can also be found on their own.
概念
BOS(突破结构):趋势加速信号(蓝/黄色实线)
CHoCH(结构转变):趋势反转信号(黄/紫色虚线)
FVG(恐惧价值缺口):三根K线形成的价格真空区(红/绿方框)
黄色虚线CHoCH + 绿色FVG = 多头反转
蓝色BOS线 + 0.786斐波位 = 趋势延续
1 定位结构
等待BOS/CHoCH信号(指标画结构线)
口诀:"结构破位才行动"
2 锁定FVG
在结构附近寻找红/绿供需区(指标自动标记)
规则:价格首次回补FVG时入场
3 斐波那契确认
观察价格在0.618/0.786的反应(指标彩色水平线)
经典配合:FVG+0.705斐波位=高概率反转区
斐波那契关键位
机构最爱在0.618/0.786回撤位布局(指标中的彩色水平线)
统计规律:80%反转发生在0.705黄金位(指标紫色线)
4 止盈止损管理
止盈
止损设在结构外或FVG另一端
止损就是氧气:单笔亏损永远不超过本金2%
Concept
BOS (Breakout Structure): Trend acceleration signal (blue/yellow solid line)
CHoCH (Structural Transformation): Trend reversal signal (yellow/purple dotted line)
FVG (Fear Value Gap): Price vacuum zone formed by three candlesticks (red/green box)
Yellow dotted line CHoCH + green FVG = bullish reversal
Blue BOS line + 0.786 Fibonacci level = trend continuation
1 Positioning structure
Wait for BOS/CHoCH signal (indicator draws structure line)
Mantra: "Structure breaks before taking action"
2 Locking FVG
Look for red/green supply and demand zone near the structure (indicator automatically marks)
Rule: Enter the market when the price first covers FVG
3 Fibonacci confirmation
Observe the price reaction at 0.618/0.786 (indicator colored horizontal line)
Classic combination: FVG+0.705 Fibonacci level = high probability reversal zone
Fibonacci key level
Institutions prefer to layout at 0.618/0.786 retracement level (colored horizontal line in the indicator)
Statistical law: 80% of reversals occur at 0.705 golden level (indicator purple line)
4 Stop profit and stop loss management
Stop profit
Stop loss is set outside the structure or at the other end of FVG
Stop loss is oxygen: a single loss will never exceed 2% of the principal
改良版 TOP/END 検知(シンプル動作確認版)//@version=6
indicator("改良版 TOP/END 検知(シンプル動作確認版)", overlay = true, max_labels_count = 100)
// ──────────────────────────────────────────
// 1. 基本パラメータ(シンプル版)
// ──────────────────────────────────────────
// 基本設定
adxLen = input.int(14, "ADX期間", group="基本設定")
rsiLen = input.int(14, "RSI期間", group="基本設定")
// 天井検知設定
topAdxThreshold = input.int(25, "天井ADX閾値", group="天井検知")
topRsiThreshold = input.int(70, "天井RSI閾値", group="天井検知")
// 強い下落検知設定(精度重視版)
enableStrongDecline = input.bool(true, "強い下落検知", group="強い下落検知")
strongDeclineAdx = input.int(22, "強下落ADX閾値", minval=15, maxval=35, group="強い下落検知")
strongDeclineRsi = input.int(52, "強下落RSI閾値", minval=40, maxval=65, group="強い下落検知")
strongDeclineVolume = input.float(1.3, "強下落出来高倍率", minval=0.8, maxval=2.5, group="強い下落検知")
earlyDetection = input.bool(true, "初動検知モード", tooltip="ONで早期検知、OFFで確実性重視", group="強い下落検知")
minDeclineForSignal = input.float(1.0, "最小価格下落(%)", minval=0.5, maxval=3.0, group="強い下落検知")
// 底検知設定(精度重視版)
bottomRsiThreshold = input.int(32, "底RSI閾値", minval=20, maxval=45, group="底検知")
minDeclineRate = input.float(2.8, "最小下落率(%)", minval=1.5, maxval=8.0, group="底検知")
bounceThreshold = input.float(1.2, "反発検知(%)", minval=0.5, maxval=2.5, group="底検知")
rsiRecoveryStrength = input.int(3, "RSI回復強度", minval=1, maxval=5, group="底検知")
requireVolumeConfirmation = input.bool(true, "出来高確認必須", group="底検知")
// 精度向上設定(新機能)
enableQualityFilter = input.bool(true, "品質フィルタ", tooltip="低品質シグナルを除去", group="精度向上")
minSignalGap = input.int(8, "シグナル間隔(最小足数)", minval=3, maxval=20, group="精度向上")
trendFilter = input.bool(true, "トレンドフィルタ", tooltip="トレンドに逆らうシグナルを除去", group="精度向上")
strengthThreshold = input.float(1.5, "シグナル強度閾値", minval=1.0, maxval=3.0, group="精度向上")
// 調整用設定(精度重視)
sensitivity = input.string("標準", "全体感度", options= , group="調整設定")
confirmationMode = input.bool(true, "確認モード", tooltip="ONで誤検知減少、OFFで早期検知", group="調整設定")
strictMode = input.bool(false, "厳格モード", tooltip="最高精度、シグナル数減少", group="調整設定")
// 表示設定
showTopLabels = input.bool(true, "天井ラベル表示", group="表示設定")
showBottomLabels = input.bool(true, "底ラベル表示", group="表示設定")
showStrongDecline = input.bool(true, "強い下落表示", group="表示設定")
// デバッグ設定
debugMode = input.bool(false, "デバッグモード", group="デバッグ")
// ──────────────────────────────────────────
// 2. インジケータ計算(精度向上版)
// ──────────────────────────────────────────
// ★変数の初期化(エラー回避)
enableOptionStrategy = true
hedgeRatio = 0.3
expectedDeclineTarget = 5.0
optionHoldingPeriod = 14
showOptionSignals = true
// ★ノイズ除去関連変数の初期化(バランス調整)
noiseReductionLevel = "標準"
consecutiveDeclineRequired = 1
minTrendStrength = 1.5
requireSignificantMove = false
// 基本指標
= ta.dmi(14, adxLen)
rsi = ta.rsi(close, rsiLen)
vol_avg = ta.sma(volume, 20)
// 移動平均(精度向上用)
sma20 = ta.sma(close, 20)
sma50 = ta.sma(close, 50)
ema12 = ta.ema(close, 12)
ema26 = ta.ema(close, 26)
// 高値追跡(改良版)
var float lastHigh = na
var int lastHighBar = na
if high > nz(lastHigh, high)
lastHigh := high
lastHighBar := bar_index
// 市場環境判定(新機能)
trendUp = close > sma20 and sma20 > sma50 and ema12 > ema26
trendDown = close < sma20 and sma20 < sma50 and ema12 < ema26
sideways = not trendUp and not trendDown
// ボラティリティ測定
atr14 = ta.atr(14)
atr20 = ta.atr(20)
highVolatility = atr14 > atr20 * 1.3
lowVolatility = atr14 < atr20 * 0.7
// 価格位置判定
pricePosition = (close - ta.lowest(low, 20)) / (ta.highest(high, 20) - ta.lowest(low, 20))
nearHigh = pricePosition > 0.8
nearLow = pricePosition < 0.2
// ──────────────────────────────────────────
// 3. 精密な天井検知
// ──────────────────────────────────────────
// 感度調整(厳格モード対応)
sensitivityMultiplier = strictMode ? 1.3 : sensitivity == "高" ? 0.8 : sensitivity == "標準" ? 1.0 : 1.2
// 天井条件(精度重視)
basicTopCondition = adx >= topAdxThreshold * sensitivityMultiplier and dip >= topAdxThreshold * sensitivityMultiplier and rsi >= topRsiThreshold
// 価格確認(厳格化)
priceHigh = high >= ta.highest(high, 8) * 0.995
hasDeclined = close < close and close < close
significantDecline = (high - close) / high > 0.015
// 品質フィルタ(新機能)
qualityFilter = true
if enableQualityFilter
// RSIダイバージェンス確認
rsiDivergence = rsi < rsi and high >= high
// 出来高確認
volumeOk = na(volume) ? true : volume > vol_avg * 0.8
// トレンド確認
trendOk = not trendFilter or (trendUp or sideways)
qualityFilter := (rsiDivergence or significantDecline) and volumeOk and trendOk
// 最終天井シグナル(精度重視)
topCondition = basicTopCondition and priceHigh and hasDeclined and qualityFilter
topSignal = topCondition
// ──────────────────────────────────────────
// 4. 強い下落検知(ノイズ除去強化版)
// ──────────────────────────────────────────
// ノイズ除去レベルに応じた調整
noiseMultiplier = noiseReductionLevel == "弱" ? 0.8 : noiseReductionLevel == "標準" ? 1.0 : noiseReductionLevel == "強" ? 1.3 : 1.6
// シグナル強度計算(改良版)
calculateSignalStrength() =>
strength = 0.0
// ADX強度(より厳格)
if adx >= strongDeclineAdx * sensitivityMultiplier * noiseMultiplier
strength += (adx / 40.0) * 1.5
// DI-優勢度(より重要視)
if dim > dip and dim >= strongDeclineAdx * sensitivityMultiplier * noiseMultiplier * 0.9
strength += ((dim - dip) / 30.0) * 2.0
// RSI位置(より厳格)
if rsi < strongDeclineRsi * noiseMultiplier
strength += ((strongDeclineRsi - rsi) / 30.0) * 1.5
// 出来高強度(重要度向上)
if not na(volume) and volume > vol_avg * strongDeclineVolume * noiseMultiplier
strength += ((volume / vol_avg - 1.0) * 2.0)
// 価格下落強度(最重要)
priceDeclinePercent = (close - close) / close * 100
if priceDeclinePercent >= minDeclineForSignal * noiseMultiplier
strength += (priceDeclinePercent / 3.0) * 2.5
// 連続下落ボーナス
consecutiveDeclines = 0
for i = 0 to consecutiveDeclineRequired - 1
if close < close
consecutiveDeclines += 1
else
break
if consecutiveDeclines >= consecutiveDeclineRequired
strength += consecutiveDeclines * 0.8
// トレンド強度ボーナス
if dim > dip * 1.3 and adx > 20
strength += minTrendStrength * 0.5
strength
// 強い下落条件(大幅強化)
strongDeclineCondition = false
if enableStrongDecline
// 基本条件(厳格化)
adxCondition = adx >= strongDeclineAdx * sensitivityMultiplier * noiseMultiplier
dimCondition = dim >= strongDeclineAdx * sensitivityMultiplier * noiseMultiplier * 0.8 and dim > dip
rsiCondition = rsi < strongDeclineRsi * noiseMultiplier
volumeCondition = na(volume) ? false : volume > vol_avg * strongDeclineVolume * noiseMultiplier
// 価格下落確認(厳格化)
priceDeclinePercent = (close - close) / close * 100
priceDeclineCondition = priceDeclinePercent >= minDeclineForSignal * noiseMultiplier
// 連続下落確認
consecutiveDeclines = 0
for i = 0 to consecutiveDeclineRequired - 1
if close < close
consecutiveDeclines += 1
else
break
consecutiveCondition = consecutiveDeclines >= consecutiveDeclineRequired
// シグナル強度確認(厳格化)
signalStrength = calculateSignalStrength()
strengthCondition = signalStrength >= strengthThreshold * noiseMultiplier
// 重要な動きのみ検知
significantMoveCondition = true
if requireSignificantMove
// より大きな動きのみを重要とみなす
atrRatio = (high - low) / ta.atr(14)
priceImpact = priceDeclinePercent >= minDeclineForSignal * 1.5
volumeImpact = na(volume) ? false : volume > vol_avg * 1.8
significantMoveCondition := (atrRatio > 1.2) and (priceImpact or volumeImpact)
// トレンドフィルタ(厳格化)
trendCondition = not trendFilter or (trendDown or (dim > dip * 1.2 and adx > 18))
// すべての条件をAND結合(バランス調整)
if earlyDetection
// 早期検知:重要な下落を見逃さないよう条件緩和
basicCondition = (adxCondition or adx > 18) and dimCondition and rsiCondition
priceCondition = priceDeclineCondition or close < close * 0.995
consecutiveOk = consecutiveCondition or consecutiveDeclines >= 1 // 最低1足下落があればOK
strongDeclineCondition := basicCondition and (priceCondition or consecutiveOk) and strengthCondition and trendCondition
else
// 確実性重視:それでも少し緩和
basicCondition = adxCondition and dimCondition and rsiCondition and (volumeCondition or significantMoveCondition)
priceCondition = priceDeclineCondition and close < open
strongDeclineCondition := basicCondition and priceCondition and consecutiveCondition and strengthCondition and trendCondition
// 確認モード(バランス調整)
strongDeclineSignal = false
if confirmationMode
// 確認モード:2本での確認(3本から2本に緩和)
var int strongDeclineCount = 0
var float cumulativeStrength = 0.0
currentStrength = calculateSignalStrength()
if strongDeclineCondition
strongDeclineCount += 1
cumulativeStrength += currentStrength
else
strongDeclineCount := 0
cumulativeStrength := 0.0
// 確認の条件を緩和
confirmationThreshold = strictMode ? 2 : 1 // 厳格モードでも2本、通常は1本
highStrengthThreshold = strengthThreshold * 2.0
ultraHighStrengthThreshold = strengthThreshold * 3.0 // 4.0から3.0に緩和
strongDeclineSignal := (strongDeclineCount >= confirmationThreshold) or (strongDeclineCount >= 1 and currentStrength >= ultraHighStrengthThreshold)
else
// 通常モード:即座に反応
strongDeclineSignal := strongDeclineCondition
// ──────────────────────────────────────────
// 5. 底検知(精度重視版)
// ──────────────────────────────────────────
// 下落率計算(改良版)
declineFromHigh = nz(lastHigh) > 0 ? (nz(lastHigh) - low) / nz(lastHigh) * 100 : 0
// 時間経過チェック(高値からの経過時間)
barsFromHigh = nz(lastHighBar) > 0 ? bar_index - nz(lastHighBar) : 999
timeFilter = barsFromHigh >= 5 // 高値から最低5本経過
// 底検知条件(精度重視)
// 基本条件(厳格化)
basicBottomCondition = rsi <= bottomRsiThreshold * sensitivityMultiplier and declineFromHigh >= minDeclineRate and timeFilter
// 反発検知(改良版)
priceBounce = close > close * (1 + bounceThreshold/100)
strongBounce = close > low * (1 + bounceThreshold*1.5/100) and close > open * 1.005
// RSI回復検知(強度調整可能)
rsiRecoveryCondition = false
rsiRecoveryCount = 0
for i = 1 to rsiRecoveryStrength
if rsi > rsi
rsiRecoveryCount += 1
rsiRecoveryCondition := rsiRecoveryCount >= math.ceil(rsiRecoveryStrength * 0.6)
// 出来高分析(精度向上)
volumeAnalysis = true
if requireVolumeConfirmation
// 出来高枯渇確認
volumeDrying = na(volume) ? true : volume < vol_avg * 0.6
// 反発時の出来高増加
volumeIncrease = na(volume) ? true : volume > vol_avg * 1.1
volumeAnalysis := volumeDrying or (priceBounce and volumeIncrease)
// 価格安定確認(改良版)
priceStabilizing = math.abs(close - close ) / close < 0.015
lowTesting = low <= ta.lowest(low, 5) * 1.002 // 安値テスト
// ADX収束確認(トレンド終了の兆候)
adxDeclining = adx < adx and adx < adx
// 最終底シグナル(複数パターン - 精度重視)
// パターン1: 標準的な底(厳格化)
standardBottomCondition = basicBottomCondition and (priceBounce or strongBounce) and rsiRecoveryCondition and volumeAnalysis
standardBottom = standardBottomCondition
// パターン2: 強い反発底(条件追加)
strongBottomCondition = rsi <= bottomRsiThreshold * sensitivityMultiplier + 8 and strongBounce and rsiRecoveryCondition and volumeAnalysis and adxDeclining
strongBottom = strongBottomCondition
// パターン3: 大底パターン(精密化)
dryingBottomCondition = declineFromHigh >= minDeclineRate * 1.8 and volumeAnalysis and rsiRecoveryCondition and (priceStabilizing or lowTesting) and barsFromHigh >= 10
dryingBottom = dryingBottomCondition
// 品質フィルタ(底用)
bottomQualityFilter = true
if enableQualityFilter
// 位置確認(安値圏であること)
positionOk = nearLow or pricePosition < 0.3
// RSI売られすぎ確認
rsiOversoldOk = rsi <= 45
// トレンド確認
trendOk = not trendFilter or (trendDown or sideways or not trendUp)
bottomQualityFilter := positionOk and rsiOversoldOk and trendOk
// 最終判定(品質フィルタ適用)
bottomSignal = (standardBottom or strongBottom or dryingBottom) and bottomQualityFilter
// ──────────────────────────────────────────
// 6. シグナル管理(ノイズ除去強化版)
// ──────────────────────────────────────────
var int lastTopBar = na
var int lastBottomBar = na
var int lastStrongDeclineBar = na
// 動的間隔調整(ノイズ除去強化)
baseDynamicGap = minSignalGap * noiseMultiplier // ノイズレベルに応じて間隔調整
dynamicGap = baseDynamicGap
if highVolatility
dynamicGap := math.min(baseDynamicGap, math.max(baseDynamicGap - 3, 8)) // 高ボラでも最小8足は確保
else if lowVolatility
dynamicGap := baseDynamicGap + 5 // 低ボラ時は更に間隔延長
// 厳格な間隔チェック
topAllowed = na(lastTopBar) or bar_index - lastTopBar >= dynamicGap + 5
bottomAllowed = na(lastBottomBar) or bar_index - lastBottomBar >= dynamicGap + 2
strongDeclineAllowed = na(lastStrongDeclineBar) or bar_index - lastStrongDeclineBar >= math.max(dynamicGap, 10)
// 基本シグナル(競合チェック前)
basicFinalTopSignal = topSignal and topAllowed
basicFinalStrongDeclineSignal = strongDeclineSignal and strongDeclineAllowed
basicFinalBottomSignal = bottomSignal and bottomAllowed
// 競合シグナル排除(強化版)
// 天井と強い下落の適切な間隔確保
topConflict = basicFinalStrongDeclineSignal and not na(lastStrongDeclineBar) and bar_index - lastStrongDeclineBar <= 5
strongDeclineConflict = basicFinalTopSignal and not na(lastTopBar) and bar_index - lastTopBar <= 5
// 最終シグナル(競合排除 + 品質確認)
finalTopSignal = basicFinalTopSignal and not topConflict
finalStrongDeclineSignal = basicFinalStrongDeclineSignal and not strongDeclineConflict
finalBottomSignal = basicFinalBottomSignal
// 厳格モードでの追加フィルタ(大幅強化)
if strictMode
// 厳格モード:更に厳しい条件
topStrengthOk = adx >= topAdxThreshold * 1.3 and rsi >= topRsiThreshold + 8
declineStrengthOk = calculateSignalStrength() >= strengthThreshold * 1.5
bottomStrengthOk = declineFromHigh >= minDeclineRate * 1.3 and rsi <= bottomRsiThreshold - 5
finalTopSignal := finalTopSignal and topStrengthOk
finalStrongDeclineSignal := finalStrongDeclineSignal and declineStrengthOk
finalBottomSignal := finalBottomSignal and bottomStrengthOk
// 最終品質チェック(ノイズ除去の最後の砦)
if requireSignificantMove and finalStrongDeclineSignal
// 本当に重要な動きかをチェック
recentVolatility = ta.stdev(ta.change(close), 10)
currentMove = math.abs(ta.change(close))
isSignificant = currentMove > recentVolatility * 1.5
finalStrongDeclineSignal := finalStrongDeclineSignal and isSignificant
// バー番号更新
if finalTopSignal
lastTopBar := bar_index
if finalBottomSignal
lastBottomBar := bar_index
if finalStrongDeclineSignal
lastStrongDeclineBar := bar_index
// ──────────────────────────────────────────
// 7. ラベル表示(改良版)
// ──────────────────────────────────────────
labelOffset = ta.atr(14) * 1.5
// 天井ラベル
if showTopLabels and finalTopSignal
label.new(bar_index, high + labelOffset, "TOP", style=label.style_label_down, color=color.red, textcolor=color.white, size=size.normal)
// 強い下落ラベル(詳細情報付き)
if showStrongDecline and finalStrongDeclineSignal
// ラベルテキストを状況に応じて変更
labelText = earlyDetection ? "初動" : "強下落"
labelColor = earlyDetection ? color.orange : color.maroon
// 確認モードの場合は追加情報
if confirmationMode
labelText := labelText + "確認"
label.new(bar_index, high + labelOffset * 0.7, labelText, style=label.style_label_down, color=labelColor, textcolor=color.white, size=size.normal)
// 底ラベル(パターン別表示)
if showBottomLabels and finalBottomSignal
// 底のパターンを判定してラベル変更
endLabelText = "END"
endLabelColor = color.green
if strongBottom
endLabelText := "強反発"
endLabelColor := color.lime
else if dryingBottom
endLabelText := "大底"
endLabelColor := color.purple
label.new(bar_index, low - labelOffset, endLabelText, style=label.style_label_up, color=endLabelColor, textcolor=color.white, size=size.normal)
// ──────────────────────────────────────────
// 8. デバッグ表示(改良版)
// ──────────────────────────────────────────
// デバッグ条件を事前定義
showTopCondition = debugMode and basicTopCondition
showStrongDeclineCondition = debugMode and strongDeclineCondition
showBasicBottomCondition = debugMode and basicBottomCondition
// 強度とフィルタ状況
showStrengthOk = debugMode and calculateSignalStrength() >= strengthThreshold
showStrengthValue = debugMode and calculateSignalStrength() > 0
// 主要デバッグ情報
plotchar(showTopCondition, "TopCondition", "T", location.top, color.yellow)
plotchar(showStrongDeclineCondition, "StrongDecline", "D", location.top, color.red)
plotchar(showBasicBottomCondition, "BasicBottom", "B", location.bottom, color.blue)
// 強度マーカー(重要)- 説明付き
plotchar(showStrengthOk, "StrengthOk", "!", location.top, color.orange) // シグナル強度が閾値以上
// 最終シグナル確認マーカー(最重要)
plotchar(debugMode and finalStrongDeclineSignal, "FinalDecline", "F", location.abovebar, color.red) // 最終的にシグナル発生
plotchar(debugMode and finalBottomSignal, "FinalBottom", "E", location.belowbar, color.green)
// ★フィルタリング状況の詳細表示(新機能)
showFilterBlocked = debugMode and strongDeclineCondition and not finalStrongDeclineSignal
plotchar(showFilterBlocked, "FilterBlocked", "X", location.top, color.gray) // 条件は満たすがフィルタで除去
// ★各条件の個別チェック(新機能)
showAdxOk = debugMode and adx >= strongDeclineAdx * sensitivityMultiplier * noiseMultiplier
showDimOk = debugMode and dim >= strongDeclineAdx * sensitivityMultiplier * noiseMultiplier * 0.8 and dim > dip
showRsiOk = debugMode and rsi < strongDeclineRsi * noiseMultiplier
showVolumeOk = debugMode and (na(volume) ? false : volume > vol_avg * strongDeclineVolume * noiseMultiplier)
plotchar(showAdxOk, "ADX_OK", "A", location.bottom, color.blue)
plotchar(showDimOk, "DIM_OK", "M", location.bottom, color.orange)
plotchar(showRsiOk, "RSI_OK", "R", location.bottom, color.purple)
plotchar(showVolumeOk, "VOL_OK", "V", location.bottom, color.teal)
// 背景色でトレンド表示(簡素化)
trendBg = debugMode ? (trendUp ? color.new(color.green, 97) : trendDown ? color.new(color.red, 97) : na) : na
bgcolor(trendBg, title="トレンド")
// ──────────────────────────────────────────
// 9. アラート(ノイズ除去強化版)
// ──────────────────────────────────────────
if finalTopSignal
// 天井の品質情報を含む
qualityInfo = enableQualityFilter ? " (品質フィルタ適用)" : ""
strengthInfo = strictMode ? " " : ""
alertMsg = "🔴 精密天井検知" + strengthInfo + qualityInfo + ": ADX=" + str.tostring(adx, "#.#") + " RSI=" + str.tostring(rsi, "#.#") + " DI+=" + str.tostring(dip, "#.#")
alert(alertMsg, alert.freq_once_per_bar)
if finalStrongDeclineSignal
// 基本アラート情報
alertType = earlyDetection ? "🟠 クラッシュ初動検知" : "🔻 強い下落"
confirmInfo = confirmationMode ? " (確認済み)" : ""
strengthValue = calculateSignalStrength()
strengthInfo = strictMode ? " 強度:" + str.tostring(strengthValue, "#.##") : ""
baseAlert = alertType + strengthInfo + confirmInfo + ": ADX=" + str.tostring(adx, "#.#") + " DI-=" + str.tostring(dim, "#.#") + " RSI=" + str.tostring(rsi, "#.#")
// ★オプション戦略アラート(条件簡素化)
if showOptionSignals // enableOptionStrategyを削除
// シグナル強度に基づくリスク評価
signalStrength = calculateSignalStrength()
// リスクレベル別推奨アクション(閾値緩和)
putAction = ""
riskLvl = "低"
if signalStrength >= strengthThreshold * 1.8
putAction := "【PUT積極推奨】"
riskLvl := "高"
else if signalStrength >= strengthThreshold * 1.3
putAction := "【PUT検討推奨】"
riskLvl := "中"
else if signalStrength >= strengthThreshold * 0.8
putAction := "【PUT軽量推奨】"
riskLvl := "低"
// ヘッジ戦略情報
hedgeInfo = " | ヘッジ比率:" + str.tostring(hedgeRatio * 100, "#") + "%"
profitTarget = " | 想定下落:" + str.tostring(expectedDeclineTarget, "#.#") + "%"
holdingPeriod = " | 推奨期間:" + str.tostring(optionHoldingPeriod) + "日"
optionAlert = putAction + hedgeInfo + profitTarget + holdingPeriod
// 統合アラート
fullAlert = baseAlert + " " + optionAlert
alert(fullAlert, alert.freq_once_per_bar)
else
alert(baseAlert, alert.freq_once_per_bar)
if finalBottomSignal
// 底のパターン別メッセージ
bottomType = "🟢 底検知"
if strongBottomCondition
bottomType := "🟢 強反発底"
else if dryingBottomCondition
bottomType := "🟣 大底"
qualityInfo = enableQualityFilter ? " (品質確認済み)" : ""
timeInfo = " 高値から" + str.tostring(barsFromHigh) + "本経過"
strengthInfo = strictMode ? " " : ""
baseBottomAlert = bottomType + strengthInfo + qualityInfo + timeInfo + ": RSI=" + str.tostring(rsi, "#.#") + " 下落率=" + str.tostring(declineFromHigh, "#.#") + "%"
// ★オプション利確アラート(条件簡素化)
if showOptionSignals and not na(lastStrongDeclineBar) // enableOptionStrategyを削除
barsFromDecline = bar_index - lastStrongDeclineBar
if barsFromDecline <= math.max(optionHoldingPeriod, 30) // 期間延長
actualDecline = declineFromHigh
profitRatio = actualDecline / expectedDeclineTarget * 100
optionExitInfo = ""
if actualDecline >= expectedDeclineTarget * 0.5 // 0.7から0.5に緩和
optionExitInfo := " 【PUT利確推奨】達成度:" + str.tostring(profitRatio, "#") + "% | 経過:" + str.tostring(barsFromDecline) + "日"
else if actualDecline >= expectedDeclineTarget * 0.3 // 30%達成でも表示
optionExitInfo := " 【PUT利確検討】達成度:" + str.tostring(profitRatio, "#") + "% | 経過:" + str.tostring(barsFromDecline) + "日"
if optionExitInfo != ""
fullBottomAlert = baseBottomAlert + optionExitInfo
alert(fullBottomAlert, alert.freq_once_per_bar)
else
alert(baseBottomAlert, alert.freq_once_per_bar)
else
alert(baseBottomAlert, alert.freq_once_per_bar)
else
alert(baseBottomAlert, alert.freq_once_per_bar)
Hidden Orderblock,HOB,OB,BB,Moneytaur,MT,MTFHidden Orderblock,HOB,OB,BB,Moneytaur,MT,MTF Indicator – Powered by @Moneytaur_ Concepts
This powerful and intuitive indicator is built upon the advanced market structure concepts taught by @Moneytaur_ on X. Designed for traders who value precision, clarity, and speed, it brings institutional-grade insights directly to your charts – without the usual clutter.
🔑 Key Features:
Hidden Order Block & Breaker Block Detection (HOB/BB): Automatically identifies critical Hidden Order Blocks and Breaker Blocks, giving you an edge in spotting institutional levels before price reacts.
Partial Hidden Order Block Detection (PHOB): Capture partial block formations that are often missed by conventional indicators, helping you anticipate potential reversals or continuations early.
Order Block Detection (OB): Traditional and essential OBs are marked with precision, helping you align with smart money footprints.
Multi-Time Frame View: Stay on your preferred timeframe (e.g., 1H) while effortlessly viewing Daily Hidden OBs, Breaker Blocks, and more. No more constant switching between timeframes.
Engulfing Engine: A dynamic filter system allowing you to define what qualifies as a valid block. Use the “Easy Engulfing” mode to reveal all qualifying Order Blocks with ease.
Clean Visual Interface: Blocks are displayed with a simple line marking their Equilibrium (EQ) – the midpoint of the block – for a sleek, non-intrusive visual. Ideal for traders who value screen clarity and efficiency.
Lightning Fast Performance: Optimized for speed and responsiveness, keeping your charts smooth and your decisions fast.
Streamlined Workflow: Say goodbye to juggling multiple indicators or constantly swapping timeframes. Everything you need is right where you want it.
This indicator is a direct application of the Moneytaur methodology – precise, actionable, and rooted in real smart money concepts. If you follow @Moneytaur_ and appreciate his teachings, this tool will feel like a natural extension of his trading philosophy.
Ready to level up your charting with institutional precision? Add this to your toolkit today.
Canuck Trading Projection IndicatorCanuck Trading Projection Indicator
Overview
The Canuck Trading Projection Indicator is a powerful PineScript v6 tool designed for TradingView to project potential bullish and bearish price trajectories based on historical price and volume movements. It provides traders with actionable insights by estimating future price targets and assigning confidence levels to each outlook, helping to identify probable market directions across any timeframe. Ideal for both short-term and long-term traders, this indicator combines momentum analysis, RSI filtering, support/resistance detection, and time-weighted trend analysis to deliver robust projections.
Features
Bullish and Bearish Projections: Forecasts price targets for upward (bullish) and downward (bearish) movements over a user-defined projection period (default 20 bars).
Confidence Levels: Assigns percentage confidence scores to each outlook, reflecting the likelihood of the projected price based on historical trends, volatility, and volume.
RSI Filter: Incorporates a 14-period Relative Strength Index (RSI) to validate trends, requiring RSI > 50 for bullish and RSI < 50 for bearish signals.
Support/Resistance Detection: Adjusts confidence levels when projections are near key swing highs/lows (within 2% of average price), boosting confidence by 5% for alignments.
Time-Based Weighting: Prioritizes recent price movements in trend analysis, giving more weight to newer bars for improved relevance.
Customizable Inputs: Allows users to tailor lookback period, projection bars, RSI period, confidence threshold, colors, and label positioning.
Forced Label Spacing: Prevents overlap of bullish and bearish text labels, even for tight projections, using fixed vertical slots when price differences are small (<2% of average price).
Timeframe Flexibility: Works seamlessly across all TradingView timeframes (e.g., 30-minute, hourly, daily, weekly, monthly), adapting projections to the chart’s resolution.
Clean Visualization: Displays projections as green (bullish) and red (bearish) dashed lines, with non-overlapping text labels at the projection endpoints showing price targets and confidence levels.
How It Works
The indicator analyzes historical price and volume data over a user-defined lookback period (default 50 bars) to calculate:
Momentum: Combines price changes and volume to assess trend strength, using a weighted moving average (WMA) for directional bias.
Trend Analysis: Counts bullish (price up, volume above average, RSI > 50) and bearish (price down, volume above average, RSI < 50) trends, weighting recent bars more heavily.
Projections:
Bullish Slope: Positive or flat when momentum is upward, scaled by price change and momentum intensity.
Bearish Slope: Negative or flat when momentum is downward, amplified by bearish confidence for stronger projections.
Projects prices forward by 20 bars (default) using current close plus slope times projection bars.
Confidence Levels:
Base confidence derived from the proportion of bullish/bearish trends, with a 5% minimum to avoid zero confidence.
Adjusted by volatility (lower volatility increases confidence), volume trends, and proximity to support/resistance levels.
Visualization:
Draws projection lines from the current close to the 20-bar future target.
Places text labels at line endpoints, showing price targets and confidence percentages, with forced spacing for readability.
Input Parameters
Lookback Period (default: 50): Number of bars for historical analysis (minimum 10).
Projection Bars (default: 20): Number of bars to project forward (minimum 5).
Confidence Threshold (default: 0.6): Minimum confidence for strong trend indication (0.1 to 1.0).
Bullish Projection Line Color (default: Green): Color for bullish projection line and label.
Bearish Projection Line Color (default: Red): Color for bearish projection line and label.
RSI Period (default: 14): Period for RSI momentum filter (minimum 5).
Label Vertical Offset (%) (default: 1.0): Base offset for labels as a percentage of price range (0.1% to 5.0%).
Minimum Label Spacing (%) (default: 2.0): Minimum vertical spacing between labels for tight projections (0.5% to 10.0%).
Usage Instructions
Add to Chart: Copy the script into TradingView’s Pine Editor, save, and add the indicator to your chart.
Select Timeframe: Apply to any timeframe (e.g., 30-minute, hourly, daily, weekly, monthly) to match your trading strategy.
Interpret Outputs:
Green Line/Label: Bullish price target and confidence (e.g., "Bullish: 414.37, Confidence: 35%").
Red Line/Label: Bearish price target and confidence (e.g., "Bearish: 279.08, Confidence: 41.3%").
Higher confidence indicates a stronger likelihood of the projected outcome.
Adjust Inputs:
Modify Lookback Period to focus on shorter/longer historical trends (e.g., 20 for short-term, 100 for long-term).
Change Projection Bars to adjust forecast horizon (e.g., 10 for shorter, 50 for longer).
Tweak RSI Period or Confidence Threshold for sensitivity to momentum or trend strength.
Customize Colors for visual preference.
Increase Minimum Label Spacing if labels overlap in volatile markets.
Combine with Analysis: Use alongside other indicators (e.g., moving averages, Bollinger Bands) or fundamental analysis to confirm signals, as projections are probabilistic.
Example: TSLA Across Timeframes
Using live TSLA data (close ~346.46 USD, May 31, 2025), the indicator produces:
30-Minute: Bullish 341.93 (13.3%), Bearish 327.96 (86.7%) – Strong bearish sentiment due to intraday volatility.
1-Hour: Bullish 342.00 (33.9%), Bearish 327.50 (62.3%) – Bearish but less intense, reflecting hourly swings.
4-Hour: Bullish 345.52 (73.4%), Bearish 344.44 (19.0%) – Flat outlook, indicating consolidation.
Daily: Bullish 391.26 (68.8%), Bearish 302.22 (31.2%) – Bullish bias from recent uptrend, bearish tempered by longer lookback.
Weekly: Bullish 414.37 (35.0%), Bearish 279.08 (41.3%) – Wide range, reflecting annual volatility.
Monthly: Bullish 396.70 (54.9%), Bearish 296.93 (10.2%) – Long-term bullish optimism.
These results align with market dynamics: short-term intervals capture volatility, while longer intervals smooth trends, providing balanced outlooks.
Notes
Accuracy: Projections are estimates based on historical data and should be used with other analysis tools. Confidence levels indicate likelihood, not certainty.
Timeframe Sensitivity: Short-term intervals (e.g., 30-minute) show larger price swings and higher confidence due to volatility, while longer intervals (e.g., monthly) are more stable.
Customization: Adjust inputs to match your trading style (e.g., shorter lookback for day trading, longer for swing trading).
Performance: Tested on volatile stocks like TSLA, NVIDIA, and others, ensuring robust performance across markets.
Limitations: May produce conservative bearish projections in strong uptrends due to momentum weighting. Adjust lookback or projection_bars for sensitivity.
Feedback
If you encounter issues (e.g., label overlap, projection mismatches), please share your timeframe, settings, or a screenshot. Suggestions for enhancements (e.g., additional filters, visual tweaks) are welcome!
Disclaimer
The Canuck Trading Projection Indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves significant risks, and past performance is not indicative of future results. Always perform your own due diligence and consult a qualified financial advisor before making trading decisions.
PinBar Finder | @CRYPTOKAZANCEVPinBar Finder | @CRYPTOKAZANCEV
This script helps traders identify high-probability reversal points based on price action, specifically Pin Bars — a well-known candlestick pattern used in technical analysis.
What does the indicator do?
It detects bullish and bearish Pin Bars using a custom method for wick-to-body ratio and filters based on historical volatility (pseudo-ATR). A label appears on the chart with detailed info on wick and body size when a valid signal is found.
How does it work?
- The indicator calculates a pseudo-ATR based on the percentage range of the last 1000 candles.
- It then multiplies this value by a user-defined factor (default: 1.1) to set a dynamic threshold for wick size.
- Bullish Pin Bars are detected when the lower wick is at least 1.1 times the body and greater than the dynamic ATR.
- Bearish Pin Bars are detected when the upper wick meets similar conditions.
- Signals are shown using chart labels with exact wick/body percentages.
- Alerts are included for automation or integration with trading bots.
How to use it?
- Add the indicator to any timeframe and asset.
- Use the alerts to notify you when a Pin Bar appears.
- Ideal for traders who use candlestick reversal strategies or combine price action with other confluence tools.
- You can adjust the wick length multiplier to fit the volatility of the instrument.
What makes it original?
Unlike many public scripts that use fixed ratios, this script adapts wick length detection based on recent volatility (pseudo-ATR logic). This makes it more dynamic and suitable for different markets and timeframes.
Developed by: @ZeeZeeMon
Original author name on chart: @CRYPTOKAZANCEV
This script is open-source and educational. Use at your own discretion.
PinBar Finder | @CRYPTOKAZANCEV
Этот скрипт помогает трейдерам находить точки потенциального разворота на основе прайс-экшена, а именно — свечного паттерна «Пин-бар». Индикатор автоматически определяет бычьи и медвежьи пин-бары с учетом адаптивных параметров волатильности.
Что делает индикатор?
Скрипт ищет свечи, у которых тень в несколько раз превышает тело (пин-бары), и отображает на графике точную информацию о длине тела и тени. Это полезно для трейдеров, использующих свечные сигналы на разворот.
Как работает?
- Рассчитывается псевдо-ATR по 1000 последним свечам на основе процентного диапазона high-low.
- Этот ATR умножается на заданный множитель (по умолчанию: 1.1), чтобы динамически задать минимальную длину тени.
- Бычий пин-бар определяется, когда нижняя тень больше тела в 1.1 раза и превышает ATR.
- Медвежий пин-бар — аналогично, но для верхней тени.
- Индикатор отображает лейблы с точными значениями тела и тени.
- Реализованы условия для оповещений (alerts).
Как использовать?
- Добавьте индикатор на нужный график и таймфрейм.
- Настройте alerts, чтобы не пропустить сигналы.
- Особенно полезен для трейдеров, работающих со свечным анализом, стратегиями разворота, а также в сочетании с другими индикаторами.
В чем оригинальность?
В отличие от многих скриптов, использующих фиксированные параметры, здесь используется динамический расчет длины тени на основе волатильности. Это делает скрипт адаптивным к рынку и таймфрейму.
Разработчик: @ZeeZeeMon
Оригинальное имя автора на графике: @CRYPTOKAZANCEV
Скрипт является открытым и предназначен для образовательных целей. Используйте на своё усмотрение.
Not-So-Average True Range (nsATR)Not-So-Average True Range (nsATR)
*By Sherlock_MacGyver*
---
Long Story Short
The nsATR is a complete overhaul of traditional ATR analysis. It was designed to solve the fundamental issues with standard ATR, such as lag, lack of contextual awareness, and equal treatment of all volatility events.
Key innovations include:
* A smarter ATR that reacts dynamically when price movement exceeds normal expectations.
* Envelope zones that distinguish between moderate and extreme volatility conditions.
* A long-term ATR baseline that adds historical context to current readings.
* A compression detection system that flags when the market is coiled and ready to break out.
This indicator is designed for traders who want to see volatility the way it actually behaves — contextually, asymmetrically, and with predictive power.
---
What Is This Thing?
Standard ATR (Average True Range) has limitations:
* It smooths too slowly (using Wilder's RMA), which delays detection of meaningful moves.
* It lacks context — no way to know if current volatility is high or low relative to history.
* It treats all volatility equally, regardless of scale or significance.
nsATR** was built from scratch to overcome these weaknesses by applying:
* Amplification of large True Range spikes.
* Visual envelope zones for detecting volatility regimes.
* A long-term context line to anchor current readings.
* Multi-factor compression analysis to anticipate breakouts.
---
Core Features
1. Breach Detection with Amplification
When True Range exceeds a user-defined threshold (e.g., ATR × 1.2), it is amplified using a power function to reflect nonlinear volatility. This amplified value is then smoothed and cascades into future ATR values, affecting the indicator beyond a single bar.
2. Direction Tagging
Volatility spikes are tagged as upward or downward based on basic price momentum (close vs previous close). This provides visual context for how volatility is behaving in real-time.
3. Envelope Zones
Two adaptive envelopes highlight the current volatility regime:
* Stage 1: Moderate volatility (default: ATR × 1.5)
* Stage 2: Extreme volatility (default: ATR × 2.0)
Breaching these zones signals meaningful expansion in volatility.
4. Long-Term Context Baseline
A 200-period simple moving average of the classic ATR establishes whether current readings are above or below long-term volatility expectations.
5. Multi-Signal Compression Detection
Flags potential breakout conditions when:
* ATR is below its long-term baseline
* Price Bollinger Bands are compressed
* RSI Bollinger Bands are also compressed
All three signals must align to plot a "Volatility Confluence Dot" — an early warning of potential expansion.
---
Chart Outputs
In the Indicator Pane:
* Breach Amplified ATR (Orange line)
* Classic ATR baseline (White line)
* Long-Term context baseline (Cyan line)
* Stage 1 and Stage 2 Envelopes (Purple and Yellow lines)
On the Price Chart:
* Triangles for breach direction (green/red)
* Diamonds for compression zones
* Optional background coloring for visual clarity
---
Alerts
Built-in alert conditions:
1. ATR breach detected
2. Stage 1 envelope breached
3. Stage 2 envelope breached
4. Compression zone detected
---
Customization
All components are modular. Traders can adjust:
* Display toggles for each visual layer
* Colors and line widths
* Breach threshold and amplification power
* Envelope sensitivity
* Compression sensitivity and lookback windows
Some options are disabled by default to reduce clutter but can be turned on for more aggressive signal detection.
---
Real-Time Behavior (Non-Repainting Clarification)
The indicator updates in real time on the current bar as new data comes in. This is expected behavior for live trading tools. Once a bar closes, values do not change. In other words, the indicator *does not repaint history* — but the current bar can update dynamically until it closes.
---
Use Cases
* Day traders: Use compression zones to anticipate volatility surges.
* Swing traders: Use envelope breaches for regime awareness.
* System developers: Replace standard ATR in your logic for better responsiveness.
* Risk managers: Use directional volatility signals to better model exposure.
---
About the Developer
Sherlock_MacGyver develops original trading systems that question default assumptions and solve real trader problems.
PriceLevels GB🚨 NEW INDICATOR: GOLDBACH LEVELS
In a market ruled by speed, algorithms, and hidden logic...
Goldbach Levels reveals 5 numbers that aren’t random:
35 – 29 – 71 – 11 – 65
Selected for a reason.
These are Goldbach numbers, deeply tied to algorithmic market behavior.
This free indicator automatically marks key price levels where these numbers occur — levels that align with the extremes of trading algorithms.
What does this mean?
These are levels where price tends to hesitate, react, or reverse.
🛠️ Full customization included: highlight only the levels you care about, tailored to your strategy.
📌 Follow us on TradingView for more custom tools and next-level strategies!!!
FVG Premium [no1x]█ OVERVIEW
This indicator provides a comprehensive toolkit for identifying, visualizing, and tracking Fair Value Gaps (FVGs) across three distinct timeframes (current chart, a user-defined Medium Timeframe - MTF, and a user-defined High Timeframe - HTF). It is designed to offer traders enhanced insight into FVG dynamics through detailed state monitoring (formation, partial fill, full mitigation, midline touch), extensive visual customization for FVG representation, and a rich alert system for timely notifications on FVG-related events.
█ CONCEPTS
This indicator is built upon the core concept of Fair Value Gaps (FVGs) and their significance in price action analysis, offering a multi-layered approach to their detection and interpretation across different timeframes.
Fair Value Gaps (FVGs)
A Fair Value Gap (FVG), also known as an imbalance, represents a range in price delivery where one side of the market (buying or selling) was more aggressive, leaving an inefficiency or an "imbalance" in the price action. This concept is prominently featured within Smart Money Concepts (SMC) and Inner Circle Trader (ICT) methodologies, where such gaps are often interpreted as footprints left by "smart money" due to rapid, forceful price movements. These methodologies suggest that price may later revisit these FVG zones to rebalance a prior inefficiency or to seek liquidity before continuing its path. These gaps are typically identified by a three-bar pattern:
Bullish FVG : This is a three-candle formation where the second candle shows a strong upward move. The FVG is the space created between the high of the first candle (bottom of FVG) and the low of the third candle (top of FVG). This indicates a strong upward impulsive move.
Bearish FVG : This is a three-candle formation where the second candle shows a strong downward move. The FVG is the space created between the low of the first candle (top of FVG) and the high of the third candle (bottom of FVG). This indicates a strong downward impulsive move.
FVGs are often watched by traders as potential areas where price might return to "rebalance" or find support/resistance.
Multi-Timeframe (MTF) Analysis
The indicator extends FVG detection beyond the current chart's timeframe (Low Timeframe - LTF) to two higher user-defined timeframes: Medium Timeframe (MTF) and High Timeframe (HTF). This allows traders to:
Identify FVGs that might be significant on a broader market structure.
Observe how FVGs from different timeframes align or interact.
Gain a more comprehensive perspective on potential support and resistance zones.
FVG State and Lifecycle Management
The indicator actively tracks the lifecycle of each detected FVG:
Formation : The initial identification of an FVG.
Partial Fill (Entry) : When price enters but does not completely pass through the FVG. The indicator updates the "current" top/bottom of the FVG to reflect the filled portion.
Midline (Equilibrium) Touch : When price touches the 50% level of the FVG.
Full Mitigation : When price completely trades through the FVG, effectively "filling" or "rebalancing" the gap. The indicator records the mitigation time.
This state tracking is crucial for understanding how price interacts with these zones.
FVG Classification (Large FVG)
FVGs can be optionally classified as "Large FVGs" (LV) if their size (top to bottom range) exceeds a user-defined multiple of the Average True Range (ATR) for that FVG's timeframe. This helps distinguish FVGs that are significantly larger relative to recent volatility.
Visual Customization and Information Delivery
A key concept is providing extensive control over how FVGs are displayed. This control is achieved through a centralized set of visual parameters within the indicator, allowing users to configure numerous aspects (colors, line styles, visibility of boxes, midlines, mitigation lines, labels, etc.) for each timeframe. Additionally, an on-chart information panel summarizes the nearest unmitigated bullish and bearish FVG levels for each active timeframe, providing a quick glance at key price points.
█ FEATURES
This indicator offers a rich set of features designed to provide a highly customizable and comprehensive Fair Value Gap (FVG) analysis experience. Users can tailor the FVG detection, visual representation, and alerting mechanisms across three distinct timeframes: the current chart (Low Timeframe - LTF), a user-defined Medium Timeframe (MTF), and a user-defined High Timeframe (HTF).
Multi-Timeframe FVG Detection and Display
The core strength of this indicator lies in its ability to identify and display FVGs from not only the current chart's timeframe (LTF) but also from two higher, user-selectable timeframes (MTF and HTF).
Timeframe Selection: Users can specify the exact MTF (e.g., "60", "240") and HTF (e.g., "D", "W") through dedicated inputs in the "MTF (Medium Timeframe)" and "HTF (High Timeframe)" settings groups. The visibility of FVGs from these higher timeframes can be toggled independently using the "Show MTF FVGs" and "Show HTF FVGs" checkboxes.
Consistent Detection Logic: The FVG detection logic, based on the classic three-bar imbalance pattern detailed in the 'Concepts' section, is applied consistently across all selected timeframes (LTF, MTF, HTF)
Timeframe-Specific Visuals: Each timeframe's FVGs (LTF, MTF, HTF) can be customized with unique colors for bullish/bearish states and their mitigated counterparts. This allows for easy visual differentiation of FVGs originating from different market perspectives.
Comprehensive FVG Visualization Options
The indicator provides extensive control over how FVGs are visually represented on the chart for each timeframe (LTF, MTF, HTF).
FVG Boxes:
Visibility: Main FVG boxes can be shown or hidden per timeframe using the "Show FVG Boxes" (for LTF), "Show Boxes" (for MTF/HTF) inputs.
Color Customization: Colors for bullish, bearish, active, and mitigated FVG boxes (including Large FVGs, if classified) are fully customizable for each timeframe.
Box Extension & Length: FVG boxes can either be extended to the right indefinitely ("Extend Boxes Right") or set to a fixed length in bars ("Short Box Length" or "Box Length" equivalent inputs).
Box Labels: Optional labels can display the FVG's timeframe and fill percentage on the box. These labels are configurable for all timeframes (LTF, MTF, and HTF). Please note: If FVGs are positioned very close to each other on the chart, their respective labels may overlap. This can potentially lead to visual clutter, and it is a known behavior in the current version of the indicator.
Box Borders: Visibility, width, style (solid, dashed, dotted), and color of FVG box borders are customizable per timeframe.
Midlines (Equilibrium/EQ):
Visibility: The 50% level (midline or EQ) of FVGs can be shown or hidden for each timeframe.
Style Customization: Width, style, and color of the midline are customizable per timeframe. The indicator tracks if this midline has been touched by price.
Mitigation Lines:
Visibility: Mitigation lines (representing the FVG's opening level that needs to be breached for full mitigation) can be shown or hidden for each timeframe. If shown, these lines are always extended to the right.
Style Customization: Width, style, and color of the mitigation line are customizable per timeframe.
Mitigation Line Labels: Optional price labels can be displayed on mitigation lines, with a customizable horizontal bar offset for positioning. For optimal label placement, the following horizontal bar offsets are recommended: 4 for LTF, 8 for MTF, and 12 for HTF.
Persistence After Mitigation: Users can choose to keep mitigation lines visible even after an FVG is fully mitigated, with a distinct color for such lines. Importantly, this option is only effective if the general setting 'Hide Fully Mitigated FVGs' is disabled, as otherwise, the entire FVG and its lines will be removed upon mitigation.
FVG State Management and Behavior
The indicator tracks and visually responds to changes in FVG states.
Hide Fully Mitigated FVGs: This option, typically found in the indicator's general settings, allows users to automatically remove all visual elements of an FVG from the chart once price has fully mitigated it. This helps maintain chart clarity by focusing on active FVGs.
Partial Fill Visualization: When price enters an FVG, the indicator offers a dynamic visual representation: the portion of the FVG that has been filled is shown as a "mitigated box" (typically with a distinct color), while the original FVG box shrinks to clearly highlight the remaining, unfilled portion. This two-part display provides an immediate visual cue about how much of the FVG's imbalance has been addressed and what potential remains within the gap.
Visual Filtering by ATR Proximity: To help users focus on the most relevant price action, FVGs can be dynamically hidden if they are located further from the current price than a user-defined multiple of the Average True Range (ATR). This behavior is controlled by the "Filter Band Width (ATR Multiple)" input; setting this to zero disables the filter entirely, ensuring all detected FVGs remain visible regardless of their proximity to price.
Alternative Usage Example: Mitigation Lines as Key Support/Resistance Levels
For traders preferring a minimalist chart focused on key Fair Value Gap (FVG) levels, the indicator's visualization settings can be customized to display only FVG mitigation lines. This approach leverages these lines as potential support and resistance zones, reflecting areas where price might revisit to address imbalances.
To configure this view:
Disable FVG Boxes: Turn off "Show FVG Boxes" (for LTF) or "Show Boxes" (for MTF/HTF) for the desired timeframes.
Hide Midlines: Disable the visibility of the 50% FVG Midlines (Equilibrium/EQ).
Ensure Mitigation Lines are Visible: Keep "Mitigation Lines" enabled.
Retain All Mitigation Lines:
Disable the "Hide Fully Mitigated FVGs" option in the general settings.
Enable the feature to "keep mitigation lines visible even after an FVG is fully mitigated". This ensures lines from all FVGs (active or fully mitigated) remain on the chart, which is only effective if "Hide Fully Mitigated FVGs" is disabled.
This setup offers:
A Decluttered Chart: Focuses solely on the FVG opening levels.
Precise S/R Zones: Treats mitigation lines as specific points for potential price reactions.
Historical Level Analysis: Includes lines from past, fully mitigated FVGs for a comprehensive view of significant price levels.
For enhanced usability with this focused view, consider these optional additions:
The on-chart Information Panel can be activated to display a quick summary of the nearest unmitigated FVG levels.
Mitigation Line Labels can also be activated for clear price level identification. A customizable horizontal bar offset is available for positioning these labels; for example, offsets of 4 for LTF, 8 for MTF, and 12 for HTF can be effective.
FVG Classification (Large FVG)
This feature allows for distinguishing FVGs based on their size relative to market volatility.
Enable Classification: Users can enable "Classify FVG (Large FVG)" to identify FVGs that are significantly larger than average.
ATR-Based Threshold: An FVG is classified as "Large" if its height (price range) is greater than or equal to the Average True Range (ATR) of its timeframe multiplied by a user-defined "Large FVG Threshold (ATR Multiple)". The ATR period for this calculation is also configurable.
Dedicated Colors: Large FVGs (both bullish/bearish and active/mitigated) can be assigned unique colors, making them easily distinguishable on the chart.
Panel Icon: Large FVGs are marked with a special icon in the Info Panel.
Information Panel
An on-chart panel provides a quick summary of the nearest unmitigated FVG levels.
Visibility and Position: The panel can be shown/hidden and positioned in any of the nine standard locations on the chart (e.g., Top Right, Middle Center).
Content: It displays the price levels of the nearest unmitigated bullish and bearish FVGs for LTF, MTF (if active), and HTF (if active). It also indicates if these nearest FVGs are Large FVGs (if classification is enabled) using a selectable icon.
Styling: Text size, border color, header background/text colors, default text color, and "N/A" cell background color are customizable.
Highlighting: Background and text colors for the cells displaying the overall nearest bullish and bearish FVG levels (across all active timeframes) can be customized to draw attention to the most proximate FVG.
Comprehensive Alert System
The indicator offers a granular alert system for various FVG-related events, configurable for each timeframe (LTF, MTF, HTF) independently. Users can enable alerts for:
New FVG Formation: Separate alerts for new bullish and new bearish FVG formations.
FVG Entry/Partial Fill: Separate alerts for price entering a bullish FVG or a bearish FVG.
FVG Full Mitigation: Separate alerts for full mitigation of bullish and bearish FVGs.
FVG Midline (EQ) Touch: Separate alerts for price touching the midline of a bullish or bearish FVG.
Alert messages are detailed, providing information such as the timeframe, FVG type (bull/bear, Large FVG), relevant price levels, and timestamps.
█ NOTES
This section provides additional information regarding the indicator's usage, performance considerations, and potential interactions with the TradingView platform. Understanding these points can help users optimize their experience and troubleshoot effectively.
Performance and Resource Management
Maximum FVGs to Track : The "Max FVGs to Track" input (defaulting to 25) limits the number of FVG objects processed for each category (e.g., LTF Bullish, MTF Bearish). Increasing this value significantly can impact performance due to more objects being iterated over and potentially drawn, especially when multiple timeframes are active.
Drawing Object Limits : To manage performance, this script sets its own internal limits on the number of drawing objects it displays. While it allows for up to approximately 500 lines (max_lines_count=500) and 500 labels (max_labels_count=500), the number of FVG boxes is deliberately restricted to a maximum of 150 (max_boxes_count=150). This specific limit for boxes is a key performance consideration: displaying too many boxes can significantly slow down the indicator, and a very high number is often not essential for analysis. Enabling all visual elements for many FVGs across all three timeframes can cause the indicator to reach these internal limits, especially the stricter box limit
Optimization Strategies : To help you manage performance, reduce visual clutter, and avoid exceeding drawing limits when using this indicator, I recommend the following strategies:
Maintain or Lower FVG Tracking Count: The "Max FVGs to Track" input defaults to 25. I find this value generally sufficient for effective analysis and balanced performance. You can keep this default or consider reducing it further if you experience performance issues or prefer a less dense FVG display.
Utilize Proximity Filtering: I suggest activating the "Filter Band Width (ATR Multiple)" option (found under "General Settings") to display only those FVGs closer to the current price. From my experience, a value of 5 for the ATR multiple often provides a good starting point for balanced performance, but you should feel free to adjust this based on market volatility and your specific trading needs.
Hide Fully Mitigated FVGs: I strongly recommend enabling the "Hide Fully Mitigated FVGs" option. This setting automatically removes all visual elements of an FVG from the chart once it has been fully mitigated by price. Doing so significantly reduces the number of active drawing objects, lessens computational load, and helps maintain chart clarity by focusing only on active, relevant FVGs.
Disable FVG Display for Unused Timeframes: If you are not actively monitoring certain higher timeframes (MTF or HTF) for FVG analysis, I advise disabling their display by unchecking "Show MTF FVGs" or "Show HTF FVGs" respectively. This can provide a significant performance boost.
Simplify Visual Elements: For active FVGs, consider hiding less critical visual elements if they are not essential for your specific analysis. This could include box labels, borders, or even entire FVG boxes if, for example, only the mitigation lines are of interest for a particular timeframe.
Settings Changes and Platform Limits : This indicator is comprehensive and involves numerous calculations and drawings. When multiple settings are changed rapidly in quick succession, it is possible, on occasion, for TradingView to issue a "Runtime error: modify_study_limit_exceeding" or similar. This can cause the indicator to temporarily stop updating or display errors.
Recommended Approach : When adjusting settings, it is advisable to wait a brief moment (a few seconds) after each significant change. This allows the indicator to reprocess and update on the chart before another change is made
Error Recovery : Should such a runtime error occur, making a minor, different adjustment in the settings (e.g., toggling a checkbox off and then on again) and waiting briefly will typically allow the indicator to recover and resume correct operation. This behavior is related to platform limitations when handling complex scripts with many inputs and drawing objects.
Multi-Timeframe (MTF/HTF) Data and Behavior
HTF FVG Confirmation is Essential: : For an FVG from a higher timeframe (MTF or HTF) to be identified and displayed on your current chart (LTF), the three-bar pattern forming the FVG on that higher timeframe must consist of fully closed bars. The indicator does not draw speculative FVGs based on incomplete/forming bars from higher timeframes.
Data Retrieval and LTF Processing: The indicator may use techniques like lookahead = barmerge.lookahead_on for timely data retrieval from higher timeframes. However, the actual detection of an FVG occurs after all its constituent bars on the HTF have closed.
Appearance Timing on LTF (1 LTF Candle Delay): As a natural consequence of this, an FVG that is confirmed on an HTF (i.e., its third bar closes) will typically become visible on your LTF chart one LTF bar after its confirmation on the HTF.
Example: Assume an FVG forms on a 30-minute chart at 15:30 (i.e., with the close of the 30-minute bar that covers the 15:00-15:30 period). If you are monitoring this FVG on a 15-minute chart, the indicator will detect this newly formed 30-minute FVG while processing the data for the 15-minute bar that starts at 15:30 and closes at 15:45. Therefore, the 30-minute FVG will become visible on your 15-minute chart at the earliest by 15:45 (i.e., with the close of that relevant 15-minute LTF candle). This means the HTF FVG is reflected on the LTF chart with a delay equivalent to one LTF candle.
FVG Detection and Display Logic
Fair Value Gaps (FVGs) on the current chart timeframe (LTF) are detected based on barstate.isconfirmed. This means the three-bar pattern must be complete with closed bars before an FVG is identified. This confirmation method prevents FVGs from being prematurely identified on the forming bar.
Alerts
Alert Setup : To receive alerts from this indicator, you must first ensure you have enabled the specific alert conditions you are interested in within the indicator's own settings (see 'Comprehensive Alert System' under the 'FEATURES' section). Once configured, open TradingView's 'Create Alert' dialog. In the 'Condition' tab, select this indicator's name, and crucially, choose the 'Any alert() function call' option from the dropdown list. This setup allows the indicator to trigger alerts based on the precise event conditions you have activated in its settings
Alert Frequency : Alerts are designed to trigger once per bar close (alert.freq_once_per_bar_close) for the specific event.
User Interface (UI) Tips
Settings Group Icons: In the indicator settings menu, timeframe-specific groups are marked with star icons for easier navigation: 🌟 for LTF (Current Chart Timeframe), 🌟🌟 for MTF (Medium Timeframe), and 🌟🌟🌟 for HTF (High Timeframe).
Dependent Inputs: Some input settings are dependent on others being enabled. These dependencies are visually indicated in the settings menu using symbols like "↳" (dependent setting on the next line), "⟷" (mutually exclusive inline options), or "➜" (directly dependent inline option).
Settings Layout Overview: The indicator settings are organized into logical groups for ease of use. Key global display controls – such as toggles for MTF FVGs, HTF FVGs (along with their respective timeframe selectors), and the Information Panel – are conveniently located at the very top within the '⚙️ General Settings' group. This placement allows for quick access to frequently adjusted settings. Other sections provide detailed customization options for each timeframe (LTF, MTF, HTF), specific FVG components, and alert configurations.
█ FOR Pine Script® CODERS
This section provides a high-level overview of the FVG Premium indicator's internal architecture, data flow, and the interaction between its various library components. It is intended for Pine Script™ programmers who wish to understand the indicator's design, potentially extend its functionality, or learn from its structure.
System Architecture and Modular Design
The indicator is architected moduarly, leveraging several custom libraries to separate concerns and enhance code organization and reusability. Each library has a distinct responsibility:
FvgTypes: Serves as the foundational data definition layer. It defines core User-Defined Types (UDTs) like fvgObject (for storing all attributes of an FVG) and drawSettings (for visual configurations), along with enumerations like tfType.
CommonUtils: Provides utility functions for common tasks like mapping user string inputs (e.g., "Dashed" for line style) to their corresponding Pine Script™ constants (e.g., line.style_dashed) and formatting timeframe strings for display.
FvgCalculations: Contains the core logic for FVG detection (both LTF and MTF/HTF via requestMultiTFBarData), FVG classification (Large FVGs based on ATR), and checking FVG interactions with price (mitigation, partial fill).
FvgObject: Implements an object-oriented approach by attaching methods to the fvgObject UDT. These methods manage the entire visual lifecycle of an FVG on the chart, including drawing, updating based on state changes (e.g., mitigation), and deleting drawing objects. It's responsible for applying the visual configurations defined in drawSettings.
FvgPanel: Manages the creation and dynamic updates of the on-chart information panel, which displays key FVG levels.
The main indicator script acts as the orchestrator, initializing these libraries, managing user inputs, processing data flow between libraries, and handling the main event loop (bar updates) for FVG state management and alerts.
Core Data Flow and FVG Lifecycle Management
The general data flow and FVG lifecycle can be summarized as follows:
Input Processing: User inputs from the "Settings" dialog are read by the main indicator script. Visual style inputs (colors, line styles, etc.) are consolidated into a types.drawSettings object (defined in FvgTypes). Other inputs (timeframes, filter settings, alert toggles) control the behavior of different modules. CommonUtils assists in mapping some string inputs to Pine constants.
FVG Detection:
For the current chart timeframe (LTF), FvgCalculations.detectFvg() identifies potential FVGs based on bar patterns.
For MTF/HTF, the main indicator script calls FvgCalculations.requestMultiTFBarData() to fetch necessary bar data from higher timeframes, then FvgCalculations.detectMultiTFFvg() identifies FVGs.
Newly detected FVGs are instantiated as types.fvgObject and stored in arrays within the main script. These objects also undergo classification (e.g., Large FVG) by FvgCalculations.
State Update & Interaction: On each bar, the main indicator script iterates through active FVG objects to manage their state based on price interaction:
Initially, the main script calls FvgCalculations.fvgInteractionCheck() to efficiently determine if the current bar's price might be interacting with a given FVG.
If a potential interaction is flagged, the main script then invokes methods directly on the fvgObject instance (e.g., updateMitigation(), updatePartialFill(), checkMidlineTouch(), which are part of FvgObject).
These fvgObject methods are responsible for the detailed condition checking and the actual modification of the FVG's state. For instance, the updateMitigation() and updatePartialFill() methods internally utilize specific helper functions from FvgCalculations (like checkMitigation() and checkPartialMitigation()) to confirm the precise nature of the interaction before updating the fvgObject’s state fields (such as isMitigated, currentTop, currentBottom, or isMidlineTouched).
Visual Rendering:
The FvgObject.updateDrawings() method is called for each fvgObject. This method is central to drawing management; it creates, updates, or deletes chart drawings (boxes, lines, labels) based on the FVG's current state, its prev_* (previous bar state) fields for optimization, and the visual settings passed via the drawSettings object.
Information Panel Update: The main indicator script determines the nearest FVG levels, populates a panelData object (defined in FvgPanelLib), and calls FvgPanel.updatePanel() to refresh the on-chart display.
Alert Generation: Based on the updated FVG states and user-enabled alert settings, the main indicator script constructs and triggers alerts using Pine Script's alert() function."
Key Design Considerations
UDT-Centric Design: The fvgObject UDT is pivotal, acting as a stateful container for all information related to a single FVG. Most operations revolve around creating, updating, or querying these objects.
State Management: To optimize drawing updates and manage FVG lifecycles, fvgObject instances store their previous bar's state (e.g., prevIsVisible, prevCurrentTop). The FvgObject.updateDrawings() method uses this to determine if a redraw is necessary, minimizing redundant drawing calls.
Settings Object: A drawSettings object is populated once (or when inputs change) and passed to drawing functions. This avoids repeatedly reading numerous input() values on every bar or within loops, improving performance.
Dynamic Arrays for FVG Storage: Arrays are used to store collections of fvgObject instances, allowing for dynamic management (adding new FVGs, iterating for updates).
Candle Range Trading (CRT) with Alerts
📌 Description:
The Candle Range Trading (CRT) indicator identifies potential reversal or continuation setups based on specific two-candle price action patterns.
It analyzes pairs of candles to detect Bullish or Bearish CRT patterns and provides visual signals (triangles) and alert notifications to support scalp or swing trading strategies.
🔍 How It Works:
🔻 Bearish CRT Pattern:
Candle 1 is bullish
Candle 2 is bearish
Candle 2's high > Candle 1's high
Candle 2 closes within Candle 1’s range
🔺 Red triangle above candle
🔺 Bullish CRT Pattern:
Candle 1 is bearish
Candle 2 is bullish
Candle 2's low < Candle 1's low
Candle 2 closes within Candle 1’s range
🔻 Green triangle below candle
📈 Visual Features:
🔺 Red triangle = Bearish CRT
🔻 Green triangle = Bullish CRT
📏 Optional box showing CRT High and CRT Low
🔔 Built-in Alerts:
Bullish CRT Alert: "Bullish CRT Pattern Detected"
Bearish CRT Alert: "Bearish CRT Pattern Detected"
Set alerts to get notified instantly when a pattern is detected.
⚠️ Note:
Use in conjunction with trend filters, support/resistance, or volume for best results.
Ideal for scalping or short-term trades.
Avoid trading in choppy or low-volume markets.
⚠️ Disclaimer:
This script was generated with the assistance of ChatGPT by OpenAI and is intended for educational and informational purposes only.
All strategies, alerts, and signals derived from this indicator should be thoroughly backtested and validated before using in live trading.
Trading involves substantial risk, and past performance is not indicative of future results. The author and ChatGPT bear no responsibility for any trading losses or financial decisions made using this script.
Users are solely responsible for the risks associated with their trading actions. Always apply proper risk management and perform your own due diligence before making any financial decisions.
BAFD (Price Action For D.....s)🧠 Overview
This indicator combines multiple Moving Averages (MA) with visual price action elements such as Fair Value Gaps (FVGs) and Swing Points. It provides traders with real-time insight into trend direction, structural breaks, and potential entry zones based on institutional price behavior.
⚙️ Features
1. Multi MA Visualization (SMA & EMA)
- Plots short-, mid-, and long-term moving averages
- Fully customizable: MA type (SMA/EMA) and length per MA
- Dynamic color coding: green for bullish, red for bearish (based on close >/< MA)
2. Fair Value Gaps (FVG) Detection
Detects bullish and bearish imbalances using multiple logic types:
- Same Type: Last 3 candles move in the same direction
- Twin Close: Last 2 candles close in the same direction
- All: Shows all valid FVGs regardless of pattern
Gaps are marked with semi-transparent yellow boxes
Useful for identifying potential liquidity voids and retest zones
3. Swing Highs and Lows
- Automatically identifies major swing points
- Customizable sensitivity (strength setting)
Marked with subtle colored dots for structure identification or support/resistance mapping
📈 Use Cases
- Trend Identification: Visualize momentum on multiple timeframes
- Liquidity Mapping: Spot potential retracement zones using FVGs
- Confluence Building: Combine MA slope, FVG zones, and swing points for refined setups
🛠️ Customizable Settings
- Moving average type and length for each MA
- FVG logic selection and color
- Swing point strength
🔔 Note
This script does not generate buy/sell signals or alerts. It is designed as a visual decision-support tool for discretionary traders who rely on market structure, trend, and price action.
EMA CCI SSL BUY SELL Signal [THANHCONG]EMA CCI SSL BUY SELL Signal
Introduction:
The EMA CCI SSL BUY SELL Signal indicator is a comprehensive technical analysis tool designed to help traders identify trends and optimal entry and exit points with clarity and reliability. By combining reputable indicators such as EMA, CCI, SSL Channel, and RSI, this indicator generates buy and sell signals based on multiple validated factors, helping to filter noise and increase accuracy.
Key Features:
Utilizes multi-timeframe SSL channel with both automatic and manual mode options, suitable for various trading strategies.
Includes an RSI filter to minimize false signals in overbought or oversold regions.
Detects volume spikes to confirm the strength of the current trend.
Integrates CCI divergence and reversal candle patterns (Hammer, Shooting Star) to enhance signal precision in spotting potential reversals.
Displays clear buy/sell signals directly on the chart and provides a live performance table showing percentage changes.
Supports linear regression channel drawing to help users easily recognize trend direction and price volatility.
Recommended Usage:
Optimal Timeframes: Best used on 5-minute, 15-minute, 1-hour, 4-hour, 12-hour, and daily (D) timeframes. Avoid using on other timeframes to maintain signal reliability.
Signal Confirmation: Combine indicator signals with SSL channel direction and regression channel slope to improve confidence.
Combined Indicators: For enhanced effectiveness and noise reduction, it is recommended to use this indicator alongside the MCDX+RSI+SMA indicator. This combined approach provides a more comprehensive market view and supports better trading decisions.
Alerts: Users can set buy/sell alerts on TradingView to receive timely notifications when signals occur.
Important Notes:
This indicator is provided as a technical analysis aid and is not financial advice or a guarantee of profit.
Indicator performance may vary depending on market conditions and the traded asset.
Users should combine multiple tools and practice proper risk management when making trading decisions.
Thank You:
Thank you for using this indicator! If you find it useful, please consider leaving positive feedback and sharing it to help build a professional, transparent, and sustainable trading community.
Disclaimer:
The author and TradingView are not responsible for any losses resulting from the use of this indicator. Please trade responsibly and carefully consider your decisions.
Wishing you successful and safe trading!
#EMA #CCI #SSLChannel #RSI #TradingView #BuySellSignals #TechnicalAnalysis #TrendFollowing #VolumeSpike #CandlePatterns #TradingTools #Forex #Stocks #Crypto #Thanhcong
Previous Highs & Lows (Customizable)Previous Highs & Lows (Customizable)
This Pine Script indicator displays horizontal lines and labels for high, low, and midpoint levels across multiple timeframes. The indicator plots levels from the following periods:
Today's session high, low, and midpoint
Yesterday's high, low, and midpoint
Current week's high, low, and midpoint
Last week's high, low, and midpoint
Last month's high, low, and midpoint
Last quarter's high, low, and midpoint
Last year's high, low, and midpoint
Features
Individual Controls: Each timeframe has separate toggles for showing/hiding high/low levels and midpoint levels.
Custom Colors: Independent color selection for lines and labels for each timeframe group.
Display Options:
Adjustable line width (1-5 pixels)
Variable label text size (tiny, small, normal, large, huge)
Configurable label offset positioning
Organization: Settings are grouped by timeframe in a logical sequence from most recent (today) to least recent (last year).
Display Logic: Lines span the current trading day only. Labels are positioned to the right of the price action. The indicator automatically removes previous drawings to prevent chart clutter.
Critical Pivot PointsCritical pivot points, marked on chart.
Top pivot points marked with green box
Bottom pivot points marked with red box
Simple & easy!