Support/Resistance🔰 The "Support/Resistance + Entry Zones" indicator automatically detects key support and resistance levels based on a combination of RSI, CMO, and local pivot points.
⚙️ Logic:
- Support levels are identified when RSI < 25 and CMO > 50 at a local low.
- Resistance levels are identified when RSI > 75 and CMO < -50 at a local high.
- Levels are displayed as horizontal lines (green for support, orange for resistance).
- When a new level appears, visual zones are automatically created:
🟩 Green Buy Zone — around the support level
🟥 Red Sell Zone — around the resistance level
🛎 Alert functionality is available (via `alertcondition`) to notify you when new levels are formed.
📈 You can manually set the timeframe for analysis (e.g., 1h, 4h) in the script settings.
Best used for:
- Spotting potential entry and exit points
- Visualizing market structure and levels
- Algorithmic or signal-based trading
Script by: BarsStallone
Code update: @christofferka
Adaptation with visual zones: ChatGPT AI (upon author’s request)
Indicadores e estratégias
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).
ATR-based Stop Sizing// This indicator calculates stop loss levels based on the Average True Range (ATR).
// The stop is dynamically set depending on market volatility to optimize risk management.
// Parameters and calculations below...
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.
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!
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. 🙏
🧠 My Trading Rules (Customizable)
Made with chatGPT. Quick easy to use script for your trading rules.
I just needed this for my trading rules as a beginner, since i usually forget properly checking for my strategy confirmation rules
Ignore this... i cant publish this without a certain character amount
Made with chatGPT. Quick easy to use script for your trading rules.
I just needed this for my trading rules as a beginner, since i usually forget properly checking for my strategy confirmation rules
Made with chatGPT. Quick easy to use script for your trading rules.
I just needed this for my trading rules as a beginner, since i usually forget properly checking for my strategy confirmation rules
Made with chatGPT. Quick easy to use script for your trading rules.
I just needed this for my trading rules as a beginner, since i usually forget properly checking for my strategy confirmation rules
Made with chatGPT. Quick easy to use script for your trading rules.
I just needed this for my trading rules as a beginner, since i usually forget properly checking for my strategy confirmation rules
Made with chatGPT. Quick easy to use script for your trading rules.
I just needed this for my trading rules as a beginner, since i usually forget properly checking for my strategy confirmation rules
Made with chatGPT. Quick easy to use script for your trading rules.
I just needed this for my trading rules as a beginner, since i usually forget properly checking for my strategy confirmation rules
Made with chatGPT. Quick easy to use script for your trading rules.
I just needed this for my trading rules as a beginner, since i usually forget properly checking for my strategy confirmation rules
Made with chatGPT. Quick easy to use script for your trading rules.
I just needed this for my trading rules as a beginner, since i usually forget properly checking for my strategy confirmation rules
Made with chatGPT. Quick easy to use script for your trading rules.
I just needed this for my trading rules as a beginner, since i usually forget properly checking for my strategy confirmation rules
Made with chatGPT. Quick easy to use script for your trading rules.
I just needed this for my trading rules as a beginner, since i usually forget properly checking for my strategy confirmation rules
Made with chatGPT. Quick easy to use script for your trading rules.
I just needed this for my trading rules as a beginner, since i usually forget properly checking for my strategy confirmation rules
Made with chatGPT. Quick easy to use script for your trading rules.
I just needed this for my trading rules as a beginner, since i usually forget properly checking for my strategy confirmation rules
Made with chatGPT. Quick easy to use script for your trading rules.
I just needed this for my trading rules as a beginner, since i usually forget properly checking for my strategy confirmation rules
Smart Grid Levels - Based on High/LowSmart Fibo
- Calculation of Key Levels:
- Finds the highest and lowest price within the lookbackBars range.
- Computes the price difference (diff) between the high and low.
- Determines the step size (step) by dividing diff by levels, creating evenly spaced grid levels.
- Drawing the Grid Levels:
- A loop (for i = 0 to levels) iterates through the number of levels.
- Each level is calculated based on the lowest price plus increments of step.
- Horizontal lines (line.new) are drawn at each level and extended rightward.
- If showLabels is enabled, price labels are placed at each level.
Usage in Trading :
- Helps identify support and resistance zones based on price range.
- Useful for grid trading strategies, where traders buy near lower levels and sell near higher ones.
- Provides a structured view of price movement without relying on traditional indicators.
Macro Volatility Index TrackerVolatility Index Common TradingView Symbol
VIX CBOE: VIX
RVX CBOE: RVX
NAZVOL CBOE: VXN (sometimes used)
GVZ CBOE: GVZ
OVX CBOE: OVX
EMA + SMA All in One KryptologyChainThis script plots 11 Exponential Moving Averages (EMAs) and 11 Simple Moving Averages (SMAs) on your TradingView chart, each with distinct colors and styles for easy identification.
EMAs are plotted as solid lines.
SMAs are plotted as dotted lines (circle markers) with slight transparency to differentiate them from EMAs.
The moving averages cover key lengths used in technical analysis (e.g., 9, 21, 50, 100, 200).
The script calculates EMAs & SMAs for the following lengths:
9, 10, 11, 21, 38, 50, 61, 65, 100, 190, 200
Volatility Regime Tracker (VIX vs Realized + MOVE)Apply to any chart (preferably SPY, QQQ, or macro assets)
Add alert from the top menu using “Spread Crossed Above” or “Below”
Use the background regime shading to spot when markets move from:
🟢 Calm (green): VIX < Realized
🟡 Neutral
🔴 Panic (VIX premium)
Volatility Tracker: VIX, MOVE, RealizedRealized Volatility (Blue): Based on daily price changes.
VIX (Red): Implied equity volatility.
MOVE Index (Orange): Bond market volatility expectations.
Volatility Spread (Gray): VIX minus Realized Vol — useful for detecting complacency or fear premiums.
Trend Regime BackgroundGreen Background → Strong bullish signal across trend, momentum, and volatility.
Yellow Background → Neutral regime (mixed signals).
Red Background → Bearish trend with weakening momentum and rising risk.
Time HighlightHow This Works:
Time Conversion: The script converts the current time to HHMM format (e.g., 9:16 becomes 916) for easy comparison.
Timeframe Detection: It checks the current chart's timeframe:
For 1-minute charts: Exactly matches the target times
For 5-minute charts: Checks if the target time falls within the 5-minute window
For 15-minute charts: Checks if the target time falls within the 15-minute window
Highlighting: When the condition is met, it highlights the candle with a semi-transparent yellow color.
Note:
The script will work on 1-minute, 5-minute, and 15-minute timeframes only
The highlight appears on the candle that contains the specified time
The transparency is set to 70% so you can still see the candle through the highlight
You can adjust the transparency level by changing the transp parameter (0 = fully opaque, 100 = fully transparent).
make a pine script which change the color of the candle in yellow color in 1,5,15 timeframe at the time of 9:16, 9:31, 9:46
Key Levels with Alerts
Introducing the "Key Levels with Alerts" Indicator
This powerful and fully customizable indicator for the TradingView platform helps you easily identify and monitor crucial **daily, weekly, and monthly price levels** directly on your chart. Beyond just visual representation, the indicator offers advanced alert capabilities to notify you of any price breaks at these significant areas.
Key Levels Identified by the Indicator
This indicator calculates and displays six vital price levels based on the previous day's, week's, and month's closed candles:
1. **PDH (Previous Day High):** The highest price of the previous day.
2. **PDL (Previous Day Low):** The lowest price of the previous day.
3. **PWH (Previous Week High):** The highest price of the previous week.
4. **PWL (Previous Week Low):** The lowest price of the previous week.
5. **PMH (Previous Month High):** The highest price of the previous month.
6. **PML (Previous Month Low):** The lowest price of the previous month.
Core Features
* **Visual Line Display:** Each of these six levels is plotted as a **horizontal line** on your chart. These lines start from the current candle and extend forward for a specified number of candles (defaulting to 20 candles).
* **Complete Style Customization:** For every level (PDH, PDL, PWH, PWL, PMH, PML), you can **independently customize** the line's color, width, and style (solid, dashed, dotted) directly through the indicator's settings. This feature allows you to easily differentiate between the various levels.
* **Toggleable Labels:** You can choose whether to display text labels like "PDH", "PDL", "PWH", "PWL", "PMH", "PML" at the end of each line. The style of these labels will also automatically match their corresponding line colors.
* **Line Visibility Control:** Beyond just labels, you can also independently **show or hide the lines themselves** for PDH, PDL, PWH, PWL, PMH, and PML.
* **Price Break Alerts:** This is one of the indicator's most important features. You can set up alerts for each of these levels:
* **PDH Break Alert:** Triggers when the price moves above the **Previous Day High**.
* **PDL Break Alert:** Triggers when the price moves below the **Previous Day Low**.
* **PWH Break Alert:** Triggers when the price moves above the **Previous Week High**.
* **PWL Break Alert:** Triggers when the price moves below the **Previous Week Low**.
* **PMH Break Alert:** Triggers when the price moves above the **Previous Month High**.
* **PML Break Alert:** Triggers when the price moves below the **Previous Month Low**.
* **Clear Alert Messages:** Each alert message includes the **symbol or ticker name** (e.g., ` `) so you can quickly identify which asset the alert pertains to and which level has been broken.
* **Enable/Disable Alerts:** You have the flexibility to enable or disable each PDH, PDL, PWH, PWL, PMH, and PML alert independently via the indicator's settings.
Why This Indicator Is Useful
Daily, weekly, and monthly High and Low levels often act as **key support and resistance areas**. Traders use these levels to identify potential entry and exit points, set stop-loss and take-profit targets, and understand overall market sentiment. This indicator, with its clear visualization and timely alerts, helps you effectively leverage this crucial information in your trading strategies.
Simple Monthly SeasonalityThis script helps traders quickly visualize how an asset performs month by month over a customizable historical period.
🔍 What it does:
• Calculates average monthly returns over the past N years (default: 15).
• Highlights the current month for quick context.
• Displays results in a clean 2-column table (Month | Avg % Return).
💡 Features:
• Works on any timeframe – internally pulls monthly data.
• Color-coded performance (green for positive, red for negative).
• Dynamic highlights – the current month is softly emphasized.
• Fully customizable lookback period (1–50 years).
📈 Use cases:
• Spot seasonal market trends.
• Time entries/exits based on recurring historical strength/weakness.
• Build the foundation for more advanced seasonality or macro scripts.
Just load it on any chart and see which months historically outshine the rest.
⸻
Trend Filter WMA⚙️ Trend Filter WMA is a custom-built trend-following tool that combines Weighted Moving Average (WMA) and Donchian Channels to identify low-risk breakout entries.
This strategy is designed with multi-timeframe traders and intraday leveraged setups in mind. It aims to minimize noise and false signals by:
Using a dynamic WMA trend filter to determine bullish or bearish bias.
Waiting for price to cross key Donchian levels in alignment with the prevailing trend.
Providing clean, reactive signals with visual highlights and optional background shading.
🔍 Entry Logic:
A long signal occurs when the price breaks above the Donchian lower boundary during an uptrend (price > WMA).
A short signal occurs when price breaks below the Donchian upper boundary during a downtrend (price < WMA).
This helps avoid chasing fake breakouts during sideways conditions and ensures trend confirmation.
📈 Profit Expectation & Use Case:
This tool is especially useful in high-frequency or leveraged environments (e.g., crypto perpetual futures or margin trading), where:
Traders aim for quick gains of around 0.5% per entry, using tight stop-loss levels.
The idea is to compound micro-trends efficiently while filtering out whipsaws.
Designed for scalping or short-term trend continuation setups.
✅ Additional Features:
Visual background coloring to indicate trend direction.
Optional signal markers for Buy/Sell entries.
Configurable inputs for Donchian channel and WMA smoothing period.
⚠️ Notes:
This script does not repaint and is compatible with most timeframes.
It is not a financial advice tool; users should always test and adjust for their own strategy logic and risk parameters.
👤 Author's Note:
This is an original script developed from scratch, combining classic methods into a simple yet effective filter mechanism. All components, visuals, and logic are uniquely implemented for this indicator.
FX Fix with Adjustable TimezoneFX Fix Time Highlighter
This indicator visually highlights candlesticks at a user-defined time and timezone to help traders easily identify when the FX fix occurs. Simply set your preferred timezone and the exact time you want to mark on the chart, and the indicator will automatically highlight the corresponding candlesticks.
Ideal for forex traders who want a clear visual reference of the FX fix window, aiding in analysis of price behavior during this key market event.
Features:
Customizable timezone selection
Adjustable highlight time (hour and minute)
Automatic candlestick highlighting at the chosen time
Supports all timeframes
Use this tool to better understand market dynamics around the FX fix and improve your trading decisions.
5/20 EMA Entry + 1/5 Cross-Count ExitThis script generates entry signals whenever the 5-period EMA crosses the 20-period EMA. A “BUY” label appears when the 5 EMA moves above the 20 EMA, and a “SELL” label appears when it moves below. Once a position is taken, the script begins counting every crossover between the 1-period EMA and the 5-period EMA. As soon as the first EMA(1)/EMA(5) cross occurs after entry, the script closes the trade and plots an “EXIT BUY” or “EXIT SELL” label on that bar. This ensures that each trade is exited on the very first short-term momentum shift (1/5 EMA cross) following the initial 5/20 EMA signal.
XAU/USD Custom Levels
XAU/USD Dynamic Support & Resistance Levels
This indicator automatically draws horizontal support and resistance levels for Gold (XAU/USD) based on the current market price, eliminating the need for manual price range adjustments.
**Key Features:**
- **Dynamic Price Range**: Automatically calculates levels above and below the current price using a customizable percentage range (default 5%)
- **Multi-Tier Level System**: Four distinct level types with different visual styling:
- Major Levels (100s) - Blue, thick lines
- Sub Levels (50s) - Red, medium lines
- Sub-Sub Levels (25s) - Yellow, thin lines
- Mini Levels (12.5s) - Gray, dotted lines
- **Fully Customizable**: Adjust range percentage, step size, colors, and line history through input settings
- **Universal Compatibility**: Works at any gold price level - whether $1800, $2500, $3300 or beyond
**How It Works:**
The script centers the level grid around the current closing price and extends lines from a specified number of bars back to the right edge of the chart. The hierarchical level system helps identify key psychological price points and potential support/resistance zones commonly used in gold trading.
**Settings:**
- Price Range %: Control how far above/below current price to draw levels (1-20%)
- Level Step Size: Adjust spacing between levels (1.0-50.0)
- Bars Back: Set how far back in history to start the lines
- Color Customization: Personalize colors for each level type
Perfect for gold traders who need clean, automatically-updating support and resistance levels without manual configuration.
ATR Value on Chart_MCIthere are no indicators which showing ATR value in pips directly. This indicator is in Value of ATR in pips. Multiplier 1.5 times to forecast upcoming volatility and place SL reference before opening a trade