Composite PR Signal (Trend↔Revert + ADX gate)Core Components
1. Dynamic Inputs
Max/PR windows (maxLen, prWin) – define historical lookbacks for oscillators and percentile ranks.
Smoothing (smooth) – applies an EMA filter to stabilize composite scores.
Threshold (th) – governs entry sensitivity.
Holding period (hBars) – maximum bars allowed in a trade.
Execution options – allow shorting, fast approximations for PR and CCI.
2. Custom Utility Functions
The script implements optimized versions of common TA operations:
Rolling sums, delays, and moving averages (EMA, RMA, SMA).
Lazy rolling extrema (efficient highest/lowest lookups).
Stateful arrays for tracking oscillator values across bars.
Fast approximations for percentile ranks and indicators.
3. Indicators Used
The system calculates a broad set of oscillators, including:
Trend/Momentum: ROC, TRIX, TSI, MACD histogram, OBV ROC, AO, CMF, BOP, UO, ADX.
Reversion/Oscillators: RSI, Stochastic K/D, MFI, Williams %R, CCI, CMO.
Each is converted into a percentile rank (PR) to normalize values between 0–100.
4. Composite Scoring
Two composite signals are built:
Trend Score – averages normalized outputs of momentum indicators.
Reversion Score – averages normalized outputs of oscillators prone to mean reversion.
ADX Gate – when ADX PR is high, the strategy favors trend score; when low, it favors reversion score.
Final score is smoothed and compared against entry thresholds.
5. Trade Logic
Entry:
Long: When composite score crosses above +th.
Short: When composite score crosses below -th (if enabled).
Exit:
Opposite crossover signal.
Or trade duration exceeds hBars.
6. Risk/Execution Parameters
Initial capital: 100,000
Commission: 0.01% per trade
Fixed order size: 100 units
No pyramiding
Intended Use
This script is designed for:
Swing trading across multiple assets (equities, forex, crypto).
Adapting to market regimes — capturing breakouts during strong trends, but fading moves when markets are choppy.
Candlestick analysis
Position Size CalculatorDESCRIPTION:
This indicator is essentially a calculator that prompts the user to enter 3 variables upon activation: Entry Price, Stop Loss Price, and Risk Amount ($). From those variables, the calculator will then output what the ideal amount of shares that should be purchased to meet your risk amount limit.
SAMPLE USE CASES:
1) Trading Futures: Upon calculating the amount of shares to purchase to enter a position, you can multiply that amount by the current share price, this will give you an idea on whether or not you require some leverage to get into your position.
2) Spot Trading / Simple Stock Trading: Upon entering the required information, you will know how many shares to purchase to meet your risk amount limit.
Katz Candle Momentum Reversal Indicator v4.1Katz Candle Momentum Reversal Indicator (CMRI) v4.1
Overview
The Katz CMRI is a comprehensive trading indicator designed to identify trend direction, momentum shifts, and potential market reversals. It combines several different concepts into a single, cohesive visual tool.
At its core, the indicator uses a custom Line Break chart calculation to filter out market noise and a Heikin-Ashi-style formula to smooth price action. This combination helps to more clearly define the underlying trend. The main output is a dynamic, multi-colored trend line accompanied by various signals that appear directly on your chart. It's designed to help traders stay with the trend while also spotting key moments of expansion, contraction, and potential reversal.
How to Interpret the Indicator
The indicator has several key visual components:
Main Trend Line: This is the thick, central line that changes color.
Green: Indicates a bullish (upward) trend.
Red: Indicates a bearish (downward) trend.
Faded/Light Colors: Suggest a potential loss of momentum or a pullback within the trend.
White: Signals a significant break in the trend structure.
Trend Cloud: The shaded area between the main trend line and the white midline (mid). A green cloud shows the trend is above the midpoint, while a red cloud shows it's below.
Upper/Lower Bands: The aqua (Trend Up) and yellow (Trend Down) lines represent the recent highs and lows of the established trend. When price is pushing against these bands, it signals trend strength.
Background Colors:
Gray: A "Contraction Zone." This indicates that the trend is losing momentum and consolidating, warning of potential chop or a reversal.
Blue: An "Expansion Event." This highlights a sudden increase in momentum in the direction of the trend.
Signal Shapes:
Diamonds: These are the primary entry signals. A green diamond below a candle signals a potential long entry, while a red diamond above a candle signals a potential short entry.
⬆️⬇️ Arrows: These are secondary momentum signals. They can be used as confirmation that the trend is continuing.
Trading Strategy & Rules
This strategy uses the primary diamond signals for entries and trend changes for exits.
Long Trade (Buy) Rules
Entry: Wait for a green diamond to appear below the price candles. For confirmation, the main trend line should turn solid green, and the price should ideally be above the white midline.
Exit:
Stop Loss: Place a stop loss below the recent swing low or below the candle where the green diamond appeared.
Take Profit: Consider exiting the trade when a red diamond appears above the candles, signaling a potential trend reversal. Alternatively, a trader might exit if the background turns gray (Contraction Zone), indicating the bullish momentum has faded.
Short Trade (Sell) Rules
Entry: Wait for a red diamond to appear above the price candles. For confirmation, the main trend line should turn solid red, and the price should ideally be below the white midline.
Exit:
Stop Loss: Place a stop loss above the recent swing high or above the candle where the red diamond appeared.
Take Profit: Consider exiting the trade when a green diamond appears below the candles. A gray "Contraction Zone" can also serve as an early warning to exit as bearish momentum wanes.
Indicator Filters Explained
The indicator includes a "Trend Filter Type" setting that allows you to adjust its sensitivity. This can help reduce false signals in choppy markets.
Raw: This is the most sensitive setting. It will generate a trend change signal as soon as the basic conditions are met. Use this for scalping or in strongly trending markets, but be aware that it may produce more false signals.
OutStep: This is the default, balanced setting. It adds an extra layer of confirmation by requiring the main trend line itself to be moving in the direction of the new trend. For example, a new green signal will only be confirmed if the trend line's value is higher than its previous value. This helps filter out weak signals.
FullStep: This is the most conservative and filtered setting. It includes the "OutStep" logic and adds further conditions related to the upper and lower trend bands. This setting will produce the fewest signals, but they are generally the highest quality, making it suitable for swing trading or avoiding choppy market conditions.
Disclaimer
This indicator is a tool for technical analysis and should not be considered financial advice. All trading involves substantial risk, including the possible loss of principal. Past performance is not indicative of future results. The signals generated by this indicator are for educational and informational purposes only. You are solely responsible for any trading decisions you make. Use this indicator at your own risk.
KA Intradia 2025This indicator plots horizontal levels based on the Daily Open price, providing intraday reference zones for traders.
Each line extends from the day’s open across the chart, and every level is labeled precisely at the right side of the chart for easy visibility—without overlapping the price scale.
The extension length, label positioning, colors, and percentage levels are fully customizable, ensuring the levels remain consistent across all timeframes.
No Wick 15m Candles (Anchored Arrows)defined upArrow and downArrow as series values (high or low when conditions are true, otherwise na).
Passed those to plotshape().
This way the arrows are anchored exactly on the candle high/low.
Support & Resistance Levels (DaruTrading)This Pine Script automatically identifies and locks key support and resistance levels using Williams-style fractals. Instead of manually drawing zones—a tedious and error-prone task—the script clusters repeated touches into clean levels or areas, complete with customizable styles and fills. By combining wick-based and close-based detection, it adapts to both swing highs/lows and body closes, capturing the levels traders actually respect. For risk management, this automation is powerful: consistent, objective zones reduce emotional bias, highlight true market structure, and provide reliable anchors for stop losses and targets. It streamlines a boring chore into a disciplined, data-driven trading edge.
KA IntradiaThis indicator draws horizontal levels based on the daily open price, extending them across the chart for clear intraday reference.
Each level is labeled directly at the right end of the line, ensuring prices remain visible without overlapping the price scale.
You can customize which percentage levels are displayed, the line colors, thickness, and adjust how close the labels sit to the end of the lines.
It’s designed for traders who want precise intraday support/resistance zones anchored to the daily open.
Liquidity SweeperStrategy Overview
This Pine Script implements a Liquidity Sweep Trading Strategy, a sophisticated approach that capitalizes on market manipulation tactics commonly used by institutional traders. The strategy identifies when price "sweeps" above recent swing highs or below swing lows to trigger stop losses and grab liquidity, then quickly reverses direction - creating high-probability trading opportunities.
Core Concept: What is a Liquidity Sweep?
A liquidity sweep occurs when:
Price breaks above a swing high (or below a swing low) to trigger retail stop losses
Institutional players absorb this liquidity at favorable prices
Price quickly reverses back into the previous range
This creates a "fake breakout" or "stop hunt" pattern
The strategy exploits these manipulative moves by entering trades in the direction of the reversal.
How the Strategy Works
1. Swing Point Detection
Uses a lookback period (default: 20 bars) to identify significant swing highs and lows
Employs proper pivot point detection using ta.highestbars() and ta.lowestbars()
Only considers confirmed swing points (not just recent highs/lows)
2. Liquidity Sweep Identification
High Sweep (Short Setup):
Price moves above the last swing high (triggering buy stops)
Same bar closes back below the swing high (showing rejection)
Low Sweep (Long Setup):
Price moves below the last swing low (triggering sell stops)
Same bar closes back above the swing low (showing support)
3. Confirmation Process
Requires price to stay within the swept range for a specified number of bars (default: 3)
This confirms the sweep was genuine and not just normal volatility
Prevents false signals and improves trade quality
4. Entry Logic
Long Entries: Triggered after confirmed low sweeps
Short Entries: Triggered after confirmed high sweeps
5. Risk Management
Stop Loss: Placed at a multiple of ATR (default: 1.5x) from entry price
Take Profit: Risk/Reward ratio based (default: 2:1)
Position Sizing: 10% of equity per trade (configurable)
Red X-crosses: High sweeps detected
Green X-crosses: Low sweeps detected
Red triangles (down): Short entry signals
Green triangles (up): Long entry signals
Horizontal lines: Current swing high/low levels
Info label: Shows last detected swing levels
Optimal Conditions:
Timeframes: 1H, 4H, and Daily work best
Market Conditions: Ranging and trending markets both suitable
Volatility: Moderate to high volatility preferred
Session Times: Most effective during active trading sessions
Strengths:
✅ Exploits institutional manipulation tactics
✅ Clear entry/exit rules with defined risk
✅ Works across multiple asset classes
✅ Includes proper confirmation to reduce false signals
✅ Visual clarity for manual verification
✅ Reasonable risk/reward parameters
Limitations:
⚠️ Requires patience - not a high-frequency strategy
⚠️ Market dependent - fewer signals in low volatility periods
⚠️ Needs sufficient lookback data for swing identification
⚠️ May have drawdown periods during strong trending moves
⚠️ Requires understanding of market structure concepts
Best Practices for Users
Optimization Tips:
Adjust lookback period based on timeframe (shorter for lower TFs)
Test different confirmation periods for your market
Consider market session times when backtesting
Use alongside volume analysis for additional confirmation
Risk Management:
Never risk more than 2-3% per trade of total capital
Consider reducing position size during high-impact news
Monitor correlation if trading multiple pairs simultaneously
Use additional filters (trend, support/resistance) for confluence
Backtesting Recommendations:
Test on at least 6 months of historical data
Include different market conditions (trending, ranging, volatile)
Consider transaction costs and slippage in results
Forward test on demo before live implementation
Expected Results
Based on typical liquidity sweep strategy performance:
Disclaimer
This strategy is based on market structure analysis and institutional trading behavior patterns. Past performance doesn't guarantee future results. Users should:
Thoroughly backtest before live trading
Start with small position sizes
Understand the underlying concepts before implementation
Consider combining with other analysis methods
Always use proper risk management
The strategy works best when traders understand the psychological and structural elements of liquidity sweeps rather than just following signals blindly.
$ - HTF Sweeps & PO3HTF Sweeps & PO3 Indicator
The HTF Sweeps & PO3 indicator is a powerful tool designed for traders to visualise higher timeframe (HTF) candles, identify liquidity sweeps, and track key price levels on a lower timeframe (LTF) chart. Built for TradingView using Pine Script v6, it overlays HTF candle data and highlights significant price movements, such as sweeps of previous highs or lows, to help traders identify potential liquidity sweep and reversal points. The indicator is highly customisable, offering a range of visual and alert options to suit various trading strategies.
Features
Higher Timeframe (HTF) Candle Visualisation:
- Displays up to three user-defined HTF candles (e.g., 15m, 1H, 4H) overlaid on the LTF chart.
- Customisable candle appearance with adjustable size (Tiny to Huge), offset, spacing, and colours for bullish/bearish candles and wicks.
- Option to show timeframe labels above or below HTF candles with configurable size and position.
Liquidity Sweep Detection:
- Identifies bullish and bearish sweeps when price moves beyond the high or low of a previous HTF candle and meets specific conditions.
- Displays sweeps on both LTF and HTF with customisable line styles (Solid, Dashed, Dotted), widths, and colours.
- Option to show only the most recent sweep per candle to reduce chart clutter.
Invalidated Sweep Tracking:
- Detects and visualises invalidated sweeps (when price moves past a sweep level in the opposite direction).
- Configurable display for invalidated sweeps on LTF and HTF with distinct line styles and colours.
Previous High/Low Lines:
- Plots horizontal lines at the high and low of the previous HTF candle, extending on both LTF and HTF.
- Customisable line style, width, and color for easy identification of key levels.
- Real-Time Sweep Detection:
-Optional real-time sweep visualisation for active candles, enabling traders to monitor developing price action.
Alert System:
- Triggers alerts for sweep formation (when a new sweep is detected).
- Triggers alerts for sweep invalidation (when a sweep is no longer valid).
- Alerts include details such as timeframe, ticker, and price level for precise notifications.
Performance Optimisation:
- Efficiently manages resources with configurable limits for lines, labels, boxes, and bars (up to 500 each).
- Cleans up outdated visual elements to maintain chart clarity.
Flexible Configuration:
- Supports multiple timeframes for HTF candles with user-defined settings for visibility and number of candles displayed (1–60).
- Toggle visibility for HTF candles, sweeps, invalidated sweeps, and high/low lines independently for LTF and HTF.
This indicator is ideal for traders focusing on liquidity hunting, order block analysis, or price action strategies, providing clear visual cues and alerts to enhance decision-making.
My Engulfing Red=black And Green = Blue engulfing candle for bottom and top pic. blue candle at bottom can reverse trend and blue candle at top can can do same
Body-Based Inside/Outside Bars (wicks excluded)This indicator shows inside/outside bars EXCLUDING the wicks. The yellow vertical line indicates an inside bar (body only) and the blue vertical line indicates outside bars (candle body only).
KA_anualKA Anual
This indicator displays the annual opening price and projected percentage levels above and below it. It helps traders quickly identify whether the market is trading higher or lower relative to the yearly open, providing a clear view of long-term bias and major reference points throughout the year.
Candle by Candle (CbC)Shows trend based on color of the candle.
If there are two consecutive candles of the same color, it gives an entry signal. It will trail the exit to the low of consecutive candles. You can choose whether you want to trail to the low of all of the next candles or only the candles in the direction of your entry. Once exit is breached you get an exit. You can choose whether you want the exit on candle close or immediately when the price hits.
OTFThis indicator identifies One Time Framing conditions directly on the chart. One Time Framing occurs when a bar’s high is higher than the previous bar’s high without breaking the previous low (for bullish OTF), or when a bar’s low is lower than the previous bar’s low without breaking the previous high (for bearish OTF).
This tool helps traders to spot continuation moves and trend confirmation within any timeframe. Customizable inputs allow users to select the desired time interval and highlight both bullish and bearish One Time Framing sequences.
How to use:
Apply this indicator on any timeframe to automatically highlight OTF events.
Use the visual markers to identify trend continuations or early reversals.
Adjust the settings panel for color preferences and OTF sensitivity.
No trading signals or strategies are provided; this indicator is strictly for identifying the OTF structure in market price action. Suitable for all levels of traders interested in market structure analysis.
BBAWE 事件合約This is a paid version. Please contact me or follow me.
✅ Key Features
Strict 1-bar confirmation for cleaner entries.
Fast EMA filter to avoid false breakouts.
Cooldown system to reduce overtrading.
Visual markers for Key Bars and trade entries.
Fully customizable parameters (BB period, EMA length, cooldown bars).
📈 Best Suited For
Short-term scalping or intraday setups.
Catching quick reversals or momentum continuation.
Traders who need stricter signal validation to filter noise.
Consecutive Close ScannerOverview
Continuous Close Scanner (CCS) highlights and quantifies runs of consecutive bullish or bearish closes. The indicator draws boxes around qualifying runs (configurable minimum consecutive closes), optionally displays the percent move for each run, counts run starts inside a configurable lookback window, and can show the immediate reverse move until two confirming bars on the opposite side.
Key features
• Detects runs of N consecutive closes (input Consecutive bars).
• Shades active runs with colored boxes and optionally prints percent move.
• Counts how many qualifying runs started within the lookback window (table).
• Optional reverse-move tracker: shows live and final reverse move after a run ends (stops when two confirming opposite closes occur).
• Configurable colors, transparency, table position, and lookback.
• Built in safeguards for TradingView limits (box/label caps configured).
How it works (brief)
When the number of consecutive bullish (close>open) or bearish (close
Crypto Scanner
🚀 Crypto Scanner: Intelligent TradingView Indicator & Screener for Crypto Trading
Description: Discover the Crypto indicator & screener, an Intelligent TradingView indicator for spotting reversals in the top 50 cryptos. Spot Bitcoin & altcoin reversals with real-time buy/sell signals, alerts & strategies for day trading, scalping & swing trading.
________________________________________
🔥 Catch Crypto Reversals with the Crypto Scanner
Looking for the perfect crypto trade setup? The Crypto Scanner, a leading TradingView indicator and screener, helps traders catch bullish and bearish reversals across the top 50 cryptocurrencies (Bitcoin, Ethereum, Solana, XRP, Binance Coin, and more). Unlike lagging tools such as moving averages, this crypto trading strategy delivers real-time buy/sell signals for early entries and bigger profits.
It’s more than just an indicator – it’s a crypto market scanner that works 24/7, detecting reversal candlestick patterns, support/resistance zones, and momentum shifts before the crowd.
________________________________________
📊 What is the Crypto Scanner & screener?
The Crypto Scanner is a powerful TradingView crypto tool built for scalpers, day traders, and swing traders. It scans the top 50 altcoins by market cap, spotting high-probability reversal setups across all timeframes – from 1-minute scalping charts to long-term swing trades.
This tool saves time by automating crypto market analysis, helping you trade smarter, whether you’re focusing on Bitcoin, Ethereum, or fast-moving altcoins.
________________________________________
⚙️ How the Crypto Scanner Works
1. Group 1 & Group 2 Coins: Scans two predefined groups :
Group 1: Top 25 coins by market cap.
Group 2: Next 25 coins by market cap.
Displays Group 1 signals by default in a table, with green (1) for buying pressure and red (2) for selling pressure.
2. Next Steps: When a coin shows a green or red signal, open its chart via TradingView’s symbol search. Look for:
Green X below a candle for bullish signals.
Red X above a candle for bearish signals.
Enter trades when price moves above the Green X candle’s close (buy) or below the Red X candle’s close (sell), with a stop loss at the previous candle’s close.
3. Profit Targets: Aim for 2%–7% gains. If price exits the cloud area, hold until it re-enters or an opposite signal appears. Exit if stop loss is hit.
4. Signal Significance: Detects 50+ candlestick patterns (e.g., hammer, doji) after prolonged trends, confirming reversals with price action near support/resistance levels—earlier than moving average crossovers for higher profits.
5. Color-Coded Table: Shows real-time signals:
✅ Green (1): Bullish reversal (buy).
❌ Red (2): Bearish reversal (sell).
6. Support/Resistance Validation: Automatically plots key levels to confirm signals.
________________________________________
🚨 Important Disclaimer
The Crypto Scanner is not designed to catch every market move.
If price moves slowly or the specific candlestick patterns do not form during extreme downtrends or extreme uptrends, the scanner may miss the reversal.
Missing a move does not make you poorer — instead, focus on the trades that the scanner does catch.
Ride those profitable waves and let the missed opportunities go. The goal is consistency, not chasing every candle.
________________________________________
🎯 Crypto Trading Strategies: Scalping, Day Trading & Swing Trading
The Crypto Scanner isn’t just an indicator – it supports multiple strategies:
Scalping: Quick in-and-out trades with small stop losses.
Day Trading: Catch intraday reversals on Bitcoin & altcoins.
Swing Trading: Identify longer-term reversal points for higher profits.
Whether you scalp 1-minute charts or swing trade daily setups, the scanner adapts to your style.
________________________________________
🎯 Trading Rules for Success
Stop Loss :
Bullish reversal: Set at the close of the candle before the Green X.
Bearish reversal: Set at the close of the candle before the Red X.
Profit Targets:
Exit at the next support/resistance level.
Hold if price exits the cloud and continues strongly until it re-enters or an opposite signal appears.
________________________________________
📈 Maximize Profits with Smart Risk Management
Big wins trump high accuracy. The Crypto Scanner’s early signals let you enter trades before the crowd, boosting profit potential. Even with a 35% win rate, one winning trade can offset multiple small losses due to high-reward setups. Failed reversals may hit stop losses, but the scanner’s design ensures winners outweigh losers.
________________________________________
🚀 Why Traders Choose Our TradingView Crypto Indicator
• 🔎 Scans Top 50 Cryptos: Bitcoin, Ethereum, Solana, Binance Coin, XRP, Dogecoin & more.
• ⚡ Instant Buy/Sell Signals: No more chart-hopping.
• 🕯 50+ Candlestick Patterns: Advanced reversal recognition.
• 📋 Real-Time Screener Table: See all crypto signals at a glance.
• 🔔 Automated Alerts: Get notifications for 50 coins with a single setup.
• 🛡 Auto Support/Resistance Levels: Validates reversals with key price zones.
• ⏱ All Timeframes Supported: Works on scalping (1m/5m) and higher (daily/weekly) charts.
________________________________________
🌍 Why Trade Crypto?
One of the biggest advantages of trading cryptocurrencies is that the crypto market never sleeps. Unlike stocks and forex, crypto runs 24 hours a day, 7 days a week — even on weekends and public holidays. This means you can trade Bitcoin, Ethereum, and altcoins anytime, anywhere without being restricted by exchange opening hours. The continuous market gives more opportunities for scalping, day trading, and swing trading, making crypto one of the most flexible and exciting markets for active traders.
✅ Benefits for Bitcoin & Altcoin Traders
• Saves time by automating crypto analysis
• Works for Bitcoin signals, Ethereum signals, and altcoin signals
• Provides early entries for maximum profit potential
• Ideal for day trading crypto, swing trading, and scalping strategies
• Seamlessly integrates into TradingView
________________________________________
📌 Key Notes
• Pre-Coded Coin List: Includes the top 50 coins, updated periodically.
• Customizable: Contact us for versions with 50, 100, or custom watchlists.
• TradingView Integration: Seamlessly works within TradingView.
________________________________________
🔍 Perfect for Crypto Traders
• Spot traders seeking fast crypto reversal signals.
• Scalpers, intraday, and swing traders.
• TradingView users wanting advanced crypto trading tools.
________________________________________
🚀 Trade Smarter with the Crypto Scanner
Dominate the crypto market with the Crypto Scanner on TradingView. Catch reversals in the top 50 coins and boost your profits. Don’t miss out!
👉 Start trading smarter – activate the Crypto Scanner on TradingView today!
event contract boll 事件合約Bollinger Bands (BB)
Strict t1 Confirmation
Only the very next candle (t1) is checked:
Long
Short
Prevents rapid-fire entries in choppy markets.✅ Key Features
Strict 1-bar confirmation for cleaner entries.
Fast EMA filter to avoid false breakouts.
Cooldown system to reduce overtrading.
Visual markers for Key Bars and trade entries.
Fully customizable parameters (BB period, EMA length, cooldown bars).
📈 Best Suited For
Short-term scalping or intraday setups.
Catching quick reversals or momentum continuation.
Traders who need stricter signal validation to filter noise.
SatoshiFrame Liquidity SwingsLiquidity Pleasre: Identifies key liquidity zones on the chart with colored clouds and a bottom-pane Liquidity Index, helping traders spot potential support, resistance, and high-volume reversal areas.
Apex Edge – HTF Overlay Candles“Trade your 5m chart with the eyes of the 1H — Apex Edge brings higher-timeframe structure and liquidity sweeps directly onto your execution chart.”
Apex Edge – HTF Overlay Candles
The Apex Edge – HTF Overlay Candles indicator overlays higher-timeframe (HTF) candles directly onto your lower-timeframe chart. Instead of flipping between timeframes, you see HTF structure “breathe” live on your execution chart.
What It Does
• HTF Body Boxes → open/close zones drawn as semi-transparent rectangles.
• HTF Wick Boxes → high/low extremes projected as envelopes around each body.
• Midpoint Line → a dynamic equilibrium line that flips bias as price trades above or below.
• Sweep Arrows → one-time markers showing the first liquidity raid at HTF highs or lows.
Under the Hood
This isn’t just a visual overlay — it’s engineered for accuracy and performance in PineScript.
1. HTF Data Retrieval
• Uses request.security() to import open, high, low, close, time from any selected HTF.
• lookahead=barmerge.lookahead_off ensures OHLC values update bar by bar as the HTF
candle builds.
• When the HTF bar closes, boxes and midpoint lock to historical values — matching the
native HTF chart exactly.
2. Box Construction
• Body box: built from HTF open → close.
• Wick box: built from HTF high → low.
• Boxes extend dynamically across each HTF period, updating in real time, then freeze at
close.
3. Midpoint Logic
• (htfOpen + htfClose) / 2 calculates intrabar midpoint.
• Line drawn edge-to-edge across the active HTF body.
• Style, width, color, and opacity are user-controlled.
4. Sweep Detection
• Flags (sweepedHigh / sweepedLow) prevent clutter: only the first tap per side per HTF
candle is marked.
• Lower-timeframe price breaking the HTF high/low triggers the sweep arrow.
• Arrows are offset above/below wick envelopes for clean visuals.
5. Customisation
• Every layer (body, wick, midpoint, arrows) has independent color + opacity settings.
• Arrow size, arrow color, and transparency are adjustable.
• Default HTF = 1H (perfect for 5m/15m traders) but can be switched to 30m, 4H, Daily,
etc.
Why It’s Useful
• HTF intent + LTF execution without chart hopping.
• Liquidity mapping: see where liquidity is swept in real time.
• Bias clarity: midpoint line defines HTF equilibrium.
• Clean signals: only the first sweep prints — no spam.
What Makes It Different
Most MTF overlays just plot candles or single lines. This tool:
• Splits body vs wick zones for institutional precision.
• Updates live intrabar (no repainting).
• Highlights liquidity sweeps clearly.
• Built for readability and professional use — not another retail signal toy.
Cheat-Sheet Playbook
1️⃣ Structure Bias
• Above midpoint line = bullish intent.
• Below midpoint line = bearish intent.
• Chop around midpoint = no clear direction.
2️⃣ Liquidity Sweeps
• ▲ Green up arrow below wick box = sell-side liquidity taken → watch for longs.
• ▼ Red down arrow above wick box = buy-side liquidity taken → watch for shorts.
• First sweep is the cleanest.
3️⃣ Trade Logic
• Body box = where institutions transact.
• Wick box = liquidity traps.
• Midpoint = bias filter.
• Best setups occur when sweep + midpoint flip align.
4️⃣ Example (5m + 1H Overlay)
1. ▲ Green up arrow prints below HTF wick.
2. Price reclaims the body box.
3. Midpoint flips to support.
4. Enter long → stop below sweep → targets = midpoint first, opposite wick second.
In short:
• Boxes = structure
• Wicks = liquidity pools
• Midpoint = bias line
• Arrows = liquidity sweeps
This is your SMC edge on one chart — HTF structure and liquidity fused directly into your execution timeframe.
Navkar Finalthis script uses macd, rsi, stochastic, moving average, ATR, Bollinger bands and many other indicator to check if possible entry exit conditions
Consecutive Close Colorer (5+ with retroactive coloring)“Spot momentum streaks instantly — highlight runs of consecutive closes with color & boxes.”
“Turn price streaks into clear visuals. See momentum, strength, and exhaustion at a glance.”
“Simple way to track consecutive up/down closes — momentum made obvious.”
“Make market streaks stand out: candle coloring + shaded zones for clear momentum.”
HTF Swing High and Low pivotsIndicator plots the swing high and low point from the chosen time frame. Solid lines are active levels, dashed lines are broken levels. Levels can be seen on low timeframes. Stack of levels act as a magnet for price to move to (not always, but most of the time). Look for reversals in these areas.