Coinbase BTC Premium by BIGTAKERBTC Premium Gap Analysis: Binance, Coinbase, Upbit
This indicator provides real-time analysis and visualization of the premium gap between the Binance BTCUSDT price and the BTC prices on Coinbase (BTCUSD) and Upbit (BTCKRW).
Key Features
Coinbase Premium Gap
Measures the price difference between Coinbase and Binance as a percentage.
To improve visibility, the Coinbase premium is visually amplified by 10x.
Upbit Premium Gap
Calculates the premium by comparing Upbit's BTCKRW price (converted into USD using the real-time USDKRW exchange rate) against Binance BTCUSDT.
Dynamic Color Coding
Premiums above 0% are displayed in lime green, indicating positive premiums.
Premiums below 0% are displayed in red, indicating discounts.
Real-Time Labels
Displays real-time premium values for both Coinbase and Upbit on the right side of the chart.
Additional Notes
Upbit premiums are adjusted for the USD/KRW exchange rate to ensure accurate USD-based comparison.
The Coinbase premium is magnified visually (10x) to better capture minor movements, while the actual premium value remains correctly displayed.
The indicator is optimized for traders who monitor global BTC market price disparities across major exchanges.
How to Use
Quickly track global BTC price discrepancies across Binance, Coinbase, and Upbit.
Detect "Kimchi Premium" conditions in the Korean market through Upbit premiums.
Analyze buying and selling pressure in North American markets through Coinbase premiums.
Trend Analysis
MTF Analysis Panel [Invesmate]MTF Analysis Panel
This indicator provides a compact Multi-Timeframe (MTF) view of trend and momentum conditions directly on the chart. It combines EMA trend checks, RSI momentum checks, and optional Relative Strength analysis to offer an intuitive overview of market structure across intraday, daily, weekly, and monthly timeframes.
Trend and Momentum Analysis
The script uses two primary methods for assessing the market:
Trend Detection: Based on price relation to a user-selected EMA for each timeframe.
Momentum Detection: Based on whether RSI is above or below 50 for each timeframe.
Users can independently toggle these modules through inputs to customize the panel for different analysis needs.
Trend and momentum are calculated separately to avoid bias, helping traders capture the real state of the market across multiple timeframes.
Relative Strength (Optional)
If enabled, when either Weekly or Monthly timeframes are selected, the panel will display Relative Strength (RS ) data.
RS measures the stock's performance relative to a benchmark symbol (like NSE:NIFTY).
This value shows the percent outperformance or underperformance over a user-defined period (default 55 days), allowing deeper market strength analysis.
Table and Display Logic
The indicator draws a neat panel on the chart using TradingView’s table functionality.
Each selected timeframe (15m, 1h, 4h, 1D, 1W, 1M) will display:
Trend (EMA): Green for bullish trend (Price > EMA), Red for bearish trend (Price < EMA), Gray if neutral or not applicable.
Momentum (RSI): Green if RSI > 50, Red if RSI < 50, Gray if neutral.
Symbols for trend and momentum can be customized between:
Emoji mode (e.g., 🟢, 🔴, 🟦, 🟥)
Text mode (e.g., UP, DOWN, NEUTRAL)
The panel is customizable for position (Top Left, Top Right, Bottom Left, Bottom Right) to fit user preference.
Color Codes
Strong Bullish: All selected timeframes are trending up and momentum is rising — shown with a light green background.
Strong Bearish: All selected timeframes are trending down and momentum is falling — shown with a light red background.
Mixed: Any mixed state (some up, some down) — shown with a neutral gray background.
This helps traders instantly recognize overall market sentiment without manually checking individual timeframes.
Summary Labels
At the bottom of the panel, two powerful summaries are displayed:
Trend Summary: Overall trend aggregation across selected timeframes ("STRONG BULLISH", "STRONG BEARISH", or "MIXED").
Momentum Summary: Overall momentum aggregation ("MOMENTUM UP", "MOMENTUM DOWN", or "MOMENTUM MIXED").
When Relative Strength is available (Weekly or Monthly enabled), it is also shown separately at the bottom, providing a complete strength-versus-benchmark view.
Input Controls
Enable EMA Trend Check: Toggle EMA-based trend detection.
Enable RSI Momentum Check: Toggle RSI-based momentum detection.
Timeframes to Display: 15m, 1h, 4h, 1D, 1W, 1M can be independently turned on or off.
EMA Length per Timeframe: Customize EMA lengths for different timeframes.
RSI Length: Set RSI calculation period.
Comparative Symbol: Select the benchmark symbol for Relative Strength calculations.
RS Period: Choose the lookback period for Relative Strength.
Emoji Display Toggle: Switch between emoji-based or text-based display styles.
Table Location: Choose where the analysis panel appears on the chart.
Special Features
Realtime Updating: The panel updates dynamically as bars close, maintaining real-time relevance.
Maximum Label Control : Designed to respect TradingView's maximum label limits to avoid runtime errors.
Optimized for Performance: Uses conditional requests and security calls efficiently, minimizing script execution load.
Known Limitations
Request.security limitations: Relative Strength is only calculated on Daily data for stability; lower timeframe RS is not implemented.
TradingView Table Size: On some screen sizes or with many timeframes selected, table may overlap candles. Adjust panel location accordingly.
Price Action Three Soldiers Strategy Buy&Sell TP&SLStrategy Overview:
This indicator detects a "Three White Soldiers" bullish pattern to suggest potential buy opportunities. It uses dynamic Stop Loss (SL) and Take Profit (TP) management, based on either market volatility (ATR) or liquidity zones.
This tool is intended for educational and informational purposes only.
📈 Key Features:
Entry: Based on detecting Three White Soldiers candle pattern.
Exit: Targets are managed through ATR multiples or previous liquidity levels (swing highs).
Smart Liquidity: Optionally identify deeper liquidity targets.
Full Alerts: Buy and Sell signals supported with customizable alerts.
Visualized Trades: Entry, SL, and TP levels are plotted on the chart.
⚙️ User Inputs:
ATR Length, ATR Multipliers
Take Profit Mode (Liquidity/ATR)
Swing Lookback and Strength
Toggleable Buy/Sell alerts
📖 How to Use:
Add the Indicator:
Apply the script to your chart from the TradingView indicators panel.
Look for Buy Signals:
A buy signal is triggered when the script detects a "Three White Soldiers" bullish pattern.
Entry, Stop Loss, and Take Profit levels are plotted automatically.
Choose Take Profit Mode:
ATR Mode: TP is based on a volatility target.
Liquidity Mode: TP is based on past swing highs.
Set Alerts (Optional):
Enable Buy/Sell alerts in the settings to receive real-time notifications.
Practice First:
Always backtest and paper trade before live use.
📜 Disclaimer:
This script does not offer financial advice.
No guarantees of profit or performance are made.
Use in demo accounts or backtesting first.
Always practice proper risk management and seek advice from licensed professionals if needed.
✅ Script Compliance:
This script is designed in full accordance with TradingView’s House Rules for educational tools.
No financial advice is provided, no performance is guaranteed, and users are encouraged to backtest thoroughly.
Linear Regression Slope The Linear Regression Slope provides a quantitative measure of trend direction. It fits a linear regression line to the past N closing prices and calculates the slope, representing the average rate of price change per bar.
To ensure comparability across assets and timeframes, the slope is normalized by the ATR over a shorter window. This produces a volatility-adjusted measure which allows for the slope to be interpreted relative to typical price fluctuations.
Mathematically, the slope is derived by minimizing the sum of squared deviations between actual prices and the fitted regression line. A positive normalized slope indicate upwards movement; a negative slope indicate downwards movement. Persistent values near zero could indicate an absence of clear trend, with price dominated by short-term fluctuations or noise.
The definition of a trend depends on the period of observation. The lookback setting should be set based on to the desired timeframe. Shorter lookbacks will respond faster to recent changes but may be more sensitive to noise, while longer lookbacks will emphasize broader structures.
While effective at quantifying existing trends, this method is not predictive. Sudden regime changes, volatility shocks, and non-linear dynamics can all cause rapid slope reversals. Therefore, it is best applied as part of a broader analytical framework.
In summary, the Linear Regression Slope quantifies price direction and serves as a measurable supplement to the visual assessment of trends on price charts.
Additional Features:
Option to display or hide the normalized slope line.
Option to enable background coloring when the slope is above or below zero.
High Threshold Volume BarHigh Threshold Volume Bar (HP Vol Bar) has the following features highlighted below.
Overview:
The High Threshold Volume Bar (HP Vol Bar) is an advanced technical analysis tool designed to identify statistically significant price bars based on volume, range, and trend dynamics. It helps traders spot high-probability continuation or reversal setups by analyzing bar size relative to historical volatility, volume spikes, and trend strength.
Key Features
1. Adaptive Threshold Detection
.Uses standard deviation bands and moving averages to dynamically adjust the significance threshold based on recent market conditions.
.Bars exceeding this threshold are flagged as "significant" and color-coded for easy identification.
2. Volume & Range Normalization
.Adjusts bar size calculations by factoring in volume spikes (relative to SMA-smoothed volume) and full price range (high-low or just body size).
.Prevents false signals by capping extreme volume outliers.
3. Trend Strength & Direction
Incorporates Directional Movement (DMI) to assess trend strength.
Classifies signals as continuation or reversal based on trend alignment.
4. Percentile Ranking
.Compares current bar size against a lookback period (default: 100 bars) to determine its statistical rarity (top 20% = high significance).
5. Consecutive Signal Filtering
.Requires multiple consecutive significant bars (configurable) to confirm high-probability setups, reducing noise.
6. Visual & Alert System
.Color-coded bars:
.Blue (Bullish Continuation) / Pink (Bearish Continuation) for high-probability signals.
.Teal (Bullish) / Maroon (Bearish) for significant but unconfirmed bars.
.Info Table: Displays real-time metrics (signal type, percentile, trend strength, volatility regime).
.Alerts: Triggers when a high-probability sequence is detected.
Input Parameters
1. Parameter Description Default
2. SMA Length Smoothing period for average bar size. 50
3. Standard Deviation Period Lookback for volatility calculation. 20
4. Standard Deviation Multiplier Adjusts sensitivity of threshold. 2.5
5. Factor in Volume Normalizes bar size using volume. true
6. Use Full Range Measures high-low instead of open-close. true
7. Min Consecutive Bars Required confirmations for high-probability signals. 2
8. Historical Comparison Period Lookback for percentile ranking. 100
9. Trend Strength Period Smoothing for DMI-based trend assessment. 14
How It Works
1. Calculates Bar Size:
.Uses either full range (high-low) or body size (open-close).
.Adjusts for volume spikes via EMA-normalized volume.
2. Determines Significance:
.Bar size must exceed:
.Adaptive threshold = SMA + (StdDev × Multiplier × Volatility Factor).
.Percentile rank > 80% (top 20% of recent bars).
.Trend strength > 20% (DMI-derived).
3. Classifies Signals:
.Continuation: Significant bar aligns with prior trend.
.Reversal: Significant bar contradicts prior trend.
4. Confirms High-Probability Setups:
.Requires consecutive significant bars (user-defined) to filter noise.
7. Usage Guidelines
.Bullish Signals: Look for blue bars (confirmed) or teal bars (unconfirmed) in uptrends.
.Bearish Signals: Look for pink bars (confirmed) or maroon bars (unconfirmed) in downtrends.
.Alerts: Use built-in alerts to notify when a high-probability sequence forms.
.Combine With: Support/resistance levels, candlestick patterns, or momentum oscillators for confluence.
8. Why This Script?
.Dynamic Adaptation: Adjusts to changing volatility and volume regimes.
.Statistical Rigor: Uses percentile ranking to avoid overfitting.
.Clear Visuals: Intuitive color-coding and table for quick analysis.
Note: This is a closed-source script, but the logic is transparently explained to ensure traders understand its methodology.
How to Use "High Threshold Volume Bar" for Trade Entries
The HP Vol Bar indicator identifies high-probability trade setups based on statistically significant price bars. Here’s how to use it for entries, exits, and trade management:
1. Trade Entry Rules (Table Values to consider to trade)
A) Bullish Continuation Setup (Trend Following)
Conditions:
✅Signal Status: Active
✅ Signal Type: bullish_cont (Blue,Teal bar)
✅Size percentile: 90%
✅ Trend Strength: > 20% (Strong trend)
✅ Consecutive Bars: ≥ 1or2
✅ Volume Regime : High
Entry:
.Buy at the close of the second (or Nth) confirmed blue bar.
.Stop Loss (SL): Below the lowest bar in the sequence.
.Take Profit (TP):
1.5× to 2× the bar size (adaptive to volatility).
Example:
Bearish Continuation Example
B) Bearish Continuation Setup (Trend Following)
Conditions:
✅Signal Status: Active
✅ Signal Type: bearish_cont (Pink bar)
✅Size percentile: 90%
✅ Trend Strength: > 20%
✅ Consecutive Bars: ≥ 1or2
✅ Volume Regime : High
Entry:
Sell Short at the close of the second (or Nth) confirmed pink bar.
Stop Loss (SL): Above the highest bar in the sequence.
Take Profit (TP): Similar to bullish (1.5-2× bar size).
C) Bullish/Bearish Reversal Setup (Counter-Trend)
Conditions:
✅Signal Status: Active
✅ Signal Type: bullish_rev or bearish_rev
✅Size percentile: 90%
✅ Trend Strength: > 20%
✅ Consecutive Bars: ≥ 1or2
✅ Volume Regime : High
Entry:
Wait for confirmation (next bar closes in reversal direction).
SL: Opposite extreme of the signal bar.
Example:
Reversal Example
2. Filtering & Confluence (Improving Accuracy)
Trend Alignment: Only trade in the direction of the higher timeframe trend (e.g., use EMA 50/200)
Support/Resistance: Enter near key levels for better risk-reward.
Volume Confirmation: Avoid signals with below-average volume.
3. Advanced Strategies
A) Breakout Confirmation
If a significant bar breaks a key level, enter on retest.
Example: Blue bar breaks resistance → Buy on pullback.
B) Mean Reversion (Range Markets)
Use low volatility mode (volRegimeText = "LOW") + reversal signals.
Fade extreme moves back to the mean (e.g., SMA).
ATR Based Zigzag w EMAThe "ATR Based Zigzag with EMA" indicator is a refined trend-following tool designed for traders who demand clarity, precision, and robust trend detection. This script uses an ATR (Average True Range)-based breakout mechanism to dynamically determine the current market trend, while overlaying a clean, smoothed EMA (Exponential Moving Average) line to visually represent the active directional bias.
The indicator continuously tracks new swing highs and lows based on ATR volatility thresholds. When price moves sufficiently against the current trend — exceeding an ATR-multiplied distance — the trend is considered reversed. This adaptive method ensures that trend flips are based not on arbitrary price action, but on meaningful, volatility-adjusted movements.
Instead of plotting zigzag-style pivots which can create visual noise, the indicator draws a single, smooth EMA line calculated from the median price ((high + low) / 2). The color of the line shifts instantly based on the active trend: green (or your customized color) for uptrends, and red for downtrends. In addition, individual price bars are optionally colored to match the trend, further enhancing at-a-glance clarity without cluttering the chart.
Key user-defined inputs include the ATR length, ATR multiplier (sensitivity for trend flips), EMA smoothing length (responsiveness of the trend line), and full color customization for uptrend and downtrend states.
This indicator excels at providing a clear and immediate understanding of trend conditions, making it highly effective for:
Trend-following strategies
Reversal spotting based on volatility breaks
Entry/exit confirmation
Visual chart cleanliness and minimalism
Whether used standalone or alongside other tools, the "ATR Based Zigzag with EMA" offers a disciplined, volatility-sensitive view of market structure — engineered for traders who refuse to tolerate noise, hesitation, or ambiguity in their decision-making.
Trend and Trendline DetectorTrend and Trendline Detector
Overview
The Trend and Trendline Detector indicator provides both major and minor trend analysis using Simple Moving Averages (SMA) and automatically plots dynamic support and resistance trendlines based on pivot highs and lows.
Key Features
Major Trend Detection: Uses a configurable SMA to determine primary market direction.
Minor Trend Visualization: Optional minor SMA with color-coded line segments to mark smaller trend fluctuations.
Dynamic Pivot Trendlines: Automatically detects pivot highs/lows and draws major (solid) and minor (dashed) trendlines, with user-controlled extension modes.
Customizable Inputs: User can adjust SMA lengths, pivot look back/look forward periods, line extend mode, and toggle features on/off.
RSI with HMA & Momentum ZonesRSI with HMA & Momentum Zones — Indicator Description
This indicator combines Relative Strength Index (RSI) analysis with Hull Moving Averages (HMA) and Momentum Zone detection to provide a multi-layered view of market strength, trend shifts, and divergence signals.
It includes:
Main Features:
RSI Core:
Standard RSI calculated from a customizable source (close, open, etc.) with adjustable length.
A dynamic RSI Signal Line is plotted with selectable smoothing types (SMA, EMA, SMMA, WMA, VWMA) to enhance trend-following signals.
RSI crossovers of its signal line change color (green for bullish crossovers, red for bearish crossunders).
Hull Moving Averages (HMA):
Two HMA lines are plotted based on the RSI:
Short HMA (fast) and Long HMA (slow).
Color shifts indicate crossovers between RSI and Short HMA (short-term trend change) and Short HMA vs Long HMA (longer-term trend shifts).
Momentum Zones:
When the gap between the RSI and the Long HMA exceeds a user-defined threshold:
A green background highlights strong bullish momentum.
A red background highlights strong bearish momentum.
Helps visualize when momentum becomes extended.
Divergence Detection (Optional):
Regular and hidden bullish and bearish divergences are automatically detected between price and RSI.
Divergences are plotted on the RSI pane with labels ("Bull", "H Bull", "Bear", "H Bear").
Adjustable lookback settings for fine-tuning sensitivity.
Alerts are available for all divergence events.
Visual Enhancements:
A shaded cloud fills between RSI and its signal line, green for bullish bias and red for bearish bias.
Horizontal bands at 70, 50, and 30 levels to mark traditional RSI zones (overbought, neutral, oversold).
Customization Options:
All major components — RSI settings, Signal Line type, HMA lengths, Momentum Zone threshold, and Divergence controls — are fully adjustable.
Stormer setupHere's a trading setup with reversal candle coloring and simple market structure analysis:
Based on the experienced trader Stormer (Alexandre Wolwacz), to be used with combined price action.
Key improvements added:
1. **Smart Reversal Candles**:
- Detects hammer/shooting star patterns and engulfing candles
- Colors candles based on confluence with market structure
- Teal for bullish reversals, Maroon for bearish reversals
2. **Dynamic Confluence System**:
- Uses MA trend direction to determine if SR levels should be prioritized
- Adjustable sensitivity threshold for SR proximity
- Combines price action with stochastic position
3. **Enhanced Market Structure**:
- Improved trend detection using ROC instead of slope
- Adaptive logic that uses SR levels when MA is flat
4. **Advanced Visualization**:
- Semi-transparent candle coloring preserves original colors
- Dotted SR lines with automatic cleanup
- Clear triangle markers for entries
5. **Efficiency Improvements**:
- Limited historical SR storage for better performance
- Automatic line management to prevent chart clutter
To use this enhanced version:
1. Bullish reversal candles appear teal when:
- Hammer/engulfing pattern forms
- Near support (if MA flat) or stochastic oversold
- Price above MA
2. Bearish reversal candles appear maroon when:
- Shooting star/engulfing pattern forms
- Near resistance (if MA flat) or stochastic overbought
- Price below MA
3. Signals combine all elements (MA position, stochastic, SR levels, and candle patterns) for higher probability trades
RSI_Heikinashi📜 Title:
Heikin-Ashi RSI Candle Plot with Multi-Timeframe Analysis and EMA Overlay
📖 Full Description:
This is an original custom indicator that transforms the traditional Relative Strength Index (RSI) into a Heikin-Ashi (HA) candle representation, allowing traders to visualize RSI trends with greater clarity, less noise, and multi-timeframe perspective.
🛠️ Core Concept and Original Method:
Rather than plotting a single RSI line, this script recalculates RSI into a Heikin-Ashi candle format, using a double EMA smoothing method on the RSI data itself.
Here's how the transformation works:
RSI Calculation:
RSI is computed traditionally using Wilder's Moving Average (RMA) for smoothing gains and losses.
The RSI period and price source are fully customizable (default length = 28, source = close).
Heikin-Ashi Style Smoothing (applied to RSI):
The HA Close is calculated as the EMA of the average between the current RSI and previous HA Close.
The HA Open is calculated as the EMA of the average between the previous HA Open and the current HA Close.
The HA High and HA Low are dynamically calculated based on the maximum/minimum values of the current RSI, HA Open, and HA Close.
Smoothing is done via 5-period EMA, which adds a unique layer of trend smoothing without traditional price-based HA calculation.
Multi-Timeframe Comparison:
In addition to plotting the chart timeframe HA RSI, the indicator retrieves the 1-hour timeframe HA RSI using request.security.
This allows traders to align trades with higher timeframe RSI trends, a powerful technique for multi-timeframe confirmation.
50 EMA Overlay:
A 50-period Exponential Moving Average (EMA) is plotted over both the chart timeframe HA RSI and the 1-hour HA RSI.
EMA acts as a trend filter or dynamic support/resistance for RSI behavior.
RSI Bands and Visual Aids:
Standard RSI bands at 70 (Overbought), 50 (Midline), and 30 (Oversold) are plotted.
A shaded background between the 30–70 levels helps highlight RSI range-bound movements versus breakout momentum.
🔥 Why this script is original and useful:
Unique Application:
This is not a simple RSI plot or standard Heikin-Ashi candle — it is a specialized smoothing method applied directly to RSI values for a clearer, noise-reduced momentum reading.
Multi-Timeframe Advantage:
Unlike typical RSI indicators, it includes a 1-hour timeframe comparison alongside the chart timeframe, improving decision-making across intraday and swing strategies.
Advanced Smoothing Logic:
Double EMA smoothing of RSI and HA-style recalculations offer a much smoother signal than traditional RSI or basic RSI/EMA crossovers.
Visualized Trend Strength:
Using colored candles instead of just a line enhances readability and gives an intuitive sense of momentum direction, strength, and possible reversals.
Fully Customizable:
Traders can adjust the RSI period and source depending on asset volatility or timeframe preferences.
📋 How to Use:
Look for HA RSI candles color changes for early momentum shifts.
Use the 50 EMA crossovers on HA RSI to confirm larger trend changes.
Compare chart timeframe vs 1H timeframe HA RSI for stronger signal alignment.
Watch for overbought/oversold breaks beyond the 70/30 bands for trade entries or exits.
⚙️ Inputs:
RSI Length (Default: 28)
RSI Source (Default: Close)
📢 Important Note:
This script is originally conceptualized and custom-built.
It is not a mashup of existing open-source indicators and introduces a new smoothing technique for RSI visualization.
🙏 Credits:
Script developed by Sri_RSI.
KeyLevelsPivotsIndicator Name: Key Levels with Pivots
This indicator identifies key support and resistance levels using pivot high and pivot low values derived from TradingView’s built-in functions (ta.pivothigh and ta.pivotlow). When a new pivot is detected, the indicator checks if a similar level—within a specified percentage threshold (for example, ±1%) of the pivot value—already exists. If no such level is present, a horizontal line is drawn at that pivot level.
The drawn level extends to the right, automatically updating until one of two conditions occurs:
A breakout takes place—defined as the price moving beyond the level by the specified percentage—and then the level is fixed (truncated) at the bar where the breakout occurred.
The level reaches a maximum age (expressed in bars, e.g., 750 bars for a daily timeframe which approximates 3 years). In this case, the level is fixed at that maximum age.
Once fixed, the level no longer updates, allowing traders to view historically significant support and resistance levels from today's date up to approximately three years back. Additionally, the indicator prevents the re-plotting of a level if a similar level already exists within the defined percentage threshold, thereby avoiding duplicate reflections of the same level unless a breakout occurs.
RunRox - Harmonic Patterns📐 RunRox - Harmonic Pattern indicator , we are pleased to present our new, built upon sophisticated logic for identifying and plotting harmonic formations directly on your charts. Significant effort and research have been invested into the development of this indicator, and now it is ready to be included in our premium indicator package.
In this post, we will provide a comprehensive overview of our indicator, describing all its key features, capabilities, and possible use cases. We strongly recommend reading the entire post thoroughly to fully understand the logic and operation behind our new Harmonic Pattern indicator.
📜 A BRIEF HISTORY
Harmonic patterns are specialized chart formations based on Fibonacci ratios, used by traders to identify potential reversal points in financial markets. Originally introduced by H.M. Gartley in the 1930s and later refined by Scott Carney, harmonic patterns became widely recognized for their effectiveness in forecasting precise turning points and market reversals. Over the years, these patterns have become an essential tool for traders employing technical analysis.
📌 INDICATOR FEATURES
Identification of 3 pattern sets:
✅ 5 Classic Chart Patterns:
Head and Shoulders, Triangle, Wedge, Flag, Double Top/Bottom
✅ 11 Harmonic Patterns:
Bat, Alternate Bat, Butterfly, Crab, Deep Crab, Gartley, Shark, Cypher, 5-0 Pattern, AB=CD, 3-Drive
✅ 10 Non-standard Harmonic Patterns:
Nen Star, White Swan, Black Swan, Anti-Bat, Anti-Butterfly, Anti-Crab, Anti-Gartley, Anti-Shark, Anti-Cypher, Anti-Nen Star
Additional features:
Built-in backtesting system
Pattern win-rate calculation
Flexible Stop Loss settings
Flexible Take Profit settings
Customizable pattern detection parameters
Advanced trailing stop functionality
Flexible notification system
And much more.
Below is a screenshot visually illustrating all the classic chart patterns that our indicator identifies on the chart.
This is how the 11 harmonic patterns visually appear on the chart.
10 Non-standard harmonic patterns visually represented on the chart.
🔸 XABCD are standard letters representing specific points used in forming harmonic patterns. The sequence always begins with the point X as the initial reference point, followed by points ABCD, which together complete the harmonic pattern.
These points are identified using a specialized method, scanning through thousands of potential points on the chart simultaneously. The indicator analyzes numerous potential formations, selecting and displaying only those patterns that meet specific validation criteria. This meticulous process ensures that only valid and accurate patterns appear on your chart, as illustrated in the screenshot below.
🔸 Ratio: Between the points XABCD, you’ll notice the “Ratio,” indicating the proportional relationships required between these points to correctly form harmonic patterns. The indicator displays a pattern on the chart only when these ratio conditions are precisely met, thereby maximizing accuracy and ensuring the validity of identified patterns. This aspect is clearly demonstrated in the screenshot below.
🔸 TP and SL levels: For each identified pattern, we also display recommended Take Profit (TP) and Stop Loss (SL) levels directly on the chart. Additionally, we provide a suggested entry price (Entry Level). It is important to note that entering a trade requires the price to retrace into the specified Entry Level zone. Therefore, you must wait until the price returns to this zone for the pattern to be considered fully formed and ready for entry.
Using the Butterfly pattern as an example, we’ve illustrated all the key components of a pattern. Our indicator offers extensive customization, allowing you to finely adjust everything from the acceptable Ratio ranges to Stop Loss and Take Profit levels, among many other parameters. Below, we’ll discuss the indicator’s capabilities and its customizable settings in detail.
📶 ACTIVE PATTERNS PANEL
In the screenshot above, you can see the panel displaying all active patterns currently formed on the chart, including the pattern direction, entry price, two take profit levels, and the stop loss level. This provides a quick and clear overview of the available patterns on your chart, significantly speeding up your trading process.
Additionally, you can fully customize this panel, adjusting its position, size, or even completely removing it if you prefer.
📊 PATTERN STATISTICS
The Pattern Statistics Panel displays historical performance results for all patterns. The indicator automatically performs backtesting for each pattern based on historical data, taking into account all user-defined settings. Results are conveniently presented in this panel.
This feature is highly practical as it allows you to quickly evaluate the effectiveness of each pattern directly on your chart. As a result, you can easily identify which patterns are performing best and which patterns might be less effective and therefore unsuitable for trading on the current instrument.
Furthermore, the panel organizes patterns into specific categories Classical, Harmonic, and Anti-Harmonic and separates results by trade direction (Long or Short). This helps you quickly determine the optimal trading direction for each pattern category.
⚙️ INDICATOR SETTINGS
Now, it’s time to discuss the indicator settings in detail and describe all the available options and features that you can customize according to your preferences.
🔶 Detection Settings
In the screenshot above, you see the first settings block with the following options:
FastMode – When activated, only patterns are displayed on the chart, without the results table. This significantly speeds up the pattern rendering process and makes the script run faster.
Error % – Allows you to specify a permissible deviation from the ideal XABCD parameters. By increasing this percentage, the indicator will detect more patterns, but they will deviate from the ideal ratio proportions by the percentage you’ve set.
Search Priority – Choose between “Large First” or “Small First” pattern prioritization. With “Large First,” the indicator prioritizes detecting larger patterns first; smaller patterns are only displayed if no suitable large patterns are available, and vice versa.
ZigZag Period – Determines the period for the ZigZag structure used as a foundation for pattern detection. It’s an essential parameter that directly affects the number and quality of detected patterns.
Pattern Size – Specify the desired size of patterns in terms of the number of bars on the chart.
Remove patterns older than, bars – Allows you to remove old patterns from the chart and prevent their display if they formed more than a set number of bars ago (default is 200 bars).
🔶 Entry / Target / StopLoss Settings
In the screenshot above, you can see the settings related to configuring your preferred entry points, target levels, and stop-loss strategies. Below is a detailed explanation of each option:
Trade Direction – Both / Long / Short - Choose the direction in which you want to trade. Selecting “Both” will search for patterns in both directions, while “Long” or “Short” will filter the patterns to show only those that align with the selected direction.
Entry % - This sets the entry level as a percentage of the pattern’s total size. It determines how far from the pattern’s starting point the entry will be placed.
Target 1 - Also defined as a percentage of the pattern size. This represents the distance from the entry point to the first take profit level.
Target 2 - Optionally, you can enable a second take profit level and set the percentage distance for it.
Stop-Loss Type - Choose from six different stop-loss types: Invalidation Price, Last Pivot, %, % of pattern size, Pips, or Risk/Reward ratio. Each provides flexibility depending on your trading style.
Stop-Loss SL Value - This is the specific value related to the chosen stop-loss type. For example, if you choose the “%” type, this setting will define the percentage used to place the Stop Loss level.
Using the Shark pattern as an example, let’s demonstrate how the entry, target, and stop-loss levels function. Based on the overall size of the pattern, you can input the desired percentage values for your trade entry, target, and stop-loss levels, and the indicator will automatically calculate their exact placement relative to the pattern’s structure.
You can also choose alternative stop-loss methods, such as Risk/Reward, in which case the stop-loss will be dynamically calculated based on the risk-to-reward ratio you define.
It’s also important to note that for harmonic patterns, the height of the pattern is calculated based on the segment from point C to point D. However, for the Black Swan pattern, the measurement is taken from point A to point D. This distinction should be kept in mind when configuring your stop-loss levels.
Additionally, classic patterns each have their own unique method for calculating pattern height, depending on the specific structure.
🔶 Trailing Stop Settings
These settings are designed to help improve your strategy’s results, especially if you use break-even stop-loss adjustments after reaching specific targets, which can help increase your win rate.
Move SL to Break-even after reaching Target 1 - Enabling this option will automatically move the stop-loss to the entry level (break-even) once the price hits the first target (Target 1).
Trailing Stop Type - Choose from three trailing stop types: Percentage (%), % of pattern size, Pips
Trailing Stop Value - Enter the desired value for the chosen trailing stop type. For example, if you selected %, the number entered will be treated as a percentage. If you chose Pips, it will be the number of pips for the trailing stop.
Enable Trailing Stop at reaching - This setting defines when the trailing stop should be activated. You can choose from four options: Target 1, %, % of pattern size, Pips
Trailing After Value - This works in combination with the previous setting. If you choose one of the three non-Target options, this field lets you enter the specific value that will trigger the trailing stop.
🔶 Display Settings
In the screenshot above, you can see the Display Settings section, which allows you to fully customize the visual appearance of patterns on your chart according to your preferences.
You can choose to show or hide pattern labels (XABCD), ratio values, entry/TP/SL levels, and pattern fill for better visual clarity.
Additionally, you can set the maximum number of active patterns displayed on the chart, as well as view the historical formations of any specific pattern to analyze how it appeared in past price action.
🔶 Dashboard | Pattern Table
In the screenshot above, you can see the settings for two tables: one displaying the results of each pattern , and the other showing active patterns currently on the chart. Both tables offer flexible customization options, allowing you to adjust their color schemes, sizes, and on-screen positions to best fit your workflow.
🔶 Patterns Setting
For each individual pattern, you can customize its appearance by selecting your preferred color , adjusting its transparency , or even hiding it entirely from the chart if you don’t wish to display it.
🔶 Notifications
You can easily configure notifications for various events, such as the appearance of a new pattern or when the price reaches the entry level of a trade.
Additionally, a dedicated panel allows you to use macros for advanced customization of your alerts, so you can tailor the notifications exactly to your needs and trading style.
List of Supported Placeholders:
{{event}} - Event name ('New Pattern', 'Target 1', etc.)
{{pattern}} - Pattern name ('Bat', 'Crab', etc.)
{{event_price}} - Event Price (entry price for entry event, sl price for sl event, etc.)
{{sl}} - Stop-loss price
{{entry}} - Entry Price
{{target1}}, {{target2}} - Target Prices
{{invalidation}} - Invalidation Price
{{exchange}} - Exchange ('Binance')
{{ticker}} - Ticker ('BTCUSD')
{{interval}} - Timeframe ('1s', '1', 'D')
{{open}}-{{close}}-{{high}}-{{low}} - Candle price values
{{volume}} - Candle volume
{{time}} - Candle open time in UTC timezone
{{timenow}} - Signal time in UTC timezone
{{syminfo.currency}} - 'USD' for BTCUSD pair
{{syminfo.basecurrency}} - 'BTC' for BTCUSD pair
✅ USAGE METHODS
The indicator and its patterns can be used as a standalone trading strategy, providing clear entry points, stop-loss levels, and take-profit targets - without the need for any additional tools or indicators.
However, for optimal results, we recommend integrating the indicator with your existing trading strategy. Using it as a confluence tool - alongside other technical indicators or as a complement to your fundamental analysis - can significantly enhance your decision-making and improve overall performance!
🟠 Disclaimer
Past performance is not indicative of future results. To trade successfully, it is crucial to have a thorough understanding of the market context and the specific situation at hand. Always conduct your own research and analysis before making any trading decisions.
Deviation Symmetry Breaker ~ C H I P ADeviation Symmetry Breaker ~ C H I P A is a custom trend breakout tool designed to detect directional shifts through raw deviation asymmetry around a median price baseline.
It uses:
A user-selectable price source (Close, High, Low, etc.)
Dual median smoothing to stabilize trend foundation without introducing moving average lag
Raw positive and negative deviation tracking for pure momentum extraction
Dynamic upper and lower breakout bands scaled by standard deviation
Independent band multipliers to fine-tune breakout sensitivity
This setup highlights powerful breakouts when price meaningfully separates from its balanced median behavior — helping traders capture early trend movements, volatility expansions, and structural shifts with minimal smoothing and no hidden moving averages.
Candle coloring responds directly to breakout status, using vibrant electric blue and red for immediate visual clarity on the chart.
PowerHouse SwiftEdge AI v2.10 with Custom Filters & AI AnalysisPowerHouse SwiftEdge AI v2.10 with Custom Filters & AI Analysis
Overview
PowerHouse SwiftEdge AI v2.10 is an advanced TradingView Pine Script indicator designed to identify high-probability trading setups by combining pivot-based structure analysis, multi-timeframe trend detection, and adaptive AI-driven signal filtering. The script integrates Change of Character (CHoCH) and Break of Structure (BOS) signals with customizable momentum, volume, breakout, and trend filters to enhance trade precision. Additionally, it offers an optional AI Market Analysis module that predicts future price trends across multiple timeframes, providing traders with a comprehensive market outlook.
The script is highly customizable, allowing users to tailor inputs to their trading style, whether for scalping, swing trading, or long-term strategies. It is suitable for all asset classes, including stocks, forex, crypto, and commodities, and performs optimally on timeframes ranging from 1-minute to daily charts.
Key Features
Pivot-Based Signal Generation:
Identifies pivot highs and lows to detect CHoCH (reversal patterns) and BOS (continuation patterns).
Signals are plotted as "Buy" or "Sell" labels with optional "Get Ready" pre-signals to prepare traders for potential setups.
Take-profit (TP) levels are automatically calculated based on user-defined points, with optional TP box visualization.
Multi-Timeframe Trend Analysis:
Analyzes trends across seven timeframes (1M, 5M, 15M, 30M, 1H, 4H, D) using EMA and VWAP to determine bullish, bearish, or neutral conditions.
Displays a futuristic AI-Trend Matrix dashboard showing trend direction, strength, and confidence levels for quick decision-making.
Customizable Signal Filters:
Momentum Filter: Ensures signals align with significant price changes, adjusted dynamically using ATR-based volatility.
Higher Timeframe Trend Filter: Requires signals to align with the trend of a user-selected higher timeframe (e.g., 1H).
Lower Timeframe Trend Filter: Prevents signals that conflict with the trend of a user-selected lower timeframe (e.g., 5M).
Volume Filter: Optionally requires above-average volume to confirm signals.
Breakout Filter: Optionally requires price to break previous highs/lows for signal validation.
Repeated Signal Restriction: Prevents consecutive signals in the same trend direction until the trend changes on a user-defined timeframe.
AI-Driven Adaptivity:
Incorporates Cumulative Volume Delta (CVD) to assess buying/selling pressure and classify market volatility (Low, Medium, High).
Uses ATR to dynamically adjust momentum thresholds, ensuring signals adapt to current market conditions.
Optional AI Market Analysis module predicts trends across multiple timeframes by combining trend, momentum, and volatility scores.
Visual Elements:
Plots CHoCH and BOS levels as horizontal lines with distinct colors (aqua for CHoCH sell, lime for CHoCH buy, fuchsia for BOS sell, teal for BOS buy).
Draws dynamic support and resistance trendlines based on short and long-term price action, colored by trend strength.
Displays TP levels and pivot highs/lows for easy reference.
How It Works
The script combines several technical analysis concepts to create a robust trading system:
Market Structure Analysis:
Pivot highs and lows are identified using a user-defined lookback period (Pivot Length).
CHoCH occurs when price crosses below a pivot high (bearish reversal) or above a pivot low (bullish reversal).
BOS occurs when price breaks a previous pivot low (bearish continuation) or pivot high (bullish continuation).
Trend and Momentum Integration:
Trends are determined by comparing price to EMA and VWAP on multiple timeframes.
Momentum is calculated as the percentage price change, with thresholds adjusted by ATR to account for volatility.
"Get Ready" signals appear when momentum approaches the threshold, preparing traders for potential CHoCH or BOS signals.
Signal Filtering:
Filters ensure signals align with user-defined criteria (e.g., trend direction, volume, breakouts).
The Restrict Repeated Signals option prevents over-signaling by requiring a trend change on a specified timeframe before generating a new signal in the same direction.
AI Market Analysis:
The optional AI module calculates a score for each timeframe based on trend direction, momentum, and volatility (ATR compared to its SMA).
Scores are translated into predictions (▲ for bullish, ▼ for bearish, — for neutral), displayed in a dedicated table.
CVD and Volatility Context:
CVD tracks buying vs. selling pressure by accumulating volume based on price direction.
Volatility is classified using CVD magnitude, influencing the script’s visual cues and signal sensitivity.
Why This Combination?
The integration of pivot-based structure analysis, multi-timeframe trend filtering, and AI-driven adaptivity addresses common trading challenges:
Precision: CHoCH and BOS signals focus on key market turning points, reducing noise from minor price fluctuations.
Context: Multi-timeframe analysis ensures trades align with broader market trends, improving win rates.
Adaptivity: ATR and CVD adjustments make the script responsive to changing market conditions, avoiding static thresholds that fail in volatile or quiet markets.
Customization: Extensive input options allow traders to adapt the script to their preferred markets, timeframes, and risk profiles.
Predictive Insight: The AI Market Analysis module provides forward-looking trend predictions, helping traders anticipate market moves.
This combination creates a self-contained system that balances responsiveness with reliability, making it suitable for both novice and experienced traders.
How to Use
Add to Chart:
Apply the indicator to your TradingView chart for any asset and timeframe.
Recommended timeframes: 5M to 1H for scalping/day trading, 4H to D for swing trading.
Configure Inputs:
Pivot Length: Adjust (default 5) to control sensitivity to pivot highs/lows. Lower values for faster signals, higher for stronger confirmations.
Momentum Threshold: Set the minimum price change (default 0.01%) for signals. Increase for stricter conditions.
Take Profit Points: Define TP distance (default 10 points). Adjust based on asset volatility.
Signal Filters: Enable/disable filters (momentum, trend, volume, breakout) to match your strategy.
Higher/Lower Timeframe: Select timeframes for trend alignment (e.g., 1H for higher, 5M for lower).
AI Market Analysis: Enable for predictive trend insights across timeframes.
Get Ready Signals: Enable to see pre-signals for potential setups.
Interpret Signals:
Buy/Sell Labels: Act on green "Buy" or red "Sell" labels, confirming with TP levels and trend direction.
Get Ready Labels: Yellow "Get Ready BUY" or orange "Get Ready SELL" indicate potential setups; prepare but wait for confirmation.
CHoCH/BOS Lines: Use aqua/lime (CHoCH) and fuchsia/teal (BOS) lines as key support/resistance levels.
AI-Trend Matrix: Check the top-right dashboard for trend strength (%), confidence (%), and timeframe-specific trends.
AI Market Analysis Table: If enabled, view predictions (▲/▼/—) for each timeframe to anticipate market direction.
Trading Tips:
Combine signals with other indicators (e.g., RSI, MACD) for additional confirmation.
Use higher timeframe trend alignment for higher-probability trades.
Adjust TP and signal distance based on asset volatility and trading style.
Monitor the AI-Trend Matrix for trend strength; values above 50% or below -50% indicate strong directional bias.
Originality
PowerHouse SwiftEdge AI v2.10 stands out due to its unique blend of:
Adaptive Signal Generation: ATR-based momentum thresholds and CVD-driven volatility context ensure signals remain relevant across market conditions.
Multi-Timeframe Synergy: The script’s ability to filter signals based on both higher and lower timeframe trends provides a rare balance of precision and context.
AI-Powered Insights: The AI Market Analysis module offers predictive capabilities not commonly found in traditional indicators, simulating institutional-grade analysis.
Visual Clarity: The futuristic dashboard and color-coded trendlines make complex data accessible, enhancing usability for all trader levels.
Unlike standalone pivot or trend indicators, this script integrates multiple layers of analysis into a cohesive system, reducing false signals and providing actionable insights without requiring external tools or research.
Limitations
False Signals: No indicator is foolproof; signals may fail in choppy or low-volume markets. Use filters to mitigate.
Timeframe Sensitivity: Performance varies by timeframe and asset. Test settings thoroughly.
AI Predictions: The AI Market Analysis is based on historical data and simplified scoring; it’s not a guaranteed forecast.
Resource Usage: Enabling all filters and AI analysis may slow performance on lower-end devices.
Quantum Delta Zones with EnhancementsQuantum Delta Zones (QDZ)
Short Title: QDZ
Overview
The Quantum Delta Zones (QDZ) is a unique technical indicator designed to highlight high-probability order block zones in the market based on a combination of Delta Sensitivity, order block tightness, and volume-based filters.
This indicator helps traders to identify key support and resistance levels (bullish and bearish order blocks) that are backed by strong volume and optimal market structure. It employs advanced zone detection and automatic zone management (box creation and deletion) to enhance trade analysis.
The primary objective of QDZ is to provide clear, visually appealing support/resistance zones while factoring in market order flow dynamics, ensuring that you are trading at optimal levels with confirmed volume behind it.
Key Features
Delta Sensitivity: The indicator uses a body-to-range ratio to assess the "delta" between the body and wick of each candlestick, helping to identify strong order block formations based on market sentiment.
Order Block Tightness: A filter is used to detect small, tight order blocks where price action shows accumulation (small body candles) near high-probability levels.
Projection Distance: The ability to project the detected order block zones into the future, providing an idea of where price might react based on historical price action.
Fade Strength: Allows you to adjust the transparency of the projected zones, giving you visual flexibility depending on how prominent you want these order blocks to appear.
Volume Filter: A high-volume filter ensures that only zones with substantial volume (based on a moving average) are considered for box creation, preventing false signals and low-probability trades.
Auto Box Deletion: When the market invalidates a zone (price moves beyond the zone’s projected area), the boxes are automatically deleted to keep the chart clean.
Alerts: Built-in alerts for when a bullish or bearish order block is detected, providing real-time notifications of significant potential trading opportunities.
How it Works
Step-by-Step Explanation:
Delta Sensitivity:
A candlestick is considered "Bullish" if the closing price is above the opening price and the body-to-range ratio is above the user-defined delta Sensitivity.
A candlestick is considered "Bearish" if the closing price is below the opening price with the same body-to-range ratio criteria.
Order Block Tightness:
The indicator looks for tight order blocks, where the body-to-range ratio is below the orderBlock Tightness setting, indicating small candles that may represent accumulation or distribution zones.
Volume Filter:
The indicator applies a filter to check if the volume is above the 50-period simple moving average (SMA) and multiplied by the user-defined volume Multiplier. Only zones with sufficient volume are considered.
Box Creation:
Once a valid order block is detected, the corresponding bullish or bearish box is drawn on the chart. These boxes extend forward by the number of bars specified by projection Bars.
Box Deletion:
If the price moves against the order block (for example, if a bullish box is invalidated when the price closes below its bottom), the box is automatically deleted to keep your chart uncluttered.
Alert System:
Alerts can be set for both bullish and bearish order block detection, notifying traders of the formation of a potential market opportunity.
Inputs / Settings
Delta Sensitivity: The ratio between the candlestick body and its range. Higher values mean stronger bullish/bearish pressure is required to trigger the order block detection.
Order Block Tightness: Defines how tight or small an order block should be to qualify for detection. Smaller values are more sensitive to smaller candlesticks.
Projection Distance: The number of bars into the future that the identified order block should be projected. Useful for seeing potential future support/resistance zones.
Fade Strength: Defines the transparency level of the order block boxes. Higher values result in more transparent boxes, lower values make the boxes more opaque.
Auto Delete: Automatically deletes order blocks if they are invalidated by price action.
Volume Filter: When enabled, only order blocks formed with higher-than-average volume will be considered. This helps eliminate low-probability signals.
Volume Multiplier: Multiplies the average volume by this factor to determine whether the current volume qualifies as "high" for an order block detection.
Visuals
Bullish Order Block: A green box is drawn when a bullish order block is detected. The box is projected forward based on the projection Bars setting.
Bearish Order Block: A red box is drawn when a bearish order block is detected. Similar to the bullish box, it is projected forward.
Fading: Both bullish and bearish boxes fade based on the fade Strength, making the most recent zones more visible while fading out older, less relevant zones.
How to Use in Trading
Bullish Order Block:
A bullish order block is a potential buy area. Once price retraces to the bottom of a detected bullish box, traders may consider it a buy zone, especially if it aligns with other technical factors (e.g., support, trend).
Bearish Order Block:
A bearish order block is a potential sell area. Once price retraces to the top of a detected bearish box, traders may consider it a sell zone, particularly in downtrends or near resistance.
Risk Management:
The projection Bars setting helps to set a clear projection distance. Traders should use their own risk management strategies, such as stop-loss placements below/above the order block zones, and take-profit levels based on market conditions.
Volume Confirmation:
The Volume Filter can be very useful for confirming order blocks. Trading only when an order block is accompanied by high volume ensures the zone has institutional or market-maker backing.
Box Deletion:
The Auto Delete feature automatically removes invalidated zones, keeping the chart clean and preventing you from trading out-of-date or broken levels.
Trading Strategy Example
Bullish Setup:
Look for a bullish order block (green box) formed after price has been trending down and volume is high.
Wait for price to retrace back into the order block zone.
Enter long at the bottom of the order block when price shows signs of support (e.g., bullish candlestick pattern).
Set stop-loss below the bottom of the order block and a take-profit target at a significant resistance level.
Bearish Setup:
Look for a bearish order block (red box) formed after price has been trending up and volume is high.
Wait for price to retrace back into the order block zone.
Enter short at the top of the order block when price shows signs of resistance (e.g., bearish candlestick pattern).
Set stop-loss above the top of the order block and a take-profit target at a significant support level.
Limitations
The QDZ indicator is based on historical price action, and while it is designed to identify areas of strong market participation, it does not guarantee future price behavior.
Traders should always combine this indicator with other technical analysis tools, such as trend analysis, oscillators, or fundamental factors, to improve their decision-making process.
Conclusion
The Quantum Delta Zones (QDZ) indicator is a powerful tool for traders looking to pinpoint high-probability order blocks that are backed by volume and strong market dynamics.
It integrates well with existing trading strategies by providing clear, actionable zones of support and resistance, while also offering advanced features like fade strength, auto-deletion, and volume filters.
Whether you're trading intraday or longer-term, this tool can be an essential part of your trading toolbox.
This is an educational idea, trade at your own desecration.
Regards.
Fractal Time GridOverview
The Fractal Time Grid is a Pine-Script v5 TradingView indicator designed to automate session-based entries, stops, and targets. It overlays on your chart, shading trading “quarters” of any chosen timezone, highlighting bullish or bearish bias zones, and marking up to N entries per quarter with on-chart signals. Optional SL/TP rays and built-in alerts make it a one-stop tool for disciplined session trading.
1. User Inputs
All inputs appear in the indicator’s Settings panel:
Category Input Description
Trend & History Trend Source („Auto“, Bull, Bear) Auto-detects daily bias or forces Bull/Bear
History (days) (≥1) How far back (in days) to keep session shading active
Session Limits Max Entries per 6H Quarter (1–10) Caps how many signals you’ll get in each 6-hour window
Risk Management & Visuals Show Entry/SL/TP Rays (On/Off) Toggles horizontal lines and price labels
SL Method („Bar High/Low“ or „1.5× Candle“) How the stop-loss distance is calculated
Risk:Reward Ratio (e.g. 4.0) Multiplier applied to SL distance to plot TP
Ray Length (bars) (≥1) How far right SL/TP rays extend
Session Timing Timezone Offset (hours, –12 to +14) Shifts session shading to your local clock
Colors Bullish/Bearish Session BG opacity Semi-transparent fill for bias zones
Entry candle colors (Bull/Bear) Highlights actual entry bars
2. Bias Determination
Daily Close vs. Open
Fetches prior-day open/close via request.security(..., "D", …)
If close > open → bullish bias; close < open → bearish
Manual Override
“Bullish” or “Bearish” mode forces one direction
“Auto” follows daily bias
3. Time-Grid Logic
Timezone Handling
Converts UTC bar timestamps by your tzOffset input
Quarter Windows (6H each)
Q1: 23:00–05:00 local
Q2: 05:00–11:00
Q3: 11:00–17:00
Q4: 17:00–23:00
Session Shading
During Q1–Q3 (configurable days back), background colored to match bias
4. Entry Logic
Conditions:
Within an active quarter, bias must match candle direction (bullish candle in bullish quarter, etc.)
Entry count for the quarter must be below your maximum
Counters:
Automatically resets on quarter switch
Tracks how many entries you’ve taken, preventing over-trading
5. Visual Signals
Bar Coloring: Flags entry bars green/red
Shape Markers:
BUY label below bar for long entries
SELL label above bar for shorts
6. Optional SL/TP Rays
When “Show Entry/SL/TP Rays” is enabled:
Computes SL distance either from bar high/low or a multiple of candle size
TP = SL × R:R ratio
Draws three horizontal rays (entry, SL, TP) with end-of-ray price labels
7. Alerts
Pre-built alertcondition calls let you create TradingView alerts instantly:
Names: “BUY Alert” and “SELL Alert”
Messages:
arduino
Copy
Edit
BUY {{ticker}} at {{close}} – Q{{quarter}} – {{entryCount}}/{{maxEntriesQuarter}} entries
(same format for SELL)
8. Why Publish This?
Discipline Built-In: Caps over-trading per session
Timezone-Agnostic: Works equally for NY, London, Tokyo sessions
All-in-One: Bias, timing, entries, risk and alerts in one script
Fully Customizable: Colors, risk settings, time windows, and more
ULTIMATE Price Action Oscillator with Volume-Based S/R - MehtaULTIMATE Price Action Oscillator with Volume-Based S/R (UPO-PRO-VOL)
Key Features:
Smart Oscillator: Combines price action momentum with customizable smoothing.
Volume-Confirmed S/R: Identifies high-confidence Support/Resistance levels when price crosses above-average volume.
Real-Time Tracking: Displays S/R levels with timestamps (IST) in a clean table.
Visual Alerts: Dashed lines + labels mark key levels for easy spotting.
⚠️ STRONG DISCLAIMER
❌ This indicator is for educational purposes only.
❌ Not financial advice. Trading involves risk—always conduct your own analysis.
❌ No guarantee of accuracy. Past performance ≠ future results.
❌ Adjust settings carefully. Test in a demo account first.
❌ Volume thresholds may vary by asset. Customize Volume Threshold Multiplier as needed.
📝 How to Use:
S/R Signals: Green "S" = Support (oscillator crosses up with high volume). Red "R" = Resistance (oscillator crosses down with high volume).
Table: Tracks latest S/R prices and formation time (IST).
Tweak Settings: Adjust Oscillator Length, Smoothing, and Volume Threshold for your trading style.
Tip: Combine with trend analysis for higher-probability trades!
Script Settings (Default):
Oscillator Length: 5 (Can be adjusted upto a maximum value of 200)
Smoothing: 3
S/R Lookback: 100 bars
Volume Threshold: 1.5x avg volume
Initial Imbalance [First FVG - ICT] v1Initial Imbalance v1
This indicator identifies the first Fair Value Gap (FVG) at the start of a user-defined session, inspired by The Inner Circle Trader. It helps traders spot initial imbalance in a sessions price action, offering filter options to refine FVG detection and optional session high/low lines for context.
Features:
Detects the first bullish or bearish FVG at the session start (default: 08:30). ISE: Sets a custom session start time (hour and minute).
Filters FVGs by size: None, ATR-based, or Points-based.
Displays session high/low lines (optional) to visualize the session range.
Customizable colors for bullish and bearish FVGs (background and border derived from a single color input).
Alerts for new FVGs and mitigated FVGs.
Settings:
Session Start Time: Define the hour and minute for the session start.
FVG Filter Type: Choose None, ATR, or Points to filter FVGs by size.
ATR Multiple / Minimum Points: Set the minimum FVG size for ATR or Points filters.
Show Session High/Low Lines: Toggle visibility of session range lines.
Bullish/Bearish FVG Colors: Customize colors for FVGs.
Technical Details:
Overlay indicator, displayed directly on the price chart.
This indicator is ideal for traders seeking to identify key price imbalances at the start of a session, with flexible filtering and visualization options.
Overnight ES Strategy: CBC + Fractal + RSI + ATR FilterThis script is designed for overnight trading of the E-mini S&P 500 futures (ES) between 6 PM and 11 PM EST.
It combines multiple technical confluences to generate high-probability buy and sell signals, focusing on volatility-rich, low-liquidity evening sessions.
Key Features:
Candle Body Confluence (CBC) Approximation:
Identifies candles with small real bodies compared to total range, simulating consolidation zones where price is likely to reverse.
Williams Fractal Confirmation:
Detects local tops and bottoms based on 5-bar fractal reversal patterns, helping validate breakout or reversal points.
RSI Filter:
Ensures momentum is supportive — buys only when RSI < 35 (oversold) and sells only when RSI > 65 (overbought).
ATR Volatility Filter:
Trades are only allowed if the Average True Range (ATR) exceeds a user-defined threshold, filtering out low-volatility, risky environments.
Time Session Control:
Signals are only generated during the user-defined evening session (default: 6 PM to 11 PM EST) to match market behavior.
Real-Time Alerts Enabled:
Alerts can be set for BUY or SELL conditions, enabling mobile notifications, emails, or pop-ups without constant chart monitoring.
Recommended Settings:
Chart Timeframe: 15-minute or 30-minute candles
Assets: ES Mini (ES1!), NQ Mini, or other CME futures
Session: New York Time (EST)
ATR Threshold: Adjust based on market conditions; 5.0 suggested starting point for ES Mini on 15m.
Important:
This script only plots signals, it does not auto-execute trades.
Always backtest and paper trade before using live capital.
Volatility can vary; consider adjusting RSI and ATR filters based on market environment.
Credits:
Script designed based on confluence of price action, momentum, reversal structure, and volatility filtering principles used by professional traders.
Inspired by Candle Body Confluence (CBC) theory and Williams fractal techniques.
Market Structure Confluence [AlgoAlpha]OVERVIEW
This script is called "Market Structure Confluence" and it combines classic market structure analysis with a dynamic volatility-based band system to detect shifts in trend and momentum more reliably. It tracks key swing points (higher highs, higher lows, lower highs, lower lows) to define the trend, then overlays a basis and ATR-smoothed volatility bands to catch rejection signals and highlight potential inflection points in the market.
CONCEPTS
Market structure is the foundation of price action trading, focusing on the relationship between successive highs and lows to understand trend conditions. Break of Structure (BOS) and Change of Character (CHoCH) events are important because they signal when a market might be shifting direction. This script enhances traditional structure by integrating volatility bands, which act like dynamic support/resistance zones based on ATR, allowing it to capture momentum surges and rejections beyond just structural shifts.
FEATURES
Swing Detection: It detects and labels Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL) based on user-defined time horizons, helping traders quickly spot the trend direction.
BOS and CHoCH Lines: When a previous swing point is broken, the script automatically plots a Break of Structure (BOS) line. If the break represents a major trend reversal (a CHoCH), it is marked differently to separate simple breakouts from real trend changes.
Rejection Signals: Special arrows plot when price pierces a band and then pulls back, suggesting a potential trap move or rejection signal in the direction of the new structure.
Alerts: Built-in alerts for structure breaks, CHoCHs, swing points, rejections at bands, and trend flips make it easy to automate setups without manually watching the chart.
USAGE
Set your preferred swing detection size depending on your timeframe and trading style — smaller numbers for intraday, larger numbers for swing trading. Choose whether you want BOS/CHoCH confirmed by candle closes or by wick breaks. Use the volatility band settings to fine-tune how tightly or loosely the bands hug the price, adjusting sensitivity based on market conditions. When a BOS or CHoCH occurs, or when a rejection happens at the bands, the script will highlight it clearly and optionally trigger alerts. Watch for combinations where both structure breaks and volatility band rejections happen together — those are high-quality trade signals. This setup works best when used with basic trend filtering and higher timeframe confirmation.
Swing High/Low Scalper(Mastersinnifty)Overview
The Swing High/Low Scalper is designed for traders seeking structured entries and disciplined stop-loss planning during momentum shifts. It combines smoothed Force Index readings with swing high/low analysis to identify moments where both momentum and structural price levels align.
When a new directional bias is confirmed, the indicator plots clear entry signals and dynamically calculates the nearest logical stop-loss level based on recent swing points.
---
Core Logic
- Force Index Bias Detection
- The Force Index (price × volume change) is smoothed with an EMA to determine sustained bullish or bearish momentum.
- Signal Memory and Noise Reduction
- The indicator remembers the last signal (buy/sell) and only triggers a new signal when the bias changes, helping avoid redundant entries in sideways or noisy conditions.
- Swing-based Stop-Loss Calculation
- Upon signal confirmation, the script automatically plots a stop-loss label near the most recent swing low (for buys) or swing high (for sells).
- If conditions are extreme, fallback safety checks are used to validate the stop-loss placement.
---
Key Features
- Dynamic, structure-based stop-loss plots at every trade signal.
- Visual background bias:
- Green tint = Bullish bias
- Red tint = Bearish bias
- Minimalist and clean chart visualization for easy interpretation.
- Designed for scalability across timeframes (from 1-minutes to daily charts).
---
Why It’s Unique
- Unlike simple momentum oscillators or swing indicators, this tool integrates a state-tracking mechanism.
- A signal is only generated when a true shift in directional force occurs and swing structure supports the move, seeking to catch only meaningful changes rather than every minor fluctuation.
- This dual-filter approach emphasizes quality over quantity, aiming for disciplined entries with risk levels derived from actual price behavior, not arbitrary formulas.
---
How to Use
- Apply the Script to your desired chart and timeframe.
- Look for Signals:
- Green Up Arrow = Buy Signal
- Red Down Arrow = Sell Signal
- Observe Stop-Loss Labels
- Use the plotted SL labels for setting exit points based on recent swing structure.
- Monitor Background Bias:
- Green or Red background hints at prevailing directional momentum.
---
Important Disclaimer
This tool is intended to assist technical analysis and trade planning.
It does not provide financial advice or guarantee any future performance.
Always use additional risk management practices when trading.
Swing + 3-Bar Breakout(Mastersinnifty)Overview
This script is a hybrid trading tool combining swing-based structural analysis, momentum filtering, and breakout validation — designed to detect early reversals and confirm trend continuations within a single unified system.
It integrates five major components:
- ZigZag Structural Detection — to identify critical swing highs and lows.
- Momentum Validation — using RSI and Rate of Change (ROC) to confirm the strength behind swings.
- Three-Bar Breakout Confirmation — spotting trend continuation beyond swing structures.
- Dynamic Trailing Stop System — managing trades adaptively via ATR-based trailing stops.
- Projected Target Levels — estimating future price destinations based on measured swings.
---
What Makes This Script Unique
Rather than using standard indicators in isolation, this script layers multiple conditions sequentially and contextually:
- Structural Foundation: Identifies pivots through a tight ZigZag algorithm tuned with a low-depth setting for early detection.
- Momentum Checkpoint: Validates pivots only if RSI extremes and ROC momentum surges align, reducing false breakouts during sideways movements.
- Breakout Validation: Confirms trend continuation when price breaches critical multi-bar highs/lows post-swing formation.
- Risk-Managed Progression: Initiates adaptive ATR-based trailing stops immediately after signal generation, tightening risk dynamically as trends unfold.
- Target Projection: Estimates potential move size by projecting the magnitude of the last completed swing, offering realistic price milestones.
This combination provides a dual-purpose tool for both reversals and breakouts, allowing flexible trading styles within a single indicator.
---
How the Script Works
- Swing Detection
- A swing low is identified when a price bottom forms (via ZigZag) and momentum conditions are met (RSI < 20, ROC > +0.5).
- A swing high is identified when a price top forms and momentum conditions are met (RSI > 80, ROC < -0.5).
- Breakout Confirmation
- After a swing is detected, if price crosses above/below a three-bar swing structure, a secondary breakout signal is triggered.
- Trailing Stop Activation:
- Upon a confirmed swing or breakout, an ATR-multiplied trailing stop is initialized below/above the entry point to secure profits dynamically.
- Projection Logic
- Swing height is measured from the latest high-low sequence, and potential future targets are plotted for visual guidance.
---
Who Can Benefit From This Indicator
- Swing Traders — who seek early entries around reversal zones.
- Scalpers & Intraday Traders — needing fast-reacting momentum-based confirmation.
- Breakout Traders — to time entries after multi-bar compressions.
- Risk Managers — through integrated ATR trailing stops for dynamic exit management.
- Price Action Analysts — utilizing projected swing targets for strategic planning.
---
How to Use
- Entry Identification
- Look for buy signals at swing lows with strong positive momentum.
- Look for sell signals at swing highs with strong negative momentum.
- Use breakout confirmations to validate the trend continuation beyond swings.
- Risk Management
- Monitor trailing stop lines to track trade health.
- Watch projected targets to anticipate realistic move completions.
- Chart Visibility
- All plotted points, breakout markers, trailing stops, and projected levels are generated automatically for clarity.
---
Disclaimer
This script is intended for educational and analytical purposes only.
It does not constitute financial advice, and past performance does not guarantee future results.
All trading involves risk. Users are responsible for their own trading decisions.
Impulse Indicator New Capital FXThe Impulse Indicator is designed for traders who demand precision when identifying explosive market moves. This tool detects powerful short-term impulses by combining ATR-based volatility analysis with tactical price action patterns.
Key Features:
1. Dynamic Impulse Detection: Spots major price shifts based on a 5-bar momentum structure and ATR volatility filter.
2. Adaptive Volatility Filter: Filters out weak signals with a customizable ATR multiplier.
3. Cooling Period Logic: Reduces signal noise by enforcing a minimum bar spacing between impulses.
4. Clear Visual Signals: Plots "IMPULSE" labels directly on your chart for instant recognition.
How It Works:
The markets explode in a short-period of time, the indicator spots the move and plots a label, now if you're trading mean reversion pairs, you can look to go against the impulse, or if you want to catch trends you can use the indicator for potential continuation setups.
Customizable Settings:
ATR Multiplier (Best with 3,4,5)
Cooling Period (Standard is 5 bars, which is good)
ATR Length (The standard 14 period)
Anchored Moving Average by TradeSeekersThis script plots an SMA that resets based on the selected anchored timeframe, by default it is 1D.
There exists some other AMA scripts but I didn't find anything that plotted the non-anchored MA alongside the AMA and displayed the point of convergence.
The non-anchored MA presents slightly opaque as a circle plot until the anchored MA converges.
Until the anchored MA contains enough data an simple average is calculated of all source prices collected starting from the anchor.
For example, if the timeframe has reset and source is set to closing prices, then after the first bar the AMA is essentially the last closing price. After two bars have closed then the AMA is an average of the last two closing prices.
Future updates may add additional average types as time permits.