Multi-Timeframe SFP (Swing Failure Pattern)How to Use
1. Set Pivot Timeframe: Choose the timeframe for identifying major swing points (e.g., 'D' for Daily pivots).
2. Set SFP Timeframe: Choose the timeframe to find the SFP candle (e.g., '240' for the 4-Hour chart).
3. Set Confirmation Bars: Set how many SFP Timeframe bars must pass without invalidating the level. A value of '0' confirms immediately on the SFP bar's close. A value of '1' waits for one more bar to close.
4. Adjust Filters (Optional): Enable the 'Wick % Filter' to add a quality check for strong rejections.
5. Watch & Wait: The indicator will draw lines and labels and fire alerts for fully confirmed signals.
In-Depth Explanation
1. Overview
The Dynamic Pivot SFP Engine is a multi-timeframe tool designed to identify and validate Swing Failure Patterns (SFPs) at significant price levels.
An SFP is a common price action pattern where price briefly trades beyond a previous swing high or low (sweeping liquidity) but then fails to hold those new prices, closing back inside the previous range. This "failure" often signals a reversal.
This indicator enhances SFP detection by separating the Pivot (Liquidity) from the SFP (Rejection), allowing you to monitor them on different timeframes.
2. The Core Multi-Timeframe Logic
The indicator's power comes from two key inputs:
• Pivot Timeframe (Pivot Timeframe)
This is the "high timeframe" used to establish significant support and resistance levels. The script finds standard pivots (swing highs and lows) on this timeframe based on the Pivot Left Strength and Pivot Right Strength inputs. These pivots are the "liquidity" levels the SFP will target. The Pivot Lookback input controls how long (in Pivot Timeframe bars) a pivot remains active and monitored.
• SFP Timeframe (SFP Timeframe)
This is the "execution timeframe" where the script looks for the actual SFP. On every new bar of this timeframe, the script checks if price has swept and rejected any of the active pivots.
Example Setup:
You might set Pivot Timeframe to 'D' (Daily) to find major daily swing points. You then set SFP Timeframe to '240' (4-Hour) to find a 4-hour candle that sweeps a daily pivot and closes back below/above it.
3. The SFP Confirmation Process
An SFP is not confirmed instantly. It must pass a rigorous, multi-step validation process.
Step 1: The SFP Candle (The Sweep)
A potential SFP is identified when an SFP Timeframe bar does the following:
• Bearish SFP: The bar's high trades above an active pivot high, but the bar closes below that same pivot high.
• Bullish SFP: The bar's low trades below an active pivot low, but the bar closes above that same pivot low.
Step 2: The Wick Filter (Optional Quality Check)
If Enable Wick % Filter is checked, the SFP candle from Step 1 is also measured.
• For a bearish SFP, the upper wick (from the high to the open/close) must be at least Min. Wick % of the entire candle's range (high-to-low).
• For a bullish SFP, the lower wick (from the low to the open/close) must meet the same percentage requirement.
If the SFP candle fails this test, it is discarded, even if it met the sweep/close criteria.
Step 3: The Validation Window (The Confirmation)
This is the most critical feature, controlled by Confirmation Bars.
• If Confirmation Bars = 0: The SFP is confirmed immediately on the SFP candle's close (assuming it passed the optional wick check). The label, line, and alert are triggered at this moment.
• If Confirmation Bars > 0: The SFP enters a "pending" state. The script will wait for $N$ more SFP Timeframe bars to close.
o Invalidation: If, during this waiting period, any bar closes back across the pivot (e.g., a close above the pivot for a bearish SFP), the SFP is considered failed and invalidated. All pending plots are deleted.
o Confirmation: If the $N$ confirmation bars all complete without invalidating the level, the SFP is finally confirmed. The label, line, and alert are only triggered after this entire process is complete. This adds a significant layer of robustness, ensuring the rejection holds for a period of time.
4. Visuals & Alerts
• Lines: A horizontal line is drawn from the original pivot to the SFP bar, showing which level was targeted. Note: These lines will only be drawn on chart timeframes equal to or lower than the 'SFP Timeframe'.
• Labels: A label is placed at the SFP's extreme (the high/low of the SFP bar). The label text conveniently includes the Ticker, Pivot TF, SFP TF, and Confirmation bar settings (e.g., "Bearish SFP BTCUSD / Pivot: 1D / SFP: 4H | Conf: 1").
• MTF Boxes (Show SFP Box, Show Conf. Boxes): These boxes highlight the SFP and confirmation bars. Crucially, they are only visible when your chart timeframe is lower than the SFP Timeframe. For example, if your SFP Timeframe is '240' (4H), you will only see these boxes on the 1H, 15M, 5M, etc., charts. This allows you to see the higher-timeframe SFP unfolding on your lower-timeframe chart.
• Alerts (Enable Alerts): An alert is fired only when an SFP is fully confirmed (i.e., after the Confirmation Bars have passed successfully). For efficient, real-time monitoring, it is highly recommended to run this indicator server-side by creating an alert on TradingView set to trigger on "Any alert() function call".
Multitimeframe
Key Levels (PA, MAs, VWAPs, Volume Profile, rVWAPs)This indicator marks all kinds of key levels so that users can keep an overview of their specified levels in a convenient non chart cluttering way. It can highlight levels of confluence or display each level seperately.
The indicator includes markers for the following levels:
Price Action: Opens, Previous High/Low, Monday Range
Moving Averages: H4, D1 and W1 with customisable lengths
VWAPs: Developing and Previous VWAPs with their respective VAL/VAH (1 Standard Deviation)
Rolling VWAPs
Volume Profile: Developing and Previous VAL/VAH/POC
What makes this indicator different is its vast customisation options and big library of levels…
… users can choose to merge all levels that are aligned in a specified % threshold and additionally they can choose to color them the same color to highlight confluence levels.
… users have the choice between Full Label Markers or Abbreviations of those Labels.
… users have the choice of a few presets making level switching fast and convenient (Price Action, Volume Profile, VWAP, Volume or Custom).
… users can specify if they prefer to highlight Simple Moving Averages or Exponential Moving Averages. They have calculations available on three different timeframes and can change the lengths of each.
… users can color all levels the same with one click instead of having to manually change all of them.
… when users choose Volume Profile Levels they can either let the script auto calculate the row size making asset switching simple or they can manually input row size.
With the custom preset users can show and hide whichever levels they want.
(To have them the same every time you freshly load the indicator save your settings as default in the lower left corner of the settings tab).
Purpose
This indicator is designed to serve as a level visualisation tool that has the ability to highlight levels of confluence. It may assist in keeping an overview of where all levels are currently located but does not produce signals or trade recommendations.
Elite_Pro_SignalsA sophisticated trading indicator that combines 8 powerful technical factors into a single confidence score to identify high-probability reversal signals.
8-Factor Confidence Scoring - Weighted analysis of multiple technical aspects
Smart Trend Alignment - Multi-timeframe EMA convergence
Advanced Pattern Recognition - Pin Bars, Engulfing, Inside Bars, Hammer/Shooting Star
Supply/Demand Zones - Automatic key level detection
Support/Resistance Confluence - Price action at significant levels
⚡ Smart Filters
Market Regime Detection - Avoid choppy/low-volatility conditions
Volume Confirmation - Ensure institutional participation
Liquidity Sweep Validation - Smart money movement detection
Candle Quality Filter - Eliminate false signals from tiny candles
🔧 How It Works
Confidence Scoring System (0-100%)
text
Wick Strength (30%) + Trend Alignment (25%) + Pattern Recognition (15%) +
Supply/Demand Zones (12%) + Support/Resistance (10%) + RSI Momentum (5%) +
Volume & Liquidity (5%)
Signal Generation
🟢 BUY Signals - Bullish rejection + Uptrend + High confidence
🔴 SELL Signals - Bearish rejection + Downtrend + High confidence
🎨 Visual Features
Clear Buy/Sell Arrows - Easy-to-spot signals
Confidence Background - Color-coded confidence levels
Info Table - Real-time metrics and analysis
Multi-Timeframe EMAs - Trend direction visualization
Professional Alerts - Real-time notifications
⚙️ Customization
Confidence Weights
Adjust the importance of each factor to match your trading style
Strategy Parameters
EMA periods (Fast: 20, Slow: 50)
RSI levels (Oversold: 25, Overbought: 80)
Minimum confidence threshold (70% recommended)
Advanced Filters
Volume multiplier settings
Liquidity sweep sensitivity
Market regime filters
Zone detection parameters
📈 Recommended Usage
Timeframes
Primary: 5-minute to 1-hour charts
Best Results: 15-minute with 1-hour trend alignment
Markets
Forex Pairs (EURUSD, GBPUSD, XAUUSD)
Indices (US30, NAS100, DE40)
Commodities (Gold, Oil)
Trading Sessions
London & New York overlap (Highest volatility)
Avoid Asian session (Low signal quality)
🔍 Signal Interpretation
High-Confidence Signals (80%+)
Strong trend alignment
Clear rejection patterns
Volume confirmation
Multiple confluence factors
Medium-Confidence Signals (60-80%)
Good setup but missing 1-2 factors
Requires additional confirmation
Low-Confidence Signals (<60%)
Avoid trading
Wait for better setups
Triple EMA strategy by kingtraderthis strategy is purely based on moving everages, ema5, ema50 and ema200, avoid ranging market. in 1 mint your tp should 15-20pips, in 3mint tp should be 25pips, in 5mint tp should not above 50pips, in 15mints make tp 60 to 80 pips, in 30 mints tp 150 and 1h and h4 ur tp above 200pips, when target achieves have partial closing and keep ur trade breakeven. this indicator is for educational purpose only any loss by using this indicator, the author will not be responsible.
Tristan's Devil Mark (Short)"Devil's Mark" in trading refers to a specific candlestick pattern where a candle opens and moves significantly in one direction without creating a wick on that side. This creates an "inefficiency" in the market, and traders use this as a signal that price will likely return to that level to "rebalance" the imbalance and print the missing wick.
This strategy marks every green candle with no bottom wick using a purple downward wedge above the candle. This is highlighting a candle where buyers dominated from the open, but creating inefficiency below.
The purple wedge marks candles that opened at their lowest point and closed higher.
These candles indicate buyer dominance from the start of the period. In downtrends, a green candle with no bottom wick may indicate a potential short-term reversal.
Wait for the candle to close, and short it. Wait for the price to go below the bottom of the body of the marked candle.
Combine with Trend Analysis
Look for these candles in uptrends to confirm continuation momentum.
In downtrends, a green candle with no bottom wick may indicate a potential short-term reversal.
Support/Resistance Filters
Use horizontal support/resistance levels or moving averages to filter trades.
A green no-wick candle bouncing off support is a stronger bullish signal.
Timeframe Consideration
Works on any timeframe; adjust your strategy accordingly.
For intraday scalping, use 1–15 minute charts; for swing trades, use daily or 4-hour charts.
Backtesting and Pattern Recognition
Since the indicator works on historical bars, review past setups to identify patterns where this candle type reliably predicts price movement.
Candle Color Difference Marker (PSP)This indicator shows when the colors of the candles on two or three charts are different.
Equinox Wolf - ICT MacrosEquinox Wolf – ICT Macros plots the key ICT session macro windows on your chart so you can focus on how price behaves inside each time range. The script anchors every session to America/New_York time, updates live or in backtesting, and only keeps the current trading day on screen, avoiding clutter from prior sessions. Each window can be toggled individually, the box fill, borders, and high/low/equilibrium levels share global color and style controls, and the levels extend forward until the next macro begins. Use it to highlight the ICT LND, NYAM, lunch, afternoon, and final-hour ranges and monitor how price reacts around their highs, lows, and midpoints.
NY Session Range Box with Labeled Time MarkersShows opening time ny session by timing with lines to inform traders to avoid 11:30am to 1:30pm for choppy sessions and mark early and power hour .
byquan AlphaTrend + Supertrend Combo🔍 Overview
The AlphaTrend + SuperTrend Combo is a smart confirmation-based trading indicator that blends two powerful trend-following systems — AlphaTrend and SuperTrend — into one unified tool.
Its main purpose is to filter out false breakouts and improve entry accuracy by waiting for both indicators to confirm a signal within a specified number of candles.
This combination gives traders high-confidence BUY and SELL signals, clearly marked on the chart, with optional alert notifications.
⚙️ How It Works
🧠 1. AlphaTrend Logic
The AlphaTrend component calculates dynamic support and resistance bands based on Average True Range (ATR) and Money Flow Index (MFI) or RSI (if no volume data).
It identifies momentum shifts using:
upT = Lower ATR band
downT = Upper ATR band
Depending on whether the MFI (or RSI) is above or below 50, AlphaTrend adapts to bullish or bearish conditions.
Signals:
✅ Buy Signal → When AlphaTrend crosses above its past level (momentum turning up).
❌ Sell Signal → When AlphaTrend crosses below its past level (momentum turning down).
📈 2. SuperTrend Logic
The SuperTrend indicator uses ATR to track trend direction based on price and volatility.
A green SuperTrend implies a bullish trend.
A red SuperTrend implies a bearish trend.
It triggers signals when trend direction changes:
✅ SuperTrend Buy → Price breaks above the SuperTrend line.
❌ SuperTrend Sell → Price drops below the SuperTrend line.
Users can choose whether to use the standard ATR or a smoothed ATR version for calculation (changeATR option).
🔄 3. Combo Confirmation Logic
The indicator’s core strength is signal confirmation.
When one indicator (AlphaTrend or SuperTrend) gives a signal, it waits for the other to confirm within a certain number of candles — defined by the “Wait Bars” input.
Example:
AlphaTrend gives a Buy → within the next 3 candles, if SuperTrend also turns bullish → confirmed BUY.
SuperTrend gives a Sell → within the next 3 candles, if AlphaTrend confirms → confirmed SELL.
This filtering greatly reduces false signals caused by volatility or short-term noise.
🧭 Inputs & Settings
Parameter Description
Wait Bars Number of candles to wait for confirmation from the other indicator.
Show Labels Toggle visibility of BUY/SELL labels on chart.
AlphaTrend Multiplier / Period / Source Adjusts AlphaTrend’s sensitivity.
Use RSI (no volume) If true, replaces MFI with RSI for instruments without volume data (e.g., crypto indexes).
SuperTrend ATR Period / Multiplier Controls SuperTrend sensitivity and reactivity.
Use Standard ATR? If disabled, uses smoothed ATR instead.
SuperTrend Source Usually hl2, but can be customized.
📊 Signals & Visualization
🟢 BUY Label: Both indicators confirm an uptrend.
🔴 SELL Label: Both indicators confirm a downtrend.
Labels appear directly on the chart (abovebar for SELL, belowbar for BUY).
Alerts are automatically triggered for both confirmed directions.
🔔 Alerts
Two alert conditions are built in:
"Combo BUY: AlphaTrend + SuperTrend confirmed!"
"Combo SELL: AlphaTrend + SuperTrend confirmed!"
You can use these in TradingView’s alert system to receive push notifications or email alerts.
💡 Trading Tips
✅ Works best on trending markets (crypto, forex, stocks).
✅ Use on 15m–4h timeframes for optimal balance between speed and reliability.
✅ Combine with volume or higher timeframe trend filters for stronger entries.
✅ Adjust Wait Bars (2–5) depending on volatility.
⚖️ Summary
The AlphaTrend + SuperTrend Combo helps traders trade confidently by requiring dual confirmation before signaling a trade.
Key Features:
Combines two proven trend systems.
Reduces false entries through confirmation logic.
Visual BUY/SELL markers.
Built-in alerts for both signals.
Customizable sensitivity and timeframe adaptability.
🎯 Trade only when AlphaTrend and SuperTrend agree — let the market confirm your direction.
Triple Stochastic RSITriple Stochastic RSI (TSRSI)
The Triple Stochastic RSI is a momentum visualization tool designed to help identify potential market tops and bottoms with greater clarity. This indicator stacks three layers of smoothed StochRSI — Fast , Slow , and Slowest — each derived from increasingly longer RSI and Stochastic periods.
By analyzing how these layers interact, especially when the Slow (purple) and Slowest (orange) lines converge or cross near overbought or oversold zones, traders can spot high-probability reversal points. These moments often precede price turning points, and the signals gain strength when confirmed by divergences between price and indicator movement.
Key features include:
Triple StochRSI smoothing to capture short- to long-term momentum shifts.
Dynamic overbought/oversold signals with visual cross markers.
Built-in trend sentiment and average streak statistics.
Alerts for crossovers, trend shifts, and extended over/underperformance streaks.
Use it as a standalone momentum framework or as a supporting layer for divergence detection and market exhaustion analysis.
The stats table in your script provides insight into how long each Stochastic line (%K) typically stays above or below the 50 midline, and how the current streak compares to that average.
1. "Current" Column
This shows how many consecutive bars the %K has been:
Above 50 (▲)
OR Below 50 (▼)
It updates in real time on the last bar.
2. "Avg ▲ / Avg ▼" Column
These are historical averages based on your lookbackPeriod (default 1000 bars). It shows:
The average length of time %K stays above 50 (bullish bias)
The average time it stays below 50 (bearish bias)
Example Breakdown:
Let’s say the "Slow" row shows:
Current: 7 ▼
Avg ▲ / Avg ▼: 6 / 5
This means:
%K on the Slow lane has been below 50 for 7 bars
Historically, it only stays below 50 for about 5 bars on average
So, this bearish streak is already longer than usual
How to Use This Information:
A longer-than-average streak could imply a maturing move, potentially near exhaustion.
If current ▲ or ▼ streak is nearing or exceeding its average, it may warn of an upcoming shift.
Good for contextualizing trends and avoiding late entries.
Multi-Timeframe EMA SMAWith this indicator, you can track the Fast EMA, Mid EMA, and SMA Trend Filter across four different timeframes of your choosing.
It will notify you with green if all the timeframes you have set are in a positive trend, and with red if they are all in a negative trend.
If you are trading according to your defined strategy, the green areas on the chart represent the Buy Zone, and the red areas represent the Sell Zone.
byquan GP - SRSI Channel🔍 What Is It?
The GP – SRSI Channel is a momentum-based oscillator that measures the relative strength of price movements across multiple timeframes using the Stochastic RSI (SRSI) method.
Instead of using a single RSI line, this indicator analyzes four price inputs and four timeframes to create a dynamic channel that reflects the true market momentum — helping traders identify overbought and oversold zones with higher accuracy.
⚙️ How It Works
The indicator combines multiple layers of analysis to produce a smooth and reliable momentum channel.
1. Multi-Source RSI Calculation
It computes RSI and Stochastic RSI values for four different price sources:
Open
High
Low
Close
Each source generates its own SRSI value:
dsopen, dshigh, dslow, and dsclose
From these, it extracts:
starraymin: the lowest (most oversold) SRSI value
starraymax: the highest (most overbought) SRSI value
This forms a momentum range based on all price inputs.
2. Multi-Timeframe (MTF) Integration
To strengthen signal reliability, it repeats this SRSI analysis across four higher timeframes (configurable by user):
Parameter Default Value Meaning
Time 1 180 minutes 3-hour chart
Time 2 360 minutes 6-hour chart
Time 3 720 minutes 12-hour chart
Time 4 1D Daily chart
Each timeframe produces its own set of minimum, maximum, and close SRSI values.
These are then combined and normalized to a 0–100 scale.
3. Normalization and Channel Plot
The combined results create three main lines:
Min Line (Green–Red gradient) → represents oversold strength
Max Line (Green–Red gradient) → represents overbought strength
Close Line (White) → represents average SRSI value
The area between the Min and Max lines is filled with a color gradient to form the SRSI Channel, visually showing momentum strength and range.
4. Signal & Alerts
Two alert levels are defined:
Alert Min Level → Default = 5 (oversold)
Alert Max Level → Default = 95 (overbought)
When:
oranmin ≤ Alert Min Level → Market is in an oversold state (potential reversal up).
oranmax ≥ Alert Max Level → Market is in an overbought state (potential reversal down).
When either of these thresholds is crossed, the indicator triggers:
A white square marker on the chart.
A custom alert with the message:
“SRSI Channel reached alert threshold (oranmax ≥ MaxLevel or oranmin ≤ MinLevel)”
🧭 How to Use It
🪄 Step 1 — Add to Chart
Copy the code into a new Pine Script in TradingView.
Click Add to chart.
You’ll see three lines and a colored channel between them.
⚙️ Step 2 — Adjust Inputs
Core SRSI Settings
Setting Description
K, D Smoothing factors for Stochastic RSI.
RSI Length Number of bars for RSI calculation.
S Length Period used for %K in Stochastic RSI.
Alert Min/Max Level Defines oversold/overbought zones.
Multi-Timeframe Settings
Change Time 1 to Time 4 to suit your trading style:
Shorter timeframes → faster but more noise.
Longer timeframes → smoother, more reliable momentum.
📈 Step 3 — Interpret the Chart
Indicator Element Meaning
🟩 Lower Boundary (Min) Lowest SRSI reading → momentum weakness / possible rebound area
🟥 Upper Boundary (Max) Highest SRSI reading → strong momentum / possible exhaustion
⚪ Middle Line (Close) Average of all SRSI readings → overall momentum strength
🌈 Channel Fill Visualizes balance between overbought and oversold levels
When the channel widens → market volatility and strength increase.
When it narrows → consolidation or low-momentum phase.
🔔 Step 4 — Alerts
You can create alerts using:
Condition: SRSI Extreme
Message: SRSI Channel reached alert threshold
Use this to receive notifications when the market hits extreme momentum levels (great for reversal traders).
💡 Trading Tips
✅ Combine with Supertrend, MACD, or Moving Averages for confirmation.
✅ Look for SRSI extremes aligning with price support/resistance for stronger reversal entries.
✅ Use different timeframe combinations (e.g., 1H–4H–12H–1D) depending on your trading style.
✅ Treat it as a momentum filter — not a direct buy/sell signal tool.
⚖️ Summary
The GP – SRSI Channel is a sophisticated multi-timeframe momentum indicator that helps traders visualize market strength and identify overbought or oversold conditions with exceptional clarity.
Features:
4 price sources × 4 timeframes = deep momentum insight
Dynamic, color-coded SRSI channel
Built-in alert system for extreme conditions
Clean and intuitive visual design
Best suited for:
Swing and position traders
Traders who use RSI/Stoch indicators
Those seeking to confirm entries with multi-timeframe momentum data
🎯 Understand the market’s true momentum — before it moves.
Power Zone Trader (PZT)The PZT Indicator (Power Zone Trader ) is a multi-timeframe confluence system designed to identify and visualize natural support and resistance levels with exceptional clarity. By automatically mapping key structural highs and lows from higher timeframes, PZT allows traders to see where price is most likely to react, reverse, or accelerate, forming the foundation for high-probability trade setups. PZT highlights key reaction zones that influence order flow and trader behavior across all markets — including Forex, Crypto, Indices, and Commodities.
📍 Indicator Key
Each color represents a significant price level derived from its respective timeframe, helping traders instantly gauge market context and potential liquidity pools:
Color Level Represented Significance
🔴 Red Yearly High Strong resistance — potential selling pressure and major liquidity sweep zones.
🟢 Green Yearly Low Strong support — potential buying interest and accumulation points.
🟠 Orange Monthly High Intermediate resistance — swing rejection or continuation decision zone.
🔵 Blue Monthly Low Intermediate support — potential retracement or base-building area.
🟣 Purple Weekly High Short-term resistance — common rejection level or stop hunt zone.
🟤 Teal Weekly Low Short-term support — potential rebound or liquidity grab.
⚫ Gray Daily High Intraday resistance — active scalper and day trader interest.
⚪ White Daily Low Intraday support — short-term bounce or continuation pivot.
SFC Bollinger Band and Bandit概述 (Overview)
SFC 布林通道與海盜策略 (SFC Bollinger Band and Bandit Strategy) 是一個基於 Pine Script™ v6 的技術分析指標,結合布林通道 (Bollinger Bands)、移動平均線 (Moving Averages) 以及布林海盜 (Bollinger Bandit) 交易策略,旨在為交易者提供多時間框架的趨勢分析與進出場訊號。該腳本支援風險管理功能,並提供視覺化圖表與交易訊號提示,適用於多種金融市場。
This script, written in Pine Script™ v6, combines Bollinger Bands, Moving Averages, and the Bollinger Bandit strategy to provide traders with multi-timeframe trend analysis and entry/exit signals. It includes risk management features and visualizes data through charts and trading signals, suitable for various financial markets.
功能特點 (Key Features)
布林通道 (Bollinger Bands)
提供可調整的標準差參數 (σ1, σ2),支援多層布林通道顯示。
進場訊號基於價格穿越布林通道上下軌,並結合連續K線確認機制。
Provides adjustable standard deviation parameters (σ1, σ2) for multi-layer Bollinger Bands display.
Entry signals are based on price crossing the upper/lower bands, combined with a consecutive bar confirmation mechanism.
移動平均線 (Moving Averages)
支援簡單移動平均線 (SMA) 或指數移動平均線 (EMA),可自訂快、中、慢線週期。
Supports Simple Moving Average (SMA) or Exponential Moving Average (EMA) with customizable fast, medium, and slow line periods.
布林海盜策略 (Bollinger Bandit Strategy)
基於變動率 (ROC) 與布林通道動態止損,提供做多與做空訊號。
包含動態止損均線與平倉天數設定,增強交易靈活性。
Utilizes Rate of Change (ROC) and Bollinger Bands with dynamic stop-loss for long and short signals.
Includes dynamic stop-loss moving average and liquidation days for enhanced trading flexibility.
多時間框架分析 (Multi-Timeframe Analysis)
支援六個時間框架 (5分、15分、1小時、4小時、日線、週線) 的趨勢分析。
通過表格顯示各時間框架的連續上漲/下跌趨勢,輔助交易決策。
Supports trend analysis across six timeframes (5m, 15m, 1h, 4h, daily, weekly).
Displays consecutive up/down trends in a table to aid decision-making.
風險管理 (Risk Management)
提供基於 ATR 或布林通道的停利/停損設定。
自動計算交易手數,根據報價貨幣匯率調整風險敞口。
Offers take-profit/stop-loss settings based on ATR or Bollinger Bands.
Automatically calculates trading lots, adjusting risk exposure based on quote currency exchange rates.
視覺化與提示 (Visualization and Alerts)
繪製布林通道、移動平均線、海盜策略動態止損線及交易訊號。
提供多時間框架趨勢表格、交易手數標籤及浮水印。
支援交易訊號快訊,方便即時監控。
Plots Bollinger Bands, Moving Averages, Bandit strategy stop-loss lines, and trading signals.
Includes multi-timeframe trend tables, trading lot labels, and watermark.
Supports alert conditions for real-time trade monitoring.
使用說明 (Usage Instructions)
設置參數 (Parameter Setup)
布林通道 (Bollinger Bands): 可調整週期 (預設21)、標準差 (σ1=1, σ2=2) 及停利/停損依據 (ATR 或 BAND)。
移動平均線 (Moving Averages): 可選擇顯示快線 (10)、中線 (20)、慢線 (60),並切換 SMA/EMA。
布林海盜 (Bollinger Bandit): 調整通道週期 (50)、平倉均線週期 (50) 及 ROC 週期 (30)。
時間框架 (Timeframes): 自訂六個時間框架,預設為 5分、15分、1小時、4小時、日線、週線。
Adjust Bollinger Band period (default 21), standard deviations (σ1=1, σ2=2), and take-profit/stop-loss basis (ATR or BAND).
Configure Moving Averages (fast=10, medium=20, slow=60) and toggle SMA/EMA.
Set Bollinger Bandit parameters: channel period (50), liquidation MA period (50), ROC period (30).
Customize six timeframes (default: 5m, 15m, 1h, 4h, daily, weekly).
交易訊號 (Trading Signals)
買入訊號 (Buy): 價格穿越下軌且滿足連續K線條件。
賣出訊號 (Sell): 價格穿越上軌且滿足連續K線條件。
海盜策略訊號: 基於 ROC 與布林通道穿越,結合動態止損。
Buy signal: Price crosses below lower band with consecutive bar confirmation.
Sell signal: Price crosses above upper band with consecutive bar confirmation.
Bandit strategy signals: Based on ROC and band crossings with dynamic stop-loss.
視覺化 (Visualization)
布林通道以不同顏色顯示上下軌與中軌。
移動平均線以快、中、慢線區分顏色。
趨勢表格顯示各時間框架的趨勢狀態 (🔴上漲, 🟢下跌, ⚪中性)。
海盜策略顯示動態止損線與交易狀態。
Bollinger Bands display upper, lower, and middle bands in distinct colors.
Moving Averages use different colors for fast, medium, and slow lines.
Trend table shows timeframe trends (🔴 up, 🟢 down, ⚪ neutral).
Bandit strategy displays dynamic stop-loss and trading status.
PPI Inflation Monitor (Change YoY & MoM)📊 PPI Inflation Monitor - Leading Inflation Indicator
The Producer Price Index (PPI) measures wholesale/producer-level prices and serves as a critical leading indicator for consumer inflation trends. This tool helps you anticipate CPI movements and identify corporate margin pressures before they show up in earnings.
🎯 KEY FEATURES:
- Dual Perspective Analysis:
- Year-over-Year (YoY): Histogram bars showing annual producer price inflation
- Month-over-Month (MoM): Line overlay showing monthly wholesale price changes
- Visual Reference System:
- Dashed line at 2% (typical target for producer price inflation)
- Dotted line at 0.17% (equivalent monthly target)
- Color-coded bars: Red above target, Green below target
- Real-Time Data Table:
- Current PPI Index value
- YoY inflation rate with color coding
- MoM inflation rate with color coding
- Deviation from target level
- Automated Alerts:
- YoY crosses above/below target
- MoM crosses above/below target
- Early warning system for inflation trends
📈 WHY PPI IS YOUR EARLY WARNING SYSTEM:
PPI typically leads CPI by 1-3 months because:
- Producers face cost increases first
- These costs are eventually passed to consumers
- Shows whether companies can maintain pricing power
Rising PPI with stable CPI = Margin compression → Bearish for stocks
Rising PPI followed by rising CPI = Broad inflation → Fed hawkishness incoming
Falling PPI = Disinflationary trend starting → Positive for risk assets
🔍 TRADING APPLICATIONS:
1. Lead Time Advantage: Position before CPI confirms PPI trends
2. Sector Rotation: High PPI = favor companies with pricing power
3. Margin Analysis: PPI-CPI divergence = margin pressure/expansion signals
4. Fed Anticipation: PPI acceleration = Fed likely to turn hawkish soon
💡 STRATEGIC USE CASES:
- Value vs. Growth: Rising PPI favors value stocks with pricing power
- Commodities: PPI often correlates with commodity price trends
- Small Caps: More vulnerable to input cost increases (high PPI = cautious)
- Corporate Earnings: Anticipate margin pressure before quarterly reports
🔄 COMBINE WITH:
- CPI: Confirm if producer costs reach consumers
- PCE: Validate Fed's preferred inflation metric response
- Fed Funds Rate: Assess if Fed is behind/ahead of curve
📊 DATA SOURCE:
Official PPI data from FRED (Federal Reserve Economic Data), updated monthly when new data releases occur.
🎨 CUSTOMIZATION:
Fully customizable:
- Toggle YoY/MoM displays
- Adjust reference target levels
- Customize colors
- Show/hide absolute PPI values
Perfect for: Macro traders, fundamental analysts, earnings traders, and investors seeking early inflation signals before they appear in consumer prices.
⚡ Remember: PPI leads CPI. Use this advantage to position ahead of the crowd.
PCE Inflation Monitor (Change YoY & MoM)📊 PCE Inflation Monitor - The Fed's Most Important Metric
Personal Consumption Expenditures (PCE) is the Federal Reserve's preferred inflation measure and THE metric they target for their 2% inflation goal. If you want to predict Fed policy, you need to watch PCE.
🎯 KEY FEATURES:
- Dual Perspective Analysis:
- Year-over-Year (YoY): Histogram bars showing annual PCE inflation
- Month-over-Month (MoM): Line overlay showing monthly consumption price changes
- Visual Reference System:
- Dashed line at 2% (Fed's official PCE inflation target)
- Dotted line at 0.17% (equivalent monthly target)
- Color-coded bars: Red above Fed target, Green below target
- Real-Time Data Table:
- Current PCE Index value
- YoY inflation rate vs. Fed's 2% target
- MoM inflation rate with color coding
- Exact deviation from Fed target (critical for policy predictions)
- Automated Alerts:
- PCE crosses Fed's 2% target (major policy signal!)
- MoM crosses monthly target
- Stay informed of Fed-relevant inflation changes
📈 WHY PCE IS DIFFERENT (AND MORE IMPORTANT):
PCE vs. CPI differences:
- Flexible basket: PCE adjusts for substitution (beef → chicken if prices rise)
- Broader coverage: Includes healthcare paid by insurance/government
- Lower readings: Typically 0.2-0.4% below CPI
- Fed's choice: Explicitly stated as their target metric
Most importantly: When Powell speaks about "our 2% target," he means PCE, not CPI!
🔍 TRADING IMPLICATIONS:
PCE Above 2% (Red Zone):
→ Fed under pressure to maintain/raise rates
→ Hawkish policy stance likely
→ Negative for growth stocks, crypto
→ Positive for USD, bearish for gold
PCE Below 2% (Green Zone):
→ Fed has flexibility to cut rates
→ Dovish policy stance possible
→ Positive for risk assets, growth stocks
→ Negative for USD, bullish for commodities
PCE Approaching 2% from Above:
→ Fed "mission accomplished" narrative
→ Rate cut cycle becomes possible
→ Major bullish signal for equities/crypto
💡 ADVANCED STRATEGIES:
1. Fed Meeting Preparation: Check PCE before FOMC meetings for policy clues
2. Dot Plot Predictions: PCE trend determines Fed's rate forecast updates
3. Pivot Timing: When PCE MoM turns negative, Fed pivot becomes realistic
4. Press Conference Analysis: Compare Powell's comments to PCE deviation
🎯 KEY LEVELS TO WATCH:
- 2.0% YoY: Fed's official target - crossing this level is major news
- 2.5% YoY: "Uncomfortably high" - Fed forced to stay restrictive
- 3.0% YoY: "Crisis mode" - Fed turns very hawkish
- 1.5% YoY: "Below target" - Rate cuts become likely
🔄 COMBINE WITH:
- CPI: Public perception vs. Fed's metric (often diverge)
- Core PCE: Even more important (excludes food/energy volatility)
- Fed Funds Rate: Is Fed responding appropriately to PCE?
📊 DATA SOURCE:
Official PCE data from FRED (Federal Reserve Economic Data), updated monthly typically in the last week of each month (after CPI/PPI releases).
🎨 CUSTOMIZATION:
Fully customizable:
- Toggle YoY/MoM displays
- Adjust Fed target if needed
- Customize colors
- Show/hide absolute PCE values
Perfect for: Fed watchers, macro traders, policy analysts, and serious investors who want to predict monetary policy changes before they happen.
⚠️ CRITICAL INSIGHT: While media focuses on CPI, the Fed focuses on PCE. Trade what the Fed trades, not what the headlines say.
🎓 Pro Tip: Fed members often mention "Core PCE" (excluding food/energy). Consider adding that indicator alongside this one for complete Fed policy analysis.
CPI Inflation Monitor (Change YoY & MoM)📊 CPI Inflation Monitor - Complete Macro Analysis Tool
This indicator provides a comprehensive view of Consumer Price Index (CPI) inflation trends, essential for understanding monetary policy, market conditions, and making informed trading decisions.
🎯 KEY FEATURES:
- Dual Perspective Analysis:
- Year-over-Year (YoY): Histogram bars showing annual inflation rate
- Month-over-Month (MoM): Line overlay showing monthly price changes
- Visual Reference System:
- Dashed line at 2% (Fed's official inflation target for YoY)
- Dotted line at 0.17% (equivalent monthly target for MoM)
- Color-coded bars: Red above target, Green below target
- Real-Time Data Table:
- Current CPI Index value
- YoY inflation rate with color coding
- MoM inflation rate with color coding
- Deviation from Fed target
- Automated Alerts:
- YoY crosses above/below 2% target
- MoM crosses above/below 0.17% target
- Perfect for staying informed without constant monitoring
📈 WHY THIS MATTERS FOR TRADERS:
CPI is the most widely reported inflation metric and directly influences:
- Federal Reserve interest rate decisions
- Bond yields and currency valuations
- Stock market sentiment (especially growth vs. value rotation)
- Cryptocurrency and risk asset performance
Rising inflation (red bars) typically leads to:
→ Higher interest rates → Negative for growth stocks, crypto
→ Stronger USD → Pressure on commodities
Falling inflation (green bars) typically leads to:
→ Rate cut expectations → Positive for growth stocks, crypto
→ Weaker USD → Support for commodities
🔍 HOW TO USE:
1. Strategic Positioning: Use YoY trend (thick bars) for long-term asset allocation
2. Tactical Timing: Use MoM trend (thin line) to identify turning points early
3. Divergence Trading: When MoM falls but YoY remains high, anticipate trend reversal
4. Fed Policy Prediction: Distance from 2% target indicates Fed's likely hawkishness
💡 PRO TIPS:
- Multiple months of MoM above 0.3% = Accelerating inflation → Fed turns hawkish
- MoM turning negative while YoY still elevated = Peak inflation → Position for pivot
- Compare with PPI and PCE indicators for complete inflation picture
- Use alerts to catch important threshold crossings automatically
📊 DATA SOURCE:
Official CPI data from FRED (Federal Reserve Economic Data), updated monthly mid-month when new data releases occur.
🎨 CUSTOMIZATION:
Fully customizable through settings:
- Toggle YoY/MoM displays
- Adjust target levels
- Customize colors for visual preference
- Show/hide absolute CPI values
Perfect for: Macro traders, swing traders, long-term investors, and anyone wanting to understand the inflation environment affecting their portfolio.
Note: This indicator works on any chart timeframe as it loads external monthly economic data.
Multi Timeframe Market Structure ContinuationOverview
This indicator identifies Break of Structure (BOS) and Change of Character (ChoCh) patterns using multi-timeframe (MTF) analysis to filter high-probability trade setups. By aligning lower timeframe signals with higher timeframe bias, it helps traders enter positions in the direction of the dominant trend while avoiding counter-trend traps.
Multi-Timeframe Analysis
The indicator analyzes market structure on two timeframes simultaneously:
Current Timeframe (CTF): Detects immediate BOS and ChoCh signals for entry timing
Higher Timeframe (HTF): Establishes the overall trend direction (default: 1H, customizable)
Signals only appear when the current timeframe structure aligns with the higher timeframe bias, ensuring you're trading with the momentum, not against it.
Break of Structure (BOS)
BOS signals indicate trend continuation - when price breaks a previous high in an uptrend or a previous low in a downtrend. These are reliable entries that confirm the trend is still active and strong.
Change of Character (ChoCh)
ChoCh signals mark early trend reversals - when market structure shifts from bearish to bullish (or vice versa). When captured in alignment with the higher timeframe trend, ChoCh entries can achieve exceptional risk-to-reward ratios as they allow entry near the beginning of a new impulse move.
Exit Signals
Exit signals are plotted when a ChoCh occurs in the opposite direction of the HTF trend. For example, if the HTF is bullish and a bearish ChoCh forms on the current timeframe, an orange "EXIT" signal appears - warning long traders that the lower timeframe structure is shifting against them. This provides an early warning system to protect profits or minimize losses before the HTF trend itself reverses.
Trading Strategy Recommendations
Trending Markets (Recommended)
In strong trending conditions, both BOS and ChoCh signals can be taken when aligned with the HTF bias. ChoCh entries are particularly powerful as they catch early reversals within the larger trend, offering entries with tight stop losses and extended profit targets.
Ranging Markets
During consolidation or choppy conditions, it's best to be selective and take only BOS entries. BOS signals confirm that the trend is continuing beyond the range, reducing false breakouts and whipsaw trades that are common with counter-trend ChoCh signals in sideways markets.
Customization
Pivot Length: Adjust the sensitivity of structure detection (default: 5). Lower values detect structure more frequently with earlier but potentially noisier signals. Higher values provide cleaner, more significant structural breaks but with some delay.
Higher Timeframe: Customize the HTF to suit your trading style. Day traders might use 1H HTF on 5m charts, while swing traders could use 4H or Daily HTF.
Alert System
Six alert conditions available:
Long BOS Entry / Long ChoCh Entry
Short BOS Entry / Short ChoCh Entry
Long Exit / Short Exit
All alerts fire only on confirmed candle closes to eliminate repainting and false signals.
Visual Features
Color-coded background showing HTF bias
Clear BOS/ChoCh labels with horizontal lines at structure levels
Orange "EXIT" signals when structure breaks against your position
Gray lines tracking current swing highs/lows
HTF trend indicator in the top-right corner
Buy Sell Signals MKSConditions for Buying is Current candle a0 LOW = OPEN, b) Has a smaller wick than the previous cabndle size. Size here means high minus low of previous candle. More importantly Buy signal is genarated if the prious candle or series of candles were red. Condition for Sell signal is completely opposite of Buy signal. Buy signal will appear only after a Sell signal was generated earlier and vice versa for Sell signal. Signals are generated on a 5 minute timeframe. Idea is solely concieived by me.
Disclaimer: Just donot blindly take trades based on signals. Analyse the chart pattern, price action on different time frames of your own...
Custom Weekly WED→TUEPurpose:
This indicator creates custom weekly candles with a week boundary running from Wednesday to Tuesday (WED→TUE) for any symbol. It is designed for systems that prefer to close the trading week on Tuesday’s session instead of the standard weekend.
Custom Candle Logic (WED→TUE):
• Open = Opening price on Wednesday (start of the custom week).
• Close = Closing price on Tuesday (end of the custom week).
• High/Low = Maximum/minimum during the entire range from Wednesday → Tuesday.
Display Behavior:
• Only renders when the chart timeframe = 1W (Weekly).
• Completed weeks (with full Wed→Tue data) are shown as candlesticks (colored up/down based on O/C).
• The current incomplete week is shown as a preview box shifted to the next weekly slot (the column to the right), allowing you to see the progress of the ongoing week while keeping the last completed week intact.
Inputs:
• Start day (1=Mon…7=Sun) — default is 3 = Wednesday. You can change this to redefine the week boundary.
• Show current (incomplete) custom week — toggles the preview box for the current running week.
• Up/Down/Doji color — defines the colors of completed weekly candles.
• Preview box transparency — controls the opacity of the preview box for the ongoing week.
Smart Weekly Lines — Clean & Scroll-Proof (Pine v6)Because your chart deserves structure. Elegant weekly dividers that stay aligned, scroll smoothly, and project future weeks using your wished UTC offset.
Smart Weekly Lines draws precise, full-height vertical lines marking each new week — perfectly aligned to your local UTC offset. It stays clean, smooth, and consistent no matter how far you scroll.
Features
• Accurate weekly boundaries based on your local UTC offset (supports half-hour zones like India +5.5)
• Clean, full-height lines that never cut off with zoom or scroll
• Adjustable color, opacity, width, and style (solid, dashed, dotted)
• Future week projection for planning and alignment
• Optional visibility: show only on Daily and Intraday charts
Works with any market — stocks, crypto, forex, or futures.
Built for traders who value clarity, structure, and precision.
Developed collaboratively with the assistance of ChatGPT under my direction and testing.
Custom MTF EMA CloudsVisualize market structure and trend alignment across multiple timeframes with six layered EMA clouds — from short-term momentum to macro trend anchors.
Each pair of EMAs forms a dynamic cloud that adapts to your selected timeframe.
Colors, lengths, and visibility are fully customizable, allowing you to tailor the setup for any trading style.
⚙️ Default Configuration
EMA Short Long Purpose
1 8 13 🔸 Intraday momentum cloud (scalping layer)
2 21 24 🟩 Short-term trend confirmation
3 50 55 🔵 Medium-term swing structure
4 120 144 🔴 Long-term support/resistance band
5 200 238 🟠 Institutional trend foundation
6 400 460 🟣 Macro directional anchor
🧩 Features
✅ Up to 6 independent EMA clouds
✅ Fully customizable short & long lengths
✅ Individual line and cloud colors
✅ Toggle each layer on/off
✅ Works with any timeframe via the Resolution input
✅ Automatic cloud transparency for better chart clarity
📈 How to Use
Use EMA 1–2 (8/13, 21/24) for momentum shifts and intraday entries.
Use EMA 3–4 (50/55, 120/144) for swing confirmation and trend continuation.
Use EMA 5–6 (200/238, 400/460) as long-term anchors to stay aligned with institutional flow.
Watch for crossovers or price breaking in/out of clouds — they often precede strong directional moves.