Dynamic Square Levels**Dynamic Square Levels with Strict Range Condition**
This script is designed to help traders visualize dynamic price levels based on the square root of the current price. It calculates key levels above and below the current price, providing a clear view of potential support and resistance zones. The script is highly customizable, allowing you to adjust the number of levels, line styles, and label settings to suit your trading strategy.
---
### **Key Features**:
1. **Dynamic Square Levels**:
- Calculates price levels based on the square root of the current price.
- Plots levels above and below the current price for better market context.
2. **Range Condition**:
- Lines are only drawn when the current price is closer to the base level (`square(base_n)`) than to the next level (`square(base_n + 1)`).
- Ensures levels are only visible when they are most relevant.
3. **Customizable Levels**:
- Choose the number of levels to plot (up to 20 levels).
- Toggle additional levels (e.g., 0.25, 0.5, 0.75) for more granular analysis.
4. **Line and Label Customization**:
- Adjust line width, style (solid, dashed, dotted), and extend direction (left, right, both, or none).
- Customize label text, size, and position for better readability.
5. **Background Highlight**:
- Highlights the background when the current price is closer to the base level, providing a visual cue for key price zones.
---
### **How It Works**:
- The script calculates the square root of the current price and uses it to generate dynamic levels.
- Levels are plotted above and below the current price, with customizable spacing.
- Lines and labels are only drawn when the current price is within a specific range, ensuring clean and relevant visuals.
---
### **Why Use This Script?**:
- **Clear Visuals**: Easily identify key support and resistance levels.
- **Customizable**: Tailor the script to your trading style with adjustable settings.
- **Efficient**: Levels are only drawn when relevant, avoiding clutter on your chart.
---
### **Settings**:
1. **Price Type**: Choose the price source (Open, High, Low, Close, HL2, HLC3, HLCC4).
2. **Number of Levels**: Set the number of levels to plot (1 to 20).
3. **Line Style**: Choose between solid, dashed, or dotted lines.
4. **Line Width**: Adjust the thickness of the lines (1 to 5).
5. **Label Settings**: Customize label text, size, and position.
---
### **Perfect For**:
- Traders who rely on dynamic support and resistance levels.
- Those who prefer clean and customizable chart visuals.
- Anyone looking to enhance their price action analysis.
---
**Get started today and take your trading to the next level with Dynamic Square Levels!** 🚀
Chart patterns
DCStatCalcs_v0.1DCStatCalcs_v0.1 - Session-Based Statistical Projections
This Pine Script indicator overlays customizable horizontal lines on your chart to visualize a session's opening price and its statistical projections based on historical standard deviation (SD). Designed for traders who want to analyze price behavior within defined time sessions, it calculates and plots the session open price along with optional projection lines at 0.5, 1.0, 1.5, 2.0, and 2.5 standard deviations above and below the open, derived from past session data.
Key Features:
Customizable Sessions: Define your session time (e.g., 0600-1500) and timezone (e.g., America/New_York).
Historical Analysis: Uses a user-specified number of past sessions (default: 20) to compute the standard deviation of price movements relative to the session open.
Projection Lines: Displays toggleable lines at multiple SD levels with adjustable styles, colors, and widths for easy visualization.
Flexible Display: Extend lines beyond the current bar with an offset setting, and adjust label sizes for clarity.
Real-Time Updates: Lines dynamically extend as the session progresses, keeping projections relevant to the current bar.
How It Works:
At the start of each user-defined session, the indicator records the opening price and calculates the SD based on price deviations from the open across historical sessions. It then plots the open price line and, if enabled, projection lines at the specified SD intervals. These lines help traders identify potential support, resistance, or volatility zones based on statistical norms.
Use Case:
Ideal for day traders or analysts working with intraday charts to gauge price ranges and volatility within specific trading sessions, such as market opens or key economic hours.
Published under the Mozilla Public License 2.0. Created by dc_77.
Daily True Range (DTR) vs Average True Range (ATR)Overview
The "DTR vs ATR with Color-Coded Percentage" indicator is a powerful volatility analysis tool designed for traders who want to understand daily price movements in the context of historical volatility. It calculates the Daily True Range (DTR)—the raw measure of a single day’s volatility—and compares it to the Average True Range (ATR), which smooths volatility over a user-defined period (default 14 days). The indicator presents this data in an intuitive table, featuring a color-coded percentage that visually represents how the current day’s move (DTR) stacks up against the average volatility (ATR). This helps traders quickly assess whether the current day’s price action is unusually volatile, average, or subdued relative to recent history.
Purpose
Volatility Comparison: Visualize how the current day’s price range (DTR) relates to the average range (ATR) over a specified period.
Decision Support: Identify days with exceptional movement (e.g., breakouts or reversals) versus normal or quiet days, aiding in trade entry/exit decisions.
Risk Management: Gauge daily volatility to adjust position sizing or stop-loss levels based on whether the market is exceeding or falling short of typical movement.
Features
Daily True Range (DTR) Calculation:
Computes the True Range for the current day as the greatest of:
Current day’s High - Low
High - Previous Close
Low - Previous Close
Aggregates data on any timeframe to ensure accurate daily values.
Average True Range (ATR):
Calculates the smoothed average of DTR over a customizable period (default 14 days) using Wilder’s smoothing method.
Updates in real-time as the day progresses.
Timeframe Flexibility: Works on any chart timeframe (e.g., 1-minute, 1-hour) while always calculating DTR and ATR based on daily data.
Color-Coded Display in either compact or table mode
The percentage value is color-coded in the table based on configurable thresholds:
Safe (default 75): Normal range, within typical volatility
Warning: (default 75-125): Above-average volatility.
Danger (default 125): Exceptionally high volatility
SMC Liquidity & Order Blocks🔹 1. Moving Averages for Trend Confirmation
Uses Exponential Moving Averages (EMA) to determine trend direction.
9-period EMA (blue) and 15-period EMA (red) are plotted.
🔹 2. Liquidity Zones (Swing Highs & Lows)
Identifies liquidity zones where price is likely to react.
Buy-Side Liquidity: Highest high over 20 periods (Green line).
Sell-Side Liquidity: Lowest low over 20 periods (Red line).
🔹 3. Order Block Detection
Detects bullish and bearish order blocks (key price zones of institutional activity).
Bullish Order Block (OB): Formed when the highest close over 5 bars exceeds the highest high.
Bearish Order Block (OB): Formed when the lowest close over 5 bars is lower than the lowest low.
Plotted using green (up-triangle) for bullish OB and red (down-triangle) for bearish OB.
🔹 4. Fair Value Gaps (FVG)
Detects price inefficiencies (gaps between candles).
FVG Up: When a candle's high is lower than a candle two bars ahead.
FVG Down: When a candle's low is higher than a candle two bars ahead.
Plotted using blue circles (FVG Up) and orange circles (FVG Down).
Previous Day's Close Indicator (Regular Hours)This indicator was developed to replace TradingView's built-in previous close indicator—which erroneously uses the close from two trading days prior. By capturing the actual last trade during the standard session, this script provides a reliable and precise previous close level.
Key features include:
Accurate Previous Close: This indicator locks in the last trade of the regular session, ensuring you always see the true previous day close.
Customizable Display Options: Users can choose between a line or circle plot, with adjustable size settings to suit their charting preferences.
Enjoy!
VWAP [cryptalent]VWAP Indicator with Adjustable Source
Overview
This TradingView indicator calculates Daily, Weekly, and Monthly VWAP (Volume Weighted Average Price) with the flexibility to select different price sources (Open, High, Low, Close, HLC3, etc.). It also displays previous period VWAP levels, helping traders analyze past liquidity zones.
Key Features:
✅ Adjustable Source – Users can choose the price used for VWAP calculations (e.g., Close, High, Low, Open).
✅ Multi-Timeframe VWAP – Tracks Daily, Weekly, and Monthly VWAP to provide a broader market view.
✅ Historical VWAP Levels – Displays previous VWAP values for comparison and reference.
✅ Step Line Style – Ensures clear distinction between different periods and prevents overlapping.
✅ Visible in the Price Scale – The latest and historical VWAP values are displayed in the right-hand price scale for easy reference.
Customization:
You can easily modify the input settings to match your trading style.
Adjust the VWAP source price to test different perspectives (e.g., Open vs. High vs. Close).
[TehThomas] - MA Cross with DisplacementThis TradingView script, "MA Cross with Displacement," is designed to detect potential long and short trade opportunities based on moving average (MA) crossovers combined with price displacement confirmation. The script utilizes two simple moving averages (SMA) and highlights potential trade signals when a crossover occurs alongside a strong price movement (displacement).
Why This Indicator is Useful
This indicator enhances the standard moving average crossover strategy by incorporating a displacement condition, making trade signals more reliable. Many traders rely on moving average crossovers to determine trend reversals, but false signals often occur due to minor price fluctuations. By requiring a significant price movement (displacement), this indicator helps filter out weak or insignificant crossovers, leading to more high-probability trade opportunities.
How It Works
Calculates Two Moving Averages (MA)
The user can set two different MA periods:
MA 1 (blue line): Default period is 9 (shorter-term trend).
MA 2 (red line): Default period is 21 (longer-term trend).
These moving averages smooth out price fluctuations to identify overall trends.
Detects Crossovers
Bullish crossover: The blue MA crosses above the red MA + displacement candle → Potential long signal.
Example of bullish cross with displacement:
Bearish crossover: The blue MA crosses below the red MA + displacement candle → Potential short signal.
Example of bearish cross with displacement:
Confirms Displacement (Strong Price Move)
A price displacement threshold is used (default: 1.1% of the previous candle size).
For a valid trade signal, a crossover must occur alongside a strong price movement.
Bullish Displacement Condition: Price increased by more than the threshold.
Bearish Displacement Condition: Price decreased by more than the threshold.
Visual Indicators on the Chart
Bars are colored green when there is a bullish displacement.
Bars are colored red when there is a bearish displacement.
These color changes help traders quickly identify potential trade setups.
How to Use the Indicator
Add the Script to Your Chart
Copy and paste the script into TradingView's Pine Script Editor.
Click "Add to Chart" to activate it.
Customize the Settings
Adjust the moving average periods to fit your trading strategy.
Modify the displacement threshold based on market volatility.
Change the bar colors for better visualization.
Look for Trade Signals
Long Trade (Buy Signal)
The blue MA crosses above the red MA (bullish crossover).
A green bar appears, confirming bullish displacement.
Short Trade (Sell Signal)
The blue MA crosses below the red MA (bearish crossover).
A red bar appears, confirming bearish displacement.
Use in Conjunction with Other Indicators
This indicator works best when combined with support & resistance levels, RSI, MACD, or volume analysis to improve trade accuracy.
Final Thoughts
The MA Cross with Displacement Indicator improves the reliability of moving average crossovers by requiring strong price movements to confirm a trade signal. This helps traders avoid false breakouts and weak trends, making it a powerful tool for identifying high-probability trades.
__________________________________________
Thanks for your support!
If you found this idea helpful or learned something new, drop a like 👍 and leave a comment—I’d love to hear your thoughts! 🚀
Make sure to follow me for more price action insights, free indicators, and trading strategies. Let’s grow and trade smarter together! 📈✨
Sniper TradingSniper Trader Indicator Overview
Sniper Trader is a comprehensive trading indicator designed to assist traders by providing valuable insights and alerting them to key market conditions. The indicator combines several technical analysis tools and provides customizable inputs for different strategies and needs.
Here’s a detailed breakdown of all the components and their functions in the Sniper Trader indicator:
1. MACD (Moving Average Convergence Divergence)
The MACD is a trend-following momentum indicator that helps determine the strength and direction of the current trend. It consists of two lines:
MACD Line (Blue): Calculated by subtracting the long-term EMA (Exponential Moving Average) from the short-term EMA.
Signal Line (Red): The EMA of the MACD line, typically set to 9 periods.
What does it do?
Buy Signal: When the MACD line crosses above the signal line, it generates a buy signal.
Sell Signal: When the MACD line crosses below the signal line, it generates a sell signal.
Zero Line Crossings: Alerts are triggered when the MACD line crosses above or below the zero line.
2. RSI (Relative Strength Index)
The RSI is a momentum oscillator used to identify overbought or oversold conditions in the market.
Overbought Level (Red): The level above which the market might be considered overbought, typically set to 70.
Oversold Level (Green): The level below which the market might be considered oversold, typically set to 30.
What does it do?
Overbought Signal: When the RSI crosses above the overbought level, it’s considered a signal that the asset may be overbought.
Oversold Signal: When the RSI crosses below the oversold level, it’s considered a signal that the asset may be oversold.
3. ATR (Average True Range)
The ATR is a volatility indicator that measures the degree of price movement over a specific period (14 bars in this case). It provides insights into how volatile the market is.
What does it do?
The ATR value is plotted on the chart and provides a reference for potential market volatility. It's used to detect flat zones, where the price may not be moving significantly, potentially indicating a lack of trends.
4. Support and Resistance Zones
The Support and Resistance Zones are drawn by identifying key swing highs and lows over a user-defined look-back period.
Support Zone (Green): Identifies areas where the price has previously bounced upwards.
Resistance Zone (Red): Identifies areas where the price has previously been rejected or reversed.
What does it do?
The indicator uses swing highs and lows to define support and resistance zones and highlights these areas on the chart. This helps traders identify potential price reversal points.
5. Alarm Time
The Alarm Time feature allows you to set a custom time for the indicator to trigger an alarm. The time is based on Eastern Time and can be adjusted directly in the inputs tab.
What does it do?
It triggers an alert at a user-defined time (for example, 4 PM Eastern Time), helping traders close positions or take specific actions at a set time.
6. Market Condition Display
The Market Condition Display shows whether the market is in a Bullish, Bearish, or Flat state based on the MACD line’s position relative to the signal line.
Bullish (Green): The market is in an uptrend.
Bearish (Red): The market is in a downtrend.
Flat (Yellow): The market is in a range or consolidation phase.
7. Table for Key Information
The indicator includes a customizable table that displays the current market condition (Bull, Bear, Flat). The table is placed at a user-defined location (top-left, top-right, bottom-left, bottom-right), and the appearance of the table can be adjusted for text size and color.
8. Background Highlighting
Bullish Reversal: When the MACD line crosses above the signal line, the background is shaded green to highlight the potential for a trend reversal to the upside.
Bearish Reversal: When the MACD line crosses below the signal line, the background is shaded red to highlight the potential for a trend reversal to the downside.
Flat Zone: A flat zone is identified when volatility is low (ATR is below the average), and the background is shaded orange to signal periods of low market movement.
Key Features:
Customizable Time Inputs: Adjust the alarm time based on your local time zone.
User-Friendly Table: Easily view market conditions and adjust display settings.
Comprehensive Alerts: Receive alerts for MACD crossovers, RSI overbought/oversold conditions, flat zones, and the custom alarm time.
Support and Resistance Zones: Drawn automatically based on historical price action.
Trend and Momentum Indicators: Utilize the MACD and RSI for identifying trends and market conditions.
How to Use Sniper Trader:
Set Your Custom Time: Adjust the alarm time to match your trading schedule.
Monitor Market Conditions: Check the table for real-time market condition updates.
Use MACD and RSI Signals: Watch for MACD crossovers and RSI overbought/oversold signals.
Watch for Key Zones: Pay attention to the support and resistance zones and background highlights to identify market turning points.
Set Alerts: Use the built-in alerts to notify you of buy/sell signals or when it’s time to take action at your custom alarm time.
DS_Gurukul_5minTrendDS Gurukul (DS_5minTrend) Indicator: A Simple Yet Powerful Trend Tool
The Tushar Daily Bands (DS_5minTrend) indicator is a straightforward tool designed to help traders quickly visualize potential trend reversals and identify profitable trading opportunities. This indicator plots two bands—an upper band (green) and a lower band (red)—based on a small percentage deviation from the closing price of the first candle of each trading day.
How it Works:
The DS_5minTrend indicator calculates these bands at the start of each new trading day. The bands then remain fixed for the rest of that day. This daily reset allows traders to easily see how the current day's price action relates to the opening price and the calculated bands.
Trading Signals:
Potential Reversals: When the price approaches or touches the upper band (green), it can signal a potential overbought condition and a possible reversal to the downside. Conversely, when the price approaches or touches the lower band (red), it can suggest an oversold condition and a possible reversal to the upside.
Trend Confirmation: If the price consistently closes above the upper band for several periods, it may indicate a strong uptrend. Conversely, consistent closes below the lower band can suggest a strong downtrend.
Support and Resistance: The bands can also act as dynamic support and resistance levels. Traders can watch for price bounces off these levels as potential entry points.
How to Use:
Combine with other indicators: While DS_5minTrend can provide valuable insights, it's generally recommended to use it in conjunction with other technical indicators, such as RSI, MACD, or volume analysis, for confirmation.
Consider market context: Always consider the broader market context and news events that may be influencing price action.
Risk Management: Implement proper risk management strategies, including stop-loss orders, to protect your capital.
Disclaimer: The DS_5minTrend indicator is a tool for analysis and should not be the sole basis for making trading decisions. Trading involves substantial risk, and you could lose money. Always do your own research and consult with a financial advisor before making any investment decisions.
Precision Order Block FinderPrecision Order Block Finder
This advanced indicator identifies high-probability Order Block patterns with customizable confirmation parameters for increased precision and reliability. Unlike basic Order Block indicators, this tool allows you to specify the exact confirmation criteria needed before marking a pattern as valid.
Key Features:
Detects both bullish and bearish Order Block patterns
Customizable confirmation candle settings (1:3 ratio by default)
Adjustable visual properties including transparency and line styles
Optional price labels for quick reference
Filter options to display only bullish, bearish, or both pattern types
How It Works:
The indicator identifies potential Order Blocks by locating a trigger candle (bearish for bullish patterns, bullish for bearish patterns) followed by your specified number of confirmation candles in the opposite direction. This multi-candle confirmation approach helps filter out false signals and focuses on the most reliable trading opportunities.
Perfect for both swing and intraday traders looking to identify key market turning points with greater accuracy. The visual representation clearly highlights potential entry zones and price targets to streamline your trading decisions.
Adjust the settings to match your trading style and timeframe preferences for optimal results.
Weekend RangeWeekend Range Indicator – Customizable High/Low Zones
🔹 Overview
The Weekend Range Indicator marks the last 20 weekends on your chart, highlighting their highs and lows with fully customizable colors, transparency, and time settings. This tool helps traders identify key support and resistance levels from weekend price action.
🛠️ Features
✅ Custom Weekend Start & End – Choose the weekend days and time (UTC)
✅ Automatically Tracks the Last 20 Weekends (configurable up to 50)
✅ Custom Box Colors & Transparency – Adjust the fill and border colors easily
✅ Works on All Timeframes – Best viewed on 1H, 4H, or higher
✅ Efficient & Optimized Code – No lag, smooth performance
🎯 How to Use
1️⃣ Add the indicator to your chart.
2️⃣ Adjust the weekend start & end time in the settings.
3️⃣ Customize the box colors and transparency to match your style.
4️⃣ Watch how price reacts around the weekend high/low zones for trade opportunities.
💡 Trading Strategies
🔹 Breakout Trading – Look for price breaking above or below the weekend range.
🔹 Reversal Zones – Watch for rejections at weekend highs/lows.
🔹 Liquidity & Stop Hunts – Large players often target these levels.
📈 Recommended Markets
✔ Works best on Forex, Crypto, Indices, and Commodities
✔ Ideal for swing traders and intraday traders
🚀 Enjoy using the indicator! Let me know if you’d like any new features added! 🎯🔥
PriceCatch Stock Range Binning-v1Hi Traders.
This is a simple script that will show you the number of times an instrument was within a change% zone. For example, you will know how many times it was between 5% and 10%, or 1% and 3%. So with this info, you will be able to set your expectation regarding the move the instrument is likely to make on any trading day. So, if you notice that the instrument has moved into a higher zone, then you can estimate to an extent where it will attempt to go.
Play with it and you will know its use.
I have kept the source open so that you can study it yourself and make any changes as per your needs.
Remember, this is not an indicator but just an info script.
All the best with your trades.
Holy MollySell when the last closed candle has the purpe marking.
Buy when the last candle gets a green marking.
TP is alawys the horizontal line.
Tweak the settings for your liking, the threshold should be set always to the actual pair, to be within a few pips or points, you can get references from the chart, where you have two loes or highs really close almost with zero difference, if those are shown only, your settings is ok.
Do a back test, you will see, price eventually always gets there. Mostly the very next candle but sometimes it takes a few candles.
EMA/MA with OHCL Candle and Long Wick – A Comprehensive Trading
Dear Traders,
I am excited to introduce EMA/MA with OHCL Candle and Long Wick, a powerful trading indicator designed to enhance market analysis by combining Exponential Moving Averages (EMA), Simple Moving Averages (MA), OHCL candle patterns, and long wick detection into a single tool.
Key Features:
✅ Customizable Wick Size & Timeframe – Adapt the indicator to different market conditions by adjusting wick size and analyzing price action over any timeframe.
✅ EMA & MA for Trend Analysis – Includes multiple EMAs and MAs (5, 9, 15, 20, 50, 100, 200) to help identify trends and potential reversals.
✅ Long Wick Signal Detection – Identifies strong Buy and Sell opportunities based on wick size, signaling potential market turning points.
✅ OHCL Candle Analysis – Highlights OHCL patterns to provide additional insights into price action.
✅ User-Friendly & Lightweight – Efficiently coded for seamless performance on TradingView.
This indicator is perfect for traders looking to refine their entry and exit strategies by leveraging price action and moving averages. Whether you're a scalper, day trader, or swing trader, this tool provides valuable insights to enhance your decision-making.
Give it a try, and let me know your feedback! 🚀
Best regards,
Purnendu Singh
Crystal Order BlockThe Crystal Order Block Indicator is a powerful tool designed to help traders identify key institutional order blocks with high precision. This indicator is ideal for traders following Smart Money Concepts (SMC) and Institutional Trading Strategies, providing clear insights into potential high-probability trade setups.
🔹 Key Features:
✔ Automatic Order Block Detection: Identifies valid bullish & bearish order blocks.
✔ Unmitigated Order Blocks Highlighted: Focuses on fresh order blocks for improved trade opportunities.
✔ Trend-Focused Trading: Works best when combined with market structure analysis.
✔ Multi-Timeframe Support: Suitable for scalping, swing trading, and intraday trading.
✔ Risk Management Enhancement: Helps traders refine entries and exits based on institutional price movements.
📈 How to Use the Crystal Order Block Indicator:
🔹 Identifying Order Blocks:
➡ The indicator automatically detects order blocks formed by institutional trading activity.
➡ Unmitigated order blocks are highlighted, indicating areas where price may react.
🔹 High-Probability Trade Setups:
➡ Buy Setup: Look for a bullish order block in an uptrend, confirming strength.
➡ Sell Setup: Identify a bearish order block in a downtrend for potential short trades.
🔹 Order Block Mitigation:
➡ The updated version filters out mitigated order blocks, allowing traders to focus on fresh trading opportunities.
📊 Best Practices & Timeframes:
🔸 Works on all timeframes, but higher accuracy is observed on M30 and above.
🔸 Best suited for Smart Money Trading, Institutional Trading, and Price Action Strategies.
🔸 Should be used with liquidity concepts and market structure analysis for enhanced precision.
⚠ Important Note:
This indicator is a technical tool designed to assist traders in market analysis. It does not guarantee success and should be used alongside proper risk management and trading discipline.
Wickless Candle Indicator with Extended Lines (final)This Pine Script indicator identifies “wickless” candles—those with no upper wick (when the close equals the high) or no lower wick (when the open equals the low)—and marks these events on the chart. When such a candle is detected, it:
Records the Level and Bar Index:
Saves the price level (high for wickless tops, low for wickless bottoms) and the bar index where the condition occurred.
Draws an Extended Horizontal Line:
Creates a green horizontal line for a wickless top or a red line for a wickless bottom, starting at the detection bar and extending across subsequent bars as long as the price remains below (for tops) or above (for bottoms) the recorded level.
Resets When the Price Breaks the Level:
If a future bar’s price moves beyond the saved level (i.e., a high above a wickless top or a low below a wickless bottom), the indicator resets that level, ending the extension of the line.
Visual Markers:
Additionally, it plots a small triangle above a wickless top and below a wickless bottom for easy identification on the chart.
Overall, this script helps traders visualize potential support or resistance levels created by candles that close at their highs or open at their lows, with lines that dynamically adjust as price evolves.
Price Action: Engulfing PatternsBullish Engulfing Pattern Detection: A bullish engulfing pattern is identified when the previous candle is bearish (close < open ), the current candle is bullish (close > open), and the current candle's body engulfs the previous candle's body (close >= open and open <= close ).
Bearish Engulfing Pattern Detection: A bearish engulfing pattern is identified when the previous candle is bullish (close > open ), the current candle is bearish (close < open), and the current candle's body engulfs the previous candle's body (open >= close and close <= open ).
Plotting the Patterns: The plotshape function is used to mark the detected patterns on the chart. Bullish engulfing patterns are marked below the bar with a green upward label, while bearish engulfing patterns are marked above the bar with a red downward label.
Hanzo_Wave_Price %Hanzo_Wave_Price % is a custom indicator for the TradingView platform that combines RSI (Relative Strength Index) and Stochastic RSI while also displaying the percentage price change over a specified period. This indicator helps traders identify overbought and oversold conditions, analyze price waves, and forecast potential market movements.
How It Works
1. RSI and Stochastic RSI Calculation
RSI is calculated based on the selected price source (default: close) with a user-defined Main Line period.
Stochastic RSI is then applied and smoothed using a moving average.
The Main Line represents the smoothed Stochastic RSI, serving as a wave indicator to help identify potential entry and exit points.
2. Overbought and Oversold Zones
The 70 and 30 levels indicate overbought and oversold zones, displayed as dashed lines on the chart.
Additional 20% and 10% levels provide a visual reference for historical price changes, aiding in future predictions.
3. Percentage Price Change Calculation
The indicator calculates the percentage price change over a Barsback period (default: 30 candles).
Users can choose a multiplier (100 or 1000) for better visualization (1000 scales the values by dividing by 10).
The data is displayed as a colored area:
Red (Short) → Negative price change.
Green (Buy) → Positive price change.
Settings & Parameters
Multiplier 💪 – Selects the scaling factor (100 or 1000) for percentage values.
Main Line ✈️ – Stochastic smoothing period (smoothK).
Don't touch ✋ – Reserved value (do not modify).
RSI 🔴 – RSI calculation period.
Stochastic 🔵 – Stochastic RSI calculation period.
Source ⚠️ – Price source for calculations (default: close).
Price changes % 🔼🔽 – Enables percentage price change display.
Barsback ↩️ – Number of candles used to calculate price change.
Visual Representation
Gray Line (Takeprofit Line 🎯) – Smoothed Stochastic RSI.
Red Dashed Line (70) – Overbought zone.
Blue Dashed Line (30) – Oversold zone.
Percentage Price Change Display:
Green Fill → Price increase.
Red Fill → Price decrease.
Advantages
✅ Combined Analysis – Uses RSI and Stochastic RSI for more accurate market condition identification.
✅ Flexibility – Customizable parameters allow adaptation for different markets and strategies.
✅ Visual Clarity – Clearly defined zones and dynamic percentage change display.
✅ Additional Market Insights – The percentage price change helps assess market volatility.
Disadvantages
⚠ Lagging Signals – Smoothing may cause delayed response.
⚠ False Breakouts – The 70/30 levels may not always work effectively for all assets.
⚠ IMPORTANT!
This indicator is for informational and educational purposes only. Past performance does not guarantee future profits! Use it in combination with other technical analysis tools. 🚀
Example 1: Identifying a Long Position
📌 Scenario:
The asset price has dropped significantly (1-hour timeframe), and the Main Line (gray line) crosses below the 30 level. This signals oversold conditions, which may indicate a potential reversal or upward correction.
✅ How to Use:
1️⃣ Identifying the Entry Zone:
If the Main Line is below 30, consider looking for a long entry point.
2️⃣ Confirming the Signal:
Place a vertical line at the moment when the Main Line crosses the 30 level from below.
3️⃣ Confirmation on a Lower Timeframe:
Switch to a 30-minute timeframe and wait for the Main Line to cross above the 70 level.
Enter a long position at this point.
4️⃣ Analyzing Percentage Price Change:
Check the historical indicator behavior:
If a similar past movement resulted in a ~10% price increase (green fill), this may indicate potential upward momentum.
5️⃣ Setting Take-Profit:
Set a take-profit level at 10%, based on previous price movements.
Also, monitor when the Main Line crosses the 70 level, as this may signal a potential profit-taking point.
📊 Conclusion:
This method helps to precisely determine entry points by confirming signals across multiple timeframes and analyzing the historical volatility of the asset. 🚀
Example 2: Analyzing Percentage Price Change
📌 Scenario:
You have set the Barsback parameter to 30, and the indicator shows +3.5%. This means that over the last 30 candles, the price has increased by 3.5%.
However, such small changes might be visually difficult to notice. To improve visibility, you can enable the multiplier (1000), which will scale the displayed percentage change to 35%. This is purely for visual convenience—the actual price movement remains 3.5%.
✅ How to Use:
1️⃣ Identifying Trend Direction:
If the percentage change is positive (green area) → Uptrend.
If the percentage change is negative (red area) → Downtrend.
2️⃣ Analyzing Movement Strength:
Compare the current percentage change with previous waves to evaluate the strength of the movement.
For example:
If previous waves reached 10% or more, a current wave of 3.5% might indicate a weak trend or a local correction.
3️⃣ Additional Filtering with the Main Line (Gray Line):
Use the Main Line to confirm the trend.
If the percentage change shows an increase, but the Main Line is still below 30, further upward movement can be expected.
If the percentage change indicates a decline, but the Main Line is above 70, there is a higher probability of a downward reversal.
"It's unfortunate that TradingView restricts adding images to indicator descriptions unless you have a paid subscription. This makes it harder to share free tools effectively."
Window Seasonality IndicatorThis is a time window seasonal returns indicator. That is, it will provide the mean returns for a given time window based on a given number of lookbacks set by the user. The script finds matching time windows, e.g., 1st week of March going back 5 years or 9:00-10:00 window of every day going 50 days, and then calculates an average return for that window close price with respect to the close price in the immediately preceding time window, e.g. last week of February or 8:00-9:00 close price, respectively.
There are 4 input options:
1) Historical Periods to Average: Set the number of matching historical windows with which to calculate an average price. The max is 730 lookback windows. Note: for monthly or weekly windows, setting too large a number will cause the script to error out.
2) Use Open Price: calculates the seasonal returns using the open price rather than close price.
3) Show Bands: select from 1 Gaussian standard deviation or a nonparamateric ranked confidence interval. As a rough heuristic, the Gaussian band requires at least 30 lookback periods, and the ranked confidence interval requires 50 or more.
4) Upper Percentile: set the upper cutoff for ranked confidence interval.
5) Lower Percentile: set the lower cutoff for ranked confidence interval.
Please be aware, this indicator does not use rigorous statistical methodology and does not imply predictive power. You'll notice the range bands are very wide. Do not trade solely based on this indicator! Certain time windows, such as weekly and monthly, will make more sense applied to commodities, where annual cycles play a role in its supply and demand dynamics. Hourly windows are more useful in looking at equities markets. I like to look at equities with 1-hr windows to see if there is some pattern to overnight behavior or for market open and close.
FVG Reversal Sentinel🔵 FVG Reversal Sentinel – Multi-Timeframe Fair Value Gap Indicator
The FVG Reversal Sentinel is a powerful TradingView indicator designed to help traders identify and track Fair Value Gaps (FVGs) across multiple timeframes, all within a single chart.
This tool allows you to select up to five separate timeframes, ensuring you never miss key market shifts, whether you are scalping, day trading, or swing trading. You can use this indicator in any asset (Cryptos, Futures, Indices, Forex Pairs, etc.).
🔵 - Key Features -
Multi-Timeframe FVG Tracking – Select and display up to five different timeframes on one chart, providing a comprehensive view of market structure.
Customizable Colors – Adjust bullish and bearish FVG colors to match your chart theme for a seamless trading experience.
Enhanced Market Context – Quickly identify key liquidity zones and refine your entries and exits with precision.
Hide the lower timeframes FVGs to get a clear view in a custom timeframe.
Show or hide mitigated FVGs to declutter the chart.
FVGs boxes are going to be displayed only when the candle bar closes
FVGs are going to be mitigated only when the body of the candle closes above or below the FVG area.
No repainting
Whether you're looking to fine-tune your entries or gain a broader market perspective, the FVG Reversal Sentinel indicator ensures you have the tools to stay ahead of price action and capitalize on market inefficiencies.
🔵 - Customization-
You can change the indicator settings as you see fit to achieve the best results for your use case.
TIMEFRAMES
This indicator provides the ability to select up to 5 timeframes. These timeframes are based on the trader's timeframes including any custom timeframes.
Select the desired timeframe from the options list.
Add the label text you would like to show for the selected timeframe.
Check or uncheck the box to display or hide the timeframe from your chart.
FVG SETTINGS
Length of boxes: allows you to select the length of the box that is going to be displayed for the FVGs.
Delete boxes after fill?: allows you to show or hide mitigated FVGs on your chart.
Hide FVGs lower than enabled timeframes?: allows you to show or hide lower timeframe FVGs on your chart. Example - You are in a 15 minutes timeframe chart, if you choose to hide lower timeframe FVGs you will not be able to see 5 minutes FVG defined in your Timeframes Settings, only 15 minutes or higher timeframe FVGs will be displayed on your chart.
BOX VISUALS
Bullish FVG box color: the color and opacity of the box for the bullish FVGs.
Bearish FVG box color: the color and opacity of the box for the bearish FVGs.
LABELS VISUALS
Bullish FVG labels color: the color for bullish labels.
Bearish FVG labels color: the color for bearish labels.
Labels size: the size of the text displayed in the labels.
Labels position: the position of the label inside the FVGs boxes (right, left or center).
BORDER VISUALS
Border width: the width of the border (the thickness).
Bullish FVG border color: the color and the opacity of the bullish box border.
Bearish FVG border color: the color and the opacity of the bearish box border.
🔵 - How to use the indicator -
Just add the indicator in your chart and click in the settings option to customize it.
Make sure you select the desired timeframes and set the colors and opacity for the FVGs boxes.
This indicator can be used in many trading strategies, such as:
SILVER BULLET
iFVG
iFVG RETEST
These strategies are based on the use of FVGs, this tool can help you analyze the market and make the right decision.
🔵 - How was the indicator designed? -
I have spent a lot of time testing other open source indicators from the community. All of these indicators do a great job, but they have a problem, they not only mitigate FVGs when a candle closes above or below the FVG, they also mitigate FVGs when the candle closes exactly to the tick (not above or below the FVG). This is a problem for many strategies that rely on FVGs mitigation.
What makes this indicator different is that it focuses on just mitigating imbalances at the right time for these strategies.
I have taken ideas and some pieces of code from many community indicator developers, such as:
@twingall
@tflab
@marktools
@nacho-fx
@pmk07
... and many other people, to whom I thank for their valuable work and have allowed me to create this tool by making modifications to their source code.
🔵 - Disclaimer -
This tool is intended solely for informational and educational purposes and should not be regarded as financial, investment, or trading advice. It's not designed to predict market movements or offer specific recommendations. Users should be aware that past performance is not indicative of future results and should not rely on any indicator for financial decisions.
RSI Signal Pro[UgurTash]Introducing RSI Signal Pro for TradingView
RSI Signal Pro is a refined version of the standard Relative Strength Index (RSI) , designed to improve signal accuracy by generating alerts in real-time instead of waiting for multiple candle confirmations. This enhancement allows traders to react faster to market movements while maintaining the familiar RSI structure.
What Makes RSI Signal Pro Unique?
✅ Real-Time RSI Signals: Unlike the traditional RSI, which waits for candle confirmations, this version provides immediate buy and sell signals upon key level crossovers.
✅ Dual Trading Modes: Choose between Simple Mode (standard RSI crossovers) and Advanced Mode (momentum-adjusted signals with price validation).
✅ Customizable RSI-Based Moving Average (MA): Optionally apply SMA, EMA, WMA, or VWMA to smooth RSI fluctuations and identify longer-term trends.
✅ Adaptive Signal Filtering: The Advanced Mode reduces false signals by filtering RSI movements with a momentum threshold and historical RSI validation.
✅ User-Friendly Interface: Simple ON/OFF toggles allow easy customization of the indicator's behavior.
How This Indicator Works
🔹 Simple Mode: Identical to traditional RSI, triggering signals when RSI crosses 30 (bullish) or 70 (bearish).
🔹 Advanced Mode: Uses historical RSI pivots, momentum verification, and price confirmation to refine signal accuracy—ideal for traders looking for more precise entries.
🔹 RSI-Based MA: Optionally overlay moving averages onto the RSI, providing additional trend confirmation.
How to Use RSI Signal Pro
1️⃣ Select a mode: Use Simple Mode for frequent alerts or Advanced Mode for refined signals.
2️⃣ Enable RSI-Based MA: Apply SMA, EMA, WMA, or VWMA to smooth RSI fluctuations.
3️⃣ Set alerts: TradingView notifications allow you to react to real-time RSI movements instantly.
4️⃣ Apply to multiple markets: Effective for crypto, forex, stocks, and commodities.
Why Use RSI Signal Pro Instead of Standard RSI?
While RSI Signal Pro maintains the core functionality of the standard RSI, its real-time signal generation allows traders to make faster decisions without the typical delay caused by waiting for candle confirmations. Additionally, the optional momentum filtering and moving average smoothing ensure fewer false signals and better trade accuracy.
RSI Divergence[UgurTash] – Real-Time📈 RSI Divergence – Real-Time, Adaptive, and Intelligent RSI Divergence Detection
🚀 What Does This Indicator Do?
RSI Divergence is a real-time divergence detection tool that helps traders identify bullish and bearish divergences between price and the Relative Strength Index (RSI). Unlike traditional RSI-based indicators, this script offers:
✅ Real-time detection – No need to wait for bar closes or repainting.
✅ Dynamic time-frame adaptation – The script automatically adjusts RSI settings based on the selected chart time frame.
✅ Multi-layered divergence analysis – Supports short-term, medium-term, and long-term divergence detection with an optional all-term mode that dynamically selects the best configuration.
🛠 How Does It Work?
Pivot-Based Divergence Detection:
The script analyzes pivot points on both price and RSI to determine valid divergences.
Bullish divergence occurs when price forms a lower low but RSI trends higher, indicating potential upward momentum.
Bearish divergence occurs when price forms a higher high but RSI trends lower, signaling possible weakness.
Adaptive RSI Calculation:
The RSI length is dynamically adjusted based on the chosen time frame:
Short-Term: RSI (7) for 1-5 min charts.
Medium-Term: RSI (14) for 15-60 min charts.
Long-Term: RSI (28) for 4H+ charts.
In All-Term Mode, the script automatically determines the best RSI length based on the active chart timeframe.
Smart Visualization & Alerts:
Bullish divergences are marked with green lines & labels.
Bearish divergences are highlighted in red.
Users can customize symbol size, divergence labels, and colors.
Instant alerts notify traders as soon as a divergence is detected.
🎯 How to Use This Indicator?
📌 For Trend Reversals: Look for bullish divergences at key support levels and bearish divergences at resistance zones.
📌 For Trend Continuation: Combine divergence signals with moving averages, volume analysis, or price action strategies to confirm trades.
📌 For Scalping & Swing Trading: Adjust the time-frame settings to match your trading style.
🏆 What Makes This Indicator Original?
🔹 Unlike standard RSI divergence indicators, this script features real-time analysis with no repainting, allowing for instant trading decisions.
🔹 The time-frame adaptive RSI makes it dynamic and suitable for any market condition.
🔹 The multi-term divergence detection offers flexibility, giving traders a precise view of both short-term & long-term market structure.
⚠ Note: No indicator guarantees 100% accuracy. Always use additional confirmations and sound risk management strategies.
If you find this tool useful, don’t forget to support & share! 🚀
Opposite Delta Candle Highlighter with EMAs & Delta Boxes**Description:**
This indicator is designed to enhance market analysis by highlighting **candles with opposite-colored delta**, plotting **Exponential Moving Averages (EMAs)**, and displaying **delta volume as small boxes below the chart**.
🔹 **Key Features:**
✅ **Opposite Delta Candle Highlighting** – Candles where delta volume contradicts the price direction are highlighted with a **yellow background** and a **blue triangle** above the bar.
✅ **Three Exponential Moving Averages (EMAs)** – Includes **EMA (9, 21, 50)** to help identify trends and dynamic support/resistance levels.
✅ **Delta Volume Display** – Instead of large volume columns, delta is plotted as **small square boxes below the chart**, ensuring clear visibility without overlapping price candles.
✅ **Optimized for Lower Timeframes** – The indicator **automatically selects an appropriate lower timeframe** for more precise delta calculations.
🔹 **How It Works:**
- **Green Candle + Red Delta** → Opposite delta signal (Bearish Sign).
- **Red Candle + Green Delta** → Opposite delta signal (Bullish Sign).
- **Delta bars below the chart** indicate the strength of buying/selling pressure.
- **EMAs help identify the market trend** and potential trade entry zones.
🔹 **Use Cases:**
✔ **Scalping & Day Trading** – Identify potential reversals and trend continuation setups.
✔ **Volume Analysis** – Understand market participation and possible absorption.
✔ **Trend Confirmation** – Use EMAs to confirm trend direction alongside delta volume.
📌 *Best used with lower timeframes (1m, 5m, 15m) for detailed volume analysis.*
🚀 **Enhance your trading with real-time delta insights and price action analysis!**