อินดิเคเตอร์และกลยุทธ์
VWAP Entry Assistant (v1.0)Description:
Anchored VWAP with a lightweight assistant for VWAP reversion trades.
It shows the distance to VWAP, an estimated hit probability for the current bar, the expected number of bars to reach VWAP, and a recommended entry price.
If the chance of touching VWAP is low, the script suggests an adjusted limit using a fraction of ATR.
The VWAP line is white by default, and a compact summary table appears at the bottom-left.
Educational tool. Not financial advice. Not affiliated with TradingView or any exchange. Always backtest before use.
Trading Sessions with 15 minute ORBA working copy of the original Tradingview trading sessions indicator with the addition of horizontal lines marking the 15 minute opening range for your ORB strategy. The lines reset with each session start.
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".
MechArt ATR Box 12 V1.1MechArt ATR Box 12 V1.1 — Auto ATR Edition
Overview:
The MechArt ATR Box 12 is a precision visualization tool for tracking ATR-based trade levels across multiple tickers. It automatically plots your +1 ATR roll zone, -2 ATR stop, and -3 ATR emergency exit, providing a clear visual map of your trade’s range and time horizon.
Key Features:
Auto ATR on Entry Date: For each configured ticker, the indicator automatically pulls the historical ATR(14) value that matches your entry date — no manual ATR entry needed. This refreshes each time the ticker is revisited.
Smart Defaults for Other Tickers:
If a ticker isn’t listed in the code, the indicator defaults to your current price as the entry, calculates ATR live, and sets expiration 21 days out, aligned to the next Friday.
Multi-Ticker Setup (12 Slots):
You can predefine up to 12 tickers inside the code, each with its own entry price, entry date and expiration date. Once saved, the indicator recognizes and loads them automatically when you open that chart.
Customizable Appearance:
Adjustable opacity and colors for each ATR box
Line width, style, and transparency controls
DTE/ATR label with adjustable font size
Dynamic Labels:
Displays the remaining days to expiration (DTE) and the ATR value used for calculations.
Use Case:
Designed for swing traders and options traders managing multiple active tickers. Each ATR box visually represents your trade window — from entry through expiration — with clear risk and roll boundaries.
How It Works:
Simply open the code once and enter your 12 tickers, each with its entry date and price. The script handles ATR lookups and expiration alignment automatically. Any ticker not included will generate its own default 21-day box.
Market Sentiment Suite: PCCE + VIX + Signals📊 Market Sentiment Suite: PCCE + VIX + Signals
Identify fear, greed, and turning points in the market.
This script combines the CBOE Put/Call Ratio (PCCE) with the VIX volatility index percentile to visualize crowd sentiment and highlight potential market tops and bottoms.
🔍 Key Features
Dual-indicator design: PCCE + normalized VIX percentile
Color-coded zones for Greed (<0.6) and Fear (>1.2)
Automatic alert signals when sentiment reaches extremes
Live sentiment table displaying real-time PCCE and VIX data
Works seamlessly on SPX, SPY, QQQ, or any major index
🧠 How to Use
When PCCE > 1.2 and VIX percentile > 80%, fear is extreme → possible market bottom
When PCCE < 0.6 and VIX percentile < 20%, greed is extreme → possible market top
Perfect for contrarian traders, sentiment analysts, and swing traders
✨ Best Timeframe: Daily
⚙️ Markets: SPX / SPY / QQQ / Global Indexes
📈 Type: Contrarian Sentiment Indicator
Keltner Trend Strategy with BacktestingKeltner Trend Strategy with Backtesting and ratching stop loss
Aktien Spike Detector by DavidDescription:
This indicator marks the daily high and low on the chart and provides a visual and audible alert whenever the current price touches either of these levels. Additionally, the indicator highlights the candlestick that reaches the daily high or low to quickly identify significant market movements or potential reversal points.
Features:
📈 Daily high and low are automatically calculated and displayed as lines on the chart.
🔔 Alert notification when the price touches the daily high or low.
🕯️ Highlighting of the touch candlestick (e.g., color-coded) for better visual orientation.
💡 Ideal for traders trading breakouts, rejections, or intraday reversals.
Areas of application:
Perfect for day traders, scalpers, and intraday analysts who want to see precisely when the market reaches key daily levels.
Aktien Spike Detector by DavidDescription:
This indicator marks the daily high and low on the chart and provides a visual and audible alert whenever the current price touches either of these levels. Additionally, the indicator highlights the candlestick that reaches the daily high or low to quickly identify significant market movements or potential reversal points.
Features:
📈 Daily high and low are automatically calculated and displayed as lines on the chart.
🔔 Alert notification when the price touches the daily high or low.
🕯️ Highlighting of the touch candlestick (e.g., color-coded) for better visual orientation.
💡 Ideal for traders trading breakouts, rejections, or intraday reversals.
Areas of application:
Perfect for day traders, scalpers, and intraday analysts who want to see precisely when the market reaches key daily levels.
Candle Color Difference Marker (PSP)This indicator shows when the colors of the candles on two or three charts are different.
Gope-Hilega Milega (Guru NK Sir)buy above rsi whit line and yellow line sell below rsi whit and yellow line. trend red line(ema-21)
DAMMU SWING TRADING PROScalping and swing trading tool for 15-min and 1-min charts.
Designed for trend, pullback, and reversal analysis.
Works optionally with Heikin Ashi candles.
Indicators Used
EMAs:
EMA89/EMA75 (green)
EMA200/EMA180 (blue)
EMA633/EMA540 (black)
EMA5-12 channel & EMA12-36 ribbon for short-term trends
Price Action Channel (PAC) – EMA high/low/close, length adjustable
Fractals & Pristine Fractals (BW filter)
Higher High (HH), Lower High (LH), Higher Low (HL), Lower Low (LL) detection
Pivot Points – optional, disables fractals automatically
Bar color coding based on PAC:
Blue → Close above PAC
Red → Close below PAC
Gray → Close inside PAC
Trading Signals
PAC swing alerts: arrows or shapes when price exits PAC with optional 200 EMA filter.
RSI 14 signals (if added):
≥50 → BUY
<50 → SELL
Chart Setup
Two panes: 15-min (trend anchor) + 1-min (entry)
Optional Heikin Ashi candles
Use Sweetspot Gold2 for support/resistance “00” and “0” lines
Trendlines can be drawn using HH/LL or Pivot points
Usage Notes
Trade long only if price above EMA200; short only if below EMA200
Pullback into EMA channels/ribbons signals potential continuation
Fractals or pivot points help define trend reversals
PAC + EMA36 used for strong momentum confirmation
Alerts
Up/Down PAC exit alerts configurable with big arrows or labels
RSI labels show buy/sell zones (optional)
Works on both 15-min and 1-min timeframes
If you want, I can make an even shorter “super cheat-sheet” version for 1-page quick reference for trading. It will list only inputs, signals, and colors.
Tristan's Devil Mark (Short / Long, with W%R)The Devil’s Mark indicator is a visual tool designed to help traders identify potential short and long opportunities based on candle structure and market momentum. It combines price action analysis with the Williams %R (W%R) oscillator to highlight candles with high potential for reversal or continuation.
Can be used on any timeline, from scalping day trades to swing trades on daily and higher timelines. Know that the higher the timeline the less likely the indicator will show. (Asia and London sessions tend to show many indicators. I find this more useful for NY session.)
How the script works
Candle Structure Conditions
Short (Sell) Wedge: Plotted above green candles that have no bottom wick, indicating that inside that candle there was strong upward momentum without downside hesitation .
Long (Buy) Wedge: Plotted below red candles that have no top wick, indicating that inside that candle there was strong downward momentum without upside hesitation .
These candles are visually emphasized as wedges to mark potential turning points.
Williams %R Filter
The indicator uses Williams %R to measure overbought and oversold conditions:
Proximity to 0 (nearZeroThresh): Determines how close W%R must be to 0 (overbought) to trigger a Sell Wedge. This acts as a “Sell sensitivity” filter.
Proximity to -100 (nearHundredThresh): Determines how close W%R must be to -100 (oversold) to trigger a Buy Wedge. This acts as a “Buy sensitivity” filter.
When the candle meets both the candle structure and the W%R condition, the wedge is plotted in purple (“Within W%R Range”).
When the "ignore W%R filter" toggle is on, all eligible candles are plotted regardless of W%R. Wedges that normally would not meet W%R criteria are plotted in light purple (“Outside W%R Range”) to distinguish them. #YOLO (🚫 I recommend leaving "Ignore W%R Filter" OFF)
Settings Explained
Williams %R Length: The number of bars used to calculate the W%R oscillator. Shorter lengths make it more sensitive; longer lengths smooth the readings.
Proximity to 0 / 100: Controls how “strict” the indicator is in requiring overbought or oversold W%R conditions to trigger. Lower values mean closer to extreme zones, higher values are more permissive.
Ignore W%R Toggle: Option to show Devil’s Marks on every eligible candle regardless of W%R. Useful for visualizing purely price-action-based signals.
What the trader sees
Purple wedges: Candles meeting both candle structure and W%R conditions.
Light purple wedges: Candles meeting candle structure but ignored W%R (when toggle is on). #YOLO (🚫 I recommend leaving "Ignore W%R Filter" OFF)
Short opportunities are wedges above bars (green candles with no bottom wick).
Long opportunities are wedges below bars (red candles with no top wick).
Trading Insight
The Devil’s Mark is a momentum and reversal alert tool:
Look for purple downward-pointing wedges when W%R is near overbought. This is a potential shorting opportunity. Buying at the close of that candle may improve your short trades.
Look for purple upward-pointing wedges when W%R is near oversold. This is a potential
long opportunity. Buying at the close of that candle may improve your long trades.
Light purple wedges show the same price-action cues without W%R confirmation—useful for aggressive traders who want every potential setup. #YOLO #YMMV #noFullPort
Settings / Security
The “Output values” checkbox appears for each plotted series (like a plot or plotshape) and controls whether the series will also be exposed numerically in the Data Window or used by other indicators/scripts.
Here’s what it means in practice:
1. Checked (true)
The series values (like candle high, low, or any computed value) are exported to the Data Window and can be read by other scripts using request.security() or ta functions.
Example: You can see the exact numerical value of each plotted point in the Data Window when you hover over the chart.
Useful if you want to backtest or reference these plotted values programmatically.
2. Unchecked (false)
The series is plotted visually only.
The numeric values are hidden from the Data Window and cannot be accessed by other scripts.
Makes the chart cleaner if you don’t need the numeric outputs.
ES VWAP Overlay for SPX VWAP indicator for SPX. Since SPX does not have volume (index) it's using /es to mimic SPX volume. I find it good for day trading
Volume Profile, Pivot Anchored by DGT - reviewedVolume Profile, Pivot Anchored by DGT - reviewed
This indicator, “Volume Profile, Pivot Anchored”, builds a volume profile between swing highs and lows (pivot points) to show where trading activity is concentrated.
It highlights:
Value Area (VAH / VAL) and Point of Control (POC)
Volume distribution by price level
Pivot-based labels showing price, % change, and volume
Optional colored candles based on volume strength relative to the average
Essentially, it visualizes how volume is distributed between market pivots to reveal key price zones and volume imbalances.
Long/Short Ratio Aggregated (Lite)Description — Long/Short Ratio Aggregated (Lite)
This indicator provides a cross-exchange, open-interest-weighted aggregation of the Long/Short Ratio (LSR) for the cryptocurrency asset currently on your chart. It is designed to unify fragmented derivatives positioning data from multiple major exchanges into a single normalized signal that more accurately reflects real market sentiment and positioning bias across platforms.
Concept and Originality
Traditional Long/Short Ratio indicators are exchange-specific. They show how many traders are long versus short, but only within the scope of one venue (e.g., Binance or Bybit). This makes them incomplete and often misleading for directional bias analysis, since different exchanges host different participant profiles, levels of leverage, and quote-currency exposures.
This script addresses that limitation by:
Aggregating LSR data across multiple exchanges (Binance and Bybit).
Weighting each ratio by Open Interest (OI) — ensuring exchanges with higher open positions contribute proportionally more to the overall sentiment.
Normalizing all contract types (USDT, USDC, and USD-margined) into a consistent base-currency format.
This step corrects for structural differences between coin- and stablecoin-margined instruments, producing a true like-for-like comparison.
The result is a globalized Long/Short Ratio, normalized by exposure and liquidity, suitable for multi-venue orderflow estimation and directional bias assessment.
Note for moderators: I know there are already other scripts out there, but they may not support Open Interest Weighting or the same number of pairs. They also might not support proper normalization like in my script.
Calculation Methodology
For each supported exchange and contract type:
The script retrieves the latest Long/Short Ratio (LSR) and Open Interest (OI) values.
OI is used as the weighting factor, creating a proportional representation of positioning volume.
Values denominated in USD are normalized into base currency using close-price adjustment.
The final value is computed as:
Weighted LSR = (Σ (LSRᵢ × OIᵢ)) / (Σ OIᵢ)
This ensures that if, for example, Binance has twice the open interest of Bybit, its LSR contributes twice as much to the total weighted sentiment.
Interpretation
Value > 1.0 → Market participants are net-long (bullish bias).
Value < 1.0 → Market participants are net-short (bearish bias).
Strength of deviation from 1.0 indicates positioning imbalance magnitude.
Because the ratio is OI-weighted, large players or heavily margined exchanges influence the output proportionally more than smaller, low-volume venues — making this metric a better reflection of true market positioning rather than isolated retail sentiment.
Usage and Applications
Use this indicator as a component in:
Orderflow and sentiment confirmation, alongside price action and volume.
Funding rate correlation studies.
Intraday reversals or exhaustion zones, when combined with volatility or OI delta metrics.
Overlaying or combining this indicator with open interest change, cumulative volume delta, or funding rate divergence allows traders to build a high-resolution understanding of positioning shifts and crowd behavior.
Notes
The “Lite” version is optimized for execution and accessibility, focusing on accuracy while staying within Pine Script’s computational limits.
Exchange data availability may vary by symbol; unsupported pairs automatically return na and are automatically not included in the weighted calculation.
In summary:
This indicator transforms fragmented, exchange-specific Long/Short Ratio into a unified, OI-weighted global sentiment measure — a foundational tool for traders seeking to quantify derivative-side orderflow bias with cross-venue accuracy.
Smart Inside Bar Zones by Dinkan🔹 How It Works
An Inside Bar is formed when a candle’s high and low are completely within the previous candle’s range.
The indicator detects this structure in real time, creates a visual box around it, and extends the zone until the pattern is broken.
Inside Bar candles can be optionally highlighted with a custom color to make them stand out clearly on the chart.
🔹 Features
✅ Automatic Inside Bar detection
✅ Dynamic Inside Bar zone boxes with custom fill & border color
✅ Inside candle body highlighting with user-defined color
✅ Adjustable transparency and border style
✅ Option to display only the latest Inside Bar zone for cleaner charts
🔹 Usage
Traders can use Inside Bar zones to:
Study price compression and breakout regions
Observe range behavior and trend continuation setups
Combine with other tools like volume or support/resistance analysis
🔹 Customization
Change box fill and border color
Adjust Inside Candle color for better visibility
Set transparency and choose whether to show all or only the latest box
⚠️ Disclaimer
This script is intended for market structure visualization and educational purposes only.
It does not generate trading signals or financial advice.
Always perform your own analysis and risk management before making trading decisions.
CE+ZLSMA RovTrading StrateryThe strategy is optimized for scalping in small timeframes like M15 and M30, as well as M5.
It combines two indicators: CE and ZLSMA.
Try it now!
G Position Size Calculator (Crypto)G Position Size Calculator (Crypto)
This tool helps traders quickly visualize and calculate risk, position size, leverage, and R:R ratio directly on the chart for crypto trading.
It works similarly to TradingView’s Long/Short Position tool but automatically computes all metrics based on your clicks.
⚙️ How to Use
Add to Chart
Click Indicators → My Scripts → G Position Size Calculator (Crypto)
Set Entry, Stop-Loss, and Take-Profit
Open the script’s ⚙️ Settings.
Click the crosshair icon next to Entry, then click on the chart.
Do the same for Stop-Loss and Take-Profit.
Adjust Account & Risk Settings
Enter your Account Size (USD).
Set your Risk % per trade (default: 1%).
Visual Feedback
A green box shows your profit zone (Entry → TP).
A red box shows your loss zone (Entry → SL).
The label on the right displays:
Risk (% and $)
R:R ratio
Position size (units)
Leverage required
Fine-Tune Without Re-clicking
Use the nudge inputs (Entry, Stop, TP) to move levels up/down by 1 tick at a time.
Positive = up, negative = down.
Re-pick Levels Anytime
Re-open settings and click the crosshair again to redefine a level.
📈 Features
Automatic calculation of risk, position size, leverage, and R:R ratio.
Visual green/red box representing profit and loss areas.
Adjustable risk %, account balance, and label offset.
“Nudge” controls to emulate quick drag adjustments.
Clean layout designed for crypto price charts (works on any symbol).