Trend Breakout [Uncle Sam Trading]Trend Breakout Indicator
Overview
The Trend Breakout Indicator is a powerful, non-repainting tool designed to help traders identify high-probability breakout and trend reversal setups on any market and timeframe. By leveraging pivot points, this indicator draws dynamic support and resistance channels, highlights counter-trend breakouts, and provides visual cues for market direction. It’s ideal for traders looking to simplify their analysis while targeting key price levels for entries and exits.
Key Features
Pivot-Based Channels: Draws a red upper channel (resistance) and a green lower channel (support) by connecting recent pivot highs and lows.
Counter-Trend Breakout Signals:
Blue “CT Breakup” signal (▲) when the price breaks above the upper channel during a downtrend, indicating a potential reversal or pullback.
Orange “CT Breakdown” signal (▼) when the price breaks below the lower channel during an uptrend, signaling a potential downmove.
Trend Visualization: Background color shifts to green for uptrends and red for downtrends, making it easy to gauge market direction.
Customizable Settings: Adjust pivot detection sensitivity with “Pivot Left Bars” (default: 5) and “Pivot Right Bars” (default: 1), and control channel extension with “Channel Extension Bars” (default: 50).
Optional Trend Signals: Enable “Show Trend Change Signals” to display trend shifts with green (uptrend) or red (downtrend) arrows.
Alert Conditions: Set alerts for counter-trend breakouts and trend changes directly on TradingView.
Example Performance (BTCUSDT, 1-Hour Chart)
On the BTCUSDT 1-hour chart:
A “CT Breakdown” signal appeared on April 6 at 8:00 AM at $82,700, followed by a drop to $74,400 within hours—a 10% move.
A “CT Breakup” signal occurred on April 9 at 1:00 AM at $76,600, leading to a rally to $86,600 in a few hours—a 9% gain.
These examples highlight the indicator’s ability to spot significant price movements, though results depend on market conditions, your trading style, and risk management.
Settings
Pivot Left Bars (default: 5): Number of bars to the left for pivot detection.
Pivot Right Bars (default: 1): Number of bars to the right for pivot confirmation (ensures non-repainting signals).
Channel Extension Bars (default: 50): How far the channels extend to the right.
Show Pivot Points (default: true): Displays small triangles at pivot highs (maroon) and lows (navy).
Show Counter-Trend Breakout Signals (default: true): Shows CT Breakup and CT Breakdown signals.
Show Trend Change Signals (default: false): Displays trend shift arrows when enabled.
How to Use
Add the indicator to your chart via TradingView’s indicator library.
Adjust the settings to match your trading style and timeframe.
Watch for “CT Breakup” and “CT Breakdown” signals to identify potential trade setups.
Use the background color (green/red) to confirm the current trend.
Set alerts for breakouts or trend changes to stay updated on key signals.
Always combine with proper risk management and your own analysis—past performance is not a guarantee of future results.
Notes
The indicator is non-repainting, meaning signals are confirmed and won’t disappear after they form.
Works on any market (crypto, forex, stocks) and timeframe, such as the BTCUSDT 1-hour chart shown.
Performance varies based on market volatility and your trading strategy.
This is a free tool created to support the TradingView community—feedback is welcome in the comments!
Disclaimer
Trading involves risk, and this indicator is not a guaranteed predictor of future price movements. Always conduct your own analysis and manage risk appropriately. The examples provided (e.g., BTCUSDT signals) are for educational purposes only and reflect past performance, which may not repeat.
밴드 및 채널
GIGANEVA V6.61 PublicSummary
This enhanced Fibonacci script for TradingView is a powerful, all-in-one tool that calculates Fibonacci Levels, Fans, Time Pivots, and Golden Pivots on both logarithmic and linear scales. Its ability to compute time pivots via fan intersections and Range interactions, combined with user-friendly features like Bool Fib Right, sets it apart. The script maximizes TradingView’s plotting capabilities, making it a unique and versatile tool for technical analysis across various markets.
1. Overview of the Script
The script appears to be a custom technical analysis tool built for TradingView, improving upon an existing script from TradingView’s Community Scripts. It calculates and plots:
Fibonacci Levels: Standard retracement levels (e.g., 0.236, 0.382, 0.5, 0.618, etc.) based on a user-defined price range.
Fibonacci Fans: Trendlines drawn from a high or low point, radiating at Fibonacci ratios to project potential support/resistance zones.
Time Pivots: Points in time where significant price action is expected, determined by the intersection of Fibonacci Fans or their interaction with key price levels.
Golden Pivots: Specific time pivots calculated when the 0.5 Fibonacci Fan (on a logarithmic or linear scale) intersects with its counterpart.
The script supports both logarithmic and linear price scales, ensuring versatility across different charting preferences. It also includes a feature to extend Fibonacci Fans to the right, regardless of whether the user selects the top or bottom of the range first.
2. Key Components Explained
a) Fibonacci Levels and Fans from Top and Bottom of the "Range"
Fibonacci Levels : These are horizontal lines plotted at standard Fibonacci retracement ratios (e.g., 0.236, 0.382, 0.5, 0.618, etc.) based on a user-defined price range (the "Range"). The Range is typically the distance between a significant high (top) and low (bottom) on the chart.
Example : If the high is $100 and the low is $50, the 0.618 retracement level would be at $80.90 ($50 + 0.618 × $50).
Fibonacci Fans : These are diagonal lines drawn from either the top or bottom of the Range, radiating at Fibonacci ratios (e.g., 0.382, 0.5, 0.618). They project potential dynamic support or resistance zones as price evolves over time.
From Top : Fans drawn downward from the high of the Range.
From Bottom : Fans drawn upward from the low of the Range.
Log and Linear Scale:
Logarithmic Scale : Adjusts price intervals to account for percentage changes, which is useful for assets with large price ranges (e.g., cryptocurrencies or stocks with exponential growth). Fibonacci calculations on a log scale ensure ratios are proportional to percentage moves.
Linear Scale : Uses absolute price differences, suitable for assets with smaller, more stable price ranges.
The script’s ability to plot on both scales makes it adaptable to different markets and user preferences.
b) Time Pivots
Time pivots are points in time where significant price action (e.g., reversals, breakouts) is anticipated. The script calculates these in two ways:
Fans Crossing Each Other:
When two Fibonacci Fans (e.g., one from the top and one from the bottom) intersect, their crossing point represents a potential time pivot. This is because the intersection indicates a convergence of dynamic support/resistance zones, increasing the likelihood of a price reaction.
Example: A 0.618 fan from the top crosses a 0.382 fan from the bottom at a specific bar on the chart, marking that bar as a time pivot.
Fans Crossing Top and Bottom of the Range:
A fan line (e.g., 0.5 fan from the bottom) may intersect the top or bottom price level of the Range at a specific time. This intersection highlights a moment where the fan’s projected support/resistance aligns with a key price level, signaling a potential pivot.
Example : The 0.618 fan from the bottom reaches the top of the Range ($100) at bar 50, marking bar 50 as a time pivot.
c) Golden Pivots
Definition : Golden pivots are a special type of time pivot calculated when the 0.5 Fibonacci Fan on one scale (logarithmic or linear) intersects with the 0.5 fan on the opposite scale (or vice versa).
Significance : The 0.5 level is the midpoint of the Fibonacci sequence and often acts as a critical balance point in price action. When fans at this level cross, it suggests a high-probability moment for a price reversal or significant move.
Example : If the 0.5 fan on a logarithmic scale (drawn from the bottom) crosses the 0.5 fan on a linear scale (drawn from the top) at bar 100, this intersection is labeled a "Golden Pivot" due to its confluence of key Fibonacci levels.
d) Bool Fib Right
This is a user-configurable setting (a boolean input in the script) that extends Fibonacci Fans to the right side of the chart.
Functionality : When enabled, the fans project forward in time, regardless of whether the user selected the top or bottom of the Range first. This ensures consistency in visualization, as the direction of the Range selection (top-to-bottom or bottom-to-top) does not affect the fan’s extension.
Use Case : Traders can use this to project future support/resistance zones without worrying about how they defined the Range, improving usability.
3. Why Is This Code Unique?
Original calculation of Log levels were taken from the Comunity Scripts, modified and applied to Fib fans. The script’s uniqueness stems from its comprehensive integration of Fibonacci-based tools and its optimization for TradingView’s plotting capabilities. Here’s a detailed breakdown:
All-in-One Fibonacci Tool:
Most Fibonacci scripts on TradingView focus on either retracement levels, extensions, or fans.
This script combines :
Fibonacci Levels : Static horizontal lines for retracement and extension.
Fibonacci Fans : Dynamic trendlines for projecting support/resistance.
Time Pivots : Temporal analysis based on fan intersections and Range interactions.
Golden Pivots : Specialized pivots based on 0.5 fan confluences.
By integrating these functions, the script provides a holistic Fibonacci analysis tool, reducing the need for multiple scripts.
Log and Linear Scale Support :
Many Fibonacci tools are designed for linear scales only, which can distort projections for assets with exponential price movements. By supporting both logarithmic and linear scales, the script caters to a wider range of markets (e.g., stocks, forex, crypto) and user preferences.
Time Pivot Calculations:
Calculating time pivots based on fan intersections and Range interactions is a novel feature. Most TradingView scripts focus on price-based Fibonacci levels, not temporal analysis. This adds a predictive element, helping traders anticipate when significant price action might occur.
Golden Pivot Innovation:
The concept of "Golden Pivots" (0.5 fan intersections across scales) is a unique addition. It leverages the symmetry of the 0.5 level and the differences between log and linear scales to identify high-probability pivot points.
Maximized Plot Capabilities:
TradingView imposes limits on the number of plots (lines, labels, etc.) a script can render. This script is coded to fully utilize these limits, ensuring that all Fibonacci levels, fans, pivots, and labels are plotted without exceeding TradingView’s constraints.
This optimization likely involves efficient use of arrays, loops, and conditional plotting to manage resources while delivering a rich visual output.
User-Friendly Features:
The Bool Fib Right option simplifies fan projection, making the tool intuitive even for users who may not consistently select the Range in the same order.
The script’s flexibility in handling top/bottom Range selection enhances usability.
4. Potential Use Cases
Trend Analysis : Traders can use Fibonacci Fans to identify dynamic support/resistance zones in trending markets.
Reversal Trading: Time pivots and Golden Pivots help pinpoint moments for potential price reversals.
Range Trading : Fibonacci Levels provide key price zones for trading within a defined range.
Cross-Market Application: Log/linear scale support makes the script suitable for stocks, forex, commodities, and cryptocurrencies.
Strategy**RSI EMA WMA Strategy - Multi-Timeframe (by AiViet)**
A clean scalping tool using multi-timeframe RSI, EMA9, and WMA45 logic.
🟢 Uses H1 for direction
🔵 M15 for confirmation
🟠 M5 for precision entries
Works great on gold, indices, or crypto with trend-following strategies.
No repaint. Fully open-source.
By @AiViet
Telegram: t.me/eddytraderfx
Scalping Pro Balance + UT Bot//@version=5
indicator("Scalping Pro Balance + UT Bot", overlay=true)
// === INPUTS ===
emaLen = input.int(20, "EMA Trend")
takeProfitPerc = input.float(1.0, "Take Profit (%)", step=0.1)
atrMult = input.float(0.8, "Trailing ATR Multiplier", step=0.1)
atrLen = input.int(14, "ATR Length")
rsiLen = input.int(9, "RSI Length")
// === INDICATORS ===
ema = ta.ema(close, emaLen)
= ta.macd(close, 6, 13, 6)
rsi = ta.rsi(close, rsiLen)
atr = ta.atr(atrLen)
// === UT BOT LOGIC ===
a = input.float(1.0, title="UT Key Multiplier")
c = input.int(10, title="UT ATR Period")
h = input.bool(false, title="Use Heikin Ashi")
src = h ? request.security(syminfo.tickerid, timeframe.period, hlc3) : close
xATR = ta.atr(c)
nLoss = a * xATR
var float xATRTrailingStop = na
xATRTrailingStop := na(xATRTrailingStop ) ? src - nLoss :
src > xATRTrailingStop and src > xATRTrailingStop ? math.max(xATRTrailingStop , src - nLoss) :
src < xATRTrailingStop and src < xATRTrailingStop ? math.min(xATRTrailingStop , src + nLoss) :
src > xATRTrailingStop ? src - nLoss : src + nLoss
pos = 0
pos := src < xATRTrailingStop and src > xATRTrailingStop ? 1 :
src > xATRTrailingStop and src < xATRTrailingStop ? -1 : pos
emaUT = ta.ema(src, 1)
above = ta.crossover(emaUT, xATRTrailingStop)
below = ta.crossover(xATRTrailingStop, emaUT)
ut_buy = src > xATRTrailingStop and above
ut_sell = src < xATRTrailingStop and below
// === CONDITIONS ===
macdBuy = ta.crossover(macdLine, signalLine)
macdSell = ta.crossunder(macdLine, signalLine)
rsiOk = rsi > 40 and rsi < 75
longCondPro = close > ema and macdBuy and rsiOk
longCond = longCondPro or ut_buy
shortCondPro = close < ema and macdSell and rsi < 60
shortCond = shortCondPro or ut_sell
// === PLOTS ===
plot(ema, title="EMA", color=color.orange)
plot(xATRTrailingStop, title="UT Trailing Stop", color=color.new(color.red, 30))
plotshape(longCond, title="BUY Alert Marker", location=location.belowbar, color=color.lime, style=shape.labelup, text="BUY", size=size.small)
plotshape(shortCond, title="SELL Alert Marker", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL", size=size.small)
// === ALERTS ===
alertcondition(longCond, title="BUY Alert", message="⚡ BUY: {{close}}, TP {{close * (1 + takeProfitPerc / 100)}}, SL {{close - atr * atrMult}}")
alertcondition(shortCond, title="SELL Alert", message="⚡ SELL: {{close}}, TP {{close * (1 - takeProfitPerc / 100)}}, SL {{close + atr * atrMult}}")
PDHL by ZTA1. This Indictor automatically plots previous day High & Low with Price Label
2. And also the line color changes dynamically based on price trading above and below lines.
3. You Can extend the line on Left side by giving input for how many candle you want..
Gap & Reversal Signals (Normal vs Heikin-Ashi)🔍 Gap & Reversal Signals (Normal vs Heikin-Ashi) — by
This script is designed to help traders identify key market signals by comparing Normal Candlestick Patterns with Heikin-Ashi values to highlight potential:
✅ Gap Up Opportunities (Strong Bullish Continuation)
🔻 Gap Down Alerts (Strong Bearish Continuation)
🔄 Bullish Reversal Zones (Possible Trend Reversal from Bearish to Bullish)
🔁 Bearish Reversal Zones (Possible Trend Reversal from Bullish to Bearish)
🧠 How it Works:
Gap Up: Normal candle is bullish, Heikin-Ashi is also bullish, and price closes higher than the HA close.
Gap Down: Normal candle is bearish, Heikin-Ashi is also bearish, and price closes lower than the HA close.
Bullish Reversal: Normal candle is bullish, but Heikin-Ashi shows bearish — potential reversal signal.
Bearish Reversal: Normal candle is bearish, but Heikin-Ashi shows bullish — potential reversal signal.
📊 Plot Details:
💚 Gap Up → Green Label Below Bar
❤️ Gap Down → Red Label Above Bar
💙 Bullish Reversal → Blue Label Below Bar
🧡 Bearish Reversal → Orange Label Above Bar
🚀 Use Cases:
Swing and positional traders looking for high-probability reversal setups
Intraday traders spotting early momentum shifts
Backtesters combining HA + candlestick logic for more robust strategies
Price Volume Trend to buyTPV to signal buy or sell with color change for easy to take actions. Based on TPV analysis
StrategyRSI EMA WMA Entry Conditions – Multi-Timeframe (by AiViet)"
This indicator helps identify entry signals based on RSI, EMA9, and WMA45.
It uses the H1 RSI for directional bias, checks confirmation on the M15 timeframe, and gives final entry conditions on the M5 chart.
Ideal for scalping with a trend-following strategy.
No direct Buy/Sell signals are shown.
Personally, I find it works quite well with the M5 and H1 timeframes.
Created by AiViet.
t.me/eddytradesfx
ZLEMA TAP [SYED WAQAR]🔹 Zero Lag Trend Signals (MTF) 🔹
A Powerful Multi-Timeframe Trend-Following Indicator with Smart Entry/Exit Signals
📌 Key Features:
✅ Zero-Lag EMA-Based Trend Detection – Identifies trend direction with minimal lag for timely signals.
✅ Multi-Timeframe Analysis – Displays trend strength across 5 customizable timeframes (5M to 1D).
✅ Smart Buy/Sell Signals – Generates precise entry points on the first touch of the trend band after a trend change.
✅ Dynamic Trend Bands – Adjusts volatility-based bands for better trend filtering.
✅ Clear Visual Alerts – Bullish (🟢) and Bearish (🔴) signals with customizable colors.
✅ Built-in Alerts – Set alerts for trend changes, band touches, and entry signals.
🎯 How It Works:
Bullish Trend (Green Band) → Price holds above the Zero-Lag EMA, confirms uptrend.
Bearish Trend (Red Band) → Price stays below the Zero-Lag EMA, confirms downtrend.
Buy Signal (▲) → Triggers when price first touches the upper band after turning bullish.
Sell Signal (▼) → Triggers when price first touches the lower band after turning bearish.
⚙️ Ideal For:
✔ Swing Traders – Catch trends early with high-probability signals.
✔ Day Traders – Use multi-timeframe confirmation for better entries.
✔ Position Traders – Stay aligned with the dominant trend.
📊 Settings & Customization:
Adjustable Length (default: 70) for trend sensitivity.
Band Multiplier (default: 1.2) to control volatility-based bands.
Choose 5 different timeframes for trend confirmation.
Customize colors for bullish/bearish trends.
🚀 Why Use This Indicator?
Reduces false signals by focusing on first-touch entries after trend changes.
Works on all markets (Stocks, Forex, Crypto, Futures).
Easy-to-read signals with a clean, clutter-free display.
🔹 Try it now and trade with confidence! 🔹
📢 How to Use:
Add the indicator to your chart.
Set your preferred timeframes in inputs.
Watch for signals (▲ for Buy, ▼ for Sell).
Set alerts for automated notifications.
📈 Perfect for trend-following strategies! 📉
Consolidation Zones + OI Change %The script finds consolidation zones (flats) on the chart and analyzes the behavior of the Open Interest during these zones to understand:
whether a position is being built up (OI growth - green),
or whether players are unloading/exiting (OI fall - red),
and gives visual and text signals when the range is broken.
Скрипт находит зоны консолидации (флеты) на графике и анализирует поведение открытого интереса (Open Interest) во время этих зон, чтобы понять:
идёт ли набор позиции (рост OI — зелёный),
или разгрузка / выход игроков (падение OI — красный),
и даёт визуальные и текстовые сигналы при пробое диапазона.
SignalsRobot - Test Alert StrategyThis is a strategy designed to test TradingView alerts only.
Please do not use for trading.
SignalsRobot.com
Soloway Strategy Core//@version=5
indicator("Soloway Strategy Core – Ultra Visual Pro FIXED", overlay=true)
// === INPUTS ===
rsiPeriod = input.int(14, "RSI Period")
macdFast = input.int(12, "MACD Fast")
macdSlow = input.int(26, "MACD Slow")
macdSignal = input.int(9, "MACD Signal")
volMultiplier = input.float(1.5, "Vol. Spike Multiplier")
showLevels = input.bool(true, "Mostrar niveles dinámicos")
riskReward = input.float(1.5, "Riesgo/Beneficio para TP", step=0.1)
// === INDICADORES ===
rsi = ta.rsi(close, rsiPeriod)
= ta.macd(close, macdFast, macdSlow, macdSignal)
avgVol = ta.sma(volume, 20)
volSpike = volume > avgVol * volMultiplier
atr = ta.atr(14)
// === SOPORTES / RESISTENCIAS ===
ph = ta.pivothigh(high, 5, 5)
pl = ta.pivotlow(low, 5, 5)
if showLevels
if not na(ph)
line.new(x1=bar_index - 5, y1=ph, x2=bar_index, y2=ph, color=color.red, style=line.style_dashed)
label.new(x=bar_index, y=ph, text="Resistencia", style=label.style_label_down, color=color.red, textcolor=color.white, size=size.tiny)
if not na(pl)
line.new(x1=bar_index - 5, y1=pl, x2=bar_index, y2=pl, color=color.green, style=line.style_dashed)
label.new(x=bar_index, y=pl, text="Soporte", style=label.style_label_up, color=color.green, textcolor=color.white, size=size.tiny)
// === CONDICIONES DE ENTRADA ===
longCond = rsi < 30 and macdLine > signalLine and volSpike
shortCond = rsi > 70 and macdLine < signalLine and volSpike
// === VISUAL: FONDO ===
bgcolor(longCond ? color.new(color.green, 85) : na)
bgcolor(shortCond ? color.new(color.red, 85) : na)
// === VISUAL: ZONAS CON TP/SL ===
if longCond
sl = low - atr
tp = close + (close - sl) * riskReward
label.new(bar_index, low, "LONG", style=label.style_label_up, color=color.green, textcolor=color.white)
line.new(bar_index, sl, bar_index + 5, sl, color=color.red, style=line.style_dotted)
line.new(bar_index, tp, bar_index + 5, tp, color=color.green, style=line.style_dotted)
label.new(bar_index + 5, sl, "SL", style=label.style_label_left, color=color.red, textcolor=color.white, size=size.tiny)
label.new(bar_index + 5, tp, "TP", style=label.style_label_left, color=color.green, textcolor=color.white, size=size.tiny)
if shortCond
sl = high + atr
tp = close - (sl - close) * riskReward
label.new(bar_index, high, "SHORT", style=label.style_label_down, color=color.red, textcolor=color.white)
line.new(bar_index, sl, bar_index + 5, sl, color=color.red, style=line.style_dotted)
line.new(bar_index, tp, bar_index + 5, tp, color=color.green, style=line.style_dotted)
label.new(bar_index + 5, sl, "SL", style=label.style_label_left, color=color.red, textcolor=color.white, size=size.tiny)
label.new(bar_index + 5, tp, "TP", style=label.style_label_left, color=color.green, textcolor=color.white, size=size.tiny)
// === ALERTAS ===
alertcondition(longCond, title="Alerta LONG", message="Señal de compra (LONG) detectada")
alertcondition(shortCond, title="Alerta SHORT", message="Señal de venta (SHORT) detectada")
⚡ Quick Scalping //@version=5
indicator("⚡ Quick Scalping ", overlay=true)
// === CÀI ĐẶT ===
ma_len = input.int(50, title="MA Period")
sl_size = input.float(2.0, title="Stop Loss (giá)")
tp_size = input.float(4.0, title="Take Profit (giá)")
// === MA ===
ma = ta.ema(close, ma_len)
// === MÔ HÌNH NẾN ===
bull_candle = close > open
bear_candle = close < open
// === TÍN HIỆU VÀO LỆNH NHẸ ===
buy_signal = ta.crossover(close, ma) and bull_candle
sell_signal = ta.crossunder(close, ma) and bear_candle
// === TP / SL ===
buy_tp = buy_signal ? close + tp_size : na
buy_sl = buy_signal ? close - sl_size : na
sell_tp = sell_signal ? close - tp_size : na
sell_sl = sell_signal ? close + sl_size : na
// === VẼ TÍN HIỆU ===
plotshape(buy_signal, location=location.belowbar, style=shape.triangleup, color=color.green, size=size.normal, text="BUY")
plotshape(sell_signal, location=location.abovebar, style=shape.triangledown, color=color.red, size=size.normal, text="SELL")
plot(buy_tp, title="BUY TP", color=color.lime, linewidth=1)
plot(buy_sl, title="BUY SL", color=color.red, linewidth=1)
plot(sell_tp, title="SELL TP", color=color.fuchsia, linewidth=1)
plot(sell_sl, title="SELL SL", color=color.aqua, linewidth=1)
plot(ma, title="EMA50", color=color.orange)
// === LABEL ĐƠN GIẢN ===
if buy_signal
label.new(bar_index, low, "BUY", style=label.style_label_up, color=color.green, textcolor=color.white, size=size.small)
if sell_signal
label.new(bar_index, high, "SELL", style=label.style_label_down, color=color.red, textcolor=color.white, size=size.small)
// === ALERT ===
alertcondition(buy_signal, title="BUY Alert", message="⚡ BUY: {{close}}, TP {{close + 4}}, SL {{close - 2}}")
alertcondition(sell_signal, title="SELL Alert", message="⚡ SELL: {{close}}, TP {{close - 4}}, SL {{close + 2}}")
Levels 1.0 by SaltanovCryptoScript Description: Levels 1.0 by SaltanovCrypto
This script, "Levels 1" by saltanovcrypto, is a visual indicator designed to display up to 12 customizable buy and 12 customizable sell levels directly on your TradingView chart. These levels are represented by horizontal lines extending from a point to the left and right of the last price bar, along with optional text labels indicating the price level.
Key Functionality:
Dynamic Level Display: The script draws horizontal lines at predefined price levels for both potential buying and selling zones.
Ticker-Based Configuration: The levels and their associated labels are currently configured to change based on the specific ticker being viewed. In this version, it includes specific configurations for "BINANCE:BTCUSDT.P" and "BINANCE:ETHUSDT.P", displaying different test levels for each.
Customizable Line Appearance: Users can customize the color and width of both the buy lines (default green) and sell lines (default blue) through the indicator's input settings.
Optional Labels: The script offers the option to display text labels next to each level line. These labels can be customized for visibility, text color, font size (in pixels), and background color.
Line Offset: To improve visibility and avoid overlapping with the last price action, the script allows users to offset the lines to the right and left from the last bar by a specified number of bars.
Efficient Drawing: The script is designed to draw the lines and labels only on the last bar of the chart, and it deletes any previously drawn lines before creating new ones. This ensures that the levels are always up-to-date and avoids cluttering the chart with redundant lines as the chart updates.
Up to 12 Levels: The script provides the capability to define and display up to 12 distinct buy levels and 12 distinct sell levels, each with its own optional text label. However, the current configuration only utilizes a few of these potential levels for demonstration purposes with specific tickers.
In essence, this script provides a way to visually mark important price levels on your chart based on specific ticker configurations. It offers customization options for the appearance of these levels and their labels, making it a flexible tool for traders who rely on predefined support and resistance zones or other key price points in their analysis.
How to Use:
Apply this script to your TradingView chart.
The script will automatically detect the ticker symbol.
Based on the ticker (currently configured for BINANCE:BTCUSDT.P and BINANCE:ETHUSDT.P), it will draw horizontal lines at the defined buy and sell levels.
Customize the appearance of the lines and labels using the indicator's input settings.
Adjust the "Offset Lines Right from Last Bar" and "Offset Lines Left from Last Bar" parameters to position the lines as desired.
The text labels next to the lines will display the text defined in the script for the specific ticker and level.
Note: To utilize this script for other tickers or to define your own specific levels and labels, you would need to modify the if ticker == ... and else if ticker == ... sections within the script's code. You can add more else if conditions or adjust the existing price levels and label texts as needed.
Volume Profile S/R Zones [Scout] v6📜 Description:
This indicator creates simple support and resistance zones based on a mini volume profile calculation over a custom lookback period. It analyzes where price has accumulated the most (and least) volume over a selected number of candles and marks:
High Volume Node (HVN): A zone where a large amount of trading occurred, representing strong agreement or consolidation. These zones act as magnets or bases for reversals and breakouts.
Low Volume Node (LVN): A zone where very little trading occurred, often marking areas of inefficiency or “volume gaps.” Price tends to move quickly through these zones or reject from them sharply.
The indicator splits the price range into evenly sized horizontal levels (rows) and totals the volume traded within each. It then highlights:
✅ HVN (green zone): the price level with the highest volume concentration
✅ LVN (red zone): the price level with the lowest volume participation
These zones update every N candles (user-defined), giving you a dynamic view of recent market structure and volume-based support/resistance.
🔧 Settings:
Bars to Analyze: Number of candles the profile scans (default: 100)
Resolution (Rows): Number of horizontal price levels to divide the range into (default: 20)
Show HVN / LVN: Toggle visibility for each zone
💡 Use Cases:
Identify where reversals are likely (LVNs = sharp reaction zones)
Find consolidation bases or targets (HVNs = support/resistance)
Watch how price reacts when entering or exiting these zones
Moving average with different timeThis script allowing you to plot up to 6 different types of moving averages (MAs) on the chart, each with customizable parameters such as type, length, source, color, and timeframe. It also allows you to set different timeframes for each moving average.
Key Features:
Multiple Moving Averages: You can add up to 6 different moving averages to your chart.
Each MA can be one of the following types: SMA, EMA, SMMA (RMA), WMA, or VWMA.
Custom Timeframes: Each moving average can be applied to a specific timeframe, giving you flexibility to compare different periods (e.g., a 50-period moving average on the 1-hour chart and a 200-period moving average on the 4-hour chart).
Customizable Inputs:
Type: Choose between SMA, EMA, SMMA, WMA, or VWMA for each MA.
Source: You can select the price data source (e.g., close, open, high, low).
Length: Set the number of periods (length) for each moving average.
Color: Each moving average can be assigned a specific color.
Timeframe: Customize the timeframe for each moving average individually (e.g., MA1 on 15-minute, MA2 on 1-hour).
User Interface:
The script includes a data window display for each moving average, allowing you to control whether to show each MA and configure its settings directly from the settings menu.
Flexible Use:
Toggle individual moving averages on and off with the show checkbox for each MA.
Customize each MA's parameters without affecting others.
Parameters:
MA Type: You can choose between different moving averages (SMA, EMA, etc.).
Source: Price data used for calculating the moving average (e.g., close, open, etc.).
Length: Defines the period (number of bars) for each moving average.
Color: Change the line color for each moving average for better visualization.
Timeframe: Set a different timeframe for each moving average (e.g., 1-day MA vs. 1-week MA).
Example Use Case:
You might use this indicator to track short-term, medium-term, and long-term trends by adding multiple MAs with different lengths and timeframes. For example:
MA1 (20-period) might be an SMA on a 1-hour chart.
MA2 (50-period) might be an EMA on a 4-hour chart.
MA3 (100-period) might be a WMA on a daily chart.
This setup allows you to visually track the market's behavior across different timeframes and better identify trends, crossovers, and other patterns.
How to Customize:
Show/Hide MAs: Enable or disable each moving average from the input menu.
Modify Parameters: Change the MA type, source, length, and color for each individual moving average.
Timeframes: Set different timeframes for each moving average for more detailed analysis.
With this Moving Average Ribbon, you get a versatile and visually rich tool to aid in technical analysis.
PG2 Mean Reversion Channel - Lower Quartile Loband with MACD🧠 Strategy Overview
This is a mean reversion strategy using multi-filter smoothing for channel detection and MACD-based momentum validation. It’s designed for structured entries near volatility-based lower bounds with adaptive risk control based on dynamic equity drawdown.
⸻
📌 Core Logic
• Lower Quartile Channel Entry:
Uses 8 smoothing filters to create a distribution of lobands and selects the lower quartile as the trigger zone.
• MACD Validation:
Requires MACD histogram to flip from negative to positive, ensuring upward momentum confirmation.
• Entry Trigger:
Entry occurs when:
• Not in a position
• Price is below the lower quartile band
• MACD histogram is positive
⸻
📉 Dynamic Exit & Risk Control
• Per-Trade Equity Tracking:
Tracks equity highs/lows per trade to calculate intra-trade drawdown.
• Rolling Drawdown Threshold:
Stores drawdowns in a rolling array (up to maxGlobalTrades) and uses the max of that array as a dynamic exit threshold.
• Dynamic Drawdown Exit:
If a position is open for over minBarsForDynamicExit and drawdown exceeds the dynamic threshold → exit.
• Cascading Take Profit:
Profit target starts at 7% and slowly degrades by decrement_percent until a min threshold is hit.
• Extended Exit Logic:
After 1000 bars in a trade, triggers additional drawdown-based exit with MACD momentum check.
⸻
📊 Performance Multiplier Logic
• Uses strategy.closedtrades to calculate Profit Factor
• Multiplier is purely reporting metadata — included in alerts but not used for trade logic
• VPS or external system interprets and sizes trades accordingly
⸻
🔔 Automation-Ready Alerts
• Clean JSON payloads
• Payload includes:
• Ticker
• Action (buy3/sell3/sell1)
• Multiplier
• Timeframe & strategy name
⸻
✅ Compliance Highlights
• No repainting
• No security() calls
• No dynamic position sizing inside Pine
• Multiplier is metadata only
• Alerts structured for webhook consumption
Enhanced Momentum Wave Catcher2 minute scalping strategy using the 200 ema wave and MCB momentum wave and the 9 ema for entry.
RSI Pullback MA20 Strategyninhonline filter:
RSI(14) > EMA(RSI, 6),
RSI > 55 or 60,
prin MA20 AND MA50,
pull back MA20.
RMA Strategy - Weekly Dynamic Thresholds Description:
This strategy uses a triple-layered Running Moving Average (RMA) system to detect trend direction and trade opportunities with added confluence from RSI and candle structure.
It plots three RMAs:
Fast RMA – reacts quickly to price and captures short-term momentum
Mid RMA – filters noise and confirms intermediate trends
Slow RMA – represents the overall market bias or structure
The script identifies trend-aligned or counter-trend reversal signals using:
✅ RMA Stack Direction — bullish (fast > mid > slow) or bearish (fast < mid < slow)
✅ RSI Filters — momentum confirmation using RSI on close, high, or low
✅ Candle Breaks — confirms direction when current close breaks previous high/low
✅ Wick Rejections (Optional) — detects rejection wicks for high-conviction reversal points
Entries are plotted using clear triangle markers, and stop loss & take profit are calculated based on RMA levels and user-defined settings.
🔧 Settings:
Fast / Mid / Slow RMA lengths – control sensitivity of trend detection
RSI Length – adjust for faster or slower momentum confirmation
Wick filters – option to only show rejections with meaningful structure
Trending threshold – defines when market is trending based on Fast-Mid RMA spacing
Market Type Selector – use tailored thresholds for Forex, Crypto, or Gold
💡 Use Cases:
Confirm trend bias visually with RMA alignment
Fade aggressive wicks during exhausted trend moves
Combine RSI and structure to filter out low-probability entries
Adjust trending thresholds to suit volatility of your market