Entropy Chart Analysis [PhenLabs]📊 Entropy Chart analysis -
Version: PineScript™ v6
📌 Description
The Entropy Chart indicator analysis applies Approximate Entropy (ApEn) to identify zones of potential support and resistance on your price chart. It is designed to locate changes in the market’s predictability, with a focus on zones near significant psychological price levels (e.g., multiples of 50). By quantifying entropy, the indicator aims to identify zones where price action might stabilize (potential support) or become randomized (potential resistance).
This tool automates the visualization of these key areas for traders, which may have the effect of revealing reversal levels or consolidation zones that would be hard to discern through traditional means. It also filters the signals by proximity to key levels in an attempt to reduce noise and highlight higher-probability setups. These dynamic zones adapt to changing market conditions by stretching, merging, and expiring based on user-inputted rules.
🚀 Points of Innovation
Combines Approximate Entropy (ApEn) calculation with price action near significant levels.
Filters zone signals based on proximity (in ticks) to predefined significant price levels (multiples of 50).
Dynamically merges overlapping or nearby zones to consolidate signals and reduce chart clutter.
Uses ApEn crossovers relative to its moving average as the core trigger mechanism.
Provides distinct visual coloring for bullish, bearish, and merged (mixed-signal) zones.
Offers comprehensive customization for entropy calculation, zone sensitivity, level filtering, and visual appearance.
🔧 Core Components
Approximate Entropy (ApEn) Calculation : Measures the regularity or randomness of price fluctuations over a specified window. Low ApEn suggests predictability, while high ApEn suggests randomness.
Zone Trigger Logic : Creates potential support zones when ApEn crosses below its average (indicating increasing predictability) and potential resistance zones when it crosses above (indicating increasing randomness).
Significant Level Filter : Validates zone triggers only if they occur within a user-defined tick distance from significant price levels (multiples of 50).
Dynamic Zone Management : Automatically creates, extends, merges nearby zones based on tick distance, and removes the oldest zones to maintain a maximum limit.
Zone Visualization : Draws and updates colored boxes on the chart to represent active support, resistance, or mixed zones.
🔥 Key Features
Entropy-Based S/R Detection : Uses ApEn to identify potential support (low entropy) and resistance (high entropy) areas.
Significant Level Filtering : Enhances signal quality by focusing on entropy changes near key psychological price points.
Automatic Zone Drawing & Merging : Visualizes zones dynamically, merging close signals for clearer interpretation.
Highly Customizable : Allows traders to adjust parameters for ApEn calculation, zone detection thresholds, level filter sensitivity, merging distance, and visual styles.
Integrated Alerts : Provides built-in alert conditions for the formation of new bullish or bearish zones near significant levels.
Clear Visual Output : Uses distinct, customizable colors for buy (support), sell (resistance), and mixed (merged) zones.
🎨 Visualization
Buy Zones : Represented by greenish boxes (default: #26a69a), indicating potential support areas formed during low entropy periods near significant levels.
Sell Zones : Represented by reddish boxes (default: #ef5350), indicating potential resistance areas formed during high entropy periods near significant levels.
Mixed Zones : Represented by bluish/purple boxes (default: #8894ff), formed when a buy zone and a sell zone merge, indicating areas of potential consolidation or conflict.
Dynamic Extension : Active zones are automatically extended to the right with each new bar.
📖 Usage Guidelines
Calculation Parameters
Window Length
Default: 15
Range: 10-100
Description: Lookback period for ApEn calculation. Shorter lengths are more responsive; longer lengths are smoother.
Embedding Dimension (m)
Default: 2
Range: 1-6
Description: Length of patterns compared in ApEn calculation. Higher values detect more complex patterns but require more data.
Tolerance (r)
Default: 0.5
Range: 0.1-1.0 (step 0.1)
Description: Sensitivity factor for pattern matching (as a multiple of standard deviation). Lower values require closer matches (more sensitive).
Zone Settings
Zone Lookback
Default: 5
Range: 5-50
Description: Lookback period for the moving average of ApEn used in threshold calculations.
Zone Threshold
Default: 0.5
Range: 0.5-3.0
Description: Multiplier for the ApEn average to set crossover trigger levels. Higher values require larger ApEn deviations to create zones.
Maximum Zones
Default: 5
Range: 1-10
Description: Maximum number of active zones displayed. The oldest zones are removed first when the limit is reached.
Zone Merge Distance (Ticks)
Default: 5
Range: 1-50
Description: Maximum distance in ticks for two separate zones to be merged into one.
Level Filter Settings
Tick Size
Default: 0.25
Description: The minimum price increment for the asset. Must be set correctly for the specific instrument to ensure accurate level filtering.
Max Ticks Distance from Levels
Default: 40
Description: Maximum allowed distance (in ticks) from a significant level (multiple of 50) for a zone trigger to be valid.
Visual Settings
Buy Zone Color : Default: color.new(#26a69a, 83). Sets the fill color for support zones.
Sell Zone Color : Default: color.new(#ef5350, 83). Sets the fill color for resistance zones.
Mixed Zone Color : Default: color.new(#8894ff, 83). Sets the fill color for merged zones.
Buy Border Color : Default: #26a69a. Sets the border color for support zones.
Sell Border Color : Default: #ef5350. Sets the border color for resistance zones.
Mixed Border Color : Default: color.new(#a288ff, 50). Sets the border color for mixed zones.
Border Width : Default: 1, Range: 1-3. Sets the thickness of zone borders.
✅ Best Use Cases
Identifying potential support/resistance near significant psychological price levels (e.g., $50, $100 increments).
Detecting potential market turning points or consolidation zones based on shifts in price predictability.
Filtering entries or exits by confirming signals occurring near significant levels identified by the indicator.
Adding context to other technical analysis approaches by highlighting entropy-derived zones.
⚠️ Limitations
Parameter Dependency : Indicator performance is sensitive to parameter settings ( Window Length , Tolerance , Zone Threshold , Max Ticks Distance ), which may need optimization for different assets and timeframes.
Volatility Sensitivity : High market volatility or erratic price action can affect ApEn calculations and potentially lead to less reliable zone signals.
Fixed Level Filter : The significant level filter is based on multiples of 50. While common, this may not capture all relevant levels for every asset or market condition. Accurate Tick Size input is essential.
Not Standalone : Should be used in conjunction with other analysis methods (price action, volume, other indicators) for confirmation, not as a sole basis for trading decisions.
💡 What Makes This Unique
Entropy + Level Context : Uniquely combines ApEn analysis with a specific filter for proximity to significant price levels (multiples of 50), adding locational context to entropy signals.
Intelligent Zone Merging : Automatically consolidates nearby buy/sell zones based on tick distance, simplifying visual analysis and highlighting stronger confluence areas.
Targeted Signal Generation : Focuses alerts and zone creation on specific market conditions (entropy shifts near key levels).
🔬 How It Works
Calculate Entropy : The script computes the Approximate Entropy (ApEn) of the closing prices over the defined Window Length to quantify price predictability.
Check Triggers : It monitors ApEn relative to its moving average. A crossunder below a calculated threshold (avg_apen / zone_threshold) indicates potential support; a crossover above (avg_apen * zone_threshold) indicates potential resistance.
Filter by Level : A potential zone trigger is confirmed only if the low (for support) or high (for resistance) of the trigger bar is within the Max Ticks Distance of a significant price level (multiple of 50).
Manage & Draw Zones : If a trigger is confirmed, a new zone box is created. The script checks for overlaps with existing zones within the Zone Merge Distance and merges them if necessary. Zones are extended forward, and the oldest are removed to respect the Maximum Zones limit. Active zones are drawn and updated on the chart.
💡 Note:
Crucially, set the Tick Size parameter correctly for your specific trading instrument in the “Level Filter Settings”. Incorrect Tick Size will make the significant level filter inaccurate.
Experiment with parameters, especially Window Length , Tolerance (r) , Zone Threshold , and Max Ticks Distance , to tailor the indicator’s sensitivity to your preferred asset and timeframe.
Always use this indicator as part of a comprehensive trading plan, incorporating risk management and seeking confirmation from other analysis techniques.
Trend Analizi
MissedPrice Volume Method[KiomarsRakei]█ Core Concept:
This script detects price zones that are highly likely to be revisited — areas where price moved too quickly to fully fill market activity. Using sharp volume shifts and volatility filters, the script identifies these “missed” levels and generates signals pointing toward them.
Signals are generated before price reaches the zone, allowing you to analyze price behavior both before and after the zone is touched. These zones often act like magnets for price, making them ideal for short-term.
Examples of signals and high hit rate of Missed zones
█ How It Works:
The script monitors 3-candle volume and price behavior to detect moments where volume accelerates abnormally compared to recent averages. When a potential missed zone is found and price hasn’t revisited it yet, a signal is created in advance, pointing to that zone as a likely future target.
█ Features:
Zone Visualization: Dynamic boxes show price targets based on missed volume areas.
Pre-Zone Signals: Alerts fire before price returns, offering early trade setups.
Stat Tracking System: Automatically logs signals, win rate, and average profit.
Live Performance Table: On-chart stats including hit/miss breakdown and late-return analysis.
Works on All Markets: Compatible with any chart that provides volume — crypto, forex, indices, or stocks.
A signal is considered successful when price touches the zone. However, not all zones are guaranteed to be revisited.
█ Key Inputs & Stats Table:
Volume Filters: Control signal sensitivity using min/max relative volume shift.
Zone & Line Settings: Adjust how long the zone stays visible and whether entry lines are drawn.
Custom Colors: Choose colors for buy/sell zones, lines, and visuals.
📊 Table Metrics:
Total Signals: Count of all generated signals.
Win Rate: % of signals where price returned to the zone (hit = touched the zone, regardless of timing).
Bad Signals: Signals that took too long to hit or were never hit.
Bad but Hit: Signals marked bad but eventually touched the zone.
Bad signals are marked in red. These indicate zones that price failed to reach within the expected time window, showing where the script identified a target that remained unfulfilled.
LibertyFocused®Description:
LibertyFocused® 📊💼 is a powerful, disciplined trading strategy designed to capture market trends with precision! 🚀 Built for TradingView, it combines technical indicators, risk management, and clear visual cues to guide your trades. This strategy identifies high-probability long and short opportunities during active market hours, using a blend of EMAs, RSI, VWAP, and daily trend filters. With customizable risk settings and dynamic stop-loss/take-profit levels, it’s your key to structured, confident trading! 💪✨
How It Works (Made Simple! 😎):
1-Trend Confirmation 📈: Uses 21-period and 9-period EMAs to ensure trades align with the market’s direction. Longs require price above both EMAs; shorts require price below.
2-Momentum Check 📡: RSI (>50 for longs, <50 for shorts) and VWAP (price above for longs, below for shorts) confirm momentum.
3-Daily Trend Filter 🗓️: Requires two consecutive bullish daily candles for longs or bearish for shorts to ensure a strong trend backdrop.
4-Trade Timing ⏰: Trades are restricted to active market hours (8:00–16:00 EST) with sufficient volatility (based on ATR).
5-Risk Management 💸: Risk per trade is a user-defined percentage of capital (e.g., 1%). Position size is calculated to risk only this amount, with stop-loss set at recent swing low/high.
6-Profit Targeting 🎯: Take-profit is set at a customizable reward-to-risk ratio (default 3:1), ensuring disciplined exits.
7-Visual Clarity 🖼️: Entry, stop-loss, and take-profit levels are plotted as colored lines with labels showing potential loss/reward in dollars. Debug labels highlight when conditions are met! 🔍
Why LibertyFocused®? 🌟
Structured & Reliable ✅: Combines multiple indicators for robust trade signals.
Risk-First Approach 🛡️: Protects your capital with precise position sizing and stop-losses.
Customizable 🎨: Adjust risk percentage, reward ratio, and colors to suit your style.
User-Friendly 🖱️: Clear visuals and debug labels make it easy to understand signals.
Time-Savvy ⏱️: Limits trades to high-liquidity hours, avoiding choppy markets.
How to Use:
Add LibertyFocused® to your TradingView chart.
Configure settings: initial capital, risk percentage, reward-to-risk ratio, and colors.
Monitor signals during the trading window (8:00–16:00 EST).
Watch the chart for entry/stop-loss/take-profit lines and debug labels to track conditions! 📈
Rango HAThis script calculates the range of Heikin-Ashi candles and offers a unique perspective on the expansion and contraction of the smoothed price. The "Range Scale" option allows users to adjust the indicator's sensitivity for backtesting and comparison with other indicators.
Display:
Dynamically colored columns indicate changes in the range compared to the previous candle, differentiating between bullish and bearish for momentum and gray columns for weakness or exhaustion.
Analytical examples:
In this case the price tries to cross a previous low but it does so with grey candles and divergence in the oscillator, this is a possible bullish scenario and all that remains is to wait for a signal such as a bullish engulfing candle with ascending columns.
Here, two hypothetical trades are observed using the same strategy. The price struggles to break and remain above a previous high. We observe divergence in the oscillator and gray or low dango candles in the price, followed by a bearish engulfing candle that acts as a trigger. The same thing works in reverse in the bullish example seen on the right.
Another case where engulfing candles act as triggers that indicate an increase in momentum after signs of weakness.
I recommend using this indicator in conjunction with price action, as seen above, to identify weak movements and the beginnings of strong movements, relative to previous highs and lows. I add candle colors relative to the oscillator bar size to improve the clarity of the price reading, but I don't add signals to avoid cluttering the price display. Furthermore, if the signals aren't used in conjunction with other key levels, it can lead to poor decisions.
All images shown are on the M1 timeframe, but everyone can use whatever they like.
I hope it helps. If you want to make any changes or additions, please feel free to request them in the comments.
Good luck with your trading!
Smart Trail Signal System PRO (Strong Signals Edition)Smart Trail Signal System PRO is a precision-focused indicator designed for traders seeking powerful trend-following and reversal signals. Built with enhanced signal strength filters and a dynamic trailing mechanism, it helps users confidently navigate market momentum with clearly defined trade setups.
Dynamic Buy/Sell signals optimized for trend reversals and continuations
Smart trailing system with color-coded direction tracking
Real-time Take Profit and Stop Loss label generation
Volume-enhanced signal filtering (optional toggle)
Use Cases:
Identify strong bullish/bearish impulses
Confirm trades using strength bias dashboard
Visually manage risk with projected SL/TP levels
Adapt to multiple market conditions, from trends to high-volatility setups
Best For:
Scalpers, Intraday Traders, and Swing Traders looking for refined signal quality and real-time actionable visuals.
Disclaimer:
This indicator is for educational and informational purposes only. It does not constitute financial advice or a trading recommendation. Always conduct your own research and consult with a licensed financial advisor before making any investment decisions. The author is not responsible for any financial losses incurred through the use of this tool. Trading involves risk, and past performance does not guarantee future results.
Trendline Breakouts With Targets [ Custom by MinhVo ]Trendline Breakout Strategy With Stoploss and Target
Each order if matched stoploss will lose 10% of current balance value and the order have ratio R:R is 1:1.2 as default.
LANZ Strategy 4.0🔷 LANZ Strategy 4.0 — Trend Impulse Detection with Risk Management
LANZ Strategy 4.0 is a multi-indicator trend strategy designed for short to medium-term trading on any asset or timeframe. It combines Parabolic SAR, Supertrend, ADX, and time zone highlighting to detect and confirm trend impulses, while managing entries with dynamic Stop Loss (SL) and Take Profit (TP) levels.
🧠 Core Components:
Parabolic SAR: Identifies short-term trend reversals.
Supertrend: Highlights trend continuation zones.
ADX Filter: Ensures trend strength by filtering entries when ADX exceeds a defined threshold.
Impulse Detection Logic: Detects and confirms movement impulses with a counter, only generating trade signals on confirmed sequences.
Risk Management: Calculates dynamic SL/TP with a default risk-reward ratio of 1:2, minimum SL of 4 pts, and maximum of 12 pts.
📊 Visual Features:
Trend lines from Supertrend and SAR.
Colored background zones for different sessions (Asia, NY).
Labels and lines for entry, SL, and TP.
Movement number labels help visualize impulse progression.
Alerts when a new impulse is confirmed.
⚙️ How It Works:
The strategy waits for a confirmed impulse (i.e., change in SAR + Supertrend + ADX filter).
Once a valid impulse is confirmed:
A trade signal (BUY/SELL) is shown.
SL and TP levels are calculated and drawn.
The script monitors live price to determine if SL or TP is hit.
Impulse counter advances to label movement progression.
🔔 Alerts:
You will receive an alert each time a new valid impulse is confirmed, indicating a potential trading opportunity.
📝 Notes:
Script is intended for discretionary or assisted trading, not automated execution.
Works best during active sessions with visible trend direction.
You can adjust ATR period, multiplier, SL padding, and impulse thresholds.
Credits:
Developed by LANZ combines established technical indicators and original impulse-count logic.
Trend Signals with TP & SL [Mr Woradet]THIS SCRITP IS FOR A FRIENDS USE ONLY BY BENZ ,
Full Trend Following System
Custom entry/exit signals
Dynamic stop loss calculations
MA Cloud visualization
Multi-timeframe analysis
Gamma + Fibonacci EMA Bands# Gamma + Fibonacci EMA Bands
## Overview
The Gamma + Fibonacci EMA Bands indicator combines two powerful analytical approaches: Gamma-weighted Exponential Moving Averages and Fibonacci sequence-based standard EMAs. This dual system creates a comprehensive "band" structure that helps identify trend direction, strength, and potential reversal zones with greater precision than single moving average systems.
## Features
- **Gamma-weighted EMAs**: Three customizable Gamma EMAs (fast-responding) with adjustable gamma parameters
- **Fibonacci Sequence EMAs**: Six standard EMAs based on the Fibonacci sequence (34, 55, 89, 144, 233, 377)
- **Visual Band Structure**: Color-coded for instant visual analysis
- **Trend Confirmation**: Multiple timeframe validation through varied moving average periods
- **Support/Resistance Identification**: Natural price reaction zones highlighted by EMA confluences
## How It Works
The indicator uses two complementary EMA systems:
1. **Gamma EMAs** (γ-EMAs) - These responsive moving averages use a direct gamma weighting factor (between 0-1) rather than a period length. Lower gamma values create smoother lines, while higher values create more responsive ones. These react quickly to price changes and serve as short-term trend indicators.
2. **Fibonacci EMAs** - These traditional EMAs use period lengths based on the Fibonacci sequence (34, 55, 89, 144, 233, 377). They provide longer-term trend context and naturally identify key support/resistance levels that align with market psychology.
## Interpretation
### Trend Direction
- When price is above all bands: Strong bullish trend
- When price is below all bands: Strong bearish trend
- When price is between bands: Consolidation or trend transition
### Support/Resistance
- Gamma EMAs (purple shades): Short-term dynamic support/resistance
- Fibonacci EMAs (orange/red shades): Stronger, longer-term support/resistance
### Trend Strength
- Wider band separation: Stronger trend momentum
- Compressed bands: Consolidation or trend weakness
### Reversal Signals
- Price breaking through multiple bands: Potential trend reversal
- Gamma EMAs crossing Fibonacci EMAs: Changing momentum
## Settings
- **Source**: Price data source (default: close)
- **Gamma 1**: Fast γ-EMA value (default: 0.2)
- **Gamma 2**: Medium γ-EMA value (default: 0.5)
- **Gamma 3**: Slow γ-EMA value (default: 0.8)
## Notes
This indicator works best on higher timeframes (1H+) and liquid markets. The Gamma-weighted EMAs provide faster signals while the Fibonacci sequence EMAs provide reliable support/resistance levels that often align with key market turning points.
For optimal use, watch for price interaction with these bands and how the bands interact with each other to confirm trend changes before they become obvious to the majority of market participants.
ATS LOGIC CHART 云超级数字净量主图 V5.0In complex market environments, the Delta Net Volume chart provides you with clear directional guidance. Whether it's capturing trends, avoiding risks, optimizing strategies, or enhancing returns, it is an indispensable tool for you. Let the data speak and make trends clearly visible—the Delta Net Volume chart helps you navigate the market steadily and confidently!
Nifty Sectoral Performance ComparisonThis Pine Script indicator tracks and compares the percentage performance of Indian sectoral and thematic indices (e.g., Nifty 50, Nifty Bank, Nifty IT) relative to their starting price in a user-defined timeframe. Performance is plotted as colored lines on the chart, with transparent labels showing percentage changes. A user-configurable label offset ensures clarity. Ideal for analyzing sectoral trends in the Indian market.
Features
Multi-Index Tracking:
Monitors up to 21 indices in five groups:
Core/Large Cap: Nifty 50, Nifty Bank, Nifty Auto, Nifty IT, Nifty FMCG, Nifty Fin Services
Thematic/Sectoral: SENSEX, Nifty Healthcare, Nifty Metal, Nifty Pharma
Bank Sub-Indices & Realty: Nifty Pvt Bank, Nifty PSU Bank, Nifty Realty
Consumption & Energy: Nifty ConsDurables, Nifty Oil & Gas
MidSmall Cap Thematic: Nifty MidSmFinSrv, S&P BSE Healthcare, Nifty MidSmIT&Tel
Calculates performance as the percentage change from the first valid close in the timeframe.
Customizable Display:
Toggle each index on/off via boolean inputs.
Define ticker symbols and colors for each index (e.g., Blue for Nifty 50, Green for Nifty Fin Services).
Colors are preset but editable for clear differentiation.
Labeling:
Displays index name and performance (e.g., "Nifty 50: 12.34%") with transparent labels (no background).
Labels match the plot color and are positioned using a user-defined offset (in bars) to avoid overlap.
Precision and Timeframe:
Shows performance with two decimal places.
Supports custom timeframes (e.g., daily, weekly) for flexible analysis.
Overlay Mode:
Plots performance lines on the price chart for direct comparison with price movements.
Inputs
Label Offset (Bars): Set label position left of the current bar (default: 5, min: 0).
Show : Enable/disable each index’s plot and label.
Ticker : Specify ticker symbols (e.g., NSE:NIFTY).
Color : Choose plot and label colors.
How It Works
Performance Calculation:
Fetches closing prices via request.security for the specified ticker and timeframe.
Captures the first valid close as the starting price.
Computes performance: ((current_price / start_price) - 1) * 100.
Handles invalid data (e.g., na or zero start price) by returning na.
Plotting:
Plots enabled indices with valid performance as lines (linewidth: 1) in user-defined colors.
Labeling:
Creates labels for enabled indices with valid performance at bar_index - label_offset and the performance value.
Labels show the index name and percentage (e.g., "Auto: 5.67%") in the plot’s color, with no background.
Usage
Setup: Apply to a TradingView chart and set the desired timeframe.
Customize:
Enable relevant indices, adjust tickers, and modify colors.
Set Label Offset to position labels clearly.
Analyze:
Compare lines to spot outperforming/underperforming sectors.
Use labels for precise performance values.
Pair with price action or other indicators for trading insights.
ETHBTC Z-ScoreETHBTC Z-Score Indicator
Key Features
Z-Score Calculation: Measures how far ETHBTC deviates from its mean over a user-defined period.
Linear Regression Line: Tracks the trend of the Z-score using least squares regression.
Standard Deviation Bands: Plots ±N standard deviations around the regression line to show expected Z-score range.
Dynamic Thresholds: Highlights overbought (e.g. Z > 1) and oversold (e.g. Z < -2) zones using color and background fill.
Visual & Table Display: Color-coded bars, horizontal level fills, and optional table showing regression formula and R².
Usage
Spot overbought/oversold extremes when Z-score crosses defined thresholds.
Use the regression line as a dynamic baseline and its bands as range boundaries.
Monitor R² to gauge how well the regression line fits the recent Z-score trend.
Example
Z > 1: ETHBTC may be overbought — potential caution or mean-reversion.
Z < -2: ETHBTC may be oversold — possible buying opportunity.
Z near regression line: Price is in line with recent trend.
CVD Candlestick - Milana TradesThe CVD Candlestick indicator visualizes Cumulative Volume Delta (CVD) in the form of candlesticks, providing a deeper insight into intrabar buying and selling pressure.
Instead of plotting CVD as a simple line, this indicator displays it as a candle chart, allowing traders to analyze the momentum of volume delta just like price action.
How it Works
Delta is calculated as the difference between the bar’s close and open: delta = close - open.
Divergence + ICT-Based Confirmation
This indicator can be used effectively to detect CVD-price divergences, which may signal early signs of weakness in the current trend. When integrated with ICT (Inner Circle Trader) concepts, it becomes a powerful tool for precision-based trading setups.
CVD Divergence Logic:
A bearish divergence occurs when price makes a higher high while CVD makes a lower high — suggesting weakening buyer aggression.
A bullish divergence occurs when price makes a lower low while CVD makes a higher low — signaling potential seller exhaustion.
ICT Confirmation Methods:
After identifying divergence on CVD, traders may look for confirmation using ICT techniques, such as:
1) Liquidity sweeps (e.g. price takes out a prior high/low into a divergence zone)
2) Breaker blocks or order blocks aligning with the divergence area
3) Market structure shifts following divergence
4) Optimal Trade Entry (OTE) levels confluencing with CVD-based signals
Example Setup:
Identify divergence between price and CVD.
Wait for liquidity sweep or market structure break in the same zone.
Confirm entry with lower time frame precision, if needed.
Data Candle
CVD is computed as the cumulative sum of delta over time.
For each bar, a synthetic candlestick is generated based on:
CVD Open = previous CVD value
CVD Close = current CVD value
High/Low = relative range based on Open/Close
Candlestick color indicates whether buyers (green) or sellers (red) dominated the bar.
Note : This implementation uses price-based delta for simplicity and works universally across assets. For bid/ask-based delta, a feed with order book data is required, which is not accessible in Pine Script.
Use Cases
Identify divergences between price and volume delta
Confirm or question breakouts and trend strength
Use in combination with VWAP, volume profile, or liquidity zones
Analyze intrabar sentiment in a candlestick format
Features
CVD represented as full candlesticks
Clear color distinction for delta direction
Works on all symbols and timeframes
Lightweight and responsive
Money Flow based probabilityMoney Flow based probability
This indicator provides a comprehensive correlation and momentum analysis between your main asset and up to three selected correlated assets. It combines correlation, trend, momentum, and overbought/oversold signals into a single, easy-to-read table directly on your chart.
Correlated Asset Selection :
You can select up to three correlated assets (e.g., indices, currencies, bonds) to compare with your main chart symbol. Each asset can be toggled on or off.
Correlation Calculation :
The indicator uses the native Pine Script ta.correlation function to measure the statistical relationship between the closing prices of your asset and each selected pair over a user-defined period.
Technical Analysis Integration :
For each asset (including the main one), the indicator calculates:
Trend direction using EMA (Exponential Moving Average) – optional
Momentum using MACD – optional
Overbought/oversold status using RSI – optional
Probability Scoring :
A weighted scoring system combines correlation, trend, MACD, RSI, and trend exhaustion signals to produce buy and sell probabilities for the main asset.
Visual Table Output :
A customizable table is displayed on the chart, showing:
Asset name
Correlation (as a percentage, -100% to +100%)
Trend (Bullish/Bearish)
MACD status (Bullish/Bearish)
RSI value and status
Buy/Sell probability (with fixed-width formatting for stability)
User Customization :
You can adjust:
Table size, color, and position
Correlation period
EMA, MACD, and RSI parameters
Which assets to display
This indicator is ideal for traders who want to quickly assess the influence of major correlated markets and technical signals on their trading instrument, all in a single glance.
---
Example: Correlation Calculation
corrCurrentAsset1 = ta.correlation(close, asset1Data, correlationPeriod)
Example: Table Output (Buy/Sell %)
buyStr = f_formatPercent(buyProbability) + "%"
sellStr = f_formatPercent(sellProbability) + "%"
cellStr = buyStr + " / " + sellStr
MACD + SMA 200 Indicator v6🔹 Overview
This advanced indicator combines MACD components with a 200-period SMA to identify high-probability trend directions. It provides:
✅ Multi-timeframe trend analysis (Fast, Slow, and Very Slow MAs)
✅ Visual alerts when the 200 SMA changes direction (bullish/bearish)
✅ Customizable display options (toggle MAs on/off individually)
✅ Clean, professional visuals with color-coded trend confirmation
Perfect for swing traders and investors who want to align with the dominant trend while avoiding false signals.
📊 Key Features
1. Triple Moving Average System
Fast MA (12-period) – Short-term momentum
Slow MA (26-period) – Medium-term trend
Very Slow MA (200-period) – Long-term trend filter (bullish/bearish market)
2. Smart Trend Detection
200 SMA Color Shift: Automatically changes color when trend reverses (green = bullish, red = bearish).
Visual Labels ("BU" / "SD"): Marks where the 200 SMA confirms a new trend direction.
3. Fully Customizable
Toggle each MA on/off (reduce clutter if needed).
Enable/disable colors for cleaner charts.
Adjustable lengths for all moving averages.
4. Built-in Alerts
🔔 "Very Slow MA Turned Green" – Signals potential bullish reversal.
🔔 "Very Slow MA Turned Red" – Signals potential bearish reversal.
🎯 How to Use This Indicator
📈 Bullish Confirmation (Long Setup)
✔ Price above 200 SMA (Very Slow MA turns green)
✔ Fast MA (12) > Slow MA (26) (MACD momentum supports uptrend)
✔ "BU" label appears (confirms trend shift)
📉 Bearish Confirmation (Short Setup)
✔ Price below 200 SMA (Very Slow MA turns red)
✔ Fast MA (12) < Slow MA (26) (MACD momentum supports downtrend)
✔ "SD" label appears (confirms trend shift)
⚙️ Settings & Customization
MA Visibility: Turn individual MAs on/off.
Colors: Disable if you prefer a minimal chart.
Alerts: Enable to get notifications when the 200 SMA changes trend.
📌 Why This Indicator?
Avoid false signals by combining MACD with the 200 SMA.
Clear visual cues make trend identification effortless.
Works on all timeframes (best on 1H, 4H, Daily for swing trades).
🔗 Try it now and trade with the trend! 🚀
📥 Get the Indicator
👉 Click "Add to Chart" and customize it to your trading style!
💬 Feedback? Let me know in the comments how it works for you!
The Echo System🔊 The Echo System – Trend + Momentum Trading Strategy
Overview:
The Echo System is a trend-following and momentum-based trading tool designed to identify high-probability buy and sell signals through a combination of market trend analysis, price movement strength, and candlestick validation.
Key Features:
📈 Trend Detection:
Uses a 30 EMA vs. 200 EMA crossover to confirm bullish or bearish trends.
Visual trend strength meter powered by percentile ranking of EMA distance.
🔄 Momentum Check:
Detects significant price moves over the past 6 bars, enhanced by ATR-based scaling to filter weak signals.
🕯️ Candle Confirmation:
Validates recent price action using the previous and current candle body direction.
✅ Smart Conditions Table:
A live dashboard showing all trade condition checks (Trend, Recent Price Move, Candlestick confirmations) in real-time with visual feedback.
📊 Backtesting & Stats:
Auto-calculates average win, average loss, risk-reward ratio (RRR), and win rate across historical signals.
Clean performance dashboard with color-coded metrics for easy reading.
🔔 Alerts:
Set alerts for trade signals or significant price movements to stay updated without monitoring the chart 24/7.
Visuals:
Trend markers and price movement flags plotted directly on the chart.
Dual tables:
📈 Conditions table (top-right): breaks down trade criteria status.
📊 Performance table (bottom-right): shows real-time stats on win/loss and RRR.🔊 The Echo System – Trend + Momentum Trading Strategy
Overview:
The Echo System is a trend-following and momentum-based trading tool designed to identify high-probability buy and sell signals through a combination of market trend analysis, price movement strength, and candlestick validation.
Key Features:
📈 Trend Detection:
Uses a 30 EMA vs. 200 EMA crossover to confirm bullish or bearish trends.
Visual trend strength meter powered by percentile ranking of EMA distance.
🔄 Momentum Check:
Detects significant price moves over the past 6 bars, enhanced by ATR-based scaling to filter weak signals.
🕯️ Candle Confirmation:
Validates recent price action using the previous and current candle body direction.
✅ Smart Conditions Table:
A live dashboard showing all trade condition checks (Trend, Recent Price Move, Candlestick confirmations) in real-time with visual feedback.
📊 Backtesting & Stats:
Auto-calculates average win, average loss, risk-reward ratio (RRR), and win rate across historical signals.
Clean performance dashboard with color-coded metrics for easy reading.
🔔 Alerts:
Set alerts for trade signals or significant price movements to stay updated without monitoring the chart 24/7.
Visuals:
Trend markers and price movement flags plotted directly on the chart.
Dual tables:
📈 Conditions table (top-right): breaks down trade criteria status.
📊 Performance table (bottom-right): shows real-time stats on win/loss and RRR.
ETH to RTH Gap DetectorETH to RTH Gap Detector
What It Does
This indicator identifies and tracks custom-defined gaps that form between Extended Trading Hours (ETH) and Regular Trading Hours (RTH). Unlike traditional gap definitions, this indicator uses a specialized approach - defining up gaps as the space between previous session close high to current session initial balance low, and down gaps as the space from previous session close low to current session initial balance high. Each detected gap is monitored until it's touched by price.
Key Features
Detects custom-defined ETH-RTH gaps based on previous session close and current session initial balance
Automatically identifies both up gaps and down gaps
Visualizes gaps with color-coded boxes that extend until touched
Tracks when gaps are filled (when price touches the gap area)
Offers multiple display options for filled gaps (color change, border only, pattern, or delete)
Provides comprehensive statistics including total gaps, up/down ratio, and touched gap percentage
Includes customizable alert system for real-time gap filling notifications
Features toggle options for dashboard visibility and weekend sessions
Uses time-based box coordinates to avoid common TradingView drawing limitations
How To Use It
Configure Session Times : Set your preferred RTH hours and timezone (default 9:30-16:00 America/New York)
Set Initial Balance Period : Adjust the initial balance period (default 30 minutes) for gap detection sensitivity
Monitor Gap Formation : The indicator automatically detects gaps between the previous session close and current session IB
Watch For Gap Fills : Gaps change appearance or disappear when price touches them, based on your selected style
Check Statistics : View the dashboard to see total gaps, directional distribution, and touched percentage
Set Alerts : Enable alerts to receive notifications when gaps are filled
Settings Guide
RTH Settings : Configure the start/end times and timezone for Regular Trading Hours
Initial Balance Period : Controls how many minutes after market open to calculate the initial balance (1-240 minutes)
Display Settings : Toggle gap boxes, extension behavior, and dashboard visibility
Filled Box Style : Choose how filled gaps appear - Filled (color change), Border Only, Pattern, or Delete
Color Settings : Customize colors for up gaps, down gaps, and filled gaps
Alert Settings : Control when and how alerts are triggered for gap fills
Weekend Session Toggle : Option to include or exclude weekend trading sessions
Technical Details
The indicator uses time-based coordinates (xloc.bar_time) to prevent "bar index too far" errors
Gap boxes are intelligently limited to avoid TradingView's 500-bar drawing limitation
Box creation and fill detection use proper range intersection logic for accuracy
Session detection is handled using TradingView's session string format for reliability
Initial balance detection is precisely calculated based on time difference
Statistics calculations exclude zero-division scenarios for stability
This indicator works best on futures markets with extended and regular trading hours, especially indices (ES, NQ, RTY) and commodities. Performs well on timeframes from 1-minute to 1-hour.
What Makes It Different
Most gap indicators focus on traditional open-to-previous-close gaps, but this tool offers a specialized definition more relevant to ETH/RTH transitions. By using the initial balance period to define gap edges, it captures meaningful price discrepancies that often provide trading opportunities. The indicator combines sophisticated gap detection logic with clean visualization and comprehensive tracking statistics. The customizable fill styles and integrated alert system make it practical for both chart analysis and active trading scenarios.
Nyx-AI Market Intelligence DashboardNyx AI Market Intelligence Dashboard is a non-signal-based environmental analysis tool that provides real-time insight into short-term market behavior. It is designed to help traders understand the quality of current price action, volume dynamics, volatility conditions, and structural behavior. It informs the trader whether the current market environment is supportive or hostile to trading and whether any active signal (from other tools) should be trusted, filtered, or avoided altogether.
Nyx is composed of seven intelligent modules. Each module operates independently but is visually unified through a floating dashboard panel on the chart. This panel renders live diagnostics every few bars, maintaining a low visual footprint without drawing overlays or modifying price.
Market Posture Engine
This module reads individual candlesticks using real-time candle anatomy to interpret directional bias and sentiment. It examines body-to-range ratio, wick imbalances, and compares them to prior bars. If the current candle is a large momentum body with minimal wick, it is interpreted as a directional thrust. If it is a small body with equal wicks, it is considered indecision. Engulfing patterns are used to detect potential liquidity tests. The system outputs a plain-text posture signal such as Building Bullish Intent, Bearish Momentum, Indecision Zone, Testing Liquidity (Up or Down), or Neutral.
Flow Reversal Engine
This module monitors short-term structural shifts and volume contraction to detect early signs of reversal or exhaustion. It looks for lower highs or higher lows paired with weakening volume and closing behavior that implies loss of momentum. It also monitors divergence between price and volume, as well as bar-to-bar momentum stalls (where highs and lows stop expanding). When these conditions are met, it outputs one of several states including Top Forming, Bottom Forming, Flow Divergence, Momentum Stall, or Neutral. This is useful for detecting inflection points before they manifest on trend indicators.
Fractal Context Engine
This engine compares the current bar’s range to its surrounding structural context. It uses a dynamic lookback length based on volatility. It determines whether the market is in expansion (strong directional trend), compression (shrinking range), or a transitional phase. A special case called Flip In Progress is triggered when the current high and low exceed the entire recent range, which often precedes sharp reversals or volatility expansion. The result is one of the following: Trend Expansion, Trend Breakdown, Sideways or Coil, Flip In Progress, or Expansion to Coil.
Candle Behavior Analyzer
This module analyzes the last five candles as a set to detect behavioral traits that a single candle may not reveal. It calculates average body and wick size, and counts how many recent candles show thrust (large body dominance), trap behavior (price returns inside wicks), or weakness (small bodies with high wick ratios). The module outputs one of the following behaviors: Aggressive Buying, Aggressive Selling, Trap Pattern, Trap During Coil, Low Participation, Low Energy, or Fakeout Candle. This helps the trader assess sentiment quality and the reliability of price movement.
Volatility Forecast and Compression Memory
This module predicts whether a breakout is likely based on recent compression behavior. It tracks how many of the last 10 bars had significantly reduced range compared to average. If a certain threshold is met without any recent large expansion bar, the system forecasts that a volatility expansion is likely in the near future. It also records how many bars ago the last high volatility impulse occurred and classifies whether current conditions are compressing. The outputs are Expansion Likely, Active Compression, and Last Burst memory, which provide breakout timing and energy insights.
Entry Filter
This module scores the current bar based on four adaptive criteria: body size relative to range, volume strength relative to average, current volatility versus historical volatility, and price position relative to a 20-period moving average. Each factor is scored as either 1 or 2. The total score is adjusted by a behavioral modifier that adds or subtracts a point if recent candles show aggression or trap behavior. Final scores range from 4 to 8 and are classified into Optimal, Mixed, or Avoid categories. This module is not a trade signal. It is a confluence filter that evaluates whether conditions are favorable for entry. It is particularly effective when layered with other indicators to improve precision.
Liquidity Intent Engine
This engine checks for price behavior around recent swing highs and lows. It uses adaptive pivots based on volatility to determine if price has swept above a recent high or below a recent low. This behavior is often associated with institutional liquidity hunts. If a sweep is detected and price has moved away from the sweep level, the engine infers directional intent and compares current distance to the high and low to determine which liquidity pool is more dominant. The output is Magnet Above, Magnet Below, or Conflict Zone. This is useful for anticipating directional bias driven by smart money activity.
Sticky Memory Tracking
To avoid flickering between states on low volatility or noisy price action, Nyx includes a sticky memory system. Each module’s output is preserved until a meaningful change is detected. For example, if Market Posture is Neutral and remains so for several bars, the previous non-neutral value is retained. This makes the dashboard more stable and easier to interpret without misleading noise.
Dashboard Rendering
All module outputs are displayed in a clean two-column panel anchored to any corner of the chart. Text values are color-coded, tooltips are added for context, and the data refreshes every few bars to maintain speed. The dashboard avoids clutter and blends seamlessly with other chart tools.
This tool is intended for informational and educational purposes only. It does not provide financial advice or trading signals. Nyx analyzes price, volume, structure, and volatility to offer context about the current market environment. It is not designed to predict future price movements or guarantee profitable outcomes. Traders should always use independent judgment and risk management. Past performance of any analysis logic does not guarantee future results.
Wx Stop Loss BetaWx Stop Loss Beta is an adaptive stop-loss overlay intended for discretionary entry management in medium- to long-term trades. It integrates a volatility filter, support-based logic, and capital protection constraints.
• Manual Entry Price: User inputs their actual entry point
• Volatility Anchor: Stop-loss adjusts using ATR (customizable length and multiplier)
• Support Reference: Based on swing low over a configurable lookback period
• Loss Cap: Maximum allowable loss percentage from entry price (hard floor)
• Trailing Logic: Stop-loss only moves upward (never lowers), adapting to favorable price action
• Output: Displays a horizontal line at the stop-loss level and renders its value in the data window
Warning: This tool is experimental and has not been formally backtested. It is provided as-is for manual strategy enhancement. Use at your own discretion, and validate thoroughly in a paper or sandbox environment before relying on it in live trading. Feedback and critique are encouraged.
SPX Intraday Call SignalThis indicator identifies intraday SPX call option trade setups based on a simple trend and momentum strategy. It detects when the 9-period EMA crosses above the 21-period EMA (bullish momentum) while price is trading above the VWAP (confirming intraday bullish bias) and the RSI (14) is above 55 (confirming momentum strength). The indicator is designed to trigger only during a defined trading window between 9:45 AM and 11:30 AM ET and plots a signal only once per day (the first valid setup) to avoid overtrading. It also includes alert conditions for automated notifications when a valid setup is detected.
Trend Classifier [ChartPrime]Trend Classifier
This is a multi-level trend classification tool that detects bullish, bearish, and ranging conditions using an adaptive smoothing method. It highlights trend strength through color-coded candles and layered bands, making it easy to interpret market momentum visually.
⯁ KEY FEATURES
Classifies trend strength using 3 bullish and 3 bearish levels relative to an adaptive trend line.
Neutral (range) zones are marked when price stays between key bands, often signaling low volatility or consolidation.
Automatically filters band visibility based on current trend direction:
In uptrends, only levels below the price are displayed.
In downtrends, only levels above the price are shown.
Color-coded candles:
Aqua candles for bullish conditions.
Red candles for bearish conditions.
Orange candles during neutral or ranging conditions.
Includes a trend direction change marker (diamond), plotted when a shift in trend is detected.
Plots a central smoothed trend line to anchor the trend bands dynamically.
Displays a trend strength dashboard in the top-right corner with real-time bull and bear scores (0 to 3).
Labels with arrows (▲/▼) show current trend direction and strength on the chart.
⯁ HOW TO USE
Use bull and bear levels (1–3) to assess the momentum of the current trend.
When bull = 0 and bear = 0 , market is considered ranging or consolidating – consider fading or waiting for breakout confirmation.
Trend bands can be used as dynamic support/resistance during trending phases.
Monitor the trend change diamonds to spot potential early reversals.
Combine with volume or oscillator tools for confirmation of strength shifts.
⯁ CONCLUSION
Trend Classifier helps traders stay aligned with the dominant trend while visually breaking down market momentum into levels. Its clean color-coded design and strength dashboard make it ideal for both trend following and range trading strategies.
Liquidity Sweep Detector – PDH/PDL LevelsPrevious Day High/Low Liquidity Sweep Detector (Intraday Accurate)
This indicator tracks the previous day's high and low using intraday data, rather than the daily candle, ensuring precise sweep detection across lower timeframes (15m to 4H).
It monitors for liquidity sweeps—moments when price briefly moves above the previous high or below the previous low—and visually marks these events on the chart.
Key Features
Intraday-accurate PDH/PDL tracking
Real-time sweep detection
On-chart labels marking sweep events
Toggleable table showing sweep status
Alert conditions for PDH/PDL sweep triggers
Best For
Traders who use Smart Money Concepts (SMC), liquidity-based strategies, or look for stop hunts and reversal zones tied to key prior-day levels.
Works well across FX, crypto, and indices on 15m, 1H, and 4H charts.
[T] FVG Size MarkerThis scripts marks the size of the FVG on the chart. As well as lets you place custom text based on gap size. Custom text lets you overlay contract size risk based on the gap size.