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.
Normalized RSI Trendline with DivergencesNormalized RSI Trendline with Divergences
🔹 Overview
The Normalized RSI Trendline with Divergences indicator enhances traditional RSI analysis by normalizing RSI values within a defined range and applying a trend-following approach. It also detects bullish and bearish divergences to highlight potential trend reversals.
🔹 Features
✔ Normalized RSI Calculation – The RSI values are normalized between -1 and 1 to provide a clearer representation of market momentum.
✔ Trend & Center Lines – A trendline based on linear regression and an adaptive moving average (ALMA) for smoother trend visualization.
✔ Divergence Detection – Identifies regular and hidden divergences, displaying signals directly on the chart.
✔ Customizable Parameters – Users can adjust the signal period, lookback range, trend length, and divergence sensitivity to fit different trading strategies.
🔹 How to Use
Trend Following: The trendline helps identify the overall market direction.
Divergence Signals:
🟢 Bullish Divergence (Potential upward reversal)
🔴 Bearish Divergence (Potential downward reversal)
🟩 Hidden Bullish Divergence (Trend continuation signal)
🟧 Hidden Bearish Divergence (Trend continuation signal)
This script is suitable for trend traders, swing traders, and divergence-based strategies. Customize the settings to match your preferred trading style. 🚀
📌 Disclaimer: This script is for educational purposes only and does not constitute financial advice. Always conduct your own analysis before making trading decisions.
EMA POD Indicator #gangesThis script is a technical analysis indicator that uses multiple Exponential Moving Averages (EMAs) to identify trends and track price changes in the market. Here's a breakdown:
EMA Calculation: It calculates six different EMAs (for periods 5, 10, 20, 50, 100, and 150) to track short- and long-term trends.
Trend Identification:
Uptrend: The script identifies an uptrend when the EMAs are in ascending order (EMA5 > EMA10 > EMA20 > EMA50 > EMA100 > EMA150).
Downtrend: A downtrend is identified when the EMAs are not in ascending order.
Trend Change Tracking: It tracks when an uptrend starts and ends, displaying the duration of the trend and the percentage price change during the trend.
Visuals:
It plots the EMAs on the chart with different colors.
It adds green and red lines to represent the ongoing uptrend and downtrend.
Labels are displayed showing when the uptrend starts and ends, along with the trend's duration and price change percentage.
In short, this indicator helps visualize trends, track their changes, and measure the impact of those trends on price.
Range Breakout [BigBeluga]Range Breakout is a dynamic channel-based indicator designed to identify breakout opportunities and price reactions within defined ranges. It automatically creates upper and lower bands with a midline, helping traders spot breakout zones, retests, and potential fakeouts.
🔵 Key Features:
Dynamic Channel Formation:
Automatically plots upper and lower channel bands with a midline based on ATR calculations.
Channels adjust upon breakout events or after a predefined number of bars to reflect new price ranges.
Breakout Detection:
Green circles appear when price breaks above the upper channel edge.
Red circles appear when price breaks below the lower channel edge.
A new channel is formed after each breakout, allowing traders to monitor evolving price ranges.
Retest Signals:
Upward-pointing green triangles signal a retest of the lower band, indicating potential support.
Downward-pointing red triangles indicate a retest of the upper band, suggesting possible resistance.
Filter Signals by Trends (New Feature):
Optional toggle to filter ▲ and ▼ signals based on channel breakout conditions.
When enabled:
In a bullish channel (confirmed by a green circle breakout), only ▲ signals are displayed.
In a bearish channel (confirmed by a red circle breakout), only ▼ signals are displayed.
Helps traders align retest signals with the prevailing trend for higher-quality trade setups.
Fakeout Identification:
'X' symbols appear when price breaks the upper or lower edge of the channel and quickly returns back inside.
Helps traders identify and avoid false breakouts.
🔵 Usage:
Breakout Trading: Use the green and red circle signals to identify potential breakout trades.
Retest Confirmation: Look for triangle markers to confirm retests of key levels, aiding in entry or exit decisions.
Fakeout Alerts: Utilize the 'X' signals to spot and avoid potential trap moves.
Dynamic Range Monitoring: Stay aware of changing market conditions with automatically updating channels.
Range Breakout is an essential tool for traders seeking to capitalize on range breakouts, retests, and fakeout scenarios. Its dynamic channels and clear visual signals provide a comprehensive view of market structure and potential trade setups.
Price Change IndicatorPrice Change Indicator (PCI)
Version: 1.0
Author: LazyTrader 🚀
🔍 Overview
The Price Change Indicator (PCI) helps traders visualize and compare price changes between the current bar and the previous bar. It provides a customizable display of price changes in two formats:
Percentage (%) Change – Relative price movement.
Natural Change – Absolute difference in price units.
⚙️ Key Features
✅ Customizable Calculation Method: Choose how the price change is calculated:
Opening Price
Closing Price
High
Low
✅ Flexible Display Format:
Show Percentage (%) Change.
Show Natural (Absolute) Change in price.
✅ Adjustable Sensitivity with Multiplier:
100 (Standard Change)
1000 (Small Change)
10000 (Tiny Change)
✅ Intuitive Labeling:
Green label (above bar) for increase.
Red label (below bar) for decrease.
No label if no change.
Large, easy-to-read labels for better visibility.
✅ Perfect for Any Market:
Stocks 📈
Forex 💱
Crypto 🚀
Commodities 🛢️
📊 How It Works
The indicator calculates the difference between the current and previous bar’s price based on your chosen method.
The result is displayed as either a percentage (%) or a natural price change.
If the price has increased, a green label is displayed above the bar.
If the price has decreased, a red label is displayed below the bar.
⚡ How to Use
Add the indicator to your chart.
Go to settings and customize:
Select calculation method (Open, Close, High, Low).
Choose display format (% or Natural Change).
Adjust multiplier for more sensitivity.
Analyze the labels to see price movements easily!
🔧 Settings Explained
Setting Description
Price Calculation Method: Choose Open, Close, High, or Low price for comparison.
Display Format: Show either % Change or Natural Change.
Multiplier: Apply 100, 1000, or 10000 to scale small price changes.
Show Labels: Toggle labels on/off.
🎯 Best Use Cases
🔹 Identifying strong price movements
🔹 Spotting trends and momentum shifts
🔹 Comparing price movement intensity
🔹 Works for scalping, swing trading, and long-term analysis
TradFi Fundamentals: Enhanced Macroeconomic Momentum Trading Introduction
The "Enhanced Momentum with Advanced Normalization and Smoothing" indicator is a tool that combines traditional price momentum with a broad range of macroeconomic factors. I introduced the basic version from a research paper in my last script. This one leverages not only the price action of a security but also incorporates key economic data—such as GDP, inflation, unemployment, interest rates, consumer confidence, industrial production, and market volatility (VIX)—to create a comprehensive, normalized momentum score.
Previous indicator
Explanation
In plain terms, the indicator calculates a raw momentum value based on the change in price over a defined lookback period. It then normalizes this momentum, along with several economic indicators, using a method chosen by the user (options include simple, exponential, or weighted moving averages, as well as a median absolute deviation (MAD) approach). Each normalized component is assigned a weight reflecting its relative importance, and these weighted values are summed to produce an overall momentum score.
To reduce noise, the combined momentum score can be further smoothed using a user-selected method.
Signals
For generating trade signals, the indicator offers two modes:
Zero Cross Mode: Signals occur when the smoothed momentum line crosses the zero threshold.
Zone Mode: Overbought and oversold boundaries (which are user defined) provide signals when the momentum line crosses these preset limits.
Definition of the Settings
Price Momentum Settings:
Price Momentum Lookback: The number of days used to compute the percentage change in price (default 50 days).
Normalization Period (Price Momentum): The period over which the price momentum is normalized (default 200 days).
Economic Data Settings:
Normalization Period (Economic Data): The period used to normalize all economic indicators (default 200 days).
Normalization Method: Choose among SMA, EMA, WMA, or MAD to standardize both price and economic data. If MAD is chosen, a multiplier factor is applied (default is 1.4826).
Smoothing Options:
Apply Smoothing: A toggle to enable further smoothing of the combined momentum score.
Smoothing Period & Method: Define the period and type (SMA, EMA, or WMA) used to smooth the final momentum score.
Signal Generation Settings:
Signal Mode: Select whether signals are based on a zero-line crossover or by crossing user-defined overbought/oversold (OB/OS) zones.
OB/OS Zones: Define the upper and lower boundaries (default upper zones at 1.0 and 2.0, lower zones at -1.0 and -2.0) for zone-based signals.
Weights:
Each component (price momentum, GDP, inflation, unemployment, interest rates, consumer confidence, industrial production, and VIX) has an associated weight that determines its contribution to the overall score. These can be adjusted to reflect different market views or risk preferences.
Visual Aspects
The indicator plots the smoothed combined momentum score as a continuous blue line against a dotted zero-line reference. If the Zone signal mode is selected, the indicator also displays the upper and lower OB/OS boundaries as horizontal lines (red for overbought and green for oversold). Buy and sell signals are marked by small labels ("B" for buy and "S" for sell) that appear at the bottom or top of the chart when the score crosses the defined thresholds, allowing traders to quickly identify potential entry or exit points.
Conclusion
This enhanced indicator provides traders with a robust approach to momentum trading by integrating traditional price-based signals with a suite of macroeconomic indicators. Its normalization and smoothing techniques help reduce noise and mitigate the effects of outliers, while the flexible signal generation modes offer multiple ways to interpret market conditions. Overall, this tool is designed to deliver a more nuanced perspective on market momentum.
Market Structure [ActiveQuants]The Market Structure indicator is a powerful tool designed to help traders identify key market structure shifts and change of character (CHoCH) points. By plotting swing highs, swing lows, and structural breaks , this indicator allows traders to track price action dynamics, improving trade execution and strategy development.
█ KEY FEATURES
Market Structure Visualization : Automatically detects and plots pivot highs and pivot lows , highlighting structural points on the chart.
Change of Character (CHoCH) Detection : Identifies bullish and bearish CHoCH events, marking key shifts in market sentiment.
Customizable Sensitivity : Adjust the pivot sensitivity to fine-tune market structure identification based on different trading styles and timeframes.
Dynamic Labeling & Line Management : Automatically removes old lines and labels to keep the chart clean and focused on recent price action.
User-Defined Display Options : Customize the colors, visibility, and number of bars shown to match your personal trading preferences.
█ CONCLUSION
The Market Structure & CHoCH Indicator is an essential tool for traders who rely on price action and structure-based strategies. By visually mapping key swing points and structure shifts , it enhances decision-making, helping traders align with the market trend and spot potential reversals.
█ IMPORTANT
⚠ CHoCH signals should be used in conjunction with other confluences such as supply & demand zones, order flow, or trend confirmation.
⚠ Adjust pivot sensitivity based on your preferred timeframe and asset class to optimize accuracy.
Incorporate this indicator into your trading workflow to enhance market structure analysis and refine entry & exit strategies .
📈 Happy trading! 🚀
Breakout indicatorThis indicator helps traders identify potential breakout levels based on the highest high and lowest low of the last N candles, inspired by the classic Turtle Trading strategy. The period (N) is fully customizable, allowing you to adapt it to your trading style. For daily charts, a period between 50 and 100 is recommended.
The indicator dynamically plots horizontal lines representing the highest high and lowest low over the selected period. These lines are updated in real-time as price action evolves. A breakout is confirmed when the price closes above the high line (for a bullish breakout) or below the low line (for a bearish breakout).
Customize the appearance of the lines with options for thickness, color, and style (solid, dotted, or dashed) to suit your chart preferences. Perfect for traders looking to implement a simple yet effective breakout strategy!
Key Features:
Editable period (N) for high/low calculation.
Real-time updates of high/low levels.
Customizable line thickness, color, and style.
Usage:
Use on daily charts for swing trading or position trading.
Combine with other indicators or price action analysis for better confirmation.
Window Seasonality IndicatorThis is a time window seasonal returns indicator. That is, it will provide the mean returns for a given time window based on a given number of lookbacks set by the user. The script finds matching time windows, e.g., 1st week of March going back 5 years or 9:00-10:00 window of every day going 50 days, and then calculates an average return for that window close price with respect to the close price in the immediately preceding time window, e.g. last week of February or 8:00-9:00 close price, respectively.
There are 4 input options:
1) Historical Periods to Average: Set the number of matching historical windows with which to calculate an average price. The max is 730 lookback windows. Note: for monthly or weekly windows, setting too large a number will cause the script to error out.
2) Use Open Price: calculates the seasonal returns using the open price rather than close price.
3) Show Bands: select from 1 Gaussian standard deviation or a nonparamateric ranked confidence interval. As a rough heuristic, the Gaussian band requires at least 30 lookback periods, and the ranked confidence interval requires 50 or more.
4) Upper Percentile: set the upper cutoff for ranked confidence interval.
5) Lower Percentile: set the lower cutoff for ranked confidence interval.
Please be aware, this indicator does not use rigorous statistical methodology and does not imply predictive power. You'll notice the range bands are very wide. Do not trade solely based on this indicator! Certain time windows, such as weekly and monthly, will make more sense applied to commodities, where annual cycles play a role in its supply and demand dynamics. Hourly windows are more useful in looking at equities markets. I like to look at equities with 1-hr windows to see if there is some pattern to overnight behavior or for market open and close.
Tillson T3 Moving Average (improved)T3 Moving Average – Advanced Smoothing for Trend Analysis
Overview
The Tillson T3 Moving Average (T3 MA) is a superior smoothing moving average that reduces lag while maintaining responsiveness to price changes. Unlike traditional moving averages such as SMA, EMA, or WMA, the T3 applies multiple levels of smoothing, making it more adaptive to market conditions.
How It Works
The T3 MA is an exponentially smoothed moving average with a factor that controls the level of smoothing. This multi-layered smoothing process allows it to:
✅ React faster than a standard EMA while still filtering out market noise.
✅ Smooth out price fluctuations better than SMA or WMA, reducing false signals.
✅ Reduce lag compared to traditional moving averages, making it useful for both trend identification and entry/exit decisions.
How to Use This Script
🔹 Trend Identification – Use T3 MA as a dynamic trend filter. Price above T3 signals an uptrend, while price below signals a downtrend.
🔹 Direction Signal – The direction of the T3 MA (i.e. sloping upwards or downwards) can itself be used as a signal. The script allows the MA line to be colored, so it's easier to spot.
🔹 Crossover Signals – Combine T3 with another moving average (e.g., a shorter T3 or EMA, SMA, etc.) to generate trade signals when they cross.
🔹 Support & Resistance – The T3 can act as dynamic support and resistance in trending markets.
Features of This Script
✅ Custom Source Selection – Apply T3 not just to price, but also to any indicator (e.g., RSI, volume, etc.).
✅ Customizable Length & Smoothing – Adjust how smooth and responsive the T3 MA is.
✅ Optional Color Changes – The T3 MA can dynamically change color based on trend direction, making it easier to read.
✅ Versatile for Any Strategy – Works well in trend-following, mean-reversion, and breakout trading systems.
This script is ideal for traders looking for a smoother, more adaptive moving average that reduces noise while remaining reactive to price action. 🚀
Trade Quality Rating: signal rating from 1 to 5 starsOverview
The indicator is built to generate trading signals based on a combination of technical indicators and then assign each signal a quality rating from 1 to 5 stars. The idea is that the more filters that are met, the stronger (or higher quality) the signal is assumed to be. You can then use these quality ratings to decide which signals to act upon, keeping in mind that a higher-rated signal has more confirming factors.
Components of the Indicator
Simple Moving Averages (SMAs):
SMA9 and SMA20:
These two moving averages are used to detect short-term trend changes via crossovers. A bullish signal is generated when the SMA9 crosses above the SMA20, and a bearish signal when it crosses below.
SMA200 (on the current timeframe) & Daily SMA200:
The SMA200 on your current chart helps smooth out the price action.
The Daily SMA200 serves as a long-term trend filter. For a valid long signal, the price must be above the Daily SMA200, and vice versa for a short signal.
MACD (Moving Average Convergence Divergence):
The MACD is calculated using standard parameters (12, 26, 9).
It adds momentum confirmation to the signal. For a long trade, the MACD line should be above its signal line, and for a short trade, below.
RSI (Relative Strength Index):
Calculated with a 14-period setting.
For long signals, the RSI must be above 50 (indicating upward momentum), while for short signals, it should be below 50.
This filter is one of the additional conditions that add to the quality rating.
Volume Filter:
A 20-period moving average of volume is computed.
The current volume must exceed this average, suggesting that there is enough market participation backing the move.
This is another extra filter that adds to the overall quality score.
ADX (Average Directional Index):
The ADX is manually calculated in the script (using a 14-period setting) to gauge the strength of the trend.
A value above 25 is considered to confirm that a strong trend is in place, making the signal more reliable.
VWAP (Volume Weighted Average Price):
The session VWAP is computed on a daily basis.
For long trades, the price should be above the VWAP, and for short trades, below.
This serves as a confirmation that the current price is moving in the right direction relative to the volume-weighted average.
Signal Generation and Quality Rating
Base Signal (1 Star):
The fundamental trade signal is generated when the SMA9/SMA20 crossover occurs, in combination with the MACD confirmation and the condition that the price is on the correct side of the Daily SMA200. This base signal provides a 1-star quality rating.
Additional Filters (Adding Extra Stars):
RSI Filter: Adds 1 extra star if the RSI condition is met (RSI > 50 for long or RSI < 50 for short).
Volume Filter: Adds 1 extra star if the current volume exceeds its 20-period moving average.
ADX Filter: Adds 1 extra star if the ADX value is above 25, confirming a strong trend.
VWAP Filter: Adds 1 extra star if the price is above the VWAP for long trades (or below for short trades).
When all filters are met, you get a 5-star rating (1 star base + 4 extra stars).
Display and Alerts:
The indicator plots your SMAs on the chart.
When a signal occurs, it places a label on the chart showing the trade direction ("BUY" or "SELL") along with the quality rating in stars.
Additionally, alert conditions are set up so that you can receive notifications when a valid signal (based on the base criteria) is generated.
How to Use This Indicator
Filtering Trades:
Use the quality rating as a visual guide. For instance, if you want to only act on the most reliable setups, you might decide to trade only signals that are rated 4 or 5 stars.
Manual Confirmation:
Even with a high star rating, you can perform your own final checks (e.g., checking price action or additional chart patterns) before entering a trade.
Backtesting and Adjustment:
Because market conditions differ, it’s advisable to backtest the indicator on your instrument of choice and adjust the parameters (such as the ADX threshold or the period for volume averaging) to better suit your trading style.
Conclusion
This 5-star system indicator is designed to provide a comprehensive overview of trade quality by integrating multiple technical filters into one visual signal. It helps filter out noise by ensuring that a trade signal not only meets a basic SMA and MACD condition but also aligns with volume, trend strength (ADX), and VWAP criteria. This multi-layered approach can lead to fewer but higher quality trades, allowing you to focus on setups that have more confluence.
Happy trading!
Indicator BMS V5 [Traderhood]Introducing BMS (Base Market Strategy)
Overview
Base Market Strategy (BMS) is a trend-following and oscillator indicator designed to detect market trends with high accuracy while providing clear entry signals. BMS utilizes four Exponential Moving Averages (EMA) to filter trends across multiple timeframes and Bollinger Bands (BB) to identify overbought and oversold zones. This approach makes BMS highly suitable for scalping strategies in lower timeframes with a high win rate potential.
Key Features
📈 Multi-EMA Trend Filtering
Uses 4 EMAs to confirm the dominant trend.
Separates trend detection between lower timeframes and H1 for additional validation.
🎯 Dynamic Overbought & Oversold Detection
Sell signal occurs when the price touches the Bollinger Bands Upper.
Buy signal occurs when the price touches the Bollinger Bands Lower.
🔥 High Win Rate Scalping Strategy
Designed to capture quick price movements in trending markets.
Ideal for traders looking for fast executions with controlled risk.
🎨 Customizable Visual Enhancements
Users can adjust indicator colors to match their personal preferences.
How It Works
1️⃣ EMA-Based Trend Identification
The indicator applies 4 EMAs to determine short-term and medium-term trends.
If the price is above all EMAs → Bullish trend.
If the price is below all EMAs → Bearish trend.
2️⃣ Bollinger Bands Signal Generation
Sell Entry: When the price touches Bollinger Bands Upper, indicating an overbought area.
Buy Entry: When the price touches Bollinger Bands Lower, indicating an oversold area.
3️⃣ Scalping Execution
Entries are executed only on lower timeframes with trend confirmation from H1 EMA.
Profit targets are adjusted based on volatility, while stop loss is placed outside the Bollinger Bands.
4️⃣ Visual Customization
Indicator colors can be modified for better visibility.
Practical Applications
✅ Scalping Strategy – Uses Bollinger Bands and EMA filtering for fast trades.
✅ Trend Confirmation – Multi-timeframe EMA validation ensures precise entries.
✅ Dynamic Support & Resistance – Bollinger Bands help identify potential reversals.
✅ Noise Reduction – EMA filtering removes minor price fluctuations for clearer signals.
🛠 Settings
EMA Periods: 4 EMAs for trend filtering.
Bollinger Bands Length: 20 (default), adjustable.
Bollinger Bands Deviation: 2 (default).
Color Customization: Users can personalize indicator colors as needed.
📌 Conclusion
Base Market Strategy (BMS) is a high win-rate scalping indicator, combining trend-following EMA filtering with momentum reversal detection from Bollinger Bands. With a dynamic and adaptive approach, this indicator provides precise entry signals while reducing noise from insignificant price movements.
Key Takeaways:
✔ High Accuracy – A combination of EMA and Bollinger Bands provides clear signals.
✔ Scalping Optimization – Works best on lower timeframes with H1 validation.
✔ Visual Customization – Users can adjust the indicator colors to their preference.
✔ Simple Yet Powerful – Easy to use but highly effective in capturing market opportunities.
🔹 Disclaimer: Trading carries high risks. Always backtest and optimize settings to align with your risk tolerance before live trading.
Parabolic SAR Multiple Timeframe levels (TechnoBlooms)The Parabolic SAR (Stop and Reverse) is a valuable tool for traders due to its ability to provide clear signals for trend direction and potential reversal points. One of its primary benefits is the ease of use; it visually indicates whether the market is trending up or down, helping traders decide when to buy or sell. The indicator also aids in setting stop-loss orders as it moves with price, offering a dynamic way to manage risk by suggesting when to exit a position if the trend reverses.
Viewing the Parabolic SAR (PSAR) across multiple timeframes offers traders a comprehensive approach to understanding market trends and making strategic decisions. By analyzing the PSAR on shorter timeframes like 1-minute or 5-minute charts, traders can pinpoint precise entry and exit points for quick trades, capitalizing on immediate market movements.
Settings
> User can select 10 different timeframes according to their wish
> User can change Parabolic SAR settings like Start, Increment and Maximum Value
Killzone Session Lines [odnac]This Pine Script indicator displays vertical lines marking the start of key market sessions, known as Killzones, for both today and yesterday. These lines help traders identify important trading hours for the Asia, Europe, and New York sessions.
Killzone Vertical Lines:
Draws vertical lines for the start of the Asia, Europe, and New York sessions.
Displays lines for both today and the previous day to compare price action across sessions.
Customizable Time Settings:
Users can set the exact start hour and minute for each Killzone.
Time zones adjust automatically based on the chart's time zone.
Visual Customization:
Change the color, width, and style of the vertical lines (solid, dotted, dashed).
Toggle each session's lines individually for a cleaner chart.
Previous Start Lines:
Optional lines for the opening of today, the previous day, and the previous week, providing historical context for support and resistance levels.
Why Use This Indicator?
Session Awareness: Know exactly when major market sessions start to identify potential volatility spikes.
Historical Context: Compare today’s price action with previous sessions to spot recurring patterns.
Clean Charting: Automatic updates prevent clutter, keeping your workspace organized.
Flexible Customization: Tailor the display to fit your trading style and preferences.
Multi-Timeframe 200 EMAMulti-Timeframe 200 EMA Indicator
Description:
This indicator plots the 200-period Exponential Moving Average (EMA) from multiple timeframes on a single chart. It allows traders to visualize key trend levels across different timeframes, helping with confluence, trend identification, and potential trade setups.
Key Features:
Multi-Timeframe EMAs: Displays the 200 EMA from the 2m, 5m, 15m, 30m, 1hr, and 4hr timeframes, regardless of the chart's current timeframe.
Dynamic Labeling: Each EMA is labeled with its respective timeframe (e.g., "2m", "1hr", "4hr") and the labels update in real-time, staying on the current EMA value.
Auto-Updating Labels: The labels move with the EMAs as new candles form, ensuring a clean and informative display. Old labels automatically disappear to prevent clutter.
Color-Coded EMAs: Each EMA has a unique color, making it easy to differentiate between timeframes.
How to Use This Indicator in Trading:
Trend Confirmation: If price stays above the higher timeframe 200 EMA (e.g., 1hr, 4hr), it suggests an uptrend; below it suggests a downtrend.
Support & Resistance Zones: The 200 EMA from larger timeframes often acts as strong dynamic support or resistance.
Multi-Timeframe Confluence: If multiple EMAs are aligned in the same direction, it strengthens the trend bias.
Reversal or Breakout Signals: When price crosses above or below a higher timeframe EMA, it could indicate a potential trend change or breakout opportunity.
Best Used For:
🔹 Scalpers & Day Traders: Helps identify intraday trends and key levels across multiple timeframes.
🔹 Swing Traders: Useful for aligning trade setups with higher timeframe trends.
🔹 Trend Followers: Provides confirmation of long-term trends using the 200 EMA.
Correction Table# Correction Table Indicator
A powerful TradingView indicator that displays a comprehensive table showing price corrections from All-Time High (ATH) and the 200-day Simple Moving Average (SMA).
## Features
- Real-time calculation of 200-day Simple Moving Average (SMA)
- Display of current price deviations from 200 SMA
- ATH-based correction levels (-10%, -20%, -30%, -40%, -50%)
- Clear visualization through a customizable table
- Price differences shown in both absolute and percentage terms
- Color-coded positive/negative deviations for better readability
## Parameters
- **ATH Calculation Period**: Number of days to look back for calculating All-Time High (default: 90 days)
## Table Information
The indicator displays a table in the top-right corner of your chart with the following information:
- **200 SMA**: Current 200-day Simple Moving Average value
- **ATH-10%**: Price level at 10% below All-Time High
- **ATH-20%**: Price level at 20% below All-Time High
- **ATH-30%**: Price level at 30% below All-Time High
- **ATH-40%**: Price level at 40% below All-Time High
- **ATH-50%**: Price level at 50% below All-Time High
Each row shows:
- Target price level
- Current deviation from the price
- Percentage deviation
Global Market Clock Pro🌍✨ Global Market Clock Pro is a market session visualizer that combines utility and fun on your charts! 📊⏰ This indicator includes three analog clocks representing the Tokyo, London, and New York sessions, added in an entertaining way to make analysis more enjoyable and dynamic. 😊 Each clock clearly shows the session start and end times through arcs and distinctive markers, making it easier to identify active market periods. 💡
Also, a statistics table is added offering detailed information for each session:
📊 Percentage Change : Displays the price variation between sessions.
💰 Price Range : Highlights volatility within each session.
📈 Session Volume : Evaluates market activity based on traded volume.
📊 Average Volatility : Helps measure price fluctuations over time.
📌 Mean (Average Close) : Calculated by dividing the sum of closing prices of each bar by the total number of bars recorded during the session. This value gives you a reference for average price behavior, helping you detect general trends and key support/resistance levels. 📉
📌 Max Range (Maximum Range) : Represents the largest difference recorded between the highest and lowest prices during the session. This indicator is crucial for identifying volatility peaks, as it shows how far the market moved during its most active moments. 🔥
⚠️ VERY IMPORTANT : This tool works best only in timeframes under 4 hours ! ⏳
By integrating these data points directly into your chart, this indicator becomes a powerful tool to align your strategies with market activity in each session. Whether you're a day trader or a long-term investor, Global Market Clock Pro provides clear, data-driven insights to enhance decision-making. 💻📈
Español:
🌍✨ Global Market Clock Pro es un visualizador de sesiones de mercado que combina utilidad y diversión en tus gráficos. 📊⏰ Este indicador incluye tres relojes analógicos que representan las sesiones de Tokio, Londres y Nueva York, agregados de manera entretenida para hacer el análisis más ameno y dinámico. 😊 Cada reloj muestra con claridad los horarios de inicio y cierre de sesión mediante arcos y marcadores distintivos, facilitando la identificación de los periodos activos del mercado. 💡
Además, se añade una tabla de estadísticas que ofrece información detallada de cada sesión:
📊 Cambio porcentual : Muestra la variación de precio entre sesiones.
💰 Rango de precios : Destaca la volatilidad dentro de cada sesión.
📈 Volumen de sesión : Evalúa la actividad del mercado mediante el volumen negociado.
📊 Volatilidad promedio : Ayuda a medir las fluctuaciones del precio a lo largo del tiempo.
📌 Mean (Promedio de Cierre) : Se calcula dividiendo la suma de los precios de cierre de cada barra entre el número total de barras registradas durante la sesión. Este valor te brinda una referencia del comportamiento medio del precio, permitiéndote detectar tendencias generales y niveles clave de soporte o resistencia. 📉
📌 Max Range (Rango Máximo) : Representa la mayor diferencia registrada entre el precio más alto y el más bajo durante la sesión. Este indicador es fundamental para identificar los picos de volatilidad, ya que muestra hasta qué punto el mercado se movió en sus momentos de mayor actividad. 🔥
⚠️ ¡MUY IMPORTANTE! : Esta herramienta funciona mejor solo en temporalidades menores a 4 horas . ⏳
Al integrar estos datos directamente en el gráfico, este indicador se convierte en una herramienta poderosa para sincronizar tus estrategias con la actividad del mercado en cada sesión. Ya seas un trader intradía o un inversor a largo plazo, Global Market Clock Pro proporciona claridad basada en datos para mejorar la toma de decisiones. 💻📈
🚀 ¡No dejes pasar la oportunidad de optimizar tu experiencia de trading con esta innovadora herramienta! ✨