CVD Trend IndikatorCVD Trend Indicator (Cumulative Volume Delta)
This Pine Script indicator is designed to help traders visualize the underlying buying and selling pressure in the market by analyzing the Cumulative Volume Delta (CVD). It provides insights into whether buyers or sellers are more aggressive over time, aiding in trend confirmation and potential reversal identification.
How it Works:
The indicator calculates the Cumulative Volume Delta for each candlestick.
If the candle closes higher than it opened (close > open), its entire volume is considered buying volume (positive delta).
If the candle closes lower than it opened (close < open), its entire volume is considered selling volume (negative delta).
If the candle closes at the same price it opened (close == open), its delta is considered zero.
These individual candle deltas are then cumulatively summed up over time, creating the CVD line. A rising CVD indicates increasing buying pressure, while a falling CVD suggests growing selling pressure.
The indicator also features an optional Simple Moving Average (SMA) of the CVD, which helps smooth out the CVD line and identify the prevailing trend in buying/selling pressure more clearly.
Key Features:
Cumulative Volume Delta (CVD) Line:
Rising CVD (Blue Line): Indicates aggressive buying pressure is dominant, supporting bullish price action.
Falling CVD (Blue Line): Suggests aggressive selling pressure is dominant, supporting bearish price action.
CVD Moving Average (Red Line, optional):
A user-defined SMA of the CVD, which acts as a trend filter for the volume delta.
When the CVD crosses above its MA, it can signal increasing buying momentum.
When the CVD crosses below its MA, it can signal increasing selling momentum.
Session Reset:
The CVD automatically resets at the beginning of each new trading session (daily by default). This provides a fresh perspective on the day's accumulated buying or selling pressure, which is particularly useful for day traders.
Background Color Visuals:
The indicator panel's background changes color to visually represent periods of dominant buying pressure (green background when CVD > CVD MA) or selling pressure (red background when CVD < CVD MA), offering a quick glance at the market's underlying bias.
Trading Insights:
Trend Confirmation: Use a rising CVD (and its MA) to confirm an uptrend, or a falling CVD (and its MA) to confirm a downtrend.
Divergences: Look for CVD Divergences as potential reversal signals:
Bullish Divergence: Price makes a lower low, but CVD makes a higher low (suggests selling pressure is weakening).
Bearish Divergence: Price makes a higher high, but CVD makes a lower high (suggests buying pressure is weakening).
Momentum Shifts: Sudden, sharp changes in the CVD's direction or its cross over/under its MA can signal shifts in market momentum.
Support/Resistance Confirmation: Observe CVD behavior around key price levels. Weakening buying pressure at resistance or weakening selling pressure at support can confirm the strength of these levels.
Customization:
showMA: Toggle the visibility of the CVD's Moving Average.
maLength: Adjust the period for the CVD's Moving Average to control its sensitivity to recent price action. A shorter length makes it more reactive, while a longer length makes it smoother.
Disclaimer: No indicator is foolproof. Always use the CVD Trend Indicator in conjunction with other technical analysis tools, price action, and robust risk management strategies. Backtesting and forward testing are crucial for understanding its effectiveness in different market conditions and timeframes.
指標和策略
Money Risk Management with Trade Tracking
Overview
The Money Risk Management with Trade Tracking indicator is a powerful tool designed for traders on TradingView to simplify trade simulation and risk management. Unlike the TradingView Strategy Tester, which can be complex for beginners, this indicator provides an intuitive, beginner-friendly interface to evaluate trading strategies in a realistic manner, mirroring real-world trading conditions.
Built on the foundation of open-source contributions from LuxAlgo and TCP, this indicator integrates external indicator signals, overlays take-profit (TP) and stop-loss (SL) levels, and provides detailed money management analytics. It empowers traders to visualize potential profits, losses, and risk-reward ratios, making it easier to understand the financial outcomes of their strategies.
Key Features
Signal Integration: Seamlessly integrates with external long and short signals from other indicators, allowing traders to overlay TP/SL levels based on their preferred strategies.
Realistic Trade Simulation: Simulates trades as they would occur in real-world scenarios, accounting for initial capital, risk percentage, leverage, and compounding effects.
Money Management Dashboard: Displays critical metrics such as current capital, unrealized P&L, risk amount, potential profit, risk-reward ratio, and trade status in a customizable, beginner-friendly table.
TP/SL Visualization: Plots TP and SL levels on the chart with customizable styles (solid, dashed, dotted) and colors, along with optional labels for clarity.
Performance Tracking: Tracks total trades, win/loss counts, win rate, and profit factor, providing a clear overview of strategy performance.
Liquidation Risk Alerts: Warns traders if stop-loss levels risk liquidation based on leverage settings, enhancing risk awareness.
Benefits for Traders
Beginner-Friendly: Simplifies the complexities of the TradingView Strategy Tester, offering an intuitive interface for new traders to simulate and evaluate trades without confusion.
Real-World Insights: Helps traders understand the actual profit or loss potential of their strategies by factoring in capital, risk, and leverage, bridging the gap between theoretical backtesting and real-world execution.
Enhanced Decision-Making: Provides clear, real-time analytics on risk-reward ratios, unrealized P&L, and trade performance, enabling informed trading decisions.
Customizable and Flexible: Allows customization of TP/SL settings, table positions, colors, and sizes, catering to individual trader preferences.
Risk Management Focus: Encourages disciplined trading by highlighting risk amounts, potential profits, and liquidation risks, fostering better financial planning.
Why This Indicator Stands Out
Many traders struggle to translate backtested strategy results into real-world outcomes due to the abstract nature of percentage-based profitability metrics. This indicator addresses that challenge by providing a practical, user-friendly tool that simulates trades with real-world parameters like capital, leverage, and compounding. Its open-source nature ensures accessibility, while its integration with other indicators makes it versatile for various trading styles.
How to Use
Add to TradingView: Copy the Pine Script code into TradingView’s Pine Editor and add it to your chart.
Configure Inputs: Set your initial capital, risk percentage, leverage, and TP/SL values in the indicator settings. Select external long/short signal sources if integrating with other indicators.
Monitor Dashboards: Use the Money Management and Target Dashboard tables to track trade performance and risk metrics in real time.
Analyze Results: Review win rates, profit factors, and P&L to refine your trading strategy.
Credits
This indicator builds upon the open-source contributions of LuxAlgo and TCP , whose efforts in sharing their code have made this tool possible. Their dedication to the trading community is deeply appreciated.
ORB2The "ORB2" Indicator (Opening Range Breakout 2) is designed to identify the key price range at the beginning of the trading day—commonly referred to as the opening range. Its main purpose is to help traders detect potential breakout points from this range, which are often used as signals for trade entries.
📌 Purpose
The indicator visually marks the highest (high) and lowest (low) price within a defined time interval at the start of the session (e.g., from 09:15 to 09:20). These values form what’s known as the opening range, which is often considered a consolidation zone before the market chooses a direction.
⚙️ How It Works
Time Setup:
The user defines the time window during which the opening range is monitored (default: 09:15–09:20).
The high and low values are tracked within this interval.
Session Detection:
When the defined session begins (is_first), the indicator records the current high and low as the initial ORB levels.
Range Updating:
During the session, if a new candle has a higher high or a lower low than the previously recorded ORB range, the indicator updates the levels accordingly.
Visualization:
The ORB zone is displayed as a shaded area (a blue fill between a green upper line and a red lower line)—but only when applied to intra-day charts with a time interval less than or equal to the specified inputMax (e.g., 5 minutes).
🎯 Purpose and Benefits
Quick breakout detection – Helps traders easily identify when price breaks out of the initial consolidation.
Clear visualization – Highlights the high/low boundaries and range area, making breakout strategies more effective.
Customizability – The user can adjust the session time and the maximum allowed chart resolution for display.
Asian, London, New York SessionHey traders! If you trade SPX500 or NASDAQ100, timing is everything.
I created a Session Time Interval Indicator that marks the key market sessions – Asian, London, and New York – right on your chart.
It also places red vertical lines at 3 important times:
🕕 06:00 AM – Start of the Asian session
🕒 15:00 PM – Start of the London session
🕤 21:30 PM – New York Stock Exchange open
All based on UTC+8 Singapore time.
These times are when volatility hits. The red lines help you spot key breakouts, reversals, or momentum shifts — especially on US indexes like SPX500 and NASDAQ100."
This tool helps you trade smarter — not harder.
Get better entries, avoid fake moves, and stay in sync with the global market flow.
Check out the Session Time Indicator for SPX500 and NASDAQ100 today.
Innotrade Multi-TF SMMA + VWAP Price ActionWelcome to the Innotrade Price Action Concept, a comprehensive indicator designed to demystify market movements and empower your trading decisions. This script integrates multiple powerful analytical tools into a single, cohesive framework, focusing on how price behaves in relation to key levels, volume, and specific candlestick formations. It's built to help you "read the story" the market is telling.
What is the Innotrade Price Action Concept? (In Simple Terms):
Think of the market as a dynamic environment where buyers and sellers are constantly interacting. The Innotrade Price Action Concept aims to interpret these interactions by observing:
The Overall Trend: Are buyers or sellers generally in control?
Specific Price Behaviors: Are there strong, decisive moves, or signs of hesitation and potential reversals?
Volume Clues: Is there conviction behind the price movements? Are big players involved?
Key "Fair Value" Areas: Where has the market established important price zones?
Contextual Signals: Are there specific patterns forming under particular market conditions that offer an edge?
This script provides the tools to analyze these aspects, all working together.
Core Pillars of the Innotrade Price Action Concept (Features Explained):
Pillar 1: Trend & Market Structure (Smoothed Moving Averages - SMMAs & Clouds)
Innotrade SMMAs (SMMA 1 & SMMA 2):
These are your primary guides for understanding trend direction and dynamic support/resistance.
SMMA 1 (default 9-period, green/red) is the faster-reacting average, showing short-term sentiment.
SMMA 2 (default 21-period, lime/maroon) is the slower average, indicating the more established trend.
The Story: When SMMA 1 is above SMMA 2 and both are angling up, buyers are generally in control (uptrend). The opposite suggests a downtrend.
Innotrade SMMA Clouds:
These shaded areas around each SMMA represent zones of volatility and potential support/resistance.
The Story: Price interacting with these clouds can signal bounces or breakthroughs. A widening cloud might indicate increasing volatility.
Pillar 2: Candlestick Storytelling (Bar Pattern Recognition)
The Innotrade Concept emphasizes that individual candles and short sequences tell a story. This script automatically highlights key "chapters":
Elephant Bars (Momentum): Very large candles signaling strong conviction. (Bullish: Green, Bearish: Red)
The Story: A strong push in one direction.
Tail Bars (Indecision/Reversal): Small bodies, long wicks (pin bars). (Bullish: Lime, Bearish: Maroon)
The Story: Price was rejected at a certain level, hinting at a potential shift.
180 Bars (Strong Reversal): An Elephant Bar quickly and strongly reversed. (Bullish: Blue, Bearish: Purple)
The Story: A sudden, powerful change in sentiment.
RBI (Red Bar Ignored / Potential Continuation Down): A bearish candle after two bullish ones. (Teal)
The Story: Buyers tried, but sellers overwhelmed them, possibly continuing the downtrend.
GBI (Green Bar Ignored / Potential Continuation Up): A bullish candle after two bearish ones. (Orange)
The Story: Sellers tried, but buyers stepped in, possibly continuing the uptrend.
Pillar 3: Volume Intelligence (PVSRA Candle Coloring)
Price action is more reliable when confirmed by volume. PVSRA (Price Volume Spread Range Analysis) helps:
If enabled, candles are colored based on their range, closing position, and volume.
The Story: Helps spot if "smart money" or significant interest is behind a move. (Special Vector Colors: Red, Green, Violet, Blue highlight these moments).
Pillar 4: Fair Value & Key Levels (Innotrade Multi-Timeframe VWAP)
Innotrade VWAP (Volume Weighted Average Price):
This isn't just any average; it's the average price weighted by how much volume was traded at each price level. It's a key reference for institutional traders.
The script plots VWAP for multiple timeframes (Daily, Weekly, Monthly, Quarterly, Yearly).
The Story: VWAP levels often act as magnets for price, or as dynamic support/resistance. Trading above the Daily VWAP can be seen as bullish for the day, and below as bearish.
VWAP Standard Deviation Bands:
Optional bands around a selected VWAP show common deviations from the "fair value."
The Story: Extreme deviations might signal overextension and a potential pullback towards the VWAP.
Previous Period VWAP Levels:
Yesterday's (or last week's, etc.) VWAP can be a powerful psychological level.
Pillar 5: Contextual Signals (GBI/RBI Text Labels)
This adds a specific layer to the Innotrade Concept:
"GBI" Text: Appears under a GBI candle pattern only if the price is currently below SMMA 1.
The Story: A bullish GBI pattern is forming, but it's fighting against short-term bearish pressure (below SMMA 1). If it succeeds, the move could be stronger.
"RBI" Text: Appears under an RBI candle pattern only if the price is currently above SMMA 1.
The Story: A bearish RBI pattern is forming, but it's fighting against short-term bullish pressure (above SMMA 1). If it succeeds, the move down could be more significant.
How to Apply the Innotrade Price Action Concept (The Strategy):
The core of the Innotrade Price Action Concept is CONFLUENCE – waiting for multiple signals from the pillars above to align.
Step 1: Understand the Dominant Trend & Market Structure.
Are SMMAs trending up or down? Is SMMA 1 above/below SMMA 2?
Where is price relative to the key Innotrade VWAP levels (e.g., Daily, Weekly VWAP)?
Is price inside or breaking out of an SMMA Cloud?
Step 2: Look for Candlestick Stories at Key Areas.
As price approaches an SMMA, a VWAP level, or a cloud edge, watch for the formation of Elephant Bars, Tail Bars, or 180 Bars.
Does a PVSRA "vector" candle appear, confirming volume interest at this level?
Step 3: Identify GBI/RBI Setups for Specific Context.
If a GBI pattern forms below SMMA 1, and you see the "GBI" text, this could be an early sign of buyers attempting to overcome short-term resistance. Look for follow-through.
If an RBI pattern forms above SMMA 1, and you see the "RBI" text, this could be an early sign of sellers attempting to break short-term support. Look for follow-through.
Step 4: Seek Confirmation and Manage Risk.
High Probability Setups: The strongest signals occur when:
A bullish bar pattern (e.g., Bullish Elephant, Bullish Tail, GBI text) forms near support (SMMA, VWAP, Cloud bottom) within an established uptrend.
A bearish bar pattern (e.g., Bearish Elephant, Bearish Tail, RBI text) forms near resistance (SMMA, VWAP, Cloud top) within an established downtrend.
PVSRA volume confirms the move.
Example Trade Idea (Bullish):
Price is above SMMA 2 and SMMA 1 (uptrend).
Price pulls back to touch SMMA 1 or the Daily VWAP.
A Bullish Tail Bar or Bullish Elephant Bar forms, OR a GBI pattern with "GBI" text appears.
A green/blue PVSRA candle confirms buying interest.
This confluence of signals suggests a potential entry.
Always use appropriate stop-loss orders and manage your risk.
Customization:
The Innotrade Price Action Concept is adaptable. You can:
Adjust SMMA lengths.
Customize all colors to your preference.
Toggle on/off VWAPs, Clouds, and PVSRA coloring.
Fine-tune bar pattern parameters.
Enable/disable GBI/RBI text and alerts.
Disclaimer:
The Innotrade Price Action Concept and this script are for educational and informational purposes.
This is NOT financial advice. Trading involves significant risk.
Past performance does not guarantee future results.
Always test thoroughly and combine with your own judgment and risk management.
Acknowledgements:
This script embodies the "Innotrade Price Action Concept," bringing together established analytical techniques into a unified framework for market analysis.
CTS : Clear Trend and Swing Signal Alert by TonyAlgo📌 CTS: Clear Trend and Swing Signal Alert
by TonyAlgo
CTS (Clear Trend and Swing Signal) is a powerful trend-following tool designed to help traders identify high-probability swing setups in the direction of the prevailing market trend. This indicator simplifies price action and trend analysis into clear alerts, empowering traders with actionable decisions across multiple timeframes.
🔍 Core Features:
🔄 Swing Detection: Automatically labels Higher Lows (HL) and Lower Highs (LH) using customizable pivot settings.
📈 Trend Analysis: Confirms trend direction using slow swing structure (HH/HL = Uptrend, LH/LL = Downtrend).
⚡ Signal Alerts: Alerts for Bullish Continuation (BUY) and Bearish Continuation (SELL) based on recent swing and trend alignment.
📊 Volume, RSI, ADX Filters: Optional filters to improve signal quality and reduce noise.
🧠 Dashboard: Clean and readable on-chart panel showing real-time trend, swing class, RSI, ADX, and ADR info.
🎯 Custom Alert Options: Enable or disable individual filters like Trend, Volume, ADX, and alert types (HL or LH) for flexible control.
✅ Best Use Cases:
Identifying trend continuation setups after pullbacks.
Confirming directional bias in swing and intraday strategies.
Filtering out weak signals using built-in momentum and volume confirmation.
⚙️ How to Use:
Load the indicator on your preferred chart and timeframe (works well on H1 and H4).
Customize pivot lengths and filter options to suit your strategy.
Enable TradingView alerts for real-time BUY/SELL signals based on the logic you prefer.
🔔 Sample Alert Message:
CTSAlert -> BUY UPTREND HL on H1 @EURUSD price: 1.0865
CTSAlert -> SELL DOWNTREND LH on H1 @EURUSD price: 1.0866
Percent Change of Range Candles📌 Indicator Description: "Percent Change of Range Candles"
This indicator is designed to visualize the percentage price change over a specified number of candles, relative to the historical market range. Instead of traditional candles, it uses a custom "range candle" visualization that reflects relative changes in context with the highest and lowest points within a given period.
🎯 Purpose and Application
The goal of this indicator is to:
Show how much the current price has changed compared to the price length candles ago (default: 100).
Express this change as a percentage of the total price range during that period.
Help traders identify extreme price movements, whether bullish or bearish.
Serve as an additional filter for momentum zones, divergences, or overextended conditions.
⚙️ How It Works
🔹 Core Calculation:
Range: The difference between the highest and lowest price over the selected period (length).
Price Change: The difference between the current close and the close length bars ago.
Percentage Value: (price_change / range) * 100
🔹 Additional Logic:
The synthetic open value is calculated as the average of the last 5 c values.
The high and low of each range candle are adjusted:
If c is negative, the high is replaced with a shorter-term percentage change (25% of length).
If c is positive, the low is adjusted in the same way.
🔹 Visualization:
Displays custom candles based on percentage change, not real price.
Candle color is green if the current value is above the recent average, and red if below.
Horizontal reference lines are drawn at +100, +70, 0, -70, and -100, helping to identify extremes.
✅ Advantages and Use Cases
Detects market extremes and potential reversal zones.
Useful in volatility or momentum-based strategies.
Can serve as a signal filter or divergence detector when combined with other tools (e.g., RSI, MACD).
Liquidity Sweep Trap Alert📈 Liquidity Trap Indicator – Bull & Bear Trap Detection
🧠 What It Does:
This indicator is designed to detect false breakouts – also known as liquidity traps – where price briefly breaks a key level (like support/resistance) and quickly reverses. These are often engineered by smart money to trigger retail stop losses and fill their own orders.
✅ Key Features:
🔎 Bull Trap: Price breaks above recent high, then closes back below → potential short signal.
🔎 Bear Trap: Price breaks below recent low, then closes back above → potential long signal.
📊 Volume Spike Filter: Confirms traps with unusual volume activity.
🔄 Engulfing Confirmation: Ensures trap is followed by a strong candle in opposite direction.
📉 Trend Filter (EMA): Filters trades only in direction of prevailing trend.
🧠 Trap Memory: Gives up to 2 candles after trap to confirm trade.
📍 Visual Labels: Clear “Trap ↑” or “Trap ↓” tags on the chart.
🎯 Best Used For:
High volatility assets like BTC, ETH, or NIFTY
Traders who want to avoid fake breakouts
Smart Money or Price Action-based systems
⚠️ Disclaimer:
This tool is meant for educational and experimental purposes. Do your own analysis before taking trades. Past performance is not indicative of future results.
EU Session Only StrategyThe name of the strategy is the EU session only, but you choose which time is important for you to follow, it can also be the beginning of the US session, a few hours after the news (2 hours after the US open level) or based on the daily open level.
📌 Indicator Description: "EU Session Only Strategy"
This TradingView indicator, written in Pine Script version 6, represents a simple yet effective intraday trading strategy focused exclusively on the European trading session.
🎯 Purpose and Use
The goal of this strategy is to:
Automatically identify the European session open price for the current trading day.
Trade only during a defined intraday time window (e.g., between 08:00 and 18:00 UTC).
Enter a trade only if the price moves a certain distance (in pips) away from the EU open level.
Limit the number of trades per day to avoid overtrading.
Automatically close all open positions at the end of the day to minimize overnight risk.
⚙️ How It Works
🔹 1. EU Open Level
When the European session opens (e.g., 09:00 UTC), the strategy records the opening price at that moment (eu_open_price).
This level is displayed as a red horizontal line on the chart.
🔹 2. Entry Conditions
The strategy checks if the current price:
Is above the EU open level by at least a defined number of pips → Buy signal.
Is below the EU open level by at least a defined number of pips → Sell signal.
Trading is allowed only within the specified time range (e.g., 08:00 to 18:00 UTC).
A maximum number of trades per day is enforced (e.g., 2 trades max).
🔹 3. Exit Conditions
If an opposite signal appears during the day, the strategy automatically closes the current position.
At the start of each new day, all open positions are closed, regardless of direction or profit.
✅ Advantages
A clear and efficient system based on price reaction around a key daily level.
Suitable for automated backtesting and optimization on TradingView.
Reduces risk with daily trade limits and end-of-day auto-closing.
Ideal for forex pairs that show volatility during the European session (e.g.,GOLD, EUR/USD, GBP/USD, etc.).
Options Betting Range - FixedOptions Betting Range
Options Betting Range is a powerful TradingView indicator designed to streamline options trading by visualizing high-probability price ranges for key symbols. With automated trendlines and clear labels, it empowers traders to make precise, data-driven decisions based on customizable prediction and execution dates.
## Key Features
Broad S&P 500 Coverage: Supports most S&P 500 stock symbols, excluding those with insufficient options volume for reliable data, alongside major ETFs and indices like SPY, IWM, QQQ, DIA, TLT, ^GSPC, ^IXIC, ^RUT, ^NDX, and ^SOX.
Automated Trendlines: Plots dashed and solid trendlines to mark high/low price boundaries, triggered only on specified prediction dates for clean, uncluttered charts.
Customizable Inputs: Configure prediction and execution dates to align with your trading strategy.
Clear Visuals: Color-coded labels (green for highs, purple for lows) display price ranges and percentage spreads for rapid decision-making.
Single-Execution Logic: Draws trendlines once per prediction date, ensuring chart clarity and efficiency.
## How It Works
Based on the latest daily open interest data, the indicator calculates swing ranges for different strike dates, drawing trendlines and labels to visualize potential price boundaries for options trading.
## Why Use It?
Streamlined Analysis: Automates range visualization, saving time and reducing manual charting.
Strategic Clarity: Objective price levels minimize emotional bias and enhance trade planning.
Versatile Application: Ideal for day traders, swing traders, and options strategists across multiple markets.
## Tips for Best Use
Regular Updates: To maintain the accuracy of options betting ranges, periodically update the indicator. On the view page, hover over the indicator name and click the blue whirlwind icon to complete the update.
## Get Started
Add Options Betting Range to your TradingView chart, select a supported symbol, and customize your prediction/execution dates. Leverage the visualized price ranges to execute precise options trading strategies with confidence.
EU & US Current Day Only📌 Purpose of the Indicator
The purpose of this indicator is:
To automatically detect and mark the opening prices of the European and U.S. trading sessions for each day.
To generate buy/sell trading signals only when specific intraday conditions are met.
To limit the number of trades per day and ensure that all trades are closed by the end of the day.
To enable intraday trading within a defined time window and with confirmed price action.
⚙️ How the Indicator Works
1. User Inputs
The user defines the following parameters:
Opening hour for the EU and US sessions (UTC).
Maximum number of trades per day (e.g., 2).
Minimum distance in pips the price must move from the session open levels to confirm a signal.
Trading hours (start and end).
Time zone.
2. Tracking Session Open Prices
At the start of each new day, the indicator:
Detects the exact moment when the EU and US sessions open (e.g., 9:00 UTC for EU).
Records the opening prices of these sessions (eu_open_price and us_open_price).
These levels are then plotted as horizontal lines on the chart:
Red line = EU Open
Black line = US Open
3. Trading Signals
The strategy will only trigger a trade if the following conditions are met:
Trading is happening within the defined hours (start_hour to end_hour).
Both session open levels (EU & US) are defined for the current day.
The current price is:
Above both levels by a defined pip distance → Buy signal.
Below both levels by a defined pip distance → Sell signal.
The strategy has not yet reached the maximum number of trades for the day.
Example logic:
If price moves more than 20 pips above both EU and US open levels → enter a long position.
If price drops more than 20 pips below both levels → enter a short position.
4. Exiting Positions
If the opposite signal appears while a position is open:
The strategy will automatically close the current position.
Additionally, at the start of a new day, any open positions are forcefully closed:
pinescript
Копирај
Измени
strategy.close_all(comment="Close EOD")
This ensures that the strategy remains purely intraday and avoids overnight risk.
✅ Advantages
Clear identification of daily session levels (EU/US open).
Filters out weak signals using minimum pip distance.
Limits the number of trades per day – avoids overtrading.
Automatically closes trades at the end of the day – reduces risk.
🔚 Conclusion
This indicator is especially useful for intraday traders who base their entries on how price behaves around the EU and US session open levels. The strategy is clean, rule-based, and suitable for automated backtesting, optimization, and real-time trading—especially for currency pairs with high volatility during the European and American sessions.
S/R-AA+++++++AAThe “S/R-AA+++++++AA” indicator is an advanced technical analysis tool that automatically identifies and plots key Support and Resistance (S/R) levels based on a combination of RSI, CMO, and pivot points. It is designed for traders who need clear visual signals of important price zones on the chart.
🔧 How It Works:
The indicator uses the following logic to detect support and resistance:
RSI (Relative Strength Index) – Utilized in both standard and legacy forms to detect extreme conditions (below 25 for support, above 75 for resistance).
CMO (Chande Momentum Oscillator) – Based on HMA (Hull Moving Average), this acts as a momentum confirmation filter.
Pivot Points – Short-term (2-bar) pivots are used to identify local highs and lows for precise S/R plotting.
🧠 Detection Logic:
A Support Zone is marked when RSI is low (< 25), CMO is strongly positive (> 50), and a local low is detected.
A Resistance Zone appears when RSI is high (> 75), CMO is strongly negative (< -50), and a local high is formed.
📈 Visual Output:
The indicator automatically draws horizontal lines:
Blue Line = Support
Red Line = Resistance
Lines are displayed on the selected timeframe (S/R Timeframe) and shown directly on the chart as an overlay.
🔔 Extra Features:
Alert Support: Allows users to set alerts when a new support or resistance level is formed.
Customizable line thickness and colors for improved visibility and clarity.
🎯 Purpose of the Indicator:
The purpose of this indicator is to automatically identify high-probability price reversal zones, helping traders better plan their entries, exits, stop-loss, and take-profit levels.
Advanced VW SMI w/ Divergence, Confirmations & TableVolume-Weighted SMI with Dynamic Divergence and Confirmation
Description:
This advanced indicator combines the Stochastic Momentum Index (SMI) with volume weighting, dynamic overbought/oversold bands, and robust divergence detection to help you spot true momentum reversals confirmed by volume, trend, and momentum.
Features
Volume-Weighted SMI
The SMI is amplified or dampened based on normalized volume, filtering out low-interest price moves and highlighting those with real conviction.
Dynamic OB/OS Bands
Overbought and oversold levels adapt automatically to current volatility and trend using moving average and standard deviation bands, keeping signals relevant across all market regimes.
Divergence Detection with Visuals
Real-time bullish and bearish divergence signals are drawn right on the SMI line, including lines and labels, making reversal setups easy to spot.
Triple Confirmation
Divergence signals are filtered by:
Volume surge (user adjustable)
RSI extremes (oversold/overbought)
Higher timeframe trend (optional EMA filter)
Customizable Volume Weighting
Adjust how much influence volume has on SMI signals—tune sensitivity to your market and style.
Performance Table
Track bullish/bearish divergence counts in real time.
How to Use
Add to your chart.
(Move to a separate pane for best results.)
Adjust settings to fit your market (lengths, volume power, trend filter, etc.).
Watch for colored SMI moves outside dynamic bands for momentum extremes.
Look for divergences marked by arrows, lines, and labels on the SMI.
Use table count for an overview of signal frequency.
Tips
Works on all timeframes; try adjusting dynamic band length for higher timeframes.
For scalping, lower the SMI and pivot lengths.
For swing trading, enable trend and volume confirmations for higher confidence.
Use with other price action signals for best results.
Created with Pine Script v5.
If you find this helpful, please give it a like or comment!
Dynamic Auto RangesBrief Overview:
The "Dynamic Auto Ranges" indicator automatically detects and displays dynamic price range levels around the current market price. This indicator was initially designed and optimized for price movements on Nasdaq, but may also be useful for other instruments with input adjustments. Its purpose is to help traders identify potential support/resistance zones or other key price levels in an adaptive manner. All range lines and their labels are displayed in red for clear visibility.
Key Features:
Automatic Main Range Detection: The indicator intelligently calculates a primary price range block (e.g., 21600-21800) based on the real-time price.
Adjustable Main Range Block Size: Users can select the size of this main range block via settings (e.g., 50, 100, 200, 500 points, etc.), allowing flexibility for various instruments and trading styles.
Automatic Subdivisions: Within the detected dynamic main range, the indicator automatically draws subdivision lines at intervals that are also user-configurable (e.g., every 25 points).
Full Horizontal Lines: All range lines are displayed as full horizontal lines extending to both the left and right sides of the chart (extend.both), providing a clear visualization of levels across history and into the future.
Informative Price Labels: Each subdivision line is accompanied by a clear price label, positioned below the line for easy readability. The label text size has also been adjusted to be larger and more visible (size.small).
Contrasting Red Visuals: Lines and price label text are displayed in red to ensure they stand out on your chart.
Line Style Configuration: Users can customize the line style (Solid, Dashed, Dotted) and the line width for general subdivisions, as well as for the main boundaries of the range block.
Real-time Updates: The range levels and their subdivisions will automatically shift and update as the market price moves into new main range blocks.
How to Use:
Add the "Dynamic Auto Ranges" indicator to your chart (optimized for Nasdaq, but can be tested on other instruments).
Open the indicator's settings (the gear icon next to the indicator name).
Adjust the "Main Range Block Size" to determine how large you want the primary range block to be around the current price.
Set the "Subdivision Step" to determine the interval for the lines within that main range.
Use the displayed lines as a reference for your price action analysis.
Customizable Settings:
Main Range Block Size: Choose the size of the main range block.
Subdivision Step: Set the interval for subdivision lines.
Style: Select the line style (Solid, Dashed, Dotted).
Width: Set the line width for subdivisions.
Main Boundary Width: Set a specific width for the main range block boundary lines.
Note:
This indicator is designed to provide visual guidance based on mathematical calculations of price movements. Like all trading tools, it should be used as part of a comprehensive trading strategy and not as the sole basis for making trading decisions.
Candle Setup🧠 This indicator is based on a strategy concept by Arshia from the LEEMEENAL group.
The SMA Shadow Strategy is a visual candlestick-based setup designed to identify potential reversal points by analyzing the relationship between the candle's shadows (wicks) and a Simple Moving Average (SMA).
📊 How It Works
This strategy focuses on candles with significant upper or lower shadows relative to their body size, suggesting potential rejection zones. The conditions are split between red (bearish) and green (bullish) candles:
🔴 Red Candle Setup:
The SMA line is inside or slightly above the upper shadow.
The upper shadow is significantly larger than the body (customizable ratio).
The lower shadow is smaller than the body.
These conditions hint at strong rejection from above, often signaling a potential short opportunity or resistance confirmation.
🟢 Green Candle Setup:
The SMA line is inside or slightly below the lower shadow.
The lower shadow is significantly larger than the body (customizable ratio).
The upper shadow is smaller than the body.
This setup suggests a price rejection from below, indicating a potential long opportunity or support confirmation.
⚙️ Customizable Conditions
Users can enable or disable each of the setup rules independently for both red and green candles:
Enable SMA shadow alignment.
Adjust the shadow-to-body ratio separately for red and green candles.
Toggle shadow logic (e.g., lower/upper shadows relative to body).
🛎 Alerts
Alerts are included for both red and green signal conditions, making it easier to integrate into automated workflows or notification systems.
If you found this indicator helpful, feel free to share or give credit to Arshia - LEEMEENAL Group. 🙏
Buysell Martingale Signal - CustomBuysell Martingale Signal - Custom Indicator
Introduction:
This indicator provides a dynamic buy and sell signal system incorporating an adaptive Martingale logic. Built upon the signalLib_yashgode9/2 library, it is designed for use across various markets and timeframes.
Key Features:
Primary Buy & Sell Signals: Identifies initial buy and sell opportunities based on directional changes derived from the signalLib.
Martingale Signals:
For Short (Sell) Positions: A Martingale Sell signal is triggered when the price moves against the existing short position by a specified stepPercent from the last entry price, indicating a potential opportunity to average down or increase position size.
For Long (Buy) Positions: Similarly, a Martingale Buy signal is triggered when the price moves against the existing long position by a stepPercent from the last entry price.
On-Chart Labels: Displays clear, customizable labels on the chart for primary Buy, Sell, Martingale Buy, and Martingale Sell signals.
Customizable Colors: Allows users to set distinct colors for primary signals and Martingale signals for better visual distinction.
Adjustable Sensitivity: Features configurable parameters (DEPTH_ENGINE, DEVIATION_ENGINE, BACKSTEP_ENGINE) to fine-tune the sensitivity of the underlying signal generation.
Webhook Support (Static Message Alerts): This indicator provides alerts with static messages for both primary and Martingale buy/sell signals. These alerts can be leveraged for automation by external systems (such as trading bots or exchange-provided Webhook Signal Trading services).
Important Note: When using these alerts for automation, an external system is required to handle the complex Martingale logic and position management (e.g., tracking steps, PnL calculation, hedging, dynamic quantity sizing), as this indicator solely focuses on signal generation and sending predefined messages.
How to Use:
Add the indicator to your desired chart.
Adjust the input parameters in the indicator's settings to match your specific trading symbol and timeframe.
For automation, you can set up TradingView alerts for the Buy Signal (Main/Martingale) and Sell Signal (Main/Martingale) conditions, pointing them to your preferred Webhook URL.
Configurable Parameters:
DEPTH_ENGINE: (e.g., 30) Controls the depth of analysis for the signal algorithm.
DEVIATION_ENGINE: (e.g., 5) Defines the allowable deviation for signal generation.
BACKSTEP_ENGINE: (e.g., 5) Specifies the number of historical bars to look back.
Martingale Step Percent: (e.g., 0.5) The percentage price movement against the current position that triggers a Martingale signal.
Labels Transparency: Adjusts the transparency of the on-chart signal labels.
Buy-Color / Sell-Color: Sets the color for primary Buy and Sell signal labels.
Martingale Buy-Color / Martingale Sell-Color: Sets the color for Martingale Buy and Sell signal labels.
Label size: Controls the visual size of the labels.
Label Offset: Adjusts the vertical offset of the labels from the candlesticks.
Risk Warning:
Financial trading inherently carries significant risk. Martingale strategies are particularly high-risk and can lead to substantial losses or even complete liquidation of capital if the market moves strongly and persistently against your position. Always backtest thoroughly and practice with a demo account, fully understanding the associated risks, before engaging with real capital.
Dear Traders SwingX Score v1🎯 Dear Traders SwingX Score
A powerful swing trading indicator that combines momentum, trend strength, and volume analysis to identify high-probability trading opportunities.
🔍 Key Features:
Multi-factor Scoring System (1-5 for bullish, -1 to -5 for bearish)
Volume Confirmation (with MA filter for stronger signals)
Trend Strength Analysis (proprietary ADX calculation)
Momentum Detection (custom RSI thresholds)
Clear Visual Signals (color-coded labels above/below bars)
💡 How It Works:
The indicator evaluates:
Trend strength using a modified ADX formula
Momentum conditions through specialized RSI thresholds
Volume confirmation with moving average filter
Combines these factors into an easy-to-read scoring system
🚦 Signal Interpretation:
Positive Scores (1-5): Bullish opportunities (higher numbers = stronger signal)
Negative Scores (-1 to -5): Bearish opportunities
"*" Symbol: Volume-confirmed (stronger validity)
Neutral (0): Market in balance
⚙️ Customizable Settings:
Adjustable ADX length and threshold
Configurable RSI period
Volume MA length for confirmation filter
📈 Best Used For:
Swing trading and Holding Decision
Confirming other strategy signals
Identifying trend reversals early
Filtering high-probability entries
Note: This is a standalone indicator but works exceptionally well when combined with price action analysis and proper risk management.
Polynomial Deviation BandsThis indicator applies polynomial regression of selectable degree (1st to 4th) to recent price data, fitting a smooth curve that models the underlying price trend more flexibly than linear regression.
Around this polynomial regression line, it plots dynamic deviation bands calculated using a variety of selectable methods—including standard deviation, mean/median absolute deviation, exponential deviation, true range deviation, Hull, Frama, Kaufman adaptive, Gaussian weighted, and quantile deviation—providing a comprehensive view of price volatility and dispersion.
Key Features:
Polynomial regression fit updated on each bar, capturing nonlinear price trends.
Multiple deviation calculation options allow customization of band sensitivity and robustness.
Bands adjust dynamically to changing volatility and price behavior.
Overlay on price chart with optional candle coloring based on trend signals derived from price relative to bands.
Trend signals indicated by price crossing upper or lower bands.
Useful for identifying trend direction, potential support/resistance, and volatility expansion/contraction.
This tool combines advanced statistical modeling with flexible volatility measures to help traders better understand price structure and make informed trading decisions.
The indicator is computationally efficient despite polynomial fitting and offers extensive customization for diverse trading styles and markets.
Disclaimer
Disclaimer: This indicator is provided for educational and informational purposes only and does not constitute investment advice. Trading involves risk and may result in financial loss. Always perform your own research and consult with a qualified financial advisor before making any trading decisions.
400 REBEX SUPER BUY MAs, BB, and TriggersFor Swing Trading, use on higher TF only. TABLE is provided for easy reference. buy signal based on price crossing lower bollinger band or Price cross cross under 3 MAs. Good for large caps. // check fundamentals always for swing trading //
HedgeFI ICT V1.0 - Sessions, Gaps & ERLHedgeFI ICT Indicator has been created as a companion indicator to Michael Huddleston's ICT framework.
FVGs on current timeframe + HTF
HTF candles can be overlayed to help with Po3 identification
Break of structure when key swing high/lows are purged
Asia, London, NY sessions with session highs and lows
Enjoy!
500 SUPER 20 AND 67% EMA TABLE volRIndicator for swing trading , higher timeframes . Table provides the data of fall from recent high. (BUY Low and SELL high)
Options Volatility Strategy Analyzer [TradeDots]The Options Volatility Strategy Analyzer is a specialized tool designed to help traders assess market conditions through a detailed examination of historical volatility, market benchmarks, and percentile-based thresholds. By integrating multiple volatility metrics (including VIX and VIX9D) with color-coded regime detection, the script provides users with clear, actionable insights for selecting appropriate options strategies.
📝 HOW IT WORKS
1. Historical Volatility & Percentile Calculations
Annualized Historical Volatility (HV): The script automatically computes the asset’s historical volatility using log returns over a user-defined period. It then annualizes these values based on the chart’s timeframe, helping you understand the asset’s typical volatility profile.
Dynamic Percentile Ranks: To gauge where the current volatility level stands relative to past behavior, historical volatility values are compared against short, medium, and long lookback periods. Tracking these percentile ranks allows you to quickly see if volatility is high or low compared to historical norms.
2. Multi-Market Benchmark Comparison
VIX and VIX9D Integration: The script tracks market volatility through the VIX and VIX9D indices, comparing them to the asset’s historical volatility. This reveals whether the asset’s volatility is outpacing, lagging, or remaining in sync with broader market volatility conditions.
Market Context Analysis: A built-in term-structure check can detect market stress or relative calm by measuring how VIX compares to shorter-dated volatility (VIX9D). This helps you decide if the present environment is risk-prone or relatively stable.
3. Volatility Regime Detection
Color-Coded Background: The analyzer assigns a volatility regime (e.g., “High Asset Vol,” “Low Asset Vol,” “Outpacing Market,” etc.) based on current historical volatility percentile levels and asset vs. market ratios. A color-coded background highlights the regime, enabling traders to quickly interpret the market’s mood.
Alerts on Regime Changes & Spikes: Automated alerts warn you about any significant expansions or contractions in volatility, allowing you to react swiftly in changing conditions.
4. Strategy Forecast Table
Real-Time Strategy Suggestions: At the close of each bar, an on-chart table generates suggested options strategies (e.g., selling premium in high volatility or buying premium in low volatility). These suggestions provide a quick summary of potential tactics suited to the current regime.
Contextual Market Data: The table also displays key statistics, such as VIX levels, asset historical volatility percentile, or ratio comparisons, helping you confirm whether volatility conditions warrant more conservative or more aggressive strategies.
🛠️ HOW TO USE
1. Select Your Timeframe: The script supports multiple timeframes. For short-term trading, intraday charts often reveal faster shifts in volatility. For swing or position trading, daily or weekly charts may be more stable and produce fewer false signals.
2. Check the Volatility Regime: Observe the background color and on-chart labels to identify the current regime (e.g., “HIGH ASSET VOL,” “LOW VOL + LAGGING,” etc.).
3. Review the Forecast Table: The table suggests strategy ideas (e.g., iron condors, long straddles, ratio spreads) depending on whether volatility is elevated, subdued, or spiking. Use these as a starting point for designing trades that match your risk tolerance.
4. Combine with Additional Analysis: For optimal results, confirm signals with your broader trading plan, technical tools (moving averages, price action), and fundamental research. This script is most effective when viewed as one component in a comprehensive decision-making process.
❗️LIMITATIONS
Directional Neutrality: This indicator analyzes volatility environments but does not predict price direction (up/down). Traders must combine with directional analysis for complete strategy selection.
Late or Missed Signals: Since all calculations require a bar to close, sharp intrabar volatility moves may not appear in real-time.
False Positives in Choppy Markets: Rapid changes in percentile ranks or VIX movements can generate conflicting or premature regime shifts.
Data Sensitivity: Accuracy depends on the availability and stability of volatility data. Significant gaps or unusual market conditions may skew results.
Market Correlation Assumptions: The system assumes assets generally correlate with S&P 500 volatility patterns. May be less effective for:
Small-cap stocks with unique volatility drivers
International stocks with different market dynamics
Sector-specific events disconnected from broad market
Cryptocurrency-related assets with independent volatility patterns
RISK DISCLAIMER
Options trading involves substantial risk and is not suitable for all investors. Options strategies can result in significant losses, including the total loss of premium paid. The complexity of options strategies requires thorough understanding of the risks involved.
This indicator provides volatility analysis for educational and informational purposes only and should not be considered as investment advice. Past volatility patterns do not guarantee future performance. Market conditions can change rapidly, and volatility regimes may shift without warning.
No trading system can guarantee profits, and all trading involves the risk of loss. The indicator's regime classifications and strategy suggestions should be used as part of a comprehensive trading plan that includes proper risk management, directional analysis, and consideration of broader market conditions.