ATR Supertrend [QuantAlgo]🟢 Overview
The ATR Supertrend indicator identifies trend direction and reversal points using volatility-adjusted dynamic support and resistance levels. It combines Average True Range (ATR) volatility measurement with adaptive price bands and EMA smoothing to create trailing stop levels that automatically adjust to market conditions, helping traders and investors identify trend changes, maintain positions during trending markets, and exit when momentum shifts across multiple timeframes and asset classes.
🟢 How It Works
The indicator's core methodology lies in its volatility-adaptive band system, where dynamic support and resistance levels are calculated based on market volatility and price movement:
smoothedSource = ta.ema(source, smoothingPeriod)
atr = ta.rma(ta.tr(true), atrLength) * atrMultiplier
The script uses ATR-based bands that expand and contract with market volatility, ensuring the indicator adapts to different market conditions rather than using fixed price distances:
if trend == 1
supertrend := math.max(supertrend, smoothedSource - atr)
else
supertrend := math.min(supertrend, smoothedSource + atr)
First, it applies optional EMA smoothing to the price source to reduce noise and filter out minor price fluctuations that could trigger premature trend changes, allowing traders to focus on genuine momentum shifts.
Then, the ATR calculation measures market volatility using the Average True Range over the specified lookback period, multiplied by the user-defined factor to set the band distance:
atr = ta.rma(ta.tr(true), atrLength) * atrMultiplier
Next, dynamic trend detection occurs through a state-based system where the indicator tracks whether price is in an uptrend or downtrend, automatically adjusting the Supertrend line position:
if trend == 1
if smoothedSource < supertrend
trend := -1
supertrend := smoothedSource + atr
The Supertrend line can act as a trailing stop that follows price during trends but never moves against the trend direction, i.e., it ratchets upward with price in uptrends and ratchets downward with price in downtrends.
Finally, trend reversal signals are generated when price crosses the Supertrend line, indicating a shift in market momentum:
bullSignal = trend == 1 and trend == -1
bearSignal = trend == -1 and trend == 1
This creates a volatility-adaptive trend-following system that combines dynamic support/resistance levels with momentum confirmation, providing traders with clear directional signals and automatic stop-loss levels that adjust to changing market conditions.
🟢 Signal Interpretation
▶ Bullish Trend (Green): Price trading above Supertrend line with indicator showing bullish color, indicating established upward momentum = Long/Buy opportunities
▶ Bearish Trend (Red): Price trading below Supertrend line with indicator showing bearish color, indicating established downward momentum = Short/Sell opportunities
▶ Supertrend Line as Dynamic Support: In uptrends, the Supertrend line can act as trailing support level that rises with price, never declining = Use as potential stop-loss reference for long positions = Price holding above indicates trend strength
▶ Supertrend Line as Dynamic Resistance: In downtrends, the Supertrend line can act as trailing resistance level that falls with price, never rising = Use as potential stop-loss reference for short positions = Price holding below indicates trend weakness
🟢 Features
▶ Preconfigured Presets: Three optimized parameter sets for different trading approaches. "Default" provides balanced trend detection for swing trading on daily/4-hour charts with moderate sensitivity. "Fast Response" delivers quick trend change detection for intraday trading on 5-minute to 1-hour charts, capturing moves early with increased whipsaw potential. "Smooth Trend" focuses on strong sustained trends for position trading on daily/weekly timeframes, filtering noise to identify only major trend shifts.
▶ Built-in Alerts: Three alert conditions enable comprehensive automated monitoring of trend changes and momentum shifts. "Bullish Trend" triggers when price crosses above the Supertrend line and the trend state changes from bearish to bullish, signaling potential long entry opportunities. "Bearish Trend" activates when price crosses below the Supertrend line and the trend state changes from bullish to bearish, signaling potential short entry or long exit points. "Any Trend Change" provides a combined alert for any trend reversal regardless of direction, allowing traders to be notified of all momentum shifts without setting up separate alerts. These notifications enable traders to capitalize on trend changes and protect positions without continuous chart monitoring.
▶ Color Customization: Five visual themes (Classic, Aqua, Cosmic, Ember, Neon, plus Custom) accommodate different chart backgrounds and visual preferences, ensuring optimal contrast for identifying bullish versus bearish trends across various trading environments. The adjustable cloud fill transparency control (0-100%) allows fine-tuning of the gradient area prominence between the Supertrend line and price, with higher opacity values creating subtle background context while lower values produce bold trend zone emphasis. Optional bar coloring with adjustable transparency (0-100%) extends the trend color directly to the price bars themselves, providing immediate visual reinforcement of current trend direction without requiring reference to the Supertrend line, with transparency controls allowing users to maintain visibility of candlestick patterns while still showing trend context.
Băng tần và kênh
SuperTrend Filtered with Dash| Gold | ProjectSyndicate📘 ProjectSyndicate Filtered Supertrend M30 GOLD
✅ User Guide Optimized Settings for XAUUSD on M30
Indicator: Supertrend Filtered Gold
Version: 1.0
Author: ProjectSyndicate
Pine Script: v6
________________________________________
1) 👋 Introduction
Welcome to ProjectSyndicate Filtered Supertrend, an upgraded, professional-grade Supertrend system built in Pine Script v6.
This version is designed specifically to help M30 GOLD (XAUUSD) traders reduce the most common Supertrend problem: false flips in chop / low volatility.
By adding 5 powerful filters (all optional + fully adjustable), this indicator aims to keep signals clean, selective, and trend-aligned — which is ideal for GOLD’s frequent fakeouts and liquidity sweeps. 🧠✨
________________________________________
2) ⭐ Key Features What Makes It “Filtered”
✅ Pine Script v6 for speed and stability
✅ 5 Advanced Filters to reduce noise and false signals
✅ Full Customization (each filter can be turned ON/OFF)
✅ On-Chart Filter Dashboard to see what’s blocking signals in real time 📊
✅ Built-In Alerts (Buy / Sell / Direction Change) 🔔
✅ Conservative Defaults (high-quality signals out of the box)
________________________________________
________________________________________
3) 🎛 Sensitivity Control Panel
This is where the magic happens. All enabled filters use AND logic meaning:
✅ A signal prints ONLY if every enabled filter passes.
If even one fails → signal is blocked 🚫
That’s why this system feels “smart” and selective (especially on GOLD M30).
________________________________________
4.1) 📈 Trend Filter
Purpose: Blocks signals when price is drifting sideways (flat momentum).
How it works:
It checks the slope of a short-term EMA. If the EMA slope is too flat, the market is likely ranging → signals get blocked.
Recommended (M30 GOLD Optimized):
• ✅ Enable Trend Filter: ON
• ⏱ Trend Filter Period: 10
• 📏 Trend Strength Threshold (%): 0.05%
Tip for GOLD:
If you’re not getting signals during London/NY trend days, slightly lower the threshold (example 0.04%) to catch more moves. ⚡
________________________________________
4.2) ✅ Signal Confirmation
Purpose: Stops “one-candle flips” and failed breakouts (very common on XAUUSD).
How it works:
It waits for the new trend direction to remain valid for X bars before confirming.
Recommended (M30 GOLD Optimized):
•✅ Enable Signal Confirmation: ON
•🧱 Confirmation Bars: 5
Behavior example:
• Confirmation = 5 → the signal prints on the 5th candle after trend changes
This reduces fakeouts, but signals appear later (more reliable, less early). 🎯
________________________________________
4.3) 🌪 Volatility Filter
Purpose: Avoids signals during “dead” volatility phases (choppy micro-ranges).
How it works:
Measures percentage price movement over a period.
If movement is too small → no signals.
Recommended (M30 GOLD Optimized):
•✅ Enable Volatility Filter: ON
•⏱ Volatility Period: 20
•📉 Minimum Volatility Threshold: 0.25%
Tip:
If you trade only during active sessions (London/NY), you can raise this slightly to filter even harder (ex: 0.30%). 🔥
________________________________________
4.4) 💪 ADX Filter
Purpose: Confirms the market is truly trending using ADX, a classic trend-strength tool.
How it works:
If ADX is below the threshold, the market is likely non-trending → signals blocked.
Recommended (M30 GOLD Optimized):
•✅ Enable ADX Filter: ON
•⏱ ADX Period: 14
•🎚 Minimum ADX Value: 25
Rule of thumb:
📌 ADX > 25 = trend conditions
📌 ADX < 20 = likely chop / mean-reversion
________________________________________
4.5) 🧯 Signal Spacing Anti-Spam Filter
Purpose: Prevents overtrading by forcing a cooldown period between signals.
How it works:
It tracks bars since last BUY and since last SELL separately.
Recommended M30 GOLD Optimized:
•✅ Enable Signal Spacing: ON
•⏳ Minimum Bars Between Signals: 75
What 75 bars means on M30:
75 × 30 minutes = 2250 minutes = 37.5 hours
So this is intentionally strict (high quality / swing-style filtering). 🏦
If you want more signals:
Try 30–50 for active trend capture, still clean. ✅
________________________________________
5) 📊 Filter Dashboard Read This First When Confused
The dashboard shows live status of each filter.
✅ PASS (Green) = filter condition met
❌ FAIL (Red) = filter is blocking signals
Dashboard also shows:
• 📏 Trend Strength (EMA slope %)
• 💪 ADX Value
• 🔁 Current Trend UPTREND / DOWNTREND
Pro Tip 🧠:
Not getting signals? Don’t guess. Look at the dashboard — it will instantly tell you which filter is failing.
________________________________________
6) 🔔 Alerts Integration TradingView Alerts Ready
This indicator includes built-in alert conditions.
To set alerts:
1️⃣ Click Alert (top toolbar) or press Alt + A
2️⃣ In Condition, select Supertrend Advanced
3️⃣ Choose one:
📌 Alert Conditions
✅ SuperTrend Buy → Buy printed after all enabled filters PASS
✅ SuperTrend Sell → Sell printed after all enabled filters PASS
⚠️ SuperTrend Direction Change → raw Supertrend flip (ignores filters)
Recommended alert frequency:
✅ Once Per Bar Close (reduces noise + avoids repaint confusion)
________________________________________
7) 🧠 Strategy & Best Practices M30 GOLD Focused
✅ Best Use Case
This Filtered Supertrend works best when GOLD is doing one of these:
•🏃 Strong session trend (London / NY continuation)
•🔁 Post-news directional expansion
•📈 Clean structure break + follow-through
🔥 Smart Trading Workflow (Simple + Effective)
✅ Use dashboard → wait for filters PASS
✅ Align with market structure (HH/HL for buys, LH/LL for sells)
✅ Use key zones:
•Support/Resistance 🧱
•Liquidity sweeps 💧
•Order Blocks / Supply-Demand (if you use them) 📦
🧪 Tune One Filter At A Time
When optimizing:
1.Reduce Signal Spacing first
2.Then reduce Confirmation Bars
3.Only then touch volatility / ADX / trend slope
________________________________________
8) 🧩 Example Profiles Quick Presets
🥇 GOLD M30 “Optimized / Conservative” Recommended
•Trend Strength: 0.05%
•Confirmation Bars: 5
•Volatility Threshold: 0.25%
•ADX: 25
•Signal Spacing: 75
⚖️ Balanced More signals, still filtered
•Trend Strength: 0.05%
•Confirmation Bars: 2
•Volatility Threshold: 0.50%
•ADX: 25
•Signal Spacing: 10
⚡ Aggressive / Scalping Style
•Trend Strength: 0.03%
•Confirmation Bars: 1
•Volatility Threshold: 0.10%
•ADX: OFF
•Signal Spacing: 3
________________________________________
🤝 Combining Filtered Supertrend + ProjectSyndicate Order Blocks Finder SMC Boost
For SMC traders, use Order Block Finder to map clean institutional supply/demand zones (bullish OB = last bearish candle before strong bullish displacement + BOS; bearish OB = last bullish candle before strong bearish displacement + BOS, with a displacement-strength filter and auto-cleanup) and then let Filtered Supertrend act as the “permission + timing” engine
✅only take Supertrend Buy signals when price is reacting from/returning into a bullish OB (demand) in an uptrend, and Supertrend Sell signals from a bearish OB (supply) in a downtrend; entries become higher probability because you’re stacking trend bias + institutional zone + confirmation filters, with clean risk defined by the OB boundary (stop beyond the box) and logical targets toward the next opposing OB or trend continuation
Order Block Finder | Gold | ProjectSyndicate
________________________________________
9) 🧯 Troubleshooting
❓ “No signals are appearing”
Likely filters are too strict.
✅ Check dashboard → see which filter fails.
Try this order:
1.Lower Signal Spacing (75 → 50 → 30)
2.Lower Confirmation Bars (5 → 3 → 2)
3.Slightly reduce thresholds
❓ “Still too many signals”
Tighten filters:
✅ Confirmation Bars 3+
✅ Signal Spacing 100+
✅ Increase Trend Strength + ADX thresholds
❓ “Signals appear too late”
Reduce Confirmation Bars:
✅ 5 → 3 or 2
(earlier entries, slightly more risk of fakeouts)
________________________________________
✅ Conclusion
ProjectSyndicate Filtered Supertrend turns a basic trend indicator into a high-control signal engine. On GOLD M30, where fakeouts and chop are common, the 5-filter AND logic + dashboard gives you a cleaner edge — especially when combined with structure and key zones. 📈💎
Liquidity Zones | NRP | ProjectSyndicate🏦 ProjectSyndicate Liquidity Zones 1.0 — Complete Documentation
Specifically built for: XAUUSD (Gold) 🥇, NQ 💻, ES 📈 and FX 💱 traders
✅Default settings: tuned to work well across multiple timeframes
Best sweet spot timeframes : M5 / M15 / M30 / H1 → consistently produces high-quality zones
________________________________________
🌍 Overview
ProjectSyndicate Liquidity Zones is a Pine Script v6 indicator built to identify stop-loss hunting zones and liquidity pockets—areas where price frequently sweeps retail stops and then reverses.
It automatically detects and draws zones where institutional flow often triggers liquidity before moving price in the opposite direction.
________________________________________
💧 What Are Liquidity Zones?
Liquidity zones are price levels where stop-loss orders cluster (often around swing highs/lows). Large players may push price into these levels to trigger stops (liquidity sweep) and then reverse.
Also known as:
• 🪤 Stop-loss hunting
• 🌊 Liquidity sweeps
• 🎯 Stop runs
________________________________________
🥇 Why Gold, NQ, ES & FX?
These markets often show repeatable liquidity behavior because of:
• 👥 Heavy participation and predictable stop placement
• 🏛️ Strong institutional activity and order flow
• ⚡ Volatility that enables fast “sweep & reverse” moves
• 📍 Clear technical levels where stops tend to cluster
________________________________________
⚙️ How It Works (3 Detection Engines)
1) 🔺 Pivot-Based Detection
Finds swing highs/lows using fractal pivots—natural stop placement zones.
2) 🕯️ Wick Trap Detection
Flags candles with dominant wicks (long rejection shadows), suggesting stops were hit then price snapped back.
3) 📊 Volume Spike Detection
Marks extremes where volume is elevated (local highs/lows). High volume at extremes often signals liquidity being triggered.
________________________________________
🧩 Zone Types
🟦 Bull Liquidity Zones (Teal/Cyan)
• 📍 Below current price (support area)
• 🧠 Indicates buy-side stops were swept (longs got hunted)
• 📈 Often becomes a potential reversal zone upward
• ✅ Idea: Look for bullish confirmation after a sweep
🟥 Bear Liquidity Zones (Maroon/Red)
• 📍 Above current price (resistance area)
• 🧠 Indicates sell-side stops were swept (shorts got hunted)
• 📉 Often becomes a potential reversal zone downward
• ✅ Idea: Look for bearish confirmation after a sweep
⚪ Historic Zones (Gray)
• 🕰️ Zones that were breached
• 📚 Useful for studying past behavior and sweep patterns
• ❗ Not considered “active”, but great for context
________________________________________
🛠️ Settings Guide
🔎 Detection Settings
🔺 Pivot Detection Length (Default: 10)
• Range: 3 → 50
• Controls swing sensitivity
• Lower (5–8): more zones, faster, noisier ⚡
• Higher (15–20): fewer zones, stronger, cleaner ✅
Recommended (XAUUSD / NQ / ES / FX):
• ⏱️ M5 / M15: 8–10
• ⏱️ M30: 10–12
• ⏱️ H1: 12–15
🕯️ Wick Dominance Ratio (Default: 0.5)
• Range: 0.3 → 0.85
• 0.5 = wick must be ≥ 50% of candle range
• Lower: more traps detected
• Higher: only extreme rejections
✅ Recommended: 0.5–0.6 (balanced)
📊 Volume Spike Multiplier (Default: 1.3)
• Range: 1.0 → 4.0
• 1.3 = volume must be ≥ 130% of 20-period avg
• Lower: more signals
• Higher: only major spikes
✅ Recommended: 1.3–1.5
________________________________________
📦 Zone Settings
📏 Zone ATR Period (Default: 14)
• Range: 10 → 50
• Controls volatility measurement used for zone sizing
• Shorter = more responsive ⚡
• Longer = smoother ✅
✅ Recommended: 14–20
📐 Zone Width (ATR Multiple) (Default: 0.5)
• Range: 0.2 → 1.5
• 0.5 = zone extends 0.5 × ATR around the level
• Smaller (0.3–0.4) = tight & precise 🎯
• Larger (0.6–0.8) = wider coverage 🌊
✅ Recommended: 0.4–0.6
🧱 Max Zones (Default: 8)
• Range: 2 → 20
• Lower = cleaner chart 🧼
• Higher = more context 📚
✅ Recommended: 6–10
↔️ Min Zone Separation (ATR) (Default: 2.0)
• Range: 0.5 → 5.0
• Prevents zone clustering
• Lower = more zones (tighter stacking)
• Higher = fewer zones (cleaner layout)
✅ Recommended: 1.5–2.5
________________________________________
👁️ Display Options
• ✅ Show Current Zones (ON) → active bull/bear zones
• ⛔ Show Historic Zones (OFF) → breached zones in gray
• ✅ Show Zone Labels (ON) → quick identification
• ⛔ Show Pivot Markers (OFF) → optional triangles
• 🌫️ Zone Opacity (80) → suggested 75–85
• 🎨 Bull Color: Teal
• 🎨 Bear Color: Maroon
________________________________________
📈 Trading Strategies
🪤 Strategy 1: Liquidity Sweep Reversal
Steps:
1️⃣ Identify zone
2️⃣ Wait for price to sweep into zone (wick into it)
3️⃣ Confirm with rejection candle
4️⃣ Enter with stop beyond zone
✅ Example (concept): sweep → reclaim → continuation
________________________________________
🔁 Strategy 2: Zone-to-Zone Trading
• Sweep bull zone → target bear zone 🎯
• Sweep bear zone → target bull zone 🎯
Risk plan:
• 🛑 Stop: 1–2 ATR beyond zone
• 🎯 TP: next opposite zone or 2:1 RR
• 📦 Risk: 1–2% per trade
________________________________________
🧲 Strategy 3: Confluence Trading
Look for zones that align with:
• 🧮 Fibonacci (50 / 61.8)
• 🔢 Round numbers (e.g., 2600 / 2650 / 2700)
• 📅 Previous day high/low
• 📉 Trendlines / MAs
More confluence = stronger zone 💪
________________________________________
🕰️ Strategy 4: Historic Zone Analysis
Turn on historic zones and study:
• Did it reverse after breach?
• How far did it extend beyond?
• What did volume do?
Use these patterns to improve expectations on current zones 📚
________________________________________
⏱️ Timeframe Recommendations
M5
• 🏎️ Scalping, fast signals
• More zones, more noise
• Tight risk, quick exits
M15
• ⚖️ Best balance for intraday
• Strong zone quality + quantity
M30
• 🧘 Cleaner zones, stronger signals
• Wider stops, more patience
H1
• 🏗️ Highest-quality zones
• Fewer false signals, bigger targets
________________________________________
✅ Best Practices
Do’s ✅
• Wait for confirmation candles 🕯️
• Use multi-timeframe context (H1 zones + M15 entries) 🧭
• Combine with price action (engulfing / pin bars) 🎯
• Always use stops 🛑
• Study breached zones 📚
• Adapt settings to volatility 🌊
Don’ts ❌
• Don’t trade every zone blindly
• Don’t ignore context (trend/news/sentiment)
• Don’t overtrade
• Don’t treat settings as “one-size forever”
• Don’t fight strong trends without confirmation
________________________________________
🧠 Advanced Tips
🕒 Session-Based Behavior
• 🌙 Asia: zones often hold better (lower volatility)
• 🇬🇧 London: aggressive sweeps
• 🇺🇸 NY: continuations or major reversals
• 🔥 Overlaps: most volatile → strongest reactions
📰 News Awareness
High-impact events (CPI, NFP, FOMC) can:
• create zones rapidly ⚡
• invalidate zones ❗
• extend beyond zones 🎢
Tip: avoid trading zones during major releases
🧩 Multi-Timeframe Confirmation
• Find zone on H1
• Refine entry on M15
• Confirm structure shift / reaction before entry ✅
💪 Zone Strength Clues
Stronger zones often have:
• multiple detection methods (pivot + wick + volume)
• confluence with key levels
• recent formation
• clean first reaction
________________________________________
🧰 Troubleshooting
Too Many Zones
Try:
• Increase separation (2.5–3.0)
• Reduce max zones (5–6)
• Increase pivot length (12–15)
• Increase wick ratio (0.6–0.7)
Too Few Zones
Try:
• Decrease separation (1.0–1.5)
• Increase max zones (10–12)
• Reduce pivot length (7–8)
• Reduce wick ratio (0.4–0.5)
• Reduce volume multiplier (1.2)
🚫 Zones Not Showing
Check:
• “Show Current Zones” is ON ✅
• enough bars loaded
• try defaults first, then adjust
Historic Zones Not Appearing
• Price must breach zones first
• scroll back for older breaches
• increase max zones to store more
________________________________________
🔔 Indicator Alerts
🟥 Bear Liquidity Zone Detected
• Trigger: new resistance zone
• Message: “Bear liquidity hunting zone identified”
• Use: selling opportunities 🧲
🟦 Bull Liquidity Zone Detected
• Trigger: new support zone
• Message: “Bull liquidity hunting zone identified”
• Use: buying opportunities 🧲
Setup:
1️⃣ Right-click chart → Add Alert
2️⃣ Select indicator condition
3️⃣ Choose Bull/Bear alert
4️⃣ Select delivery method (popup/email/webhook)
________________________________________
⚡ Performance Notes
• 🧱 Max boxes: 500
• 🏷️ Max labels: 500
• 🪶 Lightweight / minimal lag
• ✅ No repaint (confirmed on bar close)
• 🔒 Zones stay fixed once created
________________________________________
🧾 Version History v1.0
• Pine Script v6
• 3 detection methods (pivot / wick / volume)
• Current + historic zones
• Custom colors & settings
• Built-in alerts
• Optimized defaults across M5/M15/M30/H1 for XAUUSD, NQ, ES, FX ✅
Can be also combined with Order Block Finder and FVG Finder
for complete / more advanced SMC strategy chart overlay.
✅ Order Block Finder | Gold | ProjectSyndicate
✅ FVG Finder | NRP | ProjectSyndicate
GSS V2 : Ultra Scalping [DoNotFollowMeGod] User Manual: GSS V2 Ultra Scalping No Repaint!
Perfect For:
Hardcore Scalpers (Ultra Short Term).
Traders who focus on quick entries & exits and high-frequency trading .
Mandatory Market Conditions:
✅ Low Volume Only: Best used during low activity periods or slow markets.
✅ Out-Session: Trade during market rests or session overlaps (avoid high-volatility session opens).
✅ Clear Sideway: The market must be ranging clearly , not aggressively making New Highs/New Lows.
❌ AVOID: High-impact news events (Red Folder) or strong trend breakouts .
Recommended Settings:
Timeframe: M1 / M3 / M5
Band Width (ATR): Adjust the setting to 3.0 - 5.0
(This widens the channel to ensure you only enter when the price is significantly overextended ).
Trade Execution Plan:
Entry: Enter only when a Signal Arrow appears AND the price touches the Band Edge (ATR 3-5).
TP 1 (First Target): "The Grey Dashed Line (Mid Band)"
Golden Rule: Once the price hits TP1, you must either take partial profits or move SL to Break Even (BE) immediately! Never let a winning trade turn into a loss.
TP 2 (Final Target): "The Dotted Line (Outer Band)"
Let the trade run ( Dynamic ) until it reaches the opposite band.
💡 Pro Tip: Since the TP lines are dynamic (moving in real-time with the price action), you should monitor the live price. If you are satisfied with the profit, "Bag it!" — don't wait for the perfect touch if the momentum is fading.
Flexible S/R Channels🟩 Flexible S/R Channels is a visualization tool that draws curved support and resistance boundaries through user-defined anchor points. Unlike traditional trendlines and channels that force linear interpretation onto price action, this indicator captures the curved structures that markets frequently form—rounded tops and bottoms, parabolic advances and declines, arcing rallies and pullbacks. Three anchor points per curve define the shape; the indicator fits a smooth mathematical curve through these points and projects it forward. The approach is simple: draw what you see. Curved market structure that resists precise definition with traditional tools can now be rendered with mathematical accuracy.
The indicator bridges the gap between static drawing tools and programmable indicators. TradingView's arc tool draws curves but produces only visual pixels with no analytical value. Flexible S/R Channels creates live data series that integrate with other analysis tools. Four curve-fitting methods—Quadratic, Quadratic-Linear, Weighted Linear, and Natural Cubic Spline—accommodate different market structures. The curved levels naturally lend themselves to breakout and reversion strategies—applications left to the trader's discretion. The open-source code invites experimentation and customization.
💡 THEORY AND CONCEPT 💡
Traders have long relied on horizontal levels and diagonal trendlines to define support and resistance. Linear tools assume constant slope—a property rarely exhibited by actual market movement. When momentum accelerates or decelerates, price trajectories curve rather than hold to fixed angles. The resulting structures—parabolic advances during expansion phases, arcing pullbacks during consolidation, rounded formations at reversal points—represent changes in the rate of change itself. Traditional drawing tools cannot accommodate this variable geometry without sacrificing mathematical precision..
Flexible S/R Channels extends familiar support and resistance concepts into curved space. The approach is simple: draw what you see. When the eye recognizes a curved boundary in price action, this indicator provides the means to define it precisely. Three anchor points per curve—an initial point, an intermediate point, and a recent point—are all that is required. The indicator fits a smooth mathematical curve through these points and extends it forward as a projection.
This indicator represents a blend of human pattern recognition and algorithmic precision. Fully automated indicators make decisions without user input—efficient but detached from trader discretion. Manual drawing tools rely entirely on freehand skill—expressive but imprecise. Flexible S/R Channels occupies the middle ground. The trader identifies the curved structure; the algorithm renders it mathematically. The result is human insight expressed with computational accuracy—for traders who recognize curved structure in price action but lack precise tools to define it.
This projection is not a prediction. It is a visual hypothesis—a structured way of asking "if this trajectory continues, where would price be?" The underlying assumption is simple: like Newton's first law of motion, a trajectory in motion tends to continue unless acted upon by an external force. Future price action validates or invalidates the projection, just as it does with any trendline or channel.
TradingView offers an arc drawing tool for freehand curved lines, but these are purely visual—static pixels on a screen with no programmable value. Flexible S/R Channels bridges this gap. The fitted curves exist as data series that can generate alerts, trigger signals, and interact with other analysis tools. The visual drawing becomes operational structure.
🔁 CURVE METHODS 🔁
The indicator offers four curve-calculation methods, each producing different shapes suited to different market structures:
Quadratic — Fits a parabolic arc through the three anchor points. Best for smooth, continuous curves such as rounded tops and bottoms. It captures the natural "swing" of the market, assuming the momentum will maintain its current rate of acceleration or deceleration.
Quadratic-Linear — Uses a parabolic curve through the anchor points, then transitions to a straight line after the final anchor. Useful when curved structure gives way to linear trend continuation. This is the "bridge" between a turning market and a steady, directed move, preventing the projection from curving back on itself when the price begins to run.
Weighted Linear — Connects anchor points with straight line segments rather than a smooth curve. Suited for angular market structures with distinct inflection points. It treats the market as a series of rigid shifts, providing a clear "corridor" when the price is bouncing between sharp, diagonal levels.
Natural Cubic Spline — Produces the smoothest curve by minimizing abrupt directional changes. Ideal for organic, flowing market movements. It acts as a flexible spine that adapts to complex transitions without the rigid constraints of a fixed geometric shape.
Quadratic Fitting : A smooth, parabolic arc defines a curved resistance boundary. By fitting a mathematical path through three anchor points, the curve captures rounded structures and arcing price action that traditional linear trendlines fail to represent.
Weighted Linear Fitting : This method produces an angular, segmented path by connecting anchor points with distinct linear slopes. Unlike the continuous smoothness of a quadratic arc, the weighted linear approach creates a more jointed geometry, allowing for a precise match to market structures that exhibit sharp, localized changes in trajectory.
Natural Cubic Spline Fitting : This method creates a highly fluid, elastic curve that can accommodate complex price oscillations. In this instance, the curves define a narrowing range as support and resistance converge, highlighting the volatility compression that often precedes a significant breakout or breakdown from established structures.
🖱️ HOW IT WORKS 🖱️
1️⃣ Initial Setup
Unlike traditional indicators that calculate values automatically from price data, Flexible S/R Channels requires user-defined anchor points. This is intentional. The trader's eye is the pattern recognition engine—no algorithm can see the curved structure that experience and intuition reveal. The indicator waits for this input, then applies mathematical precision to render what the trader has identified.
The Recognition of Natural Structure : Effective analysis begins when a curved rhythm becomes visible within price action that traditional trendlines cannot satisfy. Identifying the specific swing highs and swing lows that define these boundaries is the first step in organizing a chart. By isolating three key pivots for resistance and three for support, the underlying framework of the market's trajectory is established, providing the necessary coordinates to accurately map the path.
Interactive Setup Workflow : Upon loading, the indicator prompts for the sequential selection of six points—three swing highs and three swing lows—to serve as the raw data for the calculation. While the chart remains blank during this initial phase, the curves generate instantly once the final anchor is confirmed. These points are not permanent; they appear as interactive grips that can be dragged in real time to refine the boundaries as the market structure evolves.
The indicator prompts for six sequential selections—three for resistance, three for support. The first three selections define the resistance boundary; the final three define support. This sequential grouping is distinct from zigzag-style selection patterns. Within each group, clicking order is flexible—the algorithm automatically sorts points chronologically, allowing traders to select visually prominent pivots in whatever sequence feels natural.
Structural Anchor Identification : Identifying three key swing highs and three key swing lows provides the foundation for the dual-curve geometry. These specific structural peaks and troughs serve as the coordinates for the mathematical models, ensuring that the resulting boundaries accurately reflect the underlying skeleton of the market action.
2️⃣ Interactive Adjustment
After the initial setup, all six anchor points are fully adjustable:
Points are automatically sorted chronologically regardless of selection order
Grip handles appear at each anchor location
Any point can be repositioned by clicking and dragging its grip handle
The curves recalculate instantly as points are adjusted
The algorithm produces a mathematically perfect curve based on the anchor points provided. If the result does not match the trader's vision, adjustments are immediate. This iterative refinement—see, adjust, refine—continues until the rendered curve represents what the trader sees in the price action. The user remains in control; the algorithm remains in service.
Interactive Channel Boundaries : Six user-defined anchor points—three for resistance and three for support —establish a non-linear range that moves beyond the constraints of a flat, horizontal channel. This configuration captures the arcing trajectory of the market while showing price action respecting the curved boundaries in a classic reversion pattern. By manually positioning these anchors, a dynamic dimension is added to the chart that maintains structural integrity even as the price follows a rounded path.
🛠️ SETTINGS 🛠️
Customizable Visual Feedback : Beyond the core geometry, the visualization offers various user-defined settings to tailor the chart's information density. From identifying specific price targets to toggling structural labels, these options allow the trader to adjust the level of detail to suit their personal analysis style while maintaining a clear view of the non-linear boundaries.
Configuration Options
Curve Method — Select the curve-fitting algorithm: Quadratic, Quadratic-Linear, Weighted Linear, or Natural Cubic Spline.
Projection Length — Number of bars to project the curves beyond current price action. Projections appear as dashed lines.
Visual Settings
Grip Size — Size of the draggable handles displayed at each anchor point. Set to zero to hide grips entirely.
Line Width — Thickness of the support and resistance curves.
Support Color / Resistance Color — Color settings for each curve.
Show Info Table — Toggle display of the info table showing the current curve method in the chart corner.
Advanced: Time/Price Coordinates
The settings panel includes precise time and price values for each of the six anchor points, grouped under Resistance Time/Price and Support Time/Price. These values are populated automatically when points are selected on the chart.
Adjusting anchor points by dragging the grip handles directly on the chart is faster and more intuitive. The time/price fields are available for situations requiring exact coordinate entry—such as aligning an anchor to a specific candle timestamp or a precise price level. These fields can be safely ignored unless fine-tuning is necessary.
🖼️ CHART EXAMPLES 🖼️
The Flexible S/R Channels indicator adapts to diverse market structures across multiple timeframes and instruments. Curved boundaries can define subtle momentum shifts in near-linear trends, dramatic reversals in rounding formations, or volatility compression as channels converge toward breakout points. The four curve-fitting methods accommodate different geometries—smooth parabolic arcs for continuous momentum changes, segmented linear paths for angular structures, and elastic splines for complex oscillations. Each anchor point adjustment instantly recalculates the curves, allowing iterative refinement until the rendered boundaries align with the trader's interpretation of market structure. Forward projections extend these mathematical relationships into future territory, providing visual context for hypothetical support and resistance levels if current trajectories persist.
Subtle Curve Alignment : Even in structures that appear linear, subtle curvature allows the channel boundaries to breathe with the market’s internal momentum. By utilizing three anchor points rather than two, the channel adapts to the slight acceleration of a trend, providing a more precise fit than a rigid, straight corridor.
Decelerating Momentum and Convergence : This classic rounding structure illustrates a transition where the initial wide oscillations between highs and lows begin to contract. As the boundaries converge, the curve captures the diminishing volatility and the shift in market energy, providing a clear visual representation of a trend losing its expansive momentum as it approaches a potential turning point.
Organic Trend Modeling : In an accelerating uptrend, the Natural Cubic Spline provides a highly adaptable boundary that mirrors the organic flow of momentum. This non-traditional approach allows the channel to follow complex price pulses that a standard linear trendline would likely cut through, maintaining a precise fit even as the angle of the trend shifts over time.
Non-Linear Projections : Unlike standard trendlines that converge at a fixed rate, curved projections adapt to the historical momentum of the move. This allows the indicator to map a dynamic squeeze, capturing the subtle nuances of how price action tightens toward an apex. It provides a more sophisticated view of future convergence points that traditional linear channels often fail to anticipate.
The "Draw What You See" Philosophy : Market structures are rarely perfect, and this example highlights the indicator’s ability to map unconventional rhythms. Rather than forcing price into a predefined category, the tool remains flexible enough to define any structural path the trader identifies. If you can see a trend's trajectory, the indicator can provide the mathematical framework to support it.
Comparative Projection Modeling : Using identical anchor points as above, this example demonstrates how selecting a different calculation method can alter the projected path. While the historical fit remains precise, the variation in the forward-looking trajectory allows traders to explore multiple mathematical interpretations of the same market structure, choosing the model that best aligns with the current volatility and trend behavior.
Extended Timeframe Channel Definition : This multi-year perspective demonstrates the indicator's ability to define curved channel boundaries across extended timeframes spanning hundreds of bars and multiple market cycles. The resistance curve captures the rounded distribution of swing highs while the support curve follows the accelerating base formation, creating a non-linear channel that frames long-term structural trends more precisely than traditional parallel channels or static trendlines.
Rounding Bottom Reversal and Channel Convergence : This example captures a classic rounding bottom formation—a reversal pattern that linear tools cannot adequately define. The Quadratic method produces a smooth parabolic arc through the resistance anchors, tracing the deceleration of the downtrend, the capitulation low, and the subsequent re-acceleration upward as a single continuous curve. The support boundary mirrors this momentum shift from below, creating a curved channel that narrows toward current price. This convergence represents structural compression—the boundaries tightening as volatility contracts and directional resolution approaches. Price action oscillates within these non-linear boundaries, demonstrating that channel behavior persists even when the geometry is curved rather than parallel. The projection extends both curves forward, mapping the hypothetical trajectory if the current momentum structure continues, providing visual context for potential breakout or breakdown levels as the channel reaches its apex.
Built-in Precision vs. Algorithmic Power : While TradingView offers basic curve drawing tools (shown here as dashed lines), the Flexible S/R Channels indicator elevates this concept into a functional analytical framework. By converting manual observations into mathematical models, it moves beyond mere drawing to provide a data-driven structure that can be utilized for advanced technical analysis and future Pine Script trading logic.
⚙️ TECHNICAL DETAILS ⚙️
Curve Fitting vs. Overfitting: The term curve fitting often carries negative connotations in quantitative analysis due to its association with overfitting—the practice of adjusting a model until it perfectly matches historical data, producing an illusion of accuracy that fails when applied to new data. The application here is fundamentally different. Flexible S/R Channels does not optimize parameters to maximize historical fit; it constructs a mathematical curve through user-selected anchor points, then projects that curve into unknown territory. The curve is not fitted to price data—it is fitted to structural pivots identified by the trader. The projection represents a hypothesis about trajectory continuation, not a prediction derived from statistical optimization. Future price action validates or invalidates this hypothesis in real time, exactly as it does with any trendline or channel. The anchor points remain fixed unless manually adjusted, ensuring the curve does not adapt to new data retroactively.
Non-Repainting Behavior: The indicator does not repaint historical bars. The mathematical coefficients that define each curve are calculated once—when the final anchor point is set—and stored as fixed values. These coefficients remain constant unless an anchor point is manually repositioned. The backfit polyline is drawn once using these coefficients, spanning the known range from the first to last anchor point. The plot() function applies the same coefficients to each subsequent bar, updating in real-time as new bars form but never altering previously plotted values. The projection polyline extends forward from the current bar using the same fixed coefficients, projecting a user-defined number of future bars (maximum 500). This projection redraws on each tick to maintain its position relative to the moving current bar, but the mathematical trajectory remains constant—only the starting point advances. The current bar's curve value will update tick-by-tick as price develops, which is standard real-time behavior, not repainting. Once a bar closes, all curve values on that bar are permanent. The hybrid architecture (backfit polyline for known history, plot() for unlimited real-time range, projection polyline for controlled forward extension) prevents overflow errors while maintaining non-repainting integrity across all components.
🗒️ NOTES 🗒️
The indicator renders curves based on any anchor points provided without validation. Unusual anchor placement produces mathematically accurate but potentially non-useful results. Adjustment is iterative—if the curve doesn't match expectations, reposition the anchors.
Because anchor points are stored as specific time and price coordinates, a new instance of the indicator should be added when analyzing a different chart or timeframe.
Grip handles can be hidden by setting Grip Size to zero in the settings. This is useful for clean chart screenshots or presentations where interactive elements are not needed.
Projection length can be set to zero if forward-looking curves are not desired. The indicator will still render the backfit curves through the anchor points and continue plotting in real-time without the dotted projection extensions.
Anchor points remain fixed at their selected time-price coordinates as new bars form. The curves extend forward automatically from these historical anchors, allowing observation of how projected trajectories align with developing price action.
⚠️ DISCLAIMER ⚠️
The Flexible S/R Channels indicator is a visual analysis tool designed to illustrate geometric market inertia and serve as a framework for understanding dynamic support and resistance. While the indicator generates structural channels and projected paths, no guarantee is made regarding the accuracy or profitability of these projections. Like all technical indicators, the curves and boundaries generated by this tool may appear to align with favorable trading opportunities in hindsight. However, these visualizations are not intended as standalone recommendations for trading decisions. This indicator is intended for educational and analytical purposes, complementing other tools and methods of market analysis.
🧠 BEYOND THE CODE 🧠
Flexible S/R Channels is part of a broader collection of tools designed to provide structured market analysis. This includes the Grid Bot Simulator , the Grid Bot Auto , the Grid Bot Parabolic , and the Gridbot Ping Pong . While each tool serves a distinct purpose, they all utilize dynamic anchor mechanics and non-linear boundaries to adapt to evolving market conditions.
This indicator shares the same educational philosophy as the Fibonacci Time-Price Zones and the Fibonacci Geometry Series - providing frameworks for understanding market concepts through visualization and experimentation rather than black-box signals.
The Flexible S/R Channels indicator, like other xxattaxx indicators , is designed to encourage both education and community engagement. Feedback and insights are invaluable to refining and enhancing this tool. We look forward to the creative applications, observations, and discussions this indicator inspires within the trading community.
Gape Hunter Pro V0
Gap Hunter Pro V0 — Mean reversion strategy with dynamic Fibonacci targets.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 HOW IT WORKS
Measures the gap between fast/slow EMAs, normalized by ATR. When price stretches too far from its average, it tends to snap back. This indicator catches those reversals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 SIGNALS
🟢 BUY: Score drops to -4 (armed) → crosses above -3 (trigger)
🔴 SELL: Score rises to +3 (armed) → crosses below +4 (trigger)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 FIBONACCI TARGETS
Each signal calculates 5 price targets from recent swing range:
0.618 | 1.0 | 1.618 | 2.0 | 2.618
▲ Bullish targets (green/yellow/orange) after buy
▼ Bearish targets (red/purple) after sell
Table shows real-time hit status.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 DEFAULT SETTINGS
Fast EMA: 12 | Slow EMA: 50
Score Multiplier: 2.0
Buy: -4 / -3 | Sell: +3 / +4
Swing Lookback: 10 bars
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔹 TIPS
Higher timeframes (1H, Daily) = cleaner signals
Adjust thresholds for volatile assets
Use fib targets for take-profit levels
Combine with S/R for confluence
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Market Regime: Squeeze Box + Trend DashboardMarket Regime: Squeeze Box + Trend Dashboard
Market Regime is a overlay designed to provide instant market context (trend vs consolidation) and highlight volatility compression (squeeze) setups before potential breakouts. Built with stock charts in mind, it focuses on clean visuals and practical decision support.
What this indicator shows:
1) Market Regime (TREND / RANGE / NEUTRAL)
The regime is detected using DMI/ADX with built-in confirmation to reduce flicker:
TREND : ADX stays above a threshold for N bars
RANGE : ADX stays below a threshold for N bars
NEUTRAL : neither trend nor range is confirmed
Trend direction is derived from DI+ vs DI- (UP / DOWN / MIXED).
2) Squeeze (BB inside KC)
A squeeze is detected when Bollinger Bands contract inside Keltner Channels (volatility compression).
SQZ = squeeze start
REL = squeeze release (the first bar *after* squeeze — technically correct)
3) Squeeze Box
The core feature: a box drawn from SQZ → REL , dynamically tracking the highest high / lowest low during the squeeze. This creates a clean visual range for the compression zone and helps frame breakout context.
4) EMA Ribbon with ADX-based intensity
Two EMAs (fast/slow) form a ribbon. The fill becomes more pronounced as ADX strength increases, making trend momentum easier to read at a glance.
5) Trend Dashboard (corner panel)
A compact dashboard summarizing key metrics:
REGIME, DIR, ADX (with normalized strength %)
SQUEEZE ON/OFF
Relative Volume (relVol + tier)
ATR% (14), EMA Slope%, GAP% (Open vs previous Close)
Customization / Settings
Fully configurable for different styles and markets:
ADX/DMI lengths and thresholds
BB/KC parameters (lengths and multipliers)
Relative Volume thresholds
Background mode: Off / Squeeze only / All regimes
Visual toggles: ribbon, squeeze box, markers, dashboard
History controls and limits for boxes/labels (clean chart + performance)
How to use (practical workflow)
Trend context : read REGIME + DIR and ribbon intensity (ADX strength).
Squeeze setup : when squeeze is active, the box defines the compression range (high/low).
Release : REL marks the first bar after squeeze ends (potential breakout/expansion context).
Notes
No look-ahead logic is used; calculations rely on current and historical bars only.
On realtime (still-forming) candles, values can change intrabar, normal behavior for indicators computed on the current bar.
Trading Disclaimer:
This indicator is provided for research and informational purposes only and does not constitute financial advice. Past performance is not indicative of future results. Use at your own risk. You are solely responsible for any trading decisions made using this script.
MTF Dual Supertrend with Bands and PivotSUPERTREND WITH UPPER AND LOWER BANDS + PIVOT POINTS + MULTI-TIMEFRAME - INDICATOR DESCRIPTION
OVERVIEW:
This Pine Script indicator combines the SuperTrend technical analysis tool with visible upper and lower bands, standard daily pivot points, AND a second SuperTrend from a different timeframe. SuperTrend is a trend-following indicator that helps traders identify the current market direction and potential entry/exit points, while pivot points provide key support and resistance levels. The multi-timeframe feature allows you to see trends from different time perspectives simultaneously.
HOW IT WORKS:
The indicator uses the Average True Range (ATR) to calculate dynamic support and resistance bands around the price:
1. BASIC BANDS CALCULATION:
- Upper Band = HL2 + (ATR × Multiplier)
- Lower Band = HL2 - (ATR × Multiplier)
- HL2 = (High + Low) / 2
2. FINAL BANDS ADJUSTMENT:
- Bands are adjusted based on price movement to create a trailing stop mechanism
- Upper band only moves down or stays flat when price is above it
- Lower band only moves up or stays flat when price is below it
3. SUPERTREND LINE:
- Switches between upper and lower bands based on price crossovers
- When price is above the SuperTrend line = UPTREND (green)
- When price is below the SuperTrend line = DOWNTREND (red)
4. STANDARD PIVOT POINTS:
- Calculated based on previous day's High, Low, and Close
- Pivot Point (PP) = (High + Low + Close) / 3
- Resistance levels: R1, R2, R3 (calculated above PP)
- Support levels: S1, S2, S3 (calculated below PP)
- These levels act as potential support/resistance zones
5. SECOND SUPERTREND (MULTI-TIMEFRAME):
- Displays a second SuperTrend from a different timeframe (default: 60 minutes/1 hour)
- Customizable timeframe - choose from 1min, 5min, 15min, 30min, 60min, 240min, Daily, Weekly, etc.
- Independent ATR period and multiplier settings
- Shows its own upper and lower bands (purple color)
- Color-coded SuperTrend line (lime for uptrend, orange for downtrend)
- Helps identify alignment between different timeframes
- Can be enabled/disabled via settings
- Bands can be toggled separately
KEY FEATURES:
✓ Visual upper and lower bands showing the ATR-based zones (blue)
✓ Color-coded SuperTrend line (green for uptrend, red for downtrend)
✓ Second SuperTrend from custom timeframe with its own bands (purple)
✓ Second SuperTrend line (lime/orange colors)
✓ Buy/Sell signals when trend changes
✓ Optional signals for second SuperTrend (small triangles)
✓ Daily Pivot Points with 3 resistance and 3 support levels
✓ Customizable ATR period and multiplier for both SuperTrends
✓ Background color indication of current trend
✓ Built-in alerts for both SuperTrend trend changes
✓ Toggle options for all bands, signals, pivot lines, and second SuperTrend
DEFAULT PARAMETERS:
- ATR Period: 10
- ATR Multiplier: 3.0
- Second SuperTrend: Enabled
- Second SuperTrend Timeframe: 60 minutes (1 hour)
- Second SuperTrend ATR Period: 10
- Second SuperTrend ATR Multiplier: 3.0
USAGE:
- Lower multiplier (1.5-2.5) = More sensitive, more signals, more noise
- Higher multiplier (3.5-5.0) = Less sensitive, fewer signals, filters noise
- Use pivot points as additional confirmation for entries/exits
- When price approaches R1/R2/R3, expect potential resistance
- When price approaches S1/S2/S3, expect potential support
- MULTI-TIMEFRAME STRATEGY: Best signals occur when both SuperTrends align
* Both green (uptrend) = Strong bullish confirmation
* Both red (downtrend) = Strong bearish confirmation
* Conflicting trends = Caution, potential consolidation or reversal
- Combine SuperTrend signals with pivot levels for high-probability trades
- Best suited for trending markets
TRADING SIGNALS:
- BUY: When price closes above the upper band (trend changes from down to up)
* Extra confirmation if near a support level (S1, S2, S3)
* STRONGEST SIGNAL: When both SuperTrends are green AND price is above PP
- SELL: When price closes below the lower band (trend changes from up to down)
* Extra confirmation if near a resistance level (R1, R2, R3)
* STRONGEST SIGNAL: When both SuperTrends are red AND price is below PP
MULTI-TIMEFRAME EXAMPLES:
- Chart timeframe: 5min, Second SuperTrend: 1 hour
* Enter long when 5min shows buy signal AND 1hr is already in uptrend
* This filters out counter-trend trades
- Chart timeframe: 15min, Second SuperTrend: 4 hour
* Higher timeframe provides overall trend direction
* Lower timeframe provides precise entry timing
- Recommended combinations:
* Scalping: 1min chart + 15min second ST
* Day trading: 5min chart + 1hr second ST
* Swing trading: 1hr chart + Daily second ST
PIVOT POINT STRATEGY:
- PP (Pivot Point) = Main level, acts as support in uptrend, resistance in downtrend
- Price above PP = Bullish bias, look for longs near S1/S2
- Price below PP = Bearish bias, look for shorts near R1/R2
- Breakout of R3 or S3 indicates strong momentum
Note: This indicator is based on the classic SuperTrend algorithm and should be used as part of a comprehensive trading strategy, not as a standalone signal.
HMA Multi-Squeeze + CCI HeatmapUpdate on 'HMA Squeeze', added input options and colorbars. Fully custom inputs for 4 bull colors, 4 bear colors and one nuetral zone based on CCI values. Next edition will include a choice of moving averages and colorbars base on CVD?
NY Session 15 min ORB + Fib RetracementThis indicator builds a New York session Opening Range (ORB) and plots Fibonacci retracement levels based on that range.
What it does
Defines the Opening Range using the NY cash open (default: 9:30–9:45 ET)
Tracks the ORB high and low during that window
Locks the ORB once the window ends (recommended)
Draws Fibonacci retracement levels from the ORB range
Optionally fills the space between fib levels
Displays price tags for ORB levels and fib levels on the right side
Sessions
ORB window is configurable (default: 9:30–9:45 ET)
Fib levels are only shown during the selected plot session
(default: 9:30–16:00 ET)
Nothing plots outside the selected fib session
Prevents lines from connecting across trading days
Fib behavior
Fibs are calculated from the ORB high and low
Direction can be:
High → Low (default)
Low → High
Common fib ratios are included by default:
0.236
0.382
0.500
0.618
0.786
All ratios are user-editable
Visuals
ORB High = green line
ORB Low = red line
Fib levels = gray lines
Optional shaded fill between fib levels
Optional right-side labels showing:
ORB High / Low price
Fib ratio and exact price
Recommended use
Designed for intraday trading
Best used on NY session instruments (ES, NQ, SPY, QQQ, etc.)
Works well on lower timeframes (1–15 min)
Locking the ORB at session end is recommended for consistency
Notes
Indicator does not generate trade signals
Levels are intended as reference only
Always use proper risk management
EMA 9 & 15 with Live Angle (Anchored)Description:
This indicator is designed to measure market trend strength and direction using two exponential moving averages (EMAs) — 9 EMA (fast) and 15 EMA (slow) — and their angle of slope.
EMA 9 (Fast EMA): reacts quicker to price changes and shows short-term trend direction.
EMA 15 (Slow EMA): reacts slower and represents a more stable trend.
Slope / Angle of EMA: tells how steeply the trend is moving.
Calculated using ATR-normalized slope to adjust for volatility.
Converted to degrees for easy interpretation.
Labels: Show the current EMA angle live on the chart.
Positive angle: Uptrend
Negative angle: Downtrend
Steeper angle → stronger trend
Supertrend with BandsSUPERTREND WITH UPPER AND LOWER BANDS - INDICATOR DESCRIPTION
OVERVIEW:
This Pine Script indicator implements the SuperTrend technical analysis tool with visible upper and lower bands. SuperTrend is a trend-following indicator that helps traders identify the current market direction and potential entry/exit points.
HOW IT WORKS:
The indicator uses the Average True Range (ATR) to calculate dynamic support and resistance bands around the price:
1. BASIC BANDS CALCULATION:
- Upper Band = HL2 + (ATR × Multiplier)
- Lower Band = HL2 - (ATR × Multiplier)
- HL2 = (High + Low) / 2
2. FINAL BANDS ADJUSTMENT:
- Bands are adjusted based on price movement to create a trailing stop mechanism
- Upper band only moves down or stays flat when price is above it
- Lower band only moves up or stays flat when price is below it
3. SUPERTREND LINE:
- Switches between upper and lower bands based on price crossovers
- When price is above the SuperTrend line = UPTREND (green)
- When price is below the SuperTrend line = DOWNTREND (red)
KEY FEATURES:
✓ Visual upper and lower bands showing the ATR-based zones
✓ Color-coded SuperTrend line (green for uptrend, red for downtrend)
✓ Buy/Sell signals when trend changes
✓ Customizable ATR period and multiplier
✓ Background color indication of current trend
✓ Built-in alerts for trend changes
✓ Toggle options for bands and signals
DEFAULT PARAMETERS:
- ATR Period: 10
- ATR Multiplier: 3.0
USAGE:
- Lower multiplier (1.5-2.5) = More sensitive, more signals, more noise
- Higher multiplier (3.5-5.0) = Less sensitive, fewer signals, filters noise
- Use in conjunction with other indicators for confirmation
- Best suited for trending markets
TRADING SIGNALS:
- BUY: When price closes above the upper band (trend changes from down to up)
- SELL: When price closes below the lower band (trend changes from up to down)
Note: This indicator is based on the classic SuperTrend algorithm and should be used as part of a comprehensive trading strategy, not as a standalone signal.
PDH & PDL - Previous Day LevelsPDH & PDL – Previous Day High and Low
This indicator automatically plots the Previous Day High (PDH) and Previous Day Low (PDL) on intraday charts.
These key levels are widely used by traders as important support and resistance zones, helping to identify potential areas for price reactions, breakouts, or liquidity grabs.
Features
Automatically detects the previous trading day’s high and low
Draws clear horizontal levels across the current session
Labels the levels as PDH and PDL
Updates in real time at the start of each new trading day
Designed for intraday timeframes
How to Use
Use PDH as a potential resistance level
Use PDL as a potential support level
Watch for breakouts, rejections, or retests around these levels
Combine with price action, volume, or session-based strategies
Best For
Day trading
Scalping
Forex, indices, crypto, and futures
Traders who use market structure and key levels
This indicator keeps your chart clean while highlighting two of the most important reference levels from the previous trading day.
TVS
#Overview
The TVS strategy looks for areas of low volatility or ‘squeezes’ and then relies on momentum to identify a breakout. This is intended to help a trader wait for a consolidation phase before entering a market when energy is released.
---
How It Works
TVS uses Bollinger Bandwidth as a measure of market compression to define the "squeeze" conditions of low volatility. When the distance between the upper and lower Bollinger Bands contracts below its own average, the indicator flags the market as compressed and color codes candles purple. Once volatility expands and the squeeze ends, TVS toggles on momentum confirmation via RSI: candles light green as bullish momentum is in control and red when bearish momentum takes over. The color system observes strict priority whereby volatility compression overrides all trend signals, with any consideration of direction being subject to the release of the squeeze.
Color Priority
• Deep Purple: Active squeeze (low volatility)
• Green / Red: Squeeze released
– Green: Bullish
– Red: Bearish
---
Trading Checklist
-Purple candles? → Market is compressing
-Purple ended?→ Breakout phase
-Green or Red? → Direction confirmed
-Near key structure? → Manual validation
Settings and Usage
Timeframes: 15m–Daily
Best Markets: Forex majors, liquid stocks
Inputs: length (BB basis), mult (band sensitivity)
Risk Notes:
Squeezes can fail and reverse
No built-in stop-loss
News reduces signal reliability
Risk Management is mandatory.
Double BB Touch Alert캔들이 기본 볼린저밴드(20,2,종가)와 사용자밴드(4,4,시가)를 동시에 닿았을 때 알람 발생시키는 스크립트
"A script that triggers an alert when the candle simultaneously touches both the default Bollinger Bands (20, 2, close) and a custom band (4, 4, open)."
ICT Killzones & Pivots [TFO] + VWAP (NY Anchor)Made this for me, Enjoy it if it works for you ICT killzones + Vwap entry model from new york open with alerts
Sarina-5Dynamic Growth EMAs - 01152026It’s great to hear that we’ve built a solid rapport! I really appreciate your patience, and I'm glad I could strictly follow your computational bases this time. Here is a clear, professional English description you can use to introduce this indicator to others:
Dynamic Growth & Cascading Reset EMAs
This indicator features a sophisticated set of 5 Exponential Moving Averages (EMAs) that dynamically evolve based on price action and time. Unlike static EMAs, these lines "grow" and "spread" during trends to visualize momentum and volatility expansion.
Core Features:
Dynamic Length Growth: The EMA periods are not fixed. They increase in length during both upswings and downswings, causing the lines to spread apart as a trend strengthens.
Bidirectional Expansion: Lengths grow regardless of direction, ensuring the "fan" effect is visible in both bullish and bearish rallies.
Pivot Reset Logic: To maintain responsiveness, all EMA lengths reset to their initial values (2, 5, 8, 13, 21) whenever the price changes direction, allowing the indicator to catch new moves early.
Cascading & Sticky Resets: When faster EMAs cross slower ones, a "sticky" reset occurs. The triggered lines inherit the value of the next higher EMA to maintain smooth price continuity and avoid erratic jumps on the chart.
Multi-Level Visual Gradient: * Four distinct transparency zones (75%, 85%, 90%, 95%) create a professional "heat map" between the lines.
Dynamic color fills (Green for Bullish / Red for Bearish) based on the relationship between adjacent lines.
Hierarchical Signals (B1-B4 & S1-S4): Clear text-only labels mark every crossover point between the EMAs, identifying different stages of trend confirmation without cluttering the background.
Computational Foundation:
The indicator accounts for time-based decay, where the growth rate of the EMAs can be set to diminish after a specific duration, simulating the natural exhaustion of market momentum.
Chart Basicschart basics
> vwap
> time
> stuff
woo
18:50-19:10
19:50-20:10
21:50-22:10
00:50-01:10
02:00-02:30
02:50-03:10
08:50-09:10
09:30-09:50
09:50-10:10
10:50-11:10
11:50-12:10
13:10-13:40
15:15-15:45
OFM - ONE Trade Per Day MAXthis is helper to clarify the market trend and supply and demand zones to work with enjoy!
Bullish Trailing stopIt is a trailing SL. Works very well. Good good very good. Looks like my description needs more, so here is more random text.
Apex Wallet - Ultimate Trading Suite: All-In-One Overlay & SignaOverview The Apex Wallet All-In-One is a comprehensive professional trading toolkit designed to centralize every essential technical analysis tool directly onto your main price chart. Instead of cluttering your workspace with dozens of separate indicators, this script integrates trend analysis, volatility bands, automated chart patterns, and a multi-indicator signal engine into a single, cohesive interface.
Key Modular Features:
Trend Core: Features dynamic trend curves, cloud fills for momentum visualization, and a multi-timeframe dashboard (1m to 4h) to ensure you are always trading with the higher-timeframe bias.
Automated Chart Structures: Automatically detects and plots Support/Resistance levels, Standard Pivot Points, Market Gaps, and Fair Value Gaps (Imbalances).
Volatility & Volume: Includes professional-grade VWAP with standard deviation bands, Bollinger Bands, and a built-in Volume Delta (Raw/Net) tracker.
Signal Engine: A powerful cross-logic system that generates entry signals based on RSI (QQE), MACD (Zero-cross & Relance), Stochastic, TDI, and the Andean Oscillator.
Predictive Projections: A unique feature that projects current indicator slopes into future candles to help anticipate potential trend continuations or reversals.
Adaptability The script includes three core presets—Scalping, Day-Trading, and Swing-Trading—which automatically adjust all internal periods (Moving Averages, Bollinger, RSI, etc.) to match your specific market speed.
Visual Cleanliness Every feature is toggleable. You can display a "clean" chart with just the Trend Cloud or a "complete" workstation with signals, patterns (Doji, Engulfing), and pivot levels






















