[TehThomas] - ICT Liquidity sweepsThe ICT Liquidity Sweeps Indicator is designed to track liquidity zones in the market areas where stop-losses and pending orders are typically clustered. This indicator marks buyside liquidity (resistance) and sellside liquidity (support), helping traders identify areas where price is likely to manipulate liquidity before making a significant move.
This tool is based on Inner Circle Trader (ICT) Smart Money Concepts, which emphasize how institutional traders, or “Smart Money,” manipulate liquidity to fuel price movements. By identifying these zones, traders can anticipate liquidity sweeps and position themselves accordingly.
⚙️ How It Works
1️⃣ Detects Key Liquidity Zones
The script automatically identifies significant swing highs and swing lows in price action using a pivot-based method.
A swing high (buyside liquidity) is a peak where price struggles to break higher, forming a resistance level.
A swing low (sellside liquidity) is a valley where price struggles to go lower, creating a support level.
These liquidity points are prime targets for liquidity sweeps before a true trend direction is confirmed.
2️⃣ Draws Liquidity Lines
Once a swing high or low is identified, a horizontal line is drawn at that level.
The lines extend to the right, serving as future liquidity targets until they are broken.
The indicator allows customization in terms of color, line width, and maximum number of liquidity lines displayed at once.
3️⃣ Handles Liquidity Sweeps
When price breaks a liquidity level, the indicator reacts based on the chosen action setting:
Dotted/Dashed: The line remains visible but changes style to indicate a sweep.
Delete: The line is completely removed once price has interacted with it.
This feature ensures that traders can easily spot where liquidity has been taken and determine whether a reversal or continuation is likely.
4️⃣ Prevents Chart Clutter
To maintain a clean chart, the script limits the number of liquidity lines displayed at any given time.
When new liquidity zones are formed, the oldest lines are automatically removed, keeping the focus on the most relevant liquidity zones.
🎯 How to Use the ICT Liquidity Sweeps Indicator
🔍 Identifying Liquidity Grabs
This indicator helps you identify areas where Smart Money is targeting liquidity before making a move.
Buyside Liquidity (BSL) Sweeps:
Occur when price spikes above a resistance level before reversing downward.
Indicate that Smart Money has hunted stop-losses and buy stops before driving price lower.
Sellside Liquidity (SSL) Sweeps:
Occur when price drops below a support level before reversing upward.
Indicate that Smart Money has collected liquidity from stop-losses and sell stops before pushing price higher.
📈 Combining with Market Structure Shifts (MSS)
One of the best ways to use this indicator is in conjunction with our Market Structure Shifts Indicator.
Liquidity sweeps + MSS Confirmation give strong high-probability trade setups:
Wait for a liquidity sweep (price takes out a liquidity level).
Look for an MSS in the opposite direction (e.g., price sweeps a high, then breaks a recent low).
Enter the trade in the new direction with stop-loss above/below the liquidity sweep.
📊 Entry & Exit Strategies
Long Trade Example:
Price sweeps a key sellside liquidity level (SSL) → creates a false breakdown.
MSS confirms a reversal (price breaks structure upwards).
Enter long position after confirmation.
Stop-loss below the liquidity grab to minimize risk.
Short Trade Example:
Price sweeps a key buyside liquidity level (BSL) → takes liquidity above resistance.
MSS confirms a bearish move (price breaks a key support level).
Enter short position after confirmation.
Stop-loss above the liquidity grab.
🚀 Why This Indicator is a Game-Changer
✅ Helps Identify Smart Money Manipulation – Understand where institutions are likely to grab liquidity before the real move happens.
✅ Enhances Market Structure Analysis – When paired with MSS, liquidity sweeps become powerful signals for trend reversals.
✅ Filters Out False Breakouts – Many traders get caught in liquidity grabs. This indicator helps avoid bad entries.
✅ Keeps Your Chart Clean – The auto-limiting feature ensures that only the most relevant liquidity levels remain visible.
✅ Works on Any Timeframe – Whether you’re a scalper, day trader, or swing trader, liquidity concepts apply universally.
📌 Final Thoughts
The ICT Liquidity Sweeps Indicator is a must-have tool for traders who follow Smart Money Concepts. By tracking liquidity levels and highlighting sweeps, it allows traders to enter trades with precision while avoiding false breakouts.
When combined with Market Structure Shifts (MSS), this strategy becomes even more powerful, offering traders an edge in spotting reversals and timing entries effectively.
__________________________________________
Thanks for your support!
If you found this idea helpful or learned something new, drop a like 👍 and leave a comment—I’d love to hear your thoughts! 🚀
Make sure to follow me for more price action insights, free indicators, and trading strategies. Let’s grow and trade smarter together! 📈✨
Indicadores e estratégias
Trendchange Zones Indicator | iSolani
Spotting Reversals Before They Happen: The iSolani Trendshift System
Where RSI Meets Smart Volume Analysis - Your Visual Guide to Market Turns
Core Methodology
RSI-Powered Zones
Identifies critical levels using:
14-period RSI (default) with 70/30 thresholds
Semi-transparent boxes marking overbought (red) and oversold (green) territories
Zone persistence until RSI returns to neutral range
Dynamic Level Tracking
Plots evolving support/resistance using:
Pivot highs/lows with 15-bar lookback (default)
Auto-extending lines that adapt to new price extremes
Volume-Confirmed Breakouts
Flags significant moves with:
5/10 EMA volume oscillator
20% volume threshold (default) for confirmation
Technical Innovation
Three-Layer Confirmation
Unique combination of:
Classic RSI extremes
Price structure through pivot points
Volume-fueled momentum shifts
Adaptive Visualization
Zones maintain historical context at 33% transparency
Dynamic lines extend indefinitely until invalidated
Discreet labels for breakout events
System Workflow
Calculates RSI values in real-time
Draws colored zones when RSI crosses 70/30
Marks pivot points every 15 bars (default)
Updates support/resistance lines on new pivots
Triggers alerts when price breaks levels with volume confirmation
Standard Configuration
RSI Settings : 14-period length
Pivot Detection : 15-bar left/right lookback
Visuals : 33% transparency zones with thin borders
Volume Threshold : 20% oscillator difference
Alerts : Breakout signals with "B" labels
This system transforms the classic RSI into a spatial analysis tool - not just showing when markets are overextended, but where they're likely to reverse. The dynamic lines act as moving barriers that adapt to market structure, while the volume filter ensures only high-conviction breaks get flagged. By layering momentum, price action, and volume dynamics, it creates a multi-spectrum view of potential trend changes.
MACD Divergence all in oneMACD Divergence all in one
It can also be named as MACD dual divergence detector pro !
A sophisticated yet user-friendly tool designed to identify both bullish and bearish divergences using the MACD (Moving Average Convergence Divergence) indicator. This advanced script helps traders spot potential trend reversals by detecting hidden momentum shifts in the market, offering a comprehensive solution for divergence trading.
🎯 Key Features:
• Automatic detection of bullish and bearish divergences
• Clear visual signals with color-coded lines (Green for bullish, Red for bearish)
• Smart filtering system to eliminate false signals
• Customizable parameters to match your trading style
• Clean, uncluttered chart presentation
• Optimized performance for real-time analysis
• Easy-to-read labels showing divergence types
• Built-in signal spacing to avoid clustering
📊 How it works:
The indicator uses an advanced algorithm to analyze the relationship between price action and MACD momentum to identify:
Bullish Divergences:
- Price makes higher lows while MACD shows lower lows
- Signals potential trend reversal from bearish to bullish
- Marked with green lines and upward labels
Bearish Divergences:
- Price makes lower highs while MACD shows higher highs
- Signals potential trend reversal from bullish to bearish
- Marked with red lines and downward labels
⚙️ Customizable Settings:
1. MACD Parameters:
- Fast Length (default: 12)
- Slow Length (default: 26)
- Signal Length (default: 9)
2. Divergence Detection:
- Left/Right Pivot Bars
- Divergence Lookback Period
- Minimum/Maximum Divergence Length
- Divergence Strength Filter
3. Visual Settings:
- Clear color coding for easy identification
- Adjustable line thickness
- Customizable label size
💡 Best Practices:
- Most effective on higher timeframes (1H, 4H, Daily)
- Combine with support/resistance levels
- Use with trend lines and price action
- Consider volume confirmation
- Best results during trending markets
- Use appropriate stop-loss levels
🎓 Trading Tips:
1. Look for bullish divergences near support levels
2. Watch for bearish divergences near resistance zones
3. Confirm signals with other technical indicators
4. Consider market context and overall trend
5. Use proper position sizing and risk management
⚠️ Important Notes:
- Past performance doesn't guarantee future results
- Always use proper risk management
- Test settings on historical data first
- Different timeframes may require parameter adjustments
- Not all divergences lead to reversals
Created by: Anmol-max-star
Last Updated: 2025-02-25 16:15:08 UTC
📌 Regular updates and improvements planned!
Disclaimer:
This indicator is for informational purposes only. Always conduct your own analysis and use proper risk management techniques. Trading involves risk of loss, and past performance does not guarantee future results.
🤝 Support:
Feel free to leave comments for:
- Suggestions
- Improvements
- Feature requests
- Bug reports
- General feedback
Your feedback helps make this tool better for everyone!
Happy Trading and May the Trends Be With You! 📈
lib_input_enumLibrary "lib_input_enum"
some enum wrappers for style identifiers, that can be used in input.enum calls to have nicer dropdown names
to_size(select)
converts Size enum to builtin size.tiny / size.small / etc., ideally used around input: to_size(input.enum(Size.SMALL, ....))
Parameters:
select (series Size)
to_size(select)
converts a string key to builtin size.tiny / size.small / etc., ideally used around input: to_size(input.string('small', ...., ))
Parameters:
select (string)
reduce_size(select)
converting a builtin size identifier to one instance smaller (except tiny and auto)
Parameters:
select (string)
to_linestyle(select)
converts LineStyle enum to builtin line.style_solid / line.style_dashed / line.style_dotted, ideally used around input: to_linestyle(input.enum(LineStyle.SOLID, ....))
Parameters:
select (series LineStyle)
to_linestyle(select)
converts a string key to builtin line.style_solid / line.style_dashed / line.style_dotted, ideally used around input: to_linestyle(input.string('solid', ...., ))
Parameters:
select (string)
to_labelstyle(select)
converts LineStyle enum to builtin line.style_solid / line.style_dashed / line.style_dotted, ideally used around input: to_linestyle(input.enum(LineStyle.SOLID, ....))
Parameters:
select (series LabelStyle)
to_labelstyle(select)
converts a string key to builtin line.style_solid / line.style_dashed / line.style_dotted, ideally used around input: to_linestyle(input.string('solid', ...., ))
Parameters:
select (string)
Candle Range-BarsThe Candle Range Bars indicator visually represents the range of each candlestick in either pips or ticks, depending on your preference. It plots vertical bars to show the size of each candle, making it easy to identify periods of high or low volatility. The indicator also displays the exact range value (in pips or ticks) above each bar, with customizable text size and color for better readability.
Key Features
Pips or Ticks Mode:
Choose to display the candle range in pips (for forex traders) or ticks (for other instruments).
Customizable Text:
Adjust the text color and text size (Tiny, Small, Normal, Large) to suit your chart style.
Clear Visuals:
Bars are colored green for bullish candles and red for bearish candles, making it easy to distinguish between up and down moves.
Flexible Use:
Ideal for analyzing volatility, identifying consolidation zones, and comparing candle ranges across different timeframes.
How to Use:
Add the indicator to your chart.
Customize the settings:
Choose between pips or ticks.
Adjust the text color and text size for the range values.
Observe the bars and their corresponding range values to analyze market volatility.
Why Use This Indicator?:
Simplify Range Analysis: Quickly see the size of each candlestick without manual calculations.
Customizable: Tailor the appearance to match your trading style.
Versatile: Works on any instrument and timeframe.
Settings:
Show Pips (Otherwise Ticks): Toggle between pips and ticks mode.
Text Color: Choose the color of the range value text.
Text Size: Select the size of the range value text (Tiny, Small, Normal, Large).
Ideal For:
Forex, stocks, commodities, and crypto traders.
Traders who focus on volatility and range analysis.
Anyone looking for a clear and customizable way to visualize candle ranges.
This description highlights the key features, benefits, and usability of your indicator, making it appealing to other TradingView members. Let me know if you'd like to tweak it further! 😊
Futures Open/High/Low TablesAdds (up to) 3 tables to a chart, displaying Open/High/Low data for today (RTH and extended hours), yesterday, and the current week / month -- to help with intraday analysis of a futures ticker.
The tables only appear on intraday charts (5min, 30min, etc). On a Daily/Weekly/etc chart they are not calculated or shown.
In addition to Open/High/Low, the "Current" table in the top-right shows a live measurement of # of points from the open, the RTH open, and the highs/lows.
Lastly, the 9:30am ET open and the 4pm RTH close are by default marked with a shaded background (on intraday charts) for easy visual reference, and also to help with adjusting the session time to accommodate time zone issues if they occur.
Tested on ES in Eastern Time Zone, but should work on any futures instrument and any time zone by adjusting the Session Time setting.
Stock Highs TrackerThis indicator tracks key stock price levels including the all-time high (ATH), 52-week high, and current price.
It calculates the percentage difference of the current price from both the ATH and 52-week high.
The data is displayed in a table at the top-right corner of the chart, allowing traders to quickly assess the stock’s performance relative to its historical highs.
This is useful for identifying stocks trading near their highs or experiencing significant pullbacks.
Fibonacci Pivot Points & Previous D,W&M Highs/LowsIndicator Overview
This indicator combines Fibonacci Pivot Points with previous high and low levels for different timeframes (day, week, month). It plots these levels on the chart to provide traders with key support and resistance areas, making it easier to identify potential trading opportunities.
Features
Fibonacci Pivot Points:
The indicator calculates pivot points based on the high, low, and close prices.
Fibonacci levels are used to determine support (S1, S2, S3, S4, S5) and resistance (R1, R2, R3, R4, R5) levels.
Users can customize the Fibonacci levels for both support and resistance.
Previous Highs and Lows:
The indicator plots previous day, week, and month high and low levels.
Each of these lines can be customized in terms of visibility, color, and width.
This helps traders to see key historical levels that might act as support or resistance in the future.
Inputs and Customization:
Fibonacci Time Frame:
Users can select the timeframe for calculating the pivot points (Daily, Weekly, Monthly).
Fibonacci Levels:
Customizable input fields for each Fibonacci level (R1, R2, R3, R4, R5, S1, S2, S3, S4, S5).
Previous High/Low Lines:
Day Lines:
Options to show or hide previous day's high/low lines.
Customizable color and width for these lines.
Week Lines:
Options to show or hide previous week's high/low lines.
Customizable color and width for these lines.
Month Lines:
Options to show or hide previous month's high/low lines.
Customizable color and width for these lines.
Technical Calculations:
Fibonacci Pivot Points:
Calculated as:
pp = (High + Low + Close) / 3
S1 = pp - ((High - Low) * Fibonacci Level)
R1 = pp + ((High - Low) * Fibonacci Level)
Previous High/Low Levels:
Uses request.security to fetch previous high and low values for the selected timeframe.
Plotted using line.new to draw lines across the chart.
Plotting:
The indicator plots Fibonacci Pivot Points and previous high/low lines on the chart, using distinct colors for each level.
Customizable transparency and linewidths make it easier to visually interpret the levels.
This indicator is particularly useful for traders who rely on technical analysis to identify key support and resistance levels, offering a blend of historical data and Fibonacci-based predictions.
Feel free to ask if you have any specific questions or need further adjustments!
Supertrend with 1% Target and 1% StoplossSupertrend Calculation: The Supertrend indicator is calculated using the Average True Range (ATR) and a factor. The factor and ATR length can be adjusted in the inputs.
Long and Short Conditions: The strategy enters a long position when the price crosses above the Supertrend line and a short position when the price crosses below it.
Target and Stop Loss: The strategy places a 1% target and a 1% stop loss for both long and short positions.
Visuals: The stop loss and take profit levels are plotted on the chart for better visibility.
MH Strategy – Hull Moving Average-Based Trading StrategyThe MH Strategy is a TradingView strategy that leverages the Hull Moving Average (HullMA) to generate precise buy and sell signals. This strategy is designed to identify trend reversals and momentum shifts using a combination of weighted moving averages and HullMA-based calculations.
Key Features:
✅ Hull Moving Average-Based Signals – Uses a modified HullMA calculation to detect trend changes.
✅ Dynamic Support & Resistance – The strategy plots adaptive levels that act as dynamic entry and exit points.
✅ Trend-Based Entries & Exits – Generates long (buy) signals when the price moves above the calculated Hull retraction level and short (sell) signals when the price moves below it.
✅ Automated Trade Execution – Integrates with TradingView’s strategy function to open and close trades automatically based on signal conditions.
✅ Customizable Parameters – Allows users to adjust the HullMA period and price data source to optimize performance across different markets and timeframes.
How It Works:
HullMA Calculation: The strategy calculates a smoothed Hull Moving Average (HullMA) using a two-step weighted moving average method.
Trend Confirmation: The difference between the HullMA values helps determine trend direction and retraction levels.
Entry Conditions:
A buy signal is generated when the price is above the retraction level, and the previous price confirms the trend.
A sell signal is triggered when the price is below the retraction level with trend confirmation.
Exit Conditions:
The strategy closes long trades when the price drops below a threshold.
It closes short trades when the price rises above a set level.
Ideal Use Cases:
🔹 Swing & trend traders looking for momentum-based entries and exits.
🔹 Traders aiming for reduced lag compared to traditional moving averages.
🔹 Markets with strong price trends, such as forex, stocks, and crypto.
Try the MH Strategy and enhance your trading decisions with a refined HullMA-based trend detection system! 🚀
Electronic Trading Hours Session/CandlesThis indicator visually distinguishes the electronic trading session, spanning from the prior day's close (e.g., 5:00 PM EST) through the overnight period until the next day's opening bell (e.g., 9:30 AM EST).
It can be customized to highlight this period with a shaded zone or colored candles depending on the trader’s preference.
The overnight levels that create the opening range gap often act as critical zones of liquidity.
The indicator provides a clear visual cue of potential price magnets that smart money (institutional traders) may target during the opening bell session to trigger liquidity sweeps.
Enhanced Doji Candle StrategyYour trading strategy is a Doji Candlestick Reversal Strategy designed to identify potential market reversals using Doji candlestick patterns. These candles indicate indecision in the market, and when detected, your strategy uses a Simple Moving Average (SMA) with a short period of 20 to confirm the overall market trend. If the price is above the SMA, the trend is considered bullish; if it's below, the trend is bearish.
Once a Doji is detected, the strategy waits for one or two consecutive confirmation candles that align with the market trend. For a bullish confirmation, the candles must close higher than their opening price without significant bottom wicks. Conversely, for a bearish confirmation, the candles must close lower without noticeable top wicks. When these conditions are met, a trade is entered at the market price.
The risk management aspect of your strategy is clearly defined. A stop loss is automatically placed at the nearest recent swing high or low, with a tighter distance of 5 pips to allow for more trading opportunities. A take-profit level is set using a 2:1 reward-to-risk ratio, meaning the potential reward is twice the size of the risk on each trade.
Additionally, the strategy incorporates an early exit mechanism. If a reversal Doji forms in the opposite direction of your trade, the position is closed immediately to minimize losses. This strategy has been optimized to increase trade frequency by loosening the strictness of Doji detection and confirmation conditions while still maintaining sound risk management principles.
The strategy is coded in Pine Script for use on TradingView and uses built-in indicators like the SMA for trend detection. You also have flexible parameters to adjust risk levels, take-profit targets, and stop-loss placements, allowing you to tailor the strategy to different market conditions.
Gann & Fibonacci Analysis for MSTRYes! Below is a step-by-step guide to performing Gann Analysis on MSTR in TradingView for the last year.
Step 1: Set Up the Chart
Open TradingView and search for MSTR (MicroStrategy).
Select the 1-day (D) timeframe to analyze the past year.
Set your chart to logarithmic scale (⚙ Settings → Scale → Log).
Enable grid lines for alignment (⚙ Settings → Appearance → Grid Lines).
Step 2: Identify Key Highs and Lows (Last Year)
Find the 52-week high and 52-week low for MSTR.
As of now:
52-Week High: ~$999 (March 2024).
52-Week Low: ~$280 (October 2023).
Step 3: Plot Gann Angles
Using TradingView's Gann Fan Tool:
Select "Gann Fan" (Press / and type “Gann Fan” to find it).
Start at the 52-week low (~$280, October 2023) and drag upwards.
Adjust the angles to match key levels:
1x1 (45°) → Main trendline
2x1 (26.5°) → Strong uptrend
4x1 (15°) → Weak trendline
1x2 (63.75°) → Strong resistance
Repeat the process from the 52-week high (~$999, March 2024) downward to see bearish angles.
Step 4: Apply Fibonacci & Gann Retracement Levels
Using Fibonacci Retracement:
Select "Fibonacci Retracement" tool.
Draw from 52-week high ($999) to 52-week low ($280).
Enable key Fibonacci levels:
23.6% ($816)
38.2% ($678)
50% ($640)
61.8% ($550)
78.6% ($430)
Watch for price reactions near these levels.
Using Gann Retracement Levels:
Select "Gann Box" in TradingView.
Draw from 52-week high ($999) to low ($280).
Enable key Gann retracement levels:
12.5% ($912)
25% ($850)
37.5% ($768)
50% ($640)
62.5% ($550)
75% ($480)
87.5% ($350)
Identify confluences with Gann angles and Fibonacci levels.
Step 5: Identify Significant Dates & Time Cycles
Use "Date Range" Tool in TradingView.
Mark major turning points:
High → Low: ~180 days (Half-year cycle).
Low → High: ~90 days (Quarter cycle).
Use Square-Outs (Time = Price method):
Example: If MSTR hit $500, check 500 days from key events.
Mark key anniversaries of past highs/lows for possible reversals.
Step 6: Analyze and Trade Execution
✅ If MSTR is at a Gann angle + Fibonacci level + key date → Expect a reaction.
✅ Use RSI, MACD, and Volume for extra confirmation.
✅ Set Stop-Loss at nearest Gann support/resistance.
Pere's Weekly Analysis V3This indicator is very simple; it is basically composed of a series of thin vertical lines and thicker ones:
- The thin lines symbolize the opening of the London session, which marks the beginning of a new day in the forex market.
- The thick lines, due to their prominence, represent the end of a week with the closing of the Asian session.
The combination of these two lines allows for a deeper understanding of what happens each day, enabling market analysis in lower timeframes, such as a 5-minute or 10-minute chart, without losing sight of the daily opening and closing references.
This indicator can be used to identify previous days' highs and lows, mark them as potential liquidity zones, and look for price reactions to these areas during the current day. Traders can combine this indicator with their personal strategies, simplifying chart analysis.
It is essential to have a solid understanding of market behavior and always trade with optimal risk management.
ESPAÑOL:
Este indicador es muy sencillo, básicamente está compuesto por una serie de líneas verticales delgadas y otras más gruesas:
- Las delgadas simbolizan la apertura de la sesión de Londres, es decir el inicio de un día nuevo en el mercado del forex.
- Las gruesas por su saldo simbolizan el final de una semana con el cierre de la sesión asiática.
Las combinación de estas 2 líneas nos permite tener una comprensión más profunda de lo que ocurre en cada día, pudiendo analizar el mercado en temporalidades más bajas, como por ejemplo, una temporalidad de 5 minutos o de 10 minutos, Pero sin perder las referencias del inicio y final de cada día.
Este indicador se puede utilizar para identificar máximos y mínimos de los días anteriores, marcarlos como potenciales zonas de liquidez, y buscar reacciones a dichas zonas durante el día actual. Los trader puede combinar este indicar con sus estrategias personales simplificando la lectura de los gráficos.
Es importante tener una buena comprensión del comportamiento de los mercado y siempre operar con una óptima gestión del riesgo.
[GrandAlgo] ATR Trend MatrixThe ATR Trend Matrix is a dynamic trendline indicator designed to help traders visualize market structure using ATR-based trend projections. This tool adapts to price action and highlights potential support and resistance zones based on Average True Range (ATR) calculations.
Key Features
ATR-Based Trendlines – Calculates and plots dynamic trendlines using an adjustable ATR factor.
Multi-Level Matrix System – Provides up to four matrix levels, each customizable with different ATR multipliers.
Swing High & Low Detection – Automatically detects market pivots to serve as anchor points for trendlines.
Adjustable Trend Length – Fine-tune the sensitivity of trendlines using the Swing Length and Trend-Line Length Multiplier.
Auto-Adjustment Mode – When enabled, trendlines update dynamically as ATR evolves.
Buy & Sell Signals – Marks potential trade setups when price crosses below or above Matrix Level 1.
How It Works
Detects Swing Points – Identifies key highs and lows in the market using the length setting.
Plots ATR-Based Trendlines – Calculates trendlines using ATR with user-defined multipliers for four matrix levels.
Adjusts Dynamically – If Auto Adjust is enabled, trendlines shift with ATR movements.
Identifies Trade Signals – Highlights potential buy/sell zones when price interacts with Matrix Level 1 trendlines.
Manages Active Trendlines – Automatically updates and removes trendlines based on price interaction.
User Settings
General Settings
ATR Factor – Controls the ATR multiplier for trendline calculation.
Swing Length – Defines the number of bars for swing high/low detection.
Trend-Line Length Multiplier – Adjusts the extension length of trendlines.
Auto Adjust Trendlines – Enables real-time adjustment of trendlines as ATR changes.
Matrix Settings
Matrix Level 1-4 – Enable or disable individual trendline levels.
Matrix Factors – Customize the ATR multipliers for each matrix level.
Trading Applications
Trend Confirmation – Use the primary trendline and matrix levels to gauge trend strength.
Support & Resistance Zones – ATR-based trendlines can act as dynamic support/resistance.
Breakout & Rejection Signals – Identify potential breakouts or reversals when price interacts with matrix levels.
Volatility-Based Trading – ATR helps adjust trendlines based on market volatility.
The ATR Trend Matrix is a powerful tool for traders who want a dynamic, adaptive trendline system that reacts to market structure and volatility. With customizable settings, multi-level ATR projections, and trade signal detection, this indicator provides a comprehensive approach to price action analysis.
Delta VolDelta Volume BTC - Multi Pair
Description The Delta Volume BTC - Multi Pair indicator visualizes the balance between buying and selling volume across multiple Bitcoin exchanges. By analyzing price action within each bar, it provides insight into underlying market pressure that traditional volume indicators miss. This indicator allows traders to:
Compare volume flow across Coinbase, Binance, and Binance Perpetual markets
Identify divergences between exchanges that may signal market shifts
Detect accumulation or distribution patterns through volume imbalances
View exchanges individually or in aggregate for comprehensive analysis
Calculation Methods The indicator offers three volume delta calculation methods:
VWAP Based (default):
price_range = high - low
buy_percent = (close - low) / price_range
sell_percent = (high - close) / price_range
delta = volume * (buy_percent - sell_percent)
This method distributes volume based on where price closed within the bar's range, providing a nuanced view of buying/selling pressure.
Tick Based :
delta = volume * sign(hlc3 - previous_hlc3)
This approach assigns volume based on the direction of typical price movement between bars, capturing momentum between periods.
Simple :
delta = close > open ? volume : close < open ? -volume : 0
A straightforward method that assigns positive volume to up bars and negative volume to down bars.
When Aggregate Mode is enabled, the indicator sums the volume deltas from all selected exchanges:
aggregate_delta = coinbase_delta + binance_delta + binance_perp_delta
Features
Multi-Exchange Support : Track volume delta across Coinbase, Binance, and Binance Perpetual futures
Advanced Calculation Methods : Choose between VWAP-based, tick-based, or simple volume delta algorithms
Flexible Display Options : Visualize as histogram, columns, area, or line charts
Customizable Colors : Distinct color schemes for each exchange and direction
Smoothing Options : Apply EMA, SMA, or WMA to reduce noise
Aggregate Mode : Combine all exchanges to see total market flow
How to Use
Individual Exchange Analysis : Uncheck "Aggregate Mode" to see each exchange separately, revealing where smart money may be positioning
Divergence Detection : Watch for one exchange showing buying while others show selling
Volume Trend Confirmation : Strong price moves should be accompanied by strong delta in the same direction
Liquidity Analysis : Compare spot vs futures volume delta to identify market sentiment shifts
The Delta Volume BTC - Multi Pair indicator helps identify the "hidden" buying and selling pressure that may not be apparent from price action alone, giving you an edge in understanding market dynamics across the Bitcoin ecosystem.
Doubled Numbered Square of Nine Progression | RegressionThe Doubled Number Square of Nine Progression | Regression Indicator enables forecasting of support and resistance levels using the SQ9 progression or regression from a user-selected pivot price. The indicator also plots adjustable pivots on both the chart and the Square of Nine.
How to use to forecast support and resistance levels:
1. Select a Pivot Point: Choose a top or bottom pivot to use as the starting point. Select High or Low in the indicator to set the correct price to the pivot.
2. Set Price Increment or Decrement: Select a price increment to advance the starting price on the Square of Nine (for example 1 or -0.01).
3. Rotate to add or decrease the number of rungs on the Square on Nine: Rotate the Square of Nine and adjust the dimensions. The horizontal levels correlate to the rotation of the Square of Nine.
4. Plot Levels: Select a Square of Nine angle to plot the support and resistance levels based on the selected increments. These levels auto expand and decrease depending on the number of rotations in step 3. The price values from each of the selected diagonal or cardinal cross are applied to the chart with labels on both left and right. Left labels represent the cell the time variable and the right label is price.
5. Review Levels: Conduct a simple review of the plotted support and resistance levels in relation to recent market pivots.
6. Identify Correlations: Identify the Square of Nine cardinal cross or diagonal cross angle that correlates with the most market pivots.
7. The indicator plots user-adjustable pivots on both candles/bars and displays their placement on the Square of Nine in both Progression and Regression. The close price is plotted on the Square of Nine in real-time with a white background. This helps users identify which angles the highs and lows favor from the selected pivot. The pivot levels' colors can be adjusted.
Each market has its tendencies, favoring specific angles from the cardinal or diagonal cross. The basic idea is to choose between the diagonal cross and cardinal cross angles to forecast support and resistance levels.
Settings:
Overview:
Example on Forecasting Support and resistance level using this indicator:
In the image above, I'm progressing from the significant low at a rate of $200 per cell. Based on the plotted pivots, I've selected the 315-degree angle on the diagonal cross as it aligns with a few recent pivots. Now, I've drawn a vertical line to show that as we add rungs to the Square of Nine, we introduce support and resistance levels based on the identified angle that aligns with these early pivots from the low.
In the image below, I've moved forward in time to show how the initial angle selected based on the early pivot forecasted support and resistance levels around the high in BTC. Do not expect the price to turn sharply at the levels the indicator generates, but use it to help identify SQ9 levels that may form market turns. As P. Mikula mentions in his work, "The Square of Nine successfully defines market price swings but it does not make the market form pivots."
This indicator includes enhancements made to the Gann Square of Nine indicator originally created by @ThiagoSchmitz.
This indicator is inspired by the methodologies detailed by Patrick Mikula in his book " The Definitive Guide to Forecasting using W.D Gann's Square of Nine ." I recommend checking it out. He also mentions another use case as a Price and Time chart in his " Gann Scientific Method Unveiled, Volume 2 ." FYI, I am not affiliated with Patrick Mikula in any way.
Known Issues:
Close price plotted on the Square of Nine in Regression "from a high pivot" takes a current candle to close in order to be plotted. Progression works as expected.
Preferred Stock Yield AverageYour Preferred Stock Yield Average Indicator helps you identify buy and sell opportunities based on how the current yield compares to its historical average.
Heatmap Suite [PhenLabs]📊 Heatmap Suite
Version: PineScript™ v6
📌 Description
The Heatmap Suite is an advanced technical analysis tool that combines multiple density calculation methods with dynamic visualization to identify significant price levels and trading activity zones. It features a sophisticated analysis system that processes price and volume data through various kernel methods, providing traders with insights into market structure, support/resistance zones, and potential price reaction areas.
🚀 Points of Innovation:
Multi-method density calculation incorporating three distinct approaches
Adaptive visualization system with dynamic color gradients
Real-time dashboard with key market metrics
Significant level detection with automatic threshold adjustment
🚨 Important🚨
🔸Comprehensive tooltips included in the PhenLabs dashboard for in depth guidance
🔧 Core Components
Density Analysis: Multiple calculation methods for price distribution assessment
Heat Mapping: Dynamic visualization of price congestion zones
Level Detection: Automatic identification of significant price levels
Dashboard System: Real-time market metrics and analysis
🔥 Key Features
The indicator provides comprehensive analysis through:
Kernel Density: Traditional balanced view of price distribution
Exponential Kernel: Time-weighted analysis emphasizing recent price action
Volume-Weighted: Focus on high-volume price areas
Significant Levels: Automatic detection of important price zones
Heat Distribution: Color-coded visualization of price congestion
🎨 Visualization
Heat Zones: Shows intensity of price activity
Significant Lines: Key level indicators
Color Gradients: Indicates density strength
Dashboard Display: Real-time metrics
Dynamic Opacity: Reflects density intensity
📖 Usage Guidelines
The indicator offers several customization options:
Basic Settings:
Calculation Method: Choose between three density calculation approaches
Lookback Period: Analysis timeframe adjustment
Zone Count: Price range division granularity
Heat Sensitivity: Contrast adjustment for visualization
🎛️ Visual Settings:
Dashboard Size: Text size customization
Position: Dashboard placement options
Color Scheme: Heat map gradient visualization
Level Display: Significant price zone indicators
✅ Best Use Cases:
Identify strong support/resistance zones through high-density areas
Spot potential price reversal zones at significant levels
Analyze price congestion patterns
Monitor real-time changes in market structure
⚠️ Limitations
Requires sufficient historical data
Computational intensity increases with longer lookback periods
Heat sensitivity needs adjustment based on market conditions
Dashboard placement may need adjustment based on price action
💡 What Makes This Unique
Multi-method Analysis: Three distinct calculation approaches
Adaptive Visualization: Dynamic color gradient system
Real-time Metrics: Comprehensive dashboard display
Automatic Level Detection: Significant price zone identification
Memory-efficient Design: Optimized calculation methods
🔬 How It Works
The indicator processes market data through four main components:
1. Density Calculation:
Processes price and volume data
Applies selected kernel method
Generates density distribution
2. Heat Mapping:
Converts density values to color gradients
Updates visualization in real-time
Displays price congestion zones
3. Level Detection:
Identifies significant price levels
Applies threshold filtering
Marks important zones
4. Dashboard Updates:
Calculates real-time metrics
Updates display components
Provides market context
💡Note:
The indicator performs best with adequate historical data and proper sensitivity settings. Its sophisticated density analysis provides valuable insights into market structure beyond traditional support/resistance indicators.
MA Cross Multi Alert KrafturMA Cross Multi Alert Kraftur
Description
The "MA Cross Multi Alert Kraftur" indicator is a versatile tool designed to help traders identify potential buy and sell opportunities based on the crossings of multiple moving averages (MAs). Unlike traditional MA crossover indicators that focus on a single pair of averages, this script offers three distinct crossover levels (e.g., 21/50, 50/90, 50/200) for greater flexibility and precision. It overlays signals directly on the price chart and delivers real-time alerts when crossings occur, making it an excellent choice for traders seeking to pinpoint entry and exit points across various market conditions.
Key Features
Multi-Level Crossovers: Tracks crossings between configurable moving averages (e.g., 21 crossing 50, 50 crossing 90, 50 crossing 200) to detect varying trend strengths and reversals.
Visual Signals: Buy signals are displayed as upward triangles below the bars, and sell signals as downward triangles above the bars, each color-coded for quick recognition.
Real-Time Alerts: Triggers alerts once per bar when a crossover occurs, with a filter to avoid repetitive notifications during minor fluctuations.
Customizable: Adjustable MA lengths, timeframe, and signal colors allow tailoring to individual trading preferences and strategies.
Recommended Usage
This indicator shines as a scanning tool for identifying trade setups across multiple assets. Apply it to your watchlist of stocks, forex pairs, or cryptocurrencies, and set up alerts to catch crossover signals in real time. It performs exceptionally well in trending or consolidating markets and can be paired with additional tools (e.g., trendlines, RSI, or volume analysis) to validate signals and boost reliability. Ideal for multi-timeframe traders or those managing diverse portfolios.
How to Use
Add the indicator to your chart.
Adjust the MA lengths (e.g., 21, 50, 90, 200), timeframe, and signal colors to align with your trading approach.
Configure alerts for the indicator and apply them to your asset watchlist.
Watch for buy (upward triangles) and sell (downward triangles) signals on the chart, or rely on alert notifications for timely updates.
Perfect for day traders, swing traders, or anyone aiming to streamline signal detection and automate their workflow!
SMA Strategy Builder: Create & Prove Profitability📄 Pine Script Strategy Description (For Publishing on TradingView)
🎯 Strategy Title:
SMA Strategy Builder: Create & Prove Profitability
✨ Description:
This tool is designed for traders who want to build, customize, and prove their own SMA-based trading strategies. The strategy tracks capital growth in real-time, providing clear evidence of profitability after each trade. Users can adjust key parameters such as SMA period, take profit levels, and initial capital, making it a flexible solution for backtesting and strategy validation.
🔍 Key Features:
✅ SMA-Based Logic:
Core trading logic revolves around the Simple Moving Average (SMA).
SMA period is fully adjustable to suit various trading styles.
🎯 Customizable Take Profit (TP):
User-defined TP percentages per position.
TP line displayed as a Step Line with Breaks for clear segmentation.
Visual 🎯TP label for quick identification of profit targets.
💵 Capital Tracking (Proof of Profitability):
Initial capital is user-defined.
Capital balance updates after each closed trade.
Shows both absolute profit/loss and percentage changes for every position.
Darker green profit labels for better readability and dark red for losses.
📈 Capital Curve (Performance Visualization):
Capital growth curve available (hidden by default, can be enabled via settings).
📏 Dynamic Label Positioning:
Label positions adjust dynamically based on the price range.
Ensures consistent visibility across low and high-priced assets.
⚡ How It Works:
Long Entry:
Triggered when the price crosses above the SMA.
TP level is calculated as a user-defined percentage above the entry price.
Short Entry:
Triggered when the price crosses below the SMA.
TP level is calculated as a user-defined percentage below the entry price.
TP Execution:
Positions close immediately once the TP level is reached (no candle close confirmation needed).
🔔 Alerts:
🟩 Long Signal Alert: When the price crosses above the SMA.
🟥 Short Signal Alert: When the price crosses below the SMA.
🎯 TP Alert: When the TP target is reached.
⚙️ Customization Options:
📅 SMA Period: Choose the moving average period that best fits your strategy.
🎯 Take Profit (%): Adjust TP percentages for flexible risk management.
💵 Initial Capital: Set the starting capital for realistic backtesting.
📈 Capital Curve Toggle: Enable or disable the capital curve to track overall performance.
🌟 Why Use This Tool?
🔧 Flexible Strategy Creation: Adjust core parameters and create tailored SMA-based strategies.
📈 Performance Proof: Capital tracking acts as real proof of profitability after each trade.
🎯 Immediate TP Execution: No waiting for candle closures; profits lock in as soon as targets are hit.
💹 Comprehensive Performance Insights: Percentage-based and absolute capital tracking with dynamic visualization.
🏦 Clean Visual Indicators: Strategy insights made clear with dynamic labeling and adjustable visuals.
⚠️ Disclaimer:
This script is provided for educational and informational purposes only. Trading financial instruments carries risk, and past performance does not guarantee future results. Always perform your own due diligence before making any trading decisions.
Celestial Pair Spread Hello friends, after a very long time!
Today, I tried to put into code an idea that came to my mind spontaneously and suddenly.
Note :
This script is experimental and improvable.
I haven't had a chance to try it yet.
TIMEFRAME : 1D (Daily Bars)
CELESTIAL SPREAD
The spread moves in a very limited area and is consistent within itself, especially on days far from the end of the contract.
That's why there is a reassuring sky atmosphere. That's why this name was given completely improvised.
Basic logic of the script
We enter the name of the CME Futures contract we want to enter:
Ex : CL1! , ES1! , ZC1! , NQ1!
The script creates us a pair trade parity divided into secondary contracts.
Example : ES1!/ES2!
What is pair trading?
I will explain briefly here.
For users who are wondering:
www.investopedia.com
Let's get back to our topic.
Now we have created a parity that does not actually exist.
This parity is the manifestation of the relative movements of two contracts.
When the parity rises, ES1! increased,ES2! has fallen.
In the opposite case, We can say: ES1! Contract has been dropped ES2! has increased.
Pair trading is generally a trade that needs to be kept in mind from time to time.
It is a method preferred by professionals who can process very quickly.
Market risk is minimal, but since 2 contracts are purchased, more money is paid and very low percentage profits are made.
It is very expensive to do pair trading, especially with oil and its derivatives and interest security derivatives.
The contract we are considering has micros. (small-item contracts tied to the same value)
So when we switch to our broker MES1!/MES2! We will trade.
For all CME futures :
www.cmegroup.com
Anyway, let's continue:
The script created the parity showing its relationship with the next contract and plotted it as bars.
Celestial bands are just like Bollinger bands, but they consist of 3 bands based on percentage changes rather than standard deviation.
The middle band is obtained from moving averages.
The upper and lower bands are the middle band subjected to a threshold value.
The threshold value can be changed.
0.15 percent was charged for this script.
CAUTION :
As can be seen in the example below;
The most important thing is not to make any transactions when the contract switch dates are approaching.
Therefore, it is recommended to use it just below the main chart.
The blue bars in the parity are
Values that outside the upper and lower threshold values are colored blue.
For this condition
Alerts has been added.
Don't forget to add alert and edit.
MAIN PURPOSE
It is aimed to start a pair trade when such conditions come and to quickly close the trades when the parity basis reaches the value.
OTHER IMPORTANT POINTS
Other issues are broker related issues.
Difference between initial margins and maintanence margins of contracts (between 1! and 2!)
It shouldn't be too high.
The commission should not be too high.
Leverage must be high because the profit percentage is very low.
To calculate leverage you must divide your contract size by the relevant margin requirement.
Sample margin requirement table:
www.interactivebrokers.com
RISKS
It is an experimental and intellectual script,
the risk of contract price differences (maybe it will not leave a profit except for very extreme values)
I remind you of the quickness risk that comes from a two-legged trade.
Alerts definitely synchronized with an audible alert sent to a smartphone as an e-mail notification and displayed on the locked screen for quick action.
Best regards!
RSI Multi Alert KrafturRSI Multi Alert Kraftur
Description
The "RSI Multi-Level Signals" indicator is designed to help traders identify potential buy and sell opportunities based on RSI (Relative Strength Index) crossings of multiple customizable levels. Unlike traditional RSI indicators that focus on single overbought/oversold thresholds (e.g., 70/30), this script stands out by offering four distinct buy and sell levels for enhanced flexibility and precision. It plots signals directly on the price chart and provides real-time alerts when RSI crosses these levels, making it a powerful tool for spotting entry and exit points.
Key Features
Multi-Level RSI: Configurable buy levels (e.g., 30, 25, 20, 15) and sell levels (e.g., 70, 75, 80, 85) to capture varying degrees of overbought and oversold conditions.
Visual Signals: Buy signals are marked with circles below the bars, and sell signals above the bars, each color-coded for easy identification.
Real-Time Alerts: Generates alerts once per bar when RSI crosses a level, with a filter to prevent duplicate signals during oscillations.
Customizable: Adjustable RSI length, timeframe, and level colors to suit different trading strategies.
Recommended Usage
This indicator is best used as a scanning tool for finding entry points across multiple assets. Set up alerts for your entire watchlist of coins or stocks to detect when RSI crosses the configured levels in real time. It’s particularly effective in volatile markets or for traders employing multi-timeframe analysis. Combine it with other indicators (e.g., support/resistance or trend filters) to confirm signals and improve accuracy.
How to Use
Apply the indicator to your chart.
Customize the RSI length, timeframe, and signal levels to match your trading style.
Set up alerts for the indicator and apply them to your watchlist of assets.
Monitor the chart for buy (green) and sell (red) signals, or rely on alert notifications.
Perfect for scalpers, swing traders, or anyone looking to automate signal detection across a portfolio!