Probability Grid [LuxAlgo]The Probability Grid tool allows traders to see the probability of where and when the next reversal would occur, it displays a 10x10 grid and/or dashboard with the probability of the next reversal occurring beyond each cell or within each cell.
🔶 USAGE
By default, the tool displays deciles (percentiles from 0 to 90), users can enable, disable and modify each percentile, but two of them must always be enabled or the tool will display an error message alerting of it.
The use of the tool is quite simple, as shown in the chart above, the further the price moves on the grid, the higher the probability of a reversal.
In this case, the reversal took place on the cell with a probability of 9%, which means that there is a probability of 91% within the square defined by the last reversal and this cell.
🔹 Grid vs Dashboard
The tool can display a grid starting from the last reversal and/or a dashboard at three predefined locations, as shown in the chart above.
🔶 DETAILS
🔹 Raw Data vs Normalized Data
By default the tool displays the normalized data, this means that instead of using the raw data (price delta between reversals) it uses the returns between each reversal, this is useful to make an apples to apples comparison of all the data in the dataset.
This can be seen in the left side of the chart above (BTCUSD Daily chart) where normalize data is disabled, the percentiles from 0 to 40 overlap and are indistinguishable from each other because the tool uses the raw price delta over the entire bitcoin history, with normalize data enabled as we can see in the right side of the chart we can have a fair comparison of the data over the entire history.
🔹 Probability Beyond or Within Each Cell
Two different probability modes are available, the default mode is Probability Beyond Each Cell, the number displayed in each cell is the probability of the next reversal to be located in the area beyond the cell, for example, if the cell displays 20%, it means that in the area formed by the square starting from the last reversal and ending at the cell, there is an 80% probability and outside that square there is a 20% probability for the location of the next reversal.
The second probability mode is the probability within each cell, this outlines the chance that the next reversal will be within the cell, as we can see on the right chart above, when using deciles as percentiles (default settings), each cell has the same 1% probability for the 10x10 grid.
🔶 SETTINGS
Swing Length: The maximum length in bars used to identify a swing
Maximum Reversals: Maximum number of reversals included in calculations
Normalize Data: Use returns between swings instead of raw price
Probability: Choose between two different probability modes: beyond and inside each cell
Percentiles: Enable/disable each of the ten percentiles and select the percentile number and line style
🔹 Dashboard
Show Dashboard: Enable or disable the dashboard
Position: Choose dashboard location
Size: Choose dashboard size
🔹 Style
Show Grid: Enable or disable the grid
Size: Choose grid text size
Colors: Choose grid background colors
Show Marks: Enable/disable reversal markers
Indicators and strategies
SMT Divergence ICT 02 [TradingFinder] Smart Money Technique SMC🔵 Introduction
SMT Divergence (Smart Money Technique Divergence) is a price action-based trading concept that detects discrepancies in market behavior between two assets that are generally expected to move in the same direction. Rooted in ICT (Inner Circle Trader) methodology, this approach helps traders recognize subtle signs of market manipulation or imbalance, often ahead of traditional indicators.
The core idea behind SMT divergence is simple: when two correlated instruments—such as currency pairs, indices, or assets from the same sector—start forming different swing points (highs or lows), this can reveal a lack of confirmation in the trend. Such divergence is often a precursor to a price reversal or pause in momentum.
This technique works effectively across various markets including Forex, stocks, and cryptocurrencies. It’s particularly valuable when used alongside concepts like liquidity sweeps, market structure breaks (MSBs), or order block identification.
In advanced use cases, Sequential SMT helps uncover patterns of alternating divergences across sessions, often signaling engineered liquidity traps before price reacts.
When combined with the Quarterly Theory—which segments market behavior into Accumulation, Manipulation, Distribution, and Continuation/Reversal phases—traders gain insight not only into where divergence happens, but when it's most likely to be significant within the market cycle.
Bullish SMT :
Bullish SMT Divergence occurs when one asset prints a higher low while the correlated asset forms a lower low. This asymmetry often suggests that the downside move is losing strength, hinting at a potential bullish shift.
Bearish SMT :
Bearish SMT Divergence is formed when one asset creates a higher high, while the second asset fails to confirm by printing a lower high. This typically signals weakening bullish pressure and the possibility of a reversal to the downside.
🔵 How to Use
The SMT Divergence indicator is designed to detect imbalances between two positively correlated assets—such as major currency pairs, indices, or commodities. These divergences often indicate early signs of market inefficiency or smart money manipulation and can help traders anticipate trend shifts with higher precision.
Unlike traditional divergence indicators or earlier versions of this script, this upgraded version does not rely solely on consecutive pivot comparisons. Instead, it dynamically scans all available pivots within the chart to identify divergences at any structural level—major or minor—across the price action. This broader detection method increases the reliability and frequency of meaningful SMT signals.
Moreover, when integrated with Sequential SMT logic, the indicator is capable of identifying multiple divergence sequences across sessions. These sequences often signal engineered liquidity traps and can be mapped within the Quarterly Theory framework, allowing traders to pinpoint not just the presence of divergence but also the phase of the market cycle it appears in (Accumulation, Manipulation, Distribution, or Continuation).
🟣 Bullish SMT Divergence
This signal occurs when the primary asset forms a higher low, while the correlated asset forms a lower low. This pattern implies weakening bearish momentum and a potential shift to the upside.
If the correlated asset breaks its previous low but the primary asset does not, this divergence suggests absorption of selling pressure and possible accumulation by smart money—making it a strong bullish signal, especially when aligned with a favorable market phase (e.g., the end of a manipulation phase in Q2).
🟣 Bearish SMT Divergence
This signal occurs when the primary asset creates a higher high, while the correlated asset forms a lower high. This mismatch indicates fading bullish momentum and a potential reversal to the downside.
If the correlated asset fails to confirm a breakout made by the main asset, the divergence may point to distribution or exhaustion. When seen within Q3 or Q4 phases of the Quarterly Theory, this pattern often precedes sharp declines or fake-outs engineered by smart money
🔵 Settings
⚙️ Logical Settings
Symbol : Choose the secondary asset to compare with the main chart asset (e.g., XAUUSD, US100, GBPUSD).
Pivot Period : Sets the sensitivity of the pivot detection algorithm. A smaller value increases responsiveness to price swings.
Activate Max Pivot Back : When enabled, limits the maximum number of past pivots to be considered for divergence detection.
Max Pivot Back Length : Defines how many past pivots can be used (if the above toggle is active).
Pivot Sync Threshold : The maximum allowed difference (in bars) between pivots of the two assets for them to be compared.
Validity Pivot Length : Defines the time window (in bars) during which a divergence remains valid before it's considered outdated.
🎨 Display Settings
Show Bullish SMT Line : Draws a line connecting the bullish divergence points.
Show Bullish SMT Label : Displays a label on the chart when a bullish divergence is detected.
Bullish Color : Sets the color for bullish SMT markers (label, shape, and line).
Show Bearish SMT Line : Draws a line for bearish divergence.
Show Bearish SMT Label : Displays a label when a bearish SMT divergence is found.
Bearish Color : Sets the color for bearish SMT visual elements.
🔔 Alert Settings
Alert Name : Custom name for the alert messages (used in TradingView’s alert system).
Message Frequency :
All : Every signal triggers an alert.
Once Per Bar : Alerts once per bar regardless of how many signals occur.
Per Bar Close : Only triggers when the bar closes and the signal still exists.
Time Zone Display : Choose the time zone in which alert timestamps are displayed (e.g., UTC).
Bullish SMT Divergence Alert : Enable/disable alerts specifically for bullish signals.
Bearish SMT Divergence Alert : Enable/disable alerts specifically for bearish signals
🔵Conclusion
The SMT Plus indicator offers a refined and powerful approach to detecting smart money behavior through divergence analysis between correlated assets. By removing the limitations of consecutive pivot comparisons and allowing for broader structural detection, it captures more accurate and timely signals that often precede major market moves.
When paired with frameworks like Sequential SMT and the Quarterly Theory, the indicator not only highlights where divergence occurs, but also when in the market cycle it's most likely to matter. Its flexible settings, customizable visuals, and integrated alert system make it suitable for intraday scalpers, swing traders, and even long-term macro analysts.
Whether you're using it as a standalone decision-making tool or combining it with other ICT concepts, SMT Plus gives you an edge in recognizing manipulation, timing reversals, and staying in sync with the real market narrative—not just the chart.
Trend Targets [AlgoAlpha]OVERVIEW
This script combines a smoothed trend-following model with dynamic price rejection logic and ATR-based target projection to give traders a complete visual framework for trading trend continuations. It overlays on price and automatically detects potential trend shifts, confirms rejections near dynamic support/resistance, and displays calculated stop-loss and take-profit levels to support structured risk-reward management. Unlike traditional indicators that only show trend direction or signal entries, this tool brings together a unique mix of signal validation, volatility-aware positioning, and layered profit-taking to guide decision-making with more context.
CONCEPTS
The core trend logic is built on a custom Supertrend that uses an ATR-based band structure with long smoothing chains—first through a WMA, then an EMA—allowing the trend line to respond to major shifts while ignoring noise. A key addition is the use of rejection logic: the script looks for consolidation candles that "hug" the smoothed trend line and counts how many consecutive bars reject from it. This behavior often precedes significant moves. A user-defined threshold filters out weak tests and highlights only meaningful rejections.
FEATURES
Trend Detection : Automatically identifies trend direction using a smoothed Supertrend (WMA + EMA), with shape markers on trend shifts and color-coded bars for clarity.
Rejection Signals : Detects price rejections at the trend line after a user-defined number of consolidation bars; plots ▲/▼ icons to highlight strong continuation setups.
Target Projection : On trend confirmation, plots entry, stop-loss (ATR-based), and three dynamic take-profit levels based on customizable multiples.
Dynamic Updates : All levels (entry, SL, TP1–TP3) auto-adjust based on volatility and are labeled in real time on the chart.
Customization : Users can tweak trend parameters, rejection confirmation count, SL/TP ratios, smoothing lengths, and appearance settings.
Alerts : Built-in alerts for trend changes, rejection events, and when TP1, TP2, or TP3 are reached.
Chart Overlay : Plots directly on price chart with minimal clutter and clearly labeled levels for easy trading.
USAGE
Start by tuning the Supertrend factor and ATR period to fit your asset and timeframe—higher values will catch bigger swings, lower values catch faster moves. The confirmation count should match how tightly you want to filter rejection behavior—higher values make signals rarer but stronger. When the trend shifts, the indicator colors the bars and line accordingly, and if enabled, plots the full entry-TP-SL structure. Rejection markers appear only after enough qualifying bars confirm price pressure at the trend line. This is especially useful for continuation plays where price retests the trend but fails to break it. All calculations are based on volatility (ATR), so targets naturally adjust with market conditions. Add alerts to get notified of important signals even when away from the chart.
Next Candle PredictorNext Candle Predictor for TradingView
This Pine Script indicator helps predict potential price movements for the next candle based on historical price action patterns. It analyzes recent candles' characteristics including body size, wick length, and volume to calculate a directional bias.
Key Features
Analyzes recent price action to predict next candle direction (Bullish, Bearish, or Neutral)
Visual indicators include small directional arrows and a prediction line
Customizable sensitivity and lookback period
Works best on lower timeframes for short-term price action trading
Displays clear prediction labels that extend into future bars
How It Works
The script analyzes recent candles by examining:
Candle body size (weighted by your preference)
Wick length (weighted by your preference)
Volume activity (weighted by your preference)
These factors combine to create a directional strength indicator that determines if the next candle is likely to be bullish, bearish, or neutral.
Visual Feedback
Green up arrows indicate bullish predictions
Red down arrows indicate bearish predictions
A directional line extends from the last candle showing predicted price movement
A label displays the prediction text at the end of the line
Information table in the top right displays the current prediction
Settings
Lookback Candle Count: Number of historical candles to analyze (2-20)
Wick/Body/Volume Weight Factors: Adjust importance of each component
Prediction Sensitivity: Threshold for triggering directional bias
Prediction Line Length: How far the prediction line extends
Perfect for day traders and scalpers looking for an edge in short-term directional bias.
Liquidity Compression Coil (6 Lines, 8‑Bar Breakout)TL;DR:
🔍 Pivot Detection: Scans for swing highs and lows (using a customizable lookback) to mark key support/resistance levels.
🧱 Zone Calculations:
Anchor Range (🧱): Base zone (gray) defined by historical pivots, with its label always at the top.
Projection Bracket (🎯): Active zone (black) that forecasts immediate breakout areas, with its label centered.
Volatility Span (🌪️): Overall range (purple) that captures the market's full movement, with its label fixed at the bottom.
📊 Dynamic Tracker: Displays the current price as a percentage of the projection bracket—mimicking Fibonacci extensions (e.g., 120%, 200%, or -20% when breaking below).
⚠️ Alerts: Breakout (above 100%) and breakdown (below 0%) alerts pop up dynamically, following the position metric so they never overlap.
🐂/🐻 Sentiment Tags: Adds bullish (🐂) or bearish (🐻) emojis based on price position relative to the projection bracket.
🔄 Composite Bars & Volume: Visually stacks the three zones in a fixed order (purple behind, gray in the middle, black on top) and optionally accumulates volume for enhanced context.
This indicator provides a human-friendly, emoji-enhanced snapshot of liquidity compression and potential breakout moves with nuanced visual layers and dynamic alerts.
Dynamic Volume Profile PoC SwiftedgeOverview
The Dynamic Volume Profile PoC is a powerful and visually intuitive indicator designed to help traders identify key support and resistance levels using a unique combination of pivot points, volume analysis, and dynamic Point of Control (PoC) levels. This script overlays directly on your chart, providing clear visual cues for potential breakout and rejection zones, making it easier to spot high-probability trading opportunities.
What It Does
This indicator combines three core components to deliver actionable insights:
Pivot Points: Identifies significant swing highs and lows to establish potential support and resistance levels.
Volume Oscillator: Measures volume momentum to confirm the strength of price movements, ensuring that breakouts or rejections are backed by significant volume.
Dynamic Point of Control (PoC): Calculates the midpoint between consecutive pivot points to create dynamic PoC levels, which act as key areas where price is likely to either break through (breakout) or reverse (rejection).
These components work together to highlight critical price levels where the market is likely to react, giving traders a clear framework for decision-making.
How It Works
Pivot Detection: The script uses pivot highs and lows (based on user-defined Left Bars and Right Bars) to identify significant price levels. These pivots form the foundation for calculating PoC levels.
PoC Calculation: Each time a new pivot is detected, the script calculates the midpoint between the current pivot and the previous pivot, creating a dynamic PoC level. These levels are plotted as horizontal lines on the chart, with a maximum of Max PoC Lines to Show (default: 2) visible at any time.
Volume Confirmation: A volume oscillator (short EMA of volume minus long EMA of volume) is used to filter breakouts and rejections. Breakouts or rejections are only signaled if the volume oscillator exceeds the Volume Threshold (default: 20), ensuring that price movements are supported by strong volume.
Visual Cues:
PoC levels are drawn as cyan lines with optional semi-transparent zones (controlled by Show PoC Zones). These zones are colored green for potential breakouts (price above PoC) and red for potential rejections (price below PoC).
Labels above and below each PoC level indicate trading opportunities: "Long if breakout"/"Long if rejected" (green) and "Short if breakout"/"Short if rejected" (red), depending on the price's direction relative to the PoC.
Break signals ("B") are plotted above or below bars when price crosses a pivot level with sufficient volume, colored red for downward breaks and green for upward breaks.
How to Use
Add the Indicator: Add the "Dynamic Volume Profile PoC " to your chart in TradingView.
Adjust Settings:
Left Bars and Right Bars (default: 15): Control the sensitivity of pivot detection. Lower values make the script more sensitive to smaller price swings.
Volume Threshold (default: 20): Set the minimum volume oscillator value required to confirm breakouts or rejections. Increase this for stricter confirmation.
Max PoC Lines to Show (default: 2): Define how many PoC levels are displayed at once.
Show PoC Zones (default: true): Toggle semi-transparent zones around PoC levels for better visualization.
Label Spacing Factor (default: 0.5): Adjust the vertical spacing between labels and the PoC box. Increase this value (e.g., to 1.0 or 2.0) for more spacing, or decrease it (e.g., to 0.3) for less.
Interpret the Signals:
Look for PoC levels (cyan lines) as key areas of interest.
Use the labels to identify potential trades: "Long if breakout" indicates a buy opportunity if price breaks above the PoC, while "Short if rejected" suggests a sell if price fails to break through.
Watch for "B" signals to confirm breakouts or rejections with volume support.
Combine with Your Strategy: Use the PoC levels and break signals as part of your broader trading strategy, such as trend-following or mean-reversion setups.
Why This Script is Unique
The Dynamic Volume Profile PoC stands out by combining pivot points, volume analysis, and dynamic PoC levels into a single, cohesive tool. Unlike traditional volume profile indicators that require a fixed range, this script dynamically updates PoC levels based on recent price action, making it more responsive to current market conditions. The addition of volume confirmation ensures that signals are backed by market participation, reducing false breakouts. The visually appealing design, with customizable spacing and semi-transparent zones, makes it easy to interpret key levels at a glance, even for traders unfamiliar with Pine Script.
Notes
This script works best on timeframes where pivot points are meaningful (e.g., 1H, 4H, or daily charts).
Adjust the Label Spacing Factor to ensure labels are well-spaced for your chart's zoom level and instrument.
For instruments with high volatility, you may need to increase the Volume Threshold to filter out noise.
SMC Master v10 FINAL - Full SMC + OB Types + Enhanced EQH/EQL🇹🇭 ภาษาไทย: คำอธิบายอินดิเคเตอร์
🔰 อินดิเคเตอร์ SMC Master for MT4 คืออะไร?
SMC Master คืออินดิเคเตอร์ที่ออกแบบมาเพื่อนักเทรดที่ใช้แนวคิด Smart Money Concepts (SMC) อย่างจริงจัง
ช่วยให้คุณมองเห็นจุดเข้าเทรดที่แม่นยำ โดยไม่ต้องตีกราฟเองทุกครั้ง
✅ ฟีเจอร์หลัก:
🔹 วาด Order Block (OB) ทั้งฝั่งซื้อ-ขาย พร้อมบอกประเภท (RBD, DBR, DBD, RBR)
🔹 สร้างสัญญาณ Buy/Sell เฉพาะ OB ปัจจุบันเท่านั้น
🔹 วาด SL / TP อัตโนมัติ และลบเมื่อโดน
🔹 ตรวจจับ BOS / CHoCH พร้อมลูกศรแสดงทิศทาง
🔹 วาด Fair Value Gap (FVG)
🔹 แสดง EQH / EQL พร้อมเส้นแนวนอนแนวรับ-แนวต้าน
🔔 มีระบบแจ้งเตือน: Popup + Push Notification (ไม่มีเสียง)
🧠 เหมาะสำหรับใคร?
เทรดเดอร์ที่ใช้ SMC
คนที่ต้องการอินดิเคเตอร์ช่วยดู OB, SL/TP, และโครงสร้างตลาด
เหมาะกับทุก Timeframe และคู่เงิน
📌 ข้อแนะนำ:
ใช้ร่วมกับเทคนิคบริหารความเสี่ยงของคุณเสมอ
อินดิเคเตอร์นี้ไม่ repaint และทำงานกับแท่งปัจจุบันเท่านั้น
🇺🇸 English: Indicator Description
🔰 What is “SMC Master for MT4”?
SMC Master is a powerful indicator designed for traders who follow Smart Money Concepts (SMC).
It automatically identifies key market structures, entry zones, and trade signals — so you don’t have to draw everything manually.
✅ Key Features:
🔹 Detects Bullish/Bearish Order Blocks and labels them (RBD, DBR, RBR, DBD)
🔹 Generates Buy/Sell signals only for the latest valid OB
🔹 Auto-calculates SL / TP and removes them once hit
🔹 Detects BOS / CHoCH with directional arrows
🔹 Displays Fair Value Gaps (FVG)
🔹 Marks EQH / EQL with horizontal lines
🔔 Alerts: Popup + Push Notification (no sound)
🧠 Who is this for?
SMC-based traders
Traders who want auto-OB, clean market structure, and entry zone clarity
Works on all timeframes and symbols
📌 Tips for Use:
Always pair it with proper risk management
This indicator does not repaint and works with the current price action only
forexroboot Hunter Premiumthis indicator trade on crypto and forex
trade on any time frame
enjoyed
inst: Forexroboot
ما
forexroboot
Hash Rate to Market Cap ChannelWe can visualize market sentiment towards security of the Bitcoin network by dividing the Marketcap by Hashrate. This can determine under and overvaluation of the network itself per dollar. The value is then normalized over the lookback period to create an oscillating channel.
SETTINGS
Lookback Period - used for calculating the normalization and how far back to look for highs and lows.
HMA Smoothing Length - Faster moving average to smooth out the curves
Channel Width - visually change the channel scale
Bear/Bull Value - Under and Overvaluation
Use Log Scaling - adjusts the channel visuals for log scaled charts
Dkoderweb repainting issue fix strategyHarmonic Pattern Recognition Trading Strategy
This TradingView strategy called "Dkoderweb repainting issue fix strategy" is designed to identify and trade harmonic price patterns with optimized entry and exit points using Fibonacci levels. The strategy implements various popular harmonic patterns including Bat, Butterfly, Gartley, Crab, Shark, ABCD, and their anti-patterns.
Key Features
Pattern Recognition: Identifies 17+ harmonic price patterns including standard and anti-patterns
Fibonacci-Based Entries and Exits: Uses customizable Fibonacci levels for precision entries, take profits, and stop losses
Alternative Timeframe Analysis: Option to use higher timeframes for pattern identification
Heiken Ashi Support: Optional use of Heiken Ashi candles instead of regular candlesticks
Visual Indicators:
Pattern visualization with ZigZag indicator
Buy/sell signal markers
Color-coded background to highlight active trade zones
Customizable Fibonacci level display
How It Works
The strategy uses a ZigZag-based pattern identification system to detect pivot points
When a valid harmonic pattern forms, the strategy calculates the optimal entry window using the specified Fibonacci level (default 0.382)
Entries trigger when price returns to the entry window after pattern completion
Take profit and stop loss levels are automatically set based on customizable Fibonacci ratios
Visual alerts notify you of entries and exits
The strategy tracks active trades and displays them with background color highlights
Customizable Settings
Trade size
Entry window Fibonacci level (default 0.382)
Take profit Fibonacci level (default 0.618)
Stop loss Fibonacci level (default -0.618)
Alert messages for entries and exits
Display options for specific Fibonacci levels
Alternative timeframe selection
This strategy is designed to fix repainting issues that are common in harmonic pattern strategies, ensuring more reliable signals and backtesting results.
TDI - RSX + Divergences + Pivots🧾 Description:
This indicator is an enhanced version of the Traders Dynamic Index (TDI) based on the RSX (a smoothed version of the RSI), designed to help traders identify market momentum, divergence, and potential reversal points with high precision.
It includes the classic TDI components (RSX Price Line, Signal Line, and Volatility Bands), combined with:
✅ Customizable RSX Levels – up to 5 horizontal levels (e.g., 30, 50, 70, 85, 15) with user-defined colors
✅ Dynamic Fill Between Lines – to visualize bullish/bearish momentum shifts
✅ RSX-based Divergence Detection – regular & hidden bullish/bearish divergence
✅ Clean Visual Layout – suitable for scalping, swing trading, or trend-following strategies
⚙️ Best For:
Identifying overbought/oversold conditions with RSX precision
Confirming trend continuation or early reversal signals
Filtering entries with momentum clarity
🧾 Description :
Cet indicateur est une version améliorée du Traders Dynamic Index (TDI), basée sur le RSX (une version lissée du RSI), conçue pour aider les traders à détecter la dynamique du marché, les divergences et les retournements potentiels avec une grande précision.
Il inclut les composants classiques du TDI (ligne RSX, ligne de signal, bandes de volatilité), combinés à :
✅ 5 niveaux RSX personnalisables – par défaut : 30, 50, 70, 85, 15, tous modifiables avec couleurs configurables
✅ Remplissage dynamique entre les lignes – pour visualiser facilement les changements de momentum
✅ Détection des divergences basées sur le RSX – divergences classiques et cachées, haussières et baissières
✅ Interface graphique claire et épurée – idéale pour le scalping, swing trading ou suivi de tendance
⚙️ Idéal pour :
Identifier les zones de surachat/survente avec la précision du RSX
Confirmer les poursuites de tendance ou repérer les retournements précoces
Filtrer les entrées avec une meilleure lisibilité du momentum
Bottom and Top finder [theUltimator5]🧭 Bottom and Top Finder — Multi-Symbol Momentum Divergence Detector
The Bottom and Top Finder by theUltimator5 is a highly configurable, momentum-based indicator designed to identify potential market reversal points using a multi-symbol relative strength comparison framework. It evaluates Directional Movement Index (DMI) values from up to three correlated or macro-influential assets to determine when the current instrument may be approaching a bottom (oversold exhaustion) or a top (overbought exhaustion).
🧠 How It Works
This script computes both the +DI (positive directional index) and -DI (negative directional index) for:
The currently selected chart symbol
Up to three user-defined reference symbols (e.g., sector leaders, macro ETFs, currencies, volatility proxies)
It uses a logarithmic percent-change approach to normalize all movement metrics, ensuring results are scale-invariant and price-neutral — meaning it works consistently whether a stock trades at $1 or $100,000. This makes the comparison between different assets meaningful, even if they trade on different scales or volatility levels.
The indicator then:
Compares the +DI values of the reference symbols to the current symbol’s +DI → seeking bottoming signals (suggesting the current symbol is unusually weak).
Compares the -DI values of the reference symbols to the current symbol’s -DI → seeking topping signals (suggesting the current symbol is unusually strong on the downside).
These comparisons are aggregated using a weighted average, where you control the influence (multiplier) of each reference symbol.
🔁 Trigger Logic
The indicator generates two dynamic lines:
Bot Line (Bottom Line): Based on reference +DI vs. current +DI
Top Line: Based on reference -DI vs. current -DI
If the Bot Line rises above the user-defined threshold, it may signal that capitulation or oversold conditions are developing. Similarly, if the Top Line rises above its threshold, it may indicate a blow-off top or overbought selling pressure.
To avoid false positives, a second smoothing-based condition must also be met:
The line must significantly exceed its moving average, confirming momentum divergence.
When both conditions are true, the indicator highlights the background in light red (bottom alert) or green (top alert) for easy visual scanning.
🔧 Key Inputs & Customization
You can fine-tune this tool using the following parameters:
Smoothing Length: Controls how smooth or sensitive the DI values are.
Reference Symbols: Up to 3 assets (default: RSP, HYG, DXY) — customizable for sector, macro, or inverse relationships.
Influence Multipliers: Adjust the weight each symbol has on the overall signal.
Display Options:
Toggle to highlight the chart background during trigger conditions.
Toggle to display a real-time table of reference symbols and their influence levels.
📈 Visual Output
Two plotted lines: One for bottoms and one for tops
Dynamically colored based on how far they exceed thresholds
Background highlights to mark trigger zones
Optional table displaying the current reference symbol setup and weights
🛠 Best Use Cases
This tool is ideal for:
Identifying short-term tops or bottoms using momentum exhaustion
Spotting divergences between an asset and broader market or sector health
Macro analysis with assets like SPY, QQQ, GME, MSFT, BTC, etc...
Pair trading signals or market breadth confirmation/disagreement
It complements other technical indicators like RSI, MACD, Bollinger Bands, or price structure patterns (double bottoms/tops, etc.)
STK Scalping Signály (EMA + RSI + Objem) + Textový trendSTK Scalping Signály (EMA + RSI + Objem) + Textový trend
forexroboot Hunter Premiumthis indicator trade on crypto and forex
trade on any time frame
enjoyed
inst: Forexroboot
ما
forexroboot
Dual RSIHello everyone! I want to show you my version of the RSI indicator. As you may have noticed, in this indicator I decided to use 2 RSI at once, and here's why. I discovered that crossovers between fast and slow RSI can generate good signals. Very often we can determine an entry point with it, and it works just as well as RSI versions with divergences.
So, all you need to do is configure the timeframe from which the RSI will be displayed. For example, when I work on an hourly timeframe, I enable both hourly and four-hour RSI. When the hourly RSI crosses the four-hour RSI from above, it signals that you should look for a short entry point. Conversely, if the hourly RSI crosses the four-hour RSI from below, you should look for a long entry point.
Overall, everyone can choose these settings for themselves. You can also adjust the overbought and oversold zones to increase or decrease the frequency of signals.
This indicator can be a good addition to your strategy. Good luck!
datastructuresLibrary "datastructures"
Collection of complex data structures not generally present as part of pinescript and can be used for collection and transformation of the data
method init(this)
initialise StringSet
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet to be initialised
Returns: current object of StringSet
method add(this, value)
add value to StringSet
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet object
@value the key of stringset to be set
value (string)
Returns: current object of StringSet
method clear(this)
clear StringSet contents
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet object
Returns: current object of StringSet
method remove(this, value)
remove value from StringSet
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet object
@value the key of stringset to be removed
value (string)
Returns: current object of StringSet
method size(this)
get size of the StringSet
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet object
Returns: size of StringSet map
method isEmpty(this)
check if stringset is empty
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet object
Returns: true if empty else returns false
method iterator(this)
get values of the StringSet
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet object
Returns: values of StringSet
method contains(this, value)
check if value is present in StringSet
Namespace types: StringSet
Parameters:
this (StringSet) : StringSet object
value (string)
Returns: true if Value is present. False otherwise
method initialiseCountMap(types, numberOfStates)
Initialise a new map of string to Count
Namespace types: array
Parameters:
types (array) : array of string containing map keys
numberOfStates (int) : number of items to be tracked for each type
Returns: new map() with empty initialisation
method initialiseCountMap(types, numberOfStates)
Initialise a new map of string to Count
Namespace types: map
Parameters:
types (map) : map containing types and configurable boolean flag
numberOfStates (int) : number of items to be tracked for each type
Returns: new map() with empty initialisation
method get(this, key, n)
get count based on primary string key and secondary int key
Namespace types: map
Parameters:
this (map) : map of string to to Count
key (string) : primary key
n (int) : secondary key
Returns: derived count from map of map
method get(this, key, n)
get array of int associated with key and n
Namespace types: map
Parameters:
this (map) : map of string to to MapToInts
key (string) : primary string key
n (int) : secondary int key
Returns: derived array of int for the given key combination
method get(this, key, n)
get array of float associated with key and n
Namespace types: map
Parameters:
this (map) : map of string to to MapToFloats
key (string) : primary string key
n (int) : secondary int key
Returns: derived array of float
method get(this, key)
get values of Ints based on key
Namespace types: map
Parameters:
this (map) : map of string to Ints
key (string) : string key
Returns: values inside Ints object associated in the map
method set(this, key, n, value)
set count for specific primary and secondary key
Namespace types: map
Parameters:
this (map) : map of string to to Count
key (string) : primary string key
n (int) : secondary int key
value (int) : the new count value to be set
Returns: updated value for key and n
method increment(this, key, n)
increment count for specific primary and secondary key
Namespace types: map
Parameters:
this (map) : map of string to to Count
key (string) : primary string key
n (int) : secondary int key
Returns: incremented value
method increment(this, key, n)
intcrement the value of Ints based on key and n (secondary key)
Namespace types: map
Parameters:
this (map) : map of string to Ints
key (string) : string key
n (int) : secondary int key
Returns: incremented nth object of Ints associated with key
method initialiseIntsMap(types, numberOfStates)
Initialise a new map of string to Map to Ints
Namespace types: array
Parameters:
types (array) : array of string containing map keys
numberOfStates (int) : number of items to be tracked for each type
Returns: new map() with empty initialisation
method initialiseIntsMap(types, numberOfStates)
Initialise a new map of string to Map to Ints
Namespace types: map
Parameters:
types (map) : map with boolean flag
numberOfStates (int) : number of items to be tracked for each type
Returns: new map() with empty initialisation
method initialiseFloatsMap(types, numberOfStates)
Initialise a new map of string to Map to Floats
Namespace types: array
Parameters:
types (array) : array of string containing map keys
numberOfStates (int) : number of items to be tracked for each type
Returns: new map() with empty initialisation
method initialiseFloatsMap(types, numberOfStates)
Initialise a new map of string to Map to Floats
Namespace types: map
Parameters:
types (map) : map with boolean flag
numberOfStates (int) : number of items to be tracked for each type
Returns: new map() with empty initialisation
method initialiseMapOfInts(types, numberOfStates)
Initialise map of two dimentional Ints based on types and number of states
Namespace types: array
Parameters:
types (array) : types array for which a new Map to Ints to be created
numberOfStates (int) : number of states for which the Ints needs to be initialised
Returns: new map of string to two dimension array of int (Ints)
method initialiseMapOfInts(types, numberOfStates)
Initialise map of two dimentional Ints based on types and number of states
Namespace types: map
Parameters:
types (map) : types map for which a new Map to Ints to be created along with bool flag
numberOfStates (int) : number of states for which the Ints needs to be initialised
Returns: new map of string to two dimension array of int (Ints)
StringSet
Set implementation using map
Fields:
strSet (map) : map of string to bool
Count
type containing map of int to int
Fields:
count (map) : map of int to int used for counting
Ints
custom type to enable array of array of int
Fields:
values (array) : int array
Floats
custom type to enable array of array of float
Fields:
values (array) : float array
MapToInts
type containing map of int to int array
Fields:
vmap (map) : map of int to Ints used as counting collection
MapToFloats
type containing map of int to float array
Fields:
vmap (map) : map of int to Floats used as floating stat collection
RT-RSI 2.0 + Signal📈 RT-RSI 2.0 + Signal – Enhanced RSI Divergence Detection
RT-RSI 2.0 + Signal is a powerful and flexible RSI-based divergence indicator designed for traders who want smarter market entries using real-time confirmations.
This script identifies bullish and bearish RSI divergences, visualizes them directly on the RSI pane, and provides clear output signals (numeric: 1.0 for bullish, 2.0 for bearish) for use in external strategy scripts like RT-Signal 2.0.1.
🔍 Core Features:
✔️ Detects classic RSI divergences (bullish & bearish)
✔️ Includes automatic pivot detection and flexible lookback settings
✔️ External signal output for use in multi-pattern or strategy systems
✔️ Optimized RSI calculation per market type (BTC, DAX, Gold, Forex, etc.)
✔️ Customizable moving average & Bollinger Band smoothing
✔️ Signal is output via plot() (non-displayed) for remote use
Intraday LevelsWhat it shows:
This indicator is useful for day trading, where it will track and display you important price levels which includes:
Premarket Low (PML)
Premarket High (PMH)
Previous Day Low (PDL)
Previous Day High (PDH)
Previous Day Close (PDC)
After Hours Low (AHL)
After Hours High (AHH)
Day Low (DL)
Day High (DH)
The price level lines and labels will automatically adjust itself as the price moves, eliminating the need of manually having to adjusting these levels.
How to use it:
At these levels it can act as important support resistance points during the day and can often serve as a important pivot point for any ticker. You can expect price rejection or bounce when the price approaches these levels.
Key settings:
For each of the levels, user can adjust in the settings menu:
Line Colour
Line Thickness
Line Style
Label Text
Price Labelling on Label
Label Location (Offset from current bar)
Ability to turn on/off the price level and label
Display levels for either all days or on the day
Supply & Demand with Candle SignalsUnlock the power of Supply & Demand Zones combined with high-probability Bullish/Bearish Engulfing patterns to spot strong market reversals and trends. This strategy helps identify key price levels where major market moves are likely to occur. By using Engulfing candlesticks within these zones, you can make more informed and accurate trading decisions, enhancing your chances of success. Ideal for traders looking for a robust technical approach to maximize market opportunities.
Pump & Dump Detector (sensitive)📊 Pump & Dump Detector — Volatility & Volume-Based Impulse Scanner
Description:
This indicator is designed to detect early and confirmed signs of high-impact market movements, such as pumps (sharp price increases) and dumps (sharp price drops). It intelligently combines multiple market signals to provide timely alerts of potential momentum spikes.
🔧 Components & Logic:
1. Price Change (%):
Compares the current closing price to the previous one. This is used as the main trigger for confirmed pump or dump detection.
2. Volume Spike:
Detects abnormal activity by comparing the current volume to the moving average over a user-defined period. If the current volume exceeds the average by a specified multiplier (default: 1.8x), a spike is detected.
3. Volatility Spike (High - Low):
Measures bar expansion. A sudden increase in bar range often indicates breakout conditions or liquidation events.
4. NATR (Normalized ATR):
Normalized Average True Range is calculated as (ATR / Close) * 100, making volatility comparable across all timeframes and instruments.
5. Min Volume Filter:
Filters out signals from low-liquidity coins to reduce false alerts and market noise.
🧠 Why It’s Useful:
This is not a mashup of random indicators, but a thoughtfully engineered system where each filter strengthens the signal validity.
It allows you to spot explosive moves before they fully unfold, making it ideal for:
Intraday scalping
Altcoin watchlists
Flash crash detection
Early reversal or breakout trades
🖥 How to Use:
Add the indicator to any crypto chart.
Enable alerts for:
🚨 Early Pump
💥 Confirmed Pump
🔻 Early Dump
🔥 Confirmed Dump
React to confirmed signals using your preferred strategy — breakout, fade, or continuation.
Use in combination with key levels, orderbook data, or trend filters for best results.
📌 Example Use Case:
On a 5-minute chart of a low-cap altcoin, the indicator may issue an early signal when:
Price increases by more than 2.5%
Volume is 2x the average
Bar range is significantly larger than the recent average
NATR is above its smoothed average × 1.2
🛡 Originality & Purpose:
This script was not built to simply combine popular indicators, but to serve a very specific use-case — detecting early-stage pumps and dumps.
By blending classic tools (like volume, ATR) with contextual filters, it becomes a true pattern-based predictive signal, not a repackaged overlay.
💬 Have ideas or suggestions? Leave a comment below — I’m always open to collaboration!
Scalping 15min: EMA + MACD + RSI + ATR-based SL/TPThis is a multi-indicator scalping strategy optimized for 15-minute charts that combines trend, momentum, and volatility indicators for high-probability trades with automated risk management.
Core Trading Logic
The strategy identifies market opportunities using three powerful technical indicators:
EMA (50): Acts as a trend filter to determine overall market direction
MACD (12, 26, 9): Measures momentum and confirms trend direction
RSI (14): Identifies potential reversal zones and avoids overbought/oversold traps
Entry Conditions
Long (Buy) Signal: Price above EMA + positive MACD histogram + RSI between 50-70
Short (Sell) Signal: Price below EMA + negative MACD histogram + RSI between 30-50
Dynamic Risk Management
What sets this strategy apart is its adaptive risk management using ATR (Average True Range):
Stop Loss: Automatically calculated at 1x ATR from entry price
Take Profit: Set at 2x ATR, creating a consistent 1:2 risk-to-reward ratio
Position Sizing: Defaults to 10% of equity per trade for conservative account growth
Crypto Investing StrategyStrategy to invest in Crypto and any long term growing asset class.
Features
Investing start time
Investing end time
RSI value to buy (should be below 50)
RSI value to sell (should be above 70)
RSI value for overbought confirmation (should be above 70)
Exit percentage (what % to exit from portfolio)
Unusual Whale - Unusual Options Volume Data ScreenerHow to Use:
Custom Expiration Date: Use the calendar/date picker to select the expiration date. The chosen date is automatically converted to the "YYMMDD" format.
Custom Base Strike: Enter a round strike value from the options chain (for example, "270"). This value serves as the starting point (at-the-money) for the scan.
Strike Increment: Select the increment (e.g., 0.50, 1.00, 2.5, 5, or 10) to determine how the scan moves outward from the custom base strike.
Options per Side (Max 20): Choose the number of valid option strikes to scan on each side. The script scans downward (for calls) and upward (for puts) from the custom base strike.
Base Symbol: The base symbol is always taken from the chart (using syminfo.ticker); no manual entry is needed.
Scanning & Aggregation: The script automatically constructs option symbols using the base symbol, custom expiration date, option type (C or P), and the formatted strike. It retrieves volume data for these options and aggregates the cumulative volume for calls and puts separately.
Plotting: Cumulative call volume is plotted in green, and cumulative put volume is plotted in red—only if the required number of valid options is found.
Benefits of Scanning Options Volume for Unusual Activity:
Offers a comprehensive view of volume across multiple strikes, making unusual or extreme volume patterns easier to detect.
Helps gauge market sentiment by comparing aggregated call and put volumes, which may signal shifts in investor behavior.
Aggregating volume from several strike levels provides smoother, more reliable data than using a single strike, enhancing your analytical insights.
What to Do If Combinations Don't Yield Results:
Verify Your Inputs: Ensure that the Custom Base Symbol, Expiration Date, and Custom Base Strike are entered correctly and correspond to an active options chain.
Adjust Strike Increment: If the options aren’t loading as expected, try selecting a different strike increment that more closely matches the spacing in your options chain.
Reduce Options per Side: Lower the number of Options per Side (e.g., from 20 to a lower value) if the scan fails to find enough valid strikes.
Review Your Options Chain: Confirm that the contracts for the specified expiration and strike range exist and are available in your data feed.
Check Data Subscription: Make sure your TradingView plan includes access to the options data required for the selected symbols.
Cumulative Call Volume is Green, Put Volume is Red