Pivots + EMAIndicators Pivot points and 2 EMAs combined. It can be used to find support and resistance levels and shows Exponential Moving Average lines
Analisis Trend
Distance from EMAThis indicator measures the percentage distance from an EMA. When price gets too far away from it's EMA, it can show that the trend is overheated
Auto-Anchored MA with Deviation BandsAuto-Anchored MA with Deviation Bands
✨ Features
📈 Auto-Anchored MA: Calculates moving averages (EMA, SMA, EWMA, WMA, VWAP, TEMA) anchored to user-defined periods (Hour, Day, Week, etc.).📏 Deviation Bands: Plots upper/lower bands using Percentage or Standard Deviation modes for volatility analysis.⚙️ Customizable Timeframes: Choose anchor periods from Hour to Year for flexible trend analysis.🎨 Visuals: Displays MA and bands with gradient fills, customizable colors, and adjustable display bars.⏱️ Countdown Table: Shows bars since the last anchor for easy tracking.🛠️ Smoothing: Applies smoothing to bands for cleaner visuals.
🛠️ How to Use
Add to Chart: Apply the indicator on TradingView.
Configure Inputs:
Anchor Settings: Select anchor period (e.g., Day, Week).
MA Settings: Choose MA type (e.g., VWAP, TEMA).
Deviation Settings: Set deviation mode (Percentage/Std Dev) and multipliers.
Display Settings: Adjust bars to display, colors, and gradient fill.
Analyze: View MA, deviation bands, and countdown table on the chart.
Track Trends: Use bands as dynamic support/resistance and monitor anchor resets.
🎯 Why Use It?
Dynamic Analysis: Auto-anchors MA to key timeframes for adaptive trend tracking.
Volatility Insight: Deviation bands highlight potential breakouts or reversals.
Customizable: Tailor MA type, timeframe, and visuals to your trading style.
User-Friendly: Clear visuals and countdown table simplify analysis.
📝 Notes
Ensure sufficient bars for accurate MA and deviation calculations.
Gradient fill enhances readability but can be disabled for simplicity.
Best used with complementary indicators like RSI or Bollinger Bands for robust strategies.
Happy trading! 🚀📈
QuantumX Renko Suite QuantumX Renko Suite is an advanced all-in-one trading system that combines multiple strategies for powerful and accurate signals.
✅ Quantum RSI – Detects momentum shifts, overbought & oversold zones.
✅ MA Shift – Trend-following moving average with custom shift option.
✅ Nadaraya-Watson Kernel Smoother – Smooths price action with confidence bands to filter noise.
✅ Renko Filter (Non-Repainting) – Confirms signals only when Renko direction matches, reducing false entries.
✅ Multi-Timeframe Support/Resistance – Auto-detects higher timeframe demand/supply zones (5m, 10m, 15m, etc.).
✅ Buy/Sell Signals + Alerts – Clear chart markers (BUY/SELL) and ready-to-use alert conditions.
🎯 Best For: Intraday, Swing, and Trend-following strategies.
⚠️ Disclaimer: This script is for educational purposes only. Not financial advice. Always back test before live trading.
MS - Çoklu Onay Stratejisi (AL-SAT)"VOLUME, MA50, RSI, DMI, ATR
5 conditions, all turning positive at the same time gives a buy signal; one of them turning negative gives a sell signal. This should be evaluated with weekly data. Not financial advice."
Advanced MA Cross Strategy with ConfluenceOverview
A trend-following strategy that combines moving average crossovers with multiple technical confluence factors to identify high-probability long entries. This system is designed for traders seeking a disciplined, multi-faceted approach to market analysis with built-in risk management.
Core Strategy Logic
The strategy generates buy signals when a fast moving average crosses above a slow moving average, but only when multiple technical conditions align simultaneously. This confluence-based approach significantly reduces false signals and improves trade quality by ensuring multiple market dynamics support the directional bias.
Key Features
🎯 Multi-MA Support
5 Moving Average Types: EMA, SMA, WMA, HMA, VWMA
Customizable Periods: Flexible fast, slow, and trend filter lengths
Slope Validation: Ensures both MAs are trending upward before entry
📊 Seven-Point Confluence System
Volume Confirmation - Requires above-average trading volume
RSI Filter - Avoids overbought/oversold market conditions
MACD Alignment - Confirms momentum direction and strength
ADX Trend Strength - Validates trending market conditions
Bollinger Bands Position - Price positioning within volatility bands
Stochastic Momentum - Additional oscillator confirmation
Long-term Trend Filter - Ensures proper MA hierarchy (Fast > Slow > Trend)
🛡️ Advanced Risk Management
ATR-Based Dynamic Stops - Volatility-adjusted stop losses
Trailing Stop Logic - Protects profits as trades move favorably
Clear Exit Signals - Systematic position closure on MA cross-under
📈 Visual Intelligence
Real-Time Confluence Dashboard - Live monitoring of all filter conditions
Color-Coded Background - Visual confirmation when all factors align
Professional Signal Markers - Clear entry/exit visualization
MA Hierarchy Indicators - Trend structure validation
⚙️ Fully Customizable
Every parameter is user-adjustable, allowing traders to:
Modify MA lengths for different timeframes
Adjust confluence filter sensitivity
Customize risk management parameters
Enable/disable individual filters as needed
Strategy Advantages
✅ Reduced False Signals - Multiple confirmation layers filter out low-quality setups
✅ Trend Following - Designed to capture sustained directional moves
✅ Risk-Aware - Built-in stop loss and position sizing
✅ Transparent Logic - Real-time display of all decision factors
✅ Adaptable - Works across multiple timeframes and instruments
✅ Professional Grade - Institutional-quality technical analysis
Best Use Cases
Trending Markets: Excels in sustained directional price movements
Medium to Long-term Swing Trading: Optimized for multi-day to weekly holds
Risk-Conscious Trading: Ideal for traders prioritizing capital preservation
Educational Tool: Perfect for learning confluence-based analysis
Recommended Settings
Timeframes: 4H, Daily, Weekly for optimal signal quality
Instruments: Works on all liquid markets (Forex, Stocks, Crypto, Commodities)
Risk Management: 1-2% risk per trade recommended
Important Notes
⚠️ Long-Only Strategy: Designed specifically for upward price movements
⚠️ Confluence Dependent: All filters must align for signal generation
⚠️ Trending Market Bias: Performance may be limited in sideways markets
Disclaimer: This strategy is for educational and informational purposes only. Past performance does not guarantee future results. Always conduct your own analysis and consider your risk tolerance before trading.
Signal PainterSignal Painter is a trend-focused technical indicator that paints buy/sell signals only when a strong directional move is confirmed. It combines a momentum oscillator with a volatility filter to ensure signals occur during robust trends. In practice, the algorithm waits for price movement and momentum to exceed certain thresholds (for example, requiring both a surge in momentum and price range expansion) before marking a potential up-trend entry or down-trend entry on the chart. This means the system performs best in well-defined trending markets where such conditions are met consistently. In sideways or range-bound conditions, however, these strict requirements can be triggered by random fluctuations, reducing the indicator’s effectiveness (it may generate false or choppy signals when the market lacks clear direction). To adapt to a choppier market, traders can apply Signal Painter on a lower timeframe to make it more reactive to smaller price swings. This increases the frequency and quickness of signals (capturing short-term moves sooner) but at the cost of signal strength and reliability – lower-timeframe signals carry more noise and are less robust compared to signals on higher timeframes. In summary, Signal Painter is designed to highlight significant trend breakouts with visual cues on the chart, excelling during trending phases and cautioning users that its performance will degrade during sideways market conditions.
/MNQ 5m WAVE (Fusion B-L/S)This strategy—built for the Nasdaq-100 micro future (/MNQ) on the 5-minute chart—combines a simple momentum trigger with a set of context filters and layered exits. The core entry uses a fast/slow EMA crossover (5 vs. 13) and only fires when volatility is adequate, trend/participation are aligned, and price sits at a tradable distance from VWAP. Signals are executed strictly on bar close (no intrabar execution), which avoids repainting and keeps backtests consistent with live behavior at bar close.
imgur.com i.imgur.com i.imgur.com
Volatility filtering relies on ATR (smoothed true range). You can toggle it globally and per side (long/short) and set an absolute threshold in points. If the market is below the threshold, new entries are inhibited; above it, entries are allowed. Because the threshold is in points, you should calibrate it to the symbol and timeframe (defaults are tuned for /MNQ 5m).
Trend and impulse are checked via a Weinstein-style block: a mid-term SMA and its slope, plus a volume condition. Longs require closes above the SMA with non-negative slope; shorts require closes below the SMA with non-positive slope. Additionally, current volume must exceed the prior bar and a short SMA of volume. This aims to separate genuine breakouts with participation from low-quality pokes.
Relative location uses a smoothed VWAP (separate smoothing for longs and shorts). Longs must trade above VWAP and within a configurable proximity window (e.g., ≤1.1%); shorts must be below VWAP and within their own proximity (e.g., ≤0.3%). This favors buying strength near an institutional reference and selling weakness near value, discouraging stretched entries with poor signal-to-noise.
The entry trigger, once all filters agree, is the EMA cross—up for longs, down for shorts. You can restrict the strategy to “Both,” “Longs Only,” or “Shorts Only.” Orders are placed at the close of the confirming bar, with fixed size by default and configurable commissions/margins in the strategy properties.
Exits combine three layers: (1) a fixed percentage stop loss from average entry; (2) a fixed percentage take profit; and (3) a trailing stop that activates only after a minimum favorable excursion and then follows the highest high/lowest low with a configurable distance behind. Trailing lines are drawn as step lines, and the area between entry and the active trailing is shaded, making risk protection and give-back immediately visible.
Optionally, you can enable an automatic “bars in trade” close (useful for fast rotation/stop-hunt styles). When enabled, the position closes once the bar count since entry exceeds a user-defined maximum. A floating label displays the live bar count versus the cap, with distinct styling for longs and shorts.
Execution is wired for automation. Each entry/exit emits a structured JSON payload via TradingView’s alert_message (ideal for “order fill” endpoints such as /signal), including OHLCV and informational metrics (ATR and ADX). Additionally, the strategy can issue a parallel alert() with a compact “advice” payload (toggle “Enable alert() pushes to /advice”). This separation lets the same event feed both execution and a validation/notification layer.
Visually, the script plots the working EMAs, the Weinstein SMAs, smoothed VWAPs, and the trailing lines per side, and it marks crosses with clear icons. The entry price is highlighted, and the fill between entry and trailing is colored (green/red) to show whether profits are being locked in or risk is increasing—so trade management is readable at a glance.
Key parameters exposed: EMA lengths per side; Weinstein block periods and thresholds (slope and volume); VWAP smoothing and per-side proximity; SL/TP percentages and trailing configuration (start and behind distance); ATR lengths and thresholds per side; trade direction selector; and the bars-auto-close module with its on-chart counter. Defaults are reasonable for /MNQ on 5m but are meant to be tuned to your instrument’s volatility and session microstructure.
Operating philosophy: enter less but better—on breakouts with bias and participation—preferably not too far from VWAP; then manage exits in layers that protect gains without choking extended moves. Asymmetry between long and short proximity/targets reflects the typically sharper nature of declines versus advances and can be tailored to your data.
Limitations and guidance: the ATR threshold is absolute (points), so it is not portable without calibration; ensure VWAP proximity windows fit your intraday seasonality and the session you trade (RTH/ETH). While the system is close-of-bar and non-repainting, results may vary with data feeds or session settings. Always validate in paper first; no strategy guarantees outcomes.
Disclaimer: for educational and informational purposes only. Not financial advice. Derivatives and leveraged products carry substantial risk, including the possibility of total loss. Tune parameters and automations at your own risk.
session Zone Hunter 🚀 | Session + Ignition + LiquidityTitle: session Zone Hunter | Session + Ignition + Liquidity
Description:
1. Indicator Philosophy and Originality
This indicator is an integrated trading framework designed to analyze market behavior through the lens of trading sessions and high-probability liquidity zones. The core philosophy is that the most significant trading opportunities arise from the interplay between session context and liquidity events.
The originality of this script lies in its synergistic combination of two distinct but complementary modules:
A Session Analysis Engine: This module defines the temporal context, identifying the high, low, and behavioral characteristics (e.g., Trend, Consolidation) of each trading session.
An Ignition Zone Module: This module identifies potent supply and demand zones created by "explosive" price moves, which often signal institutional intent.
By overlaying these two analyses, a trader can answer critical questions that are not possible by using separate indicators: "Did this 'Ignition' demand zone form at the low of the London session?" or "Is the price currently consolidating near the high of the Asian session, preparing for a liquidity grab?" This fusion of "when" (session context) and "where" (liquidity zones) provides a unique and powerful analytical edge.
2. Module 1: Session Analysis
This is the foundational layer of the indicator, providing a structured view of the market based on the major trading sessions (Asia, Europe, US).
Session Boxes & Timing: The script automatically draws colored boxes for each session based on user-defined start and end times (in UTC minutes). It also includes a countdown table showing the time left in the current session and when the next one begins.
Session Behavior Analysis: At the close of each session, the indicator analyzes the price action within that session and classifies its behavior into one of four categories:
Trend Up/Down: Characterized by a strong directional move and a large price range.
Consolidation: Characterized by a tight, non-directional price range.
Manipulation: Characterized by significant wicks on both sides of the candle body, suggesting a battle between buyers and sellers with no clear winner.
Range: Any behavior that doesn't fit the above criteria.
Closing Price Bias: In addition to the overall behavior, the indicator analyzes where the session's price closed relative to its range (e.g., "Strong Bullish Close" if it closes in the top 40% of its range). This provides insight into the final sentiment of the session.
Session Edge Traps (Liquidity Grabs): This sub-module identifies potential liquidity grabs. It triggers a "Sell Trap" alert if price creates a new session high but the candle body is bearish, and a "Buy Trap" if price creates a new session low but the candle body is bullish. These signals can be filtered to only appear near the edges of the session range.
3. Module 2: Ignition Alert Zones (Supply & Demand)
This is an independent, embedded module designed to detect high-probability supply and demand zones based on the concept of "Ignition" candles.
Zone Creation Logic: A zone is identified when a "boring" (low momentum) candle is followed by an "explosive" (high momentum) candle.
Boring Candle: A candle where the total length of the wicks is greater than the body size by a user-defined ratio.
Explosive Candle: A candle with a strong directional body that is significantly larger than the preceding "boring" candle's body.
A bullish (Demand) zone is created from the high/low of the boring candle that precedes an explosive up-move. A bearish (Supply) zone is created from the boring candle preceding an explosive down-move.
Zone Management:
Non-Repaint & Close-Only Checks: The logic is designed to be non-repainting by confirming signals only on bar close.
Overlap Policy: To maintain chart clarity, the indicator has a built-in policy to handle overlapping zones, either by keeping the most "Current" zone or using a "Strict" policy that prevents any overlap.
Zone Lifecycle: Zones can be configured to be automatically deleted after being filled, broken, or after a certain number of bars have passed (aging). They can also be set to "dim" (become more transparent) after the first price touch.
Comprehensive Alerts: A full suite of alerts is available for every event in a zone's life, including: New Zone Created, Zone Filled, First Retest, Any Touch, and Zone Break/Invalidation.
By combining these two powerful modules, the Session Zone Hunter aims to provide traders with a complete system for identifying high-probability setups based on session dynamics and institutional liquidity footprints
Sri - Custom RSI Candle/Heikinashi Colors on MTFSri - Custom RSI Candle/Heikinashi Colors (TF RSI + EMA50 + Daily Trend Marker)
Short title: Sri - RSI EMA TF
Version: Pine Script v5
Overlay: Yes
Overview
This script enhances the standard RSI indicator by combining multiple features to visually represent market momentum and trend strength on both custom and daily timeframes. It recolors candlesticks or draws custom candles based on RSI levels relative to its EMA, offering a clear, intuitive way to identify trend direction and overbought/oversold conditions.
Key benefits include:
Multi-timeframe RSI & EMA analysis.
Optional Heikin Ashi or normal price source for RSI calculation.
Custom candle coloring for immediate visual insights.
Daily trend markers for longer-term trend context.
Features
Custom Timeframe RSI + EMA50
Calculate RSI on any user-selected timeframe (default: 5 min).
Apply a 50-period EMA on the RSI to identify trend direction.
Visual differentiation based on RSI relative to EMA:
Uptrend: RSI > EMA and above 50 → Blue candles
Downtrend: RSI < EMA and below 50 → Yellow candles
Conflict zones: RSI and EMA in opposite directions → Red or Green borders
Daily Trend Marker
Plots a tiny circle below each candle showing the daily RSI trend for additional context.
Helps align short-term trades with longer-term market direction.
Candle Visualization Options
Recolor built-in bars (default)
Custom candles with transparent bodies + colored borders
Overbought (RSI ≥ 70) → Dark Green
Oversold (RSI ≤ 30) → Orange
Heikin Ashi Support
Users can choose between Normal or Heikin Ashi candle prices as the RSI source.
Provides a smoother view of trends when using Heikin Ashi.
Transparency for Neutral Zones
Neutral or sideways RSI conditions are represented by transparent candles, reducing visual clutter.
Inputs
Input Description
Custom RSI Timeframe Select timeframe for RSI calculation (default: 5 min)
RSI Length Period for RSI calculation (default: 14)
EMA Length EMA period applied on RSI (default: 50)
Use custom candles True → draws custom candles with colored borders; False → recolors default bars
Price Source for RSI "Normal" or "Heikin Ashi"
Color Scheme
Condition Body Color Border Color
RSI ≥ 70 (Overbought) Dark Green Dark Green
RSI ≤ 30 (Oversold) Orange Orange
RSI ≥ 50 and RSI ≥ EMA Blue Blue
RSI < 50 and RSI ≤ EMA Yellow Yellow
RSI < 50 and RSI ≥ EMA Transparent Red (Conflict)
RSI ≥ 50 and RSI ≤ EMA Transparent Green (Conflict)
How to Use
Add the script to your chart.
Choose whether to use custom candles or recolor standard bars.
Set your preferred RSI timeframe and EMA length.
Optional: Switch between Normal or Heikin Ashi as the RSI source.
Observe candle colors and daily circles for trend alignment:
Green/Blue → Uptrend
Red/Yellow → Downtrend
Transparent → Neutral/conflict zones
Trading Insights
Candle colors quickly indicate short-term momentum relative to RSI and EMA.
Daily trend markers allow alignment of short-term trades with broader market context.
Conflict zones (transparent bodies with red/green borders) highlight caution areas where trend direction may be ambiguous.
Combining multiple timeframes (custom + daily) increases the accuracy of trend-based decision-making.
Notes
Works best when combined with other indicators (volume, support/resistance) for confirmation.
Ideal for scalping, intraday, or swing trading strategies.
Compatible with most symbols and timeframes supported by TradingView.
BTC 1D — Trend START/END Signals (clean, no repaint)
This strategy is designed primarily for BTC on the daily (1D) timeframe in TradingView.
BUY (start of uptrend)
Fast EMA is above Slow EMA.
Price breaks above the previous Donchian high.
Optional filters (if enabled): volume surge and strong momentum/RSI.
Only one BUY per uptrend—no additional buys until a SELL occurs.
SELL (end of uptrend)
Price falls below the previous Donchian low, or
Price drops below the Slow EMA, or
Momentum flips bearish (DI− > DI+ or RSI ≤ threshold).
One SELL marks the end of the uptrend.
AMF PG Strategy_v2The AMF PG Strategy (Praetorian Guard) is an advanced trading system designed to seamlessly adapt to market conditions. Its unique structure balances precise entries with intelligent protection, giving traders confidence in both trending and volatility environments.
Key points include:
Adaptive Core (AMF Engine) – A dynamic framework that automatically adjusts for clearer long- and short-term opportunities and generates a robust tracking line.
Praetorian Guard – A built-in protective shield that activates in extreme conditions and helps stabilize performance when markets become turbulent.
Versatility – Effective across multiple timeframes, from scalping to swing trading, without constant parameter adjustments.
Clarity – Clear visual signals and color-coded monitoring for instant decision-making.
This strategy is designed for traders who want more than just entries and exits; it offers a command center for disciplined, adaptable, and resilient trading.
Disclaimer:
It should be noted that no strategy is guaranteed. This strategy does not provide buy-sell-hold advice. Responsibility rests with the user.
Version 2: Bugs overlooked in Version 1 have been corrected and improvements have been made.
TEMA Ribbon 9/13/15/21 – Smooth trend shifts, less lag, clearer“TEMA Ribbon 9/13/15/21 – Smooth trend shifts, less lag, clearer bias.”
Plots four Triple Exponential Moving Averages (9, 13, 15, 21) with shaded zones for quick trend visualization. Helps identify short- vs. medium-term momentum shifts with reduced lag compared to standard EMAs.
Recommended Usage:
Best applied on 5M–1H intraday charts for momentum and trend confirmation.
Use the 9 & 13 TEMA for short-term momentum shifts.
Use the 15 & 21 TEMA for medium-term bias.
Look for crossovers and alignment (all fast TEMAs above/below slow ones) to confirm bullish or bearish conditions.
Shaded zones help visualize when the short- and medium-term trends converge or diverge, signaling potential entry or exit points.
Combine the TEMA Ribbon with VWAP or session-based trading (e.g., London/New York Killzones) to filter signals.
Trade only in the direction of VWAP bias (price above VWAP → favor longs, below → favor shorts).
Within Killzones, use TEMA alignment (9/13 above 15/21 = bullish trend, or opposite for bearish) as confirmation before entries.
This reduces false signals and locks entries to periods of high liquidity and volatility, where TEMA shines.
//@version=5
indicator("TEMA 9/13/15/21", overlay=true)
// Quelle
src = close
// Funktion: TEMA
tema(src, length) =>
e1 = ta.ema(src, length)
e2 = ta.ema(e1, length)
e3 = ta.ema(e2, length)
3.0 * e1 - 3.0 * e2 + e3
// TEMA-Berechnung
t9 = tema(src, 9)
t13 = tema(src, 13)
t15 = tema(src, 15)
t21 = tema(src, 21)
// Plots
p9 = plot(t9, "TEMA 9", color=color.teal, linewidth=2)
p13 = plot(t13, "TEMA 13", color=color.aqua, linewidth=2)
p15 = plot(t15, "TEMA 15", color=color.orange, linewidth=2)
p21 = plot(t21, "TEMA 21", color=color.fuchsia, linewidth=2)
// Einfaches Fill (zwischen schnellstem und langsamstem)
fill(p9, p21, color=color.new(color.gray, 85))
fill(p13, p15, color=color.new(color.gray, 92))
TRADE ORBIT:Dual MACD Histogram Background + Buy/SellDescription:
This indicator combines two MACD systems to provide clear trend, buy/sell signals, and identifies potential discount and premium zones for smarter entries and exits.
Features:
MACD #1 (100, 200, 50) – Trend & Background Coloring
Histogram > 0 → Green background (Bullish trend)
Histogram < 0 → Red background (Bearish trend)
MACD #2 (34, 144, 9) – Buy/Sell Signals
Buy Signal: Histogram crosses above zero and MACD #1 background is green
Sell Signal: Histogram crosses below zero and MACD #1 background is red
Signals are plotted as tiny labels directly on the chart
Discount & Premium Zones
Discount Zone: Price below MACD #1 slow EMA → highlighted in green
Premium Zone: Price above MACD #1 slow EMA → highlighted in red
Helps identify “cheap” (potential buy) and “expensive” (potential sell) areas relative to trend
Reference Plots (Optional)
MACD #1 & #2 histograms plotted as columns for visual confirmation
Usage:
Use MACD #1 background to identify the prevailing trend.
Wait for MACD #2 cross signals aligned with trend for buy/sell confirmation.
Discount and premium zones help time entries and exits more efficiently.
Ideal For:
Swing traders and position traders who want to combine trend-following signals with overbought/oversold zones.
TRADE ORBIT:Dual MACD + HEMA TrendThis indicator combines dual MACD histograms with a Harmonic EMA (HEMA) trend overlay to provide comprehensive trend analysis, buy/sell signals, and dynamic support/resistance zones.
Features:
Dual MACD System:
Background Coloring: Uses MACD(100,200,50) histogram to color the chart background:
Green = bullish momentum
Red = bearish momentum
Buy/Sell Signals: Uses MACD(34,144,9) histogram crossovers for trade signals:
BUY Signal: Histogram crosses above zero and background is green
SELL Signal: Histogram crosses below zero and background is red
Signals are plotted as labels on the chart.
HEMA Trend Overlay:
Uses short and long HEMA lines (default 20 & 40) to detect trend direction.
Colors bars dynamically based on trend:
Green = bullish
Red = bearish
Gray = neutral or indecisive
Provides gradient fill between HEMA lines to visually highlight trend strength.
Trend Boxes & Markers:
Bullish/bearish boxes highlight areas of potential support/resistance based on HEMA crossovers.
Markers (▲ / ▼) appear when the price interacts with trend boxes for easy visual confirmation.
Alerts:
HEMA crossovers (bullish/bearish)
Price tests of bullish/bearish boxes
Optionally, can add alerts for MACD BUY/SELL signals.
Visualization:
MACD histograms plotted as columns for reference
Dynamic bar colors reflecting HEMA trend
Combined view gives a multi-layered trend analysis on a single chart.
Use Case:
Ideal for traders who want to filter trades by overall trend (background MACD), time precise entries/exits (MACD signals), and confirm trend strength (HEMA overlay) in a single indicator.
Multi-Leg Option Combined PremiumMulti-Leg Option Combined Premium Indicator
Overview
The Multi-Leg Option Combined Premium Indicator is a powerful and versatile tool designed for options traders to analyze and visualize multi-leg option strategies on Indian indices (NIFTY, BANKNIFTY, SENSEX). This TradingView Pine Script (v6) indicator calculates the combined premium of up to four option legs, displays the strategy in a customizable table, and overlays user-selected technical indicators (e.g., SMA, RSI, MACD) to aid in decision-making. Whether you're trading straddles, strangles, or complex strategies like Iron Condors, this indicator streamlines premium tracking and trend analysis, making it ideal for both novice and experienced traders.
Key Features
Multi-Leg Strategy Support:
Choose from 19 predefined option strategies, including Long Straddle, Short Strangle, Iron Condor, Bull Call Spread, and more, or create a custom strategy with up to four legs.
Configure each leg with specific expiry dates, strike prices, option types (Call/Put), and positions (Long/Short) with adjustable quantities.
Automatically calculates the combined premium, accounting for the direction (long/short) and quantity of each leg.
Index-Specific Customization:
Supports three major Indian indices: NIFTY, BANKNIFTY, and SENSEX.
Index-specific expiry dates:
NIFTY: Weekly (Tuesdays) and monthly (last Tuesday) expiries (e.g., 09-Sep-2025 to 04-Nov-2025).
BANKNIFTY: Monthly (last Wednesday) expiries (e.g., 25-Sep-2025 to 29-May-2026).
SENSEX: Weekly (Fridays) and monthly (last Friday) expiries (e.g., 11-Sep-2025 to 06-Nov-2025).
Adjustable ATM strike levels and strike width multipliers for precise strategy setup.
Technical Indicator Overlay:
Overlay one of 10 popular technical indicators on the combined premium chart: SMA, EMA, RSI, MACD, Bollinger Bands, ATR, Stochastic, Williams %R, CCI, or ADX.
Customize indicator parameters (e.g., RSI length, MACD fast/slow lengths) to align with your trading style.
Visual cues: Combined premium is color-coded (red/green/blue for credits, red/green/orange for debits) based on its position relative to the selected indicator.
Dynamic Table Display:
Displays a detailed table summarizing the strategy, including:
Instrument (NIFTY/BSX), expiry, option type, strike, position, premium, and quantity per leg.
Net position (Credit/Debit) and total combined premium.
Customizable table size (tiny, small, normal) and position (e.g., top-right, bottom-left).
Option to toggle P&L info (quantity column) for clarity.
Alert Integration:
Built-in alert functionality to log strategy details (timestamp, index, strategy, premium, indicator value, credit/debit status) to external services like Google Sheets via webhooks.
Example: Trigger alerts at specific times (e.g., 9:30 AM on 05-Sep-2025) or on new bars for real-time tracking.
Visual Feedback:
Plots the combined premium with dynamic coloring to reflect market conditions.
Indicator-specific visuals (e.g., Bollinger Bands upper/lower lines, RSI overbought/oversold levels, MACD signal line).
Background coloring to indicate net credit (blue) or debit (orange) strategies.
How It Works
Select an Index: Choose NIFTY, BANKNIFTY, or SENSEX to load index-specific prefixes (NSE:/BSE:) and expiry dates.
Choose a Strategy: Select a predefined strategy (e.g., Long Straddle, Iron Condor) or configure a custom strategy with up to four legs.
Set Parameters: Adjust ATM strike, strike width multiplier, and expiry dates. For custom strategies, specify each leg’s expiry, type, strike, position, and quantity.
Apply Technical Indicators: Pick an indicator (e.g., RSI, MACD) and customize its settings to analyze the combined premium’s trend.
View Results: The indicator calculates the combined premium, displays it in a table, and plots it with the selected indicator. Alerts can send data to external services for logging.
Analyze and Trade: Use the premium plot and indicator signals to make informed trading decisions, with the table providing a clear overview of your strategy.
Benefits
Time-Saving: Automates premium calculations for complex multi-leg strategies, reducing manual effort.
Flexible: Supports a wide range of strategies and indices, with customizable inputs for tailored analysis.
Visual Clarity: Combines premium data with technical indicators in an easy-to-read chart and table format.
Actionable Insights: Color-coded plots and alerts help traders identify trends and track performance.
External Logging: Seamlessly integrates with webhooks for real-time data logging to tools like Google Sheets.
Usage Instructions
Add to Chart: Apply the indicator to a TradingView chart for NIFTY, BANKNIFTY, or SENSEX.
Configure Inputs:
Select the index and strategy from the dropdowns.
Adjust ATM strike, strike width, and expiry dates as needed.
Choose a technical indicator and tweak its parameters.
Set table preferences (size, position, P&L info).
Set Up Alerts (Optional):
Create a TradingView alert with a webhook URL pointing to a service like Pabbly Connect or Zapier.
Use the alert’s JSON output to log data to Google Sheets (e.g., timestamp, strategy, premium).
Interpret Results:
Monitor the premium plot (colored based on trend relative to the indicator).
Review the table for leg details and net position.
Use alerts to track strategy performance externally.
Ideal For
Options Traders: Perfect for traders focusing on Indian indices, seeking to analyze multi-leg strategies like straddles, spreads, or condors.
Technical Analysts: Combines option premiums with technical indicators for trend-based trading decisions.
Portfolio Managers: Useful for tracking premium changes and logging performance for later analysis.
Notes
Data Requirements: Ensure your TradingView account has access to real-time data for NIFTY, BANKNIFTY, or SENSEX options. Invalid symbols may return na values.
Alerts: Webhook setup requires a third-party service (e.g., Pabbly Connect, Zapier) to log data to Google Sheets. Refer to the included guide for setup details.
Performance: Best used on timeframes aligned with option expiries (e.g., daily or intraday).
Disclaimer: This indicator is for educational purposes only and does not constitute financial advice. Always conduct your own analysis before trading.
Support
For setup assistance, bug reports, or feature requests, contact the developer via . Premium subscribers receive priority support and access to exclusive features like webhook setup guides.
Savitzky-Golay Hampel Filter | AlphaNattSavitzky-Golay Hampel Filter | AlphaNatt
A revolutionary indicator combining NASA's satellite data processing algorithms with robust statistical outlier detection to create the most scientifically advanced trend filter available on TradingView.
"This is the same mathematics that processes signals from the Hubble Space Telescope and analyzes data from the Large Hadron Collider - now applied to financial markets."
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 SCIENTIFIC PEDIGREE
Savitzky-Golay Filter Applications:
NASA: Satellite telemetry and space probe data processing
CERN: Particle physics data analysis at the LHC
Pharmaceutical: Chromatography and spectroscopy analysis
Astronomy: Processing signals from radio telescopes
Medical: ECG and EEG signal processing
Hampel Filter Usage:
Aerospace: Cleaning sensor data from aircraft and spacecraft
Manufacturing: Quality control in precision engineering
Seismology: Earthquake detection and analysis
Robotics: Sensor fusion and noise reduction
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧬 THE MATHEMATICS
1. Savitzky-Golay Filter
The SG filter performs local polynomial regression on data points:
Fits a polynomial of degree n to a sliding window of data
Evaluates the polynomial at the center point
Preserves higher moments (peaks, valleys) unlike moving averages
Maintains derivative information for true momentum analysis
Originally published in Analytical Chemistry (1964)
Mathematical Properties:
Optimal smoothing in the least-squares sense
Preserves statistical moments up to polynomial order
Exact derivative calculation without additional lag
Superior frequency response vs traditional filters
2. Hampel Filter
A robust outlier detector based on Median Absolute Deviation (MAD):
Identifies outliers using robust statistics
Replaces spurious values with polynomial-fitted estimates
Resistant to up to 50% contaminated data
MAD is 1.4826 times more robust than standard deviation
Outlier Detection Formula:
|x - median| > k × 1.4826 × MAD
Where k is the threshold parameter (typically 3 for 99.7% confidence)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💎 WHY THIS IS SUPERIOR
vs Moving Averages:
Preserves peaks and valleys (critical for catching tops/bottoms)
No lag penalty for smoothness
Maintains derivative information
Polynomial fitting > simple averaging
vs Other Filters:
Outlier immunity (Hampel component)
Scientifically optimal smoothing
Preserves higher-order features
Used in billion-dollar research projects
Unique Advantages:
Feature Preservation: Maintains market structure while smoothing
Spike Immunity: Ignores false breakouts and stop hunts
Derivative Accuracy: True momentum without additional indicators
Scientific Validation: 60+ years of academic research
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ PARAMETER OPTIMIZATION
1. Polynomial Order (2-5)
2 (Quadratic): Maximum smoothing, gentle curves
3 (Cubic): Balanced smoothing and responsiveness (recommended)
4-5 (Higher): More responsive, preserves more features
2. Window Size (7-51)
Must be odd number
Larger = smoother but more lag
Formula: 2×(desired smoothing period) + 1
Default 21 = analyzes 10 bars each side
3. Hampel Threshold (1.0-5.0)
1.0: Aggressive outlier removal (68% confidence)
2.0: Moderate outlier removal (95% confidence)
3.0: Conservative outlier removal (99.7% confidence) (default)
4.0+: Only extreme outliers removed
4. Final Smoothing (1-7)
Additional WMA smoothing after filtering
1 = No additional smoothing
3-5 = Recommended for most timeframes
7 = Ultra-smooth for position trading
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 TRADING STRATEGIES
Signal Recognition:
Cyan Line: Bullish trend with positive derivative
Pink Line: Bearish trend with negative derivative
Color Change: Trend reversal with polynomial confirmation
1. Trend Following Strategy
Enter when price crosses above cyan filter
Exit when filter turns pink
Use filter as dynamic stop loss
Best in trending markets
2. Mean Reversion Strategy
Enter long when price touches filter from below in uptrend
Enter short when price touches filter from above in downtrend
Exit at opposite band or filter color change
Excellent for range-bound markets
3. Derivative Strategy (Advanced)
The SG filter preserves derivative information
Acceleration = second derivative > 0
Enter on positive first derivative + positive acceleration
Exit on negative second derivative (momentum slowing)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 PERFORMANCE CHARACTERISTICS
Strengths:
Outlier Immunity: Ignores stop hunts and flash crashes
Feature Preservation: Catches tops/bottoms better than MAs
Smooth Output: Reduces whipsaws significantly
Scientific Basis: Not curve-fitted or optimized to markets
Considerations:
Slight lag in extreme volatility (all filters have this)
Requires odd window sizes (mathematical requirement)
More complex than simple moving averages
Best with liquid instruments
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 SCIENTIFIC BACKGROUND
Savitzky-Golay Publication:
"Smoothing and Differentiation of Data by Simplified Least Squares Procedures"
- Abraham Savitzky & Marcel Golay
- Analytical Chemistry, Vol. 36, No. 8, 1964
Hampel Filter Origin:
"Robust Statistics: The Approach Based on Influence Functions"
- Frank Hampel et al., 1986
- Princeton University Press
These techniques have been validated in thousands of scientific papers and are standard tools in:
NASA's Jet Propulsion Laboratory
European Space Agency
CERN (Large Hadron Collider)
MIT Lincoln Laboratory
Max Planck Institutes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 ADVANCED TIPS
News Trading: Lower Hampel threshold before major events to catch spikes
Scalping: Use Order=2 for maximum smoothness, Window=11 for responsiveness
Position Trading: Increase Window to 31+ for long-term trends
Combine with Volume: Strong trends need volume confirmation
Multiple Timeframes: Use daily for trend, hourly for entry
Watch the Derivative: Filter color changes when first derivative changes sign
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT NOTICES
Not financial advice - educational purposes only
Past performance does not guarantee future results
Always use proper risk management
Test settings on your specific instrument and timeframe
No indicator is perfect - part of complete trading system
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏆 CONCLUSION
The Savitzky-Golay Hampel Filter represents the pinnacle of scientific signal processing applied to financial markets. By combining polynomial regression with robust outlier detection, traders gain access to the same mathematical tools that:
Guide spacecraft to other planets
Detect gravitational waves from black holes
Analyze particle collisions at near light-speed
Process signals from deep space
This isn't just another indicator - it's rocket science for trading .
"When NASA needs to separate signal from noise in billion-dollar missions, they use these exact algorithms. Now you can too."
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Developed by AlphaNatt
Version: 1.0
Release: 2025
Pine Script: v6
"Where Space Technology Meets Market Analysis"
Not financial advice. Always DYOR
PCV (Darren.L-V2)Description:
This indicator combines Bollinger Bands, CCI, and RVI to help identify high-probability zones on M15 charts.
Features:
Bollinger Bands (BB) – displayed on the main chart in light gray. Helps visualize overbought and oversold price levels.
CCI ±100 levels + RVI – displayed in a separate sub-window:
CCI only shows the ±100 reference lines.
RVI displays a cyan main line and a red signal line.
Valid Zone Detection:
Candle closes outside the Bollinger Bands.
RVI crosses above +100 or below -100 (CCI level reference).
Candle closes back inside the BB, confirming a price rebound.
Requires two touches in the same direction to confirm the zone.
Only zones within 20–30 pips range are considered valid.
Usage:
Helps traders spot reversal or bounce zones with clear visual signals.
Suitable for all indices, Forex, and crypto on M15 timeframe.
VWAP Pro v6 (Color + Bands)AI helped me code VWAP
When price goes above VWAP line, VWAP line will turn green to indicate buyers are in control.
When price goes below VWAP line, VWAP line will turn red to indicate sellers are in control.
VWAP line stays blue when price is considered fair value.
PCV Setup (By Darren.L)The PCV Setup is designed for M15 scalping trading.
It combines Bollinger Bands (volatility), CCI (momentum), and RVI (trend confirmation) to filter false signals and improve accuracy.
EWC Zone Matrix📌 EWC Precision Blocks
🔎 Overview
EWC Precision Blocks is a professional market analysis tool designed to highlight high-probability trading zones on the chart. Instead of relying on lagging signals, this indicator maps out Alpha Zones (bullish) and Beta Zones (bearish), allowing traders to identify potential market reaction areas with clarity.
The algorithm is built to adapt across Scalp, Swing, and Position trading modes, making it flexible for short-term intraday traders as well as long-term investors.
⚡ Key Features
Multi-Mode Detection – Switch between Scalp, Swing, or Position modes depending on your trading style.
EWC Alpha Zone (Bullish Detection) – Highlights areas where the market may find strong upward momentum.
EWC Beta Zone (Bearish Detection) – Highlights areas where the market may face downward pressure.
Zone Break Tracking – Visualizes when a zone has been invalidated or broken.
Body-Based Detection – Option to base calculations on candle bodies instead of wicks for precision.
Zone Flips – Displays polarity shifts when zones transition from supportive to resistive behavior (and vice versa).
Custom Styling – Full control of zone and break colors for clear chart visualization.
🎯 How to Use
Select Your Mode
Scalp → Designed for fast intraday moves.
Swing → Medium-term setups, ideal for session trading.
Position → Long-term outlook, suitable for investors.
Watch the Alpha Zones
Highlighted bullish areas can serve as potential support or accumulation zones.
Watch the Beta Zones
Highlighted bearish areas may act as resistance or distribution zones.
Monitor Breaks & Flips
Alpha Breaks → Bullish zones failing.
Beta Breaks → Bearish zones failing.
Zone Flips → Polarity changes, often powerful signals.
🛠 Inputs & Customization
EWC Mode → Choose Scalp, Swing, or Position.
Show Last Alpha Zone → Set how many bullish zones to display.
Show Last Beta Zone → Set how many bearish zones to display.
Body-Based Detection → Toggle candle body vs. wick calculation.
EWC Alpha Zone / Beta Zone Styling → Customize zone colors.
Alpha Break / Beta Break Colors → Adjust break visuals.
Show Zone Flips → Enable/disable historical polarity labels.
Status Bar → Display inputs directly in the chart status line.
📈 Best Practices
Works across all timeframes and markets (forex, crypto, indices, stocks).
Combine with your existing strategy for confirmation.
Use in alignment with higher timeframe structure for maximum accuracy.
⚠ Disclaimer
EWC Precision Blocks is a market visualization tool provided for educational purposes only. It does not provide financial advice, signals, or guaranteed results. Always do your own research and manage risk responsibly.
🔹 About EWC
EWC (EastWave Capital) is dedicated to developing professional-grade trading tools and strategies for traders across forex, crypto, commodities, and indices. With over a decade of combined market experience, our mission is to empower traders with precision, clarity, and confidence in their decision-making.
EWC Precision Blocks is one of our flagship tools, reflecting our commitment to innovation, transparency, and trader-focused solutions.
📌 Published by Usama Manzoor — Founder of EastWave Capital (EWC)
1 minute ago
Release Notes
EWC Precision Blocks
The EWC Alpha-Beta Zone Detector is designed for traders who value clarity, precision, and flexibility in their chart analysis.
By mapping out Alpha (strength) and Beta (weakness) zones, this script provides a structured way to understand how price reacts to key levels in the market.
This indicator is built on price action principles and market structure analysis, avoiding clutter and focusing on the essentials traders need. Whether you are scalping on lower timeframes or analyzing swing opportunities, the Alpha-Beta Zone Detector adapts to your style.
🔹 Core Features
Alpha & Beta Zones → Detects bullish and bearish strength zones in real time.
Highlight Last Zone → Focus on the most recent Alpha/Beta zone for clarity.
Zone Flip Detection → Identifies polarity changes when zones shift from support to resistance or vice versa.
Body-Based Detection → Option to base calculations on candle bodies instead of wicks for more accuracy.
Flexible Timeframe Sensitivity → Switch between short, intermediate, and long-term detection modes.
Custom Zone Styling → Adjust colors, opacity, and line thickness for both Alpha and Beta zones.
Break Visualization → Display breaks of Alpha and Beta zones for additional confirmation.
Market Versatility → Works seamlessly on Forex, Crypto, Indices, Commodities, and Stocks.
🔹 Why Traders Use It
Provides a clear visual guide to market decision zones.
Helps traders refine entries, stop-loss placement, and take-profit levels.
Adapts to multiple trading styles → scalpers, intraday traders, and swing traders.
Keeps charts clean and professional without overloading with unnecessary signals.
⚠️ Disclaimer:
This script is created for educational and informational purposes only. It does not provide financial advice. Trading involves risk; always manage your risk responsibly and conduct your own analysis before entering any position.