EMA with ColoringDescription:
The "EMA with Coloring" indicator plots a customizable Exponential Moving Average (EMA) on the price chart, with its color dynamically changing based on the Ichimoku Cloud's trend signals. This tool helps traders identify trend direction and potential trading opportunities by combining the simplicity of an EMA with the robust trend analysis of the Ichimoku system. The EMA changes color to reflect bullish (uptrend), bearish (downtrend), or neutral (in-cloud) market conditions, making it easier to spot trend shifts and trade setups.
How It Works:
EMA Calculation: The indicator calculates an EMA based on the user-defined period (default: 9). The EMA is plotted directly on the price chart, overlaying candlesticks or bars.
Ichimoku Coloring Logic: The EMA’s color is determined by an underlying Ichimoku Cloud system:
Green (Uptrend): When the price is above the Ichimoku Cloud and bullish conditions are confirmed (e.g., Conversion Line above Base Line and rising momentum).
Red (Downtrend): When the price is below the Ichimoku Cloud and bearish conditions are confirmed (e.g., Conversion Line below Base Line and falling momentum).
ATR Whipsaw Protection: The indicator uses an Average True Range (ATR) filter to reduce false signals during choppy markets, ensuring more reliable trend identification.
Customizable Settings:
EMA Length: Adjust the period of the EMA (default: 9) to make it more or less sensitive to price changes.
Uptrend/Downtrend Colors: Choose from Green, Red, or Blue for the EMA’s color in bullish or bearish conditions.
Transparency: Set the EMA’s opacity (default: 0, fully opaque) for better visibility on the chart.
How to Trade It:
Trend Identification:
Bullish (Green EMA): Indicates a strong uptrend. Look for buying opportunities when the EMA turns green, especially if the price is above the cloud and the EMA is sloping upward.
Bearish (Red EMA): Indicates a strong downtrend. Consider selling or shorting when the EMA turns red, particularly if the price is below the cloud and the EMA is sloping downward.
Neutral (Gray EMA): Signals a range-bound market. Avoid trend-based trades and consider range trading or waiting for a breakout.
Entry Signals:
Long Entry: Enter a buy trade when the EMA changes from gray or red to green, and the price breaks above a recent high or key resistance, confirming bullish momentum.
Short Entry: Enter a sell/short trade when the EMA changes from gray or green to red, and the price breaks below a recent low or key support, confirming bearish momentum.
Exit Signals:
Exit long trades when the EMA turns gray or red, indicating a potential trend reversal or consolidation.
Exit short trades when the EMA turns gray or green, suggesting the downtrend may be weakening.
Risk Management:
Use stop-losses below recent swing lows (for longs) or above swing highs (for shorts) to protect against unexpected reversals.
Combine with support/resistance levels, candlestick patterns, or other indicators (e.g., RSI, MACD) for confirmation.
Tips:
Adjust the EMA length to suit your trading style: shorter periods (e.g., 5–10) for scalping/day trading, longer periods (e.g., 20–50) for swing trading.
Test the indicator on your preferred timeframe and asset to optimize settings.
Settings:
EMA Settings:
EMA Length: Default is 9. Increase for smoother trends, decrease for more sensitivity.
EMA Color Settings:
Uptrend EMA Color: Choose Green, Red, or Blue (default: Green) for bullish conditions.
Downtrend EMA Color: Choose Green, Red, or Blue (default: Red) for bearish conditions.
EMA Color Transparency: Default is 0 (fully opaque). Adjust to 10–100 for partial transparency if needed.
Notes:
Best used on timeframes where trends are clear (e.g., 1H, 4H, Daily).
The Ichimoku logic runs in the background with fixed parameters optimized for reliability, so only the EMA and color settings are adjustable.
Always backtest and practice on a demo account before using in live trading.
Trend Analysis
CVD VWAP (1m CVD, Daily/Weekly + EMA + WMA)🟠 CVD VWAP (1m CVD, Daily/Weekly + EMA + WMA)
This custom indicator combines Cumulative Volume Delta (CVD) with a VWAP-style calculation, built on 1-minute resolution data, and includes smoothed trend analysis via EMA and WMA.
🔍 Key Features:
1-Minute CVD Calculation:
Captures buying vs. selling pressure by comparing close vs. open price per minute.
CVD-Based VWAP:
A custom VWAP that uses CVD instead of price, reset Daily or Weekly (user-selectable). This helps identify volume-weighted mean "pressure" rather than price-weighted mean value.
Smoothed Trend Lines:
EMA (Exponential Moving Average): Applied to the CVD to show short-term momentum shifts.
WMA (Weighted Moving Average): Highlights trend strength and sensitivity with adjustable period, thickness, and color.
Flexible Visuals:
Adjustable thickness for each line.
Displayed in a separate pane for clear analysis, independent of price action.
⚙️ Inputs:
VWAP Reset Mode: Choose between Daily or Weekly reset.
EMA Period & Thickness
WMA Period, Color & Thickness
🧠 Use Cases:
Detect divergence between price and CVD-based VWAP.
Monitor trend alignment via CVD, EMA, and WMA.
Evaluate volume-driven moves, especially during session opens or key volume spikes.
💡 Ideal for traders focused on volume-based analysis, order flow insights, or those looking to enhance VWAP strategies using a more nuanced approach with CVD.
HTF High/Low Targets This script plots the previous Highs and Lows of the 1HR, 4HR, Daily, and Weekly timeframes.
Each level is color-coded, extends across the chart, and includes labels to help you spot key areas of past support and resistance.
Use this tool to:
- Confirm intraday price reactions at HTF zones
- Identify high-probability reversal or breakout areas
- Get notified with built-in alerts when price crosses a level
You can toggle each timeframe level on/off in the settings panel.
Great for:
- Day traders and scalpers who trade off 1-minute or 5-minute charts
-Swing traders looking for confluence with HTF zones
- Anyone using a multi-timeframe analysis approach
Created by @mychaellesliemedia.
CCT SuperTrade 2025CCT SuperTrade 2025
An original combination of two well-established methodologies for identifying potential market entry and exit opportunities.
General Concept
This script merges principles from the Hi-Lo Activator and the “Holy Grail” strategy developed by Linda Raschke and Laurence Connors. It was conceived by the Central Crypto Traders team and remains closed-source to protect the originality of its logic and scoring system.
Hi-Lo Activator
The Hi-Lo Activator focuses on points of price compression followed by breakouts, much like a compressed spring releasing its energy. This indicator monitors market contraction using simple MAs focusing in low and High candle points.
Holy Grail
Based on the work of Linda Raschke and Laurence Connors, the “Holy Grail” centers on 20-period simple moving average and pullbacks in trending markets using ADX indicator. In this script, we incorporate additional price filters to reinforce the identification of strong trends and pinpoint entry opportunities during retracements.
Unique Scoring System
The script’s logic evaluates multiple factors (trend, momentum, volatility) and generates a proprietary scoring system.
Each signal arises from a confluence of criteria, providing clearer indications for traders looking to identify buy or sell opportunities.
Triple Bollinger Bands and Strategic Zoning
This indicator integrates a customized triple Bollinger Bands setup to establish clear internal trading zones: Sell Zone, Neutral Zone, and Buy Zone. These zones guide traders on potential market reversals or continuation points. Additionally, the outer Bollinger Band set at 3 standard deviations (Dev3) identifies extreme volatility boundaries—price action rarely sustains movements beyond this level, signaling potential short-term exhaustion or reversal points.
Color Candle System (Trend + Volume + Momentum)
The indicator utilizes an advanced 9-color candle system, combining real-time trend, volume, and momentum data into a visual scale. Each candle color corresponds to a unique market condition, providing traders with instant and intuitive insights into current market sentiment and strength.
Additional Indicator Features
The indicator also includes several supplementary tools to enhance analysis precision:
Four customizable moving averages, selectable among EMA, SMA, WMA, HMA, DEMA, and VWMA, allowing tailored trend analysis.
A proprietary Fibonacci-based trendline, developed exclusively by our team, for dynamic identification of market direction and key support/resistance levels.
Labels clearly identifying plotted lines, significantly simplifying chart interpretation.
Pivot indicators, highlighting critical swing-high and swing-low points, aiding traders in spotting potential market reversals and continuation patterns.
The indicator also features an optional flag to highlight Inside Bars, candlestick patterns indicating price consolidation that can signal impending breakouts or reversals.
The indicator includes dedicated signals to detect potential Pump and Dump scenarios, identified through abnormal volume spikes coupled with significant short-term price fluctuations, warning traders of potentially manipulated or highly speculative market movements.
The indicator identifies possible trend reversals triggered by volume spikes, highlighting moments when significant increases in trading volume coincide with abrupt price changes, potentially signaling exhaustion or initiation of new trends.
Parabolic SAR Integration
The indicator also integrates the Parabolic SAR (Stop and Reverse), clearly marking dynamic points of trend reversal on the chart. This allows traders to quickly visualize potential changes in market direction and manage trade entries or exits more effectively.
Integrated Information Panel
The indicator features a dynamic Info Panel that provides real-time textual readings of all relevant indicators used within the combined strategies. This panel conveniently displays values such as trend strength, momentum status, volatility levels, stochastic signals, ADX strength, and other key metrics already mapped by the script, allowing traders to quickly interpret market conditions and make informed decisions.
Usage and Application
Designed for various trading styles (swing or intraday), this indicator highlights trend shifts and potential reversal points.
When applied to the chart, CCT SuperTrade 2025 should be active unically to avoid unnecessary clutter and ensure straightforward interpretation.
Originality
The key innovation lies in the way we combine and score the signals using our unique score system with the “Hi-Lo Strategy” and the “Holy Grail.”
The code is closed-source due to the unique research and development carried out by our team, resulting in a hybrid algorithm that has no open-source equivalent.
Disclaimer
This script does not guarantee success and does not replace independent analysis. Financial markets carry risks; traders should proceed with caution and further study before making decisions. DYOR
Technical Disclaimer
This indicator is programmed using Pine Script V6, leveraging standard functions and calculations provided by ©TradingView , ensuring the accuracy, integrity, and reliability of the presented market data and signals. However, past performance does not guarantee future results. Always conduct independent analysis and trade responsibly.
It is important to clarify that the CCT SuperTrade 2025 is not a “multi-indicator” developed solely for the purpose of aggregating various visual tools into a single script.
Each of its components—despite being optionally visible as standalone plots—feeds critical data into the script’s integrated scoring system.
These internal modules are interdependent, and none function in isolation or deliver valid signals independently.
Therefore, this makes the CCT SuperTrade 2025 a singular, cohesive algorithm rather than a modular toolkit. The architecture was intentionally designed this way to preserve the logic, flow, and accuracy of the signal generation engine, reinforcing the integrity of the system as a whole. Any attempt to separate these components would compromise the core mechanism and invalidate its analytical structure.
PSP/TrueOpen💎 Precision Swing Point (PSP) & True Open Levels Indicator 🚀
This advanced tool highlights Precision Swing Points (PSPs) and plots True Open Levels across major timeframes. It’s designed to help you spot potential reversals, align with institutional bias, and build higher-probability setups — all while giving you full customization over how everything looks and feels.
🔥 Key Features:
PSP Candle Highlighting
Automatically detects and highlights candles that meet the PSP criteria — usually found at major turning points in the market. Full customization options for wick color, border color, and visual appearance.
True Open Levels
TSO – True Session Open
TDO – True Day Open
TWO – True Week Open
TMO – True Month Open
Customization Options (for each True Open level):
Color
Line type – solid, dashed, or checkered
Line length – full-width or shortened
Custom Text Labels – Add your own notes to each level (e.g., “Weekly Bias,” “Institutional Anchor”)
🌟 What is a PSP?
A Precision Swing Point is a specific candle formation that shows up before strong moves. It usually sweeps a key level and closes with intent. PSPs often confirm SMT or SSMT divergences with a candle close at key levels — adding conviction to the idea that a reversal or expansion is about to unfold.
These points offer clean, asymmetric opportunities when aligned with structure or higher-timeframe bias. This indicator spots them automatically for you — no more guessing.
🚨 How to Use True Opens to Your Advantage:
True Opens act as precision anchors for market bias. When you compare the current cycle’s open to the higher timeframe’s open, it gives instant insight into context.
If the current session/day/week opens below the higher timeframe’s open, you’re operating in extreme discount.
If it opens above, you’re sitting in extreme premium.
That tells you whether you’re trading from a favorable location or chasing into poor pricing — especially when combined with PSPs, SMT, or Fair Value Gaps.
✨ Why Use True Opens?
True Opens aren’t just lines — they represent where institutions reset the auction. Price respects them across all timeframes. Whether you're scalping NY session or planning a swing entry, these levels help frame the market, highlight where power shifts, and clarify if you're early or late to a move.
⚠️ Caution:
If you find the PSP candle colors aren’t visible or appear behind other chart elements, right-click on the candles, select Visual Order, then choose Send to Back. This will ensure the highlights display properly.
🌠 Thank you for using my indicator. I appreciate your trust and support — wishing you success and clarity in your trading journey.
S/R with Multi-Indicator ConsensusThis script identifies key support and resistance levels by analyzing consensus across multiple technical indicators. Here's how it works:
Core Concept
The script monitors 14 different technical indicators simultaneously, looking for areas where most indicators agree on potential reversal points. When a strong consensus emerges (over 60% agreement by default), it marks these price levels as significant support or resistance zones.
Indicator Analysis
The script uses an advanced "harmonic convergence" technique that examines:
Momentum indicators (RSI, Stochastic, Williams %R)
Volume-based indicators (OBV, MFI)
Trend indicators (MACD, WaveTrend)
Volatility measures (ATR, Bollinger Bands)
Special proprietary oscillators (RVI, Ultimate Oscillator)
Each indicator is normalized to a 0-100 scale for consistent comparison. The script then applies a "quantum weighting" algorithm that gives more importance to indicators showing extreme readings.
Support/Resistance Identification
When multiple indicators simultaneously reach overbought or oversold conditions near the same price level, the script:
Records these "harmonic convergence points"
Applies volume-based weighting (heavier volume = stronger level)
Uses time decay to fade older, less relevant levels
Groups nearby levels using a proprietary "price magnetism" algorithm
Visual Features
Colored Lines: Red for resistance, green for support
Line Styles: Solid (strong), dashed (medium), dotted (weak)
Dynamic Width: Thicker lines indicate stronger consensus
Info Labels: Show price, strength percentage, and touch count
Info Table: Displays key statistics in the corner
In this script, "Consensus Type" refers to whether the majority of indicators are signaling a potential support (oversold) or resistance (overbought) level.
How It Works:
The script checks multiple normalized indicators (RSI, Stochastic, MACD, OBV, etc.) to see if they are in overbought (OB) or oversold (OS) zones.
It calculates a consensus score (0% to 100%) based on how many indicators agree:
Type = 1 → Most indicators are in overbought (resistance likely).
Type = -1 → Most indicators are in oversold (support likely).
Type = 0 → No clear consensus (neutral).
The strength of the signal depends on the consensus score (higher = stronger level).
Example:
If RSI, Stochastic, and MACD are all in overbought territory (above ob_threshold), the script detects a Type 1 (Resistance).
If Williams %R, CCI, and OBV are oversold (below os_threshold), it detects a Type -1 (Support).
Why It Matters:
Helps traders identify high-probability reversal zones.
Filters out weak levels where indicators don’t agree.
Works alongside volume weighting & time decay to prioritize the strongest S/R levels.
The Info Table in the top-right corner shows the current Consensus Type (1, -1, or 0) and its strength (e.g., 75% means 75% of indicators agree on resistance/support).
Triple cloud📘 Tripple Cloud – Explanation and Functionality
Tripple Cloud is an advanced visualization of moving averages (EMA and MA) across the current timeframe and up to two higher timeframes (HTF1 and HTF2). It provides a fast visual overview of both local and overall trend direction.
✅ Features
🔹 1. Local Cloud (current timeframe)
EMA 13, 25, and 32 form the "cloud".
The background is automatically colored:
Green tones: Uptrend (faster EMA above slower)
Red tones: Downtrend (faster EMA below slower)
🔹 2. HTF Cloud (first higher timeframe)
Displays the same EMA cloud (13/25/32) for a higher timeframe (e.g., Daily when you're on 4H).
The background is shown in subtle green/red shades.
Optional display of EMA 50, 200 and MA 100, 300 in grayscale.
🔹 3. HTF2 Cloud (second higher timeframe)
Same principle as HTF1 – even higher level (e.g., Weekly when you're on 4H).
Visualized in gray tones, helping you spot long-term trends.
⚙️ Settings
Automatic HTF selection: The script automatically chooses suitable higher timeframes based on the current one (e.g., 1m → 5m and 1h).
Manual HTF 1 & 2: You can also manually select the higher timeframes.
Show/hide HTF clouds and EMAs: Enable or disable HTF1 and HTF2 individually.
Everything updates automatically when switching chart timeframes.
💡 Use Cases
Use Tripple Cloud to:
Spot confluence between local and higher timeframe trends
Avoid trading against major market direction
Detect early trend reversals on higher timeframes
Analyze both intraday and swing setups with clarity
Customizable 10‑MA SuiteCustomizable 10‑Moving‑Average Suite
OverviewPlot up to 10 independent moving averages on a single chart. Every line can be tailored to your trading style with adjustable length, timeframe, MA type (SMA, EMA, WMA, RMA, VWMA, HMA, LinReg), data source, colour, width, and plot style.
Key Features
True multi‑time‑frame support via request.security(): mix intraday and higher‑time‑frame MAs effortlessly.
Fine‑grained visibility control: toggle each MA on/off to keep charts clean and script performance high.
Versatile display options: choose between line, step, histogram, or area plots for every MA.
Typical Use‑Cases
Quickly compare short‑, medium‑, and long‑term trends.
Identify dynamic support/resistance and moving‑average crossovers.
Add confluence to existing strategies or discretionary setups.
Pro TipHighlight your primary trend MA with a thicker line and bolder colour, while setting secondary MAs to thinner or dashed styles—this keeps focus where it matters and prevents visual clutter.
Enjoy!
Supply and Demand Zones🔍 Supply and Demand Zones
by The_Forex_Steward
This indicator automatically identifies Supply and Demand Zones based on aggregated synthetic candles, helping traders pinpoint potential reversal or breakout levels with clarity and precision.
🧠 How It Works:
This tool aggregates price data over a set number of candles (defined by the Aggregation Factor ) to create "synthetic candles" that smooth out noise and highlight significant institutional price activity. These candles are then analyzed to detect bullish or bearish order blocks , which are visualized as zones:
-Demand Zones (Green) : Formed when price breaks above the high of a previous bearish synthetic candle.
-Supply Zones (Red) : Formed when price breaks below the low of a previous bullish synthetic candle.
These areas often represent key institutional interest where price is likely to react.
⚙️ Key Features:
-Aggregation Factor : Groups candles to form larger, synthetic ones. Higher values smooth price and reduce noise.
-Custom Zone Length : Define how far zones extend forward (up to 500 bars).
-Mitigation Logic : Choose whether to auto-delete zones once price breaks through them.
-Visual Customization : Customize zone colors and borders to suit your charting style.
-Alerts : Get notified when new Supply or Demand zones are formed.
📈 How to Use It:
1. Trend Trading : Use zones as dynamic support/resistance to enter with trend pullbacks.
2. Reversals : Look for price reactions at untested zones for potential counter-trend setups.
3. Breakouts : Monitor for zone breaks that signal strong momentum or shifts in market structure.
4. Confluence : Combine with other indicators (like RSI or volume) for more robust trade setups.
🔔 Alerts:
Receive alerts when new demand or supply zones are formed so you can take action in real time.
✅ Recommended Settings:
For intraday trading : Use lower aggregation values (e.g., 3–5).
For swing/position trading : Higher values (e.g., 6–10) may give better structure.
LANZ Strategy 2.0 [Backtest]🔷 LANZ Strategy 2.0 — Structural Breakout Logic with Dynamic Swing Protection
LANZ Strategy 2.0 is a precision-focused backtesting system built for intraday traders who rely on structural confirmations before the London session to guide directional bias. This tool uses smart swing detection, risk-defined position sizing, and strict time-based execution to simulate real trading conditions with clarity and control.
🧠 Core Components:
Structural Confirmation (Trend & BoS): Detects trend direction and break of structure (BoS) using a three-swing logic, aligning trade entries with valid structural movement.
Time-Based Execution: Trades are triggered exclusively at 02:00 a.m. New York time, ensuring disciplined and repeatable intraday testing.
Swing-Based SL Models: Traders can select between three stop-loss protection types:
First Swing: Most recent structural level
Second Swing: Prior level
Full Coverage: All recent swing levels + configurable pip buffer
Dynamic TP Calculation: Take-Profit is projected as a risk-based multiple (RR), fully adjustable via input.
Capital-Based Risk Management: Risk is defined as a percentage of a fixed account size (e.g., $100 per trade from $10,000), and lot size is automatically calculated based on SL distance.
Fallback Entry Logic: If structural breakout is present but trend is not confirmed, a secondary entry is triggered.
End-of-Session Management: Any open trades are automatically closed at 11:45 a.m. NY time, with optional manual labeling or review.
📊 Visual Features (Optional in Indicator Version):
(Note: Visuals apply to the indicator version of LANZ 2.0, not this backtest script)
Swing level labels (1st, 2nd) and dynamic SL/TP lines.
Real-time session coloring for clarity: Pre-London, Entry Window, and NY Close.
Outcome labels: +RR, -RR, or net % at close.
Auto-cleanup of previous drawings for a clean chart per session.
⚙️ How It Works:
Detects last trend and BoS using swing logic before 02:00 a.m. NY.
At 02:00 a.m., evaluates directional bias and executes BUY or SELL if confirmed.
Applies selected SL logic (1st, 2nd, or full swing protection).
Sets TP based on the RR multiplier.
Closes the trade either on SL, TP, or at 11:45 a.m. NY manually.
🔔 Alerts:
Time-of-day alert at 02:00 a.m. NY to monitor execution.
Can be extended to cover SL/TP triggers or new BoS events.
📝 Notes:
Designed for backtesting precision and discretionary decision-making.
Ideal for Forex pairs, indices, or assets active during the London session.
Fully customizable: session timing, swing logic, SL buffer, and RR.
👤 Credits:
Strategy built by @rau_u_lanz using Pine Script v6, combining structural logic, capital-based risk control, and London-session timing in a backtest-ready framework for traders who demand accuracy and structure.
ATS LOGIC CHART EXPERT V5.0### **ATS Logic Chart Expert V5.0**
#### **Wyckoff-Inspired Automated Trend & Structure Analysis Tool**
---
### **🔹 Overview**
**ATS Logic Chart Expert V5.0** is an advanced Wyckoff-based charting indicator designed for automated trend analysis, support/resistance mapping, and breakout signal generation. It intelligently plots key price structure lines and identifies high-probability reversal signals using the Wyckoff accumulation/distribution model (LPS/LPSY), making it ideal for both swing traders and trend followers.
---
### **🔹 Key Features**
#### **1️⃣ Automated Price Structure Lines**
- **Smart detection of swing highs/lows** with auto-plotting of critical support/resistance
- **White Dashed Line (Resistance)** – Formed by prior downtrends, marks potential breakout zones
- **Red Dashed Line (Support)** – Derived from uptrends, signals breakdown risks
- **Up/Down Triangle Markers** – Highlight key pivot points for manual S/R refinement
#### **2️⃣ Wyckoff LPS/LPSY Signal Engine**
| **Signal** | **Trigger Condition** | **Market Implication** |
|------------|----------------------|-----------------------|
| **LPS (Last Point of Support)** | Break above white resistance (confirms accumulation) | Bullish trend initiation |
| **CVG LPS (Covered LPS)** | Retest & second breakout | Stronger bullish confirmation |
| **LPSY (Last Point of Supply)** | Breakdown below red support (confirms distribution) | Bearish trend initiation |
| **CVG LPSY (Covered LPSY)** | Pullback & second breakdown | Stronger bearish confirmation |
#### **3️⃣ Breakout Signals (BK1/SK1)**
- **BK1 (Breakout 1)** – First close above white resistance, early long opportunity
- **SK1 (Short Kill 1)** – First close below red support, early short opportunity
- **Optimized for momentum traders** to capture initial trend acceleration
---
### **🔹 Signal Logic Deep Dive**
#### **📈 Bullish Scenario (LPS / BK1)**
1. **Accumulation Phase**: Price consolidates near lows, forming a base
2. **Breakout**: Price breaches white resistance → triggers **LPS** or **BK1**
3. **Retest Reinforcement**: Successful retest & rebound → confirms **CVG LPS**
#### **📉 Bearish Scenario (LPSY / SK1)**
1. **Distribution Phase**: Price churns near highs, creating topping patterns
2. **Breakdown**: Price cracks red support → triggers **LPSY** or **SK1**
3. **Pullback Reinforcement**: Failed rebound → confirms **CVG LPSY**
---
### **🔹 Practical Applications**
✅ **Trend Trading**: Ride LPS/LPSY-confirmed trends
✅ **Reversal Trading**: Fade extremes with BK1/SK1 early alerts
✅ **S/R Trading**: Use auto-plotted lines for limit orders
---
### **🔹 Customization Tips**
- **Adjust sensitivity**: Modify swing point detection periods per asset volatility
- **Signal filters**: Combine with moving averages/volume for fewer false breaks
---
### **🔹 Conclusion**
**ATS Logic Chart Expert V5.0** delivers:
- **Hands-free structure mapping** (no manual drawing)
- **Institutional-grade reversal signals** (Wyckoff LPS/LPSY)
- **First-mover advantage** (BK1/SK1 early entries)
> ⚠️ **Risk Note**: Always use stop-losses. Backtest for optimal settings in ranging markets.
---
**Ideal For**:
• Wyckoff method practitioners
• Price action traders
• Breakout strategy enthusiasts
ABC Trading ConceptOverview
ABC Trading Concept is a wave- and trend-based market structure indicator that identifies shifts in price behavior by analyzing impulse and correction patterns. It introduces a unique calculation method—Price-MAD-ATR Bands—to detect wave formation, trend reversals, and potential trade zones with dynamic adaptability to volatility and trend strength.
🔧 Core Logic and Calculations
1. Price-MAD-ATR Bands
At the heart of the script is a proprietary channel system based on:
MAD (MA Difference): Difference between fast and slow moving averages.
ATR (Average True Range): Measures current market volatility.
The bands are plotted as:
Upper Band = Price + MAD × ATR
Lower Band = Price − MAD × ATR
A breakout beyond these bands signals the formation of a new wave (up or down).
2. Wave Formation (A and B Waves)
Standard Method: A new wave forms when price breaks through a Price-MAD-ATR Band.
Extreme Method: A wave also forms when price breaks the passive extremum of an existing wave.
Wave A may be generated by a correction breaking the Reversal Point.
Wave B can be configured to form in three modes, including breakouts of internal or boosted counter-corrections.
3. Trend Structure
A trend is built from waves and includes:
Direction, active/passive extremums
Impulses and Corrections (each tracked independently)
Reversal Point: Defined by a boosted correction breakout
G-Point: Set at the active extremum of Wave A
Vic Line: A trendline derived from previous correction extremums (optional)
When price breaks above the G-point, a new trend may be initiated.
4. Correction Boost Logic
A correction becomes boosted when price exceeds a configurable multiple of the correction’s range. Boosted corrections define key zones and enable the creation of Reversal Points and Wave A setups.
5. Vic Sperandeo Line
Optionally used to enhance trend structure confirmation. Drawn between extremums of previous corrections and may act as a secondary condition for forming Wave A.
6. SL/TP Level Calculation
At the start of a new trend, SL and TP levels are automatically plotted based on:
The extremums of Wave A or Wave B (selectable)
Configurable ratios (e.g., 1.382, 2.0, 2.618 for TP levels)
📊 Visual Elements on the Chart
Bands: Price-MAD-ATR Bands as adaptive upper/lower thresholds
Waves: Yellow zigzag lines
Trends: Blue (or purple for hard-type) trendlines with directional arrow
Reversal Point: Dashed horizontal line (starts from key correction breakout)
Correction Zone: Shaded rectangle from boosted correction range
Vic Line: Dashed support/resistance trendline
TP/SL Levels: Dotted horizontal levels, plotted at trend origin
⚙️ Inputs and Customization
You can adjust:
ATR and MA parameters
Band width multiplier
Boost strength threshold for corrections
SL/TP levels and logic (by Wave A or B)
Vic Line usage and visual styles for each element
Over 40 configurable settings are available to adapt the indicator to your strategy.
🧠 How to Use
Look for a new trend start when G-point is broken.
Use Wave A/B structure and Reversal Point for setup planning.
Correction Zones help identify re-entry areas or stop placement.
Follow TP/SL levels to manage exits with structural targets.
The Vic Line can act as dynamic support/resistance in context.
The indicator provides analytical insights—it does not generate automatic signals.
💡 What Makes It Unique
Unlike typical wave or Zigzag indicators, ABC Trading Concept introduces a volatility-adjusted wave logic using Price-MAD-ATR Bands. This method combines trend momentum (MA differential) with market volatility (ATR), offering a more flexible and noise-resistant structure recognition system. The integration of Wave A/B logic, dynamic reversal zones, and Vic Line validation makes it a comprehensive tool for structural traders.
⚠️ Disclaimer
This tool is for technical analysis and educational purposes. It does not guarantee profit or forecast market direction. Trading involves risk—use this script as part of a larger strategy with proper risk management.
Supertrend - SSL Strategy with Toggle [AlPashaTrader]📈 Overview of the Supertrend - SSL Strategy with Toggle Indicator
This strategy combines two powerful technical tools—Supertrend and SSL Channel—to deliver precise and reliable trading signals, designed for traders who value confirmation and risk management. 🎯
⚙️ How This Indicator Was Created
The strategy was meticulously crafted to harness the complementary strengths of:
Supertrend Indicator: A trend-following tool based on Average True Range (ATR) and a multiplier factor, it detects bullish or bearish trends by calculating dynamic support and resistance levels. 📊
SSL Channel: A channel indicator built using two Simple Moving Averages (SMA) of the highs and lows over a set period. It cleverly determines trend direction by comparing price action relative to these moving averages. 🔄
These two indicators are merged into one cohesive strategy with an optional toggle feature allowing the trader to choose whether to require confirmation from both indicators before taking a position or to act on signals from either. 🎚️
The script includes user-friendly controls for:
Defining a custom trading date range 📅, useful for backtesting or restricting trading to specific market conditions.
Setting the ATR length and multiplier for Supertrend sensitivity ⚙️.
Adjusting the SSL channel period for responsiveness to price changes ⏱️.
Choosing whether to require dual confirmation (both Supertrend and SSL signals) for more conservative trading or a single indicator trigger for a more aggressive approach 🛡️ vs ⚔️.
🔍 How This Indicator Works
Signal Generation:
Supertrend analyzes market volatility and trend direction, signaling a potential buy when the trend turns bullish 📈 and a sell when bearish 📉.
SSL Channel tracks price relative to its high and low moving averages to identify uptrends and downtrends. A crossover of the SSL Up and SSL Down lines generates buy or sell signals 🔔.
Confirmation Logic:
When confirmation is enabled, the strategy waits for agreement between both indicators before entering a trade ✅, reducing false signals.
When confirmation is disabled, it trades based on signals from either indicator ⚡, allowing more frequent entries but potentially higher risk.
Entry and Exit Rules:
Entry occurs when the indicator(s) signal a new trend direction 🚀 for long, or decline for short.
Exit happens when opposing signals appear 🛑, closing existing positions to lock in profits or cut losses.
Visual Aids:
The SSL Channel lines are plotted directly on the chart with distinct colors to intuitively show trend shifts 🎨.
The system respects the specified date range ⏳, ensuring trades only occur within user-defined periods.
🎯 How to Use This Strategy Effectively
Set Your Preferences: Adjust ATR length, factor, and SSL period to your style. More sensitive? Decrease lengths. Smoother? Increase them ⚙️.
Choose Confirmation Mode: Use the toggle depending on your risk appetite:
Confirmation ON ✅: For conservative traders wanting high-probability setups.
Confirmation OFF ⚡: For aggressive traders who want more signals.
Apply Date Filters: Focus your trading or backtesting on specific periods 📅.
Monitor Entry/Exit Signals: Watch crossovers and Supertrend changes closely 👀.
Risk Management: The strategy uses position sizing as a percentage of equity (default 15%) 💰. Adjust accordingly.
Combine with Other Tools: Enhance results by combining this with volume, price action, or fundamentals 🔧.
📝 Summary
This Supertrend - SSL Strategy with Toggle is a dynamic and flexible trading tool blending volatility-based trend detection with moving-average channel insights. It empowers traders to customize confirmation strictness, control trading periods, and efficiently capture trending opportunities while managing risk smartly.
By integrating proven indicators in a user-friendly, visually intuitive package, this strategy stands as a sophisticated tool suitable for various markets and trading styles. 🚀📊
Break-out DailyBreakout - with body - of yesterday's daily high or low.
With body we mean that the indicator only signals if the candle has closed above the high (Breakout - Long) or below the low (Breakout - Short).
This indicator can make mistakes such as not signaling a breakout or signaling it at the wrong level (this is because it is based on the highs/lows recorded in the daily candle, not the daily high/low in the reference timeframe).
I recommend always checking if the breakout has actually occurred.
I hope it will make it easier for you to read the charts and happy trading to everyone! :)
###################################################################################
Rottura strutturale - con corpo - del massimo o minimo giornaliero di ieri.
Con corpo si intende che l'indicatore segnala solo se la candela ha chiuso al di sopra del massimo(Break-out - Long) o al di sotto del minimo(Break-out - Short).
Questo indicatore può fare degli errori come non segnalare una rottura strutturale o segnalarla su un livello sbagliato(questo perché si basa sui massimi/minimi registrati nella candela giornaliera, non il massimo/minimo giornaliero nel timeframe di riferimento).
Consiglio di controllare sempre se effettivamente è avvenuta la rottura.
Spero che vi semplificherà la lettura dei grafici e buon trading a tutti! :)
My S.T.A.C.K.📊 My S.T.A.C.K. (Simplified TA Combined Kit)
All your favorite technical tools in one clean, customizable overlay.
My S.T.A.C.K. is a power-packed indicator designed to streamline your chart by combining the most commonly used technical analysis tools into a single, space-saving script. Whether you're a trend trader, swing trader, or just looking to declutter your view — this kit gives you everything you need, nothing you don’t.
🔧 Features:
5 Customizable Moving Averages: Choose your type (SMA, EMA, WMA, etc.) and periods to match your strategy.
Bollinger Bands: Visualize volatility and overbought/oversold zones with precision.
Donchian Channels: Spot breakouts and trend reversals based on high/low ranges.
ATR Bands: Adaptive support/resistance zones based on Average True Range.
Clean Visualization: Toggle each element on or off, adjust colors, and focus only on what matters.
✅ Ideal For:
- Traders who want multiple indicators in one place
- Reducing indicator clutter on TradingView
- Quick visual analysis without switching scripts
Liquidity Fvg IdentifierDear Traders,
This indicator is very effective and supports Price action Traders.
Swing Identification
This automatically Detect swings level and mark as per the chart Time frame. these lines can be used for support and resistance.This is represented by Yellow and Blue lines
There is an option to put Higher time frame swing levels and these are represented by Green and Red Lines. Eg: if you are trading in 5 mins and you also want 1 hour swing levels , then you can get this by selecting higher time frame 1 hour and select both Chart and Htf in the option provided.
Trade: If price is approaching where both Times frames swing lines are coinciding these levels act as strong Support and Resistance . You need to wait for proper price action to form and take Trades.
FVG
This also automatically detect Fare Value Gaps and mark as per the chart Time Frame. These can be used for reversal trades . This is represented buy purple blocks
There is an option to put higher time frame FVG and these are represented by Red Blocks. Eg : if you are trading in 15 mins and you also want 4 hours FVG, then you can get this by selecting Higher time frame 4 hours and select both chart and HTF in the option provided.
Trade: If price is approaching where both time frames FVG are coinciding , these box will act as strong support and reversal. wait for proper price action and trade can be taken.
Volume Breakout.
This will automatically detect and volume breakout of last 60 candles and plots below the candle. These can be adjusted in setting as per requirement. suppose you want for last 30 candles , you can select 30 and it will plot below candle when ever there is breakout.
Trade: When ever volume breakout is coming near swing or fvg support or resistance , this can be considered to support reversal.
Pls take your financial advisor suggesting before using taking trades .
any suggestion reach to us thru message
Thanks
Market BottomDiscover the "Market Bottom" Indicator: Your Ultimate Trading Companion.
Unlock the power of precision trading with the Market Bottom indicator. This indicator is engineered to help traders identify optimal buying and selling opportunities while providing actionable insights through advanced Dollar-Cost Averaging (DCA) strategies and customizable take-profit settings. Whether you're a seasoned trader or just starting, Market Bottom empowers you to navigate the markets with confidence.
Why Choose Market Bottom?
Versatile Trading Styles: Whether you prefer quick scalps or long-term DCA strategies, Market Bottom adapts to your approach with its flexible settings.
Data-Driven Decisions: Leverage real-time trade cycle data, average entry prices, and customizable take-profit levels to make informed trades.
User-Friendly Interface: Intuitive visuals and customizable options make it accessible for traders of all levels.
Automation-Ready: Set up alerts to act on opportunities instantly, streamlining your trading process.
Get Started Today!
Transform your trading with the Market Bottom indicator. Perfect for stocks, forex, crypto, and more, this tool equips you with the insights needed to capitalize on market opportunities. Add it to your TradingView charts and start trading smarter today!
Aftershock by Session [SAKANE]■ Background & Motivation
In 24/7 markets like crypto, not all participants react simultaneously to major events.
Instead, reactions unfold across different regional trading sessions — Asia (APAC), Europe (EU), and the United States (US) — each with its own tempo and sentiment.
This indicator is designed to visualize which session drives the market after a key event — capturing the "aftershock" effect that ripples through time zones.
■ Key Features
Tracks price return (open → close) for each session: APAC / EU / US
Cumulative session returns are calculated and visualized
Smoothing options: SMA, EMA, or Ehlers SuperSmoother
Optimized for daily charts to highlight structural momentum shifts
Toggle visibility of each session independently
■ Why “Aftershock”?
Take April 2, 2025 — the day of the “Trump Tariff Opening.”
That policy announcement triggered a market-wide response. But:
Which session reacted first?
Which session truly moved the market?
This indicator is named “Aftershock” because it helps you see the ripple effect of such events — when and where momentum followed.
■ How to Use
Search for “Aftershock by Session ” on TradingView
Add it to your chart (use Daily timeframe)
Customize sessions and smoothing options via settings
You can also bookmark it for quick access.
■ Insights & Use Cases
Detect which session initiated or led market moves after news events
Understand geo-temporal dynamics — did the move start in Asia, Europe, or the US?
For example, on April 2, 2025, the day Trump’s tariff pivot was announced:
You can instantly see which session took the lead —
the APAC session hesitated, while the US session drove the trend.
This insight becomes visually obvious with the cumulative lines.
■ Unique Value
Unlike typical indicators based on raw price action,
Aftershock analyzes market movement through a session-based structural lens.
It captures where capital actually moved — and when.
A tool not just for technical analysis, but for event-driven, macro-aware market reading.
■ Final Thoughts
To truly understand market mechanics, we must look beyond candles and trends.
Aftershock by Session breaks down the 24-hour cycle into meaningful regional flows,
allowing you to track the true drivers behind price momentum.
Whether you're trading, researching, or tracking macro catalysts,
this tool helps answer the key question:
“Who moved the market — and when?”
1M Scalp Setup – 2ndHi/2ndLo Breakout1M Scalp Setup – 2ndHi/2ndLo Breakout
This script is designed for 1-minute chart scalpers seeking high-probability intraday breakout setups based on early session price action. The strategy revolves around identifying the first high and low of the day, and then detecting the second breach (2nd high or 2nd low) to anticipate breakout entries.
🔍 Core Logic:
EMA Filter : A configurable EMA (default 8-period) is plotted for trend context.
1st High/Low Detection : Captures the very first high and low of each trading day.
2nd High/Low Markers : Identifies the second time price breaks the initial high or low, acting as a potential signal zone.
Breakout Signals :
A Buy Signal is triggered when price closes above the 2nd high.
A Sell Signal is triggered when price closes below the 2nd low.
Each signal is only triggered once per day to reduce noise and avoid overtrading.
🖌️ Visual Markers:
1stHi and 1stLo : Early session levels (red and green).
2ndHi and 2ndLo : Key breakout reference points (purple and blue).
B and S Labels : Buy and Sell triggers marked in real-time once breakouts occur.
⚙️ Inputs:
EMA Length (default: 8)
Customizable Colors for Buy/Sell signals and key markers
This tool is best used in fast-moving markets or during high-volume sessions. Combine with volume or higher-timeframe confirmation for improved accuracy.
IPDA with Order Blocks [Enhanced]Summary of the Code
This script plots IPDA Standard Deviations on a price chart, helping traders visualize potential support and resistance levels based on a series of user-defined deviations. It uses swing high/low points and time-based fractal lookbacks (monthly, weekly, daily, or intraday) to define price anchors and compute deviation lines.
Key features include:
Deviations: It calculates and plots deviation levels based on the distance between swing highs and lows, which traders can use as price targets or zones of interest.
Timeframes:
Monthly (higher timeframe analysis)
Weekly (medium-term analysis)
Daily and Intraday (shorter-term precision)
Customization:
Choose which deviation levels (e.g., 0, 1, -1, -2) to display.
Hide labels or adjust their sizes for cleaner charts.
Option to remove invalidated deviation levels dynamically.
Visual Cleanliness: Automatically removes clutter by hiding or deleting invalid deviation levels and focusing on active price zones.
How to Utilize It for Intraday Trading to Make $1,000
Here’s how to effectively use the indicator to optimize intraday trading:
1. Set the Right Timeframe:
Use the 15-minute or 1-hour chart for intraday setups.
Ensure the "Intraday" lookback option is enabled to focus on shorter-term swings.
2. Interpret the Levels:
Bearish Order Blocks: Look for red lines (bearish deviation) as potential resistance zones where the price may reverse downward.
Bullish Order Blocks: Look for green lines (bullish deviation) as potential support zones where the price may bounce upward.
3. Plan Entries and Exits:
Entry: Buy near a green order block or short near a red order block, confirming the trade with additional signals (e.g., candlestick patterns, momentum indicators).
Stop Loss: Place your stop below the green line (for buys) or above the red line (for shorts).
Profit Targets: Use deviation levels as targets (e.g., from the 0 level to +1 or -1).
4. Combine with Market Context:
Use the script alongside volume profile, trend indicators, or news events for confirmation.
Avoid trading during major news events unless aligned with deviations.
5. Position Sizing for $1,000 Goal:
Trade liquid instruments like Nasdaq futures (NQ) or major forex pairs.
Risk 1-2% of your capital on each trade and scale into positions if confirmed.
Target a profit of 10-20 points per trade on Nasdaq futures, with 1-2 trades daily.
6. Monitor Key Timeframes:
Pre-market (before 9:30 AM EST): Mark deviation levels to predict market open behavior.
Midday & Power Hour (3-4 PM EST): Watch for breakouts or retests around key deviation levels.
By combining this tool with disciplined risk management and a clear trading plan, you can systematically work toward your profit target while minimizing unnecessary risks
GOD Complex Trading By QTX Algo SystemsGOD Complex Trading by QTX Algo Systems
Overview
GOD Complex Trading is a comprehensive signal engine that combines multiple QTX Algo Systems indicators into a unified framework for identifying high-confluence reversal and continuation setups. It includes dynamic entry detection, adaptive stop loss logic, multi-timeframe analysis, score-based risk scaling, and real-time trade visualization.
This script is designed for discretionary traders who want to see structured trade logic unfold directly on the chart, with visual labeling of entry type, dynamic stop loss placement, exit score computation, and key trade metrics shown in an on-chart table.
How It Works
Each trade is classified into one of four categories:
Reversal Long
Reversal Short
Continuation Long
Continuation Short
Each trade type has a distinct confluence requirement involving real-time and higher-timeframe inputs. The indicator calculates a confluence score out of 200 and determines HTF (high-timeframe) directional bias across three layers (HTF1, HTF2, HTF3), which are configurable.
QTX Indicators Used
This script integrates internal logic from the following proprietary QTX tools:
VBM (Volatility-Based Momentum) – Confirms directional bias using momentum slope and volatility increase.
VBSMI (Volatility-Based SMI) – Detects early momentum shifts via band exits and crossovers of adaptive smoothed SMI values.
SEA (Statistically Extreme Areas) – Highlights exhaustion zones using normalized volatility, smoothed range deviation, and SMI divergence.
SPB (Statistical Price Bands) – Uses volatility and trend-adjusted percentiles to define dynamic overbought/oversold zones.
COI (Continuation Opportunity Indicator) – Validates re-entry opportunities following a pullback during trend continuation.
Signal Logic – Examples
Each entry type is built from layered logic:
Reversal Long (Example)
Triggers when:
VBSMI is in dynamic oversold and crosses up
SEA level is at or below threshold (signaling statistical exhaustion)
SPB confirms recent low percentile hit
VBM and COI do not indicate trend continuation in the opposite direction
Continuation Long (Example)
Triggers when:
No recent extreme zones (SPB or SEA) are present
VBM confirms continued trend momentum
VBSMI crosses up and confirms strength
COI may confirm re-entry conditions
High-timeframe bias scores show alignment
All entries are subject to filter checks, including:
Minimum confluence score
HTF bias thresholds (HTF1, HTF2, HTF3)
Position type and trade history
Key Features
Trade Type Auto-Labeling
Each signal is labeled (“Rev Long”, “Cont Short”, etc.) directly on the chart for instant identification.
Stop Loss Visualization
Stop loss levels are calculated using a weighted average of ATR-based padding and prior swing highs/lows. Ghost lines are drawn for Add trades.
TP1 / TP2 Logic
TP1: Fires on opposite VBSMI crossover (momentum loss).
TP2: Fires when the opposite side’s reversal score exceeds a user-defined threshold.
Position Size & Risk Table
The on-chart table shows estimated trade size (based on max risk input), stop loss price, and calculated exit score. Reversal trades scale based on confluence score, while continuation trades use linear scaling.
Multi-Timeframe Confluence
The script uses three automatic higher timeframes to calculate directional bias and exit score amplification. This allows scoring logic to reflect broader trend alignment.
Add Trade Logic
The indicator detects both same-style and cross-style Add setups. Add signals are labeled and visualized, but should be used cautiously.
Auto-Close on Opposite Signal
When an opposite entry signal is triggered (e.g. Cont Short after Rev Long), the current trade is automatically considered closed, resetting tracking variables and metrics.
Additional Features
Fully bar-closed logic: no repainting or mid-bar recalculation.
High-precision control over alert triggering using bias filters and score ranges.
Dedicated alert conditions for all key trade types and TP/SL events.
Score-based position sizing using dynamic confluence score caps.
Table remains visible for a configurable number of bars after trade close.
Use Cases
Manual discretionary entries with clearly labeled setups and real-time validation
Score-based trade review and journaling using TP1/TP2 and exit score
Optimizing trade filters using alerts with HTF bias and confluence thresholds
Data-driven strategy refinement by observing which trades reach full exits
Disclaimer
This tool is provided for educational and informational purposes only. It does not guarantee any particular outcome or profitability. Always use proper risk management, backtest thoroughly, and consult a financial professional if needed.
Full Day Midpoint Line with Dynamic StdDev Bands (ETH & RTH)A Pine Script indicator designed to plot a midpoint line based on the high and low prices of a user-defined trading session (typically Extended Trading Hours, ETH) and to add dynamic standard deviation (StdDev) bands around this midpoint.
Session Midpoint Line:
The midpoint is calculated as the average of the session's highest high and lowest low during the defined ETH period (e.g., 4:00 AM to 8:00 PM).
This line represents a central tendency or "fair value" for the session, similar to a pivot point or volume-weighted average price (VWAP) anchor.
Interpretation:
Prices above the midpoint suggest bullish sentiment, while prices below indicate bearish sentiment.
The midpoint can act as a dynamic support/resistance level, where price may revert to or react at this level during the session.
Dynamic StdDev Bands:
The bands are calculated by adding/subtracting a multiple of the standard deviation of the midpoint values (tracked in an array) from the midpoint.
The standard deviation is dynamically computed based on the historical midpoint values within the session, making the bands adaptive to volatility.
Interpretation:
The upper and lower bands represent potential overbought (upper) and oversold (lower) zones.
Prices approaching or crossing the bands may indicate stretched conditions, potentially signaling reversals or breakouts.
Trend Identification:
Use the midpoint as a reference for the session’s trend. Persistent price action above the midpoint suggests bullishness, while below indicates bearishness.
Combine with other indicators (e.g., moving averages, RSI) to confirm trend direction.
Support/Resistance Trading:
Treat the midpoint as a dynamic pivot point. Price rejections or consolidations near the midpoint can be entry points for mean-reversion trades.
The StdDev bands can act as secondary support/resistance levels. For example, price reaching the upper band may signal a potential short entry if accompanied by reversal signals.
Breakout/Breakdown Strategies:
A strong move beyond the upper or lower band may indicate a breakout (bullish above upper, bearish below lower). Confirm with volume or momentum indicators to avoid false breakouts.
The dynamic nature of the bands makes them useful for identifying significant price extensions.
Volatility Assessment:
Wider bands indicate higher volatility, suggesting larger price swings and potentially riskier trades.
Narrow bands suggest consolidation, which may precede a breakout. Traders can prepare for volatility expansions in such scenarios.
The "Full Day Midpoint Line with Dynamic StdDev Bands" is a versatile and visually intuitive indicator well-suited for day traders focusing on session-specific price action. Its dynamic midpoint and volatility-adjusted bands provide valuable insights into support, resistance, and potential reversals or breakouts.
0x278's Swing-Failure-Pattern (SFP)0x278's Swing-Failure-Pattern (SFP) ‑ Confirmed Short
Table of Contents
Introduction
Core Concept – What Is an SFP?
How the Indicator Works
Visual Elements & Their Meaning
Input Parameters Explained
Step-by-Step Trading Playbook
Example Workflow (Daily BTC-USDT)
Alerts & Automation
Tips, Tricks & Best Practices
FAQ
Advanced Configuration & Asset-Class Playbook
1. Introduction
The Swing-Failure-Pattern (SFP) – Confirmed Short indicator spots and tracks bearish SFPs on any market and timeframe, with defaults tuned for Daily charts.
A bearish SFP occurs when price sweeps a prior swing high (liquidity grab) and then decisively rejects lower , signalling a possible trend reversal or sharp pullback.
This script automatically:
Identifies the liquidity sweep & rejection (‐"SFP-SHORT" label)
Confirms directional intent via a structure-breaking close below the setup low
Paints a preferred sell-on-retest zone and tracks its validity
Identifies optimal entry opportunities when price retests the zone
Generates optional retest and entry alerts when trading conditions appear
Self-cleans after a configurable number of bars – keeping your chart tidy
Default Timeframe : Daily
Default Market : Crypto / FX majors
Works On : All symbols + timeframes – simply adjust parameters.
2. Core Concept – What Is an SFP?
Sweep (Liquidity Grab) – Price trades above a meaningful swing high, triggering stops & inducing breakout buyers.
Rejection – The same bar (or the next) closes back below the swept high, invalidating the breakout.
Structure Break – Bears confirm intent by closing below the "setup low" (the most recent pivot low before the sweep).
Retest – Price retraces to the sweep zone. Traders seek entries inside the upper half of that zone with invalidation just above the swing high.
The indicator encodes these four steps so you can spot high-quality bearish reversals without manual bar-by-bar analysis.
3. How the Indicator Works
Phase: Sweep & Rejection
Script Logic: high > lastSwingHigh and close < lastSwingHigh
Visual Cue: Red SFP-SHORT label above candle
Phase: Structure Break
Script Logic: Close < setupLow while pattern locked
Visual Cue: Zone (red line-box) plotted; SFP-SHORT label stays
Phase: Retest Tracking
Script Logic: Zone stays active for retestExpiry bars or until tapped
Visual Cue: Orange SFP-RETEST label when hit
Phase: Entry Signal
Script Logic: Price rejection within retest zone
Visual Cue: Green ENTRY label at optimal entry point
Phase: Expiry / Cleanup
Script Logic: Zone deleted after expiry
Visual Cue: Labels fade but remain visible for reference
All calculations reset after each completed/expired pattern ensuring fresh, uncluttered signals.
4. Visual Elements & Their Meaning
SFP-SHORT (red) – Bar that swept a prior high and closed below it.
Red Box / Line – Preferred sell zone between the swing high (upper bound) and dynamic lower bound (see sizing methods). Extends right until filled/expired.
SFP-RETEST (orange) – Bar that first tags the zone after confirmation.
ENTRY (green) – Appears when a high-probability entry signal occurs within the retest zone.
EXPIRED (gray) – Appears when the retest zone expires without being hit.
Visual Persistence – Labels fade but remain visible after expiry for reference and historical analysis.
5. Input Parameters Explained
Pivot Detection
Pivot left / right : Bars left/right of the pivot that must stay below/above it. Tip : Symmetrical values (3/3) work best for clean structure.
Retest Management
Retest expiry (bars) : Lifespan of a retest zone before it is considered stale. Default: 14 bars on Daily . Tip : Shorten for intraday, lengthen for swing trading.
Retest Zone Sizing
Sizing method : Select Static %, ATR-based or Hybrid logic for the lower boundary. Tip : Hybrid balances tight stops with realistic fills.
Static % : Fixed fraction of sweep range when Static/Hybrid is selected. Tip : Higher % deepens zone & widens stop.
ATR period : Look-back length for ATR when volatility sizing is used. Tip : Increase to smooth choppy markets.
ATR multiplier : Multiplier applied to ATR in ATR-based/Hybrid mode. Tip : Higher value widens zone during volatility.
Visual – Retest Zone
Show retest zone box : Toggles drawing of the semi-transparent sell zone box. Tip : Disable for ultra-clean look.
Retest box color : Fill colour of the box (alpha = transparency). Tip : Match your chart theme.
Max retest boxes : How many historical boxes remain visible (0 = unlimited). Tip : Lower to boost performance.
Only show active boxes : Automatically deletes a box once it's hit. Tip : Reduces clutter during back-testing.
Visual – General
Minimal mode : Hides most visuals apart from critical labels. Tip : Ideal for screenshots.
Show retest zone line : Draws a vertical line linking upper/lower boundaries. Tip : Acts as a quick depth guide.
Show ENTRY labels : Plots 'ENTRY' on optimal candles. Tip : Turn off for manual confirmation.
Labels
Label size : Overall size of all labels. Tip : tiny / small / normal.
Use simple label style : Switches to pixel text style for labels. Tip : Faster rendering on low-spec machines.
Advanced
minPct / maxPct (hard-coded) : Internal floor/cap for Hybrid logic. Tip : Exposed in code for power-users only.
Zone-Sizing Methods
Static – Lower bound = sweepRange × staticPct.
ATR-based – Lower bound = ATR × multiplier, normalised to the sweepRange.
Hybrid – Uses the greater of Static and ATR-based (capped by an internal safety ceiling).
6. Step-by-Step Trading Playbook
Identify Context – Prefer setups against extended moves into obvious highs (e.g., daily swing highs, prior week high, round numbers).
Wait for SFP Confirmation – The indicator will label an SFP-SHORT only after the candle closes. Do not front-run.
Structure-Break Close – A close below setupLow turns the zone live. This is your go signal – prepare sell orders.
Place Orders in the Zone
Entry : Limit order anywhere between retestLower and the swing high.
Stop : 1-2 ticks/pips above the swing high.
Risk Management
Size position so risk per trade ≤ account risk % (common: 0.5-1%).
If no retest before retestExpiry bars → cancel order .
Targets
Conservative: First liquidity pocket / FVG below.
Aggressive: 2-3× risk or next HTF support.
Trail or Partial – Consider trailing stop once 1R is achieved or partial profit at 1R.
7. Example Workflow (Daily BTC-USDT)
BTC trades to a fresh one-month high at $31 050 sweeping prior highs.
Candle closes at $30 420 – below the swept high – SFP-SHORT label appears.
Two days later, candle closes below setupLow at $29 880 – confirmation & zone plotted (upper = $31 050, lower ≈ $30 550).
Five days later price retests the zone hitting $30 750 – SFP-RETEST alert fires, trade filled.
Stop placed @ $31 120 (70$ risk). 1R target = $29 680 reached four days later.
8. Alerts & Automation
SFP Short confirmed
Fires When: Structure-break close below setupLow.
Suggested Action: Prepare/submit sell-limit order in the zone.
SFP Short retest
Fires When: Price enters the retest zone.
Suggested Action: Monitor for entry signals or prepare for manual entry.
SFP Short Entry Signal
Fires When: Optimal entry conditions detected within retest zone.
Suggested Action: Execute short trade with defined risk parameters.
Use TradingView's Webhook URL to forward alerts to a trade-execution bot (e.g., PineConnector) for automated order placement.
9. Tips, Tricks & Best Practices
Combine with HTF Bias – Only take bearish SFPs in bearish weekly trend.
Watch Volume – High volume on the sweep bar adds conviction.
Time Window – SFPs during NY session FX / US session crypto tend to be stronger.
Cluster Zones – Multiple overlapping SFP zones increase probability; treat the cluster as one larger supply.
Avoid News – Skip SFPs forming minutes before high-impact macro news.
10. FAQ
Q: Can I use this on lower timeframes?
A: Yes – reduce retestExpiry (e.g., 15 bars on 15-minute) and test ATR-based sizing.
Q: Does it work for longs?
A: This script focuses on bearish SFPs. Clone & invert conditions for longs.
Q: Why did a zone disappear?
A: Either it expired (retestExpiry) without a retest or the cleanup routine removed old visuals to stay within Pine limits (500 objects per type).
Q: What's the difference between the "SFP-RETEST" and "ENTRY" signals?
A: "SFP-RETEST" indicates price has entered the zone, while "ENTRY" signals an optimal entry opportunity based on price rejection within the zone.
Q: How do I customize the label appearance?
A: Use the "Label size" and "Use simple label style" settings to adjust all labels to your preferred visual style.
Happy trading & trade safe!
11. Advanced Configuration & Asset-Class Playbook
Why does the retest box feel "too high" and how do I actually get filled? Use the quick tweaks below or the power-user code snippet to shape the zone to your personality and instrument.
11.1 Why the default box is shallow
The Static 25 % / ATR-Hybrid logic keeps stops small. Around 50 % of Daily BTC SFPs never look back – that's the cost of tight risk. If you need higher fill-rates, deepen the zone (11.2).
11.2 Three slider moves – no coding required
Retest zone sizing method – switch Static → Hybrid or ATR-based
Static % – raise from 0.25 → 0.45-0.60
ATR multiplier – raise from 1.0 → 1.5-2.0
Each turn pulls the lower edge of the box deeper while keeping the invalidation at the swing high.
11.3 One-liner for coders
To allow >60 % of the sweep range edit the source:
Old code:
minPct = 0.05
maxPct = 0.60
New code:
minPct = 0.05
maxPct = input.float(0.60, "Max retest % of sweep", step = 0.05, minval = 0.10, maxval = 0.95)
Then dial the cap up to ~0.80-0.90 from the settings panel.
11.4 If price never comes back…
No-retest partial – take 25-40 % size on the confirmation candle, stop above the high.
Lower-TF confirmation – drop to 4 h / 1 h and hunt an internal SFP or bearish FVG inside the sweep.
ATR trail – if price dumps immediately, trail the stop above each new lower-high.
11.5 Asset-Class Cheat-Sheet
Crypto – Daily : Static %: 0.20-0.35, ATR mult: 1.0, Retest Expiry: 12-20 . Notes : High volatility; sweeps expand fast.
FX Majors – 4 h/D : Static %: 0.25-0.40, ATR mult: 1.2, Retest Expiry: 15-25 . Notes : ATR handles session compression.
Index Futures – 1 h : Static %: 0.30-0.50, ATR mult: 1.5, Retest Expiry: 10-20 . Notes : Hybrid recommended; gaps tighten sweeps.
US Equities – 30 m : Static %: 0.35-0.55, ATR mult: 1.5-2.0, Retest Expiry: 10-14 . Notes : Consider no-retest entry on earnings spikes.
Always forward-test on your own symbol & timeframe ✔️
Megazones📦 Megazones — Auto-Expanding Range Detection
Megazones is a dynamic tool that detects price expansion ranges based on pivot structure. It automatically plots a pair of horizontal lines when both pivot highs and pivot lows are expanding — signaling directional strength and potential breakout zones.
🧠 How It Works:
- Pivot Detection: The script finds local highs/lows using a configurable Pivot Lookback length.
- Expansion Logic: It checks for consecutive higher highs and higher lows (configurable count).
- Zone Projection: When both expansions are detected, it draws a fading "zone" using two horizontal lines based on the latest pivot high and low.
⚙️ Settings:
- Pivot Lookback: How far left/right to confirm a pivot.
- Expansion Detection Window: How many bars back to keep pivots in memory.
- Min Expanding Highs/Lows: How many higher highs/lows must occur in a row to trigger zone detection.
🔍 Key Concept:
It identifies moments when the market is forming a structured expansion, where both higher highs and higher lows appear sequentially — suggesting potential breakout pressure or momentum continuation.
✅ Use Cases:
- Visual confirmation of building bullish structure.
- Anticipating breakout areas from clean expansion phases.
- Identifying trend-following continuation zones.