Gradient Trend Filter [ChartPrime]The Gradient Trend Filter is a dynamic trend analysis tool that combines a noise-filtered trend detection system with a color-gradient cloud. It provides traders with a visual representation of trend strength, momentum shifts, and potential reversals.
⯁ KEY FEATURES
Trend Noise Filtering
Uses an advanced smoothing function to filter market noise and produce a more reliable trend representation.
// Noise filter function
noise_filter(src, length) =>
alpha = 2 / (length + 1)
nf_1 = 0.0
nf_2 = 0.0
nf_3 = 0.0
nf_1 := (alpha * src) + ((1 - alpha) * nz(nf_1 ))
nf_2 := (alpha * nf_1) + ((1 - alpha) * nz(nf_2 ))
nf_3 := (alpha * nf_2) + ((1 - alpha) * nz(nf_3 ))
nf_3 // Final output with three-stage smoothing
Color-Based Trend Visualization
The mid-line changes color based on trend direction—green for uptrends and red for downtrends—making it easy to identify trends at a glance.
Orange diamond markers appear when a trend shift is confirmed, providing actionable signals for traders.
Gradient Color Trend Cloud
A cloud around the base trend line that dynamically changes color, often signaling trend shifts ahead of the main trend line.
When in a downtrend, if the cloud starts turning green, it suggests weakening bearish momentum or an upcoming bullish reversal. Conversely, when in an uptrend, a red cloud indicates potential trend weakening or a bearish reversal.
Multi-Layered Trend Bands
The cloud consists of multiple bands, offering a range of support and resistance zones that traders can use for confluence in decision-making.
⯁ HOW TO USE
Identify Trend Strength & Reversals
Use the mid-line and cloud color changes to assess the strength of a trend and spot early signs of reversals.
Monitor Momentum Shifts
Watch for gradient cloud color shifts before the trend line changes color, as this can indicate early weakening or strengthening of momentum.
Act on Trend Shift Markers
Use the orange diamonds as confirmation of trend shifts and potential trade entry or exit points.
Utilize Cloud Bands as Support/Resistance
The outer bands of the cloud act as dynamic support and resistance, helping traders refine their stop-loss and take-profit placements.
⯁ CONCLUSION
The Gradient Trend Filter is an advanced trend detection tool designed for traders looking to anticipate trend shifts with greater precision. By integrating a noise-filtered trend line with a gradient-based trend cloud, this indicator enhances traders' ability to navigate market trends effectively.
Analizy Trendu
Market DNA: Structure, Volume, Range, and SessionsMarket DNA: Structure, Volume, Range, and Sessions**
The Market DNA indicator combines market structure, volume analysis, trading ranges, and global trading sessions into a single, comprehensive tool for traders. It helps identify key price levels, volume patterns, consolidation phases, and active market periods, enabling informed trading decisions.
Market Structure Detects swing highs and lows using `ta.pivothigh` and `ta.pivotlow`, plotting them as red/green triangles to highlight support/resistance and trend reversals.
- Fractal Volume Zones (FVG): Highlights areas of significant buying/selling pressure by comparing current volume to an average over a lookback period; high-volume zones are marked with a semi-transparent blue background.
- Trading Range: Defines a price channel using the Average True Range (ATR) and a multiplier, creating upper/lower bands to identify consolidation, breakouts, and potential trade levels.
- Market Sessions: Highlights major global trading sessions (Asia, Europe, US) with colored backgrounds (purple, teal, yellow) to indicate liquidity and volatility shifts.
How It Works
- Swing points help analyze trends and reversals.
- FVG confirms price movements with high volume for stronger signals.
- Trading range bands assist in identifying breakout opportunities and setting stops/take-profits.
- Session highlights allow traders to adapt strategies based on regional activity.
Customization
- Adjust `swing_length` for sensitivity in detecting turning points.
- Modify `volume_lookback` to control volume averaging.
- Tune `range_multiplier` for wider/narrower trading bands.
- Enable/disable session highlighting via `session_highlight`.
Use Cases
- Identify trends and key levels using swing points and FVG.
- Spot breakout opportunities with trading range bands.
- Adapt strategies to regional trading sessions for optimal timing.
This all-in-one indicator provides a clear, customizable view of the market, empowering traders to make data-driven decisions across asset classes and timeframes.
Pre-London High-Low Breakout IndicatorOverview
The Pre-London High-Low Breakout Indicator helps traders identify breakout opportunities at the London session open. It marks the high and low one hour before London opens (5 PM - 6 PM AEST) and incorporates a 200 SMA filter to confirm trade direction. The indicator also provides real-time breakout markers for precise entries.
How the Indicator Works
1. Pre-London High & Low Identification (5 PM - 6 PM AEST)
The indicator tracks the highest and lowest price levels within this period.
These levels act as key breakout zones once London opens.
The high and low remain visible until 12 AM AEST for reference.
2. 200 SMA as a Trend Filter
A 200 SMA (yellow, thick line) is plotted to filter breakout trades.
Only long (buy) trades are valid if price is above the 200 SMA.
Only short (sell) trades are valid if price is below the 200 SMA.
3. Real-Time Breakout Confirmation
Buy Signal (Green Diamond):
Price breaks above the pre-London high.
Price is above the 200 SMA.
Sell Signal (Red Diamond):
Price breaks below the pre-London low.
Price is below the 200 SMA.
No signal appears if the breakout is against the SMA trend, reducing false trades.
How to Use the Indicator Properly
Step 1: Identify the Pre-London Range (5 PM - 6 PM AEST)
Observe price movements and note the session high & low.
Do not take trades within this period—wait for a clear breakout.
Step 2: Wait for a Breakout After 6 PM AEST
A breakout must occur beyond the session high or low.
The breakout should be clear and decisive, not hovering around the range.
Step 3: Confirm with the 200 SMA
If price is above the 200 SMA, only buy signals are valid.
If price is below the 200 SMA, only sell signals are valid.
If a breakout occurs against the SMA, ignore it.
Step 4: Enter the Trade and Manage Risk
Enter the trade after the breakout candle closes.
Set stop-loss just inside the pre-London range to minimize risk.
Take profit using a 1:2 or 1:3 risk-reward ratio, or trail the stop.
Why This Strategy Works
Pre-London Liquidity Grab: Institutional traders set positions before the London open, making this range significant.
Trend Confirmation with SMA: Reduces false breakouts by filtering trades in the direction of the trend.
Real-Time Breakout Detection: Green and red diamond markers highlight valid breakouts that meet all conditions.
Final Notes
If price breaks out but quickly reverses, it may be a false breakout—avoid impulsive trades.
The indicator works best when combined with other confluences such as volume analysis or key support/resistance levels.
Alerts can be added to notify traders when a valid breakout occurs.
This setup is ideal for traders looking for a structured, rule-based approach to trading London session breakouts with a strong trend confirmation mechanism.
SuperTrend AI Oscillator StrategySuperTrend AI Oscillator Strategy
Overview
This strategy is a trend-following approach that combines the SuperTrend indicator with oscillator-based filtering.
By identifying market trends while utilizing oscillator-based momentum analysis, it aims to improve entry precision.
Additionally, it incorporates a trailing stop to strengthen risk management while maximizing profits.
This strategy can be applied to various markets, including Forex, Crypto, and Stocks, as well as different timeframes. However, its effectiveness varies depending on market conditions, so thorough testing is required.
Features
1️⃣ Trend Identification Using SuperTrend
The SuperTrend indicator (a volatility-adjusted trend indicator based on ATR) is used to determine trend direction.
A long entry is considered when SuperTrend turns bullish.
A short entry is considered when SuperTrend turns bearish.
The goal is to capture clear trend reversals and avoid unnecessary trades in ranging markets.
2️⃣ Entry Filtering with an Oscillator
The Super Oscillator is used to filter entry signals.
If the oscillator exceeds 50, it strengthens long entries (indicating strong bullish momentum).
If the oscillator drops below 50, it strengthens short entries (indicating strong bearish momentum).
This filter helps reduce trades in uncertain market conditions and improves entry accuracy.
3️⃣ Risk Management with a Trailing Stop
Instead of a fixed stop loss, a SuperTrend-based trailing stop is implemented.
The stop level adjusts automatically based on market volatility.
This allows profits to run while managing downside risk effectively.
4️⃣ Adjustable Risk-Reward Ratio
The default risk-reward ratio is set at 1:2.
Example: A 1% stop loss corresponds to a 2% take profit target.
The ratio can be customized according to the trader’s risk tolerance.
5️⃣ Clear Trade Signals & Visual Support
Green "BUY" labels indicate long entry signals.
Red "SELL" labels indicate short entry signals.
The Super Oscillator is plotted in a separate subwindow to visually assess trend strength.
A real-time trailing stop is displayed to support exit strategies.
These visual aids make it easier to identify entry and exit points.
Trading Parameters & Considerations
Initial Account Balance: Default is $7,000 (adjustable).
Base Currency: USD
Order Size: 10,000 USD
Pyramiding: 1
Trading Fees: $0.94 per trade
Long Position Margin: 50%
Short Position Margin: 50%
Total Trades (M5 Timeframe): 1,032
Visual Aids for Clarity
This strategy includes clear visual trade signals to enhance decision-making:
Green "BUY" labels for long entries
Red "SELL" labels for short entries
Super Oscillator plotted in a subwindow with a 50 midline
Dynamic trailing stop displayed for real-time trend tracking
These visual aids allow traders to quickly identify trade setups and manage positions with greater confidence.
Summary
The SuperTrend AI Oscillator Strategy is developed based on indicators from Black Cat and LuxAlgo.
By integrating high-precision trend analysis with AI-based oscillator filtering, it provides a strong risk-managed trading approach.
Important Notes
This strategy does not guarantee profits—performance varies based on market conditions.
Past performance does not guarantee future results. Markets are constantly changing.
Always test extensively with backtesting and demo trading before using it in live markets.
Risk management, position sizing, and market conditions should always be considered when trading.
Conclusion
This strategy combines trend analysis with momentum filtering, enhancing risk management in trading.
By following market trends carefully, making precise entries, and using trailing stops, it seeks to reduce risk while maximizing potential profits.
Before using this strategy, be sure to test it thoroughly via backtesting and demo trading, and adjust the settings to match your trading style.
AEST High-Low MarkerOverview
This TradingView indicator, AEST High-Low Marker, is designed to mark the highest and lowest price levels observed between 5:00 PM and 6:00 PM AEST and extend these levels visually on the chart only between 5:00 PM and 12:00 AM AEST.
Functionality
Time Conversion for AEST
Since TradingView operates in UTC, the script translates AEST (UTC+10 or UTC+11 during daylight savings) into UTC time.
The script starts tracking from 5:00 PM AEST (7 AM UTC) to 6:00 PM AEST (8 AM UTC).
The high and low lines will be displayed only between 5:00 PM and 12:00 AM AEST (7 AM to 2 PM UTC).
Real-Time High & Low Calculation
The indicator dynamically updates the session high and low as new candles form during the 5 PM - 6 PM AEST period.
It captures the maximum high and minimum low during this timeframe.
Line Display Restrictions
The session high and low lines will only be drawn between 5:00 PM and 12:00 AM AEST to prevent chart clutter.
The lines disappear after 12:00 AM AEST.
Visual Representation
Blue Line: Marks the session high recorded between 5 PM - 6 PM AEST.
Red Line: Marks the session low recorded between 5 PM - 6 PM AEST.
Both lines extend until 12 AM AEST and then disappear.
Use Case
This indicator is useful for traders looking to track key price levels formed between 5 PM and 6 PM AEST and observe how price interacts with these levels until midnight.
It is particularly beneficial for intraday and short-term trading strategies, allowing users to identify potential support and resistance zones based on early evening price action.
Multi-Timeframe VWAP DashboardMulti-Timeframe VWAP Dashboard with Advanced Customization**
Unlock the power of **Volume-Weighted Average Price (VWAP)** across multiple timeframes with this highly customizable and feature-rich Pine Script. Designed for traders who demand precision and flexibility, this script provides a **comprehensive VWAP dashboard** that adapts to your trading style and strategy. Whether you're a day trader, swing trader, or long-term investor, this tool offers unparalleled insights into market trends and price levels.
---
### **Key Features:**
1. **Multi-Timeframe VWAP Calculation:**
- Calculate VWAP across **12-minute, 48-minute, 96-minute, 192-minute, daily, weekly, monthly, and even yearly timeframes**.
- Supports **custom timeframes** for tailored analysis.
2. **Price Source Selection:**
- Choose from multiple price sources for VWAP calculation, including **Open, High, Low, Close, HL2, HLC3, HLCC4, and All**.
- Optimize VWAP for **uptrends and downtrends** by selecting the most relevant price source.
3. **Customizable Labels:**
- Add **dynamic labels** to each VWAP line for quick reference.
- Customize label **colors, sizes, and offsets** to suit your chart setup.
- Display **price values** and **session types** (e.g., "12 Min", "Daily", "Weekly") directly on the chart.
4. **Advanced Session Detection:**
- Automatically detect new sessions for **intraday, daily, weekly, monthly, and yearly timeframes**.
- Ensures accurate VWAP calculations for each session.
5. **Plot Visibility Control:**
- Toggle the visibility of individual VWAP plots to **reduce clutter** and focus on the most relevant timeframes.
- Includes options for **short-term, medium-term, and long-term VWAPs**.
6. **Comprehensive Timeframe Coverage:**
- From **12-minute intervals** to **12-month intervals**, this script covers all major timeframes.
- Perfect for traders who analyze markets across multiple horizons.
7. **User-Friendly Inputs:**
- Intuitive input options for **timeframes, colors, labels, and offsets**.
- Easily customize the script to match your trading preferences.
8. **Dynamic Label Positioning:**
- Labels adjust automatically based on price movements and session changes.
- Choose from **multiple offset options** to position labels precisely.
9. **Miscellaneous Customization:**
- Adjust **text color, label size, and price display settings**.
- Enable or disable **price values** and **session type labels** for a cleaner chart.
---
### **Why Use This Script?**
- **Versatility:** Suitable for all trading styles, including scalping, day trading, swing trading, and long-term investing.
- **Precision:** Accurate VWAP calculations across multiple timeframes ensure you never miss key price levels.
- **Customization:** Tailor the script to your specific needs with a wide range of input options.
- **Clarity:** Dynamic labels and customizable plots make it easy to interpret market trends at a glance.
---
### **How It Works:**
1. **Select Your Price Source:**
- Choose the price source (e.g., Open, Close, HL2) for VWAP calculation based on your trading strategy.
2. **Choose Timeframes:**
- Define the timeframes for VWAP calculation, from intraday to yearly intervals.
3. **Customize Labels and Plots:**
- Enable or disable labels and plots for each timeframe.
- Adjust colors, sizes, and offsets to match your chart setup.
4. **Analyze Market Trends:**
- Use the VWAP lines and labels to identify **support/resistance levels**, **trend direction**, and **potential reversal points**.
5. **Adapt to Market Conditions:**
- Switch between timeframes and price sources to adapt to changing market conditions.
---
### **Ideal For:**
- **Day Traders:** Use short-term VWAPs (e.g., 12-minute, 48-minute) to identify intraday trends and key levels.
- **Swing Traders:** Leverage medium-term VWAPs (e.g., 96-minute, daily) to spot swing opportunities.
- **Long-Term Investors:** Analyze long-term VWAPs (e.g., weekly, monthly) to gauge overall market direction.
---
### **How to Get Started:**
1. Add the script to your TradingView chart.
2. Customize the inputs to match your trading preferences.
3. Analyze the VWAP lines and labels to make informed trading decisions.
---
### **Pro Tip:**
Combine this script with other technical indicators (e.g., moving averages, RSI) for a **holistic view** of the market. Use the VWAP lines as dynamic support/resistance levels to enhance your entry and exit strategies.
This script is a must-have tool for traders who value precision, flexibility, and clarity. Share it with your audience to help them elevate their trading game. Whether they're beginners or seasoned professionals, this **Multi-Timeframe VWAP Dashboard** will become an essential part of their toolkit.
Cumulative Price Change AlertCumulative Price Change Alert
Version: 1.0
Author: QCodeTrader 🚀
Overview 🔍
The Cumulative Price Change Alert indicator analyzes the percentage change between the current and previous open prices and sums these changes over a user-defined number of bars. It then generates visual buy and sell signals using arrows and labels on the chart, helping traders spot cumulative price momentum and potential trading opportunities.
Key Features ⚙️
Customizable Timeframe 🕒:
Use a custom timeframe or default to the chart's timeframe for price data.
User-Defined Summation 🔢:
Specify the number of bars to sum, allowing you to analyze cumulative price changes.
Custom Buy & Sell Conditions 🔔:
Set individual percentage change thresholds and cumulative sum thresholds to tailor signals for
your strategy.
Visual Alerts 🚀:
Displays green upward arrows for buy signals and red downward arrows for sell signals directly
on the chart.
Informative Labels 📝:
Provides labels with formatted percentage change and cumulative sum details for the analyzed
bars.
Versatile Application 📊:
Suitable for stocks, forex, crypto, commodities, and more.
How It Works ⚡
Price Change Calculation ➗:
The indicator calculates the percentage change between the current bar's open price and the
previous bar's open price.
Cumulative Sum ➕:
It then sums these percentage changes over the last N bars (as specified by the user).
Signal Generation 🚦:
Buy Signal 🟢: When both the individual percentage change and the cumulative sum exceed
their respective buy thresholds, a green arrow and label are displayed.
Sell Signal 🔴: Conversely, if the individual change and cumulative sum fall below the sell
thresholds, a red arrow and label are shown.
How to Use 💡
Add the Indicator ➕:
Apply the indicator to your chart.
Customize Settings ⚙️:
Set a custom timeframe if desired.
Define the number of bars to sum.
Adjust the buy/sell percentage change and cumulative sum thresholds to match your trading
strategy.
Interpret Visual Cues 👀:
Monitor the chart for green or red arrows and corresponding labels that signal potential buy or
sell opportunities based on cumulative price movements.
Settings Explained 🛠️
Custom Timeframe:
Select an alternative timeframe for analysis, or leave empty to use the current chart's timeframe.
Number of Last Bars to Sum:
Determines how many bars are used to compute the cumulative percentage change.
Buy Condition - Min % Change:
The minimum individual percentage change required to consider a buy signal.
Buy Condition - Min Sum of Bars:
The minimum cumulative percentage change over the defined bars needed for a buy signal.
Sell Condition - Max % Change:
The maximum individual percentage change threshold for a sell signal.
Sell Condition - Max Sum of Bars:
The maximum cumulative percentage change over the defined bars for triggering a sell signal.
Best Use Cases 🎯
Momentum Identification 📈:
Quickly spot strong cumulative price movements and momentum shifts.
Entry/Exit Signals 🚪:
Use the visual signals to determine potential entry and exit points in your trading.
Versatile Strategy Application 🔄:
Effective for scalping, swing trading, and longer-term analysis across various markets.
UPD: uncheck labels for better performance
Multi-Timeframe VWAP Master ProThe Multi-Timeframe VWAP Suite is a comprehensive and highly customizable indicator designed for traders who rely on Volume-Weighted Average Price (VWAP) across multiple timeframes and periods. This tool provides a complete suite of VWAP calculations, including daily, weekly, monthly, quarterly, yearly, and custom VWAPs, allowing traders to analyze price action and volume trends with precision. Whether you're a day trader, swing trader, or long-term investor, this indicator offers unparalleled flexibility and depth for your trading strategy.
Multi-Timeframe VWAPs:
Daily, Weekly, Monthly, Quarterly, and Yearly VWAPs: Track VWAP across various timeframes to identify key support and resistance levels.
Customizable Timeframes: Use the SMA timeframe input to adjust the period for moving averages and other calculations.
Previous Period VWAPs:
Previous Daily, Weekly, Monthly, and Quarterly VWAPs: Analyze historical VWAP levels to understand past price behavior and identify potential reversal zones.
Previous Year Quarterly VWAPs: Compare current price action to VWAP levels from specific quarters of the previous year.
Custom VWAPs:
Custom Start Date and Timeframe: Define your own VWAP periods by specifying a start date and timeframe, allowing for tailored analysis.
Dynamic Custom VWAP Calculation: Automatically calculates VWAP based on your custom inputs, ensuring flexibility for unique trading strategies.
Seasonal and Yearly VWAPs:
April, July, and October VWAPs: Analyze seasonal trends by tracking VWAP levels for specific months.
Yearly VWAP: Get a broader perspective on long-term price trends with the yearly VWAP.
SMA Integration:
SMA Overlay: Combine VWAP analysis with a Simple Moving Average (SMA) for additional confirmation of trends and reversals.
Customizable SMA Length and Timeframe: Adjust the SMA settings to match your trading style and preferences.
User-Friendly Customization:
Toggle Visibility and Labels: Easily enable or disable the display of specific VWAPs and their labels to keep your chart clean and focused.
Color Customization: Each VWAP line and label is color-coded for easy identification and can be customized to suit your preferences.
Dynamic Labeling:
Automatic Labels: Labels are dynamically placed on the last bar, providing clear and concise information about each VWAP level.
Customizable Label Text: Labels include detailed information, such as the timeframe or custom period, for quick reference.
Flexible Timeframe Detection:
Automatic Timeframe Detection: The indicator automatically detects new days, weeks, months, and quarters, ensuring accurate VWAP calculations.
Support for Intraday and Higher Timeframes: Works seamlessly on all chart timeframes, from 1-minute to monthly charts.
Previous Year Quarterly VWAPs:
Q1, Q2, Q3, Q4 VWAPs: Compare current price action to VWAP levels from specific quarters of the previous year.
User-Selectable Year: Choose the year for which you want to calculate previous quarterly VWAPs.
Persistent Monthly VWAPs:
Option to Persist Monthly VWAPs Year-Round: Keep monthly VWAP levels visible even after the month ends for ongoing analysis.
Comprehensive Analysis: Combines multiple VWAP timeframes and periods into a single tool, eliminating the need for multiple indicators.
Customizable and Flexible: Tailor the indicator to your specific trading strategy with customizable timeframes, periods, and settings.
Enhanced Decision-Making: Gain deeper insights into price action and volume trends across different timeframes, helping you make more informed trading decisions.
Clean and Organized Charts: Toggle visibility and labels to keep your chart clutter-free while still accessing all the information you need.
Ideal For:
Day Traders: Use daily and intraday VWAPs to identify intraday support and resistance levels.
Swing Traders: Analyze weekly and monthly VWAPs to spot medium-term trends and reversals.
Long-Term Investors: Leverage quarterly and yearly VWAPs to understand long-term price behavior and key levels.
Seasonal Traders: Track April, July, and October VWAPs to capitalize on seasonal trends.
The Multi-Timeframe VWAP Suite is a powerful and versatile tool for traders of all styles and timeframes. With its comprehensive suite of VWAP calculations, customizable settings, and user-friendly design, it provides everything you need to analyze price action and volume trends with precision and confidence. Whether you're looking to fine-tune your intraday strategy or gain a broader perspective on long-term trends, this indicator has you covered.
Volatility Price FlowCapitalize on market volatility with our new volatility price flow indicator. We have designed this indicator to process historical price movements and indicate when price may have reached exhaustion in the context of current volatility.
This is achieved by taking the price deviation from a user defined moving average, and applying a weighting to the deviations from the candle body and candle wick on both buy side and sell side, over a user defined period. The period of the base moving average, type of moving average and the period of the historical price deviations can all be modified. This creates a typical 'band' style indicator, though with a unique characteristic that the buy and sell side vary independently as well as the band expansion being based on weighted variables tied to the actual price changes, rather than just a standard deviation the moves uniformly.
Additionally, these bands can be merged with an anchored vwap - we do this so that the deviations of price from the moving average can include a more volume based approach to identifying potential pivots.
The end result is an indicator that reflects the current market price movements, identifies and capitalizes on impulsive or beginning moves to indicate potential tops / bottoms / reversals.
The signals are simple - anytime price closes within a band, having been outside the band, a signal is displayed. As a basic guide to setting the indicator up for the first time, we suggest reducing all of the multipliers to a value less than 1. Then gradually increase each one, until the signals reduce in quantity and improve in quality, starting with the price deviation multiplier, then the volatility multiplier and finally the expansion multiplier.
Last of all, alerts can be created based on the current chart timeframe and indicator settings, simply by adding an alert that uses the built in buy or sell signal.
Note: We cannot guarantee the accuracy of the signals provided, since the user creates the signals by modifying the settings, and as such we can take no responsibility for any trading losses incurred using the indicator and highly encourage all users to manage their risk and only risk what you can afford to lose.
Advanced Candlestick Pattern DetectorWhat Does This Indicator Do?
This indicator looks at the way price moves in the market using candlesticks (those red and green bars you see on charts). It tries to find special patterns like Bullish Engulfing, Hammer, Doji, and others. When one of these patterns shows up, the indicator checks a bunch of filters to decide if the pattern is strong enough to be a signal to buy or sell.
The Main Parts of the Indicator
1. Candlestick Pattern Detection
Bullish Engulfing:
Imagine you see a small down candle (red) and then a big up candle (green) that completely “covers” the red one. That’s a bullish engulfing pattern. It can signal that buyers are taking over.
Bearish Engulfing:
The opposite of bullish engulfing. A small up candle (green) is followed by a big down candle (red) that covers the previous candle. This suggests sellers might be in control.
Hammer & Shooting Star:
Hammer: A candle with a very short body and a long shadow at the bottom. It shows that buyers stepped in after a drop.
Shooting Star:
Similar to the hammer but with a long shadow on top. It can indicate that sellers are starting to push the price down.
Doji:
A candle with almost no body. This means the opening and closing prices are very close. It shows indecision in the market.
Harami Patterns (Bullish & Bearish):
These are two-candle patterns where the second candle is completely inside the body of the first candle. They signal that the previous trend might be about to change.
Morning Star & Evening Star:
These are three-candle patterns.
Morning Star:
Often seen at the bottom of a downtrend, it can signal a reversal to an uptrend.
Evening Star:
Seen at the top of an uptrend, it can signal that the price may soon go down.
2. Filters: Making the Signals Smarter
The indicator doesn’t just rely on patterns. It uses several “filters” to decide if a pattern is strong enough to trade on. Here’s what each filter does:
a. Adaptive Thresholds (ATR-Based)
What It Is:
The indicator uses something called ATR (Average True Range) to see how much the price is moving (volatility).
How It Works:
Instead of using fixed numbers to decide if a candle is a Hammer or a Doji, it adjusts these numbers based on current market activity.
User Settings:
Use Adaptive Thresholds: Turn this on to let the indicator adjust automatically.
Body Factor, Shadow Factor, Doji Factor: These numbers are multipliers that decide how small or big the body and shadows of the candle should be. You can change them if you want the indicator to be more or less sensitive.
b. Volume Filter
What It Is:
Volume shows how many trades are happening.
How It Works:
The filter checks if the current volume is higher than the average volume (multiplied by a set factor). This helps ensure that the signal isn’t coming from a very quiet market.
User Settings:
Use Volume Filter: Turn this on if you want to ignore signals when there’s not much trading.
Volume MA Period & Volume Multiplier: These settings determine what “normal” volume is and how much higher the current volume must be to count.
c. Multi-Timeframe Trend Filter
What It Is:
This filter looks at a bigger picture by using a moving average (MA) from a higher timeframe (for example, daily charts).
How It Works:
For a bullish (buy) signal, the indicator checks if the price is above this MA.
For a bearish (sell) signal, the price must be below the MA.
User Settings:
Use Multi-Timeframe Trend Filter: Enable or disable this filter.
Higher Timeframe for Trend: Choose which timeframe (like Daily) to use.
Trend MA Type (SMA or EMA) & Trend MA Period: Choose the type of moving average and how many candles to average.
d. Additional Trend Filters (ADX & RSI)
ADX Filter:
What It Is:
ADX stands for Average Directional Index. It measures how strong a trend is.
How It Works:
If the ADX is above a certain threshold, it means the trend is strong.
User Setting:
ADX Threshold: Set the minimum strength the trend should have.
RSI Filter:
What It Is:
RSI (Relative Strength Index) tells you if the price is overbought (too high) or oversold (too low).
How It Works:
For a buy signal, RSI should be low (under a set threshold).
For a sell signal, RSI should be high (above a set threshold).
User Settings:
RSI Buy Threshold & RSI Sell Threshold: These set the levels for buying or selling.
3. How the Final Signal Is Determined
For a signal (buy or sell) to be generated, the indicator first checks if one of the candlestick patterns is present. Then it goes through all these filters (trend, volume, ADX, RSI). Only if everything is in line will it show:
A BUY signal when all bullish conditions are met.
A SELL signal when all bearish conditions are met.
4. Visual Elements on the Chart
Trend MA Line:
A blue line is drawn on your chart showing the moving average from the higher timeframe (if you enable the trend filter). This helps you see the overall direction of the market.
Labels on the Chart:
When a signal is detected, you’ll see:
A BUY label below the candle (green).
A SELL label above the candle (red).
Background Colors:
The chart background might change slightly (green for bullish and red for bearish) to give you a quick visual cue.
Histogram:
At the bottom, there is a histogram that shows +1 for bullish signals, -1 for bearish signals, and 0 when there’s no clear signal.
5. Alerts
Alerts are built into the indicator so you can get a notification when a signal appears. The alert messages are fixed strings, meaning they always say something like “BUY signal on at price .” You can set up these alerts in TradingView to be notified via sound, email, or pop-up.
How to Use and Adjust the Filters
Deciding on Patterns:
You can choose which candlestick patterns you want to detect by toggling the options (e.g., Bullish Engulfing, Hammer, etc.).
Adjusting Adaptive Thresholds:
If you feel that the indicator is too sensitive (or not sensitive enough) during volatile times, adjust the Body Factor, Shadow Factor, and Doji Factor. These change how the indicator recognizes different candle shapes based on market movement.
Volume Filter Settings:
Use Volume Filter:
Turn this on if you want to ignore signals when there’s not enough trading activity.
Adjust the Volume MA Period and Volume Multiplier to change what “normal” volume is for your chart.
Multi-Timeframe Trend Filter Settings:
Choose a higher timeframe (like Daily) to see the bigger picture trend. Select the type of moving average (SMA or EMA) and its period. This filter ensures you only trade in the direction of the overall trend.
ADX & RSI Filters:
ADX:
Adjust the ADX Threshold if you want to change the minimum strength of the trend needed for a signal.
RSI:
Set the RSI Buy Threshold (for oversold conditions) and RSI Sell Threshold (for overbought conditions) to refine when a signal is valid.
Summary
This indicator is like having a smart assistant that not only looks for specific price patterns (candlesticks) but also checks if the overall market conditions are right using several filters. By combining:
Pattern Detection
Adaptive thresholds (based on ATR)
Volume Checks
Multi-Timeframe Trend Analysis
Additional Trend Strength and Overbought/Oversold Indicators (ADX & RSI)
...it helps you decide if it might be a good time to buy or sell. You can customize each part to fit your trading style, and with the built-in alerts, you can be notified when everything lines up.
Feel free to adjust the settings to see how each filter changes the signals on your chart. Experimenting with these will help you learn how the market behaves and how you can best use the indicator for your own strategy!
LDO Support and Resistance with Trend LinesUnderstanding the Indicator on Your Chart
Support Lines (Green): These horizontal lines represent price levels where LDO is likely to find buying interest, preventing further declines. They turn a semi-transparent green when the price is above them and blue when below.
Resistance Lines (Blue): These horizontal lines indicate price levels where selling pressure may halt upward movements. They turn a semi-transparent blue when the price is below them and green when above.
Trend Lines (Blue for Resistance, Green for Support): Diagonal lines show the overall trend direction. Blue trend lines indicate resistance (price may struggle to rise above), and green trend lines indicate support (price may find a floor).
Pivots: Small triangles appear above or below candles to mark pivot highs (resistance) and pivot lows (support), helping you identify key turning points.
Customizing the Indicator
You can tweak the indicator’s behavior through the settings panel. Here’s what each input does:
Show Trend Lines? (Default: True)
Enables or disables the display of trend lines on the chart. Set to false to hide trend lines if you only want support/resistance levels.
Choose Higher Time Frame
Select a higher timeframe (e.g., 1H, 4H, 1D) to display support and resistance levels from that timeframe on your current chart (e.g., 5M or 15M).
Pivot Length Settings (Current and Higher Timeframe):
Pivot Length Left Hand Side (Current/HTF): Adjusts how many bars to the left the indicator looks to identify pivot lows (default: 15 for current, 20 for HTF).
Pivot Length Right Hand Side (Current/HTF): Adjusts how many bars to the right the indicator looks to identify pivot highs (default: 10 for current, 15 for HTF).
Increase these values for fewer, more significant pivots; decrease for more frequent pivots.
Pivot Sources (Trend 1 and Trend 2 Pivots):
Select the price source (e.g., low, high) for calculating pivot lows and highs. Default is low for pivot lows and high for pivot highs.
Line Width Settings:
Lower Time Frame Line Width (Default: 5): Sets the thickness of support/resistance lines on the current timeframe.
Higher Time Frame Line Width (Default: 18): Sets the thickness of support/resistance lines on the higher timeframe.
Show Support & Resistance? (Default: True)
Enables or disables the display of horizontal support and resistance lines. Set to false to hide them if you only want trend lines.
Alert Settings (Under “Alerts” Group):
Enable Trend Line Alerts? (Default: True): Turns alerts on or off for trend line hits.
Alert on Resistance Trend Lines? (Default: True): Enables alerts when the price hits resistance trend lines.
Alert on Support Trend Lines? (Default: True): Enables alerts when the price hits support trend lines.
Alert Message: Customize the alert message format (default: “Price hit trend line at {0}”, where {0} is replaced by the price).
Setting Up Alerts
Enable Alerts in the Indicator:
In the indicator settings, ensure “Enable Trend Line Alerts?” is set to true, and choose whether to alert on resistance or support trend lines.
Create a TradingView Alert:
Click the “Alerts” button (bell icon) at the top of the chart.
Select “Create Alert” and choose this indicator from the “Condition” dropdown.
Set the alert frequency (e.g., once per bar, only once), notification method (e.g., email, popup), and save the alert.
Test the Alerts:
Sector/Industry Relative StrengthOverview
The Sector/Industry Relative Strength (RS) Indicator is a powerful tool designed to help traders and investors analyze the performance of sectors and industries relative to the broader market (SPY). It provides real-time insights into sector and industry strength, helping you identify leading and lagging areas of the market.
Key Features
Sector and Industry Analysis:
Automatically detects the sector and industry of the current symbol.
Displays the corresponding sector and industry ETF.
Relative Strength (STS) Calculation:
Calculates the Sector/Industry Trend Strength (STS) by comparing the sector or industry ETF to SPY over the past 20 days.
STS is expressed as a percentile (0-100), indicating how strong the sector/industry ETF has been relative to SPY over the past 20 days.
Example: An STS of 70 means that during the past 20 days, the ETF’s relative strength against SPY was stronger than 70% of those days.
Sector Rank:
Ranks the current sector ETF against a predefined list of major sector ETFs.
Highlights whether the sector is outperforming or underperforming SPY (green if outperforming, red if underperforming).
Customizable Display:
Choose which elements to display (e.g., sector, industry, ETFs, STS, sector rank).
Customize table position, size, text alignment, and colors.
Real-Time Performance:
Tracks daily price changes for sector and industry ETFs.
Displays percentage change from open to close.
How to Use
Add the Indicator:
Apply the indicator to any stock or ETF chart.
The script will automatically detect the sector and industry of the selected symbol.
Interpret the Data:
Sector/Industry: Displays the current sector and industry.
ETF: Shows the corresponding sector and industry ETF.
STS (Sector/Industry Trend Strength): A percentile score (0-100) indicating the relative strength of the sector/industry ETF compared to SPY over the past 20 days.
Sector Rank: Ranks the sector ETF against other major sectors (e.g., "3/12" means the sector is ranked 3rd out of 12).
Customize the Display:
Use the input settings to:
Show/hide specific elements (e.g., sector, industry, ETFs, STS, sector rank).
Adjust the table position, size, and text alignment.
Change colors for positive/negative changes.
Make Informed Decisions:
Use the STS score and sector rank to identify potential trading opportunities.
Focus on sectors and industries with high STS scores and strong rankings (green).
Input Parameters
Table Settings:
Table Position: Choose where to display the table (Top Left, Top Right, Bottom Left, Bottom Right).
Table Size: Adjust the size of the table (Tiny, Small, Normal, Large).
Text Color: Customize the text color.
Background Color: Set the table background color.
Display Options:
Show ETFs: Toggle the display of sector and industry ETFs.
Show STS: Toggle the display of the Sector/Industry Trend Strength (STS) score.
Show Sector/Industry: Toggle the display of sector and industry information.
Show Sector Rank: Toggle the display of the sector rank.
Parameters:
Sector Rank Time Length: Set the number of days used for calculating the sector rank (default: 20).
Example Use Cases
Sector Rotation:
Identify sectors with high STS scores and strong rankings (green) to allocate capital.
Avoid sectors with low STS scores and weak rankings (red).
Industry Analysis:
Compare the STS scores of different industries within the same sector.
Use the STS score to gauge relative strength and identify potential opportunities.
Market Timing:
Use the STS score and sector rank to time entries and exits in sector-specific ETFs.
Combine with other technical indicators for confirmation.
Three Bar Reversal Pattern [ActiveQuants]This indicator identifies bullish and bearish three-bar reversal patterns , offering traders a visual tool to spot potential trend reversals. By analyzing consecutive candlesticks, volume trends, and candlestick morphology, it highlights signals while filtering out false patterns. Ideal for traders using price action strategies, it simplifies pattern recognition and enhances decision-making with customizable parameters.
█ KEY FEATURES
Pattern Detection Logic :
Bullish Reversals : Detects two consecutive bearish candles followed by a bullish candle that closes above the open of the first bearish candle .
Bearish Reversals : Identifies two consecutive bullish candles followed by a bearish candle that closes below the open of the first bullish candle .
Volume Confirmation :
Filters signals using a Volume SMA (user-defined length) to ensure reversals occur with above-average volume, adding validity to the pattern.
Candlestick Filtering :
Shooting Star Filter : Discards bullish patterns if the third candle is a Shooting Star (body confined to the lower portion of the candle’s range, adjustable via Shooting Star Body Limit ).
Hammer Filter : Discards bearish patterns if the third candle is a Hammer (body confined to the upper portion of the candle’s range, adjustable via Hammer Body Limit ).
Customizable Display :
Toggle visibility of bullish/bearish patterns and customize their colors.
Adjust the Show Last parameter to limit plotted labels to recent bars.
Alerts Integration :
Separate Bullish/Bearish Alerts : Generate independent alerts for bullish and bearish patterns. Traders can selectively enable one or both alerts via TradingView’s alert system.
Real-time notifications ensure you never miss a potential reversal signal.
█ CONCLUSION
The Three Bar Reversal Pattern Indicator streamlines the identification of reversal setups by combining candlestick patterns, volume analysis, and customizable filters. Its focus on price action dynamics makes it invaluable for traders seeking to capitalize on trend exhaustion or market sentiment shifts.
█ IMPORTANT NOTES
⚠ Use with Confluence : Reversal signals should be validated with additional tools like support/resistance levels, trendlines, or momentum oscillators.
⚠ Adapt Parameters : Adjust Volume SMA Length , Show Last , and body limits ( Shooting Star Body Limit and Hammer Body Limit ) to suit your timeframe and asset volatility.
█ RISK DISCLAIMER
Trading involves significant risk, and you may lose capital. Past performance is not indicative of future results. This tool provides informational signals only and does not constitute financial advice. Use it at your own risk and consult a qualified financial professional before making trading decisions.
Incorporate this indicator into your strategy to refine reversal entries, manage risk, and align with market momentum.
📈 Happy trading! 🚀
Ronnie's DikFat Attack - Moving Average Angle/Slope PositionRonnie's DikFat Attack - True Moving Average Angle/Slope Position
Overview
This TradingView indicator, written in Pine Script version 5, injects energy into your chart analysis by calculating and displaying the angles of four moving averages (MAs). It empowers you to customize each MA—choosing both type and length—to suit your trading strategy perfectly.
How It Works
1. User Inputs:
Under the “MA Settings” group, the script offers an intuitive interface where you can define four different moving averages. Each MA can be set to one of several types (SMA, EMA, SMMA, VWMA, Hull, WMA, or TEMA) and assigned a specific length (number of bars).
2. Dynamic Moving Average Calculation:
A dedicated function ( getMA ) selects and computes the appropriate moving average using TradingView’s built-in functions (like ta.ema , ta.sma , etc.). This yields four customized MA series based on your inputs.
3. Calculating the Angle of Momentum:
The script employs a robust function ( calcAngle ) that measures the change between consecutive values of each MA to determine its slope. This slope is then converted into an angle in degrees using the arctangent function, providing a clear and vivid depiction of trend strength and direction.
4. Visualizing the Angles:
Each moving average’s angle is plotted with its own distinct color, enhancing visual clarity. A horizontal line at 0° acts as a reference point, marking the divide between upward and downward momentum.
Potential Uses
Trend Analysis:
The angle measurement offers a dynamic perspective on trend strength. Steep positive angles suggest vigorous upward movement, while steep negative angles indicate strong downward trends.
Signal Confirmation:
By comparing the angles of multiple moving averages, you can quickly spot momentum shifts and crossover points, which may serve as powerful entry or exit signals.
Tailored Strategy Customization:
The flexibility to choose various MA types and lengths allows this tool to adapt seamlessly to different timeframes and trading styles, enhancing its usefulness in diverse market conditions.
Breakouts with timefilter [LuciTech]Here's the updated description with "colors" replaced by "colours" throughout, maintaining the original structure and content:
Breaking Point 2.0
This is a technical analysis overlay indicator designed to identify breakout levels based on pivot highs and lows, with a focus on price action during customizable time windows using London time (UK). It draws horizontal lines at pivot points and plots signals when price breaks above or below these levels, offering traders a tool to monitor potential bullish or bearish movements. The indicator includes options for time filtering and displaying only the most recent breakout.
Features
The Pivot Breakout Lines display horizontal lines at detected pivot highs (bullish) and pivot lows (bearish), coloured green and red by default. These lines extend from the pivot point to the breakout bar and can be set to show only the latest breakout.
The Breakout Signals mark bullish breakouts with an upward triangle below the bar and bearish breakouts with a downward triangle above the bar, using customizable colours.
The Time Filter restricts signals and lines to a specific window (default: 14:30–15:00 UK), which can be toggled on or off. A shaded background highlights this period when enabled.
How It Works
The indicator calculates pivot highs and lows using a user-defined lookback period (default: 5 bars). When price closes above a pivot high, it triggers a bullish signal and draws a line from the pivot to the breakout bar. When price closes below a pivot low, it triggers a bearish signal with a corresponding line.
If the time filter is active, signals and lines only appear within the specified window. Outside this period—or if the filter is disabled—they appear based solely on price action. The indicator maintains up to three recent pivots in memory, removing older ones as new pivots form.
Alerts are available for both bullish and bearish breakouts, triggered when signals occur.
Settings
Length controls the lookback period for pivot detection (default: 5).
Colours Bull/Bear sets the colours for bullish (default: green) and bearish (default: red) lines and signals.
Show Last Breakout toggles whether only the most recent breakout line and signal are displayed (default: false).
Time Filter enables or disables the time restriction (default: true).
Fill Background toggles a shaded area during the time window (default: true), with a customizable colour.
Time Settings define the start hour/minute and end hour/minute for the filter (default: 14:30–15:00).
Interpretation
The Pivot Breakout Lines highlight levels where price has previously reversed, potentially acting as support or resistance. A breakout above a pivot high may suggest bullish momentum, while a breakout below a pivot low may indicate bearish pressure.
The Breakout Signals provide visual cues for these events, useful for timing entries or exits. When "Show Last Breakout" is enabled, the chart focuses on the most recent signal, reducing clutter.
The Time Filter and background shading help traders concentrate on specific trading sessions, such as high-volatility periods. When disabled, the indicator tracks breakouts across all times.
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!
Trend Trading IndicatorTrend Trading Indicator – Pine Script v5
Overview
The Trend Trading Indicator is designed to help traders identify market trends quickly and effectively. It highlights uptrends and downtrends using Exponential Moving Averages (EMAs) and provides clear buy and sell signals. The indicator is especially useful for detecting insider movements, marketing-driven price pumps, and potential death spirals in crypto and stock markets.
Key Features
✅ Fast-acting trend detection based on EMAs
✅ Clear buy & sell signals marked in blue (BUY) and red (SELL)
✅ Trend zones visually highlighted:
Green for bullish trends (uptrend)
Red for bearish trends (downtrend)
✅ Bold and visible labels for buy and sell signals
✅ Protects against insider selling & marketing hype cycles
✅ Alerts for crossover events
How It Works
Exponential Moving Averages (EMAs)
Short EMA (default: 50-period) represents fast market movement.
Long EMA (default: 100-period) represents slower trends.
When short EMA crosses above long EMA, it signals a buy opportunity.
When short EMA crosses below long EMA, it signals a sell opportunity.
Trend Zones
The area between the two EMAs is color-filled for better trend visualization.
Green Fill: Indicates a bullish trend where short EMA is above long EMA.
Red Fill: Indicates a bearish trend where short EMA is below long EMA.
Buy & Sell Labels
Buy Signal: Blue label “BUY” appears below the candle.
Sell Signal: Red label “SELL” appears above the candle.
Text is in black & bold for better visibility.
Alerts
Custom alerts notify traders when buy or sell conditions occur.
How to Use
Works best in crypto, forex, and stock markets.
Can be used in trend-following or breakout strategies.
Best suited for medium to long-term trades (adjust EMA settings for scalping).
This Trend Trading Indicator helps traders stay ahead of the market by visually identifying strong trends while reducing risks from insider manipulation and death spirals. 🚀
Donchian Trend Ribbon MTF HeatmapIf you're familiar with Donchian Channels, you probably already know how they work, so I won’t dive too deep into that.
This indicator builds upon the concept of Donchian Channels to create a Donchian Trend Ribbon MultiTimeframe (MTF) Heatmap. The aim is to visualize trend strength across multiple timeframes and provide a clearer picture of market direction.
How it Works:
Main Trend Calculation: The indicator calculates the main trend direction based on a user-defined period (e.g., 20 periods). You can adjust this length to fit your trading strategy.
Secondary Trend Analysis: It also calculates the trend direction for each of the 9 lower lengths. For example, if you set the length to 20, the secondary lengths would be 19, 18, ..., down to 11.
Trend Alignment Check: The indicator compares the trend direction from the lower lengths to the main trend direction to determine alignment.
Trend Ribbon Coloring: Based on this alignment, the trend ribbon changes color to reflect the strength and direction of the trend. The color intensity adjusts as the strength of the trend shifts.
Trend Colors:
Yellow: Strong uptrend
Dark Yellow: Weak uptrend
Red: Strong downtrend
Dark Red: Weak downtrend
Gray: Neutral or no strong trend
Additionally, weak trends are highlighted with emojis (😯 for weak long and 😡 for weak short), making it easy to spot when trends are fading.
Warning:
Entry points provided by this indicator may also indicate potential trend reversals, so use caution.
Consider utilizing a stop-loss line if you plan to take positions based on the signals generated by this tool.
Notes :
Non-Repainting: This indicator does not repaint, providing reliable historical signals.
Educational Use: The indicator is designed primarily for educational purposes and has not been backtested. Please use it as part of your broader analysis before making trading decisions.
Original Code by:
The original version of this code was created by LonesomeTheBlue. This enhanced version includes additional features such as multi-timeframe analysis and trend strength visualization.
Segment RegressionAs an example of the descriptive power of Pine Script, this very short example traces a 'segment regression', a result not entirely obvious with so few lines of code, repositioning them when the previous inference moves away from the graph beyond the pre-set limit.
A trick used is to restart the new inference segment
- from the maximum reached in the previous trend, when positive (slope>0)
- from the minimum reached in the previous trend, when negative (slope<0)
The result can in my opinion be easily used to build strategies.
CandelaCharts - Liquidity Key Zones (LKZ)📝 Overview
The Liquidity Key Zones indicator displays the previous high and low levels for daily, weekly, monthly, quarterly, and yearly timeframes. These levels serve as crucial price zones for trading any market or instrument. They are also high-probability reaction zones, ideal for trading using straightforward confirmation patterns.
Each of these levels plays a significant role in determining whether the market continues its momentum or reverses its bias. I like to think of these levels as dual magnets—they simultaneously attract and repel price. You might wonder how having opposing views can be useful. The key is to remain neutral about direction and establish your own rules to identify when these zones are likely to attract or repel price. I have my own set of rules, and you can develop yours.
📦 Features
MTF
Styling
⚙️ Settings
Day: Shows previous day levels
Week: Shows previous week levels
Month: Shows previous month levels
Quarter: Shows previous quarter levels
Year: Shows previous year levels
Show Average: Shows previous level average price
Show Open: Shows previous level open price
⚡️ Showcase
Daily
Weekly
Monthly
Quarterly
Yearly
Average
Open
📒 Usage
When the price breaks through a significant level, such as a daily, weekly, or monthly high or low, it often signals a potential reversal in market direction. This occurs because these levels represent key areas of support or resistance, where traders anticipate heightened activity, including profit-taking, stop-loss orders, or new positions being initiated.
Once the price breaches these levels, it may trigger a sharp reaction as market participants adjust their strategies, leading to a reversal. Monitoring price action and volume around these levels can provide valuable confirmation of such reversals.
Another effective approach to utilizing these pivot points is by incorporating them into a structured trading strategy, such as the X Model, which leverages multiple timeframes and technical tools to refine trade entries and exits.
X Model conditions:
(D1) Previous Day High (ERL)
(H1) Bullish FVG/IFVG/OB (IRL)
(m15) MSS / SMT
Only Short Above 00:00
By combining these elements, the X Model offers a comprehensive framework for leveraging pivot levels effectively, emphasizing confluence between liquidity zones, time-based rules, and multi-timeframe analysis to enhance trading accuracy and consistency.
🚨 Alerts
This script provides alert options for all signals.
Bearish Signal
A bearish signal is generated when the price breaks below the previous low level.
Bullish Signal
A bullish signal is generated when the price breaks above the previous low level.
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
Money Flow Indicator (Chaikin Oscillator) with VWAPStrategy Overview
Entry Conditions:
Buy Entry:
The Chaikin Oscillator crosses above the signal line.
The current price is above the VWAP.
Sell Entry:
The Chaikin Oscillator crosses below the signal line.
The current price is below the VWAP.
Exit Conditions:
Profit Taking:
Take profit when a target profit is reached (e.g., a 2% increase from the entry price).
Stop Loss:
Set a stop loss, for example, at a 1% decline from the entry price.
Risk Management:
Manage risk by limiting each trade to no more than 1-2% of the account balance.
Calculate position size based on risk and trade accordingly.
Trend Confirmation:
Use other indicators (like moving averages) to confirm the overall trend and focus trades in the direction of the trend.
In an uptrend, prioritize buy entries; in a downtrend, prioritize sell entries.
Specific Trade Scenarios
Example 1: Buy Entry:
Enter a buy position when the Chaikin Oscillator crosses above the signal line and the price is above the VWAP.
Set a stop loss 1% below the entry price and a profit target 2% above the entry price.
Example 2: Sell Entry:
Enter a sell position when the Chaikin Oscillator crosses below the signal line and the price is below the VWAP.
Set a stop loss 1% above the entry price and a profit target 2% below the entry price.
Additional Considerations
Backtesting: Test this strategy with historical data to evaluate performance and make adjustments as needed.
Market Conditions: Pay attention to market volatility and economic indicators, adjusting the trading strategy flexibly.
Psychological Factors: Avoid emotional decisions and follow clear rules when trading.
ATR Levels and Zones with Signals📌 ATR Levels and Zones with Signals – User Guide Description
🔹 Overview
The ATR Levels and Zones with Signals indicator is a volatility-based trading tool that helps traders identify:
✔ Key support & resistance levels based on ATR (Average True Range)
✔ Buy & Sell signals triggered when price enters key ATR zones
✔ Breakout confirmations to detect high-momentum moves
✔ Dynamic Stop-Loss & Take-Profit suggestions
Unlike traditional ATR bands, this indicator creates layered ATR zones based on multiple ATR multipliers, allowing traders to gauge volatility and risk-adjust their trading strategies.
🔹 How It Works
🔸 The script calculates a baseline SMA (Simple Moving Average) of the price.
🔸 ATR (Average True Range) is then used to create six dynamic price levels above & below the baseline.
🔸 These levels define different risk zones—higher levels indicate increased volatility and potential trend exhaustion.
📈 ATR Zones Explained
🔹 Lower ATR Levels (Buying Opportunities)
📉 Lower Level 1-2 → Mild Oversold Zone (Potential trend continuation)
📉 Lower Level 3-4 → High Volatility Buy Zone (Aggressive traders start scaling in)
📉 Lower Level 5-6 → Extreme Oversold Zone (High-Risk Reversal Area)
🔹 If price enters these lower zones, it may indicate a potential buying opportunity, especially if combined with trend reversal confirmation.
🔹 Upper ATR Levels (Selling / Take Profit Zones)
📈 Upper Level 1-2 → Mild Overbought Zone (Potential pullback area)
📈 Upper Level 3-4 → High Volatility Sell Zone (Aggressive traders start scaling out)
📈 Upper Level 5-6 → Extreme Overbought Zone (High-Risk for Reversal)
🔹 If price enters these upper zones, it may indicate a potential selling opportunity or trend exhaustion, especially if momentum slows.
🔹 Sensitivity Modes
🔹 Aggressive Mode (More Frequent Signals) → Triggers buy/sell signals at Lower/Upper Level 3 & 4
🔹 Conservative Mode (Stronger Confirmation) → Triggers buy/sell signals at Lower/Upper Level 5 & 6
📌 Choose the mode based on your trading style:
✔ Scalpers & short-term traders → Use Aggressive Mode
✔ Swing & trend traders → Use Conservative Mode for stronger confirmations
🚀 How to Use the Indicator
🔹 For Trend Trading:
✅ Buy when price enters the lower ATR zones (especially in uptrends).
✅ Sell when price enters the upper ATR zones (especially in downtrends).
🔹 For Breakout Trading:
✅ Breakout Buy: Price breaks above Upper ATR Level 3 → Momentum entry for trend continuation
✅ Breakout Sell: Price breaks below Lower ATR Level 3 → Momentum short opportunity
🔹 Stop-Loss & Take-Profit Suggestions
🚨 Stop-Loss: Suggested at Lower ATR Level 6 (for longs) or Upper ATR Level 6 (for shorts)
🎯 Take-Profit: Suggested at Upper ATR Level 3 (for longs) or Lower ATR Level 3 (for shorts)
🔹 Why This Indicator is Unique
✔ Multiple ATR layers for better risk-adjusted trading decisions
✔ Combines ATR-based zones with SMA trend confirmation
✔ Both aggressive & conservative trading modes available
✔ Includes automatic stop-loss & take-profit suggestions
✔ Breakout signals for momentum traders
📢 Final Notes
✅ Free & open-source for the TradingView community!
⚠ Risk Warning: Always confirm signals with other confluences (trend, volume, support/resistance) before trading.
📌 Developed by: Maddog Blewitt
📩 Feedback & improvements are welcome! 🚀
Custom Index CompositeCustom Index Composite calculates an unweighted composite index by averaging the daily returns of multiple stock tickers. Instead of using price-level weighting, it focuses solely on percentage change, allowing you to compare diverse market themes side by side on a common basis.
Why Use a Custom Index Composite?
Unlike traditional indices that often lean on market capitalization or price-level data, a custom composite based solely on returns strips out the bias inherent to high-priced stocks. This provides several benefits:
Objective Cross-Comparison:
When stocks or market themes trade at very different price levels, it can be difficult to assess performance objectively. Using percentage returns, the composite creates an even playing field, enabling a clear comparison between different assets or themes.
Tailored Benchmarking:
By selecting and combining specific tickers, you can create benchmarks that better represent the segments or strategies you’re interested in. This is particularly useful when standard indices do not capture the nuances of your investment approach.
Performance Normalization:
Converting raw price data into daily percentage returns minimizes distortions that arise from price differences. This normalization helps in understanding true performance trends across the chosen tickers, making the composite index a more reliable gauge of relative market movement.
Custom Analysis Framework:
The indicator offers flexibility to adjust the lookback period (defaulting to about 3 months) so you can fine-tune the sensitivity of the index to recent market behavior. This enables you to either smooth out volatility or capture a more immediate trend, depending on your analytical needs.
Key Features:
Configurable Appearance:
You can easily configure the line color, line width, index name, and index name color via the options panel.
Ticker Configuration:
By default, you can enter up to 15 different tickers into the composite index. Technically, the indicator supports up to 40 tickers (these additional inputs are commented out by default to maintain performance), and you may enable them individually if required.
Calculated Bars Length:
The indicator uses a “Calculated bars length” setting, which is set by default to 63 days (approximately 3 months). This value can be adjusted, and it is recommended to use the greatest common denominator for consistent analysis.
How To Configure Your Chart:
Add the Indicator:
Place the Custom Index Composite on your chart.
Disable Main Symbol Visibility:
Hide the primary symbol’s plot and set its scale to “None” to prevent interference with the composite display.
Pin to Right Scale:
Set the scale of the first composite indicator to “Pinned to right scale.” This helps maintain consistency across different composite indicators.
Add Multiple Composites:
You can add additional composite indicators and set their scales to “Pinned to right scale” (or alternatively to “A”) for convenient comparison.
Limitations:
If a ticker symbol is set once in the options, it cannot be cleared to an empty value later. As a result, the symbol will continue to appear in the indicator’s title on the chart. The only way to remove an unwanted symbol is to completely reset the settings and re-enter your desired tickers.