Turtle ZoneTurtle Zone indicator helps to visually determine support and resistance zones of the price movement.
Displays a channel with zones located symmetrically around the moving average of the price.
Width of the channel is determined by the current volatility computed as average true range which makes the channel width adaptable to the volatility.
Touching of the zones from inside of the channel can be interpreted as a signal of potential reversal.
Breaking outside of the outer boundary of the zones can be interpreted as a signal of a potential continuation of price movement.
Parameters
• Price Source - Component of the bar for computation. Default is ‘hlc3’. Other reasonable values, such as ‘ohlc4’, ‘open’ or’ close’ can be used by advanced users.
• Lookback period - Amount of bars used in moving average computation. Default is 200.
• Inner Amplitude - Relative width of the inner channel. Default is 5.6.
• Outer Amplitude - Relative width of the outer channel. Default is 9.6.
Available plots for notifications
There are five plots on the graph comprising the channel: four boundaries of the channel bands and one hidden mean line of the channel:
Upper Zone Upper Line
Upper Zone Lower Line
Mean
Lower Zone Upper Line
Lower Zone Lower Line
All of the plots can be used to set up notifications.
Notes
All computations are performed in logarithmic price scale which makes this indicator useful on large timeframes.
Credits
This script uses Ehlers_Super_Smoother library by KevanoTrades
Indicators and strategies
Ultra TrendlinesThis indicator automatically draws trendlines based on every pivot point, helping traders visualize key support and resistance levels. It dynamically adjusts as new pivots are detected and validates the trendlines against price movement.
Introduction
The Ultra Trendlines indicator is designed to help traders identify and track significant trendlines on their charts. By automatically detecting pivot points (both highs and lows), it draws trendlines that highlight key market movements. These trendlines are valuable for understanding the broader trend and for making informed trading decisions.
Detailed Description
The indicator analyzes price data to find pivot points highs and lows over a user-defined lookback period. Once a pivot is detected, it draws trendlines between the pivot points.
.........
Accuracy
To ensure accuracy, the indicator only keeps trendlines that are confirmed by price action. It checks if the price crosses the trendline and deletes invalid lines.
Additionally, it checks if the trendlines stay within predefined price thresholds, filtering out irrelevant lines that are too far from current price action.
The indicator also has an option to only show "rising lows" and "falling highs" trendlines, offering further precision in trend direction.
As new pivots are detected, older trendlines that fall outside the lookback period are removed, ensuring the chart remains clean.
.....
Style
The trendlines can extend forward (infinite and userdefined), backward, both or none. The lines are drawn with a customizable style (solid, dotted, or dashed), color, and width.
.........
Summary of Key Points
The indicator automatically detects pivot points (highs and lows) and draws trendlines based on them. It allows you to customize the style, color, and width of the trendlines. The indicator filters out invalid trendlines by checking if they are still relevant based on price action and price thresholds. Additionally, you can choose to only display rising lows and falling highs for more accurate trend analysis. It also removes outdated trendlines to keep the chart clean.
Zero Lag Signals For Loop [QuantAlgo]Elevate your trend-following investing and trading strategy with Zero Lag Signals For Loop by QuantAlgo , a simple yet effective technical indicator that merges advanced zero-lag mechanism with adaptive trend analysis to bring you a fresh take on market momentum tracking. Its aim is to support both medium- to long-term investors monitoring broader market shifts and precision-focused traders seeking quality entries through its dual-focused analysis approach!
🟢 Core Architecture
The foundation of this indicator rests on its zero-lag implementation and dynamic trend assessment. By utilizing a loop-driven scoring system alongside volatility-based filtering, each market movement is evaluated through multiple historical lenses while accounting for current market conditions. This multi-layered approach helps differentiate between genuine trend movements and market noise across timeframe and asset classes.
🟢 Technical Foundation
Three distinct components of this indicator are:
Zero Lag EMA : An enhanced moving average calculation designed to minimize traditional lag effects
For Loop Scoring System : A comprehensive scoring mechanism that weighs current price action against historical contexts
Dynamic Volatility Analysis : A sophisticated ATR-based filter that adjusts signal sensitivity to market conditions
🟢 Key Features & Signals
The Zero Lag Signals For Loop provides market insights through:
Color-coded Zero Lag line that adapts to trend direction
Dynamic fills between price and Zero Lag basis for enhanced visualization
Trend change markers (L/S) that highlight potential reversal points
Smart bar coloring that helps visualize market momentum
Background color changes with vertical lines at significant trend shifts
Customizable alerts for both bullish and bearish reversals
🟢 Practical Usage Tips
Here's how you can get the most out of the Zero Lag Signals For Loop :
1/ Setup:
Add the indicator to your TradingView chart by clicking on the star icon to add it to your favorites ⭐️
Start with the default Zero Lag length for balanced sensitivity
Use the standard volatility multiplier for proper filtering
Keep the default loop range for comprehensive trend analysis
Adjust threshold levels based on your investing and/or trading style
2/ Reading Signals:
Watch for L/S markers - they indicate validated trend reversals
Pay attention to Zero Lag line color changes - they confirm trend direction
Monitor bar colors for additional trend confirmation
Configure alerts for trend changes in both bullish and bearish directions, ensuring you can act on significant technical developments promptly.
🟢 Pro Tips
Fine-tune the Zero Lag length based on your timeframe:
→ Lower values (20-40) for more responsive signals
→ Higher values (60-100) for stronger trend confirmation
Adjust volatility multiplier based on market conditions:
→ Increase multiplier in volatile markets
→ Decrease multiplier in stable trending markets
Combine with:
→ Volume analysis for trade validation
→ Multiple timeframe analysis for broader context
→ Other technical tools for comprehensive analysis
IronBot v3Introduction
IronBot V3 is a TradingView indicator that analyzes market trends, identifies potential trading opportunities, and helps manage trades by visualizing entry points, stop-loss levels, and take-profit targets.
How It Works
The indicator evaluates price action within a specified analysis window to determine market trends. It uses Fibonacci retracement levels to identify key price levels for trend detection and trading signals. Based on user-defined inputs, it calculates and displays trade levels, including entry points, stop-loss, and multiple take-profit levels.
Trend Definition:
The highest high and lowest low are calculated over a specified number of candles.
The price range is determined as the difference between the highest high and lowest low.
Three Fibonacci levels are calculated within this range:
- Fib Level 0.236
- Trend Line (0.5 level)
- Fib Level 0.786
Determining Long and Short Conditions:
Long Conditions (Buy):
The closing price must be above both the trend line (0.5 level) and the Fib Level 0.236.
Additionally, the market must not currently be in a bearish trend.
Short Conditions (Sell):
The closing price must be below both the trend line and the Fib Level 0.786.
The market must not currently be in a bullish trend.
Trend State Updates:
When a condition is met, the indicator sets the trend to bullish or bearish and turns off bearish or bullish trend conditions.
If neither buy nor sell conditions are met, the trend remains unchanged, and no new trade signals are generated.
Inputs and Their Role in the Algorithm
General Settings
Analysis Window: Specifies the number of historical candles to analyze. This influences the calculation of key levels such as highs and lows, which are critical for determining Fibonacci retracement levels.
First Trade: Defines the start date for generating trading signals.
Trade Configuration
Display TP/SL: Enables or disables the visualization of take-profit and stop-loss levels on the chart.
Leverage: Defines the leverage applied to trades for risk and position size calculations.
Initial Capital: Specifies the starting capital, which is used for calculating position sizes and profits.
Exchange Fees (%): Sets the percentage of fees applied by the exchange, which is factored into profit calculations.
Country Tax (%): Allows users to define applicable taxes, which are subtracted from net profits.
Stop-Loss Configuration
Break Even: Toggles the break-even functionality. When enabled, the stop-loss level adjusts dynamically as take-profit levels are reached.
Stop Loss (%): Defines the percentage distance from the entry price to the stop-loss level.
Take-Profit Settings
The indicator supports up to four take-profit levels:
- TP1 through TP4 Ratios: Specify the price levels for each take-profit target as a percentage of the entry price.
- Profit Percentages: Allocate a percentage of the position size to each take-profit level.
Visualization Elements
Trend Indicators: Displays Fibonacci-based trend lines and markers for bullish or bearish conditions.
Trade Levels: Entry, stop-loss, and take-profit levels are visualized on the chart by dotted lines for clarity. Additionally, a semi-transparent background is applied when a portion of the trade is closed to enhance visualization. Positive profits from a closed trade are green; otherwise, they are red.
Trade Profit Indicator: On each trade, every time a part of the trade is closed (e.g., take profit is reached), the profit indicator will be updated.
Performance Panel: Summarizes key account statistics, including net balance, profit/loss, and trading performance metrics.
Usage Guidelines
Add the indicator to your TradingView chart.
Configure the input settings based on your trading strategy.
Use the displayed levels and trend signals to make informed trading decisions.
Contact
For further assistance, including automation inquiries, feel free to contact me through TradingView’s messaging system.
Purpose and Disclaimer
IronBot V3 is designed for educational purposes and to assist in analyzing market trends. It is not financial advice, and users should perform their own due diligence before making any trading decisions.
Trading involves significant risk, and past performance is not indicative of future results. Use this indicator responsibly.
SuperTrend Volume [BigBeluga]SuperTrend Volume is an advanced trend-following indicator that combines the traditional SuperTrend method with a normalized volume visualization inside trend bands, offering enhanced insight into market dynamics and volume activity.
🔵 Key Features:
Dynamic Trend Bands: The indicator uses the SuperTrend methodology to plot upper and lower trend bands, which adapt dynamically to price movements. Green bands indicate an uptrend, while purple bands indicate a downtrend.
Normalized Volume Visualization:
Inside the trend bands, normalized volume is displayed to highlight the intensity of market participation during trends.
Users can choose between two visualization types:
Bars: Displays volume as vertical bars within the bands.
Area: Represents volume as a shaded area for a smoother look.
Color-Coded Trends: Trend direction is color-coded:
Green for bullish trends.
Purple for bearish trends.
Volume Labels: Each bar or area has a label showing the normalized volume value 0-4 for easier interpretation.
Trend Change Detection: Automatically identifies trend reversals by recalculating the SuperTrend levels and adjusting volume visualization accordingly.
🔵 Usage:
Trend Identification: Use the color-coded trend bands to confirm the current market direction and identify potential reversals.
Volume Confirmation: Assess the strength of trends using normalized volume inside the bands. Higher normalized volume indicates stronger market conviction.
Peak Volume can be a signal of the mean reversion of price
Customization: Adjust the visualization type (bars or area) based on personal preference or analysis needs.
Dynamic Updates: Use volume labels and trend bands to stay updated on market shifts and trading opportunities in real time.
SuperTrend Volume is a versatile tool suitable for traders who want to combine trend analysis with volume dynamics for a more comprehensive view of the market. It is ideal for identifying trend strength, detecting reversals, and gauging the participation of market players during directional moves.
RISK MANAGEMENT TABLEThis updated Risk Management Indicator is a powerful and customizable tool designed to help traders effectively manage risk on every trade. By dynamically calculating position size, stop-loss, and take-profit levels, it enables traders to stay disciplined and follow predefined risk parameters directly on their charts.
Features:
Dynamic Stop-Loss and Take-Profit Levels:
Stop-loss is based on the Average True Range (ATR), offering a flexible way to account for
market volatility.
Take-profit levels can be customized as a percentage of the entry price, providing a clear
target for trade exits.
Position Sizing Calculation:
The indicator computes the maximum position size by considering:
Trade amount (montant_ligne).
Risk percentage per trade.
Transaction fees.
Visual Representation:
Displays stop-loss and take-profit levels on the chart as customizable lines.
Optional visibility of these lines through checkboxes in the settings panel.
Comprehensive Risk Table:
A table on the chart summarizes essential risk metrics:
Stop-loss value.
Distance from entry in percentage.
Position size (maximum suggested).
Take-profit price.
Customizable:
Adjust parameters like ATR length, smoothing type, risk percentage, transaction fees,
and take-profit percentage.
Modify the visual length of lines representing stop-loss and take-profit levels.
How It Works:
Stop-Loss Calculation:
The stop-loss level is calculated using ATR and a volatility factor (default: 2).
This ensures your stop-loss adapts to market conditions.
Take-Profit Calculation:
Take-profit is derived as a percentage increase from the entry price.
Position Size:
The optimal position size is computed as:
Position Size = Risk per Trade /ATR-based Stop Distance
The risk per trade deducts transaction fees to provide a more accurate calculation.
Visual Lines:
Risk Table:
The table displays updated stop-loss, position size, and take-profit metrics at a glance.
Settings Panel:
Length: ATR length for calculating market volatility.
Smoothing: Choose RMA, SMA, EMA, or WMA for ATR smoothing.
Trade Amount: The capital allocated to a single trade.
Risk by Trade (%): Define how much of your trade capital is at risk per trade.
Transaction Fees: Input fees to ensure realistic calculations.
Take Profit (%): Specify your desired take-profit percentage.
Show Entry Stop Loss: Toggle visibility of the stop-loss line.
Show Entry Take Profit: Toggle visibility of the take-profit line.
MULTI TF SCANNERMulti-Timeframe Moving Average Scanner Script
This script is designed to scan multiple timeframes for specific moving average (MA) crossovers to help traders identify potential buy or sell signals. The moving averages, such as the Simple Moving Average (SMA) or Exponential Moving Average (EMA), are calculated for different timeframes, allowing the script to provide a comprehensive analysis of the market trend.
Features:
Multiple Timeframe Analysis:
The script scans across various timeframes, including 5 minutes, 15 minutes, 1 hour, 4 hours, 1 day, and 1 week.
The moving averages are calculated for each of these timeframes, enabling the trader to gauge trends across short, medium, and long-term periods.
MA Crossover Detection:
The script checks for crossovers between a fast-moving average (e.g., 9-period) and a slow-moving average (e.g., 50-period).
A bullish crossover (fast MA crossing above slow MA) signals a potential buy, while a bearish crossover (fast MA crossing below slow MA) signals a potential sell.
Recursive Timeframe Check:
Before generating a buy or sell signal, the script checks for confirmations from higher timeframes.
Signals are only generated when the crossovers align across multiple timeframes (e.g., a buy signal on the 5-minute chart is confirmed by a bullish crossover on the 1-hour and 4-hour charts).
Signal Quality Indicator:
The script assigns a quality score to each signal based on how many higher timeframes confirm the crossover.
A stronger confirmation across multiple timeframes increases the quality of the signal, which can be visualized on the chart.
Optimized for Performance:
The calculations for moving average crossovers are designed to minimize unnecessary recalculations, optimizing the script’s performance and reducing lag.
The multi-timeframe checks are done only when the moving average crossover occurs or changes, ensuring efficiency.
User-Friendly Interface:
The results are displayed on the chart with clear visual cues to indicate the buy/sell signals and signal strength.
The script is minimalistic, with an uncluttered interface, providing the user with only the most relevant information for making trading decisions.
GapAura: Dynamic Gap [AstroHub]GapAura is a powerful indicator designed to analyze and visualize price gaps on your charts. It focuses on the key levels created by gaps between the open of the current day and the close of the previous day. The indicator connects these gap levels with trend-like lines, allowing traders to easily identify significant price movements and potential turning points in the market.
GapCloud automatically differentiates between upward and downward gaps, helping traders visualize important support and resistance levels that emerge following these gaps. The lines representing these gaps behave like trend lines, providing clear and actionable insights for market analysis. Unlike traditional gap indicators, GapCloud offers a dynamic approach to gap visualization, making it easier for traders to assess the impact of price gaps on future market movement.
How to Use:
Gap Up: When the open of the current day is higher than the close of the previous day, GapCloud draws a line connecting these two levels. This visualizes the gap upward and helps identify the trend direction, as well as potential support zones.
Gap Down: When the open of the current day is lower than the close of the previous day, the indicator draws a line that connects these levels, showing a downward gap. This can highlight potential resistance levels.
The lines for each gap are connected to form continuous trend-like levels, giving traders a clear picture of market structure. These lines can also be used to identify areas of strong support or resistance, and potential turning points where the price may reverse or continue in the same direction.
What Makes This Indicator Unique:
GapCloud stands out by transforming gaps into trend-like lines, offering more than just a simple visualization of the gap itself. By connecting the open and close levels of the current and previous day, it allows traders to see how these price differences can act as significant support or resistance levels. These lines help traders spot market trends and potential reversals more clearly, giving them an edge in making more informed trading decisions.
The ability to visualize gaps as trend lines gives traders a unique advantage in understanding market behavior. Gaps are not just seen as isolated events; they are integrated into the overall market structure and can provide critical insights into the potential price direction.
In addition to this, GapCloud offers a high degree of customization. Users can adjust the thickness, style, and color of the gap lines to fit their trading preferences and style. This makes the indicator adaptable to various types of trading strategies, from short-term to long-term analysis.
Key Features:
Identifies and visualizes gaps between the open of the current day and the close of the previous day.
Converts gap levels into trend-like lines, providing clarity and actionable insights for traders.
Helps identify potential support and resistance levels based on gap locations.
Fully customizable settings, including line thickness, style, and color, to suit individual trading preferences.
Provides a dynamic approach to gap analysis, helping traders forecast market direction and potential reversals with greater accuracy.
GapCloud is an essential tool for any trader looking to enhance their market analysis. By visualizing price gaps as connected trend lines, it simplifies the process of identifying key levels and market structure, giving traders an edge in understanding price movements and making more informed decisions.
DIN: Dynamic Trend NavigatorDIN: Dynamic Trend Navigator
Overview
The Dynamic Trend Navigator script is designed to help traders identify and capitalize on market trends using a combination of Weighted Moving Averages (WMA), Volume Weighted Average Price (VWAP), and Anchored VWAP (AVWAP). The script provides customizable settings and flexible alerts for various crossover conditions, enhancing its utility for different trading strategies.
Key Features
- **1st and 2nd WMA**: Allows users to set and visualize two Weighted Moving Averages. These can be customized to any period, providing flexibility in trend identification.
- **VWAP and AVWAP**: Incorporates both VWAP and AVWAP, offering insights into price levels adjusted by volume.
- **ATR and ADX Indicators**: Includes the Average True Range (ATR) and Average Directional Index (ADX) to help assess market volatility and trend strength.
- **Flexible Alerts**: Configurable buy and sell alerts for any crossover condition, making it versatile for various trading strategies.
How to Use the Script
1. **Set the WMA Periods**: Customize the periods for the 1st and 2nd WMAs to suit your trading strategy.
2. **Enable VWAP and AVWAP**: Choose whether to include VWAP and AVWAP in your analysis by enabling the respective settings.
3. **Configure Alerts**: Set up alerts for the desired crossover conditions (WMA, VWAP, AVWAP) to receive notifications for potential trading opportunities.
4. **Monitor Signals**: Watch for buy and sell signals indicated by triangle shapes on the chart, which appear at the selected crossover points.
When to Use
- **Best Time to Use**: The script is most effective in trending markets where price movements are well-defined. It helps traders stay on the right side of the trend and avoid false signals during periods of low volatility.
- **When Not to Use**: Avoid using the script in choppy or sideways markets where price action lacks direction. The script may generate false signals in such conditions, leading to potential losses.
Benefits of VWAP and AVWAP
- **VWAP**: The Volume Weighted Average Price provides a price benchmark that adjusts for volume, helping traders identify fair value levels. It is particularly useful for intraday trading and gauging market sentiment.
- **AVWAP**: The Anchored VWAP allows traders to set a starting point for VWAP calculations, providing flexibility in analyzing price levels over specific periods or events. This helps in identifying key support and resistance levels based on volume.
Unique Aspects
- **Customizability**: The script offers extensive customization options for WMA periods, VWAP, AVWAP, and alert conditions, making it adaptable to various trading strategies.
- **Combining Indicators**: By integrating WMAs, VWAP, AVWAP, ATR, and ADX, the script provides a comprehensive view of market conditions, enhancing decision-making.
- **Real-Time Alerts**: The flexible alert system ensures traders receive timely notifications for potential trade setups, improving responsiveness to market changes.
Examples
- **Example 1**: A trader sets the 1st WMA to 8 and the 2nd WMA to 100, enabling the VWAP. When the 1st WMA crosses above the 2nd WMA or VWAP, a buy signal is triggered, indicating a potential long entry.
- **Example 2**: A trader sets the AVWAP to start 30 bars ago and monitors for crossovers with the 1st WMA. When the 1st WMA crosses below the AVWAP, a sell signal is triggered, suggesting a potential short entry.
Final Notes
The Dynamic Trend Navigator script is a powerful tool for traders looking to enhance their market analysis and trading decisions. Its unique combination of customizable indicators and flexible alert system sets it apart from other scripts, making it a valuable addition to any trader's toolkit.
Disclaimer: Never any financial advice. Just ThisGirl loving experimenting with indicators to help myself, as well as others.
Entry-Exit pointThis indicator combines Bollinger Bands and RSI (Relative Strength Index) to generate entry and exit signals based on price movements and trend conditions.
### Key Features:
- **Bollinger Bands**: The indicator uses Bollinger Bands to assess volatility, with the upper and lower bands plotted around a simple moving average (SMA) of the price. The bands expand and contract based on the standard deviation, providing insights into potential overbought or oversold conditions.
- **RSI**: The RSI is used to determine if the price is overbought or oversold. In this case, it highlights conditions when the RSI is below 40 (oversold) for bullish signals and above 65 (overbought) for bearish signals.
- **Trend Analysis**: The indicator analyzes the previous high and low values to determine the market trend. It identifies uptrend and downtrend conditions based on recent price action.
- **Entry Signals**:
- **Bullish Entry (Green Arrows)**: A signal is generated when the price touches or dips below the lower Bollinger Band, the RSI is under 40, and the current candle shows a downtrend (lower high and low).
- **Bearish Entry (Red Arrows)**: A signal is triggered when the price touches or rises above the upper Bollinger Band, the RSI is above 65, and the current candle shows an uptrend (higher high and low).
### Visuals:
- **Green Up Arrows**: Indicate a potential bullish entry point, plotted below the bar.
- **Red Down Arrows**: Indicate a potential bearish entry point, plotted above the bar.
- **Bollinger Bands**: The upper and lower bands are shown in red and green, with the basis (SMA) in blue.
This indicator provides a clear, rule-based system for detecting potential price reversals based on both volatility (Bollinger Bands) and momentum (RSI), making it useful for traders looking to enter positions during strong trend reversals.
by Frank R.
Abraço primo Lucas Rodrigues
Fair Value Breakout Strategy by @tradingbauhausThe **Breakaway Fair Value Gaps (BFVG) Strategy** is a trading approach designed to identify and capitalize on significant price gaps that occur within the context of a strong trend. These gaps, known as Fair Value Gaps (FVGs), represent areas where the price moves sharply, leaving behind an imbalance between supply and demand. When these gaps occur during a breakout or a strong trend continuation, they are referred to as **Breakaway Fair Value Gaps (BFVGs)**. This strategy uses these gaps as key levels for entering trades and managing risk.
---
### **Key Concepts**
1. **Fair Value Gap (FVG)**:
- A FVG occurs when the price moves sharply, leaving a gap between the high/low of previous candles and the current candle.
- It represents an imbalance in the market where buyers or sellers are overwhelmingly dominant.
2. **Breakaway Fair Value Gap (BFVG)**:
- A BFVG is a FVG that occurs during a strong trend or breakout, signaling potential continuation of the trend.
- It acts as a key level for entering trades in the direction of the trend.
3. **Mitigation Levels**:
- These are price levels where the market might retrace to "fill the gap" before continuing in the direction of the trend.
- The strategy monitors these levels to determine if the gap is still valid or if it has been mitigated.
---
### **Strategy Rules**
#### **Entry Conditions**
1. **Bullish BFVG**:
- A bullish BFVG occurs when:
- The current low is higher than the high of two candles ago (`low > high `).
- The close of the previous candle is higher than the high of two candles ago (`close > high `).
- **Entry**: Go long (buy) when a bullish BFVG is detected and the price has not yet mitigated the gap.
2. **Bearish BFVG**:
- A bearish BFVG occurs when:
- The current high is lower than the low of two candles ago (`high < low `).
- The close of the previous candle is lower than the low of two candles ago (`close < low `).
- **Entry**: Go short (sell) when a bearish BFVG is detected and the price has not yet mitigated the gap.
#### **Exit Conditions**
1. **Stop Loss**:
- The stop loss is placed at a fixed percentage below the entry price for long trades (`stop = close * (1 - stopLossPerc / 100)`).
- For short trades, the stop loss is placed at a fixed percentage above the entry price (`stop = close * (1 + stopLossPerc / 100)`).
2. **Take Profit**:
- The take profit is placed at a fixed percentage above the entry price for long trades (`limit = close * (1 + takeProfitPerc / 100)`).
- For short trades, the take profit is placed at a fixed percentage below the entry price (`limit = close * (1 - takeProfitPerc / 100)`).
#### **Mitigation Levels**
- If the price retraces and closes within the gap (mitigates the FVG), the gap is considered invalid, and the strategy stops monitoring it.
---
### **Visualization**
- **BFVG Boxes**:
- Bullish BFVGs are highlighted with a green box.
- Bearish BFVGs are highlighted with a red box.
- **Mitigation Lines**:
- Horizontal lines are drawn at the high/low of the gap to indicate the mitigation levels.
---
### **Dashboard**
The strategy includes a dashboard that displays key statistics:
1. **Total BFVGs Detected**:
- The number of bullish and bearish BFVGs identified.
2. **Mitigation Percentage**:
- The percentage of BFVGs that have been mitigated.
3. **Average/Median Duration**:
- The average or median number of candles it takes for a BFVG to be mitigated.
---
### **How It Works**
1. **Trend Identification**:
- The strategy uses a moving window of `length` candles to determine the current trend (highs and lows).
2. **Gap Detection**:
- It scans for FVGs that meet the criteria for BFVGs (strong trend context).
3. **Trade Execution**:
- Enters trades in the direction of the BFVG and manages risk using stop loss and take profit levels.
4. **Mitigation Monitoring**:
- Tracks whether the price retraces to fill the gap, invalidating the BFVG.
---
### **Advantages**
1. **Trend-Following**:
- The strategy capitalizes on strong trends, which often lead to significant price movements.
2. **Clear Entry and Exit Levels**:
- BFVGs provide well-defined levels for entering trades and managing risk.
3. **Flexibility**:
- Parameters like `length`, `stopLossPerc`, and `takeProfitPerc` can be adjusted to suit different trading styles.
---
### **Example**
- **Bullish BFVG**:
- The price is in an uptrend. A bullish BFVG is detected, and a long trade is entered.
- The stop loss is placed 1% below the entry price, and the take profit is placed 2% above.
- **Bearish BFVG**:
- The price is in a downtrend. A bearish BFVG is detected, and a short trade is entered.
- The stop loss is placed 1% above the entry price, and the take profit is placed 2% below.
---
### **Conclusion**
The **Breakaway Fair Value Gaps Strategy** is a systematic approach to trading strong trends by identifying and exploiting price gaps. It combines clear entry signals with robust risk management, making it suitable for traders who prefer trend-following strategies. By monitoring mitigation levels and using a dashboard for performance tracking, the strategy provides a comprehensive framework for trading BFVGs.
US and Asia Trading Hoursadds vertical lines to your chart that show US trading hours 9-4 and NY trading hours based off of EST
Drawdown from 22-Day High (Daily Anchored)This Pine Script indicator, titled "Drawdown from 22-Day High (Daily Anchored)," is designed to plot various drawdown levels from the highest high over the past 22 days. This helps traders visualize the performance and potential risk of the security in terms of its recent high points.
Key Features:
Daily High Data:
Fetches daily high prices using the request.security function with a daily timeframe.
Highest High Calculation:
Calculates the highest high over the last 22 days using daily data. This represents the highest price the security has reached in this period.
Drawdown Levels:
Computes various drawdown levels from the highest high:
2% Drawdown
5% Drawdown
10% Drawdown
15% Drawdown
25% Drawdown
45% Drawdown
50% Drawdown
Dynamic Line Coloring:
The color of the 2% drawdown line changes dynamically based on the current closing price:
Green (#02ff0b) if the close is above the 2% drawdown level.
Red (#ff0000) if the close is below the 2% drawdown level.
Plotting Drawdown Levels:
Plots each drawdown level on the chart with specific colors and line widths for easy visual distinction:
2% Drawdown: Green or Red, depending on the closing price.
5% Drawdown: Orange.
10% Drawdown: Blue.
15% Drawdown: Maroon.
25% Drawdown: Purple.
45% Drawdown: Yellow.
50% Drawdown: Black.
Labels for Drawdown Levels:
Adds labels at the end of each drawdown line to indicate the percentage drawdown:
Labels display "2% WVF," "5% WVF," "10% WVF," "15% WVF," "25% WVF," "45% WVF," and "50% WVF" respectively.
The labels are positioned dynamically at the latest bar index to ensure they are always visible.
Explanation of Williams VIX Fix (WVF)
The Williams VIX Fix (WVF) is a volatility indicator designed to replicate the behavior of the VIX (Volatility Index) using price data instead of options prices. It helps traders identify market bottoms and volatility spikes.
Key Aspects of WVF:
Calculation:
The WVF measures the highest high over a specified period (typically 22 days) and compares it to the current closing price.
It is calculated as:
WVF
=
highest high over period
−
current close
highest high over period
×
100
This formula provides a percentage measure of how far the price has fallen from its recent high.
Interpretation:
High WVF Values: Indicate increased volatility and potential market bottoms, suggesting oversold conditions.
Low WVF Values: Suggest lower volatility and potentially overbought conditions.
Usage:
WVF can be used in conjunction with other indicators (e.g., moving averages, RSI) to confirm signals.
It is particularly useful for identifying periods of significant price declines and potential reversals.
In the script, the WVF concept is incorporated into the drawdown levels, providing a visual representation of how far the price has fallen from its 22-day high.
Example Use Cases:
Risk Management: Quickly identify significant drawdown levels to assess the risk of current positions.
Volatility Monitoring: Use the WVF-based drawdown levels to gauge market volatility.
Support Levels: Utilize drawdown levels as potential support levels where price might find buying interest.
This script offers traders and analysts an efficient way to visualize and track important drawdown levels from recent highs, helping in better risk management and decision-making. The dynamic color and label features enhance the readability and usability of the indicator.
Market Trends and Liquidity ZonesThe "Market Trends and Liquidity Zones" indicator is designed to help traders visualize key market trends, identify significant block orders, and recognize liquidity zones. Here’s a detailed description of its components and functionalities:
Components:
Moving Average Calculation:
The indicator calculates a simple moving average (SMA) of the closing prices over a specified period (default is 14 periods). This average serves as a reference point to gauge market trends.
Block Order Identification:
It identifies and plots the highest high and lowest low over a defined block order length (default is 50 periods) on a daily timeframe. These levels represent potential sell side (red line) and buy side (green line) block orders, indicating areas where significant buying or selling interest may exist.
Crossover Signals:
The indicator checks for bullish and bearish crossovers:
Bullish Crossover: Occurs when the current price crosses above the average price, suggesting potential upward momentum.
Bearish Crossover: Happens when the current price crosses below the average price, indicating potential downward momentum.
Alerts:
The indicator can send alerts when crossovers occur, providing traders with real-time notifications. Alerts can be enabled or disabled based on user preference.
Visual Signals:
The indicator plots visual signals (upward green arrows for bullish signals and downward red arrows for bearish signals) on the chart, making it easy for traders to spot potential entry or exit points.
Usage:
Trend Analysis: Traders can use the moving average to determine the overall trend of the market. If the price is consistently above the average, it may indicate a bullish trend, while prices below may suggest a bearish trend.
Liquidity Zones: The identified block orders help traders understand where significant buying or selling pressure may exist, aiding in decision-making for entering or exiting trades.
Crossover Alerts: The alerts help traders react quickly to potential market changes, allowing for timely trading actions based on crossover signals.
Summary:
Overall, this indicator combines trend analysis, liquidity zone identification, and alert functions to assist traders in making informed decisions. It is particularly useful for those looking to refine their trading strategies based on market dynamics and price action
ATH DrawdownThis Pine Script indicator, titled "ATH Drawdown," is designed to help traders and analysts visualize various drawdown levels from the all-time high (ATH) of a security over the past 365 days. This indicator plots several key drawdown levels on the chart and dynamically updates their color and labels to reflect market conditions.
Key Features:
Daily High Calculation:
Fetches the daily high prices for the security using the request.security function.
Highest High Calculation:
Calculates the highest high over the last 365 days using daily data. This represents the all-time high (ATH) for the specified period.
Drawdown Levels:
Computes various drawdown levels from the ATH:
2% Drawdown
5% Drawdown
10% Drawdown
15% Drawdown
25% Drawdown
45% Drawdown
50% Drawdown
Dynamic Line Coloring:
The color of the 2% drawdown line changes dynamically based on the current closing price:
Red if the close is below the 2% drawdown level.
Green if the close is above the 2% drawdown level.
Plotting Drawdown Levels:
Plots each drawdown level on the chart with specific colors and line widths for easy visual distinction:
2% Drawdown: Green or Red, depending on the closing price.
5% Drawdown: Orange.
10% Drawdown: Blue.
15% Drawdown: Maroon.
25% Drawdown: Purple.
45% Drawdown: Yellow.
50% Drawdown: Black.
Labels for Drawdown Levels:
Adds labels at the end of each drawdown line to indicate the percentage drawdown:
Labels display "2%", "5%", "10%", "15%", "25%", "45%", and "50%" respectively.
The labels are positioned dynamically at the latest bar index to ensure they are always visible.
Example Use Cases:
Risk Management: Quickly identify significant drawdown levels to assess the risk of current positions.
Support Levels: Use drawdown levels as potential support levels where price might find buying interest.
Performance Tracking: Monitor how far the price has retraced from its all-time high to understand market sentiment and performance.
This script offers traders and analysts an efficient way to visualize and track important drawdown levels from the ATH, helping in better risk management and decision-making. The dynamic color and label features enhance the readability and usability of the indicator.
Multiple Values TableThis Pine Script indicator, named "Multiple Values Table," provides a comprehensive view of various technical indicators in a tabular format directly on your trading chart. It allows traders to quickly assess multiple metrics without switching between different charts or panels.
Key Features:
Table Position and Size:
Users can choose the position of the table on the chart (e.g., top left, top right).
The size of the table can be adjusted (e.g., tiny, small, normal, large).
Moving Averages:
Calculates the 5-day Exponential Moving Average (5DEMA) using daily data.
Calculates the 5-week and 20-week EMAs (5WEMA and 20WEMA) using weekly data.
Indicates whether the current price is above or below these moving averages in percentage terms.
Drawdown and Williams VIX Fix:
Computes the drawdown from the 365-day high to the current close.
Calculates the Williams VIX Fix (WVF), which measures the volatility of the asset.
Shows both the current WVF and a 2% drawdown level.
Relative Strength Index (RSI):
Displays the current RSI and compares it to the RSI from 14 days ago.
Indicates whether the RSI is increasing, decreasing, or flat.
Stochastic RSI:
Computes the Stochastic RSI and compares it to the value from 14 days ago.
Indicates whether the Stochastic RSI is increasing, decreasing, or flat.
Normalized MACD (NMACD):
Calculates the Normalized MACD values.
Indicates whether the MACD is increasing, decreasing, or flat.
Awesome Oscillator (AO):
Calculates the AO on a daily timeframe.
Indicates whether the AO is increasing, decreasing, or flat.
Volume Analysis:
Displays the average volume over the last 22 days.
Shows the current day's volume as a percentage of the average volume.
Percentile Calculations:
Calculates the current percentile rank of the WVF and ATH over specified periods.
Indicates the percentile rank of the current volume percentage over the past period.
Table Display:
All these values are presented in a neatly formatted table.
The table updates dynamically with the latest data.
Example Use Cases:
Comprehensive Market Analysis: Quickly assess multiple indicators at a glance.
Trend and Momentum Analysis: Identify trends and momentum changes based on various moving averages and oscillators.
Volatility and Drawdown Monitoring: Track volatility and drawdown levels to manage risk effectively.
This script offers a powerful tool for traders who want to have a holistic view of various technical indicators in one place. It provides flexibility in customization and a user-friendly interface to enhance your trading experience.
RSI Trend [MacroGlide]The RSI Trend indicator is a versatile and intuitive tool designed for traders who want to enhance their market analysis with visual clarity. By combining Stochastic RSI with moving averages, this indicator offers a dynamic view of market momentum and trends. Whether you're a beginner or an experienced trader, this tool simplifies identifying key market conditions and trading opportunities.
Key Features:
• Stochastic RSI-Based Calculations: Incorporates Stochastic RSI to provide a nuanced view of overbought and oversold conditions, enhancing standard RSI analysis.
• Dynamic Moving Averages: Includes two customizable moving averages (MA1 and MA2) based on smoothed Stochastic RSI, offering flexibility to align with your trading strategy.
• Candle Color Coding: Automatically colors candles on the chart:
• Blue: When the faster moving average (MA2) is above the slower one (MA1), signaling bullish momentum.
• Orange: When the faster moving average is below the slower one, indicating bearish momentum.
• Integrated Scaling: The indicator dynamically adjusts with the chart's scale, ensuring seamless visualization regardless of zoom level.
How to Use:
• Add the Indicator: Apply the indicator to your chart from the TradingView library.
• Interpret Candle Colors: Use the color-coded candles to quickly identify bullish (blue) and bearish (orange) phases.
• Customize to Suit Your Needs: Adjust the lengths of the moving averages and the Stochastic RSI parameters to better fit your trading style and timeframe.
• Combine with Other Tools: Pair this indicator with trendlines, volume analysis, or support and resistance levels for a comprehensive trading approach.
Methodology:
The indicator utilizes Stochastic RSI, a derivative of the standard RSI, to measure momentum more precisely. By applying smoothing and calculating moving averages, the tool identifies shifts in market trends. These trends are visually represented through candle color changes, making it easy to spot transitions between bullish and bearish phases at a glance.
Originality and Usefulness:
What sets this indicator apart is its seamless integration of Stochastic RSI and moving averages with real-time candle coloring. The result is a visually intuitive tool that adapts dynamically to chart scaling, offering clarity without clutter.
Charts:
When applied, the indicator plots two moving averages alongside color-coded candles. The combination of visual cues and trend logic helps traders easily interpret market momentum and make informed decisions.
Enjoy the game!
Multi Timeframe MAsThis Pine Script indicator, titled "Multi Timeframe MAs," allows you to plot Exponential Moving Averages (EMAs) or Simple Moving Averages (SMAs) from multiple timeframes on a single chart. This helps traders and analysts visualize and compare different moving averages across various timeframes without having to switch between charts.
Key Features:
Multiple Timeframes:
The script supports six different timeframes, ranging from minutes to weekly intervals.
Users can input their desired timeframes, including custom settings such as "60" (60 minutes), "D" (daily), and "W" (weekly).
Moving Average Types:
Users can choose between Exponential Moving Averages (EMA) and Simple Moving Averages (SMA) for each timeframe.
The script utilizes a ternary operator to determine whether to calculate an EMA or an SMA based on user input.
Customizable Periods:
Each moving average can have a different period, allowing for flexibility in analysis.
The default periods are set to commonly used values (e.g., 15, 20, 5, 12).
Visibility Controls:
Users can toggle the visibility of each moving average line, enabling or disabling them as needed.
This feature helps declutter the chart when specific moving averages are not required.
Black Stepped Lines:
All moving averages are plotted as black, stepped lines to provide a clear and consistent visual representation.
This makes it easy to distinguish these lines from other elements on the chart.
Example Use Cases:
Trend Analysis: Compare short-term and long-term trends by visualizing moving averages from different timeframes on a single chart.
Support and Resistance Levels: Identify key support and resistance levels across multiple timeframes.
Cross-Timeframe Strategy: Develop and test trading strategies that rely on the confluence of moving averages from different timeframes.
This script offers a powerful tool for traders and analysts who want to gain deeper insights into market movements by examining moving averages across multiple timeframes. With its customizable settings and user-friendly interface, it provides a versatile solution for a wide range of trading and analytical needs.
Squeeze Momentum Indicator [CHE] Squeeze Momentum Indicator
The Squeeze Momentum Indicator is an improved and simplified version of the classic Squeeze Momentum Indicator by LazyBear. It focuses on precise detection of squeeze phases without relying on Keltner Channels (KC) or complex momentum calculations. Instead, it emphasizes the dynamic analysis of Bollinger Band widths and their distance changes to provide clear and intuitive signals.
What is the Squeeze Momentum Indicator ?
This indicator helps you identify periods of low volatility (squeeze phases) when the market is often poised for significant moves. With its clear visualization and innovative methods, it enables traders to spot breakout opportunities early and trade strategically.
Differences from the Original LazyBear Indicator
1. Use of Bollinger Bands (BB):
- LazyBear Indicator combines Bollinger Bands with Keltner Channels. A squeeze is detected when the Bollinger Bands fall inside the Keltner Channels.
- CHE Indicator relies solely on Bollinger Bands and an additional analysis of their width (distance between the upper and lower bands). This makes the calculation more straightforward and reduces dependency on multiple indicator families.
2. Squeeze Detection:
- LazyBear: A squeeze is defined based on the relationship between Bollinger Bands and Keltner Channels. It has three states: “Squeeze On,” “Squeeze Off,” and “No Squeeze.”
- CHE: A squeeze is detected when the width of the Bollinger Bands falls below the lower "Distance Bollinger Bands." It only has two states: Squeeze Active and No Squeeze.
3. Momentum Calculation:
- LazyBear: Uses linear regression (LinReg) to calculate momentum and displays it as color-coded histograms.
- CHE: Does not include momentum calculations. The focus is entirely on volatility visualization and squeeze detection.
4. Visualization:
- LazyBear: Displays momentum histograms and horizontal lines to signal different states.
- CHE: Visualizes the width of the Bollinger Bands and their Distance Bollinger Bands as lines on the chart. The chart background turns green when a squeeze is detected, simplifying interpretation.
What Is Plotted?
1. Bollinger Band Width:
- A line representing the distance between the upper and lower Bollinger Bands, measuring market volatility.
2. Distance Bollinger Bands:
- Two additional lines (upper and lower Distance Bollinger Bands) based on the Bollinger Band width, defining thresholds for squeeze conditions.
3. Session-Specific Box:
- A dynamic box is drawn on the chart during a squeeze phase. The box marks the high and low of the market for the squeeze duration. It visually frames the range, helping traders monitor breakouts beyond these levels.
4. Max/Min Markers:
- The indicator dynamically updates and marks the maximum and minimum price levels during a squeeze. These levels can serve as breakout thresholds or critical reference points for price action.
5. Background Color:
- The chart background turns green when a squeeze is active (Bollinger Band width falls below the lower Distance Bollinger Bands). This highlights potential breakout conditions.
How to Use the CHE Indicator
1. Add the Indicator:
- Add the indicator to your chart and customize settings such as Bollinger Band length (`sqz_length`) and multiplier (`sqz_multiplier`) to fit your strategy.
2. Identify Squeeze Conditions:
- Watch for the green background, which signals a squeeze—indicating a period of low volatility where significant market moves often follow.
3. Monitor the Box and Max/Min Levels:
- During a squeeze, the box outlines the trading range, and the maximum and minimum levels are updated in real time. Use these as breakout triggers or support/resistance zones.
4. Session-Specific Analysis:
- The indicator can highlight squeezes during specific trading sessions (e.g., market open), allowing you to focus on key time frames.
5. Additional Confirmation:
- Combine the CHE Indicator with price action analysis or momentum tools to determine the direction of potential breakouts.
Why Use the Squeeze Momentum Indicator ?
- Simplicity: Clear visualization and reduced complexity by eliminating Keltner Channels and momentum calculations.
- Flexibility: Suitable for all markets—stocks, forex, crypto, and more.
- Enhanced Visualization: The box and max/min markers provide real-time visual cues for range-bound trading and breakout strategies.
- Efficiency: Focuses on what matters most—identifying volatility and squeeze phases.
With the Squeeze Momentum Indicator , you can take your trading strategy to the next level. Thanks to its clear design, dynamic range visualization, and innovative methods, you’ll recognize breakout opportunities earlier and trade with greater precision. Try it out and experience its user-friendliness and effectiveness for yourself!
Z-Score Indicator by RafIf the z-score goes above 2, this may indicate overbought and If the z-score goes below -2, this may indicate oversold
ORB Channel FilledThis Pine Script indicator identifies the 15-minute opening range (9:30 AM to 9:45 AM EST) on intraday charts. It dynamically plots:
ORB High and Low: Displayed as subtle white lines with reduced thickness and opacity during regular trading hours (9:30 AM to 4:00 PM EST).
Filled Channel: A semi-transparent blue channel is filled between the ORB high and low levels, visually highlighting the range.
This script is ideal for traders looking to analyze the opening range and its implications during regular trading sessions.
Tillson T3 Moving Average - Screener mehmet şahin beyler//@version=4
//Developed by Tim Tillson
//author: KIVANÇ @fr3762 on twitter
study("Tillson T3", overlay=true)
T3FiboLine = input(false, title="Show T3 Fibonacci Ratio Line?")
length1 = input(8, "T3 Length")
a1 = input(0.7, "Volume Factor")
e1 = ema((high + low + 2 * close) / 4, length1)
e2 = ema(e1, length1)
e3 = ema(e2, length1)
e4 = ema(e3, length1)
e5 = ema(e4, length1)
e6 = ema(e5, length1)
c1 = -a1 * a1 * a1
c2 = 3 * a1 * a1 + 3 * a1 * a1 * a1
c3 = -6 * a1 * a1 - 3 * a1 - 3 * a1 * a1 * a1
c4 = 1 + 3 * a1 + a1 * a1 * a1 + 3 * a1 * a1
T3 = c1 * e6 + c2 * e5 + c3 * e4 + c4 * e3
col1 = T3 > T3
col3 = T3 < T3
color_1 = col1 ? color.green : col3 ? color.red : color.yellow
plot(T3, color=color_1, linewidth=3, title="T3")
length12 = input(5, "T3 Length fibo")
a12 = input(0.618, "Volume Factor fibo")
e12 = ema((high + low + 2 * close) / 4, length12)
e22 = ema(e12, length12)
e32 = ema(e22, length12)
e42 = ema(e32, length12)
e52 = ema(e42, length12)
e62 = ema(e52, length12)
c12 = -a12 * a12 * a12
c22 = 3 * a12 * a12 + 3 * a12 * a12 * a12
c32 = -6 * a12 * a12 - 3 * a12 - 3 * a12 * a12 * a12
c42 = 1 + 3 * a12 + a12 * a12 * a12 + 3 * a12 * a12
T32 = c12 * e62 + c22 * e52 + c32 * e42 + c42 * e32
col12 = T32 > T32
col32 = T32 < T32
color2 = col12 ? color.blue : col32 ? color.purple : color.yellow
plot(T3FiboLine and T32 ? T32 : na, color=color2, linewidth=2, title="T3fibo")
alertcondition(crossover(T3, T3 ), title="T3 BUY", message="T3 BUY!")
alertcondition(crossunder(T3, T3 ), title="T3 SELL", message="T3 SELL!")
alertcondition(cross(T3, T3 ), title="Color ALARM", message="T3 has changed color!")