EMA 9/26 Cross (Signals + Alerts)What it calculates
EMA 9 (fast) and EMA 26 (slow) on whatever price source you pick (default: close).
It watches for two events:
Bullish cross (BUY): EMA 9 crosses above EMA 26 (ta.crossover)
Bearish cross (SELL): EMA 9 crosses below EMA 26 (ta.crossunder)
What you see on the chart
Two EMA lines (fast + slow), plotted on the price chart (overlay=true).
Optional markers:
A triangle up under the candle labeled BUY on bullish cross.
A triangle down above the candle labeled SELL on bearish cross.
What you can customize (inputs)
Source (close, open, hl2, etc.)
Fast EMA length (defaults to 9)
Slow EMA length (defaults to 26)
Toggle to show/hide EMAs
Toggle to show/hide markers
Alerts (the important part)
It defines two alertcondition() rules:
“EMA 9/26 Bullish Cross” fires exactly when the bullish crossover happens.
“EMA 9/26 Bearish Cross” fires exactly when the bearish crossunder happens.
So in TradingView you can create alerts like:
Notify/push/email/webhook when BUY happens
Notify/push/email/webhook when SELL happens
What it does not do
It doesn’t place trades or track performance (no entries/exits, no P&L).
It won’t “stay long” or “stay short”—it only flags the moment of the cross.
If you want, I can modify Option A to:
only alert on confirmed bar close (to avoid intrabar “false crosses”),
add trend filter (e.g., only BUY if price > EMA200),
or add a cooldown so it won’t spam signals in choppy markets.
รูปแบบชาร์ต
Open=Low or Open=High Alert//@version=5
indicator("Open=Low or Open=High Alert", overlay=true)
// Conditions for Open=Low and Open=High
openEqualsLow = open == low
openEqualsHigh = open == high
// Combine conditions into a single alert trigger
alertConditionTrigger = openEqualsLow or openEqualsHigh
// Plot shapes on the chart when the conditions are met (optional, helps visualize)
plotshape(openEqualsLow, title="Open=Low", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
plotshape(openEqualsHigh, title="Open=High", location=location.abovebar, color=color.red, style=shape.triangledown, size=size.small)
// Create the alert condition (this is what you select in the alert dialog)
alertcondition(alertConditionTrigger, title="Open = Low/High Alert", message="Open price equals High or Low price for {{ticker}} on the {{interval}} timeframe.")
Open Equal to Low Alert//@version=5
indicator("Open Equal to Low Alert", overlay=true)
// Condition: Open price equals the Low price of the current bar
open_equal_low = open == low
// Plot a small shape on the chart when the condition is met (optional, for visual confirmation)
plotshape(open_equal_low, title="Open == Low", location=location.belowbar, color=color.new(color.green, 0), style=shape.triangleup, size=size.small)
// Create an alert condition that can be selected in the Alert menu
alertcondition(open_equal_low, title="Open is Equal to Low", message="The Open price is equal to the Low price for {{ticker}} on the {{interval}} timeframe.")
SPY / DIA Divergence Z-Score (30s Optimized)SPY / DIA Divergence Z-Score (30s Optimized) is a short-term relative strength indicator designed for opening-range mean reversion trading.
This script measures normalized return divergence between SPY and DIA, converts it into a Z-score, and highlights statistically extreme conditions where short-term reversion is more likely to occur.
Key characteristics:
Optimized specifically for the 30-second timeframe
Uses EMA-smoothed returns to reduce microstructure noise
Focuses on divergence and reversion, not trend-following
Includes a session filter targeting the early NYSE open
Designed as a decision-support tool, not an automated strategy
Intended use:
Best used between 9:32–9:45 ET
Works best when combined with VWAP and price action
Signals indicate potential exhaustion and reversion zones, not guaranteed entries
Important notes:
No trade entries or exits are provided
No repainting
Not financial advice
Meant for discretionary traders who understand execution risk on lower timeframes
This indicator is most effective when used with disciplined risk management and strict time-of-day constraints.
How to Use:
Apply the indicator to a 30-second chart (designed for 30s only)
Trade only during the early NYSE session (approx. 9:32–9:45 ET)
Watch for Z-Score extremes beyond the upper or lower thresholds
Look for stalling behavior (loss of momentum) at extreme readings
Use in confluence with VWAP and price action for confirmation
Signals highlight potential mean-reversion zones, not automatic entries
Use tight risk management and avoid overtrading
Disclaimer:
This script is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or trade signals. Past performance is not indicative of future results. Use at your own risk.
Chainbey AI - 4H Dynamic Range (Auto Reset + Alert)📌 Chainbey AI – 4H Dynamic Range (Auto Reset + Strong Breakout Alerts)
Chainbey AI – 4H Dynamic Range is a professional, clean, and non-repainting range-based indicator designed to identify high-probability market structure on the 4H timeframe and help traders execute precisely on lower timeframes (5m / 15m).
This tool automatically detects the active 4H range (mother candle), continuously updates it, and resets only after a confirmed strong breakout, keeping your chart clean and focused on what really matters.
🔍 How It Works
✅ 4H Dynamic Range Detection
Automatically marks the current active 4H range using:
High & Low lines
Background fill with adjustable opacity
The range stays active as long as price remains inside it.
🔁 Smart Auto Reset Logic
The range is not reset by random wicks.
It resets only when a strong 4H breakout is confirmed (based on your selected rules).
When broken, the old range is cleared and a new 4H range is detected automatically.
🔔 Alerts (Very Important)
This indicator includes two powerful alert types:
1️⃣ New 4H Range Found
Triggered when:
A strong breakout is confirmed
The indicator resets and starts tracking a new 4H range
📢 Use this alert to know when market structure has changed.
2️⃣ Strong 4H Range Breakout (UP / DOWN)
Triggered when:
A confirmed 4H candle close breaks above or below the range
Optional ATR buffer and impulse strength filters are satisfied
📢 Use this alert to prepare for continuation, trend shift, or pullback trades.
✅ Alerts are based on confirmed 4H candles, making them stable and non-repainting.
⚙️ Strong Breakout Filtering (User Adjustable)
You can choose how strict the breakout confirmation should be:
Close only
Close + ATR buffer (recommended)
Close + ATR buffer + impulse candle strength
This helps eliminate fake breakouts and noise.
🎯 Best Use Case
Identify HTF structure
Trade range highs / lows
Confirm breakouts before entering
Perfect for Forex, Gold (XAUUSD), Crypto, Indices
🧠 Why Chainbey AI?
Chainbey AI focuses on clarity, confirmation, and discipline—not over-signals or clutter.
If you want to trade what matters, not what moves randomly, this indicator is built for you.
📌 Tip:
For alerts, use “Once per bar close” for the most reliable results.
20-Week SMA + Weekly RSI SignalWeekly Momentum Indicator
The 20-Week SMA + Weekly RSI Signals are used to track weekly momentum. The 20-Week SMA (Simple Moving Average) is used to track the general momentum, while the weekly RSI signals indicate the direction which the momentum is moving.
Flag signals are created once both the SMA and the RSI show clear signs of momentum.
Please note that the signals are not always correct. So it is typically best to wait for confirmation candles in order to confirm bias.
20 Week SMA
14 RSI
Hitchhiker Scalp 1-16-2026 v2 (Morning Only Scalps)Overview
This is a long-only breakout scalping strategy designed specifically for the NQ futures (Nasdaq-100 E-mini) during the early morning session (Chicago time). It looks for clean breakouts from a short-term consolidation range that formed in the previous bars and attempts to capture quick momentum moves.
The strategy:
Trades only between 8:45 AM – 9:45 AM CST (session ends early compared to many morning scalpers)
Uses a fixed-point stop loss and two take-profit levels with partial exits
Lets the second half (the "runner") trail once it reaches the first take-profit level
Automatically closes any open position at exactly 10:00 AM CST
Plots visual buy/sell arrows and the consolidation box on the chart
It is built for fast, high-probability scalps in the first hour of the US session, avoiding overnight gaps and afternoon chop.
Core Logic & How It Works
Time Window (Session Filter)
Only allows entries between 8:45 AM and 9:45 AM Chicago time
Any position still open at 10:00:00 AM CST is automatically closed at market price → This keeps the strategy focused on the high-momentum open and prevents holding through lower-volume periods.
Consolidation Detection
Looks back the last 15 bars (default – adjustable)
Calculates the highest high and lowest low in that period → this defines the "range"
Plots the previous bar’s range high/low as gray lines (visual box)
Entry Trigger – Breakout
A long entry is triggered when the current bar’s high breaks above the previous bar’s consolidation high (high > rangeHigh )
Entry only allowed if inside the session time window
Enters with 2 contracts (can be changed via qty=2)
Risk Management – Fixed Stop Loss
Stop loss is placed exactly 20 points below entry price (default – adjustable)
Uses fixed points (not percentage or ATR), so risk is consistent regardless of price level
Example: If entry at 20,000 → stop at 19,980
Profit Taking – Partial Exits + Trailing Runner
Position splits into two equal parts (50% / 50%) right after entry:
First half ("TP/SL"):
Take profit at +40 points (default)
Stop loss at –20 points (same as initial stop)
Second half ("Runner / TP2"):
Initial take profit target at +60 points
Trailing stop activates once price reaches +40 points (same distance as TP1)
Once trailing activates, stop trails behind price by 10 points (default trail_offset) → This lets winners run while protecting gains
RGRG Trade setup by ShubhThis is pattern based indicator when the high breaks, we can buy and make the trade
SMT - Malibu SMT Correlation Crack Indicator
This indicator detects Smart Money Technique (SMT) divergences between two correlated assets, helping traders identify potential reversal points when the primary asset and comparison symbol show opposite price movements.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHAT IT DOES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Detects Bearish Divergence: Primary makes Higher High while Compare makes Lower High
• Detects Bullish Divergence: Primary makes Lower Low while Compare makes Higher Low
• Draws divergence lines between swing points automatically
• Optional labels for quick identification
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Set your Comparison Symbol (e.g., NQ1! for Nasdaq when trading ES)
2. Adjust Swing Length for sensitivity (lower = more swings, higher = fewer)
3. Customize colors to match your chart theme
4. Enable/disable labels based on your preference
Recommended Pairs:
• ES1! vs NQ1! (S&P 500 vs Nasdaq)
• GC1! vs SI1! (Gold vs Silver)
• EURUSD vs GBPUSD (Forex pairs)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TRADING CONCEPT
SMT divergence occurs when correlated assets move in opposite directions at swing points. This often indicates institutional activity and can signal potential reversals.
• Bearish Divergence → Potential Short Setup
• Bullish Divergence → Potential Long Setup
Always use with confluence from other SMT elements (Order Blocks, FVGs, Liquidity).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS
• Compare Symbol: Second asset to compare with current chart
• Timeframe: Leave empty to use current chart timeframe
• Swing Length: Swing detection sensitivity (1-20)
• Colors: Customizable for bearish/bullish divergences
• Show Labels: Display BEAR/BULL tags at divergences
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
This indicator is for educational purposes only. Trading involves substantial risk. Past performance does not guarantee future results. Always use proper risk management.
THUAN SYSTEM TRADING FULL BMUser Guide: THUẬN SYSTEM TRADING FULL BM
Overview: This is a multi-timeframe trend and support/resistance indicator designed to identify key market structures.
Security Notice: The script has a built-in expiration date set for 31/12/2026; after this date, the indicator will display an expiration error and stop functioning.
Noise Filtering: You can adjust the "Noise mode" (Ticks, Absolute, or Pips) to control how sensitive the script is to price fluctuations.
Sensitivity Settings: Increase the "Ticks multiplier" or "Absolute points" to filter out minor market noise and focus on major moves.
Support/Resistance (HT/KC): The script automatically draws Major Support (HT) in green and Major Resistance (KC) in red boxes.
Zone Extension: Use the "Số nến kéo dài" setting to extend the Support and Resistance zones further to the right of your chart.
Dashboard 6TF: A built-in table displays the trend status (UP/DOWN/INIT) for six different timeframes simultaneously.
Custom Timeframes: You can customize each of the six dashboard timeframes (from 5m to Daily) in the script settings.
Trend Indicators: On the dashboard, UP signifies a bullish trend, while DOWN signifies a bearish trend for that specific timeframe.
Reversal Detection: The script identifies bullish reversal patterns (like Pinbars and Engulfing candles) at Support zones.
Bearish Patterns: It also detects bearish reversal patterns when price action hits Resistance zones.
Signal Icons (💎): A diamond icon appears below a candle for a Bullish Reversal or above a candle for a Bearish Reversal.
Stophunt Signals (⚡): A lightning bolt icon marks "Sweep/Stophunt" events where the price pierces a zone but closes back inside it.
Major Breakouts: When the price closes firmly above Resistance or below Support, the script triggers a "Breakout Confirmed" alert.
Zone Deactivation: Once a Support or Resistance zone is broken by a closing price, the box stops extending and is considered "invalid".
Visual Customization: You can modify the transparency and colors of the ZigZag lines, Minor lines, and Major zones in the inputs.
Real-Time Alerts: Enable "Bật Cảnh báo" to receive notifications for reversals, stophunts, and trend shifts.
Dashboard Placement: The dashboard is fixed at the top-right of your screen for easy monitoring without cluttering the main price action.
Dynamic Updates: All calculations, including the Multi-Timeframe (MTF) trend states, update in real-time as each candle closes.
Access Management: Ensure your TradingView username is provided to the developer to be added to the "Invite-only" list for access.
Trend Stretch Meter(Expansion/Compression(MTF))[NETSGAIN]
"Trend Stretch Meter(Expansion/Compression(MTF)) " is a visual tool to read the market’s flow around a moving average — like a “magnetic middle.”
Most markets don’t move in one direction forever. Price tends to stretch away from the average, then compress back toward it.
This indicator helps you see that behavior clearly using:
-Duration (how long price stayed on one side of the MA)
-Max distance reached during that run
-Current distance now
-A simple State label: Expansion / Flat / Compression
It’s not a buy/sell signal. It’s context.
Look back at any chart: price often moves up and down around a central average.
Think of the MA as the “middle line” price naturally revisits:
After a long bullish stretch, momentum usually fades → pullback risk rises
After a long bearish stretch, selling pressure often weakens → bounce risk rises
This tool helps you measure how stretched the market is, and whether it’s still expanding or already compressing back toward the MA.
Each timeframe row is calculated inside that timeframe:
✅ Duration
Number of consecutive candles price stayed above or below the MA
1H duration = counted in 1H candles
4H duration = counted in 4H candles
Same for 5m / 15m / 1D
✅ Distance
Max = the farthest distance (%) from the MA during the current run
Now = current distance (%) from the MA
✅ State
A simple ratio check:
Let:
ratio = |NowDist| / |MaxDist|
Expansion if ratio >= Expansion threshold
Compression if ratio <= Compression threshold
Otherwise Flat
So if price was once far from the MA, but is now much closer → Compression = momentum fading.
Use it as a “market condition” dashboard:
When you often get “late trend / flip conditions”
Long Duration + High MaxDist + Compression
The move stretched far and lasted long, but now it’s compressing
Often a sign momentum is weakening → mean reversion risk rises
When trend is still healthy
Duration + MaxDist rising + Expansion
Price remains near its max extension → momentum still strong
Multi-timeframe confirmation (simple)
If several TFs show Compression, the move is likely losing force
If several TFs show Expansion, trend strength is still alive
Again: not a signal, but great context for trade management.
In the first chart, observe the market after a prolonged extended move away from the MA.
The higher timeframe shows long duration
1H: Compression
4H: Flat state with extended duration (~50 bars)
Meanwhile, lower timeframes (5m / 15m) begin to shift into bearish expansion
This combination indicates that although the move lasted long, momentum is no longer strengthening. Lower timeframes turn first, signaling internal weakness.
In the next chart, price loses momentum and changes direction, returning toward the MA.
This pattern appears frequently across markets:
Long duration
Large distance from the MA
Followed by compression or lower-TF expansion against the prior move
The key idea is simple:
Price tends to revert back toward the middle.
When a move stays extended for too long and distance stops expanding, momentum fades and a reversal or deeper pullback becomes increasingly likely.
✅ MA Length: 50
Type: MA (default)
Why MA50?
It’s responsive enough for crypto and intraday flows, but still acts like a “middle” reference.
Note:
This is a recommendation, not a rule.
You can freely adjust the MA length to match your market, timeframe, or trading style.
✅ Expansion threshold: 0.70
✅ Compression threshold: 0.30
How to think about it:
Expansion 0.70 means: “price is still at least 70% of its max stretch”
Compression 0.30 means: “price has pulled back close to the MA relative to its max”
If you want earlier “momentum fading” detection:
Expansion: 0.65–0.70
Compression: 0.30–0.45
TradingView cannot auto-detect device reliably, so this script provides a manual toggle:
Mobile Compact Mode: OFF
Bigger panel text + multi-line distance display
Mobile Compact Mode: ON
Shortened distance strings to prevent panel overflow
Tip: Click panel position and set it to bottom
Trend Stretch Meter(Expansion/Compression(MTF)) is built to answer:
“How long has price been stretched on this side?”
“How far did it extend from the mean?”
“Is momentum still expanding… or already compressing back?”
Use it to read the flow and manage trades with better context — especially when moves start to get “too extended for too long.”
This indicator is provided for informational and educational purposes only.
It does not constitute financial, investment, or trading advice.
All trading decisions made using this indicator are the sole responsibility of the user.
Past performance is not indicative of future results. Trading involves risk.
Agnostic Z-Score Regime momentum script that defnies regimes bij bear / neutral / bull based on zscore's to generate less volatility and better risk adjusted returns
RSIT v7 Scalper## M-BUY / M-SELL Signal Trading Guide (M1 Chart)
### Entry Rules (Optimized for XAU/USD on 1-Minute Chart)
**M-BUY Signal:**
- Wait for the 1-minute candle to close after M-BUY appears
- Enter LONG at next candle open
- Stop Loss: 1.5R = $2.25 below entry
- Take Profit: 1R = $1.50 above entry
**M-SELL Signal:**
- Wait for the 1-minute candle to close after M-SELL appears
- Enter SHORT at next candle open
- Stop Loss: 1.5R = $2.25 above entry
- Take Profit: 1R = $1.50 below entry
### Risk/Reward Settings (M1 Scalping)
- **1R = $1.50** (150 pips on XAU/USD)
- **SL: 1.5R = $2.25** (225 pips)
- **TP: 1R = $1.50** (150 pips)
- R/R Ratio: 1:0.67 (conservative scalping approach)
### Trade Example (XAU/USD M1):
```
12:34:00 - M-BUY signal appears at 2,050.00
12:35:00 - Candle closes, confirm signal
12:35:01 - Enter LONG at 2,050.00
SL: 2,047.75 (-$2.25)
TP: 2,051.50 (+$1.50)
Result: TP hit in 2-4 minutes typically
```
### ⏰ BEST Trading Sessions (Trade ONLY These):
**✅ Asian Session** (12AM - 9AM GMT) - Smooth trends, predictable moves
**✅ London Session** (8AM - 4PM GMT) - Highest volume, best signals
### ❌ AVOID Trading During:
**🚫 New York Session** (1PM - 9PM GMT) - Too volatile, erratic price action
- Market open first 15 minutes (whipsaw moves)
- Major news events (NFP, FOMC, CPI releases)
- Low liquidity gaps between sessions
- Friday close last hour (unpredictable)
### M1 Scalping Best Practices:
- **Chart timeframe: 1-minute (M1) only**
- **Trade ONLY during Asian and London sessions**
- Wait for full 1-minute candle close confirmation
- Average trade duration: 2-5 minutes
- Combine with 4TF Signal Table for higher accuracy
- Use Exhaustion + Reversal signals for A+ setups
- Maximum 3-5 trades per session (avoid overtrading)
**⚠️ CRITICAL: Stop trading when NY session starts - strategy performance drops significantly due to increased volatility and unpredictable moves.**
**Tested and optimized specifically for XAU/USD on M1 chart during Asian and London sessions only.**
Rampage QuantumBuilt on the Inertial Cycle Framework, this strategy integrates the multi-layer AB logic and dynamic risk control system of Rampage SOP.
It serves as an educational and analytical tool, designed to help traders visualize market rhythm and develop disciplined trading behavior.
Contract Size CalculatorContract Size & Scope of Work
This contract covers the delivery of digital services as agreed between the Client and the Service Provider. The scope of work includes the creation and delivery of the agreed number of digital assets, as specified below.
Contract Size: This agreement applies to a fixed service package consisting of a defined quantity of deliverables.
Deliverables: The Service Provider shall deliver the agreed number of final assets (e.g., thumbnails, short-form video edits, or other digital content), meeting professional quality standards.
Revisions: The contract includes a limited number of revisions as agreed in advance. Additional revisions may be subject to extra fees.
Exclusions: Any work not explicitly listed in this contract is not included and may require a separate agreement or additional payment.
Completion: The contract is considered fulfilled once all agreed deliverables have been delivered and approved by the Client.
GD Spread FilterAdditional chart for Gold spread, which highlights not relevant periods (clearings and night time)
PT Spread FilterAdditional chart for Platinum spread, which highlights not relevant periods (clearings and night time)
Liquidity OS [PyraTime]Trading the lower timeframes (1m-15m) often feels like navigating a minefield. Charts become cluttered with noise, making it nearly impossible to distinguish random price action from genuine institutional intent. Traders frequently suffer from "Analysis Paralysis," struggling to spot clean setups or reacting too slowly to calculate risk accurately in fast-moving markets.
The Solution: A Clean Operating SystemPyraTime: Liquidity OS was engineered to solve this specific problem. It is not just a signal tool; it is a complete visual operating system designed to declutter your workspace and enforce discipline. By filtering price action through a strict confluence of Structure, Time, and Momentum, it highlights only high-probability liquidity sweeps while automating the complex mental math of risk management.
How to Use This Indicator
This tool is designed for Scalpers and Day Traders utilizing liquidity concepts (ICT/SMC).
Wait for the Signal: The indicator automatically identifies valid "Unicorn" setups—a confluence of a Liquidity Sweep followed by a displacement (Breaker) and a Fair Value Gap.
Verify the Context: Look for the "Elite Glass" Capsule.
Cyan Glass: Bullish Setup (Long Opportunity).
Pink Glass: Bearish Setup (Short Opportunity).
Note: The capsule physically covers messy wicks, forcing your eye to focus solely on the clear path to profit or invalidation.
Consult the Dashboard: Glance at the "Monitor" panel (bottom right). It instantly displays the Position Size required to trade the setup based on your pre-defined account risk (e.g., 1%).
Execute & Focus: Use the visual TP (Take Profit) and SL (Stop Loss) lines provided by the capsule to set your orders. The system automatically dims old trades ("Smart Spotlight") so only the current opportunity competes for your attention.
Key Features
🦁 "Elite Glass" Visual Engine: A proprietary rendering system that displays trade setups as high-transparency, polished capsules. This creates a "Focus-First" environment, reducing chart noise and visual fatigue.
🧠 Smart Spotlight: Automatically manages visual history. The two most recent active zones remain bright, while older setups automatically dim to reduce clutter. Mitigated zones can be set to turn into "Ghosts" or disappear entirely.
🛡️ Risk OS Dashboard: A real-time, persistent monitor that calculates:
Dynamic Position Sizing: Tells you exactly how many units/contracts to trade.
Session Metrics: Tracks Win Rate, Total R, and Expectancy live.
Safety Warnings: Highlights "High Risk" inputs in red if you exceed safety thresholds.
⚡ Logic Filters:
Killzones: Restrict signals to specific sessions (e.g., London/NY) with a custom timezone selector.
Trend Flow: Filters signals to align with the 4H Trend (EMA 50).
Deep Value: Ensures buys occur in Discount and sells in Premium zones.
Specifications & Settings
Risk OS: Customizable Target R:R, Stop Loss Padding (ATR Multiplier), and Risk Per Trade %.
Liquidity Filters: "1m Scalp Mode" (increased sensitivity), Killzone Time/Timezone selector, and Force Reset button.
Visual Interface: Fully customizable colors. Toggles for "Show Midlines" (50% of FVG) and "Show Structure Breaks" (BOS lines) to further reduce noise.
Performance: Built on Pine Script v6 with null-safe execution and optimized garbage collection for zero-lag performance on all timeframes.
Disclaimer: Risk metrics, position sizing, and performance data displayed by this indicator are for informational and educational purposes only. This tool does not execute trades, manage funds, or guarantee future results. Always trade with a regulated broker and verify calculations independently.
CNY Spread FilterAdditional chart for CNY spread, which highlights not relevant periods (clearings and night time)
Ale tonkis Swing failure + 5MIndicator Description: Ale Tonkis Swing Failure (SFP)
This script is an advanced Swing Failure Pattern (SFP) and Change in State of Delivery (CISD) indicator. It is designed to identify liquidity sweeps and market structure shifts across multiple timeframes simultaneously.
Key Features
Pivot Detection: Automatically identifies high and low pivot points based on a user-defined lookback period.
Liquidity Sweep Analysis: Detects when the price "sweeps" (goes beyond) a previous pivot high or low without closing significantly past it, signaling a potential reversal.
CISD (Change in State of Delivery): Tracks internal market structure shifts to confirm the SFP signal.
Multi-Timeframe (MTF) Dashboard: A real-time table in the top-right corner monitors the trend state across four different timeframes: M1, M3, M5, and M15.
Visual Alerts: The script uses dynamic bar coloring and labels (▲/▼) to signal entry points directly on the chart.
Technical Updates (M5 Integration)
The code has been specifically modified to include the 5-minute (M5) timeframe within the Multi-Timeframe logic:
Data Fetching: A new request.security call was added to retrieve the sfp_trend_state from the 5-minute interval.
Table Expansion: The display table was resized from 4 rows to 5 rows to accommodate the new data without overlapping.
UI Alignment: The M5 state is now positioned between M3 and M15, providing a smoother transition for traders analyzing mid-range scalping opportunities.
How to Read the Dashboard
LONG (Green): Indicates a bullish SFP has occurred and the trend remains positive on that timeframe.
SHORT (Red): Indicates a bearish SFP has occurred and the trend remains negative.
Empty/Black: No active SFP trend is currently detected on that specific timeframe.






















