AlgoYields - AAlgoYields A — Everyday Overlay for Clean, Actionable Context
Please follow — more indicators & ideas coming soon!
Equipped with alerts and customizable styles, this overlay is designed for daily use: attractive look for fast reads, low noise, high signal. It blends a few trusted tools into a single, elegant view so you can track trend, momentum, and breakouts without overcrowding.
What’s inside
Trading Session Backdrop
Quarter-tinted background (distinct color per quarter) for quick macro orientation; subtle week-to-week transparency shifts; CME pre-market, regular session, and post-market shading; weekends left clear.
Includes multiple curated color palettes. Ask if you want a custom theme.
EMA Cloud
A staircase of short EMAs for trend strength + two macro EMAs (defaults: 80 & 200). Macro EMAs auto-tint: blue when price is above, orange when below.
All lengths are user-configurable.
RSI-Derived Bar Colors
Contextual bar coloring by RSI level/zone to make strength/weakness instantly visible.
Comes with multiple palettes optimized for light/dark charts.
Price Channel & Breakouts
Select band source: Close (tight), HLC3 (medium), or High/Low (widest). Breakout dots print above/below bars and are color-coded by trend context:
Green : break below lower band in an uptrend (buy-the-dip candidates).
Yellow : break above upper band in an uptrend (potential exhaustion / quick scalp).
Orange : break below lower band in a downtrend (continuation shorts).
Red : break above upper band in a downtrend (fade-the-pop entries).
Buffer values can be tuned to reduce noise or enhance reactivity
How to use it
––––––––––
Bullish Breakdowns ( green dots) — often attractive dip-buys within uptrends.
Confirm with macro-EMA slope: steeper = stronger follow-through; flatting slope = take quicker profits and watch for potential rollover.
Bullish Breakouts ( yellow dots) — be selective. If RSI confirms strength, these can be solid for quick scalps; otherwise, beware “touch-and-fade” at the upper band.
Apply the same logic in reverse for shorts:
Bearish Breakouts ( red ) and Bearish Breakdowns ( orange ) favor short entries/continuations.
Inputs worth tweaking
EMA lengths (short stack + macro 80/200 defaults).
RSI bar-color palette (pick for light/dark themes).
Channel source (Close / HLC3 / High-Low) and breakout buffer.
Session/quarter palette selection.
Alerts
Choose from built-in signals (channel breaks, EMA crosses, significant RSI levels).
Notes & best practices
Backtest breakouts per asset/timeframe to tune buffers and TP/SL targets.
Use level + slope together: RSI/EMA levels flag conditions; slope confirms impulse/continuation.
Let the EMA cloud and macro EMAs set bias; use RSI bars and breakout dots for timing.
Bandas y canales
Pivots Universales 1H - H y PIt aims to measure the projected average volatility of the current day versus that of the previous day using Bollinger.
Canales Pivot H y P - EXTREMOSBollinger Extremes measures the average estimated volatility during the day, compared to the closing price.
MA Zone Candle Color 8.0This indicator plots a selected moving average (any type: EMA, VWAP, HMA, ALMA, custom composites, RVWAP, etc.) and creates a symmetrical grid of horizontal levels/bands spaced at precise, predefined increments around it. The spacing between levels can be set in two modes:
Percent (%) of the current MA value
Points (fixed price units)
The available increment sizes follow a specific geometric-like sequence (very similar to Gann square-of-9 derived steps), giving you clean, repeatable distance choices such as 0.61, 1.22, 2.44, 4.88, 9.77 points (or their percentage equivalents).
Core purpose
It visually marks exactly how far price has moved away from your chosen moving average — in multiples of the increment you selected.
Main practical use cases -
1. Measuring distance from key reference level
VWAP or EMA(20–89), Points mode, 1.22–4.88 incr.
"Price is currently 3.5 increments above VWAP" → quick context for context
2. Identifying structured price levels
Points mode + 2.44 or 4.88 increment
Treat every band as potential support/resistance or target zone
3. Comparing extension size across instruments
Percent mode, same increment value across symbols
Makes extensions visually comparable (BTC vs ETH vs SPX vs NQ)
4. Session / intraday structure mapping
RVWAP or session VWAP + Points mode
See how many "steps" price has made since session open / reset
5. Setting objective take-profit / scale-out levels
Any MA + medium increment (4.88–19.53 points)
"I'll take partials at +2×, +4×, +6× increment" — very mechanical
6. Volatility-adjusted grid (crypto/forex)
Points mode with larger increments
Prevents bands from becoming too wide/narrow during huge volatility swings
Most common combo
MA: VWAP or RVWAP (session/day reset)
Mode: Points
Increment: 1.220704 or 2.441408 or 4.8828125
Bands per side: 30–60
→ Creates a clean, evenly-spaced ladder of levels around the daily/intraday average that traders can use purely for distance measurement and objective level marking.
In short:
It's a very precise, repeatable distance ruler built around any moving average you choose — nothing more, nothing less.
SA_ORB_ONR_CLOUD_vwapBandsSIGNAL ARCHITECT™ — ORB / ONR Cloud with VWAP Bands
Optimized for the 15-Minute Timeframe
Overview
The Signal Architect™ ORB / ONR Cloud is a session-structure and probability framework designed to help traders understand where price is statistically compressed, transitioning, or escaping value during the regular trading session.
On the 15-minute chart, this study excels at identifying:
High-probability consolidation zones
Early session directional intent
Fade vs continuation environments
Context for VWAP-based mean reversion or trend extension
Rather than predicting price, the indicator classifies market behavior using time-anchored ranges and volume-weighted statistics.
Core Components (15-Minute Context)
1️⃣ Overnight Range (ONR)
The Overnight Range captures price extremes formed before the regular session opens.
On the 15-minute timeframe, ONR acts as:
A higher-timeframe reference level
A source of institutional liquidity memory
A boundary where early session reactions often occur
2️⃣ Opening Range (ORB)
The Opening Range is defined as the first X minutes after the session open (default: 15 minutes).
On a 15-minute chart:
The ORB often forms entirely within a single candle
It represents initial institutional positioning
It helps differentiate initiative vs responsive behavior
3️⃣ ORB–ONR Cloud (Key Feature)
The Cloud is the overlapping area between the Overnight Range and the Opening Range.
This zone is critical on the 15-minute timeframe because it often represents:
Compressed auction
Balance / indecision
Liquidity absorption
Interpretation:
Price inside the cloud → Higher probability of consolidation, fade, or contraction
Price exiting the cloud → Transition toward expansion or trend resolution
The cloud is not a signal — it is a probability environment.
4️⃣ VWAP with Session-Weighted σ Bands
The study plots VWAP starting from the regular session open, along with true volume-weighted standard deviation bands (±1σ, ±2σ).
On the 15-minute timeframe:
VWAP defines fair value
σ bands help distinguish normal rotation vs statistical extension
Interaction with VWAP while inside the cloud often suggests mean-reverting conditions
Interaction with VWAP after leaving the cloud often confirms trend continuation
5️⃣ Breakout Classification (BRK)
A BRK event occurs when price closes outside BOTH:
The Overnight Range
The Opening Range
On the 15-minute chart:
BRK events often mark session regime changes
They are contextual markers, not entries
Arrows are color-matched to the candle (green candle → green arrow, red candle → red arrow)
To avoid clutter, breakouts can be limited to first-occurrence only.
Probability Layer (15-Minute Edge)
The indicator includes rolling probability calculations to quantify market behavior:
📊 Inside-Cloud Probability
Shows how often price remains inside the ORB–ONR cloud over the selected lookback.
Higher values → balance / compression dominant
Lower values → trend / expansion dominant
📉 Fade / Contraction Probability (Inside Cloud)
When price is inside the cloud, the study measures volatility contraction using ATR behavior.
Higher contraction % → Greater likelihood of rotation or fade
Lower contraction % → Cloud acting as launchpad rather than balance
📈 State Occupancy (5-State Model)
Tracks how price distributes its time across:
Above both ranges
Below both ranges
Inside ORB only
Inside ONR only
Inside the Cloud
This helps traders understand where the market statistically prefers to trade on the 15-minute structure.
Best Use Cases (15-Minute Chart)
✔ Contextual bias for intraday swing trades
✔ Identifying fade vs trend conditions
✔ VWAP-based execution alignment
✔ Avoiding low-probability entries inside compression
✔ Session structure awareness without lower-timeframe noise
What This Indicator Is NOT
❌ Not a buy/sell system
❌ Not predictive
❌ Not a guarantee of outcomes
It is a market structure and probability framework — designed to improve decision quality, not replace risk management.
Recommended Settings (15-Minute)
ORB Length: 15 minutes
VWAP Bands: ±1σ / ±2σ
Probability Lookback: 100–200 bars
Breakout Mode: First-occurrence only
Cloud Enabled: Yes
Risk & Compliance Notice
This tool is provided for educational and informational purposes only.
It does not constitute financial advice, investment recommendations, or trade instructions.
All trading involves risk, including the possible loss of capital.
Standalone Signal - trianchor.gumroad.com
chatgpt.com
chatgpt.com
chatgpt.com
Levels by EVThis indicator plots a clean set of commonly used reference levels on the chart, including the prior day high and low (PDH/PDL), the current day open (DO), prior week high and low (PWH/PWL), prior month high and low (PMH/PML).
Daily, weekly, and monthly levels are sourced from their respective higher timeframes to keep the values stable and consistent across intraday charts. Session ranges are calculated using a selectable timezone and are updated in a controlled way to avoid unnecessary object creation and chart clutter. An optional setting allows developing session highs and lows to update while the session is active, or you can keep session levels fixed once the session ends.
Use these levels as context for liquidity, support/resistance, and session structure. Labels can be enabled or disabled, and can optionally be kept on the right edge so the chart remains readable on any zoom level.
SMA by EVEV Simple Moving Average (SMA) is a lightweight, open-source SMA indicator with configurable length, price source, and visual offset. It is designed to provide a clean moving-average reference for trend context and mean reversion workflows on any market and timeframe. The offset parameter shifts the plotted line for visualization only and does not affect the underlying calculation.
LogTrend Retest EngineLogTrend Retest Engine (LTRE)
LogTrend Retest Engine (LTRE) is an advanced trend-continuation overlay designed to identify high-probability breakout retests using logarithmic regression , volatility-adjusted deviation bands , and market regime filtering .
Unlike traditional channels or moving averages, LTRE models price behavior in log space , allowing it to adapt naturally to exponential market moves common in crypto, indices, and long-term trends.
🔹 How It Works
Logarithmic Regression Core
Performs linear regression on log-transformed price and time
Produces a structurally accurate trend midline that scales with price growth
Volatility-Adjusted Deviation Bands
Dynamic upper and lower zones based on statistical deviation
ATR weighting expands or contracts bands as volatility changes
Adaptive Lookback (Optional)
Automatically adjusts regression length using volatility pressure
Faster response in high-volatility environments, smoother in consolidation
🔹 Market Regime Detection
LTRE actively filters conditions using:
R² trend strength (trend quality, not just slope)
Volatility compression vs expansion
User-defined minimum trend strength threshold
Signals are disabled during ranging or low-quality conditions .
🔹 Breakout → Retest Signal Logic
LTRE does not chase breakouts.
Signals trigger only when:
1. Price breaks cleanly outside the deviation band
2. Market regime is confirmed as trending
3. Price performs a controlled retest within a user-defined tolerance
BUY
Break above upper band → retest → trend confirmed
SELL
Break below lower band → retest → trend confirmed
This structure is designed to reduce false breakouts and late entries.
🔹 Visual & Projection Tools
Clean midline and deviation bands
Optional filled zones
Optional future trend projection for forward structure planning
On-chart statistics for trend strength and volatility compression
🔹 Best Use Cases
Trend continuation & pullback strategies
Crypto, Forex, Indices, and equities
Works best on 15m and higher timeframes
⚠️ Disclaimer
LTRE is a decision-support tool , not a complete trading system. Always use proper risk management and confirm signals with additional structure, volume, or higher-timeframe context.
Built for traders who wait for structure — not noise.
Adaptive Log Trend Zones + Retest SignalsAdaptive Log Trend Zones + Retest Signals
Adaptive Log Trend Zones is a trend-following overlay built to identify high-probability breakout retests in strong market conditions. It combines logarithmic regression , volatility-adaptive behavior , and ATR-based trend zones to help traders stay aligned with dominant momentum while avoiding chop.
🔹 Core Features
Logarithmic Regression Midline
Uses linear regression on log price to better handle exponential market moves
Produces smoother, more realistic trend structure on higher timeframes
Volatility-Adaptive Lookback
Automatically expands or contracts the regression length based on ATR volatility
Reacts faster in high volatility, smoother in consolidation
Dynamic Trend Zones
Upper and lower bands are ATR-adjusted and trend-colored
Optional future projection for visual trend guidance
Breakout → Retest Signal Logic
Detects clean breakouts beyond the trend zone
Waits for a controlled pullback (retest) before signaling
Signals only trigger when trend strength is confirmed
Trend Quality Filter
Internal regime detection filters out low-quality, sideways conditions
Uses slope strength and volatility compression to validate entries
🔹 Signals
BUY : Bullish breakout followed by a valid retest in a trending regime
SELL : Bearish breakout followed by a valid retest in a trending regime
Signals are designed for trend continuation , not mean reversion.
🔹 Best Use Cases
Crypto, Forex, and Index markets
Higher timeframes (15m+ recommended)
Trend continuation and pullback strategies
⚠️ Notes
This indicator is not a standalone trading system . Always use proper risk management and confirm signals with structure, volume, or higher-timeframe context.
Designed for traders who prefer structure, patience, and momentum alignment.
Atilla EMA Cloud PRO (FINAL - FIXED)Atilla EMA Cloud PRO (FINAL – FIXED) is a professional trend-filtering indicator designed to eliminate noise and keep traders out of low-probability, sideways markets.
This indicator is built around a multi-EMA structure (EMA 9 / 21 / 35 / 55) combined with an ATR-based sensitivity filter and candle confirmation logic. Its primary goal is not to generate constant signals, but to clearly define when the market is worth trading — and when it is not.
Key Features:
Advanced EMA Cloud that defines clear NO-TRADE ZONES
ATR-based sideways market detection to suppress fake trends
Trend confirmation using momentum + candle structure
Adjustable sensitivity for different market conditions
Optimized for 15-minute charts, suitable for both crypto and forex
Designed to favor quality over quantity
How to use:
Trade only when price is outside the EMA Cloud
Ignore signals during gray / flat conditions
Focus on sustained color changes confirmed by EMA alignment
Best used with proper risk management and higher timeframe context
This indicator does not chase every move.
It waits for structure, momentum, and clarity.
Built for traders who value discipline, patience, and consistency over noise.
Daily Extension from 50DMA (adjustable) in ATR%Indicator to easily spot over extended prices in relation to ATR.
ATR or ADR easily referenced
Free cash flow yield (Quarterly)Indicator: Free Cash Flow Yield (Quarterly) — Technical Description
Purpose
This indicator plots Free Cash Flow Yield (FCF Yield) using quarterly fundamentals and optionally adjusts it for dilution. It also computes trailing averages over multiple horizons (in quarters) to give a long-term valuation context.
Data Sources
All fundamentals are pulled from TradingView’s financial dataset using:
request.financial(syminfo.tickerid, , "FQ", barmerge.gaps_on)
Where:
"FQ" = Quarterly frequency
barmerge.gaps_on = keeps values as step-like series (updates only when new quarterly data is available)
Financial fields used:
FREE_CASH_FLOW (FCF)
ENTERPRISE_VALUE (EV)
TOTAL_SHARES_OUTSTANDING
DILUTED_SHARES_OUTSTANDING
Market cap is derived (not pulled directly in this version):
marketCap = totalSharesOutstanding * close
(Only used as a reference in the script; the yield itself is based on EV.)
Core Calculation
1) FCF Yield (Net)
The base yield is:
FCF Yield
(
%
)
=
FCF
Enterprise Value
×
100
FCF Yield(%)=
Enterprise Value
FCF
×100
Implementation detail:
If FCF is na or EV is na or EV == 0, the result is set to na to avoid division errors.
Dilution Adjustment (Optional Series)
2) Dilution Ratio
The script estimates dilution impact using:
dilutionRatio
=
Total Shares Outstanding
Diluted Shares Outstanding
dilutionRatio=
Diluted Shares Outstanding
Total Shares Outstanding
Notes:
If dilutedSharesOutstanding is missing or zero, the ratio becomes na.
3) Diluted FCF Yield
If the ratio indicates dilution (<= 1), yield is scaled down:
FCF Yield Diluted
=
FCF Yield
×
dilutionRatio
FCF Yield Diluted=FCF Yield×dilutionRatio
Else (ratio > 1 or na), the script defaults to the net yield:
FCF Yield Diluted
=
FCF Yield
FCF Yield Diluted=FCF Yield
Practical interpretation:
More dilution → lower ratio → lower diluted yield.
If dilution fields are not reliable for a ticker, the script falls back to the base yield.
Plotting
Two series are shown:
FCF Yield Net: plotted as columns (bars)
FCF Yield Diluted: plotted as an area overlay
This makes it easy to see:
Step changes when new quarter data arrives
Whether dilution meaningfully reduces the yield
Labels (Per-bar)
When fcfYieldDiluted > 0, the script prints the value as a percentage label at the yield level.
Important technical point:
Since fcfYieldDiluted is computed as a number like 8.5 for 8.5%, labels convert to percent format by dividing by 100 before formatting:
str.tostring(fcfYieldDiluted / 100, format.percent)
Rolling History & Averages
1) Rolling storage
The script maintains a rolling array of the most recent 40 quarterly values:
40 quarters ≈ 10 years
Each time a non-NA quarterly yield appears:
It pushes it into the array
If array length exceeds 40, it removes the oldest value
2) Trailing averages (quarter windows)
Averages are computed over the most recent N quarters:
1Q (latest quarter value)
4Q ≈ 1 year
8Q ≈ 2 years
20Q ≈ 5 years
40Q ≈ 10 years
If fewer than N values exist, that average is na.
End-of-chart Summary Label
On the last bar (barstate.islast), the script draws a summary label containing the trailing averages listed above.
Placement logic
The label is positioned slightly to the right of the current bar:
Uses frequencyUnit (estimated number of chart bars per quarter) to offset the label into the future.
frequencyUnit is computed as:
frequencyUnit
≈
Seconds in 12 months
Seconds per chart bar
÷
4
frequencyUnit≈
Seconds per chart bar
Seconds in 12 months
÷4
This is only for visual spacing, not calculation correctness.
Limitations / Notes
The yield series is “step-like” and updates only when new quarterly fundamentals are available.
For some tickers, TradingView fundamentals (especially diluted shares) can be missing or inconsistent; the script protects against this by returning na or falling back to the net yield.
EV-based yield can differ from market-cap-based yield; EV includes debt and cash effects, so it’s closer to an “all-capital” valuation measure.
XAUUSD 15m - Clean Signals (Anti-Spam v3)This **XAUUSD 15m – Clean Signals (Anti-Spam v3)** is a trend-aligned signal indicator built around an **EMA basis + ATR channel**. It aims to produce **fewer but cleaner** long/short prompts. A 7-EMA acts as the basis line, ATR forms inner/outer bands, and a 50-EMA provides a trend filter. By default, it uses **ADX strength filtering** plus a **confirmation candle** rule to avoid choppy conditions and weak breakouts. Signals come in three types: **DR (pullback → reversal back above/below the basis)**, **MR (pierce the inner band then reclaim it)**, and **BO (inner-band breakout, off by default due to over-triggering)**. To control frequency, it adds a **cooldown (minimum bars between signals)** and a strict **arming/reset de-duplication**: after a same-direction signal fires, it won’t fire again until price “resets” by touching the inner band or the basis (user-selectable). A “room to outer band” filter helps prevent chasing near extremes. Overall, it’s designed for disciplined 15-minute momentum-pullback entries, especially during liquid sessions like London.
MTF 4MA Direction Dashboard and TF AlignmentThe MTF 4MA Direction Dashboard is a multi-timeframe trend-alignment tool designed to answer one core trading question:
Are higher and lower timeframes pointing in the same direction — and how strong is that alignment?
Instead of relying on a single chart timeframe, this indicator evaluates directional consistency across five timeframes simultaneously using a fast 4-period moving average. The result is a weighted directional score, expressed as Bull/Bear percentages and summarized with a clear letter grade and interpretation.
This makes the indicator ideal as a trend filter, bias confirmation tool, or higher-timeframe context engine for discretionary and systematic traders alike.
How It Works
For each selected timeframe (default: 1H, 4H, 1D, 1W, 1M):
A 4-period moving average is calculated (user-selectable MA type).
The indicator determines direction by comparing the current MA value to the prior bar:
Rising MA → Bullish
Falling MA → Bearish
Each timeframe contributes to a weighted score, allowing higher timeframes to carry more influence if desired.
The combined result is converted into:
Bull %
Bear %
Letter Grade (A–F)
Plain-English interpretation
All results are displayed in a compact, customizable on-chart dashboard.
Dashboard Metrics Explained
Aligned TFs
Shows how many timeframes are bullish vs bearish.
Bull % / Bear %
Weighted directional confidence across all timeframes.
Grade (A–F)
A structured summary of alignment strength:
A → Strong bullish alignment
B → Constructive bullish bias
C → Transitional / mixed conditions
D → Weak structure
F → Bearish or poorly aligned
Grade Condition & Interpretation
Explicit thresholds and a clear contextual reading of current market structure.
How to Use This Indicator
This is not an entry signal by itself.
It is best used as a context and confirmation tool.
Common use cases include:
✅ Trend Filtering
Only take long trades when Bull % is elevated (e.g., Grade A or B).
✅ Multi-Timeframe Confirmation
Confirm that lower-timeframe setups agree with higher-timeframe structure.
✅ Bias Control
Reduce over-trading during mixed or transitional conditions (Grade C/D).
✅ Risk Management Context
Scale position size or aggressiveness based on alignment strength.
Ideal Trading Conditions
This indicator performs best in:
Trending or structurally developing markets
Swing trading and position trading
Higher-timeframe-aware intraday strategies
Markets where directional follow-through matters more than noise
During highly choppy or mean-reverting conditions, grades will naturally compress toward the middle — providing a visual cue to reduce directional exposure.
Customization & Controls
Select MA type (SMA, EMA, RMA, WMA)
Adjust timeframe importance via custom weights
Fully customizable table colors and position
Toggle dashboard visibility on/off
This flexibility allows the indicator to be adapted to different assets, trading styles, and risk preferences.
Final Notes
The MTF 4MA Direction Dashboard is designed to bring clarity to multi-timeframe analysis by transforming raw directional data into a structured, readable decision framework.
Use it to align trades with structure, avoid fighting dominant trends, and maintain consistency across timeframes.
Cloud Gold TrendTrend Filter (Ichimoku): If the price is above the cloud (Kumo), look only for "Long" signals. If it is below, look only for "Short" signals.
Entry Signal (Bollinger): When the price touches the Lower Band while you are above the Cloud, it could be a great buying point in an uptrend.
Volatility Confirmation: If the Bollinger Bands squeeze within the cloud, get ready for a strong directional move as soon as the price breaks one of the two levels.
GOLD TERTIUM MGC 1mThis indicator is a visual tool for TradingView designed to help you read trend structure using EMAs and highlight potential long and short entries on the MGC 1‑minute chart, while filtering pullbacks and avoiding trades when the 200 EMA is flat.
It calculates five EMAs (32, 50, 110, 200, 250) and plots them in different colors so you can clearly see the moving‑average stack and overall direction. The main trend is defined by the 200 EMA: bullish when price and the fast EMAs (32 and 50) are above it with a positive slope, and bearish when they are below it with a negative slope; if the 200 EMA is almost flat, signals are blocked to reduce trading in choppy markets.
Entry logic looks for a pullback into the 32–50 EMA zone on the previous candle, then requires a trend‑aligned candle to trigger a signal: long when the trend is up, the previous bar retested the EMA zone, and the current bar closes above EMA 32 with a bullish body; short when the trend is down, there was a valid retest, the current bar closes below EMA 32 with a bearish body and EMA 32 is below EMA 50. On the chart, you will see colored EMAs plus green “L” triangles under bars for potential long entries and red “S” triangles above bars for potential short entries, which are meant as visual cues rather than automatic trade instructions
Triple Confirmation with Alerts//@version=5
indicator("Triple Confirmation with Alerts", overlay=true)
// Confirmation 1: ADX Trend Strength
adxlen = input(14, "ADX Length")
dilen = input(14, "DI Length")
= ta.dmi(dilen, adxlen)
trendStrong = adx > 25
uptrend = diplus > diminus and trendStrong
downtrend = diminus > diplus and trendStrong
// Confirmation 2: Stochastic
k = ta.sma(ta.stoch(close, high, low, 14), 3)
d = ta.sma(k, 3)
stochBullish = k > d and k <= d and k < 80
stochBearish = k < d and k >= d and k > 20
// Confirmation 3: Bollinger Bands
bbLength = input(20, "BB Length")
bbMult = input(2.0, "BB Multiplier")
basis = ta.sma(close, bbLength)
dev = bbMult * ta.stdev(close, bbLength)
upper = basis + dev
lower = basis - dev
bbBullish = close > lower and close <= lower
bbBearish = close < upper and close >= upper
// Generate Signals
buySignal = uptrend and stochBullish and bbBullish
sellSignal = downtrend and stochBearish and bbBearish
// Plot
plotshape(buySignal, "Buy", shape.triangleup, location.belowbar, color.green, size=size.small)
plotshape(sellSignal, "Sell", shape.triangledown, location.abovebar, color.red, size=size.small)
// Alerts
alertcondition(buySignal, "Triple Confirmation Buy", "Buy signal generated")
alertcondition(sellSignal, "Triple Confirmation Sell", "Sell signal generated")
VDUB Bands - MTF WMA+ATR Volatility Lanes (6 Alerts)VDUB Bands draws volatility-scaled “trend lanes” around a Weighted Moving Average (WMA) using ATR (or a WMA of True Range). It can display up to four tiers (L1–L4), with higher tiers sourced from higher timeframes to show local structure → higher-timeframe structure on a single chart.
────────────────────────────────────────
1. What it does (plain English)
────────────────────────────────────────
Think of each tier as a lane system around the trend:
• Inner rails = “normal volatility lane” around the WMA
• Outer rails = “extension / extreme zone” for that tier
• Higher tiers (L3/L4) show bigger structure
• Lower tiers (L1/L2) show active lane behavior
Typical interpretation:
• Price inside inner rails → normal variance around the trend lane
• Between inner and outer → stretched, but not extreme
• Outside outer rails → extended vs that tier’s volatility band
────────────────────────────────────────
2) Why it’s useful (and why it’s not a mashup)
────────────────────────────────────────
This is not a bundle of unrelated indicators. Everything serves one cohesive purpose:
• Visualize trend + volatility lanes across multiple time horizons
• Keep rails consistent and readable (levels, fills, outlines)
• Optional multi-timeframe aggregation for structure context
• A compact 6-alert set to catch key transitions without alert spam
────────────────────────────────────────
3) What you see on the chart
────────────────────────────────────────
For each level (L1–L4), you can show:
• Upper/Lower Inner rails
• Upper/Lower Outer rails
• Optional center fill (between outer rails) = operating range
• Optional MA line per tier (off by default to reduce clutter)
• Base WMA line (L1 MA) if enabled
Suggested workflow:
• Start with L1 + L2 only
• Add L3/L4 once you like the structure view
• Use Dynamic Opacity if the chart feels crowded
────────────────────────────────────────
4) How it works (transparent formula)
────────────────────────────────────────
For each tier:
• MA = WMA(source, baseLen × levelMultiplier)
• ATR_like = Wilder ATR (default)
OR WMA(TrueRange, atrLen × levelMultiplier)
Inner rails:
• upperInner = MA + ATR_like × innerMult
• lowerInner = MA - ATR_like × innerMult
Outer rails:
• upperOuter = MA + ATR_like × outerMult
• lowerOuter = MA - ATR_like × outerMult
Tier behavior:
• L1 uses the chart timeframe
• L2–L4 can use user-selected HTFs (defaults: 4H / D / W)
or optional auto-selection
────────────────────────────────────────
5) Multi-timeframe behavior + interpolation
────────────────────────────────────────
• L2–L4 use request.security() with lookahead OFF (no future data).
• HTF bands naturally “step” when the HTF candle confirms.
• Interpolate HTF Bands (optional): visually blends from the prior confirmed HTF value to the current confirmed HTF value to reduce stepping. This is display smoothing, not prediction.
Repaint note:
• If Live Interp (Repaints) is enabled, the HTF lines can update intrabar and may repaint. Keep it OFF for strict non-repainting behavior.
────────────────────────────────────────
6) Auto-select L2/L3/L4 (optional)
────────────────────────────────────────
Two modes:
A) Ladder (deterministic)
• Picks “bigger” timeframes relative to the chart (simple and fast).
B) Score (data-driven)
• Tests candidate timeframes and scores them using:
• Coverage: % of closes inside the OUTER band over Score Lookback
• Width: average outer-band width as a fraction of MA
• Targets: Target Coverage + Target Width
• Weights: Coverage Weight + Width Weight
Performance notes:
• Score mode is heavier (many candidates).
• “Lock auto-select after first pick” is recommended to reduce load and avoid platform limits.
────────────────────────────────────────
7) Alerts (6 total, aggregated across L1–L4)
────────────────────────────────────────
Alerts trigger if ANY tier meets the condition:
• Cross ABOVE an OUTER band
• Cross BELOW an OUTER band
• Cross ABOVE an INNER band
• Cross BELOW an INNER band
• Price is OUTSIDE ABOVE an OUTER band
• Price is OUTSIDE BELOW an OUTER band
These are intentionally aggregated to keep the alert count small while catching meaningful transitions.
────────────────────────────────────────
8) Limitations & transparency
────────────────────────────────────────
• Indicator only (not a strategy). No performance claims.
• MTF values update when the higher timeframe candle confirms.
• Interpolation is visual smoothing; it does not forecast.
• Non-standard chart types (Heikin Ashi/Renko/etc) may behave differently from standard candles.
• If you enable repainting options, signals/levels may change intrabar.
────────────────────────────────────────
9) Credits/reuse disclosure
────────────────────────────────────────
• Conceptual inspiration: VDUB and the community “VDUB_BINARY_PRO_3_V2” idea of WMA ± TR/ATR × multipliers.
• This version is a reimplementation + extension, adding:
o Multi-tier architecture (L1–L4)
o Higher-timeframe sourcing + optional interpolation
o Optional scoring-based timeframe selection
o Dynamic opacity + streamlined plotting
o Aggregated 6-alert set
No code was copied directly from the older script; this is a rewritten implementation with additional features and different structure.
www.tradingview.com
Fibonacci + RSI - StrategyOverview
This is an intraday mean-reversion strategy designed for short timeframes (1–30 minutes).
It combines volatility-based Fibonacci bands with RSI momentum signals to identify temporary price extremes and trade pullbacks back toward fair value.
The strategy trades both long and short, uses limit entries, a manual exit logic, and a hard stop-loss as risk protection.
Market Context
The strategy assumes that, on intraday timeframes:
price frequently deviates from its short-term fair value,
extreme deviations tend to revert,
momentum (RSI) can confirm exhaustion.
It is not a trend-following system.
Trades are taken against short-term extremes, not in the direction of breakouts.
Indicators Used
1. Fibonacci Volatility Bands
The bands are calculated using:
VWMA (Volume Weighted Moving Average) as the central price,
Standard Deviation as a volatility measure,
a multiplier to create upper and lower bands.
Key levels:
Upper Band (fu1) – overextended price zone
Lower Band (fd1) – oversold price zone
Intermediate targets (fu764 / fd764) – mean-reversion profit targets
These bands behave similarly to dynamic volatility channels.
2. RSI (Relative Strength Index)
RSI length: typically 14
Oversold level: 30
Overbought level: 70
The strategy uses RSI crossovers to confirm momentum reversal:
crossing up from oversold → potential long
crossing down from overbought → potential short
Entry Rules
Long Entry
A long position is considered when:
Price trades below the lower Fibonacci band (fd1)
RSI crosses upward from the oversold level
Price is still below the predefined upside target
The trade is entered using a limit order at the candle close.
Short Entry
A short position is considered when:
Price trades above the upper Fibonacci band (fu1)
RSI crosses downward from the overbought level
Price is still above the predefined downside target
The trade is entered using a limit order at the candle close.
Exit Rules
Manual Exit (Primary Exit)
Positions are closed manually when price reaches predefined Fibonacci target levels:
Long: price moves back up into the target zone
Short: price moves back down into the target zone
This exit represents the mean-reversion objective of the strategy.
Stop-Loss (Risk Protection)
A hard stop-loss is always active to protect against adverse moves.
Long stop: below entry price
Short stop: above entry price
The stop is calculated as a fixed percentage (or ATR-based in later versions) from the entry price.
The stop-loss is not the primary exit, but a safety mechanism.
Order Management Philosophy
Limit entries are used to avoid market slippage.
Manual exits control trade logic.
Stop-loss exits control risk only.
Only one position per direction is managed at a time.
Alerts are generated at signal or entry time for automation or monitoring.
Risk & Characteristics
Designed for frequent, small trades
Low average drawdown per trade
Performance depends heavily on:
volatility regime
correct stop sizing
disciplined risk management
Without proper position sizing, the strategy must not be traded live.
Suitable Markets
Forex pairs
Indices
Liquid crypto pairs
Best performance is expected in ranging or mildly trending markets.
Summary
This strategy attempts to exploit short-term price overextensions by combining volatility bands with momentum confirmation.
It relies on mean reversion, controlled risk, and disciplined execution rather than large directional moves.






















