Highlight Candle Body ≤ X Ticks (Customizable)🟠 Indicator Name: Highlight Candle Body ≤ X Ticks (Customizable)
Purpose:
Highlights candles where the body size (|open - close|) is less than or equal to a user-defined number of ticks — useful for spotting low-momentum or indecision candles across different futures instruments.
Features:
✅ Works with any instrument (CL, NG, HG, etc.)
🔧 Customizable tick size and max tick count
🎨 Adjustable highlight color
📏 Only measures the candle body, ignoring wicks
Use case:
Quickly identifies small-body candles that may signal pauses, traps, or setups before potential moves — especially helpful in volume-based or structure-based trading strategies.
Corak carta
Candlestick Patterns (5m)Candlestick Patterns (5 m) Indicator
This Pine Script v6 indicator automatically scans true 5‑minute bars (via request.security) and highlights four of the most reliable reversal and indecision patterns directly on any chart. It’s designed to help scalpers and swing traders quickly spot turning points without manual pattern-drawing.
Key Features
Multi‑Timeframe Detection: Always uses 5 min data, regardless of your chart’s timeframe.
Four Core Patterns:
Hammer (▲): Bullish reversal with a long lower wick and small body.
Bullish Engulfing (↑): Two‑bar reversal where a green candle fully engulfs the prior red.
Doji (✕): Market indecision when open and close are nearly identical.
Dark Cloud Cover (↓): Bearish reversal closing below the midpoint of the previous green candle.
Customizable Inputs:
Toggle each pattern on/off.
Adjust body‑size thresholds (as % of range) and wick‑to‑body multipliers for hammers and dojis.
Choose whether to use barmerge.lookahead_on (real‑time signals) or …_off (no repaint).
Non‑Repainting Logic: Default lookahead is off so you only see confirmed signals at bar close.
How It Works
Fetch 5 m OHLC: The script pulls 5 min open, high, low, and close values.
Compute Pattern Criteria: Body/range ratios and price relationships determine when a pattern qualifies.
Plot Shapes: Each pattern draws a distinct shape (triangle, arrow, cross) above or below the bar.
Use Cases
Scalping: Quickly identify sharp reversals on high‑volatility moves.
Validation: Combine with moving averages, volume filters, or trendlines to confirm high‑probability setups.
Backtesting: Adjust sensitivity inputs and backtest clusters of signals over historical 5 min data.
Paste this description into your indicator’s comments or TradingView description field to explain its purpose and settings to other users—or bookmark it as a quick reference when you tune the inputs.
🔍 Phat hien Spring Wyckoff (hien thi sau 1 nen)//@version=5
indicator("🔍 Phat hien Spring Wyckoff (hien thi sau 1 nen)", overlay=true)
// === Tham so nguoi dung ===
lookbackSupport = input.int(50, "Tim ho tro trong X nen", minval=5)
volumeLookback = input.int(20, "So nen tinh volume trung binh", minval=1)
volMultiplier = input.float(1.5, "Nguong volume cao bat thuong", step=0.1)
showSupportLine = input.bool(true, "Hien thi duong ho tro")
// === Tim day gan nhat lam ho tro ===
lowestLow = ta.lowest(low, lookbackSupport)
// === Tinh volume trung binh ===
avgVol = ta.sma(volume, volumeLookback)
// === Dieu kien Spring (o cay nen hien tai) ===
isSpringNow = low < lowestLow and close > lowestLow and volume > avgVol * volMultiplier
// === Tri hoan tin hieu 1 nen de hien thi chu o cay ke tiep ===
isSpringPrev = isSpringNow
// === Hien thi chu "Spring" o cay nen ke tiep ===
plotshape(isSpringPrev, style=shape.labelup, location=location.belowbar, color=color.green, size=size.small, text="Spring", textcolor=color.white)
// === Ve duong ho tro mau tim, dam ===
plot(showSupportLine ? lowestLow : na, title="Ho tro", color=color.purple, linewidth=2, style=plot.style_line)
Pivot detector🧠 Pivot Detector – Multi-condition Reversal Signal with Trend & Time Filters
This indicator is specifically optimized for Bitcoin trading, combining classic reversal patterns with volume, trend, and session filters.
🟢 Long signals:
- RSI crossing up from oversold (RSI < 30)
- MACD histogram crossing above zero
- Price touching the lower Bollinger Band with OBV reversal
- Bullish engulfing pattern + volume spike
🔴 Short signals:
- RSI crossing down from overbought (RSI > 70)
- MACD histogram crossing below zero
- Price touching upper Bollinger Band + OBV failure
- Bearish engulfing pattern + volume spike
⚙️ Additional filters:
- ❌ Signals are blocked during low-volatility range zones (ADX < 20 or narrow standard deviation)
- ✅ Longs only allowed during active hours: 00–02, 07–09, 13–15 UTC
- ✅ Shorts only triggered outside strong uptrend (ADX > 25 with DI+ dominance)
📊 Best used on:
- ✅ Bitcoin / BTCUSDT
- ✅ 15m, 30m, 1H, 4H charts
🎯 Strategy focus:
- Captures short-term reversals in volatile but trendable markets
- Filters out traps and low-quality signals during sideways conditions
- Best used with manual confirmation or as part of a composite system
Alerts are built-in for both long and short triggers.
⚠️ This tool is still in its experimental phase and may require further adjustments as it's tested and improved.
Long Strategy - A2 v2.37-Core Production✅ Condensed Strategy Overview
This is a long-only trading strategy that uses multiple technical indicators combined with Bitcoin’s multi-timeframe MACD histogram trends to generate and filter trade entries.
🔧 Core Functionality
Uses a scoring system that adds weighted points from various signals:
Local indicators: EMA trend, RSI momentum, ATR volatility, VWAP, volume strength, and ADX.
Bitcoin MACD trends: 4H, 1H, 15M, and 5M histogram patterns (including slope, rise consistency, and momentum burst).
Entry Condition:
Triggered when:
The total score exceeds the entryThreshold (default: 7.0)
BTC 4H MACD histogram trend is confirmed to be rising
Exit Condition:
Triggered when:
The score falls below the exitThreshold (default: 6.0)
Or the MACD slope shows weakness or reversal on 4H BTC
Lull Logic:
Temporarily suppresses exits during minor MACD flattening as long as BTC’s trend remains intact
Price Labels:
Entry and exit signals are annotated with the live BTCUSDT price using request.security()
No Trading ZoneNo trading zone
This indicator highlights the time range between 03:00 and 11:00 UTC as a "danger zone" for trading.
Based on data-driven backtesting, this period consistently showed:
- High frequency of moving average (MA) crossovers without meaningful trend
- A high concentration of sideways market conditions
- Increased likelihood of false breakouts and stop-loss hunting
On average, strong directional trends tend to emerge after 12:00 UTC, especially between 12:00–15:00 UTC.
Avoiding trades during this time zone can help reduce exposure to low-probability setups and enhance strategy reliability.
Highlight Candle Body ≤ 10 Ticks (Clean & Subtle)Purpose:
This indicator highlights candlesticks where the body size (difference between open and close) is 10 ticks or less, specifically for instruments like Crude Oil futures (CL) where 1 tick = 0.01.
How it works:
It calculates the body size: abs(close - open)
If the body is ≤ 0.10 (10 ticks), the candle is softly colored in muted orange.
Wicks are ignored — only the body is considered.
No additional shapes or markers — clean and minimal.
Use case:
Helps identify periods of indecision or low momentum — such as potential pause candles, traps, or setups just before volatility returns.
Inside Bar AlertThis script detects Inside Bars — when the current candle’s high is lower than the previous high and its low is higher than the previous low. It plots a small label on each inside bar and provides an alert option to notify you when an inside bar is detected. Useful for traders looking for potential breakout setups!
TrailAlgo_Gold_StrategyIntroducing TrailAlgo's Gold Strategy: a refined Dollar-Cost Averaging (DCA) Model tailored for traders seeking enhanced consistency and reliability. Our advanced strategy script, now available as an invite-only script on TradingView, provides a systematic approach to confidently navigate the markets.TrailAlgo's Gold DCA strategy builds upon a foundation of rigorous research and backtesting, delivering consistent and dependable results across all timeframes and symbols. With an elevated profit factor, our strategy showcases its effectiveness in optimizing returns while reducing risks. Our trading style emphasizes safety, featuring comprehensive risk management features to safeguard your investments. Experience the next level of trading with TrailAlgo's Gold Strategy, where precision meets performance.
【沣润量化】趋势+背离+止损止盈 专业版🌟【FengRun Quant】Trend + Divergence + Stop Loss/Take Profit Pro Edition —— Multi-Dimensional Smart Trading Strategy!
Key Features:
1️⃣ Dual Timeframe MACD Dynamic Adaptation
Automatically adjusts MACD parameters (fast/slow/signal) for 15M/60M charts, capturing trend resonance across timeframes!
2️⃣ AI-Powered Divergence Detection
Real-time scanning for Regular & Hidden Divergence between price and MACD using pivot points.
Labels "Bullish/Bearish" signals with trendlines and triggers alerts, visualizing reversal/continuation patterns instantly!
3️⃣ Triple-Layer Trend Filtering & Risk Control
EMA Trend Engine: 7/21/50-period EMA crossover + RSI thresholds for high-confidence entries.
ATR Dynamic Stops: Adaptive stop loss (1.5x ATR) and two-tier take profit (1x/2x ATR) based on market volatility.
Phased Exit Strategy: Lock 50% profits at TP1, let the rest ride with trailing logic – maximize risk-reward!
4️⃣ Pro-Level Visualization
Real-time plots of key EMAs (7/21/50/200), entry/exit labels, and stop levels.
Color-coded signals (green for long/red for short) for lightning-fast decision-making!
Ideal For:
Trend Traders: EMA crossover + RSI filter to catch trend ignitions!
Reversal Hunters: Divergence signals pre-warn price reversals!
Risk Masters: ATR-based stops adapt to volatility – no more fixed pips!
Load This Strategy Now & Empower Your Trading with Quant Precision!
(Compatible with TradingView – backtest/live trade seamlessly across stocks, futures, and crypto!)
Lower High Trendline with Swing Points// @version=5
indicator("Lower High Trendline with Swing Points", overlay=true)
// Input parameters
length = input.int(50, "Lookback Length", minval=10, maxval=500, step=10)
swingLookback = input.int(5, "Swing Lookback", minval=2, maxval=20, step=1)
lineColor = input.color(color.red, "Trendline Color")
lineWidth = input.int(2, "Line Width", minval=1, maxval=5)
// Arrays to store swing highs
var float swingHighs = array.new_float(0)
var int swingBars = array.new_int(0)
var line trendLine = na
// Function to detect swing highs
isSwingHigh = high >= ta.highest(high , swingLookback) and high > ta.highest(high, swingLookback)
// Detect and store swing highs
if isSwingHigh and high < ta.highest(high, length)
array.push(swingHighs, high)
array.push(swingBars, bar_index)
// Keep arrays within lookback length
if array.size(swingHighs) > 2
array.shift(swingHighs)
array.shift(swingBars)
// Update trendline with latest two swing highs
if array.size(swingHighs) >= 2
// Get the latest two swing points
float high1 = array.get(swingHighs, array.size(swingHighs) - 1)
float high2 = array.get(swingHighs, array.size(swingHighs) - 2)
int bar1 = array.get(swingBars, array.size(swingBars) - 1)
int bar2 = array.get(swingBars, array.size(swingBars) - 2)
// Ensure high2 is higher than high1 for lower high
if high2 > high1
if na(trendLine)
trendLine := line.new(bar2, high2, bar1, high1, xloc.bar_index, color=lineColor, width=lineWidth)
else
line.set_xy1(trendLine, bar2, high2)
line.set_xy2(trendLine, bar1, high1)
line.set_color(trendLine, lineColor)
line.set_width(trendLine, lineWidth)
// Clean up old trendline if no new swing highs within lookback
if bar_index - array.get(swingBars, array.size(swingBars) - 1) > length
if not na(trendLine)
line.delete(trendLine)
array.clear(swingHighs)
array.clear(swingBars)
trendLine := na
// Plot labels for swing highs
if isSwingHigh and high < ta.highest(high, length)
label.new(bar_index, high, "SH", color=color.red, style=label.style_label_down, textcolor=color.white)
fano 2.0 – completo sin etiquetas FVGThis indicator detects FVGs (Fair Value Gaps) from multiple timeframes and combines them with key PDH/PDL and PWH/PWL levels using horizontal rays. It also integrates automatic alerts when the price enters an active FVG.
🔹 Developed by: @Estefanobaez1
// 🔹 Based on ICT
// 🔹 This indicator automatically detects:
// • FVGs (Fair Value Gaps) from 5M to 1D
// • Key levels: PDH, PDL, PWH, PWL with rays
// • Automatic alerts when entering an FVG
Z Score (Multi-Timeframe)This indicator plots the Z-score of price based on a user-defined timeframe and length. The Z-score measures how far the current price deviates from its historical mean in terms of standard deviations, making it ideal for identifying overbought and oversold conditions in mean reversion setups.
Features:
Adjustable lookback period and standard deviation thresholds
Selectable source price (e.g., close, hl2, ohlc4)
Multi-timeframe support for higher-timeframe confluence
Clean subgraph layout with visual reference lines at ±1 and ±2 standard deviations
This tool is best used in confluence with other indicators or price action for scalping, swing trading, or momentum fading strategies.
🎨 Volume Tuy Chinh - Super High Red//@version=5
indicator("🎨 Volume Tuy Chinh - Super High Red", overlay=false)
avgLength = input.int(20, "So nen tinh volume trung binh")
threshold = input.float(2.0, "Nguong volume sieu cao (x lan)")
avgVol = ta.sma(volume, avgLength)
isSuperHigh = volume > avgVol * threshold
plot(volume, style=plot.style_columns, color=isSuperHigh ? color.red : color.gray, title="Volume Tuy chinh")
🔍 Phat hien Spring Wyckoff (hien thi sau 1 nen)//@version=5
indicator("🔍 Phat hien Spring Wyckoff (hien thi sau 1 nen)", overlay=true)
// === Tham so nguoi dung ===
lookbackSupport = input.int(50, "Tim ho tro trong X nen", minval=5)
volumeLookback = input.int(20, "So nen tinh volume trung binh", minval=1)
volMultiplier = input.float(1.5, "Nguong volume cao bat thuong", step=0.1)
showSupportLine = input.bool(true, "Hien thi duong ho tro")
// === Tim day gan nhat lam ho tro ===
lowestLow = ta.lowest(low, lookbackSupport)
// === Tinh volume trung binh ===
avgVol = ta.sma(volume, volumeLookback)
// === Dieu kien Spring (o cay nen hien tai) ===
isSpringNow = low < lowestLow and close > lowestLow and volume > avgVol * volMultiplier
// === Tri hoan tin hieu 1 nen de hien thi chu o cay ke tiep ===
isSpringPrev = isSpringNow
// === Hien thi chu "Spring" o cay nen ke tiep ===
plotshape(isSpringPrev, style=shape.labelup, location=location.belowbar, color=color.green, size=size.small, text="Spring", textcolor=color.white)
// === Ve duong ho tro mau tim, dam ===
plot(showSupportLine ? lowestLow : na, title="Ho tro", color=color.purple, linewidth=2, style=plot.style_line)
VWAP + Wyckoff (Spring & UT)//@version=5
indicator("VWAP + Wyckoff (Spring & UT)", overlay=true)
// === INPUTS ===
dev1 = input.float(1.0, "Do lech chuan 1", group="VWAP Bands")
dev2 = input.float(2.0, "Do lech chuan 2", group="VWAP Bands")
volMultiplier = input.float(1.5, "Nguong volume cao bat thuong", group="Wyckoff Logic")
lookback = input.int(50, "So nen tim ho tro/khang cu", group="Wyckoff Logic")
// === VWAP ===
vwapVal = ta.vwap
var float cumVol = na
var float cumPV = na
var float cumPV2 = na
if (ta.change(time("D")) != 0)
cumVol := 0
cumPV := 0
cumPV2 := 0
cumVol += volume
cumPV += hlc3 * volume
cumPV2 += math.pow(hlc3, 2) * volume
mean = cumPV / cumVol
variance = cumPV2 / cumVol - math.pow(mean, 2)
stdev = math.sqrt(variance)
// Bands
upper1 = vwapVal + dev1 * stdev
lower1 = vwapVal - dev1 * stdev
upper2 = vwapVal + dev2 * stdev
lower2 = vwapVal - dev2 * stdev
// === PLOT ===
plot(vwapVal, color=color.orange, linewidth=2, title="VWAP")
pUpper1 = plot(upper1, color=color.green, title="Upper Band 1")
pLower1 = plot(lower1, color=color.green, title="Lower Band 1")
pUpper2 = plot(upper2, color=color.blue, title="Upper Band 2")
pLower2 = plot(lower2, color=color.blue, title="Lower Band 2")
fill(pUpper1, pLower1, color=color.new(color.green, 85), title="Fill Band 1")
fill(pUpper2, pLower2, color=color.new(color.blue, 90), title="Fill Band 2")
// === Wyckoff SPRING & UT Detection ===
support = ta.lowest(low, lookback)
resistance = ta.highest(high, lookback)
avgVol = ta.sma(volume, 20)
isSpring = low < support and close > support and volume > avgVol * volMultiplier
isUT = high > resistance and close < resistance and volume > avgVol * volMultiplier
plotshape(isSpring, title="Spring", location=location.belowbar, text="Spring", style=shape.labelup, size=size.small, color=color.lime, textcolor=color.white)
plotshape(isUT, title="UpThrust", location=location.abovebar, text="UT", style=shape.labeldown, size=size.small, color=color.red, textcolor=color.white)
// === Alerts ===
alertcondition(isSpring, title="🔔 Spring xuat hien", message="Tin hieu SPRING xuat hien!")
alertcondition(isUT, title="🔔 UpThrust xuat hien", message="Tin hieu UPTHRUST xuat hien!")
Filled/Unfilled Candles + Gap ZonesFilled unfilled filled candlestick
To help traders identify bullish/bearish candles and price gaps that may offer trade opportunities.
---
Features:
1. Candle Coloring:
Green = Unfilled Bullish Candle (close > open).
Red = Filled Bearish Candle (close < open).
2. Gap Detection:
Detects Gap-Up (today's open > yesterday's high).
Detects Gap-Down (today's open < yesterday's low).
3. Gap Zones:
Draws a box around the gap area.
If price fills the gap, the box color turns green to confirm.
4. Alerts:
Alerts you when a gap is filled, signaling potential reversal or continuation setup.
Denoised Money Flow Index with MA CrossThis indicator is great for adding confluence to your existing setup to allow for further confirmations. It has a denoised MFI and a ma cross to allow for trend following momentum like action within your trading.
RNDR Volume-Based TriggersTo determine volume in and practice a stop if the volume doesn't support the uptrend