مستويات الاتزان السعري (Equilibrium Price Levels)Equilibrium Price Levels is an educational tool that helps traders quantify “fair value” and key extension zones based on a single reference swing.
The script uses two manual inputs (reference High and Low) to compute a structured set of equilibrium and extension levels, rather than scanning swings automatically. This gives full control over which range the calculations are based on.
Calculated levels include:
• Retracement / equilibrium band from the selected range: 38.2%, 50.0%, 61.8%
• Upside extension targets from the same range: 125%, 1.618, 1.80, 2.50, 3.10, 3.86, 4.236
Features:
• Separate toggles for supports, targets, and reference high/low
• Per-level visibility switches for each extension (e.g., only show 1.618 and 2.50)
• Customizable colors for supports, targets, and reference lines
• Optional labels with configurable size and offset to keep the chart clean
• Multiple line extension modes (left, both sides, or no extension)
Typical use cases:
• Marking an equilibrium zone inside a major swing to watch for reaction or trend continuation
• Building a consistent “price map” of where mean-reversion vs. extension behavior is likely
• Combining with other tools (price action, volume, order blocks, etc.) to refine trade plans
This script is for educational and analytical purposes only and does not constitute financial advice, trade signals, or performance guarantees.
مستويات الاتزان السعري هي أداة تعليمية تساعد المتداول على قياس “السعر العادل” ومناطق التمدد المحتملة اعتمادًا على نطاق سعري واحد يحدده بنفسه.
المؤشر لا يختار القمم والقيعان آليًا، بل يعتمد على إدخال قمّة وقاع مرجعيين يدويًا، مما يعطي تحكمًا كاملًا في النطاق المستخدم في الحسابات.
المؤشر يحسب ما يلي:
• نطاق الاتزان/التراجع من القمة إلى القاع: 38.2%، 50.0%، 61.8%
• أهداف وتمددات سعرية أعلى النطاق: 125%، 1.618، 1.80، 2.50، 3.10، 3.86، 4.236
المزايا:
• مفاتيح تشغيل/إخفاء مستقلة لمستويات الدعم، الأهداف، والقمة/القاع المرجعيين
• إمكانية تفعيل/إلغاء كل هدف بشكل منفصل (مثل إظهار 1.618 و 2.50 فقط)
• تخصيص ألوان خطوط الدعم، الأهداف، وخطوط القمة والقاع
• ملصقات توضيحية اختيارية مع تحكم في حجمها وموقعها على الشارت
• خيارات امتداد للخطوط: لليسار فقط، أو يمين ويسار، أو بدون امتداد
الاستخدامات الشائعة:
• تحديد منطقة الاتزان داخل موجة رئيسية لمراقبة احتمالات الارتداد أو استمرار الاتجاه
• بناء “خريطة سعرية” ثابتة لمناطق التوازن والتمدد على مدى زمني واسع
• دمج المستويات مع أدوات أخرى مثل السلوك السعري أو الحجم أو مناطق التجميع/التصريف لتحسين قرارات الدخول والخروج
هذا السكربت موجه لأغراض تعليمية وتحليلية فقط، ولا يُعتبر نصيحة استثمارية أو توصية بيع/شراء، ولا يضمن أي أداء مستقبلي للأسعار أو النتائج.
Candlestick analysis
ERL [#]ICT Concepts by shulktrades
Beginner Concept
External Range Liquidity — ERL
Description:
The ERL indicator identifies External Range Liquidity zones by plotting the highs and lows of a user-selected timeframe. These zones represent areas where liquidity is likely to accumulate and are updated in real time based on higher-timeframe candle tracking, giving traders a precise and adaptable view of liquidity across multiple timeframes.
This indicator does not produce trade signals or alerts. It is intended as a visual and analytical tool to provide confluence and context within a trader’s existing strategy.
How It Works (Conceptually)
Timeframe Selection
Users can select a single timeframe (e.g., H1, H4, D1) to define which candle highs and lows will be used to draw ERL zones. This allows traders to focus on their preferred timeframe for liquidity analysis.
Highs and Lows Mapping
The script identifies the highest high and lowest low of each candle on the selected timeframe and plots these levels as ERL zones on the chart. These zones act as reference points for potential liquidity concentration.
Higher-Timeframe Candle Tracking
ERL zones are updated with each new higher-timeframe candle, rather than relying solely on the chart’s native timeframe. This ensures that the liquidity levels are aligned with HTF market structure, not just local price swings.
Dynamic Zone Updates
As each HTF candle closes, ERL zones are refreshed to reflect the most recent data.
This dynamic updating allows traders to always see the most relevant and actionable liquidity ranges without manual adjustment.
Unique Implementation Features
The ERL indicator differs from other liquidity or range indicators in several important ways:
User-Selectable Timeframe
Unlike static range indicators, ERL allows the user to define the exact timeframe from which liquidity highs and lows are drawn.
HTF Tracking
The indicator updates in alignment with higher-timeframe candles, ensuring that liquidity zones are consistent with broader market structure, not just local price noise.
Dynamic Updates
ERL zones refresh automatically as each HTF candle completes, providing real-time context for traders and avoiding clutter from outdated levels.
Clear Visual Implementation
ERL zones are plotted cleanly on the chart, with distinct coloring and line styling to clearly differentiate them from other indicators or market levels.
How to Use It
Apply the ERL indicator to view high and low zones of your selected timeframe as potential liquidity areas.
Use these zones as contextual confluence when evaluating trades or market structure, not as trade signals.
Combine with other tools, such as order blocks, fair value gaps, and liquidity sweeps, to enhance market analysis.
Adjust the selected timeframe according to your preferred analytical perspective.
Originality and Purpose
The ERL indicator is original because:
It allows user-defined timeframe selection for ERL calculation.
It uses higher-timeframe candle tracking to maintain alignment with broad market structure.
It dynamically updates each HTF candle, ensuring the plotted zones are current and accurate.
Its visual clarity and precision differentiate it from open-source range or liquidity indicators that either plot static levels or do not adapt to HTF candles.
These features justify its closed-source status, as the combination of timeframe flexibility, HTF tracking, and dynamic visualization is not replicated in standard ERL tools.
Important Notes
For visual analysis and educational use only.
Does not generate trade alerts, entries, or recommendations.
Most effective for traders who understand higher-timeframe market structure and liquidity analysis.
Always apply personal risk management and independent confirmation when using this tool.
Venom Model [#]ICT Concepts by shulktrades
Advanced Concept
Venom Model — Deferred Turtle Soup Entry Concept Identifier
Description:
The Venom Model is a closed‑source indicator that identifies a specific advanced liquidity‑sweep signature taught by the ICT framework (often referenced as a “Deferred Turtle Soup”). It highlights the exact candle or candles that penetrate a liquidity pool (above or below a defined zone) then confirms when price closes back outside that pool. This visual marker allows traders to spot the precise algorithmic “poison fang” moment without relying on raw signals.
This indicator does not issue automatic entry alerts or trade triggers. It is strictly a visual tool for confluence and study, meant to be used in conjunction with your own structure, execution and risk‑management framework.
How It Works (Conceptually)
Liquidity Pool Definition
The script identifies zones where liquidity is pooled—often at relative equal highs/lows or around established session structure. These zones act as the target for algorithmic sweeps.
Sweep Candle Highlighting
When a candle (or consecutive candles) penetrate into or through the defined liquidity pool, those candle(s) are marked as the “sweep”. The indicator uses precise tracking of the candle(s) that first break the zone.
Confirmation via Close Outside Zone
After the sweep candle(s), the script watches for price to close back outside the liquidity pool boundary. Once that happens, a confirmed Venom event is marked visually. This indicates the liquidity‑raid and ensuing directional bias shift.
Visual Representation
The exact candle(s) of the sweep are highlighted (e.g., coloured bar or marker).
The liquidity pool boundaries are drawn for context.
A persistent marker or box remains until the user‑defined expiration or invalidation, which helps track the event across the chart.
Unique Implementation Features
The Venom Model differs from many generic liquidity or sweep indicators by virtue of:
Exact Candle Focus
Rather than highlighting broad zones, this tool pinpoints the specific candle(s) that executed the sweep—giving traders a sharp visual of the “fang” moment.
Deferred Turtle Soup Logic
It implements the ICT‑style “Turtle Soup” liquidity reversal logic (a false breakout, stop‐hunt, then return), but via deferred confirmation: first the sweep candle(s), then the close back outside. This layered confirmation adds structural algorithmic precision.
Higher‑Timeframe & Session Context
While you may select your working timeframe, the logic accounts for session structure (e.g., early NY open) and higher timeframe liquidity zones to align sweep recognition with institutional flow rather than purely local price moves.
Adaptive Visual Persistence
Once identified, the sweep marker stays in view until you choose to clear or until a set number of bars/candles later, which you can define in the settings. This avoids clutter and preserves the event for reference, not as a trigger.
How to Use It
Apply the indicator to view your preferred chart and timeframe; use it as a contextual overlay, not a standalone trade system.
When you see a highlighted candle(s), interpret this as a liquidity raid event: price targeted the pool, triggered retail stops, and reversed.
Use this marker alongside your own structure: e.g., order blocks, fair value gaps, market structure shifts, session bias.
Use the user settings to define box expiry or number of candles to display the event marker, according to your analysis depth.
Originality and Purpose
This indicator is original and justifies closed‑source publication because:
It focuses solely on the specific candle(s) that executed the sweep rather than drawing every penetration or “possible” sweep zone.
It uses deferred confirmation (penetration then close back outside) which adds robustness over naive sweep detectors.
It aligns to ICT’s advanced Deferred Turtle Soup signature, not just generic stop‑hunt or breakout models.
It offers visual clarity and persistence tailored for confluence, avoiding base‑level indicator clutter or ambiguous signals.
Because of these factors, the logic, confirmation criteria and precise rendering go beyond simple replication of open‑source liquidity sweep tools.
Important Notes
For visual analysis and educational use only.
Does not generate alerts, buy/sell signals, or automatic entries.
Most effective when used by traders familiar with ICT liquidity, order‑flow and market structure concepts.
Always apply your own risk management, trade validation and execution rules.
IFVG [#]ICT Concepts by shulktrades
Beginner Concept
IFVG — Inverse Fair Value Gap
Description:
The IFVG indicator identifies and displays Inverse Fair Value Gaps (IFVGs) — price imbalances that have been traded through and closed, representing a complete rebalancing of a prior Fair Value Gap (FVG).
It is designed for traders studying ICT-based market structure and algorithmic delivery concepts, offering a consistent, precise way to visualize these “flipped” gaps directly on their charts.
This indicator does not generate trading signals, alerts, or entries. It serves as a visual confluence and analytical tool, helping traders recognize when a fair value gap has been invalidated and transformed into an IFVG.
How It Works (Conceptually)
Gap Detection
The script tracks consecutive candle structures to identify FVGs — three-candle formations where a price void exists between the first and third candles.
Inverse Confirmation
When price fully closes through a detected FVG (meaning both gap boundaries have been traded and settled), the imbalance is flagged as neutralized, and the script converts it into an Inverse Fair Value Gap (IFVG).
Box Drawing Logic
Each IFVG is displayed as a visual box drawn from the displacement range of the candle that confirmed the closure.
Boxes extend either to the current bar or a user-defined candle limit, providing flexibility for how long historical IFVGs remain visible.
This ensures chart clarity while maintaining accurate visual context of algorithmic rebalancing.
Unique Implementation Features
The IFVG indicator differs from typical open-source FVG tools through its structural logic and visualization method:
Higher-Timeframe Candle Tracking
It can reference higher-timeframe (HTF) candle data to display IFVGs originating from larger structures (for example, showing H1 or H4 inverse gaps on a lower timeframe).
This alignment with HTF context gives traders a broader view of algorithmic delivery behavior.
Specific Timeframe Tracking (Future Integration)
The underlying framework supports selectable timeframe inputs for future updates, allowing users to define which candle data to track for IFVG formation — ensuring full adaptability across multiple timeframe models.
Dynamic End Conditions
Unlike static or persistent zone indicators, each IFVG box can end at the current time or after a custom candle limit.
This avoids overcrowding the chart while maintaining accurate historical context.
Accurate Visual Rendering
The drawing logic ensures that every IFVG box is aligned precisely to candle bodies and wicks, scaling correctly across all chart resolutions.
This eliminates overlap, offset, or visual drift common in generic FVG/IFVG implementations.
How to Use It
Apply the indicator to visualize confirmed Inverse Fair Value Gaps on your chart.
Use the highlighted zones as contextual confluence, not entry triggers.
Adjust settings for box duration and visibility according to your preferred analysis depth.
Integrate with other ICT-based concepts such as liquidity sweeps, order blocks, and displacement analysis for deeper structural insight.
Originality and Purpose
The IFVG indicator is original in its:
Strict focus on confirmed, traded-through FVGs only.
Use of HTF candle tracking for broader algorithmic context.
Dynamic end-of-zone control, determined by user preference or real-time progression.
Accurate visual construction of zones directly tied to candle confirmation logic.
These design choices make it distinct from generic FVG/IFVG indicators and justify its closed-source status, as its logic, rendering precision, and adaptive framework go beyond simple stylistic replication of public scripts.
Important Notes
For educational and analytical use only.
Does not issue alerts, entries, or trade recommendations.
Best suited for traders familiar with ICT delivery and structure concepts.
Always apply personal risk management and confirm bias independently.
Apex FX - 1st 4H CandleApex FX - 1st 4H Candle
Overview
This indicator identifies the very first 4-hour candle of the trading day and plots its high and low as horizontal lines. These levels are designed to act as key support and resistance for the rest of the 24-hour session.
The lines are calculated using 4-hour data but display on any timeframe, allowing you to see these key daily levels while trading on lower timeframes like the 15-minute or 5-minute chart. The lines extend for the first six 4-hour candles (24 hours) before stopping.
Features
Flexible Timezone: A simple dropdown menu to select your local timezone (e.g., "America/New_York", "Europe/London", "UTC") to ensure the candle is always correctly identified.
Asset Presets: Instantly set the correct start time for major asset classes:
Forex (23:00)
Indices (00:00)
Crypto (21:00)
Fully Custom: A "Custom" option lets you define any hour and minute for the start of your session, giving you full control for other assets like Gold or Oil.
Custom Colors: Change the color of the high and low lines from the settings menu.
How to Use
Add the indicator to your chart.
Open the indicator's "Settings".
In the "Your Timezone" dropdown, select the same timezone you use for your chart (e.g., "America/New_York").
In the "Asset Type Preset" dropdown, choose the asset you are trading (e.g., "Indices").
The indicator will wait for the first 4-hour candle (e.g., the 00:00 candle for Indices) to close, and then it will automatically draw the high and low lines.
BTC Bull/Bear marketThis indicator plots the 350-period Simple Moving Average (SMA) calculated on the Daily ("D") timeframe.
he color of the SMA line is determined by the closing price of the 2-Week ("2W") timeframe.
1. It fetches the 350-day SMA value (`sma350_daily`).
2. It checks where the *last closed* 2-Week candle finished relative to this SMA line.
3. If the 2W candle closed *above* the 350 SMA, the line is colored GREEN.
4. If the 2W candle closed *below* the 350 SMA, the line is colored RED.
This helps to visualize the long-term trend (350 SMA) confirmed by a higher (2W) timeframe bias, using non-repainting logic (`close `) for the color signal.
BullTrader - ParabolicSARFlipSignals(NonRepainting)🧠 Concept & Purpose
This indicator isolates the confirmed trend‑change events produced by the Parabolic SAR and turns them into direct, non‑repainting trade signals.
Instead of plotting every SAR dot as a potential entry, it marks only the bars where price has closed across the SAR line, confirming a genuine flip from bullish → bearish or vice versa.
Each confirmed flip is displayed with a single triangle on the chart and can be connected to alerts.
The design is intentionally minimal: one simple but reliable algorithmic definition of “the trend just turned.”
⚙️ How It Works
1. The script calculates the standard Parabolic SAR value using the built‑in ta.sar() function.
2. When a candle closes above a SAR dot that was previously above price → uptrend starts (Buy Signal).
3. When a candle closes below a SAR dot that was previously below price → downtrend starts (Sell Signal).
4. Signals are confirmed only after the bar closes (barstate.isconfirmed), guaranteeing no repainting.
5. Each event can trigger an alert or simply serve as a visual reversal marker.
📈 Chart Elements
Element Description
🟠 Orange cross dots Standard Parabolic SAR trail.
🟢 Triangle below bar Confirmed SAR flip up → new bullish phase.
🔴 Triangle above bar Confirmed SAR flip down → new bearish phase.
Optional green/red background Highlights bars where a confirmed flip occurred.
🔔 Alerts
Use buySignalFinal for Buy alerts and sellSignalFinal for Sell alerts.
Set alerts to “Once per bar close” to match the non‑repainting confirmation logic.
📊 Best Use
* Identifying clear trend reversals.
* As an entry / exit overlay for manual trading.
* As a base signal for automated or alert‑driven systems.
This version keeps the indicator fast, reproducible, and completely non‑repainting — ideal for traders who prefer transparent and verifiable signals derived directly from Per J. Wilder’s original Parabolic SAR formula.
ob-fvg-jorgechutofx📊 **4-Candle Pattern (OB + FVG + BOS)**
This indicator identifies a four-candle structural pattern combining **Order Block (OB)**, **Fair Value Gap (FVG)**, and **Break of Structure (BOS)**.
* **Candle 1:** reference level to be broken.
* **Candle 2:** potential **Order Block** (origin zone).
* **Candle 3:** confirms the **structure break**.
* **Candle 4:** forms the **FVG**, showing market imbalance.
Perfect for spotting **institutional entry zones** and validating **market inefficiencies** across any timeframe.
Checklist Price A. S30-5 italiano Discrezionale CesarChecklist Price A. S30-5 italiano Discrezionale Cesar
TOBYGBADE1: Dynamic Big Candle Pip RangeDisplays candle ranges in pips as a histogram in a separate pane, highlights big candles exceeding a dynamic threshold, and colors bars and labels green/red based on bullish or bearish direction.”
TOBYGBADE1: Dynamic Big Candle Pip RangeDisplays candle ranges in pips as a histogram in a separate pane, highlights big candles exceeding a dynamic threshold, and colors bars and labels green/red based on bullish or bearish direction.”
BUY/SELL/R/BBuy/Sell/R/B by SeanKidd
Purpose: A clean, anchored signal system combining StochRSI crossovers, CVI top/bottom detection, and a MACD direction line that moves with price.
⚙️ How It Works
BUY / SELL – Generated from a higher-timeframe StochRSI crossover.
BUY (Green) → %K crosses above %D
SELL (Red) → %K crosses below %D
R (Reverse) – Yellow “R” appears above the candle when the CVI model detects a local top or exhaustion point.
B (Bottom) – Blue “B” appears below the candle when CVI detects a local bottom.
MACD Direction Line –
Green = MACD above Signal → bullish momentum
Red = MACD below Signal → bearish momentum
The line rides just above the candles, offset by ATR so it always tracks price.
🧭 How to Use It
Add the indicator:
Search for Buy/Sell/R/B by SeanKidd under Community Scripts.
Click ★ to favorite it.
Apply it to your chart.
Open ⚙️ Settings → Inputs
Calculation Timeframe (StochRSI) → pick how fast or slow you want signals (default Weekly).
MACD Line Offset (ATR ×) → raise or lower the MACD line if it overlaps candles.
Adjust Top/Bottom thresholds to control how often R/B appear.
Toggle Highlight bars or Color candles for visual clarity.
Go to Settings → Scales and ensure it’s set to
✅ “Scale with Price Chart” or
✅ same scale side as the candles.
This keeps everything perfectly attached to the chart.
Optional: Add alerts
Create → Alert → Condition → Buy/Sell/R/B by SeanKidd
Choose: SRSI BUY, SRSI SELL, Top (R), or Bottom (B).
📈 Reading the Chart
Marker Meaning Color Position
BUY StochRSI %K cross above %D Lime Below bar
SELL StochRSI %K cross below %D Red Above bar
R CVI-detected top / reversal Yellow Above bar
B CVI-detected bottom Blue Below bar
Line MACD momentum direction Green/Red Above highs
💡 Tips
Works on any symbol or timeframe.
Slower charts (Daily–Weekly) give cleaner swing signals.
Faster charts (15m–1h) show short-term reversals.
Combine the MACD line direction with BUY/SELL for stronger confirmation.
Magic Candle [MMT]The Magic Candle indicator is a dynamic price-action tool that visually and intuitively tracks trend bias shifts, entry signals, stop levels, and reversal triggers based on a custom candle-state logic. It is designed for traders seeking to identify actionable shifts in market structure and trend momentum, blending key elements of trend-following and reversal anticipation into one system.
Core Functionality
1: Flip Candidate and Trigger Logic :
For both bullish and bearish trends, the indicator identifies "flip candidate" candles – the most extreme, recent candle in the direction of the current trend. A "flip trigger" level is set at the high (for bearish) or low (for bullish) of this candidate. If price breaks decisively past this level, it signals a potential trend reversal, switching the indicator's bias and updating the tracked ranges and stop-loss points.
2: Entry and Stop-Loss Visualization :
Before entries, the indicator highlights the tracked high and low as "Entry" levels. Upon bias confirmation (break of the tracked level), a stop-loss line is automatically plotted at the opposite extreme of the tracked move for real-time risk guidance.
3: State Table Panel :
A dedicated on-chart table summarizes, in real time: current state (trend bias), active stop-loss level, entry reference level, and the present flip trigger. This offers at-a-glance status updates for systematic trade management.
Practical Usage
Momentum Confirmation :
Stay synchronized with price momentum by entering long or short once tracked highs or lows are broken, aligning trades with confirmed directional moves. Best to use in a confirmed trend direction.
Reversal Alerts :
The flip trigger logic allows traders to anticipate potential reversals, with visual cues and optional labels that remove guesswork at possible shift points.
Risk Management :
Fully integrated stop-loss plotting supports disciplined trade management, setting stop points based on recent price extremes to correspond with current bias and volatility.
This indicator benefits traders looking to combine the clarity of structured price-action logic with robust automation, suitable for many timeframes and all liquid instruments.
Pro: Big Candle Pip Range (Upper Label)Highlights unusually large candles by calculating pip ranges dynamically based on recent volatility. Shows exact pip count above the candle, color-coded by direction (green bullish, red bearish). Features adaptive thresholds, optional histogram, and works on any instrument or timeframe. Ideal for scalpers and intraday traders spotting high-volatility candles quickly.
Fractional + Heikin-Ashi Candlestick – CF / ABNew model of Candlestick, Tis model constructed on Fractional Calculus mathematical, use two kernel - Caputo-Fabrizio and Atangana-Baleanu.
Aroon with RSI Confirmation (92.86%)This script is an analytical tool designed to identify moments in market behavior when price momentum is shifting. It does this by combining two concepts: **Aroon Levels** (to measure trend maturity) and **RSI Slope Behavior** (to measure short-term momentum pressure).
**Functional Concept (Professional Description)**
The indicator examines when either the *Aroon Up* or *Aroon Down* value reaches approximately **92.86%**, which statistically represents a phase where price has recently made an extreme high or low relative to the selected period. This level suggests the trend is nearing a point of *decision*—either continuation or exhaustion.
At the same time, the script analyzes the **relationship between the RSI and its smoothed average**. The difference between the two reflects whether momentum is accelerating in the current direction or slowing. A small difference indicates **market stability**, while whether RSI is positioned above or below the smoothed line indicates **who has control**—buyers or sellers.
By requiring both conditions to align, the script filters out random noise and highlights moments where **trend structure and momentum sentiment converge**.
* **Buy Signal:** Occurs when the market has recently formed a significant low (Aroon Down ≈ 92.86) and buyers begin to regain control (RSI crosses above its smoothed value with low volatility).
* **Sell Signal:** Occurs when the market has recently reached a significant high (Aroon Up ≈ 92.86) and sellers begin to dominate (RSI slips below its smoothed value with low volatility).
---
**Psychological Interpretation**
Markets are driven by cycles of **attention**, **emotion**, and **participation**.
This script targets moments when:
1. **Price has made a meaningful extreme** (a recent new high or low).
This is where crowd sentiment is often strongest—either euphoria near highs or pessimism near lows.
2. **Traders are reassessing direction**, shown by momentum flattening (small RSI difference).
This reveals that participants are hesitating, watching, and waiting.
The market is effectively *thinking*.
3. **Control shifts subtly**, when RSI moves relative to its smoothed trend.
This indicates that early, informed participation is beginning to form—before the broader crowd reacts.
In psychological terms, the script highlights the **transitional turning points** where:
* Fear begins to weaken and confidence returns (buy setup), or
* Confidence begins to crumble and caution emerges (sell setup).
These are the earliest moments when market sentiment **changes hands**, often preceding visible trend reversals. The indicator is not reacting to outcomes—it is observing the underlying shift in **decision-making pressure** among market participants.
---
In essence, this tool identifies **behavioral inflection points**—where the market transitions from one emotional state to the next—providing traders with signals grounded in both structural trend positioning and real-time crowd momentum behavior.
CME Close PriceThis script adds the closing price of another asset on your chart, such as the BTC1! Futures Price on your BTC Spot Chart for example.
Vivek Script to detect 9 EMA bouncesThe 9-period Exponential Moving Average (9 EMA) is a classic tool for identifying short-term momentum in the market. Traders who use this understand that true trend continuation often involves a pullback, not just a continuous surge.
Our Goal: We are not just looking for a trend; we are looking for a specific, high-probability entry point: the 9 EMA Retest. Our script's purpose is to automatically and objectively verify every time this pattern occurs in the historical data.
Session SFPThis script is a powerful, multi-timeframe tool designed to identify high-probability Swing Failure Patterns (SFPs) at key historical levels.
Instead of looking for traditional "pivots" (like a 3-bar swing), this indicator finds the actual high and low of a previous higher-timeframe (HTF) bar (e.g., the previous weekly high/low) and waits for a lower-timeframe (LTF) candle to sweep that level and fail.
This allows you to spot liquidity sweeps and potential reversals at significant, structural price points.
How It Works
The indicator's logic is based on a simple, two-timeframe process:
Level Detection: First, it finds the high and low of the previous bar on your chosen "Level Timeframe" (e.g., W for Weekly, D for Daily). It plots these as small 'x' markers on your chart.
SFP Identification: Second, it watches price action on a lower "SFP Timeframe" (e.g., 240 for 4H). A potential SFP is identified when a candle's wick sweeps above a key high or below a key low.
Confirmation: The SFP is only confirmed after the SFP candle closes back below the high (for a bearish SFP) or above the low (for a bullish SFP). It then waits for a set number of "Confirmation Bars" to pass. If price does not close back over the level during this window, the signal is locked in, and a label is printed.
How to Use (Key Settings)
Level Timeframe (Most Important): This is the timeframe for the levels you want to trade. Set this to W to find SFPs of the previous weekly high/low. Set it to D to find SFPs of the previous daily high/low.
SFP Timeframe: This is the timeframe you want to use to find the SFP candle itself. This should be lower than your Level Timeframe (e.g., 240 or 60).
Level Lookback: This controls how many old levels the script will track. A value of 10 on a W Level Timeframe will track the highs and lows of the last 10 weeks.
Confirmation Bars: This is your "patience" filter. It's the number of SFP Timeframe bars that must close without reclaiming the level after the SFP. A value of 0 will confirm the SFP immediately on the candle's close.
Enable Wick % Filter: A quality filter. If checked, this ensures the SFP candle's rejection wick is a significant percentage of the candle's total range.
Chart Visuals
'x' Markers: These are the historical highs and lows from your "Level Timeframe". You can turn these on or off in the settings.
SFP Label: When an SFP is fully confirmed, a label (Bearish SFP or Bullish SFP) will appear, detailing the level that was swept and the timeframes used.
SFP Line: A solid horizontal line is drawn from the 'x' marker to the SFP candle to highlight the sweep.
Colored Boxes (Optional): If you are viewing a chart timeframe lower than your "SFP Timeframe", you can enable background boxes to highlight the exact SFP candle and its confirmation bars.
26 EMA Reversal LogicThis indicator identifies two distinct price behaviours on the daily charts of SPY, SPX, QQQ, or IXIC, using the 26-period EMA as a reference. It plots one signal per downtrend — either a yellow circle (bearish continuation) or a green circle (bullish reversal) — and locks further signals until price closes above the 26 EMA.
The yellow circles are when we close below the 26-day EMA and the next day we make a lower low.
The green circles are when we close below the 26-day EMA and the next day we actually open higher and that low is never revisited.
Symbol Restriction
Only works on: SPY, SPX, QQQ, IXIC
On any other symbol, the script will display an error and stop.
Timeframe Restriction
DAILY chart only — will show an error on any other timeframe.
Core Logic: Two-Candle Pattern Detection
Both signals start with the same Day 1 condition:
Day 1: The candle closes below the 26 EMA
From there, Day 2 determines the signal:
Yellow Circle (Bearish Continuation)
Plotted BELOW the Day 2 candle
Conditions:
Day 1 closed below the 26 EMA
Day 2 makes a lower low than Day 1’s low → low < low Interpretation:
Price is weakening — pushing to new lows below the EMA.
Confirms downward momentum.
Green Circle (Bullish Reversal / Failed Breakdown)
Plotted ABOVE the Day 2 candle
Conditions:
Day 1 closed below the 26 EMA
Day 2 opens higher than Day 1’s close → open > close
Day 2’s low never revisits Day 1’s low → low >= low Interpretation:
Buyers defend the prior low with a higher open — classic false breakdown.
Suggests a potential reversal higher.
One Signal Per Downtrend (Lock & Reset)
After either a yellow or green circle is plotted, no more circles appear
Prevents clutter — focuses on first meaningful reaction
Reset Rule:
Lock is released only when price closes above the 26 EMA
Best Used On
Daily timeframe
SPY, SPX, QQQ, IXIC only
With trend, volume, or broader market context






















