oi + funding oscillator cryptosmartThe oi + funding oscillator cryptosmart is an advanced momentum tool designed to gauge sentiment in the crypto derivatives market. It combines Open Interest (OI) changes with Funding Rates, normalizes them into a single oscillator using a z-score, and identifies potential market extremes.
This provides traders with a powerful visual guide to spot when the market is over-leveraged (overheated) or when a significant deleveraging event has occurred (oversold), signaling potential reversals.
How It Works
Combined Data: The indicator tracks the rate of change in Open Interest and the value of Funding Rates.
Oscillator: It blends these two data points into a single, smoothed oscillator line that moves above and below a zero line.
Extreme Zones:
Overheated (Red Zone): When the oscillator enters the upper critical zone, it suggests excessive greed and high leverage, increasing the risk of a sharp correction (long squeeze). A cross below this level generates a potential sell signal.
Oversold (Green Zone): When the oscillator enters the lower critical zone, it indicates panic, liquidations, and a potential market bottom. A cross above this level generates a potential buy signal.
Trading Strategy & Timeframes
This oscillator is designed to be versatile, but its effectiveness can vary depending on the timeframe.
Optimal Timeframes (1H and 4H): The indicator has shown its highest effectiveness on the 1-hour and 4-hour charts. These timeframes are ideal for capturing significant shifts in market sentiment reflected in OI and funding data, filtering out short-term noise while still providing timely reversal signals.
Lower Timeframes (e.g., 1-min, 5-min, 15-min): On shorter timeframes, the oscillator is still a highly effective tool, but it is best used as a confluence factor within a broader trading system. Due to the increased noise on these charts, it is not recommended to use its signals in isolation. Instead, use it as a final argument for entry. For example, if your primary scalping strategy gives you a buy signal, you can check if the oscillator is also exiting the oversold (green) zone to add a powerful layer of confirmation to your trade.
Göstergeler ve stratejiler
Expected Value Monte CarloI created this indicator after noticing that there was no Expected Value indicator here on TradingView.
The EVMC provides statistical Expected Value to what might happen in the future regarding the asset you are analyzing.
It uses 2 quantitative methods:
Historical Backtest to ground your analysis in long-term, factual data.
Monte Carlo Simulation to project a cone of probable future outcomes based on recent market behavior.
This gives you a data-driven edge to quantify risk, and make more informed trading decisions.
The indicator includes:
Dual analysis: Combines historical probability with forward-looking simulation.
Quantified projections: Provides the Expected Value ($ and %), Win Rate, and Sharpe Ratio for both methods.
Asset-aware: Automatically adjusts its calculations for Stocks (252 trading days) and Crypto (365 days) for mathematical accuracy.
The projection cone shows the mean expected path and the +/- 1 standard deviation range of outcomes.
No repainting
Calculation:
1. Historical Expected Value:
This is a systematic backtest over thousands of bars. It calculates the return Rᵢ for N past trades (buy-and-hold). The Historical EV is the simple average of these returns, giving a baseline performance measure.
Historical EV % = (Σ Rᵢ) / N
2. Monte Carlo Projection:
This projection uses the Geometric Brownian Motion (GBM) model to simulate thousands of future price paths based on the market's recent behavior.
It first measures the drift (μ), or recent trend, and volatility (σ), or recent risk, from the Projection Lookback period. It then projects a final return for each simulation using the core GBM formula:
Projected Return = exp( (μ - σ²/2)T + σ√T * Z ) - 1
(Where T is the time horizon and Z is a random variable for the simulation.)
The purple line on the chart is the average of all simulated outcomes (the Monte Carlo EV). The cone represents one standard deviation of those outcomes.
The dashed lines represent one standard deviation (+/- 1σ) from the average, forming a cone of probable outcomes. Roughly 68% of the simulated paths ended within this cone.
This projection answers the question: "If the recent trend and volatility continue, where is the price most likely to go?"
Here's how to read the indicator
Expected Value ($/%): Is my average trade profitable?
Win Rate: How often can I expect to be right?
Sharpe Ratio: Am I being adequately compensated for the risk I'm taking?
User Guide
Max trade duration (bars): This is your analysis timeframe. Are you interested in the probable outcome over the next month (21 bars), quarter (63 bars), or year (252 bars)?
Position size ($): Set this to your typical trade size to see the Expected Value in real dollar terms.
Projection lookback (bars): This is the most important input for the Monte Carlo model. A short lookback (e.g., 50) makes the projection highly sensitive to recent momentum. Use this to identify potential recency bias. A long lookback (e.g., 252) provides a more stable, long-term projection of trend and volatility.
Historical Lookback (bars): For the historical backtest, more data is always better. Use the maximum that your TradingView plan allows for the most statistically significant results.
Use TP/SL for Historical EV: Check this box to see how the historical performance would have changed if you had used a simple Take Profit and Stop Loss, rather than just holding for the full duration.
I hope you find this indicator useful and please let me know if you have any suggestions. 😊
Candle Sweep Alert - MoonThis Pine Script is designed to detect Bearish Sweep and Bullish Sweep patterns on a TradingView chart and trigger alerts and notifications.
Bearish Sweep occurs when the current candle’s high is higher than the previous high, the close is lower than the open (bearish), and the current low is either lower or higher than the previous low.
Bullish Sweep occurs when the current candle’s low is lower than the previous low, the close is higher than the open (bullish), and the current high is either lower or higher than the previous high.
Alerts and notifications will be triggered when these conditions are met, helping traders monitor market movements automatically.
Omega ATR Indicator📖 Introduction
The Ω ATR Indicator was created to provide a more complete and professional framework for volatility analysis than the classic Average True Range (ATR).
While the traditional ATR is a useful tool, it has limitations: it delivers a simple rolling average of volatility, but it does not adapt to market regimes, it does not highlight extreme events, and it often leaves the trader with incomplete information about risk.
The Ω ATR takes the same foundation and elevates it into a multi-dimensional volatility dashboard, adding statistical layers, adaptive calculations, and clear visual references that allow traders to interpret volatility in a way that is immediately actionable.
🔎 What makes it different from a standard ATR?
This indicator introduces several features beyond the classic formula:
True Range Core – plots the raw True Range (TR) for each bar, providing a direct, bar-by-bar view of volatility impulses.
Standard & Adjusted ATR – includes both the conventional ATR (smoothed average) and an Adjusted ATR that automatically corrects for extreme conditions by incorporating percentile rescaling.
Percentile Volatility Levels – dynamically calculated extreme thresholds (99.8%, 75%, 50%, 25%), plotted as dotted levels across the chart. These act as reference lines for “normal” vs. “abnormal” volatility, useful for spotting unusual price expansions or contractions.
Linear Regression Volatility Trend – overlays a regression line of volatility, showing whether the market is moving toward expansion (rising vol), contraction (falling vol), or stability.
Monetary Value Translation – the indicator converts volatility into points, ticks, and dollar values (based on the instrument’s point value). This allows futures traders and high-value instruments users to immediately see how much volatility is “worth” in cash terms.
Interactive Table Display – a real-time statistics table is displayed directly on the chart, showing:
SMA of ATR in $ and points
Percentile-based volatility range (VAR) in $ and points
Tick equivalences, for quick position sizing
⚡ How traders can use it
The Ω ATR Indicator is designed to be versatile, fitting both discretionary traders and systematic strategy developers.
Risk Management: ATR-based stop losses and position sizing are significantly improved by using the adjusted ATR and percentile thresholds. Traders can size their positions according to volatility regimes, not just raw averages.
Breakout & Exhaustion Detection: When TR or ATR values spike above the 99.8% or 95% percentile levels, this often corresponds to breakout conditions or volatility exhaustion — useful for breakout strategies, mean-reversion setups, and volatility fades.
Market Regime Identification: The regression line helps distinguish if volatility is rising (trending environment, larger swings expected) or compressing (range-bound environment, lower risk opportunities).
Multi-Asset Flexibility: Works equally well on equities, futures, crypto, and FX. Its point/tick/dollar conversion makes it especially powerful for futures traders who need to quantify risk precisely.
Scalping to Swing Trading: On lower timeframes, it acts as a micro-volatility detector; on higher timeframes, it functions as a strategic risk gauge for position management.
⚙️ Settings and Customization
Length: The ATR lookback period (default = 34).
Shorter lengths (14–21) for intraday traders who want fast response.
Longer lengths (34–55) for swing/position traders who want smoother readings.
AVG / ADJ AVG: Toggle to display the standard ATR or the adjusted ATR.
Volatility Levels: Enable/disable up to 4 percentile-based levels (1st = 25%, 2nd = 50%, 3rd = 75%, 4th = 99.8%). Recommended: keep 3 levels active for clarity.
Color Controls: All plots and levels are fully customizable to match your chart style.
Table Display: Positioned on the chart (default: middle-right) with key values updated in real time.
🧭 Best Practices for Use
Combine with Trend Tools: Volatility readings are most powerful when combined with trend filters or volume analysis. For example, a breakout with both high volatility and trend confirmation is stronger than either alone.
ATR Stops: Use the Adjusted ATR rather than the standard one when trailing stops in highly volatile instruments like crypto or Nasdaq futures, as it adapts to outlier spikes.
Dollar Risk Translation: Use the dollar-value outputs to predefine maximum acceptable risk per trade (e.g., “I only risk $250 per position”). This bridges volatility to portfolio risk management.
Event Monitoring: Around economic events or earnings, expect volatility spikes above higher percentile levels. The indicator makes these moves instantly visible.
📌 Summary
The Ω ATR Indicator is not just “another ATR.” It is a comprehensive volatility framework that transforms volatility from a simple statistic into an actionable trading signal.
By combining:
the classic ATR,
an adjusted ATR,
percentile extremes,
regression-based volatility trends,
and real-time dollar conversions,
…this tool allows traders to precisely understand, visualize, and act on volatility in ways that a standard ATR simply cannot provide.
Whether you are scalping intraday moves, swing trading equities, or managing futures positions, the Ω ATR equips you with a professional-grade volatility dashboard that clarifies risk, highlights opportunity, and adapts across all markets and timeframes.
👉 Designed and developed by OmegaTools for traders who demand precision, clarity, and adaptability in their volatility analysis.
SMA-CrossOver This indicator is dedicated to the "Trader Overseas" channel.
It's a pullback trading strategy that the channel owner shares for free on YouTube.
Filter 1: Use the 200 SMA as an "Uptrend" or "Downtrend" filter.
Filter 2: When all SMAs line up,
to confirm "Uptrend" or "Downtrend."
Short-term MA = SMA14
Medium-term MA = SMA50 (with a buffer channel).
The example image shows an "Uptrend."
When all SMAs line up, there's a "Bull" signal.
(SMA21 crosses above SMA50.)
Strategy: Wait for an "ENTRY" when the price pulls back into the zone.
1. Short Pullback Zone = SMA14 - SMA50
2. Deep Pullback Zone = SMA50 + Buffer Channel
May be used in conjunction with Price Action as an additional filter.
Additional Explanation: "CrossOver" signals
"Bull" or "Bear" Signals indicate an "up" or "down" crossover of SMA21 and SMA50.
"Bull" or "Bear" signal may be used as "Exit" for the position trade.
But beware of false signals if the trend is sideways.
Each of the SMA can adjust value.
Emas cryptosmart## General Summary
The Emas cryptosmart indicator is a technical analysis tool designed to provide a clear and comprehensive view of the market trend. It combines a long-term Hull Moving Average (HMA) to establish the overall trend with a faster, more responsive Triple Hull Moving Average (THMA) to identify short-term momentum.
Its primary feature is the dynamic candle coloring, which offers immediate visual cues about price direction, simplifying trading decisions.
## Indicator Components
This indicator is composed of two main lines:
Hull 200 (HMA): The Long-Term Trend Anchor
This line (dynamic lime/red by default) acts as a filter for the main market trend. Due to its 200-period setting, it moves smoothly and establishes the general context.
Uptrend: When the Hull 200 is rising (lime color), it indicates the macro trend is bullish.
Downtrend: When it is falling (red color), the macro trend is bearish.
THMA 55: The Short-Term Momentum Line
This line (dynamic aqua/orange by default) is a Triple Hull Moving Average. It is extremely fast and sensitive to recent price changes, designed to capture immediate momentum.
This is the key line for the candle coloring and for identifying potential entry or exit points.
## How to Interpret It
The primary strategy is to use the Hull 200 to define the direction for your trades and the THMA 55 to fine-tune your timing.
Candle Coloring (Main Signal):
Bullish Candles (default: aqua): When the price closes above the THMA 55, the candles turn to a bullish color. This signals that immediate momentum is positive and can be considered a buy signal or confirmation to stay in a long position.
Bearish Candles (default: orange): When the price closes below the THMA 55, the candles turn to a bearish color. This indicates that immediate momentum is negative, suggesting a potential sell or an exit from a long position.
Confluence Strategy:
The highest-probability signals occur when both moving averages are aligned.
Strong Buy Example: Look for a situation where the Hull 200 is rising (lime color) and wait for the candles to turn bullish as the price crosses above the THMA 55.
Strong Sell Example: Look for a situation where the Hull 200 is falling (red color) and wait for the candles to turn bearish as the price crosses below the THMA 55.
## Key Features
Visual Clarity: Automatic candle coloring eliminates the need to constantly interpret crosses, allowing for a quick read of the market's state.
Dual Perspective: Offers a balanced view by combining a slow trend indicator with a fast momentum indicator.
Reduced Lag: The use of Hull variants minimizes the delay typical of conventional moving averages (SMAs/EMAs).
Fully Customizable: All colors, for both the lines and the candles, can be adjusted in the settings menu to fit your visual style.
DMI Histogram IndicatorThe Directional Movement Index (DMI) was originally developed by J. Welles Wilder Jr. in 1978. Wilder introduced the DMI along with the Average Directional Index (ADX) in his book, “New Concepts in Technical Trading Systems,” which became a foundational reference for technical analysis.
The indicator can be a bit intimidating for people to interpret if they aren't familiar with it. So this DMI Histogram uses the underlying DMI data to present a different way to visualize the price movement and trend. The goal is to help provide insight into the rising or falling momentum behind the price, at times when the chart itself may not be as obvious. This could potentially help spot a momentum divergence before it plays out on the chart.
The user has the option of displaying ADX reversals as red and green arrows. The ADX is the trend indicator portion of the DMI. When it changes direction, that sometimes leads to shift in who is exerting the most influence on the price, buyers or sellers.
The user also has the option of coloring the candlesticks to match the histogram.
This indicator is meant to be combined with other indicators and other chart analysis tools.
Scalp EMA+RSI+ADX+Vol v7 (универсальная, x25)// @version=6
// Scalp EMA+RSI+ADX+Vol v7 — универсальная версия с ликвидационным стопом (x25)
// Автор: ChatGPT
// === ПАРАМЕТРЫ ===
percent_of_equity = input.float(2.0, "Position size (% of equity)", step=0.1, minval=0.1)
fastLen = input.int(8, "Fast EMA length", minval=1)
slowLen = input.int(21, "Slow EMA length", minval=1)
rsiLen = input.int(7, "RSI length", minval=1)
rsiConfirm= input.int(50, "RSI confirmation level")
adxLen = input.int(10, "ADX length", minval=1)
adxThresh = input.int(15, "ADX threshold (min trend strength)")
volSmaLen = input.int(20, "Volume SMA length", minval=1)
volMult = input.float(0.8, "Min volume multiplier", step=0.1, minval=0.1)
atrLen = input.int(10, "ATR length", minval=1)
atrTP = input.float(1.6, "TP = x * ATR", step=0.1, minval=0.1)
useTrailing = input.bool(false, "Use trailing stop")
trailOffsetMult = input.float(0.8, "Trailing offset = x * ATR", step=0.1, minval=0.1)
maxTradesPerDay = input.int(0, "Max trades per day (0 = unlimited)")
useTimeFilter = input.bool(false, "Enable time filter (exchange time)")
startH = input.int(0, "Start hour (0-23)")
startM = input.int(0, "Start minute (0-59)")
endH = input.int(23, "End hour (0-23)")
endM = input.int(59, "End minute (0-59)")
leverage = input.int(25, "Leverage (для расчета ликвидации)", minval=1) // ← по умолчанию 25
// === STRATEGY DECLARATION ===
strategy("Scalp EMA+RSI+ADX+Vol v7 (универсальная, x25)", overlay=true,
default_qty_type=strategy.percent_of_equity, default_qty_value=2.0,
initial_capital=10000, pyramiding=1)
// === ИНДИКАТОРЫ ===
fastEMA = ta.ema(close, fastLen)
slowEMA = ta.ema(close, slowLen)
rsi = ta.rsi(close, rsiLen)
volSMA = ta.sma(volume, volSmaLen)
atr = ta.atr(atrLen)
plot(fastEMA, title="Fast EMA", linewidth=1, color=color.teal)
plot(slowEMA, title="Slow EMA", linewidth=1, color=color.orange)
// === ADX (ручной расчет) ===
upMove = high - high
downMove = low - low
plusDM = (upMove > downMove and upMove > 0) ? upMove : 0.0
minusDM = (downMove > upMove and downMove > 0) ? downMove : 0.0
tr = math.max(high - low, math.max(math.abs(high - close ), math.abs(low - close )))
atr_adx = ta.rma(tr, adxLen)
smPlus = ta.rma(plusDM, adxLen)
smMinus = ta.rma(minusDM, adxLen)
plusDI = atr_adx == 0 ? 0.0 : 100.0 * smPlus / atr_adx
minusDI = atr_adx == 0 ? 0.0 : 100.0 * smMinus / atr_adx
sumDI = plusDI + minusDI
dx = sumDI == 0 ? 0.0 : 100.0 * math.abs(plusDI - minusDI) / sumDI
adx = ta.rma(dx, adxLen)
// === СИГНАЛЫ ===
crossUp = ta.crossover(fastEMA, slowEMA)
crossDown = ta.crossunder(fastEMA, slowEMA)
volOK = volume > volSMA * volMult
rsiOK_long = rsi > rsiConfirm
rsiOK_short = rsi < rsiConfirm
adxOK = adx >= adxThresh
candleBull= close > open
candleBear= close < open
longSignal = crossUp and rsiOK_long and adxOK and volOK and candleBull
shortSignal = crossDown and rsiOK_short and adxOK and volOK and candleBear
// === TIME FILTER ===
s = useTimeFilter ? timestamp(year(time), month(time), dayofmonth(time), startH, startM) : na
e = useTimeFilter ? timestamp(year(time), month(time), dayofmonth(time), endH, endM) : na
inTradeHours = not useTimeFilter ? true : (e > s ? (time >= s and time <= e) : (time >= s or time <= e))
// === DAILY COUNTER ===
var int tradesToday = 0
var int lastDay = na
if dayofmonth(time) != lastDay
tradesToday := 0
lastDay := dayofmonth(time)
canOpenMore = (maxTradesPerDay == 0) or (tradesToday < maxTradesPerDay)
// === ENTRIES / EXITS ===
if longSignal and inTradeHours and canOpenMore and strategy.position_size == 0
entryPrice = close
liqPrice = entryPrice - entryPrice / leverage // стоп по ликвидации x25
takePrice = entryPrice + atr * atrTP
if useTrailing
strategy.entry("Long", strategy.long)
strategy.exit("Long Exit", from_entry="Long", limit=takePrice, trail_offset=atr * trailOffsetMult)
else
strategy.entry("Long", strategy.long)
strategy.exit("Long Exit", from_entry="Long", stop=liqPrice, limit=takePrice)
tradesToday += 1
if shortSignal and inTradeHours and canOpenMore and strategy.position_size == 0
entryPrice = close
liqPrice = entryPrice + entryPrice / leverage // стоп по ликвидации x25
takePrice = entryPrice - atr * atrTP
if useTrailing
strategy.entry("Short", strategy.short)
strategy.exit("Short Exit", from_entry="Short", limit=takePrice, trail_offset=atr * trailOffsetMult)
else
strategy.entry("Short", strategy.short)
strategy.exit("Short Exit", from_entry="Short", stop=liqPrice, limit=takePrice)
tradesToday += 1
// === ВИЗУАЛИЗАЦИЯ ===
plotshape(longSignal, title="Long Signal", location=location.belowbar, style=shape.triangleup, size=size.small, color=color.green, text="LONG")
plotshape(shortSignal, title="Short Signal", location=location.abovebar, style=shape.triangledown, size=size.small, color=color.red, text="SHORT")
// INFO BOX
var label info = na
if barstate.islast
label.delete(info)
infoText = "EMA: " + str.tostring(fastLen) + "/" + str.tostring(slowLen) +
" | RSI: " + str.tostring(rsiLen) + " (conf=" + str.tostring(rsiConfirm) + ")" +
" | ADX: " + str.tostring(adxLen) + "(thr=" + str.tostring(adxThresh) + ")" +
" | VolMult=" + str.tostring(volMult) +
" | ATR TP=" + str.tostring(atrTP) +
" | Leverage=" + str.tostring(leverage) + "x" +
" | TradesToday=" + str.tostring(tradesToday)
info := label.new(bar_index, high, infoText, xloc=xloc.bar_index, yloc=yloc.abovebar,
style=label.style_label_left, size=size.small, color=color.new(color.blue, 70))
Manuel_Air//@version=6
indicator(title="Manuel_Air", shorttitle="Manuel_Air", overlay=true)
// ====== Layout / Estilo ======
posInput = input.string(defval="Top Right", title="Posición tabla", options= )
Table_Position = switch posInput
"Top Left" => position.top_left
"Top Center" => position.top_center
"Top Right" => position.top_right
"Middle Left" => position.middle_left
"Middle Center" => position.middle_center
"Middle Right" => position.middle_right
"Bottom Left" => position.bottom_left
"Bottom Center" => position.bottom_center
"Bottom Right" => position.bottom_right
label_size = input.string(defval="Normal", title="Tamaño texto", options= )
Tsize = switch label_size
"Tiny" => size.tiny
"Small" => size.small
"Normal" => size.normal
"Large" => size.large
"Huge" => size.huge
// ====== Inputs checklist y nombres personalizables ======
check1 = input.bool(true, "HTF Alignment")
check2 = input.bool(true, "Liquidity Sweep")
check3 = input.bool(true, "Boss + Imbalance")
check4 = input.bool(true, "71% Retracement")
showTradeScore = input.bool(true, "Mostrar Trade Score")
name1 = input.string("HTF Alignment", "Nombre Check 1")
name2 = input.string("Liquidity Sweep", "Nombre Check 2")
name3 = input.string("Boss + Imbalance", "Nombre Check 3")
name4 = input.string("71% Retracement", "Nombre Check 4")
tableTitle = input.string("Checklist 📝", "Título tabla")
headerText = input.string("Manuel_Air", "Texto header")
// ====== Colores personalizables ======
colorChecked = input.color(color.green, "Color ✔")
colorUnchecked = input.color(color.red, "Color ✘")
colorHeader = input.color(color.black, "Color Header")
colorRow = input.color(color.new(color.black, 85), "Color Filas")
colorTradeHigh = input.color(color.green, "Color Trade Score Alto")
colorTradeMid = input.color(color.yellow, "Color Trade Score Medio")
colorTradeLow = input.color(color.red, "Color Trade Score Bajo")
colorText = input.color(color.white, "Color texto filas")
// ====== Preparar checklist ======
checks = array.new_bool()
names = array.new_string()
array.push(checks, check1)
array.push(checks, check2)
array.push(checks, check3)
array.push(checks, check4)
array.push(names, name1)
array.push(names, name2)
array.push(names, name3)
array.push(names, name4)
numChecks = array.size(checks)
// ====== Calcular Trade Score ======
checkedRows = 0
for i = 0 to numChecks - 1
checkedRows += array.get(checks, i) ? 1 : 0
tradeScore = math.round((checkedRows / numChecks) * 100)
tradeScoreColor = tradeScore >= 75 ? colorTradeHigh : tradeScore >= 50 ? colorTradeMid : colorTradeLow
// ====== Definir filas totales ======
totalRows = 1 + 1 + numChecks + (showTradeScore ? 1 : 0) // Header + título checklist + checks + Trade Score
var table myTable = table.new(position = Table_Position, columns = 2, rows = totalRows, border_width = 1, border_color = color.gray)
if barstate.islast
rowIndex = 0
// Header (merge 2 columnas)
table.cell(table_id = myTable, column = 0, row = rowIndex, text = headerText, text_size = Tsize, text_color = colorText, bgcolor = colorHeader)
table.merge_cells(table_id = myTable, start_column = 0, start_row = rowIndex, end_column = 1, end_row = rowIndex)
rowIndex += 1
// Título checklist (merge)
table.cell(table_id = myTable, column = 0, row = rowIndex, text = tableTitle, text_size = Tsize, text_color = colorText, bgcolor = colorHeader)
table.merge_cells(table_id = myTable, start_column = 0, start_row = rowIndex, end_column = 1, end_row = rowIndex)
rowIndex += 1
// Filas checklist
for i = 0 to numChecks - 1
checked = array.get(checks, i)
name = array.get(names, i)
table.cell(table_id = myTable, column = 0, row = rowIndex, text = (checked ? "✔" : "✘"), text_size = Tsize, text_color = (checked ? colorChecked : colorUnchecked), bgcolor = colorRow)
table.cell(table_id = myTable, column = 1, row = rowIndex, text = name, text_size = Tsize, text_color = colorText, bgcolor = colorRow)
rowIndex += 1
// Trade Score
if showTradeScore
table.cell(table_id = myTable, column = 0, row = rowIndex, text = str.tostring(tradeScore) + "%", text_size = Tsize, text_color = tradeScoreColor, bgcolor = colorRow)
table.cell(table_id = myTable, column = 1, row = rowIndex, text = "Trade Score", text_size = Tsize, text_color = colorText, bgcolor = colorRow)
Market Structure - BOS LinesMarket Structure - BOS Lines individuazione delle 3cf e segnalazione con il bos
ICT Macros All hours - credit to luxalgoICT Macros custom original one from LuxAlgo
default indicator does not enabled for all hours
this one have options to enable all hours
oscillator fast cryptosmart (Bands on Scale)The oscillator fast cryptosmart is a high-sensitivity momentum indicator designed to generate signals more rapidly than many traditional oscillators, such as the MACD. It is engineered to detect potential price breakouts by analyzing short-term market cycles.
At its core, the indicator uses a Detrended Price Oscillator (DPO) to remove the longer-term trend from price action, allowing it to focus purely on the underlying momentum cycles. It then calculates dynamic volatility bands around this oscillator line.
Signals are generated when momentum breaks out from a normal range, providing traders with an early warning of a potential acceleration in price.
How to Interpret the Signals:
Buy Signal (Green Vertical Line): A buy signal is generated when the oscillator's main line (yellow) crosses above its upper statistical band. This indicates a sharp surge in positive momentum, suggesting a potential upward move is beginning.
Sell Signal (Red Vertical Line): A sell signal is generated when the oscillator's main line crosses below its lower statistical band. This indicates a significant increase in negative momentum, suggesting a potential downward move is starting.
By focusing on momentum breakouts rather than lagging moving average crossovers, the oscillator fast cryptosmart aims to provide an edge in identifying opportunities in fast-moving markets.
DMI Toolbox StrategyThe Directional Movement Index (DMI) was originally developed by J. Welles Wilder Jr. in 1978. Wilder introduced the DMI along with the Average Directional Index (ADX) in his book, “New Concepts in Technical Trading Systems,” which became a foundational reference for technical analysis.
The indicator can offer a myriad of signals for building a trading strategy. In an effort to provide the user with a meaningful way to evaluate these signals, this DMI Toolbox Strategy offers the chance to back-test various combinations and permutations of DMI signals on long trades. By default it will open a long position on the +DI (upward movement) crossing above the -DI (downward movement). By default, It exits long positions when the ADX (trend strength) reverses.
Suggested Use
Try a wide variety of long entry and exit signals across many different timeframes to see what is most effective for the item you wish to trade. There is a table in the upper right corner that will give a quick view of which signal is dominant across 5 timeframes, based on your current settings. Adjust the pyramidding, slippage, and commission values to more closely match your situation.
Visual Helpers
The DMI indicator has been altered to include a smoothed version of the ADX, as well as a colored background to show which signal is dominant (+DI or -DI). Small up arrows call your attention to ADX crossovers that may indicate a significant threshold in trend strength.
Volume Voids [theUltimator5]Volume Voids highlights price regions with no or unusually thin participation over a chosen lookback. It bins the lookback’s full price range into equal steps, assigns each bar’s close to a bin, and accumulates volume per bin. Contiguous runs of zero-volume bins are shown as “voids,” while low-volume runs (below a dynamic threshold) mark thin-liquidity “corridors” where price often traverses quickly when revisited.
An optional PoC (Point of Control) line marks the mid-price of the highest-volume bin—commonly treated as a recent “value” area that price may revisit.
What it draws on your chart
Histogram (optional): Right-anchored horizontal volume-by-price bars built from your lookback and bin count. Bars tint green→red via a simple delta proxy (up-bar volume minus down-bar volume) to hint at directional participation inside each price band.
Point of Control (optional): A horizontal line at the highest-volume bin’s mid-price (the PoC).
Zero-Volume Voids: Translucent boxes where no bin volume printed within the window (detected between the first and last non-empty bins ).
Low-Volume Zones: Translucent boxes where bin volume is below a dynamic threshold (see formula below), often acting like low-friction corridors.
How it works
Slice the lookback’s high→low into N equal price bins.
Assign each bar’s closing price to a bin and add that bar’s volume to the bin total. A simple up/down-bar delta proxy drives the histogram’s tinting.
PoC = bin with the maximum accumulated volume.
Zero-Volume Voids = contiguous runs of bins with exactly zero volume (bounded by the first/last occupied bins).
Low-Volume Zones = contiguous runs of bins with volume below:
threshold = total_window_volume ÷ (divisor × number_of_bins)
Lower divisor → more LV boxes; higher divisor → stricter/fewer boxes.
Note: This is a lightweight, chart-native approximation of a volume profile. Volume is binned by bar close (not by tick-level prints or intrabar distribution), so “voids”/“thin” areas reflect this approximation.
Key inputs
Lookback Period: Window for calculations.
Number of Volume Boxes (bins): Histogram resolution.
PoC / Show Histogram / Anchor to Right Side: Visibility and layout controls.
Low-Volume Threshold Divisor: Sensitivity for LV detection.
Colors & Labels: Customize zero-volume / low-volume box colors and optional labels with offsets.
How to use (educational, not signals)
Context: High-volume = acceptance; thin/zero-volume = inefficiency. Price often rotates near acceptance and moves faster through thin areas.
Revisits: On returns to prior voids/LV zones, watch for accelerated moves or fills; PoC can serve as a balance reference.
Confluence: Pair with trend tools (e.g., ADX), VWAP/session markers, or structure levels for timing and risk.
Limitations & performance
Bins use closing price only; intrabar distribution is not modeled.
Detections refresh on the live bar; visuals can be heavy on large lookbacks/high bin counts—reduce bins/lookback or hide labels if needed.
Phantom Trend IndicatorOverview
The Phantom Trend Indicator (PTI) is a streamlined tool for identifying trend direction and strength. It blends zigzag-based trend detection with a volume profile to display a histogram showing price distance from the Point of Control (POC). Six distinct colors highlight trend states, with background highlights for extreme price zones. Ideal for stocks, forex, crypto, and futures across any timeframe.
Features:
Trend Detection: Uses zigzag fractals to identify uptrends and downtrends.
Histogram Colors: Six colors for trend strength (low, high, extreme for up/down trends) or neutral (gray).
Dynamic Levels: Plots POC, Value Area Low (VAL), and High (VAH) via volume profile.
Background Colors: Highlights overbought (above VAH) or oversold (below VAL) zones.
Alerts: Signals new trends.
How It Works:
Trends: Zigzag fractals define trend ranges, with price position setting histogram colors (low, high, or extreme).
Histogram: Shows price deviation from POC.
Background: Colors extreme zones outside VAL/VAH.
This indicator builds on traditional trend detectors and volume profiles by integrating them into a single, cohesive tool. Unlike standard momentum indicators that rely on moving averages, PTI uses zigzag fractals for more responsive trend identification, reducing lag in volatile markets. Compared to basic volume profile scripts, it adds trend-based color coding and background alerts for extremes, providing clearer visual cues for overbought/oversold conditions. The six distinct colors indicate trend strength, and customizable thresholds allow fine-tuning for different assets and timeframes, enhancing adaptability. Traders benefit from combined momentum and liquidity insights, helping spot reversals or continuations more reliably—making PTI a valuable, standalone addition for both novice and experienced users.
Settings
Trend Detector: Toggle alerts, adjust zigzag sensitivity, and set thresholds for low-to-high and extreme color transitions.
Dynamic Levels: Configure volume profile period, multiplier, accuracy, value area percent, and ATR-based channel width.
Visuals: Customize POC, VAL, VAH, and area fill colors.
Read Histogram: Uptrend colors show early, strong, or overextended moves; downtrend colors indicate early, weakening, or oversold conditions; gray for consolidation.
Background: Monitor for overbought/oversold color-coded signals.
Tune: Adjust zigzag or period settings for your timeframe/asset.
Tips
Shorten period for intraday, extend for swing trading.
Pair with other indicators for confirmation.
Notes:
Requires sufficient chart data for volume profile.
Test settings for low-volatility assets.
For informational use only, not financial advice. Test thoroughly, and happy trading!
Extremum Range MA Crossover Strategy1. Principle of Work & Strategy Logic ⚙️📈
Main idea: The strategy tries to catch the moment of a breakout from a price consolidation range (flat) and the start of a new trend. It combines two key elements:
Moving Average (MA) 📉: Acts as a dynamic support/resistance level and trend filter.
Range Extremes (Range High/Low) 🔺🔻: Define the borders of the recent price channel or consolidation.
The strategy does not attempt to catch absolute tops and bottoms. Instead, it enters an already formed move after the breakout, expecting continuation.
Type: Trend-following, momentum-based.
Timeframes: Works on different TFs (H1, H4, D), but best suited for H4 and higher, where breakouts are more meaningful.
2. Justification of Indicators & Settings ⚙️
A. Moving Average (MA) 📊
Why used: Core of the strategy. It smooths price fluctuations and helps define the trend. The price (via extremes) must cross the MA → signals a potential trend shift or strengthening.
Parameters:
maLength = 20: Default length (≈ one trading month, 20-21 days). Good balance between sensitivity & smoothing.
Lower TF → reduce (10–14).
Higher TF → increase (50).
maSource: Defines price source (default = Close). Alternatives (HL2, HLC3) → smoother, less noisy MA.
maType: Default = EMA (Exponential MA).
Why EMA? Faster reaction to recent price changes vs SMA → useful for breakout strategies.
Other options:
SMA 🟦 – classic, slowest.
WMA 🟨 – weights recent data stronger.
HMA 🟩 – near-zero lag, but “nervous,” more false signals.
DEMA/TEMA 🟧 – even faster & more sensitive than EMA.
VWMA 🔊 – volume-weighted.
ZLEMA ⏱ – reduced lag.
👉 Choice = tradeoff between speed of reaction & false signals.
B. Range Extremes (Previous High/Low) 📏
Why used: Define borders of recent trading range.
prevHigh = local resistance.
prevLow = local support.
Break of these levels on close = trigger.
Parameters:
lookbackPeriod = 5: Searches for highest high / lowest low of last 5 candles. Very recent range.
Higher value (10–20) → wider, stronger ranges but rarer signals.
3. Entry & Exit Rules 🎯
Long signals (BUY) 🟢📈
Condition (longCondition): Previous Low crosses MA from below upwards.
→ Price bounced from the bottom & strong enough to push range border above MA.
Execution: Auto-close short (if any) → open long.
Short signals (SELL) 🔴📉
Condition (shortCondition): Previous High crosses MA from above downwards.
→ Price rejected from the top, upper border failed above MA.
Execution: Auto-close long (if any) → open short.
Exit conditions 🚪
Exit Long (exitLongCondition): Close below prevLow.
→ Uptrend likely ended, range shifts down.
Exit Short (exitShortCondition): Close above prevHigh.
→ Downtrend likely ended, range shifts up.
⚠️ Important: Exit = only on candle close beyond extremes (not just wick).
4. Trading Settings ⚒️
overlay = true → indicators shown on chart.
initial_capital = 10000 💵.
default_qty_type = strategy.cash, default_qty_value = 100 → trades fixed $100 per order (not lots). Can switch to % of equity.
commission_type = strategy.commission.percent, commission_value = 0.1 → default broker fee = 0.1%. Adjust for your broker!
slippage = 3 → slippage = 3 ticks. Adjust to asset liquidity.
currency = USD.
margin_long = 100, margin_short = 100 → no leverage (100% margin).
5. Visualization on Chart 📊
The strategy draws 3 lines:
🔵 MA line (thickness 2).
🔴 Previous High (last N candles).
🟢 Previous Low (last N candles).
Also: entry/exit arrows & equity curve shown in backtest.
Disclaimer ⚠️📌
Risk Warning: This description & code are for educational purposes only. Not financial advice. Trading (Forex, Stocks, Crypto) carries high risk and may lead to full capital loss. You trade at your own risk.
Testing: Always backtest & demo test first. Past results ≠ future profits.
Responsibility: Author of this strategy & description is not responsible for your trading decisions or losses.
Volume Profile (LVN + HVN Detection)This script builds a customizable session-by-session Volume Profile with extended features for deeper order-flow analysis. It lets traders visualize where the most and least trading activity occurred in any chosen timeframe and resolution, directly on the chart.
🔑 Features
Dynamic Volume Profile
Adjustable Rows and Resolution Timeframe for fine-tuned granularity. Profiles automatically update on each session change.
Volume Point of Control (VPOC)
Highlights the single price level with the highest traded volume.
Option to extend the last N VPOCs forward in time.
Optional date labels for extended VPOCs.
High Volume Nodes (HVNs)
Detects and plots areas/levels of concentrated activity.
Configurable strength filter to control validation.
Display as solid/dotted lines (Levels) or filled Areas.
Color-coded relative to prior session close.
Low Volume Nodes (LVNs) (NEW)
Identifies thin-volume zones often acting as rejection or breakout points.
Configurable strength filter.
Display as dotted Levels or shaded Areas.
Color-coded relative to prior session close.
Profile Extend
Choose how much of the profile should extend into the next session for forward-looking context.
📊 Use Cases
Spotting value areas and key auction levels.
Finding support/resistance zones via HVNs and LVNs.
Tracking VPOC shifts across sessions for directional bias.
Identifying low-volume rejection zones where price may accelerate.
⚙️ Customization
Profile rows, timeframe, and resolution.
VPOC line width, colors, and label size.
HVN/LVN strength, type (Levels/Areas), and color themes.
Camarilla 4-Scenario Scannercamarilla H4,H3 indicator which gives where the stock is, based on that we can trade
Argentum Flag [AGP] Ver.2.5Central Purpose and Concept
The Argentum Flag script is a multifunctional tool that integrates and visualizes multiple key indicators to provide a detailed and unified perspective of the market. The core concept is to analyze price from different angles—volatility, volume, and momentum—to identify confluences and patterns that may be difficult to see with separate indicators. This "mashup" is not a simple fusion of indicators, but a strategic combination of tools that complement each other to offer a comprehensive view of asset behavior.
Components and Their Functionality
This script combines and visualizes the following elements:
EMA Percentage Bands (EMA Bands):
Uses an Exponential Moving Average (EMA) as a baseline.
Calculates and draws several volatility bands that deviate from the central EMA by fixed percentages (0.47%, 0.94%, 2.36%). These bands are inspired by Fibonacci ratios and the cyclical nature of the market.
The bands are colored with a dynamic gradient that reflects the current state of volatility.
Utility: These bands act as dynamic support and resistance areas. The price entering or exiting these zones can indicate a change in volatility or a possible exhaustion of the movement.
Volatility Signals (Vortex & Prime Signals):
The script generates visual signals when the price stays outside the volatility bands for a specific number of bars.
Vortex Signals (diamond ⍲): Appear when the price crosses and stays outside the Prime bands, suggesting a high volatility or a possible continuation of the trend.
Exit/Entry Signals (circle ⌾): Are activated when the price stays outside the Vortex bands, indicating an extreme extension of volatility. These can be interpreted as potential reversal or profit-taking zones.
Utility: They help traders quickly identify moments of high and low volatility and potential turning points in price action.
Volume Analysis (Volume Bar Colors):
The script changes the color of the bars based on the relationship between the current volume and the average volume over a 50-bar period.
Utility: This feature allows the trader to immediately visualize the strength behind a price movement. For example, a bullish candle with "extreme" volume suggests strong buying interest, while a bearish candle with "low" volume could indicate a weak correction.
Summary Tables (Dashboard):
EMA-Fibo Table: Displays the values of 12 EMAs based on the Fibonacci sequence (5, 8, 13, 21...) in an easy-to-access table. The background color of each value indicates if the current price is above (bullish) or below (bearish) that EMA.
Multi-Timeframe RSI Table: Displays the Relative Strength Index (RSI) values across multiple timeframes (from 1 minute to monthly). The text color changes to highlight if the RSI is in overbought (orange) or oversold (white) areas, according to the established levels.
Utility: These tables condense a large amount of data into a simple format, allowing traders to perform a quick, multi-timeframe market analysis without constantly switching charts.
How to Use the Script
This script is a contextual analysis tool that works best when its different components are combined. It is not a "buy and sell signal" system on its own, but a tool for informed decision-making.
Trend Identification: Use the EMA table to see the general trend direction across different timeframes. A price above most of the EMAs in the table suggests a bullish bias.
Volatility Reading: Observe the EMA bands. If the price stays within the bands, volatility is low. A strong move that breaks out of the bands, accompanied by an "extreme" volume color (blue), suggests strong momentum that could continue.
Momentum Analysis: Use the RSI table to confirm movements. An overbought 15m RSI could support a reversal signal from the Vortex bands, while a 1D RSI in a neutral zone may indicate that the main trend has not changed.
Signal Confirmation: Visual signals (diamond and circle) should not be used in isolation. They must be confirmed by volume analysis and dashboard readings. For example, an "Exit Signal" (circle) with low volume may be less reliable than one with high volume and a clear reversal candle.
Disclaimer
This script is for informational and educational purposes only. It is not financial advice, nor is it a recommendation to buy or sell any financial instrument. All trading involves risk, and past performance is not indicative of future results. The user is solely responsible for their own trading decisions.
Sero📌 sero Indicator – Guide & Explanation
What the Indicator Does
The sero Indicator is a custom oscillator designed to identify market momentum shifts between bullish (pump) and bearish (dump) phases. It works by normalizing price action using a range calculation, then smoothing it with an EMA. The resulting line (sero value) oscillates on a scale around 0 to 100, giving clear visual cues about momentum strength.
Key concepts inside the code:
c0 → The average price for each bar (High + Low + Close ÷ 3).
a1 & a2 → The 15-bar highest and lowest values of this average price.
a3 → The range (difference between high and low).
sero → A smoothed (EMA-based) normalized oscillator that fluctuates with momentum strength.
The indicator then highlights pumps (upward momentum) and dumps (downward momentum ) with color-coded line breaks.
How It Looks on Chart
When loaded, you’ll see:
A yellow oscillator line (sero) moving up and down.
Red segments on the line → mark slow or strong pumps (bullish momentum).
Green segments on the line → mark slow or strong dumps (bearish momentum).
These color changes act as momentum confirmation signals.
Signals & Interpretation
sero Line (Yellow)
The main oscillator line.
Higher readings = strong bullish momentum.
Lower readings = strong bearish momentum.
Red Segments (Pump Detection)
Appear when sero rises above its previous value.
Thicker Red Line = Stronger pump (sero > 20).
Suggests upward price acceleration.
Green Segments (Dump Detection)
Appear when sero falls below its previous value.
Thicker Green Line = Stronger dump (sero < 20).
Suggests downward price acceleration.
How to Use the sero Indicator
✅ Trend Confirmation
Use sero alongside your main chart to confirm trend direction.
Sustained red (pump) signals = bullish phase.
Sustained green (dump) signals = bearish phase.
✅ Momentum Shifts
Watch for changes in color (from green → red or red → green). These flips may indicate a potential reversal or acceleration in trend.
✅ Threshold Levels (20 level)
The code emphasizes the 20 threshold:
Pump signals above 20 → more reliable bullish confirmation.
Dump signals below 20 → stronger bearish conviction.
✅ Entry & Exit Support
Enter long trades when yellow line rises and red pump segments form.
Enter short trades when yellow line falls and green dump segments form.
Consider exits when momentum color weakens or flips direction.
Best Practices
Always combine with price action, support/resistance, or volume analysis.
Works best on shorter timeframes (intraday scalping/day trading).
Avoid relying on a single pump/dump signal – wait for consistency across multiple bars.
Summary
The sero Indicator is a momentum oscillator that visually highlights bullish and bearish momentum using dynamic color changes. Traders can use it to spot pumps, dumps, and trend shifts more easily than with traditional oscillators.
I welcome your feedback on this analysis/minds/indicator, as it will inform and enhance my future work.
Regards,
Shunya.Trade
world wide web shunya dot trade
VSA Volume MonitorDescription
This script provides a clear and adaptable visual representation of volume activity, helping traders understand how current participation compares to recent norms.
It calculates a moving average of volume over a user-defined smoothing window and uses that baseline to classify each bar’s volume into several intensity levels.
Bars are color-coded to reflect these levels:
• Blue for below-average activity
• Green for moderate activity
• Yellow for above-average surges
• Red for exceptionally high or climactic volume
In addition to color-coded bars, the script plots two reference bands that represent the typical (baseline) and elevated (climactic) volume zones.
These bands form a shaded cloud that helps visually separate normal market participation from periods of unusual crowd activity or volatility.
The purpose of this indicator is purely visual and informational — it does not generate buy or sell signals, and it does not predict future price movement.
Instead, it gives traders an at-a-glance view of how market interest is shifting, so they can combine that context with their own analysis or strategy.
This tool is lightweight, easy to read, and designed for use alongside other forms of technical analysis, making it suitable for traders who want to build their own framework for understanding volume behavior.
MultiScalpMACDThis indicator, the "Custom MACD MTF," is an adaptive version of the classic Moving Average Convergence Divergence (MACD) that automatically adjusts its parameters based on the chart's timeframe. It is designed to provide more fine-tuned momentum readings for traders who focus on specific intraday timeframes.
Overview
The "Custom MACD MTF" modifies the standard MACD calculation by applying unique settings for the 5-minute, 15-minute, and 1-hour charts. For all other timeframes, it reverts to the user-defined default values. This dynamic adjustment allows the indicator to better reflect the momentum characteristics of different trading sessions without requiring manual changes from the user.
Key Features
Adaptive Parameters: The indicator automatically uses optimized MACD settings for popular timeframes:
5-minute: Fast Length = 3, Slow Length = 10, Signal Length = 16
15-minute: Fast Length = 8, Slow Length = 17, Signal Length = 9
1-hour: Fast Length = 12, Slow Length = 26, Signal Length = 9
Momentum-Based Histogram: The histogram bars are colored to provide a clear visual cue about changes in momentum. A light gray bar indicates that momentum is increasing (the current bar is higher than the previous one), while a dark gray bar indicates that momentum is decreasing.
Clear Visual Plots: The indicator plots a pink MACD line, a black signal line, and a gray zero line for easy interpretation of crossovers and trend direction.
How to Interpret
This indicator can be used in the same way as a traditional MACD, but with added sensitivity on the specified timeframes. Traders can look for MACD and signal line crossovers, zero-line crosses, and divergences to identify potential trade signals. The histogram's color change provides an early warning that momentum is either accelerating or decelerating, which can precede a change in price direction.
Settings
Fast Length (Default): The default fast EMA period used for all timeframes except 5m, 15m, and 1h.
Slow Length (Default): The default slow EMA period used for all timeframes except 5m, 15m, and 1h.
Signal Length (Default): The default signal line EMA period used for all timeframes except 5m, 15m, and 1h.
Source: The price source for the MACD calculation (default is Close).