Yearly Anchored VWSTD (Volume-Weighted StdDev Bands)This indicator calculates a Volume-Weighted Mean Band (VWMB) — similar in concept to an anchored VWAP — and measures standard deviation from the mean to visualize how far price has deviated from its volume-weighted equilibrium.
Each calendar year acts as an anchor period: the cumulative calculations reset automatically on January 1st, providing a fresh annual reference.
At any time, the middle yellow line represents the volume-weighted mean price (VWMP) since the start of the current year, while the surrounding ±1σ, ±2σ, and ±3σ bands show progressively stronger deviations from that mean, taking both price and volume into account.
Bandas e Canais
DM Super Trend FlowDM Super Trend Flow — Single Line Explanation
The DM Super Trend Flow is a single-line trend indicator built from a carefully selected group of Exponential Moving Averages (EMAs) designed to capture smooth and reliable trend direction.
Instead of plotting multiple EMA lines, the indicator calculates several EMAs internally and then displays only the middle EMA — creating a clean, uncluttered chart while still reflecting the overall trend strength and alignment.
The line color automatically changes based on how all EMAs are aligned:
GREEN - Bullish Alignment → All EMAs are stacked upward, confirming strong upward momentum. (Line turns lime)
RED - Bearish Alignment → All EMAs are stacked downward, confirming strong downward momentum. (Line turns red)
GRAY - EMAs are mixed or flat, indicating sideways or transition phases. (Line turns gray)
This single dynamic line gives you a clear visual of overall market direction — showing when the trend is fully aligned, weakening, or shifting — without the clutter of multiple overlapping averages.
Momentum Bubbles v5.8Momentum Bubbles uses advanced momentum, volume and CVD data to map and plot Bookmap style bubbles directly on your trading chart, High propulsion candles align with large deep colored bubbles with trending range is opaque and only changing color to orange as a waring of pullbacks.
5 MAs + Composite Gradient + Multi Sensitivity + HybridIndicator Description
🔹 Core Structure
• The indicator plots five moving averages (MAs), each fully customizable: you can choose the type (SMA, EMA, WMA, HMA, RMA, VWMA), the length, the color, and the transparency.
• On top of them, it calculates a Composite line, which is simply the average of all five MAs.
🔹 Colors and Lines
• Each MA is drawn in the color you select, with adjustable transparency.
• The Composite line is dynamically colored: it shifts from red when the slope is strongly negative (downtrend) to green when the slope is strongly positive (uptrend), with smooth gradients in between.
• The line thickness of the Composite changes automatically: thin when the slope is weak, thick when the slope is strong.
🔹 Shading
• Light shading is drawn between MA1 ↔ MA5 and MA2 ↔ MA4.
• The shading color follows the Composite’s gradient, so the background tint reflects the current trend strength and direction.
🔹 Buy/Sell Signals
• A green BUY arrow appears below a candle when the price crosses above the Composite with enough strength.
• A red SELL arrow appears above a candle when the price crosses below the Composite with enough strength.
• The “enough strength” part is controlled by a sensitivity threshold.
🔹 Sensitivity Modes
You can choose how the threshold is calculated:
1. Dynamic TF – Sensitivity adapts to the timeframe:
• 1 minute → 0.2%
• 1 hour → 0.5%
• 1 day → 1%
2. ATR – Threshold is based on a multiple of the Average True Range.
3. StdDev – Threshold is based on a multiple of the standard deviation of price.
4. Hybrid – Requires both Dynamic TF and ATR conditions to be satisfied.
The Result
• You get a visually clear chart: faint customizable MAs, a Composite line that changes color and thickness with the trend, and shaded zones that reinforce the direction.
• You also get smart trading signals: filtered BUY/SELL arrows that adapt to volatility, timeframe, or both.
• The whole system is modular and flexible: you can tune every MA, every sensitivity mode, and every visual element.
OPEN MULTITIMEFRAMEIntroduction: The indicator's name and its main purpose (e.g., "A comprehensive multi-timeframe indicator that displays trends based on the Open price and Chikou Span signals...").
Features: A list of the key features included in the indicator (e.g., Multi-Timeframe Dashboard, Moving Averages on Open price, volume-based candle coloring, trading sessions...).
How to Use: Instructions on how to read signals from the dashboard, the meaning of the plotted lines, or how to combine signals for trading.
[Booggo] Smoothed Trend Follow Strategy (Backtest-Only)Market volatility demands a sophisticated approach that goes beyond simple entry/exit rules. This strategy is a next-generation trend-following system designed to follow the market's major currents while dynamically managing the risk of each trade to maximize stability and preserve profits.
Key Features:
Intelligent Risk Engine: Automatically adjusts risk based on recent trading performance.
Volatility-Based Position Sizing: It detects low-volatility periods where the market is consolidating energy, allowing for proactive position adjustments ahead of potential trend breakouts.
Robust Asset Protection: Fundamentally prevents dangerous over-betting, even during drawdowns, to ensure stable asset management.
Advanced Noise Filtering: Filters out short-term market noise through a sophisticated smoothing logic, focusing on the essential movements of reliable trends.
This strategy offers more than just signal generation; it provides an answer to the critical question of "how to ride a trend while effectively managing risk." We encourage you to verify its strengths firsthand through comprehensive backtesting.
시장의 변동성은 단순한 진입/청산 규칙을 넘어서는 정교한 접근을 요구합니다. 본 전략은 시장의 큰 흐름을 따르면서도, 각 거래의 리스크를 동적으로 관리하여 안정성을 극대화하고 수익을 보존하도록 설계된 차세대 추세 추종 시스템입니다.
주요 특징:
지능형 리스크 엔진: 최근 거래 성과를 바탕으로 리스크를 자동 조절합니다.
변동성 기반 포지션 조절: 시장이 에너지를 응축하는 저변동성 구간을 감지하여, 잠재적인 추세 확장을 앞두고 선제적으로 포지션을 조절하는 기능이 탑재되어 있습니다.
안정적인 자산 보호 기준: 드로우다운 상황에서도 위험한 과대 베팅을 원천적으로 방지하고 자산을 안정적으로 관리합니다.
고급 노이즈 필터링: 정교한 Smoothing 로직을 통해 시장의 단기적인 소음을 걸러내고, 신뢰도 높은 추세의 본질적인 움직임에 집중합니다.
이 전략은 단순한 시그널 생성을 넘어, '어떻게 리스크를 관리하며 추세를 탈 것인가'에 대한 하나의 해답을 제시합니다. 충분한 백테스트를 통해 그 강점을 직접 확인해 보시기 바랍니다.
Telegram ID : @booggo83
Quick Reversal Strategy - Bash Modrs//@version=5
indicator("Quick Reversal Strategy - Bash Modrs", overlay=true)
// === Moving Averages ===
ema9 = ta.ema(close, 9)
ema21 = ta.ema(close, 21)
// === RSI ===
rsi = ta.rsi(close, 14)
// === Bollinger Bands ===
basis = ta.sma(close, 20)
dev = ta.stdev(close, 20)
upper = basis + dev * 2
lower = basis - dev * 2
// === Volume ===
vol = volume
vol_avg = ta.sma(volume, 20)
vol_color = vol > vol_avg ? color.new(color.green, 0) : color.new(color.red, 0)
// === Plot Indicators ===
plot(ema9, color=color.yellow, linewidth=2, title="EMA 9")
plot(ema21, color=color.orange, linewidth=2, title="EMA 21")
plot(basis, color=color.blue, title="BB Basis")
plot(upper, color=color.new(color.blue, 50))
plot(lower, color=color.new(color.blue, 50))
plot(vol, color=vol_color, style=plot.style_columns, title="Volume")
// === Entry Conditions ===
longCond = ta.crossover(ema9, ema21) and rsi > 40 and rsi < 60
shortCond = ta.crossunder(ema9, ema21) and rsi > 40 and rsi < 60
// === Alerts ===
alertcondition(longCond, title="Buy Signal", message="🟢 Buy Signal - Quick Reversal Strategy")
alertcondition(shortCond, title="Sell Signal", message="🔴 Sell Signal - Quick Reversal Strategy")
// === Plot Signals on Chart ===
plotshape(longCond, title="Buy", location=location.belowbar, color=color.new(color.green, 0), style=shape.triangleup, size=size.large)
plotshape(shortCond, title="Sell", location=location.abovebar, color=color.new(color.red, 0), style=shape.triangledown, size=size.large)
Ghost Signal — MTF EMA/VWAP Confluence SystemGhost Signal — MTF EMA/VWAP Confluence System
Purpose
Ghost Signal is an intraday trend-entry tool that tries to do one thing well: only fire when multiple, independent edges agree. It looks for pullbacks to the EMA-20 or clean trend-continuations, then gates those raw triggers behind VWAP/Anchored-VWAP alignment, higher-timeframe structure, momentum, spacing (anti-chop), volume and ATR context. The goal is fewer, higher-quality entries that avoid “death-by-a-thousand scalps” in chop.
What it plots
EMA 20/50/200 for trend structure and spacing (no-braid filter).
VWAP (session) and optional Anchored VWAP (Daily/Weekly/Monthly).
ENTRY labels when all filters pass.
A compact status table: HTF score (M/W/D/4H/15/5), VWAP/AVWAP arrows, EMA regime, slopes %, ATR%, spacing %, and distance from EMA-50.
How signals are built
Raw triggers (on chart TF or a lower “signal TF” for intrabar precision):
PB20: trend pullback that crosses back through EMA-20.
TC: trend-continuation when price holds the side of EMA-20 with limited gap.
Confluence filters (must pass):
EMA regime & slopes: 20>50>200 for longs (reverse for shorts) with minimum slope on EMA-20/50.
VWAP/AVWAP alignment: price must be above both for longs / below for shorts, with a configurable margin.
HTF structure score: combines M/W/D/4H/15/5 states and penalizes corrections.
Anti-chop spacing: minimum separation between 20↔50 and 50↔200.
Context: volume ≥ SMA×mult, ATR% ≥ floor, max distance from EMA-50 to avoid late chases.
Optional breakout: close > prior high (long) / < prior low (short).
Time lockouts: exclude known messy windows (open/close, FX rollover, etc.).
Adaptive slope (optional): slopes auto-tighten/loosen with market heat (ATR% & relative volume).
How to use
Works on 1–5m best; designed for futures, stocks, FX, and crypto.
Use the status table to confirm context (HTF score, VWAP arrows, slopes/ATR/spacing).
Pair with your own risk model; common templates: stop ≈ 1.5–2× ATR, TP ≈ 1.2–1.8R or an ATR trail.
Turn the Signal TF to “1” on 3m/5m charts if you want intrabar PB20 detection.
Why it helps
Ghost Signal tries to stack institutional anchors (VWAP/AVWAP), higher-timeframe bias, and momentum/structure so you participate in moves with real sponsorship—and sit out the braid.
Notes & limits
No indicator removes risk. Expect fewer signals on range days, slippage around news, and thinner markets to require stricter volume/spacing. Past results don’t guarantee future returns.
Asia Risk MonitorAsia Risk Monitor for all those monitoring the financial situation in the US, looking for a clue of a move to the down or upside.
First week of the yearA very simple indicator that marks a channel on the candlestick for the first week of the year.
The channel can serve as an entry/exit point with a medium and long term focus.
Note: This indicator should be observed exclusively on the weekly timeframe.
TeamBull FuturesThe TeamBull Futures indicator plots key London Session and New York ORB (Opening Range Breakout) levels for intraday futures and forex trading.
London Session (03:00–09:29 ET) – Automatically tracks and plots the session’s high and low, updating in real time and extending both levels until 5:00 PM ET for clear intraday reference.
New York ORB (09:30–09:45 ET) – Marks the high, low, and 50% midpoint of the U.S. market’s opening range, visible only for the current trading day and removed after 5:00 PM ET.
This tool helps traders identify major liquidity zones and intraday breakout areas across global market sessions with clean, time-synced precision.
VWAP Diario (línea negra en precio)It's just the 1D VWAP average line. It's used to determine when you're entering a bullish or bearish daily structure.
SuperTrend Dual RMAThis enhanced ATR SuperTrend indicator combines dual volume-weighted RMAs with the Average True Range (ATR) to deliver smoother and more reliable trend signals.
It identifies bullish and bearish phases using a blue-rose color scheme, providing clear visual cues for entries and exits.
Features:
Dual RMA baseline for smooth, volume-sensitive trend calculation
ATR multiplier-driven upper and lower bands
Filled bands to highlight volatility zones
Bar coloring for trend confirmation
Hikaru BandsHikaru Bands is a volatility indicator designed to provide a view of market dynamics. Unlike traditional banding tools like Bollinger Bands, which rely solely on standard deviation, Hikaru Bands incorporate a Composite Volatility Index (UVI). This index is built from a customizable blend of up to ten different technical indicators, including momentum, trend, and risk metrics.
Core Concept & Calculation
The script first calculates the values of up to ten different technical indicators, which you can enable or disable individually. These include RSI, CCI, Sharpe Ratio, Omega Ratio, Z-Score, Rate of Change (ROC), and more. Each selected indicator's output is then normalized into a percentile rank (a scale of 0-100) to ensure they can be compared and combined effectively. Finally, the normalized values are weighted and averaged to create a single Universal Volatility Index (UVI). A high UVI suggests strong bullish momentum and volatility/overbought, while a low UVI suggests strong bearish momentum/oversold.
How to Use & Interpretation
Interpreting the bands is intuitive and provides multiple layers of analysis:
Extreme Bands (Outer Bands): When the price touches or exceeds these bands, it suggests a potential exhaustion point or a climax in the current trend. These are often areas to watch for potential reversals or pullbacks.
Warning Bands: These act as an early signal that momentum is becoming stretched. Price action within this zone indicates a strong trend that may be approaching overbought or oversold territory.
Neutral Bands: The area between these bands and the basis line represents typical price action. When the price remains within this zone, it often signals a consolidating or ranging market.
Features & Customization
This script offers extensive customization to tailor the indicator to your specific needs and analysis style:
Modular Component Selection: Individually enable or disable any of the ten underlying indicators to build your own custom UVI. You can also adjust the weight of each component to give more importance to the indicators you trust most.
Detailed Parameter Control: Fine-tune the settings for each individual indicator, such as the period for RSI, the lookback for the Sharpe Ratio, or the fast/slow lengths for the EMA Spread.
Visuals: Comes with eight built-in color schemes (including Classic, Neon, and Ocean) to match your chart's aesthetic.
Band Smoothing: Apply an optional smoothing filter to the bands and the basis line to reduce noise and focus on the underlying trend.
Disclaimer
This tool is designed for technical analysis and should not be used as a standalone signal for trading. The effectiveness of the bands depends on the selected components and market conditions. Always use this indicator in conjunction with other forms of analysis and a robust risk management strategy.
PDH/PDL + PMH/PML Breakout Table + Alerts + 🔔PDH/PDL now come exclusively from the previous day's RTH (9:30–4:00 PM ET) — they no longer include premarket. This avoids the confusion we encountered.
PMH/PML are calculated only during the premarket period (4:00–9:30 AM ET) of the current day.
Employment emojis: 🟢 (upward breakout for PDH/PMH), 🔴 (downward breakout for PDL/PML), ⚪ (no breakout).
The table displays three columns: Level | Status | Price. If you'd like the table to have a different size/position/color, just adjust it quickly.
Dual Anchored VWAP (v6) by MrTiffDual Anchored VWAP
//@version=6
indicator("Dual Anchored VWAP (v6, fixed)", overlay=true)
// ---------- Inputs: AVWAP #1 (buyers)
useAVWAP1 = input.bool(true, "Show AVWAP #1 (buyers)")
tz1 = input.string("Etc/UTC", "Timezone #1")
y1 = input.int(2024, "Year #1")
m1 = input.int(9, "Month #1", 1, 12)
d1 = input.int(1, "Day #1", 1, 31)
h1 = input.int(13, "Hour #1", 0, 23)
min1 = input.int(30, "Minute #1",0, 59)
col1 = input.color(color.new(color.teal, 0), "Color #1")
width1 = input.int(2, "Width #1", minval=1, maxval=5)
// ---------- Inputs: AVWAP #2 (sellers)
useAVWAP2 = input.bool(true, "Show AVWAP #2 (sellers)")
tz2 = input.string("Etc/UTC", "Timezone #2")
y2 = input.int(2024, "Year #2")
m2 = input.int(10, "Month #2", 1, 12)
d2 = input.int(8, "Day #2", 1, 31)
h2 = input.int(15, "Hour #2", 0, 23)
min2 = input.int(30, "Minute #2",0, 59)
col2 = input.color(color.new(color.orange, 0), "Color #2")
width2 = input.int(2, "Width #2", minval=1, maxval=5)
// ---------- Other settings
src = input.source(ohlc4, "Price source (VWAP uses weighted avg)")
showBands = input.bool(false, "Show simple 1σ bands (approx)")
// ---------- Build anchor timestamps from parts
anchor1 = timestamp(tz1, y1, m1, d1, h1, min1)
anchor2 = timestamp(tz2, y2, m2, d2, h2, min2)
// ---------- Function: AVWAP from an anchor (no session reset)
avwapFrom(anchorTime) =>
cond = time >= anchorTime
cumPV = ta.cum(cond ? (src * volume) : 0.0)
cumV = ta.cum(cond ? volume : 0.0)
vw = cumV > 0 ? (cumPV / cumV) : na
vw
// ---------- Compute AVWAPs
vwap1 = useAVWAP1 ? avwapFrom(anchor1) : na
vwap2 = useAVWAP2 ? avwapFrom(anchor2) : na
// ---------- Plot AVWAPs
plot(vwap1, title="AVWAP #1", color=col1, linewidth=width1)
plot(vwap2, title="AVWAP #2", color=col2, linewidth=width2)
// ---------- Optional σ bands (proxy; not true VWAP σ)
sigma(v) => ta.stdev(close - v, 100)
// Compute the stdevs only when needed, otherwise na
s1 = (showBands and not na(vwap1)) ? sigma(vwap1) : na
s2 = (showBands and not na(vwap2)) ? sigma(vwap2) : na
// Build band series (or na if disabled)
vwap1_up = not na(s1) ? vwap1 + s1 : na
vwap1_dn = not na(s1) ? vwap1 - s1 : na
vwap2_up = not na(s2) ? vwap2 + s2 : na
vwap2_dn = not na(s2) ? vwap2 - s2 : na
// Plot at global scope (valid in Pine)
plot(vwap1_up, title="AVWAP #1 +1σ", color=color.new(col1, 60))
plot(vwap1_dn, title="AVWAP #1 -1σ", color=color.new(col1, 60))
plot(vwap2_up, title="AVWAP #2 +1σ", color=color.new(col2, 60))
plot(vwap2_dn, title="AVWAP #2 -1σ", color=color.new(col2, 60))
// ---------- Alerts
alertcondition(ta.cross(close, vwap1), "Cross AVWAP #1", "Price crossed AVWAP #1")
alertcondition(ta.cross(close, vwap2), "Cross AVWAP #2", "Price crossed AVWAP #2")
Doble Keltner ChannelTwo Keltner channels with different configurations. This will allow you to visualize volatility confluences and potential reversal zones.
Configuration
Ema period 1 = 50
Ema period 2 = 50
Multiplier 1 = 2.75
Multiplier 2 = 3.75
QuantTrader MTF Momentum — QUIET v6 (TG + Status Panel)Here’s a clear, copy-friendly description for your latest script.
# QuantTrader MTF Momentum — QUIET v6 (TG + Status Panel)
## What it does (in one line)
Fires bar-close BUY/SELL signals only when **trend**, **multi-timeframe confirmation**, **momentum confluence**, and **market-quality filters** all align—then draws ATR-based stops/targets and (optionally) sends **Telegram** payloads via TradingView webhooks.
## Signal recipe
* **Trend**: Price vs a baseline (EMA/HMA/Supertrend).
* **HTF confirm** (optional): Higher-TF EMA must slope **up** & price above for longs (down/below for shorts).
* **Momentum score (0–3)**:
* RSI (level + 3-bar rising/falling)
* MACD (line cross + histogram sign)
* Stochastic (K/D cross from OS/OB)
You choose **Min Momentum Signals** (default 2).
* **Market-quality gates**: ATR regime (vs median ATR), ADX threshold, Choppiness ceiling, and **Min body vs ATR** (filters tiny/noise bars).
* **Breakout filter** (optional): Donchian close > prior High (long) or < prior Low (short).
* **Sessions** (optional): Only trade in enabled (Asian/London/NY) windows.
## Quiet vs Loose mode
* **Quiet ON (default)**: All gates must be OK (trend+HTF, momentum ≥ min, ATR/ADX/Chop/Body, and Donchian if enabled).
* **Quiet OFF**: Easier entry—Trend OK + Momentum ≥1 + ATR regime OK.
## Presets
* **Forex Fast / Balanced 5m London / Strict 5m London / 15m London** (legacy choices).
* Each preset nudges RSI levels, ATR band, ADX, Chop, Min body, HTF TF, and Min-Momentum so behavior matches the instrument/timeframe. You can override any input.
## Status Panel (on-chart)
A live checklist showing why a trade is (not) allowed:
* Session, Trend OK (UP/DN), Confluence (UP/DN), ATR Regime, ADX, Choppiness, Body vs ATR, Donchian, **MomScore U/D**.
* **BUY Gate / SELL Gate**: whether rules allow a trade this bar.
* **Signal (this bar)**: what actually triggered at bar close (BUY / SELL / —).
## Risk overlay
On a signal bar, plots:
* **Stop** = ATR × multiple (default 1.8) from entry,
* **Targets** = 1R / 1.5R / 2R.
The script tracks TP1/TP2/TP3/STOP “hits” afterward and can alert them.
## Alerts & Telegram
* Create one TV alert: **Condition = “Any alert() function call”**, paste your webhook URL.
* In inputs, enable **Telegram** and set your `chat_id`.
* Script sends JSON payloads for **BUY/SELL** signals and **TP/SL hits** (includes preset, mode Q/L, momentum score, session, HTF TF).
## How to use (quick start)
1. Choose your **symbol/timeframe** (e.g., FX 5–15m; Gold 5m/15m; BTC 5m/15m).
2. Turn **Use Preset Profile ON** and pick a profile (e.g., “Strict 5m London” for EURUSD).
3. Keep **Quiet Mode ON** for cleaner signals.
4. Enter only when a **BUY/SELL** prints at bar close and **BUY/SELL Gate** is OK.
5. Use plotted **Stop/Targets** for risk planning; optional Telegram alerts will confirm TP/SL events.
## Notes
* Signals are **bar-close**, reducing flicker/repaint behavior.
* It’s an **entry framework**—add your sizing & management.
* Tune Min-Momentum, ADX, ATR band, and Donchian per instrument to balance **frequency vs. quality**.
Adaptive Trend Breaks Adaptive Trend Breaks
## WHAT IT DOES
This script is a modified and enhanced version of "Trendline Breakouts With Targets" concept by ChartPrime.
Adaptive Trend Breaks (ATB) is a trendline breakout system optimized for scalping liquid futures contracts. The indicator automatically draws dynamic support and resistance trendlines based on pivot points, then generates trade signals when price breaks through these levels with confirmation filters. It includes automated target and stop-loss placement with real-time P&L tracking in dollars.
## HOW IT WORKS
**Trendline Detection Method:**
The indicator uses pivot high/low detection to identify significant price turning points. When a new pivot forms, it calculates the slope between consecutive pivots to draw dynamic trendlines. These lines extend forward based on the established trend angle, creating actionable support and resistance zones.
**Band System:**
Around each trendline, the script creates a "band" using a volatility-adjusted calculation: `ATR(14) * 0.2 * bandwidth multiplier / 2`. This adaptive band accounts for current market conditions - wider during volatile periods, tighter during quiet markets.
**Breakout Logic:**
A breakout signal triggers when:
1. Price closes beyond the trendline + band zone
2. Volume exceeds the 20-period moving average by your set multiplier (default 1.2x)
3. Price is within Regular Trading Hours (9:30-16:00 EST) if session filter enabled
4. Current ATR meets minimum volatility threshold (prevents trading dead markets)
**Target & Stop Calculation:**
Upon breakout confirmation:
- **Entry**: Trendline breach point
- **Target**: Entry ± (bandwidth × target multiplier) - default 8x for quick scalps
- **Stop**: Entry ± (bandwidth × stop multiplier) - default 8x for 1:1 risk/reward
- Multipliers adjust automatically to market volatility through the ATR-based band
**P&L Conversion:**
The script converts point movements to dollars using:
```
Dollar P&L = (Price Points × Contract Point Value × Quantity)
```
For example, a 10-point NQ move with 2 contracts = 10 × $20 × 2 = $400
## HOW TO USE IT
**Setup:**
1. Select your instrument (NQ/ES/YM/RTY) - point values auto-configure
2. Set contract quantity for accurate dollar P&L
3. Choose pivot period (lower = more signals but more noise, default 5 for scalping)
4. Adjust bandwidth multiplier if trendlines are too tight/loose (1-5 range)
**Filters Configuration:**
- **Volume Filter**: Requires breakout volume > moving average × multiplier. Increase multiplier (1.5-2.0) for higher conviction trades
- **Session Filter**: Enable to trade only RTH. Disable for 24-hour trading
- **ATR Filter**: Prevents signals during low volatility. Increase minimum % for more active markets only
**Risk Management:**
- Set target/stop multipliers based on your risk tolerance
- 8x bandwidth = approximately 1:1 risk/reward for most liquid futures
- Enable trailing stops for trend-following approach (moves stop to protect profits)
- Adjust line length to see targets further into the future
**Statistics Table:**
- Choose timeframe to analyze: all-time, today, this week, custom days
- Monitor win rate, profit factor, and net P&L in dollars
- Track long vs short performance separately
- See real-time unrealized P&L on active trades
**Reading Signals:**
- **Green triangle below bar** = Long breakout (resistance broken)
- **Red triangle above bar** = Short breakout (support broken)
- **White dashed line** = Entry price
- **Orange line** = Take profit target with dollar value
- **Red line** = Stop loss with dollar value
- **Green checkmark (✓)** = Target hit, winning trade
- **Red X (✗)** = Stop hit, losing trade
## WHAT IT DOES NOT DO
**Limitations to Understand:**
- Does not predict future trendline formations - it reacts to breakouts after they occur
- Historical trendlines disappear after breakout (not kept on chart for clarity)
- Requires sufficient volatility - may not signal in extremely quiet markets
- Volume filter requires exchange volume data (not available on all symbols)
- Statistics are indicator-based simulations, not actual trading results
- Does not account for slippage, commissions, or order fills
## BEST PRACTICES
**Recommended Settings by Market:**
- **NQ (Nasdaq)**: Default settings work well, consider volume multiplier 1.3-1.5
- **ES (S&P 500)**: Slightly slower, try period 7-8, volume 1.2
- **YM (Dow)**: Lower volatility, reduce bandwidth to 1.5-2
- **RTY (Russell)**: Higher volatility, increase bandwidth to 3-4
**Risk Management:**
- Never risk more than 2-3% of account per trade
- Use contract quantity calculator: Max Risk $ ÷ (Stop Distance × Point Value)
- Start with 1 contract while learning the system
- Backtest your specific timeframe and instrument before live trading
**Optimization Tips:**
- Increase pivot period (7-10) for fewer but higher-quality signals
- Raise volume multiplier (1.5-2.0) in choppy markets
- Lower target/stop multipliers (5-6x) for tighter profit taking
- Use trailing stops in strong trending conditions
- Disable session filter for overnight gaps and Asia session moves
## TECHNICAL DETAILS
**Key Calculations:**
- Pivot Detection: `ta.pivothigh(high, period, period/2)` and `ta.pivotlow(low, period, period/2)`
- Slope Calculation: `(newPivot - oldPivot) / (newTime - oldTime)`
- Adaptive Band: `min(ATR(14) * 0.2, close * 0.002) * multiplier / 2`
- Breakout Confirmation: Price crosses trendline + 10% of band threshold
**Data Requirements:**
- Minimum bars in view: 500 for proper pivot calculation
- Volume data required for volume filter accuracy
- Intraday timeframes recommended (1min - 15min) for scalping
- Works on any timeframe but optimized for fast execution
**Performance Metrics:**
All statistics calculate based on indicator signals:
- Tracks every signal as a trade from entry to TP/SL
- P&L in actual contract dollar values
- Win rate = (Winning trades / Total trades) × 100
- Profit factor = Gross profit / Gross loss
- Separates long/short performance for bias analysis
## IDEAL FOR
- Futures scalpers and day traders
- Traders who prefer visual trendline breakouts
- Those wanting automated TP/SL placement
- Traders tracking performance in dollar terms
- Multiple timeframe analysis (compare 1min vs 5min signals)
## NOT SUITABLE FOR
- Swing trading (targets too close)
- Stocks/forex without modifying point values
- Extremely low timeframes (<30 seconds) - too much noise
- Markets without volume data if using volume filter
- Illiquid contracts (signals may not execute at shown prices)
---
**Settings Summary:**
- Core: Period, bandwidth, extension, trendline style
- Filters: Volume, RTH session, ATR volatility
- Risk: R:R ratio, target/stop multipliers, trailing stop
- Display: Stats table position, size, colors
- Stats: Timeframe selection (all-time to custom days)
**License:** This indicator is published open-source under Mozilla Public License 2.0. You may use and modify the code with proper attribution.
**Disclaimer:** This indicator is for educational purposes. Past performance does not guarantee future results. Always practice proper risk management and test thoroughly before live trading.
---
## CREDITS & ATTRIBUTION
This script builds upon the "Trendline Breakouts With Targets" concept by ChartPrime with significant enhancements:
**Major Improvements Added:**
- **Futures-Specific Calculations**: Automated dollar P&L conversion using actual contract point values (NQ=$20, ES=$50, YM=$5, RTY=$50)
- **Advanced Statistics Engine**: Comprehensive performance tracking with customizable timeframe analysis (today, week, month, custom ranges)
- **Multi-Layer Filtering System**: Volume confirmation, RTH session filter, and ATR volatility filter to reduce false signals
- **Professional Trade Management**: Enhanced visual trade tracking with separate TP/SL lines, dollar value labels, and optional trailing stops
- **Optimized for Scalping**: Faster pivot periods (5 vs 10), tighter bands, and reduced extension bars for quick entries
Original trendline detection methodology by ChartPrime - used with modification under Mozilla Public License 2.0.
Current & Previous-Day VWAPThe “Current & Previous‑Day VWAP” indicator plots two important volume‑weighted price references on intraday charts:
Current Session VWAP (solid line): The VWAP is the volume‑weighted average price of the current trading session. TradingView’s built‑in ta.vwap() function automatically resets its calculation at the start of each new intraday session
offline-pixel.github.io
, so the line accurately follows today’s price action. You can set the color of this line via the indicator’s input (defaults to blue).
Previous‑Day VWAP (dotted lines): At the final bar of each session, the indicator stores the current session’s VWAP value. On the first bar of the following session, it draws a horizontal dotted line at that stored value and extends it across the entire day. This uses TradingView’s session detection functions—session.islastbar to capture the closing VWAP and session.isfirstbar to start the new line
tradingview.com
. An array holds each line and its y‑value so that multiple previous‑day VWAPs remain visible for comparison. The color of these dotted lines is also user‑configurable.
This design lets you see both where the current price is relative to today’s VWAP and how it stands against the closing VWAP levels of previous sessions, all at a glance.
OG Indicators - EnhancedA simple effort to combine William's % R, MACD & Stochastic into single script