HBAR Price & Volume AlertThis indicator is designed for the COINBASE:HBARUSD chart. It continuously monitors price action and trading volume to alert you when a significant move happens:
Triggers an alert every time HBAR’s price crosses above a user-defined target price (default $0.27800, adjustable).
Alert only fires if the current volume is above the user-defined moving average of volume (default 20 bars, adjustable).
Visually marks every alert event on the chart with a triangle and an optional label showing the cross.
Includes a ready-to-use alertcondition for push notifications in TradingView.
All critical parameters (target price and volume MA length) are user-editable.
Use this indicator to catch price breakouts with strong volume confirmation—filtering out weak, low-volume moves. Alerts are continuous, not one-time, so you never miss an opportunity as long as conditions are met.
Corak carta
Candle Size: Avg vs Current (Green/Red)This indicator shows the size of green (bullish) and red (bearish) candles, either as an average over time or just the current candle. You can choose to measure candle size by the body (Close - Open) or the full range (High - Low). It's a simple way to compare recent buying vs. selling strength and spot shifts in momentum.
Momentum Alpha Gold (With Current Price Tag)//@version=6
indicator("Momentum Alpha Gold (With Current Price Tag)", overlay=true, max_labels_count=500)
// === Inputs ===
emaFastLen = input.int(20, "Fast EMA Length")
emaSlowLen = input.int(50, "Slow EMA Length")
supertrendFactor = input.float(2.0, "Supertrend Factor")
supertrendATR = input.int(10, "Supertrend ATR Period")
atrPeriod = input.int(14, "ATR Period for SL/TP")
// === EMA & Supertrend ===
emaFast = ta.ema(close, emaFastLen)
emaSlow = ta.ema(close, emaSlowLen)
= ta.supertrend(supertrendFactor, supertrendATR)
trendBull = (emaFast > emaSlow) or direction == 1
trendBear = (emaFast < emaSlow) or direction == -1
// === Buy/Sell Signals ===
coUp = ta.crossover(close, emaFast)
coDown = ta.crossunder(close, emaFast)
buySignal = trendBull and coUp
sellSignal = trendBear and coDown
// === ATR-based Levels ===
atr = ta.atr(atrPeriod)
var float SL = na
var float TP1 = na
var float TP2 = na
var float TP3 = na
var float ReEntry = na
var float MartingaleSL = na
if buySignal
SL := close - atr
TP1 := close + (close - SL)
TP2 := close + 2 * (close - SL)
TP3 := close + 3 * (close - SL)
ReEntry := close - 0.5 * (close - SL)
MartingaleSL := SL - 0.5 * (close - SL)
if sellSignal
SL := close + atr
TP1 := close - (SL - close)
TP2 := close - 2 * (SL - close)
TP3 := close - 3 * (SL - close)
ReEntry := close + 0.5 * (SL - close)
MartingaleSL := SL + 0.5 * (SL - close)
// === Colors ===
neonBlue = color.new(color.aqua, 0) // Momentum Buy
neonPink = color.new(color.fuchsia, 0) // Momentum Sell
neonRed = color.new(color.red, 0) // Stoploss
neonOrange = color.new(color.orange, 0) // Martingale Entry
neonYellow = color.new(color.yellow, 0) // Instant Entry
neonGreen = color.new(color.lime, 0) // Take Profits
currentBlue = color.new(color.blue, 0) // Current Price
// === Arrays for Dynamic Labels ===
var label activeLabels = array.new()
var line activeLines = array.new()
priceFmt(p) => str.tostring(p, "#.###")
// === Draw Box Function (Label + Line) ===
drawBox(price, labelText, col) =>
offset = 3
ln = line.new(bar_index + offset, price, bar_index + 40, price, color=col, width=2)
lbl = label.new(bar_index + offset, price,
labelText + " : " + priceFmt(price),
style=label.style_label_left, size=size.normal,
textcolor=color.black, color=col)
array.push(activeLabels, lbl)
array.push(activeLines, ln)
// === Draw Current Price (styled like SL/TP) ===
drawCurrentPrice() =>
offset = 3
ln = line.new(bar_index + offset, close, bar_index + 40, close, color=currentBlue, width=2)
lbl = label.new(bar_index + offset, close,
"Current Price : " + priceFmt(close),
style=label.style_label_left, size=size.normal,
textcolor=color.white, color=currentBlue)
array.push(activeLabels, lbl)
array.push(activeLines, ln)
// === Clear and Redraw Labels Each Bar ===
if barstate.islast
for l in activeLabels
label.delete(l)
for ln in activeLines
line.delete(ln)
array.clear(activeLabels)
array.clear(activeLines)
if not na(SL) and not na(TP1)
drawBox(MartingaleSL, "Stoploss", neonRed)
drawBox(SL, "Martingale Entry", neonOrange)
drawBox(ReEntry, "Instant Entry", neonYellow)
drawBox(TP1, "TP1", neonGreen)
drawBox(TP2, "TP2", neonGreen)
drawBox(TP3, "TP3", neonGreen)
drawCurrentPrice() // Adds Current Price tag in same style
// === Momentum Buy/Sell Markers ===
plotshape(buySignal, title="Momentum Buy", location=location.belowbar,
color=neonBlue, style=shape.labelup, text="Momentum Buy", textcolor=color.black)
plotshape(sellSignal, title="Momentum Sell", location=location.abovebar,
color=neonPink, style=shape.labeldown, text="Momentum Sell", textcolor=color.black)
Momentum Alpha Gold (With Current Price Tag)//@version=6
indicator("Momentum Alpha Gold (With Current Price Tag)", overlay=true, max_labels_count=500)
// === Inputs ===
emaFastLen = input.int(20, "Fast EMA Length")
emaSlowLen = input.int(50, "Slow EMA Length")
supertrendFactor = input.float(2.0, "Supertrend Factor")
supertrendATR = input.int(10, "Supertrend ATR Period")
atrPeriod = input.int(14, "ATR Period for SL/TP")
// === EMA & Supertrend ===
emaFast = ta.ema(close, emaFastLen)
emaSlow = ta.ema(close, emaSlowLen)
= ta.supertrend(supertrendFactor, supertrendATR)
trendBull = (emaFast > emaSlow) or direction == 1
trendBear = (emaFast < emaSlow) or direction == -1
// === Buy/Sell Signals ===
coUp = ta.crossover(close, emaFast)
coDown = ta.crossunder(close, emaFast)
buySignal = trendBull and coUp
sellSignal = trendBear and coDown
// === ATR-based Levels ===
atr = ta.atr(atrPeriod)
var float SL = na
var float TP1 = na
var float TP2 = na
var float TP3 = na
var float ReEntry = na
var float MartingaleSL = na
if buySignal
SL := close - atr
TP1 := close + (close - SL)
TP2 := close + 2 * (close - SL)
TP3 := close + 3 * (close - SL)
ReEntry := close - 0.5 * (close - SL)
MartingaleSL := SL - 0.5 * (close - SL)
if sellSignal
SL := close + atr
TP1 := close - (SL - close)
TP2 := close - 2 * (SL - close)
TP3 := close - 3 * (SL - close)
ReEntry := close + 0.5 * (SL - close)
MartingaleSL := SL + 0.5 * (SL - close)
// === Colors ===
neonBlue = color.new(color.aqua, 0) // Momentum Buy
neonPink = color.new(color.fuchsia, 0) // Momentum Sell
neonRed = color.new(color.red, 0) // Stoploss
neonOrange = color.new(color.orange, 0) // Martingale Entry
neonYellow = color.new(color.yellow, 0) // Instant Entry
neonGreen = color.new(color.lime, 0) // Take Profits
currentBlue = color.new(color.blue, 0) // Current Price
// === Arrays for Dynamic Labels ===
var label activeLabels = array.new()
var line activeLines = array.new()
priceFmt(p) => str.tostring(p, "#.###")
// === Draw Box Function (Label + Line) ===
drawBox(price, labelText, col) =>
offset = 3
ln = line.new(bar_index + offset, price, bar_index + 40, price, color=col, width=2)
lbl = label.new(bar_index + offset, price,
labelText + " : " + priceFmt(price),
style=label.style_label_left, size=size.normal,
textcolor=color.black, color=col)
array.push(activeLabels, lbl)
array.push(activeLines, ln)
// === Draw Current Price (styled like SL/TP) ===
drawCurrentPrice() =>
offset = 3
ln = line.new(bar_index + offset, close, bar_index + 40, close, color=currentBlue, width=2)
lbl = label.new(bar_index + offset, close,
"Current Price : " + priceFmt(close),
style=label.style_label_left, size=size.normal,
textcolor=color.white, color=currentBlue)
array.push(activeLabels, lbl)
array.push(activeLines, ln)
// === Clear and Redraw Labels Each Bar ===
if barstate.islast
for l in activeLabels
label.delete(l)
for ln in activeLines
line.delete(ln)
array.clear(activeLabels)
array.clear(activeLines)
if not na(SL) and not na(TP1)
drawBox(MartingaleSL, "Stoploss", neonRed)
drawBox(SL, "Martingale Entry", neonOrange)
drawBox(ReEntry, "Instant Entry", neonYellow)
drawBox(TP1, "TP1", neonGreen)
drawBox(TP2, "TP2", neonGreen)
drawBox(TP3, "TP3", neonGreen)
drawCurrentPrice() // Adds Current Price tag in same style
// === Momentum Buy/Sell Markers ===
plotshape(buySignal, title="Momentum Buy", location=location.belowbar,
color=neonBlue, style=shape.labelup, text="Momentum Buy", textcolor=color.black)
plotshape(sellSignal, title="Momentum Sell", location=location.abovebar,
color=neonPink, style=shape.labeldown, text="Momentum Sell", textcolor=color.black)
Swing FX Pro Panel v1Description:
"Swing FX Pro Panel v1" is a professional swing trading strategy tailored for the Forex market and other highly liquid assets. The core logic is based on the crossover of two Exponential Moving Averages (EMA), allowing the strategy to detect trend shifts and generate precise entry signals.
The script includes an interactive performance panel that dynamically displays:
initial capital,
risk per trade (%),
the number of trades taken during a selected period (e.g., 6 months),
win/loss statistics,
ROI (Return on Investment),
maximum drawdown,
win ratio.
Order Flow Bias LogicOrder Flow Bias Logic
This indicator maps institutional session behavior by tracking the Asia, London, and New York trading sessions. It highlights key price levels including:
Daily Open
Asia & London Highs/Lows
+1% and -1% Daily Open thresholds
It identifies potential stop hunts and NY session consolidation setups to help detect bullish or bearish intraday bias. Labels are displayed on the chart to signal high-probability zones for reversals or continuations, based on order flow logic.
Ideal for intraday traders looking to align with institutional session dynamics.
Crypto Risk Management Calculator BY MUNASARName:
📊 Crypto Risk Management Calculator by Munasar
Short Description:
A powerful tool to calculate daily risk, reward, position size, and risk-reward ratio for crypto trades.
Full Description:
This indicator is built for cryptocurrency traders who want to manage their risk with precision. It calculates your daily risk and reward based on account size, stop loss %, and take profit %.
You'll also get:
Position size per trade
Risk & reward per trade in $ and %
Take Profit levels
Risk-to-Reward ratio
Support for multiple trades per day
Perfect for both beginners and advanced traders who want to protect their capital and follow a consistent plan.
Created by Munasar
EMA 25, 70, 400 (5min) with Fill, X Marks, and One AlertEMA 25 70 400
with alerts whenever they cross each other and I've put X Mark on it whenever they cross each other.
MADE BY:
-JAYVEE SENINING
24/7 Dynamic Scalper - Session + ATR Filters24/7 Dynamic Scalper — Session + ATR Filters
The only scalping strategy you’ll need for non-stop, high-precision trading — engineered for automation and hands-off profits!
Session Filtering: Trade only during the hottest market hours (Asia Open & EU Session) — fully automatic.
ATR Stability & Dynamic Risk: Filters out chop and volatility spikes for cleaner, higher-probability entries.
Momentum & Exhaustion Protection: Built-in RSI & MACD logic blocks overbought/oversold traps and weak signals.
Time-in-Trade Auto-Exit: No more stale trades — get capped exposure for every position.
Auto Alerts: Sends structured, ready-to-automate alerts (BUY/SELL/EXIT) — perfect for webhook and bot traders.
Optional Volume/TP Filters: Toggle volume spikes, dynamic ATR-based TP, and even “big candle” protection.
Fully Customizable: Fine-tune everything from leverage to max stop loss (in USDT), bar/range filters, and much more.
Best for: Fast scalpers, algo traders, automation junkies, and anyone who wants a robust, hands-off approach to perpetual futures.
👇 How it Works (Feature Breakdown):
Session Filters: Restricts signals to the highest liquidity hours (Asia/EU), or trade 24/7 — your choice!
ATR + Range Filters: Ensures every entry has real volatility and avoids dangerous chop.
Momentum Logic: Combines EMA, MACD slope, and RSI direction to hunt for real breakouts only.
Exhaustion Safeguards: Avoids classic scalp reversals by blocking overbought/oversold and exhausted MACD/RSI momentum.
Drawdown Defense: Detects “big candle” traps, ATR surges, and lets you cap stop-loss by percent or by max USDT.
Hands-Off Management: All exits (TP/SL/trailing) are managed by your backend/bot via structured alerts — the script keeps charts clean and exits only by time cap (so no backend/strategy overlap).
Ready for Webhook Automation: Clean JSON alerts for BUY, SELL, and CLOSE — drop them straight into your bot for instant auto-trading.
No repaint, no nonsense — just cold, fast, high-frequency scalping with robust, smart filters.
🚀 Plug, Play, Automate.
Copy to your chart, tweak your session/ATR/settings, and wire up your alert to your favorite webhook bot.
Perfect for Bybit, MEXC, Binance, and anywhere you can automate.
Intraday-Indicator-15 Min TimeDaily Trend Filter:
Calculates EMA cross on the daily timeframe.
Plots the EMA line for trend.
Signals are allowed only in the direction of the daily trend (buy if bullish, sell if bearish).
Intraday Signal Engine:
Uses buy/sell volume based on candle position (close vs. high/low) and relative volume.
Buy signal: strong buy volume & weak sell volume while daily trend is up.
Sell signal: strong sell volume & weak buy volume while daily trend is down.
Visuals:
Plots green/red triangles for intraday buy/sell signals.
Draws horizontal lines and labels at the signal price levels.
Marks daily crossovers with circles.
Nifty 50 Gap Day High/LowFor Gap up & down days use this
track high & low of 1st candle
if break high then go for call position
and
if break low go for Put position
HBD.FACE SCANIt shows the percentage increase or decrease based on the number of bars for 20 coins of your choice. Enjoy!
Boroden Style Auto-Fibs### Boroden Style Auto-Fibs Indicator
This Pine Script indicator automatically plots Fibonacci retracement and extension levels on your TradingView chart, inspired by the Fibonacci trading techniques of Carolyn Boroden. It identifies recent pivot highs and lows to display key Fibonacci levels that traders may use to observe potential support, resistance, or price target zones.
#### Key Features:
- **Automatic Pivot Detection:** Detects significant pivot highs and lows based on a user-defined lookback period.
- **Fibonacci Retracements:** Displays standard retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) to highlight potential reversal areas.
- **Fibonacci Extensions:** Optionally plots extension levels (100%, 127.2%, 161.8%) for potential price targets in the trend direction.
- **Customizable Display:** Allows toggling of retracements and extensions, with an option to show only the most recent swing’s levels for a cleaner chart.
- **Line Style Customization:** Offers adjustable colors, styles (solid, dashed, dotted), and line widths for personalized visualization.
#### How to Use:
1. **Add the Indicator:** Apply the "Boroden Style Auto-Fibs" indicator to your TradingView chart.
2. **Adjust Inputs:** Modify the settings in the indicator’s input menu:
- **Show Retracements:** Enable or disable retracement level display.
- **Show Extensions:** Enable or disable extension level display.
- **Show Only Most Recent Swing:** Toggle to focus on the latest swing, reducing chart clutter.
- **Pivot Lookback Length:** Set the number of bars used to detect pivots (e.g., 10).
- **Line Style Settings:** Customize colors (e.g., green for uptrend retracements, red for downtrend), line style, and width.
3. **Analyze the Levels:** Observe the plotted Fibonacci levels to identify areas of interest for potential entries, exits, or stop-loss placement. Use alongside other technical tools for a well-rounded approach.
#### Important Note:
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, nor does it guarantee profitable outcomes. Trading carries inherent risks, and past performance is not indicative of future results. Always perform your own analysis and assess your risk tolerance before making trading decisions.
Advanced RSI Divergence & Signal TrackerThis indicator offers a unique edge over traditional RSI divergence tools by supporting both Live and Confirmed modes of divergence detection.
Key Features:
Two Detection Modes
- Live Mode: Detects divergences as price moves. Ideal for faster signal generation when early entries matter. Only the most recent signal may repaint to stay aligned with live market data.
- Confirmed Mode: Waits for full pivot confirmation before signaling. This results in more stable, but delayed, signals — great for traders who prefer validation over speed.
Multiple Divergence Types
Supports detection and visualization for the following:
- Bullish Divergence
- Hidden Bullish Divergence
- Bullish Convergence
- Bearish Divergence
- Hidden Bearish Divergence
- Bearish Convergence
Each signal is marked directly on the RSI chart with labeled lines for clarity.
RSI Signal Tracker Panel
A built-in, optional status table displays:
- Current signal type
- RSI value at the signal
- Price at the signal
- Age of the signal (in bars)
- Previous signal (if enabled)
Fully customizable in the settings — show only what you want to see.
Alerts Included
Alerts are available for all divergence and convergence signal types.
This indicator is designed for traders who want flexibility — whether you need early signals or prefer confirmed ones. Perfect for both reversal and trend-following strategies, with complete control over what is shown on your chart.
Custom Moving AveragesThis moving average indicator is a combination of EMA 20 SMA 50 EMA 100 sma 200 it is used full of swing traders
Multi-Swing Strategy Signal by GunjanPandit🌀 Swing Strategy Signal Pack (India/Global) 🌀
This public indicator highlights BUY and SELL points using six popular swing trading methods:
1. Trend Following – via 50-day SMA crossover.
2. Support & Resistance – using 20-bar highs/lows.
3. Momentum – via RSI cross 50.
4. Breakouts – detects moves beyond key swing levels.
5. Reversals – using MACD crossovers + RSI divergence zones.
6. Consolidation – detects breakouts after price compression.
Each signal is labeled with its triggering strategy. Best used on DAILY charts with NSE stocks, indices, or any liquid instruments.
✅ Educational Use Only. ❌ No financial advice. ❌ No performance promises.
15m Scalping StrategyThis indicator is designed for short-term intraday trading (scalping) on the 15-minute chart. It helps identify high-probability buy and sell signals using fast-moving averages and momentum confirmation.
Big Volume Spike (Simple, No MTF)BV (Big Volume) Indicator
This indicator flags price bars where the trading volume is above average, helping you instantly spot surges in market participation.
How it works:
“BV” Label:
A green or red “BV” label appears just below the candlestick whenever the current bar’s volume is greater than its 20-bar moving average.
Bullish/Bearish Filter:
Green BV: Appears when the bar is bullish (close > open) and the double-smoothed Heiken Ashi candle is also bullish.
Red BV: Appears when the bar is bearish (close < open) and the double-smoothed Heiken Ashi candle is also bearish.
No Multi-Timeframe Logic:
The indicator uses only the current chart’s data—no dependencies on other timeframes.
Visual Simplicity:
Clean, lightweight, and effective for all timeframes. Just watch for “BV” labels to find above-average volume bars with momentum.
Purpose:
To cut through noise and highlight the price bars where real volume and directional conviction show up—ideal for any trader wanting instant, actionable volume alerts on any chart.
FVG-Bully BearsFVG-Bully Bears Indicator
The FVG-Bully Bears indicator is a powerful tool designed to identify Fair Value Gaps (FVGs) on your TradingView charts. FVGs are price gaps that occur when the market moves sharply, leaving areas where little to no trading activity took place. These gaps often act as key support or resistance zones, making them valuable for traders looking to spot potential reversal or continuation points.
This indicator highlights Bullish FVGs (potential support zones) and Bearish FVGs (potential resistance zones) with customizable boxes and labels, helping you visualize these critical price levels with ease.
Features
Bullish and Bearish FVGs: Detects gaps where price has left untested areas, marking bullish (green) and bearish (red) FVGs.
Customizable Display: Choose to show or hide bullish/bearish FVGs, adjust colors, and control box visibility.
FVG Labels: Optional labels on each FVG box to clearly identify bullish or bearish gaps, with adjustable text size.
Delete Filled FVGs: Automatically removes FVGs once price revisits and fills the gap, keeping your chart clean.
Box Extension: Extend FVG boxes into the future (up to 100 bars) to track unfilled gaps over time.
Performance Optimization: Limits the number of displayed FVG boxes (default: 50) to ensure smooth chart performance.
How It Works
Bullish FVG: Identified when the high of a candle two bars ago is lower than the low of the current candle, indicating a sharp upward move.
Bearish FVG: Identified when the low of a candle two bars ago is higher than the high of the current candle, indicating a sharp downward move.
FVGs are drawn as colored boxes (green for bullish, red for bearish) and can include labels for easy identification.
If enabled, filled FVGs (where price revisits the gap) are deleted to reduce chart clutter.
Settings
FVG Settings
Show Bullish FVGs: Enable/disable bullish FVG boxes (default: enabled).
Show Bearish FVGs: Enable/disable bearish FVG boxes (default: enabled).
Bullish FVG Color: Customize the color and transparency of bullish FVG boxes (default: light green).
Bearish FVG Color: Customize the color and transparency of bearish FVG boxes (default: light red).
Max FVG Boxes: Set the maximum number of FVG boxes displayed (default: 50, range: 1–500).
Extend FVG Boxes (Bars): Extend FVG boxes into the future by a specified number of bars (default: 8, range: 0–100).
Show FVG Labels: Enable/disable text labels on FVG boxes (default: enabled).
Label Size: Choose the size of FVG labels (options: Tiny, Small, Normal, Large, Huge; default: Small).
Delete Filled FVGs: Automatically remove FVGs when price fills the gap (default: enabled).
How to Use
Add the FVG-Bully Bears indicator to your TradingView chart.
Customize the settings to match your trading style (e.g., adjust colors, toggle labels, or change box extensions).
Watch for green (bullish) and red (bearish) FVG boxes:
Bullish FVGs: Potential support zones where price may bounce or consolidate.
Bearish FVGs: Potential resistance zones where price may reverse or stall.
Use FVGs in combination with other indicators (e.g., support/resistance, trendlines) for better trade decisions.
If “Delete Filled FVGs” is enabled, filled gaps will disappear, keeping your chart focused on active FVGs.
Ideal For
Swing Traders: Identify key price zones for entries or exits.
Day Traders: Spot intraday support/resistance levels created by rapid price moves.
Price Action Traders: Use FVGs to confirm market structure and potential reversal points.
Notes
For best performance, keep “Max FVG Boxes” at a reasonable value (e.g., 50) to avoid chart lag.
FVGs are most effective on lower timeframes (e.g., 5m, 15m, 1H) but can be used on any timeframe.
Combine with other tools like volume or trend indicators for a complete trading strategy.
Enjoy trading with FVG-Bully Bears and take advantage of Fair Valu
Custom Range + (dc_77)The "Custom Range + (dc_77)" indicator is a versatile tool designed for traders to analyze price ranges within a user-defined trading session. It calculates and displays key price levels (High, Low, 75%, 50% (EQ), 25%) and extended projection levels (0.33, 0.66, 1.33, 1.66 above and below the range) based on the session's high and low prices. The indicator also includes customizable visual elements such as lines, labels, rectangles, and a session end vertical line, making it ideal for intraday and swing traders looking to identify key support, resistance, and breakout levels.
This indicator is for educational and informational purposes only and should not be considered financial advice. Always conduct your own analysis and test the indicator thoroughly before using it in live trading.
Volume 200% Spike w/ MultiTF Color LogicStrategy Description: Volume-Confirmed Spike with Multi-Timeframe Heiken Ashi Agreement
This indicator highlights “SPIKE” events on the candlestick chart whenever a surge in trading volume coincides with momentum agreement across multiple timeframes and Heiken Ashi candle structure. Specifically, a “SPIKE” label is drawn below the candlestick when:
Volume Surge:
The current bar’s volume is at least 200% of the 20-bar simple moving average volume (on the chart’s timeframe).
Candle Nature Agreement:
The price bar and the double-smoothed Heiken Ashi candle (10,10 smoothing) are both bullish (close > open and HA close > HA open), or
Both are bearish (close < open and HA close < HA open).
Multi-Timeframe Volume Confirmation (Color Logic):
If the current, 1-hour, and 4-hour volumes are all above their respective 20-bar volume moving averages, the label is dark green (for bullish) or dark red (for bearish).
If only the current timeframe is spiking, the label is light green (bullish) or red (bearish).
Label Placement:
The “SPIKE” label is plotted well below the candle’s low, using a multiple of ATR for visual clarity.
Purpose:
This strategy is designed to highlight high-impact, high-conviction volume spikes only when both short-term price action and Heiken Ashi momentum are aligned—and to further emphasize signals that are confirmed by volume surges on higher timeframes.
It filters out low-quality or ambiguous spikes and helps traders spot strong, likely-continuation or reversal events driven by real market participation.
🔥 Trendline Breakout 5-15-1hr-4hrs-DAY-WEEK (HTF)//The percentLen (length for HH/LL calculation) defines how many candles (bars) to look back when calculating the highest high (HH) and lowest low (LL) values on the selected timeframe (percentTF).
//How It Works:
//ta.highest(high, percentLen)
//Finds the highest price in the last percentLen candles on the selected timeframe.
//Example: If percentLen = 20, it finds the highest high of the last 20 candles.
//ta.lowest(low, percentLen)
//Finds the lowest price in the last percentLen candles on the selected timeframe.
//For previous HH/LL (hh_prev and ll_prev), the script calculates the HH/LL from the period before the current percentLen bars, using:
//pine
//Copy
//Edit
//ta.highest(high, percentLen * 2)
//This shifts the window back by percentLen bars to get the previous range.
//Why Is It Needed?
//The script calculates % change between the current HH/LL and the previous HH/LL:
//pine
//Copy
//Edit
//hh_change = ((hh_now - hh_prev) / hh_prev) * 100
//ll_change = ((ll_now - ll_prev) / ll_prev) * 100
//This shows how much the market's extremes (highest highs & lowest lows) have shifted compared to the last segment.
//Example:
//Timeframe (percentTF) = 1 Day
//Length (percentLen) = 20
//This means:
//hh_now = highest high of the last 20 days.
//hh_prev = highest high of the 20 days before that.
//The % change tells you if the current 20-day range’s top is higher/lower than the previous 20-day range’s top.