Heikin Ashi 3-Bar Momentum Alert by nqbrooksTrying some stuffz out yahuuur, HIKEYNASHIEEEHH 3 bar -4h momemtum aelerTT
Candlestick analysis
Auto Trendlines**Overview**
- Automatically draws uptrend and downtrend lines by connecting the latest two pivot highs and pivot lows within a symmetric window.
- Designed for clean, reactive trend visualization with minimal user configuration.
**Features**
- Auto-detection of swing pivots and dynamic line updates on new confirmations.
- Optional right extension for forward projection.
- Built-in line styles: `Solid`, `Dashed`, `Dotted`.
- Customizable colors and line width.
- Lightweight and fast for intraday or higher timeframes.
**Inputs**
- `Calculation Period (odd)`: Window size for pivot detection; must be odd to ensure a unique center bar.
- `Uptrend Line Color`: Color for lines drawn from pivot highs.
- `Downtrend Line Color`: Color for lines drawn from pivot lows.
- `Line Style`: `Solid`, `Dashed`, or `Dotted`.
- `Line Width`: Thickness of the trendlines.
- `Extend Right`: Toggle to extend lines into the future.
**How It Works**
- Uses `ta.pivothigh` and `ta.pivotlow` with symmetric left/right bars derived from the chosen period.
- An odd period guarantees a single center bar (`left = right`), aligning the pivot’s time anchor precisely.
- Once a pivot is confirmed (after the required right bars), the script updates or redraws the uptrend and downtrend lines to connect the last two pivots.
**Notes**
- Larger periods produce smoother, more reliable lines; smaller periods react faster but may be noisier.
- Pivot confirmation requires future bars; lines update when new pivots form, reflecting the most recent structure.
- This script focuses on visual analysis and does not include alerts.
**Compatibility**
- Pine Script v6
- Overlay on price chart (`overlay=true`)
- Optimized for TradingView publication with minimal performance overhead.
**Keywords**
- Trendlines, Auto Trendlines, Pivots, Swing High/Low, Technical Analysis, Pine Script v6
Orderflow Label with OffsetThis Pine Script automatically displays orderflow labels on the chart to visualize the current market structure and potential breakout or reversal zones.
It compares the current candle’s high and low with those of the previous cycle (e.g., 90 minutes) and places descriptive labels that highlight possible bullish or bearish behavior.
Functionality & Logic (Step-by-step explanation)
Inputs:
cycleLength: Defines the duration of one “cycle” in minutes (for example, 90 minutes).
labelXOffset: Moves the label a few bars to the right, so it doesn’t overlap the current candle.
labelStyleOffset: Controls whether labels appear pointing to the right or left side of the chart.
Previous Cycle:
The script uses request.security to retrieve the high and low from the previous cycle timeframe.
These act as reference points (similar to key levels or market structure highs/lows).
Current Candle:
The script reads the current bar’s high, low, and close values for comparison.
Orderflow Conditions:
bullSupport: The current high and close are both above the previous high → bullish breakout (strong continuation).
bullReject: The high breaks above the previous high but closes below → bullish rejection / possible top.
bearRes: The low and close are both below the previous low → bearish breakdown (continuation to downside).
bearReclaim: The low goes below the previous low but closes above → bearish reclaim / possible reversal.
Label Logic:
Before creating a new label, the previous one is deleted (label.delete(flowLbl)) to avoid clutter.
The label’s X position is shifted using xPos = bar_index + labelXOffset.
The style (left/right) is set based on the user’s preference.
Displayed Labels:
🟢 Bullish Breakout → price closes above the previous cycle high.
🟠 Bullish Rejection → fake breakout or possible top.
🔴 Bearish Breakdown → price closes below the previous cycle low.
🟡 Bearish Reclaim → failed breakdown or potential trend reversal.
⚪ Neutral (Wait) → no clear signal, advises patience and watching for setups (like CHoCH or FVGs).
Visual Behavior:
The labels appear slightly to the right of the bar for better visibility.
The color and text alignment dynamically adjust depending on whether the label is pointing left or right.
Algo BOT 4.0 Strategy Description:
Algo BOT 4.0 is a sophisticated multi-timeframe trading strategy that identifies high-probability reversal points using technical confluence. The strategy combines:
Core Components:
Multi-timeframe Pivot Analysis: Daily, Weekly, and Monthly pivot points with CPR (Central Pivot Range)
RSI Momentum Filter: Higher timeframe RSI (user-configurable) for trend bias
VWAP Dynamics: Volume-weighted average price with moving averages
Fibonacci Strength Analysis: Candle close positions relative to 38.2% Fib levels
Advanced Cooldown System: Prevents overtrading with dynamic gap requirements
Entry Logic:
Long Entries: RSI < 57 with bullish candle structure at key support levels
Short Entries: RSI > 43 with bearish candle structure at key resistance levels
Zone-based Filtering: Identifies trades near significant pivot points (D PP, D R1, D S1, W PP, M PP, VWAP)
Risk Management:
Dynamic cooldown periods between trades
Gap-based entry optimization to ensure sufficient price movement
Extreme price tracking for better entry timing
Multi-condition validation to reduce false signals
Alert System:
Real-time alerts for both long and short entries
Includes price, RSI value, and zone information
Visual signals with triangle markers on chart
Comprehensive status monitoring with cooldown timer
Real-Time Risk Calculator (v6) - FixedRisk calculator based on account size and a low of day stop loss
特典インジケーター (ボリンジャーバンド+移動平均線)BTCやSP500向けのチャート解析ツールです。
- ボリンジャーバンド(オレンジ上下線、水色中央線)
- EMA5(青線)、EMA25(黄色線)、EMA200(赤線)
使い方のポイント
- トレンド判定: EMA200(赤)より上なら上昇基調、下なら下降基調が優勢。
- 短中期の勢い: EMA5(青)とEMA25(黄)のゴールデンクロス/デッドクロスで勢いの変化を確認。
- ボラティリティと逆張り: ボリンジャーバンドの上限/下限タッチは伸びの継続か反転の初動かを、中央線(基準・水色)復帰でフォロー確認。
- 時間軸: 1時間~4時間は短期、日足は中期のトレンド確認に適合。複数時間軸で整合性を取ると精度が上がります。
ツールの解説
ボリンジャーバンド(Bollinger Bands)
ボリンジャーバンドは、20期間の単純移動平均(SMA)を中央線とし、その上下に標準偏差×2のバンドを配置します。
- 上限バンド:相場の上振れが過熱している可能性を示すレジスタンスライン
- 下限バンド:相場の下振れが過冷却している可能性を示すサポートライン
- バンド幅の拡大:ボラティリティ上昇局面を示唆
- バンド幅の収縮:レンジ相場や転換前の低ボラティリティを示唆
---------------------
EMA5(Exponential Moving Average 5)
EMA5は直近5本の価格により重み付けされた指数移動平均です。
- 非常に短期的な価格の変化を捉え、エントリーや還流のタイミングに敏感
- EMA25とのクロスオーバーで、短期モメンタムの変化を判断
EMA25(Exponential Moving Average 25)
EMA25は中期的なトレンドを表す指数移動平均です。
- EMA5との位置関係でトレンドの強さや方向性を評価
- 価格がEMA25を上回れば短期的な買い優勢、下回れば売り優勢
EMA200(Exponential Moving Average 200)
EMA200は長期トレンドの大局を示す指数移動平均です。
- プロのトレーダーにも重要視されるサポート/レジスタンスライン
- 価格がEMA200を上回ると長期的に強気、市場全体のセンチメント確認に利用
Chart Analysis Tool for BTC and S&P500
- Bollinger Bands (orange upper/lower lines, light blue middle line)
- EMA5 (blue line), EMA25 (yellow line), EMA200 (red line)
Stop Hunt Candlesticks (Liquidity Wicks)🕯️ Stop Hunt Candlesticks
Wick Highlighter – Spot Extreme Wicks Instantly
This indicator highlights candles where the upper or lower wick exceeds a customizable percentage of the asset’s price — perfect for quickly spotting strong rejections, liquidity grabs, stop hunts or exhaustion moves.
💡 Key Features
Visual Background Highlight: Automatically colors the chart background when a wick surpasses your defined % threshold (default 1%).
Customizable Threshold: Adjust wick sensitivity to suit different assets or timeframes.
Upper & Lower Wick Filters: Choose whether to track upper wicks, lower wicks, or both.
Dynamic Price Basis: Compare wick size relative to Close, Open, HL2, or OC2.
Optional Labels: Display the exact wick percentage directly on the chart.
Alerts Ready: Get notified whenever a candle shows an extreme wick condition.
⚙️ How It Works
The script measures each candle’s wick size relative to your chosen price basis:
Upper wick % = (High − max(Open, Close)) / Basis × 100
Lower wick % = (min(Open, Close) − Low) / Basis × 100
If the result exceeds your chosen threshold, the chart background changes color.
Red for upper wicks, green for lower wicks by default.
🎯 Use Cases
Identify strong rejections or stop hunts near key levels.
Confirm price exhaustion or potential reversals.
Filter fake breakouts or high-volatility events.
🧩 Customization
Tweak colors, transparency, and label visibility to fit seamlessly into your chart setup.
NQ → NAS100The NQ → NAS100 Converter is a practical utility designed for traders who trade both the Nasdaq futures (NQ) and Nasdaq CFD (NAS100) markets.
It calculates and displays the converted stop-loss distance and price level on the NAS100 chart, based on a chosen number of NQ points.
This helps traders align their risk and position management between futures and CFD markets with precision.
🧮 Core Features:
Real-time conversion between NQ (CME) and NAS100 (OANDA) prices.
Automatic stop calculation for both Long and Short trade setups.
Optional display of NQ price, NAS price, and converted stop price.
Flexible visualization modes:
Candle-attached label that moves with price.
Chart-fixed panel for a clean dashboard-style view.
Full customization of colors, text size, alignment, and display position.
⚙️ How It Works:
Enter your NQ stop distance (in points).
The script converts that distance into the equivalent NAS100 distance, using the current NQ/NAS ratio.
The final converted NAS100 stop price is automatically displayed.
⚠️ Important Note:
This script does not place or execute trades.
It is designed solely for analysis and educational use to assist with risk management and cross-market price mapping.
Always confirm levels independently before trading.
📊 Recommended For:
Traders managing correlated exposure between NQ Futures and NAS100 CFDs.
Prop firm traders using NAS100 as a futures-correlated proxy.
Anyone seeking a clear, visual way to match stop distances across the two markets.
MOM Buy/Sell + MACD Histogram Signal Tableeatures:
Combined Signal Analysis - Shows when both indicators align for STRONG BUY or STRONG SELL signals
Sortable Columns - Click any column header to sort by that metric
Filter Buttons - Quickly filter to see only Strong Buy, Strong Sell, or all signals
Color-Coded Values - Green for bullish, red for bearish, gray for neutral
Visual Icons - Trending arrows for easy signal recognition
3-1-2 Strat Combo by NaturalBelleThe 3-1-2 Strat Combo by NaturalBelle automatically detects and highlights one of The Strat’s most powerful reversal patterns — the 3-1-2 setup.
When a 3 (outside bar) is followed by a 1 (inside bar) and then a 2 that breaks direction, this script plots yellow triangles and draws yellow box zones across the sequence, giving traders a clean visual cue for potential reversals or continuations.
Features:
Highlights both bullish (3-1-2-Up) and bearish (3-1-2-Down) sequences
Draws yellow boxes covering the 3-1-2 structure for easy zone recognition
Optional text labels for clarity
Adjustable box extension and transparency
Built-in alert conditions for both up and down setups
This clean, no-clutter version focuses purely on price action — no indicators, no noise. Just the pattern.
🟡 Best used on: Any timeframe
🟡 Strategy: Combine with market structure, EMAs, or supply & demand zones for confirmation
Created by NaturalBelle — keeping Strat analysis simple, visual, and precise.
ICT + SMT Liquidity & FVG Template v6 MNQ1/MES1Marking out ict concepts on mnq and marking smt divergences with mes
ICT + SMT Liquidity & FVG Template mnqict concepts with smt divergence for mnq. marking out liquidity sweeps, sessions, highs and lows.
GR33NGR33N — by TanTechTrades
GR33N is a clean, lightweight confirmation/alert tool that fires only when trend, breakout, and momentum all agree. It combines a Hull Moving Average, a Donchian Trend Ribbon, and ADX/DI into one “all green / all red” signal you can trade or use to filter other systems.
What it does
Trend (Hull MA 55): Detects short-to-medium trend direction. Line turns green when rising, red when falling.
Breakout (Donchian 20): Labels regime as bullish after a close above the prior Donchian high, bearish after a close below the prior Donchian low.
Momentum (ADX/DI 14): Confirms direction with DI+ > DI− for bullish pressure or DI− > DI+ for bearish pressure.
A signal prints only when all three align:
All Green → Hull rising and Donchian bullish and DI+ > DI−
All Red → Hull falling and Donchian bearish and DI− > DI+
The chart shades faintly and plots triangles at bars where the alignment occurs. Built-in alerts let you automate entries or notifications.
Plots & Visuals
Hull MA (color-coded by slope)
Background highlight on qualifying bars
Triangle Up/Down markers at “All Green / All Red” events
Inputs
Source: Price source for Hull (default: close)
Hull Length: Default 55
Donchian Period: Default 20
ADX Length: Default 14
Alerts
All Green Alert: “All indicators are green!”
All Red Alert: “All indicators are red!”
Set alerts on “Once per bar close” for confirmed signals.
How to use
Add GR33N to your chart and keep defaults to start.
Trade with the signal:
Long bias on “All Green”; consider entries on pullbacks or break of signal bar high.
Short bias on “All Red”; consider entries on pullbacks or break of signal bar low.
Risk manage with your own SL/TP (e.g., beyond recent swing or ATR).
Optional: Use GR33N as a filter—only take strategy entries in the direction of the latest signal.
Tips
Shorter Donchian or Hull = more signals, more noise. Longer = fewer, more selective.
Works well on intraday FX, indices, and crypto; always validate per symbol/timeframe.
Pair with structure levels, session filters, or volume for higher quality setups.
Notes
This is an indicator/alert tool, not a strategy. Past performance ≠ future results.
Signals are generated on bar close; enabling “realtime bar” alerts may lead to earlier—but less confirmed—notifications.
Built by TanTechTrades — keep it simple, keep it green. ✅
2-1-2 ReversalThis indicator identifies all 2-1-2 price action patterns on any chart or time frame — both reversals and continuations — based on Rob Smith’s The Strat trading system.
🟢 Bullish 2-1-2:
Detected when a directional candle (2D or 2U), followed by an inside bar (1), is followed by a break to the upside (2U).
🔴 Bearish 2-1-2:
Detected when a directional candle (2U or 2D), followed by an inside bar (1), is followed by a break to the downside (2D).
✅ Key Features:
Works on any time frame (1m to Monthly)
No filters — shows every valid 2-1-2 setup
Detects both reversal and continuation patterns
🔔 Built-in alert conditions for Bullish and Bearish setups
🔍 Great for strat traders who want to catch all opportunities, not just hand-picked ones
🧠 Use Case Tips:
Combine with higher time frame trend or broadening formations for confirmation
Works well with sectors (SPY, QQQ, XLE) and ETFs for strat alignment
Add volume, EMA, or other custom confluences for advanced filtering
BND Trader (By Vahid.Jz) 🇮🇷🎉 The first Persian indicator on TradingView, released for free to celebrate my daughter's birthday. 🎉
**Trading Assistant (by Vahid.Jz)** is an all-in-one tool designed to simplify analysis and improve accuracy. It acts as an intelligent trading partner.
**Features:**
- Market Structure detection
- Multi-Timeframe “Third Eye” analysis
- Professional Order Blocks recognition
- Fair Value Gaps (FVGs) detection
- Customizable alerts
- Fully Persian interface
- Create Custom Alarm
Developed with love by **Vahid.Jz**, a trader and Pine Script enthusiast.
*“Trading is not a destination; it’s the journey — a path of learning, growth, and experience.”*
PAL strategy
This trading script is based on the foundational concepts of the BBMA Omaa Ally, but it incorporates several custom additions and modifications tailored to a specific individual trading style. The general approach for utilizing these signals is as follows:
1. EXT, CSM, and CSAK Signals: When any of these momentum/breakout signals occur, the trader typically waits for a re-entry or retracement of the price action. The actual trade entry is then made upon contact with the opposing WMA 5 or WMA 10 lines.
2. CSAK with CB1 (CBS): If a CSAK candle forms concurrently with a CB1 (an initial breakout confirmation), the setup is designated as a **CBS**. For lower timeframes (M5/M15), an instant entry may be taken on the CBS candle, while entries on higher timeframes (H1/H4/Daily) are taken on the WMA 5/10 retracement following the CBS.
3. CSAK with CB1 and Dominant Break (PAL): A setup involving a CSAK candle, CB1, and a break of a Dominant candle/level is identified as a **PAL**. Similar to the CBS rule, an instant entry is taken on M5/M15, and a **WMA 5/10 retracement entry is utilized for higher timeframes.
4. CPA Signals: The **CPA** signal is treated as a high-conviction setup, warranting an instant entry. For all trades, the Stop Loss (SL) and Take Profit (TP) are managed by exiting the trade if the price breaks the opposing WMA 5 or WMA 10 line.
**In an advanced trading context, the confirmation of a re-entry on a higher timeframe is verified by observing an EXT signal on a corresponding lower timeframe. This is known as confluent confirmation.
Monthly -> daily
Weekly -> H4
Daily -> H1
H4 -> m15
H1 -> m5
Relative Volume Spike (Bullish vs Bearish)relative volume compared to 20day averages
used to detect when big money is coming in.
Combined Triggers Dashboard//@version=6
indicator("Combined Triggers Dashboard", overlay=true)
// ======================= INPUTS =======================
// Daily Trigger
shortDEMA_D = input.int(10, "Daily 10 DEMA")
longDEMA_D = input.int(20, "Daily 20 DEMA")
volAvgLen_D = input.int(20, "Daily 20-day Avg Volume")
volMultiplier_D = input.float(3, "Daily Volume Multiplier")
weekDEMAlen_D = input.int(10, "10-Week DEMA Reference for Daily Trigger")
// Weekly Trigger
shortDEMA_W = input.int(10, "Weekly 10 W DEMA")
longDEMA_W = input.int(20, "Weekly 20 W DEMA")
volAvgLen_W = input.int(50, "50-day Avg Volume for Weekly Trigger")
volMultiplier_W = input.float(3, "Weekly Volume Multiplier")
// Original Trigger (example)
shortDEMA_O = input.int(10, "Original 10 DEMA")
longDEMA_O = input.int(20, "Original 20 DEMA")
volAvgLen_O = input.int(20, "Original 20-day Avg Volume")
volMultiplier_O = input.float(3, "Original Volume Multiplier")
// ======================= FUNCTIONS =======================
f_dema(_src, _len) =>
ema1 = ta.ema(_src, _len)
ema2 = ta.ema(ema1, _len)
2 * ema1 - ema2
// ======================= DAILY TRIGGER =======================
dema10D = f_dema(close, shortDEMA_D)
dema20D = f_dema(close, longDEMA_D)
dailyVol = volume
avgVol20 = ta.sma(dailyVol, volAvgLen_D)
volCondition_D = dailyVol > volMultiplier_D * avgVol20
priceCondition_D = close > dema10D
demaCondition_D = dema10D > dema20D
weeklyClose_D = request.security(syminfo.tickerid, "W", close)
dema10W_D = ta.ema(weeklyClose_D, weekDEMAlen_D) * 2 - ta.ema(ta.ema(weeklyClose_D, weekDEMAlen_D), weekDEMAlen_D)
trigger_D = priceCondition_D and demaCondition_D and volCondition_D
plotshape(trigger_D, title="Daily Trigger", style=shape.triangleup, location=location.abovebar,
text="DTRG", textcolor=color.white, color=color.new(#FF4500, 0), size=size.small)
alertcondition(trigger_D, title="Daily DEMA Trigger Alert", message="Daily DEMA trigger detected")
// ======================= WEEKLY TRIGGER =======================
weeklyClose_W = request.security(syminfo.tickerid, "W", close)
dema10W = f_dema(weeklyClose_W, shortDEMA_W)
dema20W = f_dema(weeklyClose_W, longDEMA_W)
dailyVolW = volume
avgVol50 = ta.sma(dailyVolW, volAvgLen_W)
volCondition_W = dailyVolW > volMultiplier_W * avgVol50
priceCondition_W = close > dema20W
demaCondition_W = dema10W > dema20W
trigger_W = priceCondition_W and demaCondition_W and volCondition_W
plotshape(trigger_W, title="Weekly Trigger", style=shape.triangledown, location=location.abovebar,
text="WTRG", textcolor=color.white, color=color.new(#1E90FF, 0), size=size.small)
alertcondition(trigger_W, title="Weekly DEMA Trigger Alert", message="Weekly DEMA trigger detected")
// ======================= ORIGINAL TRIGGER =======================
dema10O = f_dema(close, shortDEMA_O)
dema20O = f_dema(close, longDEMA_O)
dailyVolO = volume
avgVolO = ta.sma(dailyVolO, volAvgLen_O)
volCondition_O = dailyVolO > volMultiplier_O * avgVolO
priceCondition_O = close > dema10O
demaCondition_O = dema10O > dema20O
trigger_Orig = priceCondition_O and demaCondition_O and volCondition_O
plotshape(trigger_Orig, title="Original Trigger", style=shape.labelup, location=location.belowbar,
text="TRG", textcolor=color.white, color=color.new(#32CD32, 0), size=size.small)
// ======================= COMBINED TABLE =======================
var table dash = table.new(position.top_right, 2, 20, border_width=1)
if barstate.islast
// --- DAILY TRIGGER (rows 0-4) ---
table.cell(dash, 0, 0, "Daily Trigger", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 0, trigger_D ? "YES ✅" : "NO ❌", text_color=color.white, bgcolor=trigger_D ? color.new(#FF4500, 0) : color.new(#555555, 50))
table.cell(dash, 0, 1, "CMP > 10D DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 1, str.tostring(close, format.price), text_color=color.white, bgcolor=priceCondition_D ? color.new(#32CD32, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 2, "10D > 20D DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 2, str.tostring(dema10D, format.price) + " > " + str.tostring(dema20D, format.price), text_color=color.white, bgcolor=demaCondition_D ? color.new(#FFFF00, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 3, "Daily Vol > 3x20D Avg", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 3, str.tostring(dailyVol, format.volume) + " / " + str.tostring(avgVol20, format.volume), text_color=color.white, bgcolor=volCondition_D ? color.new(#FF00FF, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 4, "10W DEMA Ref", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 4, str.tostring(dema10W_D, format.price), text_color=color.white, bgcolor=color.new(#00FFFF, 0))
// --- WEEKLY TRIGGER (rows 5-9) ---
table.cell(dash, 0, 5, "Weekly Trigger", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 5, trigger_W ? "YES ✅" : "NO ❌", text_color=color.white, bgcolor=trigger_W ? color.new(#1E90FF, 0) : color.new(#555555, 50))
table.cell(dash, 0, 6, "CMP > 20W DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 6, str.tostring(close, format.price), text_color=color.white, bgcolor=priceCondition_W ? color.new(#32CD32, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 7, "10W > 20W DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 7, str.tostring(dema10W, format.price) + " > " + str.tostring(dema20W, format.price), text_color=color.white, bgcolor=demaCondition_W ? color.new(#FFFF00, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 8, "Daily Vol > 3x50D Avg", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 8, str.tostring(dailyVolW, format.volume) + " / " + str.tostring(avgVol50, format.volume), text_color=color.white, bgcolor=volCondition_W ? color.new(#FF00FF, 0) : color.new(#AAAAAA, 50))
// --- ORIGINAL TRIGGER (rows 10-14) ---
table.cell(dash, 0, 10, "Original Trigger", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 10, trigger_Orig ? "YES ✅" : "NO ❌", text_color=color.white, bgcolor=trigger_Orig ? color.new(#32CD32, 0) : color.new(#555555, 50))
table.cell(dash, 0, 11, "CMP > 10D DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 11, str.tostring(close, format.price), text_color=color.white, bgcolor=priceCondition_O ? color.new(#32CD32, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 12, "10D > 20D DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 12, str.tostring(dema10O, format.price) + " > " + str.tostring(dema20O, format.price), text_color=color.white, bgcolor=demaCondition_O ? color.new(#FFFF00, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 13, "Daily Vol > 3x20D Avg", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 13, str.tostring(dailyVolO, format.volume) + " / " + str.tostring(avgVolO, format.volume), text_color=color.white, bgcolor=volCondition_O ? color.new(#FF00FF, 0) : color.new(#AAAAAA, 50))
ATR SL 10/10 This indicator draws an ATR-based trailing stop on the main chart and shows two compact labels:
• Stop line = Low − (ATR × Multiplier).
• “Today” label: the current bar’s stop price.
• “5-bar Max” label: the highest stop value over the last N bars (rolling window). Labels auto-separate slightly if they overlap so both remain readable.
ATR selection logic
• On confirmed bars (after close): uses today’s ATR.
• In real-time (bar not confirmed): uses max(today’s ATR, yesterday’s ATR) to avoid under-estimating volatility early in the session.
Inputs
• Length: ATR period.
• Smoothing: RMA/SMA/EMA/WMA for ATR.
• Multiplier: stop distance in ATR units.
• Long Base: price source for the long stop (usually Low).
• Show Price Line: toggle the pink stop line.
• Lookback: window for the rolling 5-bar maximum label.
Notes
• Overlay = true; the line scales with the price chart.
• Prices/labels use mintick formatting for clean alignment.
• Works on any timeframe; ATR is computed from the active chart’s bars with the above real-time safeguard.
Volume Quintile Candle ColorsRecolors the candles based on the quintile of volume in that candle compared to the most recent 100 candles