Supply & Demand Zones [QuantAlgo]🟢 Overview
The Supply & Demand (Support & Resistance) Zones indicator identifies price levels where significant buying and selling pressure historically emerged, using swing point analysis and pattern recognition to mark high-probability reversal and continuation areas. Unlike conventional support/resistance tools that draw arbitrary horizontal lines, this indicator can automatically detect structural zones, offering traders systematic entry and exit levels where institutional order flow likely congregates across any market or timeframe.
🟢 How to Use
# Zone Types:
Green/Demand Zones: Support areas where buying pressure historically emerged, representing potential long entry opportunities where price may bounce or consolidate before moving higher. These zones mark levels where buyers previously overcame sellers.
Red/Supply Zones: Resistance areas where selling pressure historically dominated, indicating potential short entry opportunities where price may reverse or stall before declining. These zones identify levels where sellers previously overwhelmed buyers.
# Zone Pattern Types:
Wick Rejection Zones: Zones created from candles with exceptionally long wicks showing violent price rejection. A demand rejection occurs when price drops sharply but closes well above the low, forming a long lower wick (relative to the total candle range) that demonstrates buyers aggressively defending that level. A supply rejection shows price spiking higher but closing well below the high, with the long upper wick proving sellers rejected that price aggressively. These zones often represent major institutional orders that absorbed significant market pressure. The rejection wick ratio setting controls how prominent the wick must be (higher ratios require more dramatic rejections and produce fewer but higher-quality zones).
Continuation Demand Zones: Areas where price rallied upward, paused in a brief consolidation base, then rallied again. This pattern confirms strong buying continuation (the consolidation represents profit-taking or minor pullbacks that failed to attract meaningful selling). When price returns to these zones, buyers who missed the initial rally often provide support, making them high-probability long entries within established uptrends. These zones follow the classic Rally-Base-Rally structure, demonstrating that buyers remain in control even during temporary pauses.
Reversal Demand Zones: Zones where price dropped, formed a consolidation base, then reversed into a rally. This structure marks potential trend reversals or major swing lows where buyers finally overwhelmed sellers after a decline. The base period represents accumulation by stronger hands, and these zones frequently appear at market bottoms or as significant pullback support within larger uptrends, signaling shifts in market control. These zones follow the Drop-Base-Rally pattern, showing the moment when selling pressure exhausted and buying interest emerged.
Continuation Supply Zones: Areas where price dropped, consolidated briefly, then dropped again. This pattern demonstrates strong selling continuation (the pause represents temporary buying attempts that failed to generate meaningful recovery). When price returns to these zones, sellers who missed the initial decline often provide resistance, creating short entry opportunities within established downtrends. These zones follow the Drop-Base-Drop structure, confirming that sellers maintain dominance even during temporary consolidations.
Reversal Supply Zones: Zones where price rallied upward, formed a consolidation base, then reversed into a decline. This formation identifies potential trend reversals or major swing highs where sellers overcame buyers after an advance. The base period often represents distribution by institutional participants, and these zones commonly appear at market tops or as key pullback resistance within larger downtrends, marking transfers of market control from buyers to sellers. These zones follow the Rally-Base-Drop pattern, capturing the transition point when buying exhaustion meets aggressive selling.
# Zone Mitigation Methods:
Wick Mitigation: Zones become invalidated immediately upon first contact by any wick. This assumes zones work only on their initial test, reflecting the belief that institutional orders concentrated at these levels get completely filled on first touch. Best for traders seeking only the highest-probability, untested zones and willing to accept that zones invalidate frequently in volatile markets. When price touches a zone boundary with even a single wick, that zone is considered "used up" and becomes mitigated.
Close Mitigation: Zones remain valid through wick penetration but become invalidated only when a candle closes through the zone boundary. This method allows price to briefly probe the zone with wicks while requiring actual commitment (a close) for invalidation. Suitable for traders who recognize that zones can withstand initial tests and prefer filtering out false breakouts caused by temporary volatility or liquidity hunts. A zone stays active as long as candles close within or outside it, regardless of wick penetration, until a close occurs beyond the boundary.
Full Body Mitigation: Zones stay valid until an entire candle body exists completely beyond the zone boundary, meaning both the open and close must be outside the zone. This approach maintains zone validity through partial penetrations, accommodating the reality that institutional zones can absorb considerable price action before exhausting. Ideal for volatile markets or traders who believe zones represent price ranges rather than precise levels, and who want zones to persist through aggressive but ultimately rejected breakout attempts. Only when both the open and close of a candle are beyond the zone does it become mitigated.
🟢 Pro Tips for Trading and Investing
→ Preset Selection: Choose presets matching your preferred timeframe - Scalping (M1-M30) for aggressive detection on minute charts, Intraday (H1-H12) for balanced filtering on hourly timeframes, or Swing Trading (1D+) for strict filtering on daily charts. Each preset automatically optimizes swing length, zone strength, and max zone counts for the selected timeframe.
→ Input Calibration: Adjust Swing Length based on market speed (lower values 3-7 for fast markets, higher values 12-20 for slower markets). Set Minimum Zone Strength according to asset volatility (0.05-0.15% for low-volatility assets, 0.25-0.5% for high-volatility assets). Tune Rejection Wick Ratio higher (0.6-0.8) for strict wick filtering or lower (0.3-0.5) to capture more subtle rejections.
→ Zone Pattern Toggle Strategy: Pattern types are mutually exclusive - enable Continuation OR Reversal patterns for each zone type, not both together. Recommended combinations: For trend trading, enable Rejection + Continuation (2-4 toggles total). For reversal trading, enable Rejection + Reversal (2-4 toggles). For scalping, enable only Rejection zones (1-2 toggles). Maximum 3-4 active toggles provides optimal chart clarity. A simple Wick Rejection toggle can also work on virtually any market and timeframe.
→ Mitigation Method Selection: Use Wick mitigation in clean trending markets for strict zone invalidation on first touch. Use Close mitigation in moderate volatility to filter out temporary spikes. Use Full Body mitigation in highly volatile markets to keep zones active through whipsaws and false breakouts.
→ Alert Configuration: Utilize built-in alerts for new zone creation, zone touches, and zone breaks. New zone alerts notify when fresh supply/demand areas form. Zone touch alerts signal potential entry opportunities as price reaches zones. Zone break alerts indicate when levels fail, signaling possible trend acceleration or structure changes.
指标和策略
Cnagda Pure Price ActionCnagda Pure Price Action (CPPA) indicator is a pure price action-based system designed to provide traders with real-time, dynamic analysis of the market. It automatically identifies key candles, support and resistance zones, and potential buy/sell signals by combining price, volume, and multiple popular trend indicators.
How Price Action & Volume Analysis Works
Silver Zone – Logic, Reason, and Trade Planning
Logic & Visualization:
The Silver Zone is created when the closing price is the lowest in the chosen window and volume is the highest in that window.
Visually, a large silver-colored box/rectangle appears on the chart.
Thick horizontal lines (top and bottom) are drawn at the high and low of that candle/bar, extending to the right.
Reasoning:
This combination typically occurs at strong “accumulation” or support areas:
Sellers push the price down to the lowest point, but aggressive buyers step in with high volume, absorbing supply.
Indicates potential exhaustion of selling and likely shift in market control to buyers.
How to Plan Trades Using Silver Zone:
Watch if price returns to the Silver Zone in the future: It often acts as powerful support.
Bullish entries (buys) can be planned when price tests or slightly pierces this zone, especially if new buy signals occur (like yellow/green candle labels).
Place your stop-loss below the bottom line of the Silver Zone.
Target: Look for the nearest resistance or opposing zone, or use indicator’s bullish label as confirmation.
Extra Tip:
Multiple touches of the Silver Zone reinforce its importance, but if price closes deeply below it with high volume, that’s a caution signal—support may be breaking.
Black Zone – Logic, Reason, and Trade Planning (as CPPA):
Logic & Visualization:
The Black Zone is created when the closing price is the highest in the chosen window and volume is the lowest in that window.
Visually, a large black-colored box/rectangle appears on the chart, along with thick horizontal lines at the top (high) and bottom (low) of the candle, extending to the right.
Reasoning:
This combination signals a strong “distribution” or resistance area:
Buyers push the price up to a local high, but low volume means there is not much follow-through or conviction in the move.
Often marks exhaustion where uptrend may pause or reverse, as sellers can soon step in.
How to Plan Trades Using Black Zone:
If price revisits the Black Zone in the future, it often acts as major resistance.
Bearish entries (sells) are considered when price is near, testing, or slightly above the Black Zone—especially if new sell signals appear (like blue/red candle labels).
Place your stop-loss just above the top line of the Black Zone.
Target: Nearest support zone (such as a Silver Zone) or next indicator’s bearish label.
Extra Tip:
Multiple touches of the Black Zone make it stronger, but if price closes far above with rising volume, be cautious—resistance might be breaking.
Support Line – Logic, Reason, and Trade Planning (as Cppa):
Logic & Visualization:
The Support Line is a dynamically drawn dashed line (usually blue) that marks key price levels where the market has previously shown significant buying interest.
The line is generated whenever a candle forms a high price with high volume (orange logic).
The script checks for historical pivot lows, past support zones, and even higher timeframe (HTF) supports, and then extends a blue dashed line from that price level to the right, labeling it (sometimes as “Prev Support Orange, HTF”).
Reasoning:
This line helps you visually identify where demand has been strong enough to hold price from falling further—essentially a floor in the market used by professional traders.
If price approaches or re-tests this line, there’s a good chance buyers will defend it again.
How to Plan Trades Using Support Line:
Watch for price to approach the Support Line during down moves. If you see a bullish candlestick pattern, buy labels (yellow/green), or other indicators aligning, this can be a high-probability entry zone.
Great for planning stop-loss for long trades: place stops just below this line.
Target: Next resistance zone, Black Zone, or the top of the last swing.
Extra Tip:
Multiple confirmations (support line + Silver Zone + bullish label) provide powerful entry signals.
If price closes strongly below the Support Line with volume, be cautious—support may be breaking, and a trend reversal or deeper correction could follow.
Resistance Line – Logic, Reason, and Trade Planning (from CPPA):
Logic & Visualization:
The Resistance Line is a dynamically drawn dashed line (usually purple or red) that identifies price levels where the market has previously faced significant selling pressure.
This line is created when a candle reaches a high price combined with high volume (orange logic), or from a historical pivot high/resistance,
The script also tracks higher timeframe (HTF) resistance lines, labeled as “Prev Resistance Orange, HTF,” and extends these dashed lines to the right across the chart.
Reasoning:
Resistance Lines are visual markers of “supply zones,” where buyers previously failed, and sellers took control.
If the price returns to this line later, sellers may get active again to defend this level, halting the uptrend.
How to Plan Trades Using Resistance Line:
Watch for price to approach the Resistance Line during up moves. If you see bearish candlestick patterns, sell labels (blue/red), or bearish indicator confirmation, this becomes a strong shorting opportunity.
Perfect for placing stop-loss in short trades—put your stop just above the Resistance Line.
Target: Next support zone (Silver Zone) or bottom of the last swing.
If the price breaks above with high volume, avoid shorting—resistance may be failing.
Extra Tip:
Multiple resistances (Resistance Line + Black Zone + bearish label) make short signals stronger.
Choppy movement around this line often signals indecision; wait for a clear rejection before entering trades.
Bullish / Bearish Label – Logic, Reason, and Trade Planning:
Logic & Visualization:
The indicator constantly calculates a "Bull Score" and a "Bear Score" based on several factors:
Trend direction from price slope
Confirmation by popular indicators (RSI, ADX, SAR, CMF, OBV, CCI, Bollinger Bands, TWAP)
Adaptive scoring (higher score for each bullish/bearish condition met)
If Bull Score > Bear Score, the chart displays a green "BULLISH" label (usually below the bar).
If Bear Score > Bull Score, the chart displays a red "BEARISH" label (usually above the bar).
If neither dominates, a "NEUTRAL" label appears.
Reasoning:
The labels summarize complex price action and indicator analysis into a simple, actionable sentiment cue:
Bullish: Majority of conditions indicate buying strength; trend is up.
Bearish: Majority signals show selling pressure; trend is down.
How to Use in Trade Planning:
Use the Bullish label as confirmation to enter or hold long (buy) positions, especially if near support/Silver Zone.
Use the Bearish label to enter/hold short (sell) positions, especially if near resistance/Black Zone.
For best results, combine with candle color, volume analysis, or other labels (yellow/green for buys, blue/red for sells).
Avoid trading against these labels unless you have strong confluence from zones/support levels.
Yellow Label (Buy Signal) – Logic, Reason & Trade Planning:
Logic & Visualization:
The yellow label appears below a candle (label.style_label_up, yloc.belowbar) and marks a potential buy signal.
Script conditions:
The candle must be a “yellow candle” (which means it’s at the local lowest close, not a high, with normal volume).
Volume is decreasing for 2 consecutive candles (current volume < previous volume, previous volume < second previous).
When these conditions are met, a yellow label is plotted below the candle.
Reasoning:
This scenario often marks the end of selling pressure and start of possible accumulation—buyers may be stepping in as sellers exhaust.
Decreasing volume during a local price low means selling is slowing, possibly hinting at a reversal.
How to Trade Using Yellow Label:
Entry: Consider buying at/just above the yellow-labeled candle’s close.
Stop-loss: A bit below the candle’s low (or Silver Zone line, if present).
Target: Next resistance level, Black Zone, or chart’s bullish label.
Extra Tip:
If the yellow label is found at/near a Silver Zone or Support Line, and trend is “Bullish,” the setup gets even stronger.
Avoid trading if overall indicator shows “Bearish.”
Green Label (Buy with Increasing Volume) – Logic, Reason & Trade Planning:
Logic & Visualization:
The green label is plotted below a candle (label.style_label_up, yloc.belowbar) and marks a strong buy signal.
Script conditions:
The candle must be a “yellow candle” (at the local lowest close, normal volume).
Volume is increasing for 2 consecutive candles (current volume > previous volume, previous volume > second previous).
When these conditions are met, a green label is plotted below the candle.
Reasoning:
This scenario signals that buyers are stepping in aggressively at a local price low—the end of a downtrend with strong, rising activity.
Increasing volume at a price low is a classic sign of accumulation, where institutions or large players may be buying.
How to Trade Using Green Label:
Entry: Consider buying at/just above the green-labeled candle’s close for a momentum-based reversal.
Stop-loss: Slightly below the candle’s low, or the Silver Zone/support line if present.
Target: Nearest resistance zone/Black Zone, indicator’s bullish label, or next swing high.
Extra Tip:
If the green label is near other supports (Silver Zone, Support Line), the setup is extra strong.
Use confirmation from Bullish labels or trend signals for best results.
Green label setups are suitable for quick, high momentum trades due to increasing volume
Blue Label (Sell Signal on Decreasing Volume) – Logic, Reason & Trade Planning:
Logic & Visualization:
The blue label is plotted above a candle (label.style_label_down, yloc.abovebar) as a potential sell signal.
Script conditions:
The candle is a “blue candle” (local highest close, but not also lowest, and volume is neither highest nor lowest).
Volume is decreasing over 2 consecutive candles (current volume < previous, previous < two ago).
When these match, a blue label appears above the candle.
Reasoning:
This typically signals buyer exhaustion at a local high: price has gone up, but volume is dropping, suggesting big players may not be buying any more at these levels.
The trend is losing strength, and a reversal or pullback is likely.
How to Trade Using Blue Label:
Entry: Look to sell at/just below the candle with the blue label.
Stop-loss: Just above the candle’s high (or above the Black Zone/resistance if present).
Target: Nearest support, Silver Zone, or a swing low.
Extra Tip:
Blue label signals are stronger if they appear near Black Zones or Resistance Lines, or when the general market label is "Bearish."
As with buy setups, always check for confirmation from trend or volume before trading aggressively.
Blue Label (Sell Signal on Decreasing Volume) – Logic, Reason & Trade Planning:
Logic & Visualization:
The blue label is plotted above a candle (label.style_label_down, yloc.abovebar) as a potential sell signal.
Script conditions:
The candle is a “blue candle” (local highest close, but not also lowest, and volume is neither highest nor lowest).
Volume is decreasing over 2 consecutive candles (current volume < previous, previous < two ago).
When these match, a blue label appears above the candle.
Reasoning:
This typically signals buyer exhaustion at a local high: price has gone up, but volume is dropping, suggesting big players may not be buying any more at these levels.
The trend is losing strength, and a reversal or pullback is likely.
How to Trade Using Blue Label:
Entry: Look to sell at/just below the candle with the blue label.
Stop-loss: Just above the candle’s high (or above the Black Zone/resistance if present).
Target: Nearest support, Silver Zone, or a swing low.
Extra Tip:
Blue label signals are stronger if they appear near Black Zones or Resistance Lines, or when the general market label is "Bearish."
As with buy setups, always check for confirmation from trend or volume before trading aggressively.
Here’s a summary of all key chart labels, zones, and trading logic of your Price Action script:
Silver Zone: Powerful support zone. Created at lowest close + highest volume. Best for buy entries near its lines.
Black Zone: Strong resistance zone. Created at highest close + lowest volume. Ideal for short trades near its levels.
Support Line: Blue dashed line at historical demand; buyers defend here. Look for bullish setups when price approaches.
Resistance Line: Purple/red dashed line at supply; sellers defend here. Great for bearish setups when price nears.
Bullish/Bearish Labels: Summarize trend direction using price action + multiple indicator confirmations. Plan buys, holds on bullish; sells, shorts on bearish.
Yellow Label: Buy signal on decreasing volume and local price low. Entry above candle, stop below, target next resistance.
Green Label: Strong buy on increasing volume at a price low. Entry for momentum trade, stop below, target next zone.
Blue Label: Sell signal on dropping volume and local price high. Entry below candle, stop above, target next support.
Best Practices:
Always combine zone/label signals for higher probability trades.
Use stop-loss near zones/lines for risk management.
Prefer trading in the trend direction (bullish/bearish label agrees with your entry).
if Any Question, Suggestion Feel free to ask
Disclaimer:
All information provided by this indicator is for educational and analysis purposes only, and should not be considered financial advice.
First Passage Time - Distribution AnalysisThe First Passage Time (FPT) Distribution Analysis indicator is a sophisticated probabilistic tool that answers one of the most critical questions in trading: "How long will it take for price to reach my target, and what are the odds of getting there first?"
Unlike traditional technical indicators that focus on what might happen, this indicator tells you when it's likely to happen.
Mathematical Foundation: First Passage Time Theory
What is First Passage Time?
First Passage Time (FPT) is a concept in stochastic processes that measures the time it takes for a random process to reach a specific threshold for the first time. Originally developed in physics and mathematics, FPT has applications in:
Quantitative Finance: Option pricing, risk management, and algorithmic trading
Neuroscience: Modeling neural firing patterns
Biology: Population dynamics and disease spread
Engineering: Reliability analysis and failure prediction
The Mathematics Behind It
This indicator uses Geometric Brownian Motion (GBM), the same stochastic model used in the Black-Scholes option pricing formula:
dS = μS dt + σS dW
Where:
S = Asset price
μ = Drift (trend component)
σ = Volatility (uncertainty component)
dW = Wiener process (random walk)
Through Monte Carlo simulation, the indicator runs 1,000+ price path simulations to statistically determine:
When each threshold (+X% or -X%) is likely to be hit
Which threshold is hit first (directional bias)
How often each scenario occurs (probability distribution)
🎯 How This Indicator Works
Core Algorithm Workflow:
Calculate Historical Statistics
Measures recent price volatility (standard deviation of log returns)
Calculates drift (average directional movement)
Annualizes these metrics for meaningful comparison
Run Monte Carlo Simulations
Generates 1,000+ random price paths based on historical behavior
Tracks when each path hits the upside (+X%) or downside (-X%) threshold
Records which threshold was hit first in each simulation
Aggregate Statistical Results
Calculates percentile distributions (10th, 25th, 50th, 75th, 90th)
Computes "first hit" probabilities (upside vs downside)
Determines average and median time-to-target
Visual Representation
Displays thresholds as horizontal lines
Shows gradient risk zones (purple-to-blue)
Provides comprehensive statistics table
📈 Use Cases
1. Options Trading
Selling Options: Determine if your strike price is likely to be hit before expiration
Buying Options: Estimate probability of reaching profit targets within your time window
Time Decay Management: Compare expected time-to-target vs theta decay
Example: You're considering selling a 30-day call option 5% out of the money. The indicator shows there's a 72% chance price hits +5% within 12 days. This tells you the trade has high assignment risk.
2. Swing Trading
Entry Timing: Wait for higher probability setups when directional bias is strong
Target Setting: Use median time-to-target to set realistic profit expectations
Stop Loss Placement: Understand probability of hitting your stop before target
Example: The indicator shows 85% upside probability with median time of 3.2 days. You can confidently enter long positions with appropriate position sizing.
3. Risk Management
Position Sizing: Larger positions when probability heavily favors one direction
Portfolio Allocation: Reduce exposure when probabilities are near 50/50 (high uncertainty)
Hedge Timing: Know when to add protective positions based on downside probability
Example: Indicator shows 55% upside vs 45% downside—nearly neutral. This signals high uncertainty, suggesting reduced position size or wait for better setup.
4. Market Regime Detection
Trending Markets: High directional bias (70%+ one direction)
Range-bound Markets: Balanced probabilities (45-55% both directions)
Volatility Regimes: Compare actual vs theoretical minimum time
Example: Consistent 90%+ bullish bias across multiple timeframes confirms strong uptrend—stay long and avoid counter-trend trades.
First Hit Rate (Most Important!)
Shows which threshold is likely to be hit FIRST:
Upside %: Probability of hitting upside target before downside
Downside %: Probability of hitting downside target before upside
These always sum to 100%
⚠️ Warning: If you see "Low Hit Rate" warning, increase this parameter!
Advanced Parameters
Drift Mode
Allows you to explore different scenarios:
Historical: Uses actual recent trend (default—most realistic)
Zero (Neutral): Assumes no trend, only volatility (symmetric probabilities)
50% Reduced: Dampens trend effect (conservative scenario)
Use Case: Switch to "Zero (Neutral)" to see what happens in a pure volatility environment, useful for range-bound markets.
Distribution Type
Percentile: Shows 10%, 25%, 50%, 75%, 90% levels (recommended for most users)
Sigma: Shows standard deviation levels (1σ, 2σ)—useful for statistical analysis
⚠️ Important Limitations & Best Practices
Limitations
Assumes GBM: Real markets have fat tails, jumps, and regime changes not captured by GBM
Historical Parameters: Uses recent volatility/drift—may not predict regime shifts
No Fundamental Events: Cannot predict earnings, news, or macro shocks
Computational: Runs only on last bar—doesn't give historical signals
Remember: Probabilities are not certainties. Use this indicator as part of a comprehensive trading plan with proper risk management.
Created by: Henrique Centieiro. feedback is more than welcome!
Bearish Pin Bar Detector - BANN DONGLINGPin bars are among the most reliable single-candlestick patterns, signaling strong price rejection. Our precise detector identifies Bearish Pin Bars (or Shooting Stars) based on strict, customizable geometric rules (long upper wick, small body).
Precision: Customize the body-to-wick ratio to filter out weak signals.
Confidence: Spot strong selling pressure and potential swing highs.
Renko Reversal Alert -BANN DONGLINGRenko charts eliminate market noise, making trend changes crystal clear. This feature alerts you the instant the Renko bricks change color (e.g., from red to green), providing a clean, confirmed signal of a potential trend reversal.
Clarity: Get alerted only when a full brick confirms a direction change.
Speed: Catch the reversal as it happens, without waiting for complex patterns.
Elite Entries Custom Pullback Signals PremiumElite Entries Custom Pullback Signals Premium
Turn simple MA crosses into qualified pullbacks—with risk and retest logic baked in.
What it is
A pro toolkit for trend trading and re-entries. It fuses fast/slow moving averages (SMA/EMA/HMA/WMA/HEMA/T3), MTF control per MA, volume gating, and an ATR trailing-stop engine that can gate new entries until the prior trade is closed. Visual boxes mark crossover zones, triangles tag retests aligned with your stop, and a compact HUD shows your active preset and risk settings.
Why traders love it
Smart pullback engine: crossover zones + retest signals at your live ATR stop
True MTF control: set separate timeframes for fast/slow MAs
External indicator routing: optionally feed Fast/Slow from any other plotted source
Risk first: ATR TSL (wick or close), optional “Gate while active” to block new signals mid-trade
Clean read: gradient trend fill, adaptive bar colors, compact preset HUD
Instant workflow: full alert suite for entries, retests, and stop hits
What’s inside
Presets: NQ Open Drive, NQ Trend Rider, Mean-Rev Scalps, Crypto Breakout, ES Smooth Trend, Retest Sniper, 1-Min Swing, Chop-Guard Re-Entry.
Each preset auto-loads MA types/lengths, HTFs, ATR stop, volume gates, and gating behavior.
MA Options: SMA / EMA / HMA / WMA / HEMA / T3 (with v-factor).
MTF: Select a custom timeframe for Fast and Slow independently.
External Inputs: Replace Fast/Slow with external indicator sources (great for using your HTF baseline, custom VWAP, etc.).
Volume Filter: Require volume Above/Below SMA(length).
ATR Trailing Stop: Length & multiplier, Wicks vs Close trigger, show line/labels, and Gate While Active to prevent over-trading.
Visuals:
Boxes print at crossover origin (context for the pullback zone)
Retest triangles when price re-engages near the live TSL
Stop-hit markers, gradient trend fill, bar coloring
HUD table: preset, MA specs, ATR, wicks, gate, volume status
Alerts: Bullish/Bearish crossover, Bullish/Bearish retest @ stop, Long/Short stop hit.
How to use (quick start)
Pick a Preset (start with NQ Open Drive or ES Smooth Trend).
(Optional) Route Fast/Slow from your favorite external indicator plots.
Choose MTF for each MA if you want HTF guidance.
Decide on Volume filter and set ATR TSL (Wicks vs Close).
Keep Gate While Active ON to stop double-stacking signals mid-trade.
Turn on alerts and trade the retests back into the trend.
Best-use ideas
Open drive trend: EMA(9) vs T3(34@5m), gate while active, wicks off → fast trend entries + clean stop management.
Retest sniper: HEMA(13) vs EMA(34@3m), volume Above(20), gate ON → wait for retest triangle aligned with TSL.
Mean-rev scalps: HMA(8) vs EMA(20), gate OFF, close-trigger → nimble entries without staying locked.
Works on
Any symbol, any timeframe (futures, indices, crypto, FX, stocks). Pairs especially well with Heikin Ashi for visual clarity.
Disclaimer
For education only; not financial advice. Practice and forward-test before going live.
Ultimate Crypto Trend & Liquidity Screener v11. Overview & Originality
This script is an advanced, all-in-one screening tool designed specifically to identify high-potential, trend-following opportunities within the cryptocurrency market. While many screeners focus on single conditions, the "Ultimate Crypto Trend & Liquidity Screener" is original in its multi-layered approach, combining seven distinct logical checks into a single, cohesive framework.
Its primary innovation is the calculation of a "Total Score," which quantifies how well an asset conforms to the ideal characteristics of a tradable trend. This allows traders to move beyond simple binary (yes/no) filtering and instead rank the entire market to find the absolute best candidates that match their strategy.
The script is fully compatible with the TradingView Pine Screener, outputting each individual condition and the Total Score as separate columns for powerful, flexible market analysis.
2. Core Concepts & How It Works
This screener is built on the core principles of classic trend-following. It evaluates assets against a comprehensive checklist to ensure they are not only trending, but are also liquid, volatile, and at a strategic entry point.
The script systematically checks for:
Liquidity: Ensures the asset is actively traded with significant dollar volume, which is crucial for minimizing slippage. It checks both the daily turnover and the 30-day average volume.
Trend Confirmation: Utilizes a dual-moving average system (20/50 SMA default) to confirm the underlying trend direction. It also includes an optional filter to ensure the long-term moving average is actively sloping upwards, confirming trend health.
Trend Strength: Employs the Average Directional Index (ADX) to measure the strength of the trend, filtering out weak or choppy price action.
Momentum: Uses the Relative Strength Index (RSI) to confirm that the asset has positive momentum, as strong trends are supported by sustained buying pressure.
Volatility: Measures volatility using the Average True Range (ATR) as a percentage of the price. This ensures the asset has enough movement to be profitable, a key factor in the 24/7 crypto market.
Strategic Entry: Offers a user-selectable "Entry Mode." You can choose between:
Breakout Mode: Identifies assets breaking out to new highs on a surge of volume.
Pullback Mode: Identifies assets already in a strong uptrend that are experiencing a healthy dip to a key moving average, offering a potentially better risk/reward entry.
3. How to Use This Script
This indicator is designed for two primary workflows:
Single-Asset Analysis: When you apply the script to any crypto chart, a detailed diagnostic table will appear in the bottom-right corner. This table provides a real-time checklist, showing true or false for each of the 7 conditions and the final score, allowing for a quick and deep analysis of any individual asset.
Full Market Screening (Recommended):
Open the Crypto Screener on TradingView.
Click the "Filters" button and at the bottom of the menu, select this script ("Ultimate Crypto Trend & Liquidity Screener").
Click the "Columns" button on the screener and add the columns generated by this script, such as "Total Score," "Liquidity OK," "Entry Signal OK," etc.
You can now sort the entire crypto market by "Total Score" to instantly find the strongest candidates, or filter for assets that meet specific conditions (e.g., Total Score > 5 ).
4. Inputs & Customization
All parameters within this script are fully customizable via the "Settings" menu. The default values have been tuned for general use in the crypto market (e.g., faster moving averages, higher volatility thresholds), but you are encouraged to adjust them to fit your specific trading style, preferred timeframes, and risk tolerance.
5. Disclaimer
This tool is designed for educational and analytical purposes to aid in the decision-making process. It does not provide financial advice or guarantee trading success. Past performance is not indicative of future results. Always use this screener in conjunction with your own comprehensive analysis and robust risk management practices. This script is published open-source to encourage community learning and collaboration.
ReqoverAI Indicator Zero LagPrecision-Engineered AI tool for Multi-Asset Trading Strategies. This AI tool is designed to work for all time frames and asset classes (like Stocks, Commodities, Forex, Crypto and other Digital Assets)
orderflow, moneyflow, confluence, divergence, momentumorderflow, moneyflow, confluence, divergence, momentum
whang master trend🔥 Smart EMA + MACD + RSI Trend Filter
Catch real trends — avoid false signals!
Looking for clean and reliable trade alerts?
This script combines the power of EMA crossover, MACD momentum, and RSI trend strength — all in one simple tool.
📈 Buy Signal: EMA14 crosses above EMA70, MACD > 0, and RSI > 60
📉 Sell Signal: EMA14 crosses below EMA70, MACD < 0, and RSI < 40
✅ Both EMAs must slope in the same direction — no more sideways traps!
💡 Why traders love it:
Easy setup — plug & play
Directional EMA filter removes noise
Custom RSI timeframe filter for higher accuracy
Real-time alerts via Any alert() function call
Built-in RSI mini panel for quick reference
Perfect for traders who want to ride the trend, stay out of choppy markets,
and receive clear alerts at the right time.
✨ Add it to your chart today — let smart filters guide your trades 🚀
AlgoIndex - All Stages (AM & Mid-Day Long/Short)Scope (read first)
ES1! on 5-minute only. The strategy backtests ES fills; alerts can post JSON messages to a Webhook URL you configure. Exits are target-based with ITTC - if ES touches target intra-bar, an exit alert is sent immediately. No fixed ES stop-loss. Positions can also exit at scheduled time-based safety closes (session end, holiday/half-day, or expiration end). You can always close manually.
What this is
One intraday engine with four session presets (“Stages”). Stages only change session windows, trade side, and a few risk/confirmation governors—the core logic is the same. Single invite-only listing; not a multi-post suite.
How it trades
Opening Range (OR): Each Stage begins with a short OR at its session start; that Stage won’t take entries until its OR closes.
VWAP alignment: Trade with flow. Price must align with VWAP (simple pass/fail; optional gap offset).
Real breakouts only: A composite “impulse” check looks for volume expansion, recent momentum, ATR-scaled range, body/range quality, and a clean OR break (or a gap-aware extension).
Entry & target: Entries occur on the signal bar’s close; targets are set in underlying (ES) units.
ITTC (close on touch): If ES touches target intra-bar, ITTC sends a one-shot exit.
Adds (preset by Stage): S1/S2/S3 allow up to two adds on defined ES retraces; S4 disables adds. Adds use a fixed scale-out policy handled internally—no user input required.
Time-based safety closes: At the configured session end (and on holiday/half-day or expiration when applicable), any open position is closed. These are time exits, not price stops.
Why traders use it
A progressive filter for intraday continuity: OR context → VWAP alignment → authentic breakout (impulse) → ITTC to sync ES triggers with options execution. Stage-governed adds keep scaled positions coherent from open to close.
Stages (session templates; one engine)
S1 — 09:30–11:20 NY, Long-only. Standard impulse; adds ON.
S2 — 09:30–11:30 NY, Short-only. Tighter breakout standard; adds ON.
S3 — 11:15–15:15 NY, Long-only. Trade-protection ON; slightly lower underlying target; adds ON.
S4 — 11:30–14:30 NY, Short-only. Alternative trigger governor; slightly lower underlying target; adds OFF.
You can replicate any Stage via session times, side, and thresholds; presets exist for convenience and auditability.
Public inputs (what you can adjust)
Contracts (order size)
TP (Underlying) and TP (Options)
Trade Limiter (toggle) + Max profitable trades per session
Session settings: Exchange Day Session times, optional Custom Time Zone, Session 1 times, optional Session 2, and day-of-week checkboxes
Visual overlays (display-only): VWAP, Prior-Day High/Low, Session High/Low, Round Numbers, Bias Banner, Trade Markers
Display: Inputs in status line
Alerts (how to use)
Create an alert on this strategy and select “Any alert() function call.” (Optional) add a Webhook URL you control to receive the JSON the script sends. Leave Message empty.
Backtest vs options (read carefully)
Backtests show ES fills on 5-minute bars; options pricing (IV, DTE, spreads, partial fills) isn’t simulated. Because live execution uses options, ES PnL is a directional proxy only.
Evaluate quality via: trade count (target ≥100), win rate, average time-in-trade, MAE/MFE, and holding-time distribution. Do not read ES $ PnL as expected options returns—actual options outcomes depend on strike/DTE, IV regime, spreads, and execution.
Defaults used in this publication (match these before interpreting results)
Dataset: last 12–24 months of ES1! 5-minute RTH (to ensure ≥100 trades)
Initial capital: $25,000
Commission: $1.00 per order per contract (≈ $2 round-trip)
Slippage: 1 tick
Order size: 1 contract; pyramiding only for Stage-governed adds
No fixed ES stop-loss; exits are target-based with ITTC and scheduled safety closes
Operating notes
ES1! symbol only; 5-minute resolution only
You can run multiple Stages in parallel via separate tabs/alerts; if you want a single net position across Stages, enforce it in your own tooling (e.g., ignore new orders while a position is open)
Use a clean chart when publishing (only this strategy active)
Keep results separate by using four TradingView tabs (one per Stage)
Disclosures
Educational research tool, not financial advice. Past or hypothetical performance does not guarantee future results. Trading involves risk, including the risk of loss. Test thoroughly and use at your own discretion.
geminiNiftyhi it gives buy sell signal this is using price action with cpr indicator
works well on trending day
WHANG EMA-MACD🔥 Smart EMA14 x EMA70 + MACD Trend Alert System
Description:
Tired of chasing false signals?
This simple but powerful indicator helps you catch real trend moves — not the noise.
When EMA14 crosses EMA70 with MACD confirmation, and both EMAs point the same way, you’ll get a clean Buy or Sell alert right on your chart.
No messy settings, no guessing — just clear signals in strong trends.
✨ Features:
🔔 Real-time alerts via “Any alert() function call”
🟢 Buy when EMA14 crosses above EMA70 + MACD > 0
🔴 Sell when EMA14 crosses below EMA70 + MACD < 0
📈 Trades only when both EMAs slope in the same direction
⚙️ Customizable inputs for any market or timeframe
How to use:
Add the indicator to your chart
Create an alert → choose Any alert() function call
Relax and wait for your signals — no need to watch every candle!
Perfect for traders who want to follow the trend, avoid sideways traps, and get early alerts when momentum kicks in 🚀
Elipli5648This indicator displays two moving averages on the same chart — the 9-period and 200-period simple moving averages (SMA).
Both lines are customizable in color and line width directly from the settings menu.
Useful for identifying short-term vs long-term trend direction.
Liquidity StatusKey Points
The Liquidity Status (LS) indicator is designed to directly monitor liquidity conditions and determine if they are Bullish or Bearish.
If conditions are bullish, the candle is painted green (or whichever color is chosen by you to represent bullish liquidity) and the expected price action is up.
If conditions are bearish, the candle is painted red (or whichever color is chosen by you to represent bearish liquidity) and the expected price action is down.
LS allows you to monitor for when traders are absorbing or supplying liquidity and in which direction the liquidity is flowing.
LS works on equities, cryptocurrencies, forex, options data, and futures.
Summary
The Liquidity Status (LS) indicator measures liquidity directly without relying on bid/ask spreads, order-book information, or any other traditional means. The benefit of this non-traditional approach is a novel and unique way to interpret and analyze liquidity in the market.
LS is designed to be as straightforward as possible: when conditions are bullish then the outlook is bullish and the candles are painted the bullish color (default: green), and when conditions are bearish then the outlook is bearish and the candles are painted the bearish color (default: red).
This means the candles are not colored based on their price movements but rather based on their liquidity status.
Additionally, LS indicates Liquidity Flow (LF) as well. LF indicates where the source of liquidity is or is moving towards: either towards the Ask (if the Bid is requiring liquidity then the liquidity source becomes the Ask), or towards the Bid (if the Ask is requiring liquidity then the liquidity source becomes the Bid). This can be helpful in early identification of trend changes.
The default settings are designed to be streamlined but the Settings section below outlines how to add additional information and detail to your charts if desired.
Examples
An example of LS on default setting:
With Full and Declarative reporting:
ES Futures:
Details
In the default settings, LS indicates if conditions are:
Bullish : meaning that current liquidity is bullish and so too are outlooks, or
Bearish: meaning that current liquidity is bearish and so too are outlooks.
There are additional data that are provided via LS, if toggled on (as described below). They include:
Aggressive Bid / Ask : This indicates that there is an aggressive trader present. Aggressive traders are large liquidity absorbers and are defined as having a sense of urgency in their trading that will cause them to go where-ever (whichever price) they can in order to transact. A classic Aggressive Bid, for instance, is a short-seller currently being squeezed.
Eager Bid / Ask : This indicates that there is an eager trader present. Eager traders are defined by their willingness to “cross the isle” in order to transact. For example, an eager bid will move to the ask in order to transact whereas an organic bid would not.
Organic Bid / Ask : This indicates that transactions are occurring at the organic traders. Organic traders are defined as having a large time-horizon and are value-seekers. For instance, an organic ask will likely move price up in order to sell high (the second part of buy low, sell high).
Additionally, LS indicates LF by specifying which party has the demand for liquidity and which has the supply for liquidity.
Flow to Ask : This indicates that the demand to transact is flowing to the ask (i.e.: the bid needs to transact more than the ask) and thus the ask is becoming the liquidity supplier.
Flow to Bid : This indicates that the demand to transact is flowing to the bid (i.e.: the ask needs to transact more than the bid) and thus the bid is becoming the liquidity supplier.
Neutral : No discernable difference in liquidity demand.
In combination, these signals can produce powerful measurements of underlying liquidity activity. For instance:
If LS indicates “At Organic Ask” and LF indicates “Flow to Ask” then this means that (1) transactions are predominantly occurring at or near the organic ask and (2) the organic ask is the dominate liquidity supplier. The consequence is likely substantial price appreciation (remember: the organic ask wants to sell high and now they are setting the terms and conditions of transacting!).
Example - How it started: transactions started to occur at the Organic Ask with Flow to Ask:
Example - How it ended:
Conversely, “At Organic Bid” and “Flow to Bid” indicates that transactions are predominantly occurring at or near the organic bid (who wants to buy low) and they the ones fulfilling the demand to transact coming from the ask. The expected outlook? Price depreciation as the organic bid lowers their orders to average down!
Example - How it started: transactions started to occur at Organic Bid with Flow to Bid:
Example - How it ended:
Lastly, LS (in combination with Liquidity Triggers) can identify moments of high-risk for bull and bear traps (see FAQ for details on how traps are found).
Example: Bear-Trap (with LT displayed)
Example: Bull-Trap (with LT displayed)
Customization
LS has many customization options available.
Sensitivity Mode
LS comes in a variety of sensitivities (for the nerds: adjusting the Sensitivity vs. Specificity), outlined below:
Aggressive : The Aggressive sensitivity mode puts LS in a state of hyper-awareness for anything that might indicate a change in overall liquidity status (i.e.: Bullish to Bearish or Bearish to Bullish) is underway. The benefit of the Aggressive mode is that it does not take much for LS to change its mind about current conditions. The trade-off, however, is increase in false alarms.
Balance : The balanced setting works to balance specificity (how right LS is) with sensitivity (how much chang it takes to convince LS to change its mind).
Conservative : The conservative setting is prone to change slower than both Aggressive and Balance but is intended to be more “certain” of the changes when they are indicated. This can lower the sensitivity (early entrances to trend-changes might be delayed slightly) in exchange for greater confidence in the future.
Diamond : This is the most specific and least sensitive option. Designed for when you only want LS to indicate a change with the strictest of criteria met.
Examples:
Aggressive LS:
Balanced LS:
Conservative LS:
Diamond LS:
LS Detail Amount
Controls how much detail and information you want displayed.
Simplified : Keeps messaging straightforward: Bearish or Bullish.
Full : Parsing the data for greater detail about if conditions are Strong or Weak. Produces candles and text output.
LS Reporting Style
Interpretive : Text output from LS is kept as either Bullish or Bearish.
Declarative : Additional information regarding if the transactions are being performed by an Aggressive, Eager or Organic trader.
LS Candle Replacement
In order to have LS produce candles colored by liquidity, the `LS Candle Replacement` option must be selected, along with deselecting the charts candle-making by going to Settings -> Symbol and de-selecting `Body`, `Border`, and `Wick`.
Otherwise, LS’ colors will be over-ridden by the chart.
Alerts
LS comes with several alerts to help keep track of changing liquidity conditions in the market. They include:
Is Bullish / Bearish : fires at the start of the candle if conditions are bullish/bearish.
Has Become Bullish / Bearish : Fires at the end of the candle if conditions have swapped (as compared to the previous candle).
Flow is to Ask / Bid : Fires at the start of the candle to indicate which direction liquidity is flowing via LF.
Flow Switch to Bid / Ask : Fires if there is a change in the LF from one to the other.
Suspected Bear Trap : Fires if a bear trap is detected.
Suspected Bear Trap Ended : Fires if an on-going bear-trap has ended.
Suspected Bull Trap : Fires if a bull trap is detected.
Suspected Bull Trap Ended : Fires if an on-going bull-trap has ended.
Frequently Asked Questions
How can I get access to LS?
Please see the Author’s Instructions for more information.
Where can I get more information on LS?
Please see the Author’s Instructions for more information.
I tried to add LS to my chart but nothing is showing.
That’s no good! Be sure that the indicator hasn’t errored out (if there is a small red dot next to its name then it has errored out). If it has, then try re-applying the indicator to your chart.
If there is no error indicated, and you still do not see anything it may be likely that the requested symbol either:
Doesn’t have sufficient data to calculate LS on, or
Lacks the data for LS to be calculated completed.
To check, try using LS on a smaller interval. If LS starts to populate, it is likely that the needed data is present but just not enough for the timeframe you were interested in. If there is no LS even when moving to lower intervals, then it may be that the specified underlying lacks the required data.
How come LS is saying things are Bearish but price is going up?
Sometimes that can happen! But until LS indicates bullish liquidity, the expectation is that price will fall back down.
How come LS is saying things are Bullish but price is going down?
Sometimes that can happen! But until LS indicates bearish liquidity, the expectation is that price will recover and continue moving on upwards.
How do you locate Bear and Bull traps?
LS has LT (Liquidity Triggers) baked into it for alerts and uses LT to compare expected conditions with real conditions. If LS and LT are mismatched then a trap is detected. The LT conditions checked are:
If LT is in a bull-stack : that means LT(144) > LT(377) > LT(610), or
If LT is in a bear-stack : that means LT(610) < LT(377) < LT(144)
Then once the stack is determined, if LS disagrees:
LS is indicating Bullish while LT is in a bear-stack, or
LS is indicating Bearish while LT is in a bull-stack
Then the alert is triggered (based off of LT’s orientation). This means:
If conditions are Bullish but LT is showing a Bearish stack, then a Bull Trap is detected, and
If conditions are Bearish but LT is showing a Bullish Stack, then a Bear Trap is detected.
I have questions and maybe a bug!
Please reach out and report! Please refer to the Author’s Instructions for more information on how to reach out.
Does LS get updates?
Yup! Improvements come relatively frequently and if you have any suggestions for improvements, please don’t hesitate to reach out.
MA Distance IndicatorThe distance from a moving average is a common way to look at how extended a stock is. This simplifies it a bit by plotting the distance below the chart, so you don't have to eyeball estimate it.
This indicator allows plotting the distance from 2 MAs, one is a histogram and one is a line.
The line MA is off by default.
The scale factor is in case you are using it intraday, it helps with small multiples of the Moving Average that would be common intraday.
"Scale by" lets you decide if the distance is measured as a percentage of the moving average level or as a count of ATRs.
Fib Retrace + Extensions (v6– safe version) v 1🌀 Fib Extension Plus Retracement Strategy: Complete Overview
📊 Purpose and Core Idea
The Fib Extension Plus Retracement Strategy is a hybrid price-action methodology that blends Fibonacci Retracement and Fibonacci Extension tools to map high-probability entry, exit, and target zones within trending markets.
It is designed for precision timing, measured risk exposure, and trend-continuation trading.
By uniting both retracement and extension logic, traders can capture the entire lifecycle of a move — from the pullback phase to the breakout and projected expansion wave.
HTF Candles - DolphinTradeBot1️⃣ Overview
The "HTF Candles - DolphinTradeBot" indicator displays higher timeframe (HTF) candlesticks and their OHLC (Open, High, Low, Close) levels on any lower timeframe chart.
While staying on lower timeframes this helps confirm entries or reversals and visualize major market structure, trend bias, and key price zone
2️⃣ How to Use It ?
Use these levels to identify major support/resistance or trend structure.
Observe higher timeframe candle formations (e.g., engulfing, pin bar, doji)
3️⃣ ⚙️Settings
TimeFrame → Select the higher timeframe to display.
Show OHLC Levels → Toggle lines for Open, High, Low, Close.
Line Colors → Customize the color for each level.
Futures Correlation Dashboard# 📊 Futures Correlation Dashboard
## Track Multiple Market Indicators in One View
Monitor ES, NQ, YM, VIX, USI:ADD , and USI:TICK simultaneously to see how the futures markets are moving together in real-time.
---
## 🎯 What's Included
**6 Market Instruments:**
- **ES** - S&P 500 Futures
- **NQ** - Nasdaq 100 Futures
- **YM** - Dow Jones Futures
- **VIX** - Volatility Index
- ** USI:ADD ** - NYSE Advance-Decline Line
- ** USI:TICK ** - NYSE Tick Index
**Live Data Table:**
- Current prices and percentage changes
- Real-time status indicators
- Market sentiment overview
---
## 📈 Features
✅ Multi-panel layout showing all 6 instruments simultaneously
✅ Customizable alert thresholds for USI:ADD and USI:TICK
✅ Color-coded visual indicators
✅ Works on any timeframe
✅ Live updates with market data
---
## 🔔 Alert Conditions
Set alerts for:
- USI:ADD crossing your custom thresholds
- USI:TICK extreme readings
- VIX movement patterns
- Confluence between multiple indicators
*Configure alert levels in the indicator settings.*
---
## ⚙️ Customizable Settings
Adjust thresholds for:
- USI:ADD bullish/bearish levels
- USI:TICK bullish/bearish levels
- USI:TICK extreme readings
- Display options for each instrument
---
## 💡 Use Cases
**Monitoring Market Activity:**
See multiple futures contracts and market internals without switching between charts.
**Correlation Analysis:**
Watch how different instruments move relative to each other throughout the trading session.
**Data Aggregation:**
Consolidate key market data into a single, organized view for faster decision-making.
---
## ⚠️ Requirements
- TradingView Premium or higher (for real-time multi-symbol data)
- Data subscriptions for: CME futures, CBOE VIX, and NYSE internals ( USI:ADD , USI:TICK )
- Compatible with all timeframes
---
## 📊 Who Is This For?
- Futures traders wanting consolidated market data
- Day traders monitoring multiple instruments
- Anyone interested in tracking market breadth alongside price action
- Traders who want to see correlations between ES, NQ, YM and market internals
---
## Technical Specifications
- Built with Pine Script v5
- Uses `request.security()` for multi-symbol data
- Real-time calculations and updates
- Minimal chart space usage with organized panel layout
---
*This indicator displays market data and calculated values. It does not provide trading signals or recommendations. Use at your own risk and always practice proper risk management.*
MM-Auto SQ9 V1.0MM-Auto SQ9 V1.0 — Automatic Square-of-9 levels from a selected pivot (Bottom/Top). Choose base shape or Custom Angle, optional half-angles, cycles, and full color/style control.
Disclaimer: Educational purposes only — not financial advice.
**What it is**
A visual Gann Square-of-9 level engine. It projects horizontal SQ9 price levels from a single pivot using root/square transforms, with selectable geometric bases (90°/60°/72°/120°/45°) or a **Custom Angle**, optional **Sub-Angles (half-angles)**, multi-cycle expansion, full styling control, and a **draggable 0-line** pivot.
**Key features**
* **Draggable 0-line:** Drag the pivot line on the chart and drop it on any swing high/low — no need to type the reference price. Levels recalc instantly.
* **Bottom/Top modes** for projection direction.
* **Shapes or Custom Angle** (Square/Octagon/Hexagon/Triangle/Pentagon or your own).
* **Sub-Angles (½)** with separate style/color.
* **Cycles** to extend the grid.
* **Clean UI**: labels (size/distance), line thickness/style/colors, pivot line style.
**Inputs (quick guide)**
Pivot Price • Pivot Type (Bottom/Top) • Space Multiplier • Geometric Shape / Custom Angle Value • Number of Cycles • Show Sub-Angles & Line Style • Colors & Line Thickness • Labels (on/size/distance).
**Workflow**
1. Drag the **0-line** to your pivot (any swing high/low) or set **Pivot Price** and **Bottom/Top**.
2. Pick shape or **Custom Angle**; increase **Cycles** if needed.
3. Tune **Space Multiplier** to align levels with historical reactions.
4. (Optional) Enable **Sub-Angles** for finer structure.
5. Observe **bounce / break / retest** around levels and combine with your system.
**Pro tips**
* Use a **structural swing** as pivot.
* Reduce clutter by lowering cycles or disabling sub-angles.
* Pair with **market structure / volume / ATR / fractals** for decision support.
* Adjust label size/distance to keep charts clean.
**Troubleshooting (dragging)**
If the 0-line doesn’t move, ensure drawings are **unlocked** and “Move drawings” is enabled in chart settings.
**Disclaimer & Rights**
Educational purposes only — **not financial advice**.
Script programmed by **Mohammad Murad (MM)**.
© 2025 **Mohammad Murad**. **All rights reserved.** No unauthorized copying, distribution, or resale.
## 🇸🇦/🇸🇾 الوصف العربي
**ما هو المؤشّر؟**
محرّك مستويات جان **Square-of-9** يعرض مستويات سعرية أفقية من **Pivot** واحد باستخدام تحويل الجذر/التربيع، مع اختيار شكل زاوي جاهز (90°/60°/72°/120°/45°) أو **زاوية مخصّصة**، وخيار **أنصاف الزوايا**، ودورات متعددة، وتحكّم كامل بالمظهر، وميزة **سحب خط الصفر** لتغيير المحور بسرعة.
**أهم الميزات**
* **سحب خط الصفر:** اسحب خط الـ0 (Pivot) وضعه على أي قاع/قمة — بدون إدخال السعر يدويًا. تُعاد الحسابات فورًا.
* وضعا **Bottom/Top** لتحديد اتجاه الإسقاط.
* **أشكال جاهزة أو زاوية مخصّصة**.
* **أنصاف الزوايا (½)** بنمط/لون مستقلين.
* **الدورات (Cycles)** لتوسعة الشبكة.
* **تحكّم بصري كامل**: عناوين بحجم/مسافة، سماكة/نمط/ألوان الخطوط، ونمط خط المحور.
**الإعدادات باختصار**
Pivot Price • Pivot Type (Bottom/Top) • Space Multiplier • Geometric Shape / Custom Angle • Number of Cycles • Sub-Angles & Line Style • الألوان والسماكات • إعدادات العناوين (إظهار/حجم/مسافة).
**طريقة الاستخدام**
1. اسحب **خط الصفر** إلى القاع/القمة المطلوبة أو حدّد **Pivot Price** واختر **Bottom/Top**.
2. اختر الشكل أو **زاوية مخصّصة**؛ وفعّل **Cycles** إذا لزم.
3. عدّل **Space Multiplier** حتى ترى احتراماً تاريخياً للمستويات.
4. (اختياري) فعّل **أنصاف الزوايا** للدقة.
5. راقب **الارتداد/الاختراق/إعادة الاختبار** وادمجها مع نظامك.
**نصائح**
* اختر Pivot بنيوي واضح (Swing).
* لتقليل الزحمة: خفّض الدورات أو عطّل أنصاف الزوايا.
* دمجها مع **بنية السوق/الفوليوم/ATR/الفراكتلات** يدعم القرار.
* تحكّم بحجم/مسافة العناوين للحفاظ على نظافة الشارت.
**حلّ مشكلة السحب**
إذا ما تحرّك خط الصفر: تأكّد أن الرسومات **غير مقفولة** وأن خيار تحريك الرسومات مفعّل في إعدادات الشارت.
**إخلاء مسؤولية وحقوق**
لأغراض تعليمية فقط — **ليست نصيحة مالية**.
السكربت مبرمج بواسطة **Mohammad Murad (MM)**.
© 2025 **Mohammad Murad**. **جميع الحقوق محفوظة.** يُمنع النسخ/التوزيع/البيع دون إذن.
#Gann #SquareOf9 #SQ9 #Angles #CustomAngle #SupportResistance #PineScript #TradingView
elipli5648 , MA 9 & 200 (Combined) — clean versionThis indicator displays two moving averages on the same chart — the 9-period and 200-period simple moving averages (SMA).
Both lines are customizable in color and line width directly from the settings menu.
Useful for identifying short-term vs long-term trend direction.