Relative Performance Spread**Relative Performance Spread Indicator – Overview**
This indicator compares the **relative performance between two stocks** by normalizing their prices and calculating the **spread**, **area under the curve (AUC)**, or **normalized price ratio**.
### **How It Works**
* **Input**: Select a second stock (`ticker2`) and a moving average window.
* **Normalization**: Each stock is normalized by its own moving average → `norm = close / MA`.
* **Spread**: The difference `spread = norm1 - norm2` reflects which stock is outperforming.
* **AUC**: Cumulative spread over time shows prolonged dominance or underperformance.
* **Bounds**: Bollinger-style bands are drawn around the spread to assess deviation extremes.
### **Usage**
* **Plot Type Options**:
* `"Spread"`: Spot outperformance; crossing bands may signal rotation.
* `"AUC"`: Track long-term relative trend dominance.
* `"Normalized"`: Directly compare scaled price movements.
Use this tool for **pair trading**, **relative momentum**, or **rotation strategies**. It adapts well across assets with different price scales.
Indicatori e strategie
ADX + MACD Zéro-Lag NormaliséADX + Zero-Lag MACD Oscillator (MTF Trend & Cross Alerts)
✅ Detailed Description
📝 Overview
This indicator merges the ADX Trend Strength Filter with a Zero-Lag MACD to help you identify trending conditions and momentum reversals with minimal lag.
It includes:
ADX (Multi-TimeFrame) for trend strength detection.
DI+ / DI- Directional Indicator for bias confirmation.
Zero-Lag Normalized MACD for precise momentum crossovers.
⚙️ Visual Components
✅ Green/Red Background: Highlights bullish or bearish trend based on Multi-TimeFrame ADX.
✅ DI+ / DI- Lines: Green and red curves showing directional bias.
✅ Zero-Lag MACD: Violet and orange lines for fast momentum detection.
✅ Crossover Points: Colored circles marking MACD Buy and Sell crossovers.
✅ ADX Strength Dots: Small black dots when ADX exceeds the user-defined threshold.
🚨 Included Alert System
✅ MACD / Signal Crossovers (Buy / Sell).
✅ DI+ / DI- Crossovers (Buy / Sell).
✅ Trend Change Alerts via Background Color.
✅ ADX Strength Alerts (Above Threshold).
✅ Double Confirmation Alerts (DI+ or DI- combined with MACD crossover).
🛠️ Suggested Configuration Examples
1. Trend Reversal Sniping (Fast Reactions):
MACD Fast/Slow: 5 / 13
ADX MTF Period: 5 to 15
ADX Threshold: 15 to 20
2. Trend Riding (Swing or Position Trading):
MACD Fast/Slow: 12 / 26
ADX MTF Period: 30 to 50
ADX Threshold: 20 to 25
3. Scalping / Fast Intraday Moves:
MACD Fast/Slow: 3 / 7
ADX MTF Period: 5 to 10
ADX Threshold: 10 to 15
🎯 Why Use This Tool?
Detects strong trends with ADX MTF filter.
Provides momentum-based entry and exit with MACD Zero-Lag.
Multi-level confirmation with DI+ / DI- and MACD synergy.
Works on Forex, Crypto, Stocks, and Indices.
✅ Suggested Tagline
"Strong Trend Detection Meets Zero-Lag Momentum Precision."
MFI Candle Trend🎯 Purpose:
The MFI Candle Trend is a custom TradingView indicator that transforms the Money Flow Index (MFI) into candle-style visuals using various smoothing and transformation techniques. Rather than displaying MFI as a line, this script generates synthetic candles from MFI values, helping traders visualize money flow trends, strength, and potential reversals with more clarity.
📌 Trend strength can be analyzed based on buying and selling pressures in the trend direction.
🧩 How It Works:
Calculates MFI values for open, high, low, and close prices.
Applies optional smoothing using the user-selected moving average (EMA, SMA, WMA, etc.).
Transforms the smoothed MFI data into synthetic candles using a selected method:
Normal: Uses raw MFI data
Heikin-Ashi: Applies HA transformation to MFI
Linear: Uses linear regression on MFI values
Rational Quadratic: Applies advanced rational quadratic filtering via an external kernel library
Colors candles based on MFI momentum:
Cyan: Strong positive MFI movement
Red: Strong negative MFI movement
⚙️ Key Inputs:
Method:
The type of smoothing method to apply to MFI
Options: None, EMA, SMA, SMMA (RMA), WMA, VWMA, HMA, Mode
Length:
Period for both the MFI and smoothing calculation
Candle:
Selects the transformation mode for generating synthetic candles
Options: Normal, Heikin-Ashi, Linear, Rational Quadratic
Rational Quadratic:
Adjusts the depth of smoothing for the Rational Quadratic filter (applies only if selected)
📊 Outputs:
Synthetic MFI Candlesticks:
Plotted using the smoothed and transformed MFI values.
Dynamic Coloring:
Cyan when MFI momentum is increasing
Red when MFI momentum is decreasing
Horizontal Lines:
80: Overbought zone
20: Oversold zone
🧠 Why Use This Indicator?
Unlike traditional MFI indicators that use a line plot, this tool gives traders:
A candle-based visualization of money flow momentum
Enhanced trend and reversal detection using color-coded MFI candles
A choice of smoothing filters and transformations for noise reduction
A powerful combination of momentum and structure-based analysis
To combine volume and price strength into a single chart element
❗Important Note:
This indicator is for educational and analytical purposes only. It does not constitute financial advice. Always use proper risk management and validate with additional tools or analysis.
EMA & RSI Signals with SL (Alternating)This indicator creates a buy signal when RSI is above 60 and advancing and the price is above a specified threshold. Conversely, it creates a sell signal when the RSI is below 40 and declining and price is below the specified threshold
Precise EMA Cross Strategy (20, 50, 200)Precise EMA Cross Strategy (20, 50, 200)
🧠 Core Concept:
This strategy is designed to capture major trend reversals using Exponential Moving Averages (EMAs) and avoid false signals by requiring:
A confirmed EMA crossover (Golden/Death Cross).
Confirmation from the trend direction (slope) of the 200 EMA.
The price to be aligned with the direction of the signal (above or below EMAs).
📊 Components:
EMA 20 (Green): Short-term price momentum.
EMA 50 (Red): Medium-term trend reference.
EMA 200 (Yellow): Long-term trend foundation.
✅ Trade Entry Rules:
🔼 Buy Signal (Golden Cross):
Occurs when:
EMA 50 crosses above EMA 200.
The slope of EMA 200 is upward, confirming long-term uptrend.
Price is above both EMA 50 and EMA 200, showing bullish market strength.
🔔 You'll see a green "BUY" marker below the candle.
This is a high-probability long entry setup.
🔽 Sell Signal (Death Cross):
Occurs when:
EMA 50 crosses below EMA 200.
The slope of EMA 200 is downward, confirming a bearish trend.
Price is below both EMA 50 and EMA 200, confirming weakness.
🔔 You'll see a red "SELL" marker above the candle.
This is a high-probability short entry setup.
📅 Best Timeframes to Use:
Swing trading: 1H, 4H, Daily
Position trading: Daily, Weekly
Not suitable for scalping on low timeframes (e.g. 1min or 5min) due to EMA smoothing delay
🧪 Backtesting Tips:
Look for confirmation on higher timeframes (e.g., 4H or 1D).
Combine this strategy with:
RSI divergence
Volume spikes
Support/resistance zones
⚠️ Avoid False Signals:
Do not trade if the slope of EMA 200 is flat or conflicting with the crossover.
Avoid trading in sideways markets or low-volatility environments.
🔔 Alerts:
The script includes built-in alert conditions:
Golden Cross Alert
Death Cross Alert
Set them in TradingView’s alert panel to get notified when a valid trade setup forms.
💡 Example Trade Flow:
BUY Example:
1H chart: EMA 50 crosses above EMA 200 ✅
Slope of EMA 200 is rising ✅
Price is above both EMAs ✅
➡️ Enter a long position
🎯 Set take profit at previous resistance or use trailing stop
🛑 Stop loss just below recent swing low or EMA 200
SELL Example:
4H chart: EMA 50 crosses below EMA 200 ✅
Slope of EMA 200 is falling ✅
Price is below both EMAs ✅
➡️ Enter a short position
🎯 Set TP at support or use trailing
🛑 SL above recent swing high or EMA 200
🧩 Combine With:
Candlestick patterns (e.g., engulfing, pin bar)
Breakout levels
Fibonacci retracement zones
Session High/LowThis TradingView indicator draws horizontal lines representing the Highs and Lows of the three major trading sessions:
Asia (00:00–09:00)
London (09:00–14:30)
New York (15:30–23:00)
These lines serve as key support and resistance zones often respected by institutional and algorithmic traders.
Smart Trading System v3This strategy is a precision-based trend-following system that leverages multi-timeframe alignment and momentum signals. Entry decisions are made using a blend of moving average pullbacks and oscillator crossovers, triggered only during active trading hours. Exits are governed by trailing volatility thresholds or key indicator reversals, adapting intelligently to the instrument’s behavior while managing risk through position sizing and drawdown constraints.
Elder Envelope V2Based on the public script by idu. (Elder Impulse System with AutoEnvelope combined by idu)
I enhanced it by adding:
- second set of envelope bands
-alerts for Short and Center EMAs cross
- fill between EMAs
I find this strategy good for swing trading on daily timeframes to determine overbought/oversold conditions. When stock is near 2nd upper band - take profits/short, when near lower -2nd band cover short/buy longs. Bull bear trend is determined by the short and long(center) emas cross. In rangebound flat trends gives false signals. Best edge is when near extremes of the bands.
Crazy LayoutA text box with the ticker, date, and timeframe appears in the bottom right corner of the chart.
There are two text lines in the top right corner of the chart that can be customized.
Color and size can be changed.
MSTR/MTPLF Flip Strategy (with 1D Supertrend Overlay)MSTR/MTPLF Flip Strategy – Z-Score + MACD + RSI + Supertrend (1D Overlay)
This script is designed for traders rotating between MicroStrategy (MSTR) and Metaplanet (MTPLF)—two Bitcoin proxy stocks—using a quantitative, multi-indicator approach.
🔍 Core Strategy:
Z-Score detects statistical mispricing between MSTR and MTPLF
RSI confirms momentum extremes (overbought/oversold)
MACD identifies trend reversals
Supertrend (1D) confirms the broader trend direction
✅ Flip Signals:
Flip to MSTR: Z-Score < -2, RSI < 30, MACD bullish crossover, and Supertrend (1D) is bullish
Flip to MTPLF: Z-Score > +2, RSI > 70, MACD bearish crossover, and Supertrend (1D) is bearish
📈 Visual Overlay:
The 1D Supertrend line is plotted directly on your current chart (e.g., 4H) for easy trend tracking.
🧠 Ideal for swing traders and pair traders looking to rotate capital between correlated assets based on both mean reversion and trend confirmation.
Customize the timeframe, sensitivity, and alerts to fit your trading style.
Leverage Liquidation LevelsThis indicator visualizes static leverage liquidation levels calculated from a user-defined base price. It helps traders understand potential price impacts at different leverage ratios by displaying multiple thresholds (x2, x5, x10, x20, x50, x75, x100) for both long and short positions.
🔹 What This Indicator Shows
The indicator creates horizontal lines representing price levels where liquidations might occur for traders using various leverage multiples. Lines above the base price show potential short liquidation levels, while lines below show potential long liquidation levels.
🔹 How To Use
1. Set your base price parameter (default: 27319)
2. The indicator will display color-coded lines for each leverage level
3. Use these visual references to better understand risk when trading with leverage
🔹 Key Features
- Color-coded lines for easy identification of different leverage levels
- Visual distinction between long and short liquidation zones
- Customizable base price to adapt to any asset or price range
🔹 Disclaimer
This indicator provides static reference points based on mathematical calculations only. It does not use real-time liquidation data from exchanges and should be used for educational purposes and risk visualization only. Actual liquidation levels depend on multiple factors including exchange-specific parameters, funding rates, and market conditions.
For educational purposes only. Not financial advice.
Liquidity Grab Strategy (Volume Trap)🧠 Strategy Logic:
Liquidity Grab Detection:
The script looks for a sharp drop in price (bearish engulfing or breakdown candle).
However, volume remains flat (within 5% of the 20-period moving average), suggesting the move is manipulated, not genuine.
Fair Value Gap Confirmation (FVG):
It confirms that a Fair Value Gap exists — a gap between recent candle bodies that price is likely to retrace into.
This gap represents a high-probability entry zone.
Trade Setup:
A limit BUY order is placed at the base of the FVG.
Stop Loss (SL) is placed below the gap.
Take Profit (TP) is placed at the most recent swing high.
📈 How to Use It:
Add the strategy to your TradingView chart (1–5 min or 15 min works well for intraday setups).
Look for green BUY labels and plotted lines:
💚 Green = Entry price
🔴 Red = Stop loss
🔵 Blue = Take profit
The script will automatically simulate entries when conditions are met and exit either at TP or SL.
Use TradingView’s Strategy Tester to review:
Win rate
Net profit
Risk-adjusted performance
KAVAUSDT Gelişmiş Breakout/Support-Resistance Stratejisi🧠 Timeframe Matching:
🔹 Ideal: 15 Minutes & 1 Hour
🔹 Supporting: 5D (very short term scalp), 4s (for medium term confirmation)
Trailing Cumulative Volume DeltaShort Description:
A dynamic volume delta indicator that calculates a trailing sum of net buying/selling pressure over a user-defined number of recent bars, offering a more adaptive view of order flow momentum compared to fixed-anchor CVD.
Overview:
The Trailing Cumulative Volume Delta (TCVD) indicator provides a powerful way to analyze market sentiment by tracking the net difference between buying and selling volume. Unlike traditional Cumulative Volume Delta (CVD) indicators that typically reset at fixed intervals (e.g., daily, weekly), the TCVD calculates a rolling sum of volume delta over a specified number of recent bars. This "trailing" approach offers a more fluid and responsive measure of recent order flow dynamics.
How it Works:
Per-Bar Delta Calculation: For each bar on your chart, the indicator first calculates the net Volume Delta. This is done by looking at a finer, user-configurable Lower Timeframe (e.g., 1-minute data for a 15-minute chart bar) to determine the aggressive buying vs. selling volume within that bar.
Trailing Sum: The indicator then sums these individual per-bar net deltas over a user-defined Trailing Bars lookback period. For example, if "Trailing Bars" is set to 20, the TCVD value will represent the cumulative net delta of the last 20 bars.
Visualization:
The TCVD is plotted in a "MACD-Columns-Style" in a separate pane.
Teal: When the TCVD value is increasing (suggesting growing net buying pressure or diminishing net selling pressure over the trailing period).
Red: When the TCVD value is decreasing (suggesting growing net selling pressure or diminishing net buying pressure over the trailing period).
White: When it is returning to the mean.
How to Interpret and Use TCVD:
Trend Strength & Momentum:
A rising TCVD suggests that, on average over the trailing period, buying pressure is dominant or strengthening. This can confirm bullish price action or indicate underlying strength.
A falling TCVD suggests that selling pressure is dominant or strengthening, potentially confirming bearish price action or indicating weakness.
Divergences:
Unlike other Divergences, the CVD has two different types of Divergences: a) Absorption and b) Exhaustion. You only want to trade the Absorption pattern.
Zero Line Crossovers:
TCVD crossing above the zero line can indicate a shift towards net positive buying pressure over the lookback period.
TCVD crossing below the zero line can indicate a shift towards net positive selling pressure.
Confirmation: Use TCVD to confirm breakouts or breakdowns. A price breakout accompanied by a strongly rising TCVD is generally more reliable.
Key Settings:
Trailing Bars: (Default: 10)
Determines the number of recent bars to include in the cumulative delta sum.
Shorter periods make the TCVD more responsive to immediate changes.
Longer periods provide a smoother, longer-term view of order flow.
Use custom timeframe: (Checkbox, Default: false)
Allows you to override the automatic selection of the lower timeframe for delta calculation.
Timeframe for Delta Calculation: (Default: "1" - 1 minute)
Specifies the lower timeframe data used to calculate the volume delta for each individual chart bar.
Choosing a very fine timeframe (e.g., seconds) can provide high precision but may be limited by data availability or processing load.
If "Use custom timeframe" is unchecked, the script attempts to choose a sensible default based on your chart's timeframe (e.g., "1S" for second charts, "1" for intraday, "5" for daily, "60" for weekly+).
Examples:
Confirming Breakout Strength:
Price breaks out above a significant resistance level.
If the TCVD is also sharply rising and has perhaps crossed above its zero line, it provides confirmation that strong buying interest is fueling the breakout, increasing confidence in its validity.
Important Notes:
This indicator requires reliable volume data from your broker/data feed to function correctly. If your chart does not have volume, or if the volume data is unreliable, the TCVD will not be accurate.
Like all indicators, TCVD is best used as part of a comprehensive trading strategy, in conjunction with price action analysis and other indicators or tools.
Experiment with the Trailing Bars and Timeframe for Delta Calculation settings to find what best suits your trading style, the asset you are analyzing, and the chart timeframe you are using.
Feel free to modify this, add your personal touch, or include specific screenshots when you publish!
EMA Trend Strength MeterThis indicator will leverage the EMA as basis to indentify value of Strength of trend
ryantrad3s session highs and lowsThis indicator allows you find London Session and Asia Session highs and lows without marking them yourself. This indicator can also help you find good draws on liquidity for the day and potential highs and lows you can target during that trading day. I recommend trading NQ and ES with this indicator because that's what I seen it work best with. The blue lines are London Session high and low and the red lines are Asia Session high and low. Hope this can save you time marking out your chart before market open.
Enhanced Cycle IndicatorEnhanced Cycle Indicator Guide
DISCLAIMER
"This PineScript indicator evolved from a foundational algorithm designed to visualize cycle-based center average differentials. The original concept has been significantly enhanced and optimized through collaborative refinement with AI, resulting in improved functionality, performance, and visualization capabilities while maintaining the core mathematical principles of the original design"
Overview
The Enhanced Cycle Indicator is designed to identify market cycles with minimal lag while ensuring the cycle lows and highs correspond closely with actual price bottoms and tops. This indicator transforms price data into observable cycles that help you identify when a market is likely to change direction.
Core Principles
Cycle Detection: Identifies natural market rhythms using multiple timeframes
Dynamic Adaptation: Adjusts to changing market conditions for consistent performance
Precise Signals: Provides clear entry and exit points aligned with actual market turns
Reduced Lag: Uses advanced calculations to minimize delay in cycle identification
How To Use
1. Main Cycle Interpretation
Green Histogram Bars: Bullish cycle phase (upward momentum)
Red Histogram Bars: Bearish cycle phase (downward momentum)
Cycle Extremes: When the histogram reaches extreme values (+80/-80), the market is likely approaching a turning point
Zero Line: Crossovers often indicate a shift in the underlying market direction
2. Trading Signals
Green Triangle Up (bottom of chart): Strong bullish signal - ideal for entries or covering shorts
Red Triangle Down (top of chart): Strong bearish signal - ideal for exits or short entries
Diamond Shapes: Indicate divergence between price and cycle - early warning of potential reversals
Small Circles: Minor cycle turning points - useful for fine-tuning entries/exits
3. Optimal Signal Conditions
Bullish Signals Work Best When:
The cycle is deeply oversold (below -60)
RSI is below 40 or turning up
Price is near a significant low
Multiple confirmation bars have occurred
Bearish Signals Work Best When:
The cycle is heavily overbought (above +60)
RSI is above 60 or turning down
Price is near a significant high
Multiple confirmation bars have occurred
4. Parameter Adjustments
For Shorter Timeframes: Reduce cycle periods and smoothing factor for faster response
For Daily/Weekly Charts: Increase cycle periods and smoothing for smoother signals
For Volatile Markets: Reduce cycle responsiveness to filter noise
For Trending Markets: Increase signal confirmation requirement to avoid false signals
Recommended Settings
Default (All-Purpose)
Main Cycle: 50
Half Cycle: 25
Quarter Cycle: 12
Smoothing Factor: 0.5
RSI Filter: Enabled
Signal Confirmation: 2 bars
Faster Response (Day Trading)
Main Cycle: 30
Half Cycle: 15
Quarter Cycle: 8
Smoothing Factor: 0.3
Cycle Responsiveness: 1.2
Signal Confirmation: 1 bar
Smoother Signals (Swing Trading)
Main Cycle: 80
Half Cycle: 40
Quarter Cycle: 20
Smoothing Factor: 0.7
Cycle Responsiveness: 0.8
Signal Confirmation: 3 bars
Advanced Features
Adaptive Period
When enabled, the indicator automatically adjusts cycle periods based on recent price volatility. This is particularly useful in markets that alternate between trending and ranging behaviors.
Momentum Filter
Enhances cycle signals by incorporating price momentum, making signals more responsive during strong trends and less prone to whipsaws during consolidations.
RSI Filter
Adds an additional confirmation layer using RSI, helping to filter out lower-quality signals and improve overall accuracy.
Divergence Detection
Identifies situations where price makes a new high/low but the cycle doesn't confirm, often preceding significant market reversals.
Best Practices
Use the indicator in conjunction with support/resistance levels
Look for signal clusters across multiple timeframes
Reduce position size when signals appear far from cycle extremes
Pay special attention to signals that coincide with divergences
Customize cycle periods to match the natural rhythm of your traded instrument
Troubleshooting
Too Many Signals: Increase signal confirmation bars or reduce cycle responsiveness
Missing Major Turns: Decrease smoothing factor or increase cycle responsiveness
Signals Too Late: Decrease cycle periods and smoothing factor
False Signals: Enable RSI filter and increase signal confirmation requirement
V2_Livermore-Seykota Breakout)V2_ Livermore-Seykota Breakout Strategy
Objective: Execute breakout trades inspired by Jesse Livermore, filtered by trend confirmation (Ed Seykota) and risk-managed with ATR (Paul Tudor Jones style).
Entry Conditions:
Long Entry:
Close price breaks above recent pivot high.
Price is above main EMA (EMA50).
EMA20 > EMA200 (uptrend confirmation).
Current volume > 20-period SMA (volume confirmation).
Short Entry:
Close price breaks below recent pivot low.
Price is below main EMA (EMA50).
EMA20 < EMA200 (downtrend confirmation).
Current volume > 20-period SMA.
Exit Conditions:
Stop-loss: ATR × 3 from entry price.
Trailing stop: activated with offset of ATR × 2.
Strengths:
Trend-aligned entries with volume breakout confirmation.
Dynamic ATR-based risk management.
Inspired by principles of three legendary traders.
Visual ADX + DI + RSI Croisements (ADX en Points)ADX Trend + RSI ZLSMA Oscillator (MTF Filter & Cross Alerts)
✅ Detailed Description
📝 Overview
This indicator combines a Multi-TimeFrame ADX Trend Filter with a Smoothed RSI (ZLSMA) to provide advanced trend filtering and oscillator-based reversals.
It includes:
ADX (Multi-TimeFrame) to identify trend strength and direction.
DI+ / DI- for confirming trend bias.
RSI with ZLSMA Smoothing to reduce noise and improve crossover signals.
⚙️ Visual Components
✅ Green/Red Background: Displays ADX-driven trend direction (bullish/bearish).
✅ DI+ / DI- Lines: Green and red curves showing directional bias.
✅ RSI Curve: Blue curve showing oscillator value.
✅ ZLSMA Smoothing: Orange curve filtering RSI noise.
✅ Crossover Points: Colored circles marking RSI/ZLSMA Buy and Sell crossovers.
✅ ADX Strength Dots: Black circles showing strong trend zones.
🚨 Included Alert System
✅ RSI / ZLSMA Crossovers (Buy / Sell).
✅ DI+ / DI- Crossovers (Buy / Sell).
✅ Trend Change Alerts via Background Color.
✅ ADX Strength Alerts (Above Threshold).
✅ Double Confirmation Alerts (DI+ or DI- combined with RSI crossover).
🛠️ Suggested Configuration Examples
1. Reversal Detection (Swing Trading):
RSI Length: 7 to 14
ZLSMA Length: 7 to 14
ADX MTF Period: 10 to 20
ADX Threshold: 15 to 20
2. Trend Filtering (Long-Term Positioning):
RSI Length: 21 to 30
ZLSMA Length: 21 to 30
ADX MTF Period: 30 to 50
ADX Threshold: 20 to 25
3. Scalping or Fast Reactions:
RSI Length: 5 to 9
ZLSMA Length: 5 to 9
ADX MTF Period: 5 to 10
ADX Threshold: 10 to 15
🎯 Why Use This Tool?
Reduces noise with ZLSMA smoothing on RSI.
Provides early reversal and trend continuation signals.
Filters with Multi-TimeFrame ADX confirmation.
Adaptable to all markets: Crypto, Forex, Stocks, Indices.
High/Low Digit SumNAMAN SHAH
Its about the high low total of a candle only for gold where if highs total is 9 then its a chance that it will not break the high for a long time and it will be a good opportunity for short
And vise versa
Volume CandlesVolume Candles — Context-Aware Candle Color
Description:
This visual indicator colors your price candles based on relative volume intensity, helping traders instantly detect low, medium, and high volume activity at a glance. It supports two modes — Percentile Ranking and Volume Average — offering flexible interpretation of volume pressure across all timeframes.
It uses a 3-tiered color system (bright, medium, dark) with customizable tones for both bullish and bearish candles.
How It Works:
You can choose between two modes for volume classification:
Ranking Mode (Default):
Measures current volume’s percentile rank over a lookback period. Higher percentiles = stronger color intensity.
Percentile thresholds:
< 50% → light color (low volume)
50–80% → medium intensity
> 80% → high volume
Volume Average Mode:
Compares current volume against its simple moving average (SMA).
Volume thresholds:
< 0.5× SMA → light color
Between 0.5× and 1.5× → medium
> 1.5× → high intensity
Candle Paint:
Candles are colored directly on the chart, not in a separate pane. Bullish candles use green shades, bearish use red. All colors are fully customizable.
How to Interpret:
Bright Colors = High volume (potential strength or climax)
Muted/Transparent Colors = Low or average volume (consolidation, traps)
Example Use Cases:
Spot fakeouts with large price movement on weak volume (dark color)
Confirm breakout strength with bright candles
Identify stealth accumulation/distribution
Inputs & Settings:
Mode: Ranking Percentile or Volume Average
Lookback Period for ranking and SMA
Custom Colors for bullish and bearish candles at 3 intensity levels
Best For:
Price action traders wanting context behind each candle
Scalpers and intraday traders needing real-time volume feedback
Anyone using volume as a filter for entries or breakouts
Pro Tips:
Combine with Price Action, Bollinger Bands or VWAP/EMA levels to confirm breakout validity and intent behind a move.
Use alongside RSI/MACD divergences for high-volume reversal signals.
For swing trading, expand the lookback period to better normalize volume over longer trends.
Precise EMA Cross Strategy (20, 50, 200)Precise EMA Cross Strategy (20, 50, 200)
🧠 Core Concept:
This strategy is designed to capture major trend reversals using Exponential Moving Averages (EMAs) and avoid false signals by requiring:
A confirmed EMA crossover (Golden/Death Cross).
Confirmation from the trend direction (slope) of the 200 EMA.
The price to be aligned with the direction of the signal (above or below EMAs).
📊 Components:
EMA 20 (Green): Short-term price momentum.
EMA 50 (Red): Medium-term trend reference.
EMA 200 (Yellow): Long-term trend foundation.
✅ Trade Entry Rules:
🔼 Buy Signal (Golden Cross):
Occurs when:
EMA 50 crosses above EMA 200.
The slope of EMA 200 is upward, confirming long-term uptrend.
Price is above both EMA 50 and EMA 200, showing bullish market strength.
🔔 You'll see a green "BUY" marker below the candle.
This is a high-probability long entry setup.
🔽 Sell Signal (Death Cross):
Occurs when:
EMA 50 crosses below EMA 200.
The slope of EMA 200 is downward, confirming a bearish trend.
Price is below both EMA 50 and EMA 200, confirming weakness.
🔔 You'll see a red "SELL" marker above the candle.
This is a high-probability short entry setup.
📅 Best Timeframes to Use:
Swing trading: 1H, 4H, Daily
Position trading: Daily, Weekly
Not suitable for scalping on low timeframes (e.g. 1min or 5min) due to EMA smoothing delay
🧪 Backtesting Tips:
Look for confirmation on higher timeframes (e.g., 4H or 1D).
Combine this strategy with:
RSI divergence
Volume spikes
Support/resistance zones
⚠️ Avoid False Signals:
Do not trade if the slope of EMA 200 is flat or conflicting with the crossover.
Avoid trading in sideways markets or low-volatility environments.
🔔 Alerts:
The script includes built-in alert conditions:
Golden Cross Alert
Death Cross Alert
Set them in TradingView’s alert panel to get notified when a valid trade setup forms.
💡 Example Trade Flow:
BUY Example:
1H chart: EMA 50 crosses above EMA 200 ✅
Slope of EMA 200 is rising ✅
Price is above both EMAs ✅
➡️ Enter a long position
🎯 Set take profit at previous resistance or use trailing stop
🛑 Stop loss just below recent swing low or EMA 200
SELL Example:
4H chart: EMA 50 crosses below EMA 200 ✅
Slope of EMA 200 is falling ✅
Price is below both EMAs ✅
➡️ Enter a short position
🎯 Set TP at support or use trailing
🛑 SL above recent swing high or EMA 200
🧩 Combine With:
Candlestick patterns (e.g., engulfing, pin bar)
Breakout levels
Fibonacci retracement zones
Strat 3-1 Setup FinderFor users of the Strat this easily identifies a 3-1 set up on different time frames. Enjoy!