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")
지표 및 전략
Disaster SL & TP by refhowto set disaster stoploss according to asr, also eases position sizing to your depo level
KCP ATR + EMA Bands [Dr. K. C. Prakash]📊 KCP ATR + EMA Bands
KCP ATR + EMA Bands is a trend-responsive volatility channel indicator that combines the Exponential Moving Average (EMA) with Average True Range (ATR) to identify trend direction, dynamic support & resistance, trade zones, and extreme price conditions.
It is designed for intraday, swing, and positional trading, especially in indices, futures, and high-liquidity stocks.
🔧 How the Indicator Works
1️⃣ EMA – Trend Anchor
The EMA (default: 21) acts as the core trend line:
Price above EMA → bullish bias
Price below EMA → bearish bias
2️⃣ ATR – Volatility Engine
The ATR measures real-time volatility and expands or contracts the bands automatically:
High volatility → wider bands
Low volatility → tighter bands
This makes the indicator adaptive, unlike fixed-width channels.
3️⃣ Inner Bands – Trade Zones
Constructed using ATR × 1.0
Represent high-probability pullback and continuation zones
Useful for:
Pullback entries
Trend continuation trades
Mean-reversion setups within trend
4️⃣ Outer Bands – Extreme Zones
Constructed using ATR × 2.0
Represent price extremes
Ideal for:
Profit booking
Reversal watch zones
Stop-loss reference levels
🎨 Visual Design (Professional)
🟢 Green bands → bullish zones & support
🔴 Red bands → bearish zones & resistance
⚪ Gray EMA → neutral trend reference
Clean fills help identify bullish and bearish pressure zones without clutter.
📈 Trading Applications
✔ Trend Trading
Buy on pullbacks near lower inner band when price is above EMA
Sell on pullbacks near upper inner band when price is below EMA
✔ Breakout Trading
Strong closes beyond inner bands indicate momentum expansion
Breaks beyond outer bands signal exhaustion or strong continuation
✔ Risk Management
Inner bands → trailing stop reference
Outer bands → hard stop or target zones
⏱️ Best Timeframes
5m / 15m → Intraday trading
30m / 1H → Swing trading
Daily → Positional trading
🏆 Why This Indicator Stands Out
✔ Combines trend + volatility in one tool
✔ Adaptive to market conditions
✔ Reduces noise compared to fixed bands
✔ Clear visual guidance for entries, exits & risk
✔ Works across asset classes
⚠️ Important Note
This indicator performs best in trending or expanding volatility markets.
Always confirm trades with price action, volume, or higher-timeframe bias.
KCP RSI + EMA Trend [Dr. K. C. Prakash]KCP RSI + EMA Trend
A professional, low-noise momentum indicator built on Volume-Weighted RSI and EMA trend confirmation, designed to filter false signals and capture high-probability trend moves.
Key Highlights (in simple terms):
Volume-Weighted RSI (VWRSI): Gives more importance to high-volume price moves, reducing weak signals.
EMA-14 on RSI: Confirms momentum direction and avoids premature entries.
HTF RSI Filter (Auto): Aligns trades with higher-timeframe trend (5m→15m, 15m→1H).
Strong Anti-False Filters: Uses RSI slope, range detection, and volume strength.
Clear Zones: Only 20 / 80 extreme levels for clean overbought–oversold structure.
Signals:
BUY: RSI crosses above 50 with volume + HTF trend confirmation
SELL: RSI crosses below 50 with volume + HTF trend confirmation
Best Use:
✔ Intraday & scalping (5m / 15m)
✔ Trend-following entries
✔ Avoiding sideways market traps
Ideal for: Traders who want clean, disciplined signals without over-trading.
BD SessionsSession boxes indicator for intraday charts.
Highlights up to four customizable market sessions using transparent boxes with clearly defined high/low ranges and labels.
Each session can be individually configured by name, time, timezone, and color.
Rolling Period Drawdownwork in progress, will edit in future, trying to get an auto updating draw down indicator.
CIRRUS strategyVWAP EMA CROSS VOLUME STRATEGY WITH TIME FILTER
with this indicator you will be able to use a free strategy using selected volume , emas and vwaps using the timeframe filter too
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.
Level Targeting Heatmap (Effort -Targets) Level Targeting — Volume-Based Heatmap
Level Targeting visualizes price zones where the market previously approached with elevated relative volume.
These zones represent targets, not signals.
The indicator is built on a simple idea:
price moves with effort, and effort is expressed through volume.
⸻
What it shows
• Heatmap zones where price was approached on high relative volume
• Zones represent price ranges, not exact levels
• Stronger zones indicate repeated market interest
• Separate visualization for zones above and below current price
• Optional focus on nearest targets or recently active zones
⸻
How to read it
• Levels = targets
• Volume = effort
• The path to a level matters more than the level itself
• Volume anomalies are questions, not buy/sell signals
• The market is always being driven, held, or distributed
⸻
What this indicator is
✔️ A market context filter
✔️ A statistical heatmap of historical market attention
✔️ A tool to understand where the market has previously paid to be
⸻
What this indicator is not
✘ Not a buy/sell signal
✘ Not predictive on its own
✘ Not a trading system
⸻
Design philosophy
This indicator adapts naturally to timeframe and chart scale.
Zones may change with zoom level — this is intentional and reflects contextual market structure, not repainting.
Designed for analysis, not automation.
EMA Touch Alert RealtimeThis is an alert that notifies you when you touch the EM A you set yourself.
Crash Prevention OpenSource by exp3rtsOpen Source Version - no updates!
Crash Prevention OpenSource by exp3rts – Automated Exit Strategy for TradingView
This indicator allows you to automatically close positions based on dynamic price levels derived from the previous candle with a configurable offset. Perfect for risk management and automated “hard stop” exits.
Key Features:
Flexible Exit Directions: Choose to trigger exits for Long, Short, or Both directions.
Dynamic Exit Levels: Lines are automatically calculated above/below the previous candle plus/minus a user-defined offset in points.
Visual Cues: Clear arrows indicate the exact bar where price touched the exit line.
Session-Independent: Works on any chart and timeframe without manual adjustments.
Webhook Alerts: Sends JSON alerts on touch, enabling integration with external systems or bots.
Auto-Close Logic: Ensures positions are closed immediately when the threshold is breached, keeping trades in check.
How it works:
For Long exits, the line is drawn below the previous bar’s low minus the offset.
For Short exits, the line is drawn above the previous bar’s high plus the offset.
When price crosses the line, the position is closed, an arrow is plotted on the chart, and an alert is fired.
Ideal for traders who want strict stop management or automated exit conditions while keeping visual clarity on the chart.
TraderSpace Previous CloseThis indicator is to simply draw the previous close in the timeframe you are working on.
Price Levels [TickDaddy] just some fixes on the info box, fixed the dollar calculation between levels on agriculture products.
Multi-Timeframe Levels (Daily & Weekly)// ═══════════════════════════════════════════════════════════════════════════════
// 📊 MULTI-TIMEFRAME LEVELS INDICATOR
// ═══════════════════════════════════════════════════════════════════════════════
//
// ┌─────────────────────────────────────────────────────────────────────────────┐
// │ 🎯 LEVEL COLORS & MEANING │
// ├─────────────────────────────────────────────────────────────────────────────┤
// │ 🟡 YELLOW (PDH/PDL) = Previous Day High/Low - PRIMARY intraday S/R │
// │ 🟣 PURPLE (PD2H/PD2L) = 2 Days Ago High/Low - SECONDARY confluence │
// │ 🔴 RED (PWH/PWL) = Previous Week High/Low - MAJOR swing levels │
// └─────────────────────────────────────────────────────────────────────────────┘
//
// ═══════════════════════════════════════════════════════════════════════════════
// ⚡ SCALPING STRATEGY (1-5 min charts)
// ═══════════════════════════════════════════════════════════════════════════════
//
// 📍 ENTRY ZONES:
// • Look for price entering 🟡 YELLOW zones (PDH/PDL)
// • Best setups: Price rejects from zone with strong candle pattern
// • Extra confirmation: Zone overlaps with 🟣 PURPLE (confluence)
//
// ✅ BUY SCALP:
// 1. Price touches PDL zone (yellow) from above
// 2. Wait for bullish rejection candle (hammer, engulfing)
// 3. Enter long with stop below the zone
// 4. Target: Mid-range or PDH zone
//
// ❌ SELL SCALP:
// 1. Price touches PDH zone (yellow) from below
// 2. Wait for bearish rejection candle (shooting star, engulfing)
// 3. Enter short with stop above the zone
// 4. Target: Mid-range or PDL zone
//
// 💡 SCALP TIPS:
// • Avoid trading THROUGH zones - wait for rejection
// • Tighter stops when trading during high volume (9:30-11:00 AM)
// • Skip setups if price is choppy inside the zone
//
// ═══════════════════════════════════════════════════════════════════════════════
// 📈 SWING TRADING STRATEGY (15min - Daily charts)
// ═══════════════════════════════════════════════════════════════════════════════
//
// 📍 HIGH PROBABILITY ZONES:
// • 🔴 RED zones (PWH/PWL) = Primary swing entries
// • Best setups: 🔴 RED + 🟡 YELLOW confluence (weekly + daily align)
// • Monster setups: All 3 colors stack at same price area
//
// ✅ SWING LONG:
// 1. Price drops into PWL zone (red) - weekly support
// 2. Bonus: PDL (yellow) is nearby = confluence
// 3. Wait for daily/4H bullish reversal pattern
// 4. Enter with stop below the zone cluster
// 5. Target: PWH or next major resistance
//
// ❌ SWING SHORT:
// 1. Price rallies into PWH zone (red) - weekly resistance
// 2. Bonus: PDH (yellow) is nearby = confluence
// 3. Wait for daily/4H bearish reversal pattern
// 4. Enter with stop above the zone cluster
// 5. Target: PWL or next major support
//
// 💡 SWING TIPS:
// • Weekly levels (red) have highest reversal probability
// • More confluence = higher win rate, use larger position
// • Let winners run when breaking through weekly levels
//
// ═══════════════════════════════════════════════════════════════════════════════
// 🚀 BREAKOUT STRATEGY
// ═══════════════════════════════════════════════════════════════════════════════
//
// 📍 BREAKOUT SIGNALS:
// • Price closes ABOVE PDH/PWH with volume = Bullish breakout
// • Price closes BELOW PDL/PWL with volume = Bearish breakout
//
// ✅ TRADING BREAKOUTS:
// 1. Wait for candle CLOSE beyond the level (not just wick)
// 2. Volume should be above average
// 3. Enter on retest of broken level (now becomes support/resistance)
// 4. Stop: Below/above the breakout candle
//
// ⚠️ AVOID FALSE BREAKOUTS:
// • Don't chase - wait for pullback to broken level
// • Skip if breakout happens on low volume
// • Be cautious of breakouts into higher timeframe zones
//
// ═══════════════════════════════════════════════════════════════════════════════
// 📋 QUICK REFERENCE
// ═══════════════════════════════════════════════════════════════════════════════
//
// │ Level │ Color │ Best For │ Hold Time │ Stop Size │
// ├──────────┼────────┼─────────────────┼──────────────┼─────────────┤
// │ PDH/PDL │ 🟡 │ Scalps/Day │ Minutes-Hours│ Tight │
// │ PD2H/PD2L│ 🟣 │ Confluence │ Hours │ Medium │
// │ PWH/PWL │ 🔴 │ Swings │ Days-Weeks │ Wide │
//
// 🔥 GOLDEN RULE: Never fight the weekly level (red) - it's the boss!
//
// ═══════════════════════════════════════════════════════════════════════════════
Anchored OBV + A/DAnchored OBV + A/D is a single-pane indicator that allows On-Balance Volume (OBV) and Accumulation/Distribution (A/D) to be plotted together using a period-anchored approach.
OBV and A/D are cumulative by nature, which makes their full-history absolute values arbitrary and often incomparable when plotted side-by-side . This script addresses that limitation by anchoring each indicator to a user-defined period (daily, weekly, monthly, etc.) and plotting their relative change from that baseline rather than their raw values. The result is a comparison that preserves each indicator’s internal structure (trends, inflections, and divergences) while minimizing scale conflicts.
How it Works
At the start of each selected anchor period, the script records the current OBV and A/D values as baselines. All subsequent values are plotted as changes relative to those baselines:
- Percent mode measures the % change from the baseline.
- Delta mode measures the absolute change from the baseline.
Optional anchor markers and a zero line make it easy to see when resets occur and how each indicator behaves relative to the period’s starting point.
Advantages vs using OBV and A/D separately
- Direct visual comparison: Both indicators are on the same anchored scale, making relative movement immediately readable.
- Preserved analytical structure: Trends, inflections, and divergences remain intact; time-based shape is not distorted.
- Cleaner workflow: One indicator, one pane, and less chart clutter.
Interpretation
- Values above zero indicate net accumulation or positive volume pressure since the anchor.
- Values below zero indicate net distribution or negative volume pressure since the anchor.
- Trend confirmation: Rising price accompanied by rising anchored OBV and A/D suggests healthy participation.
- Price Divergence: Price making new highs or lows while one or both indicators fail to confirm can indicate weakening participation or a potential change in behavior.
- OBV vs A/D Interaction: When both move together, volume and close-location effects broadly agree. When they diverge, it highlights differences between net up/down volume (OBV) and intrabar accumulation/distribution (A/D).
Warnings!
- Percent mode can become visually unstable when baseline OBV or A/D values are near zero due to division effects inherent in percent-change calculations.
- It is not recommended to interpret structure across periods as each period is relative to a different baseline. Structure is not preserved across periods - only within each individual period.
Credits
This script is inspired by Multi-Ticker Anchored Candles (MTAC) by @SamRecio . MTAC's anchored-baseline concept and open-source nature provided an important conceptual foundation for adapting the same idea to OBV and A/D. Many thanks to @SamRecio for publishing his work openly.
Bull Engulf @ Rolling Support + HTF Confluence (2-8w) This indicator is designed to identify high-probability bullish reversal setups that occur at proven support levels, with confirmation from higher timeframes.
It is built for swing traders targeting 2–8 week moves, prioritizing win rate and trade quality over frequency.
The script focuses on institutional-style price behavior: pullbacks into support, seller exhaustion, and clear buyer confirmation before entry.
Core Logic
A signal is generated only when all of the following align:
Bullish Engulfing Candle
Current candle fully engulfs the prior candle’s body
Optional filters ensure strong momentum (close above prior high, meaningful candle size)
Rolling-Low Support
Price must be near a rolling support level based on recent swing lows
Support adapts dynamically to market structure
Higher Timeframe (HTF) Confluence
Daily setups can require alignment with weekly and monthly support
Weekly setups can require monthly support
This dramatically reduces low-quality signals
Strongest-Only Scoring System
Each setup is scored based on:
Proximity to support
HTF confluence
Candle strength
Volume and volatility filters
Only setups meeting a minimum score threshold are shown
Signals & Labels
SETUP / TOP label
Appears when a valid bullish engulfing forms at support with HTF confirmation.
ENTRY label
Appears when price breaks above the high of the engulfing candle (confirmation entry).
Support Lines
Local (rolling) support
Weekly and Monthly support (when applicable)
Each label includes:
Timeframe
Score
Support distance
Suggested risk level
A standardized options structure for 2–8 week trades
Intended Trading Style
Timeframe: Daily and Weekly charts
Trade Duration: ~2–8 weeks
Market Type: Stocks (best on liquid, mid/large-cap names)
Approach:
Wait for price to come to support
Wait for buyers to prove control
Enter only after confirmation
This indicator is not designed for:
Day trading
Chasing breakouts
High-frequency signals
Fewer signals is intentional.
How to Use
Apply the indicator to Daily or Weekly charts
Wait for a SETUP/TOP label at support
Enter only after the ENTRY confirmation (break above engulfing high)
Use the displayed risk level to define invalidation
Let the trade develop over multiple weeks
Alerts can be enabled for:
Pre-market watchlist signals (yesterday’s setups)
Confirmed signals at the close
Entry confirmation
Why This Works
Markets often reverse at support, not randomly.
By combining:
Structural support
Price-action confirmation
Higher timeframe alignment
this indicator filters out most noise and focuses on areas where larger participants are likely active.
Disclaimer
This indicator is for educational and analytical purposes only.
It does not constitute financial advice. Always manage risk appropriately.
ICT/SMC HUDOverview
This indicator is an ICT/SMC-inspired market structure tool that detects:
Swing Structure (pivot-based)
BOS (Break of Structure) and CHoCH (Change of Character)
Liquidity Sweeps (buy-side & sell-side)
Premium/Discount filter using a simple equilibrium (EQ) midpoint
A Hold Score (0–5) system calculated from a higher timeframe (HTF)
Optional TP/SL visualization box (with TP2 expansion when Hold Score is strong)
⚠️ This is an educational tool, not a guaranteed trading system.
Core Logic (Where signals come from)
This script builds a simplified ICT/SMC framework using 3 layers:
1) Market Structure via Swings (Pivot High/Low)
The script finds swing highs/lows using:
ta.pivothigh(high, swingLen, swingLen)
ta.pivotlow(low, swingLen, swingLen)
These swings become the reference points for structure breaks.
2) BOS / CHoCH Detection
BOS Up = price closes above the last swing high
BOS Down = price closes below the last swing low
trend updates to 1 (bullish) or -1 (bearish) based on BOS
CHoCH triggers when BOS occurs against the current trend
CHoCH Up = trend was bearish, then BOS Up happens
CHoCH Down = trend was bullish, then BOS Down happens
3) Liquidity Sweep + Premium/Discount Filter
Sell-side sweep: low breaks below last swing low, but closes back above it
Buy-side sweep: high breaks above last swing high, but closes back below it
Equilibrium (EQ) midpoint is:
(lastSwingHigh + lastSwingLow) / 2
Discount = price below EQ
Premium = price above EQ
Signal Rules (Buy / Sell)
Buy Signal
Sell-side sweep + (CHoCH Up or BOS Up)
OR
BOS Up while price is in Discount
Sell Signal
Buy-side sweep + (CHoCH Down or BOS Down)
OR
BOS Down while price is in Premium
Hold Score System (0–5) — HTF confirmation
The script calculates a Hold Score from HTF using 5 checks:
HTF EMA Bias
Bullish hold bias: EMA Fast > EMA Mid
Bearish hold bias: EMA Fast < EMA Mid
Volatility Expansion
Uses HTF Bollinger Band width; if width is increasing, expansion is “OK”
Mid Acceptance
HTF close relative to HTF BB basis (SMA)
Follow-through after Entry
Requires N consecutive bars closing in favor of the entry direction
No Opposite Break
Avoid holding if opposite BOS/CHoCH appears
Hold Score = sum of the 5 checks (0–5)
TP/SL Box (Optional)
When a new Buy/Sell signal occurs:
Entry is set at current close
SL uses:
Swing-based stop (lowest/ highest of last N bars)
optional ATR buffer
TP1 and TP2 are set using Risk:Reward ratios
TP2 Expansion (Optional)
If Hold Score ≥ threshold:
TP2 RR increases by extraRRonHold
Can be set to expand only (never shrink)
Auto-hide TP/SL Drawings (Optional)
If enabled, the TP/SL box/lines/labels will automatically disappear after N bars.
This is useful for clean charts while still keeping Hold Score logic running.
Best Use Cases
✅ Works best during liquidity sessions:
London Killzone
New York Killzone
✅ Recommended timeframes:
Structure: 15m / 1h
Entry refinement: 5m / 1m
Hold Score HTF: 1h or 4h
Inputs Guide (Quick)
Swing length (Structure): controls swing sensitivity (higher = fewer swings)
Hold Score HTF: HTF used for Hold Score confirmation
TP/SL Box: visualization tool, not order execution
Auto-hide: removes drawings after N bars for clean charts
TP2 Expand: increases TP2 target when Hold Score is strong
Disclaimer
This indicator does not place trades and does not guarantee profits. Always manage risk, backtest, and validate with your own strategy.
Inside/Outside Bars---
Inside/Outside Bars Detector
This indicator identifies and visualizes Inside Bars and Outside Bars (Engulfing Bars) on your chart, helping traders spot potential breakout and consolidation patterns.
What are Inside/Outside Bars?
• Outside Bars (Outer Bars): Candles that break BOTH the high AND low of the previous candle. These represent periods of increased volatility and potential trend continuation or reversal. Marked with red triangle arrows by default.
• Inside Bars (Inner Bars): Candles where NEITHER the high NOR low breaks the previous candle's range. These represent consolidation and often precede significant price moves. Marked with orange triangle arrows by default.
Features:
✓ Visual arrows above bars for easy identification
✓ Fixed pixel-size arrows that remain visible at any chart zoom level
✓ Statistics table showing counts of outer bars, inner bars, and total bars analyzed
✓ Fully customizable with multiple settings
Customization Options:
• Toggle outer bars and inner bars independently
• Customize arrow colors for each pattern
• Show/hide the statistics table
• Adjust calculation bars (1000 default, max 5000)
• Set to 0 to analyze all available bars up to 5000
How to Use:
Inside bars often indicate consolidation before a breakout, while outside bars suggest increased volatility and potential momentum shifts. Use these patterns in conjunction with your trading strategy to
identify entry/exit points or to confirm trend direction.
---
Yen Carry Stress Badge Indicator Overview
This dashboard measures stress in the yen‑carry cycle using price‑based signals from FX, volatility, and global equity markets. Each component is scored based on its current condition, and the combined total reflects whether global markets are in a risk‑on expansion, transition phase, or risk‑off contraction.
Dashboard Components & Indication Levels
USDJPY Trend
Bullish (0 stress): USDJPY above 50‑day MA; yen weakening; carry trade stable
Bearish (1 stress): USDJPY below 50‑day MA; yen strengthening; unwind risk rising
JPY Volatility (ATR%)
Low (0 stress): ATR% < 0.8; stable FX environment
Medium (1 stress): ATR% 0.8–1.2; early instability
High (2 stress): ATR% > 1.2; elevated yen‑carry stress
VIX (Equity Volatility)
Low (0 stress): VIX < 18; calm markets
Medium (1 stress): VIX 18–25; rising uncertainty
High (2 stress): VIX > 25; risk‑off conditions
VWO Strength (Emerging Markets)
Strong (0 stress): VWO/VTI above 50‑day MA; EM participating; liquidity healthy
Weak (1 stress): VWO/VTI below 50‑day MA; EM lagging; early stress signal
VEA Strength (Developed Markets)
Strong (0 stress): VEA/VTI above 50‑day MA; broad global participation
Weak (1 stress): VEA/VTI below 50‑day MA; global breadth narrowing
Total Stress Score (0–10)
0–3: Low Stress (Risk‑On Expansion)
4–6: Moderate Stress (Transition Phase)
7–10: High Stress (Risk‑Off Contraction)
eBacktesting - Learning: Equal Highs & LowseBacktesting - Learning: Equal Highs & Lows helps you spot Equal Highs (EQH) and Equal Lows (EQL) — price areas where the market has paused or reacted multiple times at nearly the same level.
These zones often act like “magnets” because many traders place stops and pending orders around them. When price returns, it can lead to a quick grab (a sweep) and reversal, or it can break through and continue. Learning to recognize EQH/EQL can improve your timing, help you anticipate where volatility may appear, and give you clearer areas for invalidation and targets.
These indicators are built to pair perfectly with the eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance.
Educational use only. Not financial advice.
[codapro] PressureBox Breakout Engine Full Breakdown PressureBox Breakout Engine is a revamped and expanded version of a prior post. This release includes a more educational breakdown and deeper configuration guidance, in response to user requests for clarity on how the system works and how to use it effectively.
This tool is a compression-detection and breakout-anticipation engine that blends Donchian channel logic, ATR filtering, and a proprietary “pressure” oscillator derived from volume-weighted momentum. It visually highlights real-time “compression zones” with dynamic shaded boxes and flags potential breakouts using configurable BUY/SELL markers.
It’s designed to help traders identify and analyze different market setups — including potential trend continuations, volatility breakouts, and range fade conditions — by surfacing key compression and pressure states visually on the chart.
Key Features
*Dynamic Compression Boxes: drawn when Donchian range < smoothed ATR threshold
*Breakout Flags: BUY/SELL alerts when price breaks outside compression range
*Custom Volume Pressure Score: MFI + CMF hybrid from -1 to +1
*Candle Overlap Filter: optional % overlap indicator for noise detection
*Adaptive Box Shading: transparency adjusts to pressure strength
*Clean Re-Anchoring Logic: boxes reset only when compression ends
*Full User Control: configure inputs for box length, blend logic, signal rules
How It Works
Compression Box Logic
A box is drawn when the Donchian range (e.g. high - low over N bars) falls below a moving ATR threshold.
The box dynamically extends and adjusts height/width until a breakout or timeout occurs.
Users can toggle whether Donchian uses highs/lows or closes and whether the box shows a midline.
Breakout Signal Logic
BUY signal: Close breaks above box high, with optional compression condition on the prior bar.
SELL signal: Close breaks below box low.
Signals use ATR-based offsets for clean separation on the chart.
Pressure Score Logic
Pressure is a weighted blend between:
MFI (Money Flow Index) — momentum-based
CMF (Chaikin Money Flow) — flow-based
The result is a smoothed -1 to +1 score that represents volume pressure.
This is used both for:
Box transparency (strong pressure = darker shading)
Optional overlay plot
Overlap Mode
Calculates smoothed % of how much recent candles overlap.
Useful for filtering non-directional chop and low-quality breakouts.
Can be toggled on/off as a separate overlay line.
⚙️ Default Optimized Settings
Setting Value
Donchian Length 8
ATR Length 13
ATR Multiplier 3.1
ATR SMA Length 21
Max Extend Bars 55
MFI Length 25
CMF Length 55
Blend Weight (MFI:CMF) 0.5
These are optimized for detecting tight consolidations and explosive breakout potential, especially on intraday 5m–15m charts across futures, forex, and crypto.
How to Use It
Watch for the compression box to form — this marks a squeeze zone.
Breakouts with BUY/SELL flags are most reliable after long compressions.
Adjust the Blend Weight to prioritize MFI (momentum) or CMF (flow).
Use Overlap % to filter sideways markets or low-quality signals.
Combine with support/resistance, VPA tools, or trend filters for layered setups.
Disclaimer
This tool was created using the CodaPro Pine Script architecture engine — designed to produce robust trading overlays, educational visuals, and automation-ready alerts.
It is provided strictly for educational purposes and does not constitute financial advice. Always backtest and demo before applying to real capital.






















