Gold DCA IndicatorThis indicator operates on the assumption that when there is a bearish cross on the MACD on the S&P 500, it is ideal to DCA into gold as investors are hedging their investments into safe assets.
It plots these events with tags on the gold chart and also provides alerts when these events occur.
Indicatori e strategie
H4 3-Candle Pattern (Persistent Signals)Below is an example in Pine Script v5 that detects a pattern using the last three completed 4H candles and then plots a permanent arrow on the fourth candle (i.e. on the current bar) when the conditions are met. The arrow stays on that bar even after new bars form.
In this version, the pattern is evaluated as follows on each bar (when there are enough candles):
Bullish Pattern:
The candle three bars ago (oldest of the three) is bullish (its close is greater than its open).
The candle two bars ago closes above the high of that older candle.
The last completed candle (one bar ago) closes at or above the low of the candle two bars ago.
Bearish Pattern:
The candle three bars ago is bearish (its close is less than its open).
The candle two bars ago closes below the low of that older candle.
The last completed candle closes at or below the high of the candle two bars ago.
When the conditions are met the script draws a green up arrow below the current (fourth) candle for a bullish pattern and a red down arrow above the current candle for a bearish pattern. These arrows are drawn as regular plot symbols and remain on the chart permanently.
Copy and paste the code into TradingView’s Pine Script Editor:
Pin Bar & Momentum DetectorThis indicator is suitable for detecting an entry point, which is most commonly used in New York Time, but it can be adjusted. At the moment, by detecting a candlestick base or pin bar in the time frame and checking the average volume of the previous 5 candlesticks, which should be more than that, it shows you a momentum, and by taking the candlestick, it confirms that there is a second or third candlestick, which is in the form of a momentum candlestick, you can enter safely, and the stop behind the candlestick base and the target is at least 1/2 and 1/3. In each timeframe, you need to make adjustments, for example, in the 15-minute timeframe, the number of candlesticks in a day is 96, and their average is equal to 1 unit, and set the number of candlesticks in front of 96. Coming soon with the Ingalev candlestick will also be added
Bobal [Wines 🍷]The Bobal tool is a volume-based wave analyzer designed to highlight the effort behind price movement within trend waves. It is built with a focus on clarity, speed of response, and a Wyckoff-inspired philosophy, where volume and trend direction are deeply intertwined.
This script offers a unique visualization of directional volume flow — up or down — in clearly segmented waves, allowing traders to assess who is in control and how strong their effort is. It does this by calculating dynamic trend waves, accumulating volume within those waves, and comparing volume to volatility for normalization.
🔶 What's included
Detects directional waves based on your selected moving average (SMA, EMA, WMA, or HMA).
Accumulates volume within each wave, creating a distinct "volume block" per wave.
Normalizes volume by ATR (optional) to adjust for current market volatility.
Applies a power function to volume strength for dynamic contrast (stronger waves stand out visually).
Plots volume histograms in real-time: green/orange for up waves, red/fuchsia for down waves.
Optional - displays trend strength background based on recent price expansion vs ATR.
🔷 How it works
Wave Definition
A wave is defined as a sequence of bars moving in the same direction based on a selected moving average:
If the MA rises → uptrend wave
If the MA falls → downtrend wave
Wave resets on direction change
Volume Accumulation
Volume is accumulated within each wave, starting fresh at the beginning of each new wave. This clean segmentation reveals whether the current wave is attracting participation (volume).
Normalization (Optional)
Volume can be normalized by the ATR (Average True Range) to account for volatility differences across symbols and timeframes. This makes comparisons more meaningful.
Strength Calculation
Volume strength is calculated by comparing current wave volume to the maximum over a recent period (default: 50 bars), and applying a pow() function for expressive scaling. This emphasizes high-effort waves while de-emphasizing noise.
🔶 Usage
Histogram bars:
🟩 - strong bullish
🟧 - weak bullish
🟪 - weak bearish
🟥 - strong bearish
Optional background highlights trend strength.
Bright 🟩 green or 🟥 red, based on how strongly price moves away from its MA relative to ATR.
Watch for:
Sudden volume increases in weak trend waves (potential traps or absorption).
Strong waves on low volume (possibly unsustainable moves).
Extended high-volume waves (momentum building).
Use MA Type to tune sensitivity (WMA or EMA are typically more responsive).
Enable or disable normalization and trend background based on preference.
Algo Edge Solutions S.M.C Indicator✅ Invite-Only Closed-Source Description
Title: Algo Edge Solutions S.M.C Indicator
Description:
This script is an advanced closed-source Smart Money Concepts (SMC) indicator designed for serious traders and institutions. It provides a rich combination of market structure detection, automated order block mapping, swing high/low tracking, and precision volume analysis across multiple timeframes.
🔹 Main Features:
Automatic detection of CHoCH (Change of Character) and BoS (Break of Structure) on both internal and external levels.
Swing high/low labeling with historical sensitivity control.
Dynamic Order Blocks with automated pruning and last-N limit.
Auto-Fibonacci levels drawn between relevant pivots.
Fair Value Gaps (FVG) with optional fill logic and proximity highlight.
Volume percentile calculations on 4H and Daily timeframes.
Real-time session overlays for New York, London, and Asia sessions.
🔒 Why Closed-Source: This tool includes proprietary logic developed in-house by Algo Edge Solutions. The internal structure recognition engine and visual optimization methods are original and not available in public open-source indicators. Protecting this intellectual property ensures the integrity and strategic edge of the algorithm.
📈 Usage:
Best suited for intraday setups such as 15m to 4H.
Combine FVGs, Order Blocks, and volume zones for high-probability trade identification.
Use in confluence with your price action framework for optimal entry/exit planning.
📝 Access: This is an invite-only script. Contact the publisher for access information.
XAUUSD MA Cosine Similarity//@version=5
indicator(title="🔍 XAUUSD - Cosine Similarity MA (ML-inspired)", shorttitle="XAUUSD CosSim MA", overlay=false)
// ------------------------------
// 📌 Input Parameter
// ------------------------------
maLength1 = input.int(5, title="MA Window 1 (Short)", minval=2)
maLength2 = input.int(10, title="MA Window 2 (Long)", minval=2)
thresholdBuy = input.float(0.95, title="Threshold BUY", step=0.01)
thresholdSell = input.float(0.90, title="Threshold SELL", step=0.01)
showSignal = input.bool(true, title="Tampilkan Sinyal Buy/Sell")
// ------------------------------
// 🧠 Fungsi Cosine Similarity
// ------------------------------
getNormalizedVector(length) =>
vec = array.new_float()
norm = 0.0
for i = 0 to length - 1
val = close
array.push(vec, val)
norm += val * val
norm := math.sqrt(norm)
for i = 0 to length - 1
val = array.get(vec, i)
array.set(vec, i, norm != 0 ? val / norm : 0.0)
vec
cosineSimilarity(vec1, vec2) =>
dot = 0.0
size = math.min(array.size(vec1), array.size(vec2))
for i = 0 to size - 1
dot += array.get(vec1, i) * array.get(vec2, i)
dot
// ------------------------------
// 📈 Perhitungan Cosine Similarity
// ------------------------------
vec1 = getNormalizedVector(maLength1)
vec2 = getNormalizedVector(maLength2)
cos_sim = cosineSimilarity(vec1, vec2)
// ------------------------------
// 🔔 Sinyal Trading
// ------------------------------
buySignal = cos_sim > thresholdBuy
sellSignal = cos_sim < thresholdSell
plot(cos_sim, title="Cosine Similarity", color=color.orange, linewidth=2)
hline(thresholdBuy, "Threshold BUY", color=color.green, linestyle=hline.style_dashed)
hline(thresholdSell, "Threshold SELL", color=color.red, linestyle=hline.style_dashed)
plotshape(showSignal and buySignal ? cos_sim : na, title="Buy Signal", location=location.bottom, color=color.green, style=shape.labelup, text="BUY")
plotshape(showSignal and sellSignal ? cos_sim : na, title="Sell Signal", location=location.top, color=color.red, style=shape.labeldown, text="SELL")
// ------------------------------
// 📘 Info Panel (Optional)
// ------------------------------
var label infoLabel = na
if (bar_index % 20 == 0)
label.delete(infoLabel)
infoLabel := label.new(x=bar_index, y=cos_sim, text="Cosine Similarity MA Inspired by Machine Learning By: @YourName", style=label.style_label_left, textcolor=color.white, bgcolor=color.gray, size=size.small)
Delta Zones🔶 Delta Zones — A Precision Tool for Time-Price Mapping 🔶
The Delta Zones indicator is a refined structure-mapping tool that dynamically tracks zones of dominant trading activity across recent sessions.
These zones are projected forward in time, offering traders a reliable visual guide to where significant interactions between buyers and sellers are likely to take place.
This tool was designed for intraday use, but its adaptability makes it powerful even on higher timeframes, giving traders insights into market behavior without the noise. You need to change session setting from indicator to higher TF that the chart. For intra, its by default on daily.
🔧 What This Indicator Does
Detects and displays the key activity zone for the current session (today).
Recalls the most active zone from the previous session, allowing you to track momentum or reversal bias.
Color codes each zone based on where price currently trades relative to it:
Neutral gradient (orange/white) for today’s zone, showing where price is consolidating or reacting.
Bullish green fade if price is trading above yesterday’s zone.
Bearish red fade if price is trading below yesterday’s zone.
Extends each zone forward (default 200 bars) so you can observe price behavior as it revisits these areas over time.
📈 How to Use Delta Zones
Trend Continuation:
If price pushes beyond today's zone and maintains momentum, it may suggest strength in that direction. Watch how price reacts on retests of this zone.
Fade or Mean Reversion:
When price strays far from a Delta Zone and struggles to gain ground, it often rotates back into that region. These situations can offer attractive risk-reward setups.
Zone Polarity from Prior Sessions:
Yesterday’s zone serves as a directional cue — if price opens and stays above it (green-filled), sentiment favors strength. If it stays below (red-filled), weakness may persist.
Support/Resistance Anchors:
Use zones as dynamic S/R levels — watch for wick tests, engulfing candles, or volume surges at zone edges for potential trade entries or exits.
🎛️ Inputs You Can Control
Session Length (Default: Daily): Defines how often a new zone is calculated.
💡 Pro Tip
These zones act like magnetic fields around price — not only can they contain price, but they also attract it. The key is to recognize when price is respecting, rejecting, or absorbing at the edges of the zone.
Pair Delta Zones with your favorite price action, momentum, or volume tools for sharper decision-making. For example, "Accumulation/Distribution Money Flow" script which I published few days ago.
⚠️ Note
This is a conceptually adaptive framework designed to simplify the visual structure of the market. While no model guarantees predictive accuracy, Delta Zones are especially useful for contextualizing price behavior and anticipating where meaningful reactions may occur.
This is an educational idea, use it at your own risk.
Past performance does not guarantee future success.
Wyckoff S-bar and RS-bar DetectorThis script is used for detecting Significant candle/bar according to Wyckoff definition.
Highly appriciate your feedback if any issue during your usage.
Bollinger Bands (Indicator Only)Just a Bollinger Bands indicator that can be used to make a strategy, I hope it will help you
Hedging Exit Strategy - XAUUSD//@version=5
indicator("Hedging Exit Strategy - XAUUSD", overlay=true)
// === Supertrend Settings ===
atrPeriod = input.int(10, title="ATR Period")
factor = input.float(3.0, title="Supertrend Factor")
= ta.supertrend(factor, atrPeriod)
// === External ML Signal (manual input for simulation/testing) ===
mlSignal = input.string("Neutral", title="ML Signal (Buy / Sell / Neutral)", options= )
// === Entry Buy Info ===
entryBuyPrice = input.float(3005.0, title="Entry Buy Price")
currentProfit = close - entryBuyPrice
isBuyProfitable = currentProfit > 0
// === Conditions ===
isSupertrendSell = direction < 0
isMLSell = mlSignal == "Sell"
exitBuyCondition = isBuyProfitable and isMLSell and isSupertrendSell
// === Plotting Supertrend ===
plot(supertrend, "Supertrend", color=direction > 0 ? color.green : color.red, linewidth=2)
// === Plot Exit Buy Signal ===
bgcolor(exitBuyCondition ? color.red : na, transp=85)
plotshape(exitBuyCondition, title="Exit Buy", location=location.abovebar, color=color.red, style=shape.flag, text="EXIT")
// === Create label only when exitBuyCondition is true ===
if exitBuyCondition
label.new(bar_index, high, "EXIT BUY", style=label.style_label_down, color=color.red, size=size.small, textcolor=color.white)
FVG + PrevDayLow [Dovy]This custom TradingView indicator identifies Fair Value Gaps (FVGs)—both bullish and bearish—and checks if they form below the previous day's low. It also attempts to detect a potential "FVG open" pattern, suggesting that price might fill or react to these gaps.
Sessions with Mausa session high/low tracker that draws flat, horizontal lines for Asia, London, and New York trading sessions. It updates those levels in real time during each session, locks them in once the session ends, and keeps them on the chart for context.
At a glance, you always know:
Where each session’s highs and lows were set
Which session produced them (ASIA, LDN, NY labels float cleanly above the highs)
When price is approaching or reacting to prior session levels
🔹 Use Cases:
• Key Levels – See where Asia, London, or NY set boundaries, and watch how price respects or rejects them
• Breakout Zones – Monitor when price breaks above/below session highs/lows
• Session Structure – Know instantly if a move happened during London or NY without squinting at the clock
• Backtesting – Keep historic session levels on the chart for reference — nothing gets deleted
• Confluence – Align these levels with support/resistance, fibs, or liquidity zones
Simple, visual, no distractions — just session structure at a glance.
ALGO BLASTER ver 2.0This indicator plots signals based on the VWAP + standard deviation bands along with small modification, similar in concept to Bollinger Bands but centered around VWAP instead of a moving average.
Features
Intraday VWAP: Resets daily for accurate session-based levels.
Customizable Bands: Choose how many standard deviations to plot (default is 2).
Clean Visualization: Color-coded VWAP and bands for easy reference.
Optional Session Time: Use custom session times if needed (e.g., RTH only).
Minimal Lag: Bands are calculated using a rolling standard deviation of hlc3 (high + low + close) / 3.
How to Use
Use it on intraday timeframes like 1-min, 5-min, or 15-min for best results.
Price near the VWAP often indicates equilibrium.
Price moving far above/below the upper/lower bands may signal exhaustion, mean reversion, or breakout strength depending on volume and trend context.
Combine with price action, support/resistance, or volume analysis for better decision-making.
Notes
This VWAP resets at the start of each trading day, which aligns with common institutional use.
Works best in liquid markets (e.g., indices, large-cap stocks, futures, crypto).
The bands adjust dynamically throughout the session as new price and volume data comes in.
QuantumTrend Signals [Atiloan]Introducing the Quantum Trend Signals Indicator by Atiloan
Unlock precision in trend analysis with the Trend and Strength Signals indicator, expertly crafted to help you identify market trends and assess market strength with clarity and ease. This exclusive tool is available only through direct access. For inquiries or to purchase, contact me at a.richter@ikr-richter.com.
Key Features:
Customizable Parameters
Tailor your experience with adjustable settings for the period, standard deviation multiplier, gauge size, and color schemes, ensuring the tool aligns perfectly with your unique trading style.
Trend Detection
Seamlessly visualize trends with clear, color-coded signals that highlight both uptrends and downtrends for quick, actionable insights.
Dynamic Strength Gauge
Measure market strength with a responsive gauge that adapts to current price action, providing real-time feedback on market conditions.
Alerts
Stay ahead of the market with customizable alerts for bullish and bearish trend crossovers, as well as key take-profit points to optimize your trading strategy.
Visual Enhancements
Enjoy a clean, intuitive charting experience with integrated plot shapes, color fills, and gradient gauges that reduce clutter and focus your analysis.
How to Get Started:
Maximize your trading efficiency by following these simple steps to set up the Trend and Strength Signals indicator:
Add the Indicator
Add the indicator to your favorites and customize it according to your trading preferences, including period, multiplier, and color settings.
Exclusive Access
This indicator is available exclusively through direct access. For more information or to purchase, reach out via email at a.richter@ikr-richter.com.
📘 Candle Info Visual + Engulfing + BB + Buy/Sell Signal// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © syikomayu
//@version=6
indicator('M.Shiam-📘 Candle Info Visual + Engulfing + BB + Buy/Sell Signal', overlay = true)
// === INPUTS ===
showBB = input.bool(true, title = 'Show Bollinger Bands?')
bbLength = input.int(20, title = 'BB Length')
bbMult = input.float(2.0, title = 'BB Multiplier')
// === CANDLE METRICS ===
isBullish = close > open
isBearish = close < open
bodySize = math.abs(close - open)
upperShadow = high - math.max(open, close)
lowerShadow = math.min(open, close) - low
candleColor = isBullish ? color.green : isBearish ? color.red : color.gray
// === CANDLE INFO TEXT ===
infoText = 'Candle: ' + (isBullish ? 'Bullish' : isBearish ? 'Bearish' : 'Doji') + ' ' + 'Body: ' + str.tostring(bodySize, '#.##') + ' ' + 'Upper Shadow: ' + str.tostring(upperShadow, '#.##') + ' ' + 'Lower Shadow: ' + str.tostring(lowerShadow, '#.##')
// === DISPLAY LABEL EVERY 5 BARS ===
if bar_index % 5 == 0
label.new(x = bar_index, y = high, text = infoText, style = label.style_label_down, color = candleColor, textcolor = color.white)
// === ENGULFING DETECTION ===
isBullishEngulfing = open > close and open < close and open < close and close > open
isBearishEngulfing = open < close and open > close and open > close and close < open
// === BOLLINGER BANDS ===
basis = ta.sma(close, bbLength)
dev = bbMult * ta.stdev(close, bbLength)
upperBB = basis + dev
lowerBB = basis - dev
plot(showBB ? basis : na, title = 'BB Basis', color = color.gray)
plot(showBB ? upperBB : na, title = 'BB Upper', color = color.orange)
plot(showBB ? lowerBB : na, title = 'BB Lower', color = color.orange)
// === BACKGROUND HIGHLIGHT ===
bgcolor(isBullishEngulfing ? color.new(color.green, 85) : isBearishEngulfing ? color.new(color.red, 85) : na)
// === BUY / SELL SIGNAL LOGIC ===
// Buy: Bullish engulfing + close below lower BB
// Sell: Bearish engulfing + close above upper BB
buySignal = isBullishEngulfing and close < lowerBB
sellSignal = isBearishEngulfing and close > upperBB
// === PLOT BUY / SELL SHAPES ===
plotshape(buySignal, title = 'Buy Signal', location = location.belowbar, color = color.lime, style = shape.triangleup, text = 'BUY', size = size.small)
plotshape(sellSignal, title = 'Sell Signal', location = location.abovebar, color = color.red, style = shape.triangledown, text = 'SELL', size = size.small)
// === ALERT CONDITIONS ===
alertcondition(buySignal, title = 'BUY Signal Alert', message = '✅ BUY signal based on Engulfing + Bollinger Band')
alertcondition(sellSignal, title = 'SELL Signal Alert', message = '❌ SELL signal based on Engulfing + Bollinger Band')
200均线ema200均线指标
自动绘制30分钟、1小时、4小时、1天的均线,并在右下角显示目前均线价格。
EMA200 Moving Average Indicator
Automatically plot the moving averages for 30 - minute, 1 - hour, 4 - hour, and 1 - day timeframes, and display the current moving average prices in the bottom - right corner.
TrendIntensity Signal [Atiloan]Introducing the TrendIntensity Signal by Atiloan
A powerful and dynamic TradingView indicator designed to provide clear insights into the strength and direction of market trends directly on your charts.
Key Features:
Trend Strength Visualization: A color-coded system to easily identify the strength and direction of trends.
Customizable Settings: Adjust trend detection and normalization periods to align with your unique trading strategy.
Flexible Color Scheme: Intuitive color settings for uptrends (green) and downtrends (red) to enhance chart clarity.
Real-Time Alerts: Receive notifications for potential trend reversals, ensuring you stay ahead of market movements.
How to Use:
Add the Indicator: Simply add the indicator to your favorites and adjust the settings to match your trading preferences.
Market Pulse TableMarket Pulse Table – Customizable MACD Tracker
This indicator provides a clean and compact table showing real-time market signals for selected instruments.
✅ Features:
• Displays daily % change with color-coded sentiment (green for gains, red for losses)
• Shows MACD signal – "Buy", "Sell", or "Neutral" based on daily MACD crossovers
• Fully customizable: toggle which assets to include from a predefined list (e.g., ES1!, NQ1!, DXY, VIX...)
• Adjustable table position on chart
🎯 Designed for traders who want a quick overview of market direction, momentum, and volatility across key instruments, helping you stay aligned with the broader trend.
Multi Conditions Alert SystemThis indicator allows you to build custom alerts using up to 4 user-defined conditions, with each condition capable of referencing values from any other indicator on your chart—free, paid, or private.
🔥 Key Features:
Compare up to 8 different indicators across 4 flexible condition blocks
Combine plots from separate indicators (e.g. MACD vs VWAP, RSI vs MA)
Choose from operators like greater than, less than, crossing, and more
One alert setup for all selected conditions (simplifies alert creation)
💡 Example Use Cases:
“Trigger alert when MACD crosses above VWAP AND price is above the 20 EMA”
“If RSI from one script drops below a value from another... send notification”
“Only alert me when all my custom signals line up”
🧠 Who It’s For:
Traders who use multiple indicators for confluence
Users of invite-only or non-alert-capable indicators
Scalpers, day traders, and swing traders looking for signal automation
✅ Works with:
Free TradingView indicators
Paid or private scripts (must be visible on your chart)
Your own custom strategies or tools