MACD Standard DeviationMACD Standard Deviation
The MACD Standard Deviation is a smoother, volatility-adjusted version of MACD designed to improve signal quality and reduce noise while preserving fast market responsiveness.
🚀 Benefits
• Strong performance on assets like BNBUSDT
• Faster entries with reduced signal noise
• Simple and efficient calculation method
• Improved trend clarity compared to classic MACD
💡 Core Idea
The objective is to create a cleaner MACD signal by measuring and adapting to its volatility. By accounting for dispersion, the indicator filters weak fluctuations and keeps meaningful momentum moves.
⚙️ How It Works
A standard MACD is calculated using selected moving averages.
Standard deviation of the MACD is computed over a chosen period.
Upper and lower dynamic levels are derived from MACD median and volatility.
These adaptive bands help filter false signals and better capture trend direction.
The result is a smoother, more stable MACD-based trend tool.
📌 Usage Notes
• Crosses around the zero line indicate potential trend shifts.
• Expanding band distance suggests rising momentum volatility.
• Contracting distance often signals consolidation phases.
• Histogram changes help visualize acceleration or weakening momentum.
อินดิเคเตอร์และกลยุทธ์
New York | Asia | London - Session Range + ORB - [EntryLab]Session Ranges & 15min ORB – Asia, London, New YorkShort Title
This indicator plots the high and low of the three major trading sessions (Asia, London, New York) as well as the Opening Range Breakout (ORB) levels based on the first 15 minutes of each session.
Features: Full session high/low ranges for Asia (00:00–09:00 UTC), London (07:00–16:00 UTC), and New York (~13:30–20:00 UTC). Times are approximate UTC and may need adjustment depending on broker timezone or DST.
ORB: high and low calculated from the first 15-minute period (or equivalent bars) at the start of each session.
Customizable: toggle sessions on/off, change ORB duration, line styles, colors.
How to use:
Traders often monitor price action around prior session highs and lows to identify potential liquidity grabs or sweeps. The ORB provides additional confluence for gauging the session's potential directional bias or breakout levels.For example:A sweep of a prior session high/low can signal liquidity being taken.
Price breaking above/below the session's ORB high/low may indicate momentum in that direction for the current session.
This script combines multi-session range visualization with per-session ORB levels in one tool, which can help assess where liquidity pools may exist and where price could be drawn to fill or sweep certain areas.Best used on lower timeframes (e.g., 1m–15m) for intraday analysis. Session times are fixed (no automatic DST handling); users can modify them in the code if needed.Not financial advice. Trading involves significant risk of loss. Use at your own discretion and always test thoroughly.
Kinetic Regression VectorKinetic Regression Vector (KRV) is a non-repainting direction and compression indicator designed for one job: help you avoid low-quality markets and catch high-quality expansion moves when the odds improve.
Most “prediction” tools either repaint, lag, or pretend they can call exact future prices. KRV doesn’t do that. Instead, it focuses on what actually improves trading outcomes: regime quality, directional bias, and compression-to-expansion timing — all shown visually and locked on closed candles.
What goes into it (what it’s built from)
KRV fits a smooth model to the last N bars of price action and projects that structure forward as a “vector tunnel.”
It uses three core ideas:
Weighted Least Squares (WLS) regression
Recent candles matter more than older ones. That means the model reacts faster when conditions change (important for sector shifts and fast ETF rotations), without using lagging moving averages.
Quality gating with R²
The indicator measures whether the market has been clean and structured recently. If structure is weak (chop/noise), KRV effectively turns itself “off” so you’re not trading randomness.
Model-based uncertainty bands (SEE) with a volatility fallback
Instead of sizing the tunnel only by volatility, KRV can size it by how consistent the model has been. When the model is unreliable, the tunnel widens. When it’s reliable, the tunnel tightens. If you prefer classic behavior, ATR-based band sizing is available as a fallback.
What makes it different (why it stands out)
KRV stands out because it combines features that are usually not together in one tool:
Adaptive, model-driven tunnel width (based on model error when SEE is enabled), instead of a fixed volatility channel that can look “confident” even in messy regimes.
Directional bias that is not a moving-average lag (it’s based on the fitted structure’s slope).
A compression trigger that is self-relative (pinch compares current band width to its own historical baseline, not an arbitrary threshold).
Strict non-repaint design (signals are computed from closed candles so the chart doesn’t lie after the fact).
Forward visualization (the tunnel projects into the future as a reference map, with uncertainty naturally increasing forward).
What you see on the chart
Vector Tunnel: the projected path and the expected noise range around it.
Color: bullish or bearish bias based on the current slope of the model.
Pinch: compression detected (band width unusually tight versus its baseline).
Bull/Bear Bullets: confirmed pinch signals aligned with directional bias.
Target Marker: a forward reference point based on the current structure (not a guarantee, but a useful reference level).
How to use it (simple, repeatable)
Use it as a three-step decision tool:
Gate (participate or stand down):
If the model is not “on” (quality is weak), treat it as a “stay out” signal. This is the most important feature for avoiding bad trades.
Direction (bias):
When the model is on, follow the bias. Bull bias means your edge is on longs. Bear bias means you avoid longs (or only take bearish setups if you trade that way).
Pinch + confirmation (timing):
A pinch means pressure is building. The bullet marks “compression + bias.” For best results, act after you see expansion confirmation (breakout candle / range expansion / level break) rather than treating the bullet as a blind entry.
Best features (why traders keep it)
Non-repainting signals locked to closed bars
Clear “stay out” logic during chop
Direction bias that responds faster than classic lagging tools
Compression detection designed to highlight expansion windows
Forward tunnel for planning risk, entries, and exits visually
Best markets and timeframes
KRV performs best on liquid ETFs and liquid large-cap stocks, and on sector themes like energy where regime shifts matter.
Recommended timeframes:
4H: best for timing entries and avoiding noise
Daily: best for swing direction and higher-quality setups
Weekly: best for big-picture regime filtering (stay out vs participate)
Monthly can be used for macro regime, but not for timing.
What to expect (honest expectations)
KRV is not a guaranteed predictor of exact prices. Its edge comes from:
filtering out weak/noisy regimes,
identifying compression that often precedes expansion,
and aligning that setup with a directional bias,
without repainting.
Nadaraya-Watson: Multi-FilterThe "Nadaraya" indicator models a curve fitted to the bars using the Rational Quadratic Kernel function - based on the script with additional filters that help plot the trend directly on the price chart.
The following filters are used:
- ALMA curve logic to smooth the Watson Nadaraya regression curve -Additionally, ALMA has a "volume-weighted" option, which may be important when there is little data or small price fluctuations - it helps stabilize the bar price
- ATR logic to smooth local data based on the assumed window and multiplier
- Local data deviation (fluctuations within the local window) logic to smooth the Watson nadaraya regression curve
The basic data is optimized for BTC on a 1D (daily) timeframe to demonstrate the indicator's capabilities.
Due to the relatively complex process of optimizing parameters for any timeframe, it is recommended to start with ATR and %. After optimization for a given interval, the indicator is very precise, although it is recommended to use it for very liquid assets with a large amount of data (sampling) - this is aimed at creating a smooth curve with an accurate indication of the change in the trend direction.
Dual MomentumEnter your assets using the data you got from the sheet and the indicator will tell you when to buy or get back to cash based off the momentum of these assets
RS Filtered RSIRS Filtered RSI (RSF RSI) | MisinkoMaster
The RS Filtered RSI is an advanced RSI-based indicator that enhances the traditional RSI by applying a custom filtering technique using Fourier transform principles. This reduces noise and improves the clarity of signals, helping traders better identify trend direction and potential reversals.
Key Features
Combines classic RSI calculation with Fourier-based filtering for noise reduction
Dynamically adapts to price momentum using Relative Strength filtering
Provides clear bullish and bearish trend signals with customizable thresholds
Includes overbought and oversold levels for better entry and exit timing
Plots divergence histogram to highlight momentum changes
Candle coloring aligns with trend direction for intuitive reading
Highly configurable via inputs for RSI length, filter length, Fourier length, and thresholds
How It Works
Calculates a standard RSI on the selected price source over the chosen length.
Applies a Discrete Fourier Transform (DFT) on recent price data to extract dominant frequency components and filter noise (code adapted from @BackQuant).
Uses Fourier magnitudes combined with RSI values to build a filter that strengthens the RSI signal and filters weak moves.
Applies upper and lower thresholds on the filtered RSI to define bullish and bearish trends.
Visualizes trend signals, divergence, and overbought/oversold zones with colored plots and candles.
Inputs Overview
Length — RSI calculation period
Source — Price input (default: close)
Filter Length — Length for Relative Strength filter
Fourier Length — Number of bars used for Fourier transform
Upper Threshold — Level above which bullish trend is signaled
Lower Threshold — Level below which bearish trend is signaled
Overbought — RSI level considered overbought
Oversold — RSI level considered oversold
Usage Notes
Best suited for traders who want a smoother, less noisy RSI signal especially in volatile markets.
Can be combined with other indicators or price action for better confirmation.
Adjust Fourier length and filter parameters to balance smoothness and responsiveness.
Use divergence histogram to spot momentum shifts early.
Candle coloring makes trend identification more intuitive.
Not a standalone trading signal — always backtest and manage risk accordingly.
Shout Out
Special thanks to @BackQuant for the Fourier transform code that inspired the filtering technique in this indicator.
Disclaimer
This indicator is for educational use only and does not constitute financial advice. Trading involves risk. Please do your own research and trade responsibly.
Momentum RSIMomentum RSI (MRSI | MisinkoMaster)
Momentum RSI is an enhanced version of the classic Relative Strength Index (RSI) developed by J. Welles Wilder. This indicator integrates momentum components directly into the RSI calculation, resulting in a faster, smoother oscillator that helps traders identify trend strength and value zones with greater precision.
Unlike the traditional RSI, which relies on a fixed smoothing approach, the Momentum RSI dynamically incorporates momentum derived from differences between moving averages of RSI values over different lookback periods. This improves signal responsiveness while reducing noise, providing clearer insights for both trend-following and mean-reversion trading strategies.
🔍 Concept & Idea
Momentum RSI aims to improve the original RSI by adding momentum elements that speed up its reaction to price changes without sacrificing smoothness. This hybrid approach helps:
Capture early signals in trending markets
Reduce false signals during sideways or choppy conditions
Highlight overbought and oversold zones more effectively
Provide additional momentum context for more informed trading decisions
By combining RSI with momentum derived from moving average differences, the indicator balances sensitivity and stability for a versatile application across different asset classes and timeframes.
⚙️ How It Works
The Momentum RSI calculation involves several key steps:
Standard RSI Calculation:
The indicator first calculates the classic RSI using user-defined length and smoothing parameters. Users can customize the RSI source price and the smoothing moving average (MA) type applied (options include RMA, SMA, EMA, WMA, DEMA, TEMA, HMA, ALMA).
Momentum Derivation:
Two versions of the RSI are computed with different smoothing lengths—a base RSI and a longer smoothed RSI. The difference between their moving averages represents a momentum component that measures the short-term trend strength.
Additional Momentum:
The difference between shorter-length and longer-length RSI calculations adds another momentum layer, reflecting momentum shifts over different timescales.
Momentum Integration:
These momentum components are combined and added to the previous RSI value, resulting in a momentum-enhanced RSI value (mrsi) that oscillates between 0 and 100.
Trend Detection:
Customizable upper and lower thresholds define long and short signal zones, allowing users to interpret when the market is trending bullish or bearish.
Overbought/Oversold Zones:
Additional thresholds highlight extreme value zones for potential mean-reversion trades.
🧩 Inputs Overview
RSI Length - Controls the primary RSI calculation length (default 20).
Source - Selects the price source for the RSI calculation (default: close).
Smoothing Length - Length used to smooth RSI values with the chosen MA type (default 12).
MA Type - Moving average method used for smoothing (options: RMA, SMA, EMA, WMA, DEMA, TEMA, HMA, ALMA).
ALMA Offset - Offset parameter for ALMA smoothing (applicable only if ALMA is selected).
ALMA Sigma - Sigma parameter for ALMA smoothing (applicable only if ALMA is selected).
Upper Threshold - RSI level above which a bullish (long) signal is triggered (default 55).
Lower Threshold - RSI level below which a bearish (short) signal is triggered (default 45).
Overbought Threshold - RSI level indicating overbought conditions (default 85).
Oversold Threshold - RSI level indicating oversold conditions (default 15).
📌 Usage Notes
Versatile Application: Use Momentum RSI for both trend-following and mean-reversion strategies.
Signal Clarity: The momentum integration reduces noise, helping avoid false breakouts and improving entry timing.
Customization: Adjust smoothing lengths and MA types to match the characteristics of your trading style or the specific asset.
Visual Aids: Background colors, candle coloring, and shape markers facilitate quick interpretation of momentum strength and trend changes.
Threshold Sensitivity: Fine-tune thresholds to balance between early signals and signal reliability.
Intrabar Updates: Signals may update on lower timeframes for responsive trading.
Combine with Other Tools: For best results, use Momentum RSI alongside volume, price action, or other confirmation indicators.
Backtest Before Live Trading: Always validate settings on historical data to ensure suitability for your trading instrument and timeframe.
⚠️ Disclaimer
This script is intended for educational and analytical purposes only and does not constitute financial advice. Trading involves risk, and users should perform their own due diligence before making any trading decisions.
SMC: Multi-TF Bias & HTF BOS with SessionsOverview
The HTF BOS (Session) - Precision Lines is a comprehensive trading tool designed for Smart Money Concepts (SMC) and price action traders. It identifies Higher Timeframe (HTF) Break of Structure (BOS) levels while filtering them based on specific trading sessions. Additionally, it features a built-in Bias Dashboard that tracks trend alignment across three different timeframes to help you stay on the right side of the market.
Key Features
1. Precision HTF BOS Tracking
Unlike standard indicators that only mark the breakout candle, this script uses high-precision pivot detection to identify the exact origin of a structural high or low.
Tam Yapışık Çizgiler (Precise Lines): The BOS lines are drawn exactly from the pivot point to the breakout point, providing a clean and professional look on your chart.
HTF Integration: You can track structure from a higher timeframe (e.g., 4H) while trading on a lower timeframe (e.g., 15m or 5m).
2. Session Filtering (Time Sensitivity)
Structural breaks are most reliable when they happen during high-volume periods.
The script includes a Session Filter (London & New York).
If enabled, the indicator will only plot BOS levels that occur during your specified trading hours, helping you avoid "fake-outs" or noise during low-liquidity periods (Asian session/After-hours).
3. Multi-Timeframe Bias Dashboard
Stay aware of the "Big Picture" without constantly switching charts. The dashboard monitors three custom timeframes (e.g., Daily, 4H, 1H) and determines if the structure is Bullish or Bearish.
Strong Buy/Sell Signals: When all three timeframes align, the status cell highlights as "BUY" or "SELL."
Wait Status: If timeframes are in conflict, the dashboard suggests "WAIT," encouraging disciplined trading.
How to Use
Define Your Bias: Set your three Bias Timeframes in the settings to match your higher-level strategy.
Set Your BOS TF: Choose the timeframe you want structural breaks to be calculated from (usually one or two steps above your entry chart).
Adjust Sensitivity: Use the "Pivot Sensitivity" setting to filter between minor and major structural points.
Confirm with Session: Enable the session filter to ensure you are only trading breaks that occur during the NY or London sessions.
Settings
Bias Dashboard Settings: Customize the TFs and pivot sensitivity for trend analysis.
BOS & Session Settings: Set your target HTF for drawings and define your trading window (NY Timezone supported).
Visual Settings: Full control over colors (Bullish/Bearish), table positioning, and text sizes.
Weighted Volume ROC OscillatorWeighted Volume ROC Oscillator (WVRO | MisinkoMaster)
The Weighted Volume ROC Oscillator is a sophisticated trend-following tool that leverages a volume-weighted Rate of Change (ROC) calculation on a double-smoothed source. Designed to capture both trend direction and strength with minimal noise, this oscillator also highlights potential reversal points, making it an effective tool for fast-moving markets like ETHUSD.
By combining volume weighting with advanced smoothing techniques, the WVRO provides a responsive yet stable indicator to help traders make more informed decisions during trending conditions.
🔍 Concept & Idea
The core idea behind the WVRO is to develop a high-speed oscillator capable of smoothly following trends while remaining sensitive to rapid changes. The ROC is a natural choice for momentum measurement, but raw ROC alone can be noisy.
To improve stability and responsiveness:
The input source is smoothed twice using Weighted Moving Averages (WMA) with a length proportional to the square root of the user-defined length, reducing noise while preserving fast reactions.
The ROC is then weighted by volume to emphasize price movements during high-volume periods, increasing the significance of meaningful trades.
Finally, a volume-weighted average of the ROC is calculated to normalize the signal.
This combination balances smoothness and speed, improving signal clarity in trending markets.
⚙️ How It Works
Double WMA Smoothing of Source:
First, apply a WMA with length √len to the selected source to filter noise but retain responsiveness.
Apply a second WMA with the same length to the first smoothed series for additional smoothing.
Volume-Weighted ROC Calculation:
Calculate ROC on the double-smoothed source over one bar.
Multiply the ROC by the current volume, weighting price changes by trading activity.
Normalization and Oscillator Computation:
Calculate an Exponential Moving Average (EMA) of the volume-weighted ROC over the full length.
Divide by the sum of volume over the same length to normalize, then scale to a range centered near zero.
Trend Logic:
Positive WVRO values indicate bullish momentum (trend up).
Negative values indicate bearish momentum (trend down).
Momentum Divergence:
The difference between the current WVRO and its prior value is smoothed with EMA and plotted as a histogram to help identify potential momentum shifts and reversals.
🧩 Inputs Overview
Oscillator Length – Controls the main smoothing and lookback length of the oscillator (default 17).
Source – The price source used for calculation, defaulting to the average of high, low, close, and close (hlcc4).
📌 Usage Notes
Responsive Yet Smooth: The double WMA smoothing ensures the oscillator is less prone to noise but remains quick to react to market changes.
Volume Weighting: Emphasizes price moves on higher volume bars, improving signal reliability in volatile markets.
Trend Identification: Positive and negative readings provide clear trend signals, while divergence histograms highlight potential turning points.
Visual Clarity: Color-coded plots and background highlighting assist quick interpretation.
Optimized for ETHUSD: Especially effective in high-liquidity, high-volatility assets like Ethereum.
Complement with Other Tools: Use alongside price action or other indicators to confirm trends and entry/exit points.
Backtest and Validate: Always validate settings on your chosen asset and timeframe before live use.
⚠️ Disclaimer
This indicator is for educational and analytical purposes only and does not constitute financial advice. Trading involves significant risk, and users should perform due diligence before trading.
Enjoy enhanced trend following with the Weighted Volume ROC Oscillator!
Bollinger Bands - ALMA EditionBollinger Bands with Crossing Markers - A Small Simple Indicator as a Small Lightweight Supplement.
Green and red markers appear when the price breaks through the top and bottom of the bands, indicating weakening trend momentum and a possible correction or the beginning of a downtrend/uptrend. The BBand is excellent as the FIRST signal of weakening trends – it usually appears right after reaching extremes, i.e., after reaching the bottom or top of the local structure.
Sonic R 89 - NY buy LionLee 079 228 1999//@version=5
indicator("Sonic R 89 - NY SL Custom Fixed", overlay=true, max_lines_count=500)
// --- 0. TÙY CHỈNH THÔNG SỐ ---
group_session = "Cài đặt Phiên Giao Dịch (Giờ New York)"
use_session = input.bool(true, "Chỉ giao dịch theo khung giờ", group=group_session)
session_time = input.session("0800-1200", "Khung giờ NY 1", group=group_session)
session_time2 = input.session("1300-1700", "Khung giờ NY 2", group=group_session)
max_trades_per_session = input.int(1, "Số lệnh tối đa/mỗi khung giờ", minval=1, group=group_session)
group_risk = "Quản lý Rủi ro (Dashboard)"
risk_usd = input.float(100.0, "Số tiền rủi ro mỗi lệnh ($)", minval=1.0, group=group_risk)
group_sl_custom = "Cấu hình Stop Loss (SL)"
sl_mode = input.string("Dragon", "Chế độ SL", options= , group=group_sl_custom)
lookback_x = input.int(5, "Số nến (X) cho Swing SL", minval=1, group=group_sl_custom)
group_htf = "Lọc Đa khung thời gian (MTF)"
htf_res = input.timeframe("30", "Chọn khung HTF", group=group_htf)
group_sonic = "Cấu hình Sonic R"
vol_mult = input.float(1.5, "Đột biến Volume", minval=1.0)
max_waves = input.int(4, "Ưu tiên n nhịp đầu", minval=1)
trade_cd = input.int(5, "Khoảng cách lệnh (nến)", minval=1)
group_tp = "Quản lý SL/TP & Dòng kẻ"
rr_tp1 = input.float(1.0, "TP1 (RR)", step=0.1)
rr_tp2 = input.float(2.0, "TP2 (RR)", step=0.1)
rr_tp3 = input.float(3.0, "TP3 (RR)", step=0.1)
rr_tp4 = input.float(4.0, "TP4 (RR)", step=0.1)
line_len = input.int(15, "Chiều dài dòng kẻ", minval=1)
// --- 1. KIỂM TRA PHIÊN & HTF ---
is_in_sess1 = not na(time(timeframe.period, session_time, "America/New_York"))
is_in_sess2 = not na(time(timeframe.period, session_time2, "America/New_York"))
is_in_session = use_session ? (is_in_sess1 or is_in_sess2) : true
var int trades_count = 0
is_new_session = is_in_session and not is_in_session
if is_new_session
trades_count := 0
htf_open = request.security(syminfo.tickerid, htf_res, open, lookahead=barmerge.lookahead_on)
htf_close = request.security(syminfo.tickerid, htf_res, close, lookahead=barmerge.lookahead_on)
is_htf_trend = htf_close >= htf_open ? 1 : -1
// --- 2. TÍNH TOÁN CHỈ BÁO ---
ema89 = ta.ema(close, 89)
ema34H = ta.ema(high, 34)
ema34L = ta.ema(low, 34)
atr = ta.atr(14)
avgVol = ta.sma(volume, 20)
slope89 = (ema89 - ema89 ) / atr
hasSlope = math.abs(slope89) > 0.12
isSqueezed = math.abs(ta.ema(close, 34) - ema89) < (atr * 0.5)
var int waveCount = 0
if not hasSlope
waveCount := 0
newWave = hasSlope and ((low <= ema34H and close > ema34H) or (high >= ema34L and close < ema34L))
if newWave and not newWave
waveCount := waveCount + 1
// --- 3. LOGIC VÀO LỆNH ---
isMarubozu = math.abs(close - open) / (high - low) > 0.8
highVol = volume > avgVol * vol_mult
buyCondition = is_in_session and (trades_count < max_trades_per_session) and waveCount <= max_waves and is_htf_trend == 1 and
(isMarubozu or highVol) and close > ema34H and low >= ema89 and
(slope89 > 0.1 or isSqueezed ) and close > open
sellCondition = is_in_session and (trades_count < max_trades_per_session) and waveCount <= max_waves and is_htf_trend == -1 and
(isMarubozu or highVol) and close < ema34L and high <= ema89 and
(slope89 < -0.1 or isSqueezed ) and close < open
// --- 4. QUẢN LÝ LỆNH ---
var float last_entry = na
var float last_sl = na
var float last_tp1 = na
var float last_tp2 = na
var float last_tp3 = na
var float last_tp4 = na
var string last_type = "NONE"
var int lastBar = 0
trigger_buy = buyCondition and (bar_index - lastBar > trade_cd)
trigger_sell = sellCondition and (bar_index - lastBar > trade_cd)
// --- 5. TÍNH TOÁN SL & LOT SIZE ---
float contract_size = 1.0
if str.contains(syminfo.ticker, "XAU") or str.contains(syminfo.ticker, "GOLD")
contract_size := 100
// Logic tính SL linh hoạt
float swing_low = ta.lowest(low, lookback_x)
float swing_high = ta.highest(high, lookback_x)
float temp_sl_calc = na
if trigger_buy
temp_sl_calc := (sl_mode == "Dragon") ? ema34L : swing_low
if trigger_sell
temp_sl_calc := (sl_mode == "Dragon") ? ema34H : swing_high
float sl_dist_calc = math.abs(close - temp_sl_calc)
float calc_lots = (sl_dist_calc > 0) ? (risk_usd / (sl_dist_calc * contract_size)) : 0
if (trigger_buy or trigger_sell)
trades_count := trades_count + 1
lastBar := bar_index
last_type := trigger_buy ? "BUY" : "SELL"
last_entry := close
last_sl := temp_sl_calc
float riskAmt = math.abs(last_entry - last_sl)
last_tp1 := trigger_buy ? last_entry + (riskAmt * rr_tp1) : last_entry - (riskAmt * rr_tp1)
last_tp2 := trigger_buy ? last_entry + (riskAmt * rr_tp2) : last_entry - (riskAmt * rr_tp2)
last_tp3 := trigger_buy ? last_entry + (riskAmt * rr_tp3) : last_entry - (riskAmt * rr_tp3)
last_tp4 := trigger_buy ? last_entry + (riskAmt * rr_tp4) : last_entry - (riskAmt * rr_tp4)
// Vẽ dòng kẻ
line.new(bar_index, last_entry, bar_index + line_len, last_entry, color=color.new(color.gray, 50), width=2)
line.new(bar_index, last_sl, bar_index + line_len, last_sl, color=color.red, width=2, style=line.style_dashed)
line.new(bar_index, last_tp1, bar_index + line_len, last_tp1, color=color.green, width=1)
line.new(bar_index, last_tp2, bar_index + line_len, last_tp2, color=color.lime, width=1)
line.new(bar_index, last_tp3, bar_index + line_len, last_tp3, color=color.aqua, width=1)
line.new(bar_index, last_tp4, bar_index + line_len, last_tp4, color=color.blue, width=2)
// KÍCH HOẠT ALERT()
string alert_msg = (trigger_buy ? "BUY " : "SELL ") + syminfo.ticker + " at " + str.tostring(close) + " | SL Mode: " + sl_mode + " | Lot: " + str.tostring(calc_lots, "#.##") + " | SL: " + str.tostring(last_sl, format.mintick)
alert(alert_msg, alert.freq_once_per_bar_close)
// --- 6. CẢNH BÁO CỐ ĐỊNH ---
alertcondition(trigger_buy, title="Sonic R BUY Alert", message="Sonic R BUY Signal Detected")
alertcondition(trigger_sell, title="Sonic R SELL Alert", message="Sonic R SELL Signal Detected")
// --- 7. DASHBOARD & PLOT ---
var table sonic_table = table.new(position.top_right, 2, 10, bgcolor=color.new(color.black, 70), border_width=1, border_color=color.gray)
if barstate.islast
table.cell(sonic_table, 0, 0, "NY SESSION", text_color=color.white), table.cell(sonic_table, 1, 0, last_type, text_color=(last_type == "BUY" ? color.lime : color.red))
table.cell(sonic_table, 0, 1, "SL Mode:", text_color=color.white), table.cell(sonic_table, 1, 1, sl_mode, text_color=color.orange)
table.cell(sonic_table, 0, 2, "Trades this Sess:", text_color=color.white), table.cell(sonic_table, 1, 2, str.tostring(trades_count) + "/" + str.tostring(max_trades_per_session), text_color=color.yellow)
table.cell(sonic_table, 0, 3, "LOT SIZE:", text_color=color.orange), table.cell(sonic_table, 1, 3, str.tostring(calc_lots, "#.##"), text_color=color.orange)
table.cell(sonic_table, 0, 4, "Entry:", text_color=color.white), table.cell(sonic_table, 1, 4, str.tostring(last_entry, format.mintick), text_color=color.yellow)
table.cell(sonic_table, 0, 5, "SL:", text_color=color.white), table.cell(sonic_table, 1, 5, str.tostring(last_sl, format.mintick), text_color=color.red)
table.cell(sonic_table, 0, 6, "TP1:", text_color=color.gray), table.cell(sonic_table, 1, 6, str.tostring(last_tp1, format.mintick), text_color=color.green)
table.cell(sonic_table, 0, 7, "TP2:", text_color=color.gray), table.cell(sonic_table, 1, 7, str.tostring(last_tp2, format.mintick), text_color=color.lime)
table.cell(sonic_table, 0, 8, "TP3:", text_color=color.gray), table.cell(sonic_table, 1, 8, str.tostring(last_tp3, format.mintick), text_color=color.aqua)
table.cell(sonic_table, 0, 9, "TP4:", text_color=color.gray), table.cell(sonic_table, 1, 9, str.tostring(last_tp4, format.mintick), text_color=color.blue)
plot(ema89, color=slope89 > 0.1 ? color.lime : slope89 < -0.1 ? color.red : color.gray, linewidth=2)
p_high = plot(ema34H, color=color.new(color.blue, 80))
p_low = plot(ema34L, color=color.new(color.blue, 80))
fill(p_high, p_low, color=color.new(color.blue, 96))
plotshape(trigger_buy, "BUY", shape.triangleup, location.belowbar, color=color.green, size=size.small)
plotshape(trigger_sell, "SELL", shape.triangledown, location.abovebar, color=color.red, size=size.small)
bgcolor(isSqueezed ? color.new(color.yellow, 92) : na)
bgcolor(not is_in_session ? color.new(color.gray, 96) : na)
Market Internals SPY[TP]# Market Internals SPY Dashboard - TradingView Publication
## 📊 Overview
**Market Internals SPY ** is a comprehensive multi-factor market sentiment dashboard designed specifically for SPY (S&P 500 ETF) traders. This indicator combines four powerful market breadth signals into one easy-to-read interface, helping traders identify high-probability setups and avoid false breakouts.
---
## 🎯 What Makes This Indicator Unique?
Unlike single-indicator tools, this dashboard synthesizes **multiple market internals** to provide confluence-based trading signals:
- **CPR (Central Pivot Range)** - Institutional pivot levels
- **VIX (Volatility Index)** - Fear gauge
- **Put/Call Ratio** - Options sentiment with dynamic crossover alerts
- ** USI:ADD (Advance/Decline Line)** - Market breadth strength
All presented in a clean, real-time dashboard with visual alerts directly on your chart.
---
## 📈 Key Features
### 1. **Static Daily CPR Levels**
- Automatically plots Top CPR, Pivot, and Bottom CPR
- Levels remain fixed throughout the trading day (no repainting)
- **Trend Bias Indicator**: Green = Current Pivot > Previous Pivot (Bullish structure)
### 2. **Put/Call Ratio Crossover System**
- 10-period SMA smoothing for cleaner signals
- **Bullish Signal** (Green background): Put/Call crosses below SMA
- Indicates decreasing hedging activity (bullish)
- **Bearish Signal** (Red background): Put/Call crosses above SMA
- Indicates increasing hedging activity (bearish)
### 3. **Price/Breadth Divergence Detection**
- **Yellow Candles**: Highlight when price and USI:ADD diverge
- Price rising but USI:ADD falling = Potential reversal
- Price falling but USI:ADD rising = Possible bottom
### 4. **Comprehensive Real-Time Dashboard**
A top-right table displaying:
- **CPR Trend Bias**: Bullish/Bearish structure
- **VIX Level**: Current value + directional bias
- **Put/Call Ratio**: Live value + trend arrows
- **AD Line**: Breadth strength with directional indicators
### 5. **Intelligent Bar Coloring**
- **Green bars**: USI:ADD rising (breadth improving)
- **Red bars**: USI:ADD falling (breadth deteriorating)
- **Yellow bars**: Divergence warning (potential reversal)
---
## 🔧 How to Use
### Setup Instructions
1. **Add to Chart**: Apply to SPY on your preferred intraday timeframe (5m, 15m, 30m, 1H)
2. **Configure Symbols** (if needed):
- Default settings work for most platforms
- If "PCC" doesn't load, try: `PCCR`, `INDEX:PCC`, `USI:PCC`, or `CBOE:PCC`
- Ensure you have market internals data access ( USI:ADD , VIX)
### Trading Signals
#### 🟢 **Bullish Confluence** (High-Probability Long Setup)
- CPR Trend = BULLISH
- VIX falling or low (<20)
- Put/Call below SMA (or green background crossover)
- USI:ADD rising (green bars)
- **Entry**: Look for bullish price action at support levels
#### 🔴 **Bearish Confluence** (High-Probability Short Setup)
- CPR Trend = BEARISH
- VIX rising or elevated (>25)
- Put/Call above SMA (or red background crossover)
- USI:ADD falling (red bars)
- **Entry**: Look for bearish rejection at resistance
#### ⚠️ **Divergence Warning**
- Yellow candles indicate mismatch between price and breadth
- Consider profit-taking or reversals when divergence appears at extremes
### Best Practices
- **Multi-Timeframe Confirmation**: Check higher timeframes (4H, Daily) for trend alignment
- **Volume Confirmation**: Combine with volume analysis for stronger signals
- **Risk Management**: Always use stop losses; no indicator is 100% accurate
- **News Awareness**: Be cautious around major economic releases
---
## 📚 Understanding the Components
### CPR (Central Pivot Range)
Traditional floor trader pivot levels calculated from previous day's High, Low, Close:
- **Pivot (PP)** = (High + Low + Close) / 3
- **Top CPR (TC)** = (PP - BC) + PP
- **Bottom CPR (BC)** = (High + Low) / 2
### VIX (Volatility Index)
- **< 15**: Complacency, potential for sudden moves
- **15-20**: Normal conditions
- **20-30**: Elevated uncertainty
- **> 30**: High fear, potential bottoming process
### Put/Call Ratio
- **< 0.7**: Excessive optimism (contrarian bearish)
- **0.7-1.0**: Balanced sentiment
- **> 1.0**: Defensive positioning (contrarian bullish potential)
### USI:ADD (NYSE Advance/Decline)
- **> 0**: More stocks advancing than declining (bullish breadth)
- **< 0**: More stocks declining than advancing (bearish breadth)
- **Extreme readings** (±2000+): Potential exhaustion
---
## ⚙️ Customization Options
### Input Parameters
- **AD Line Symbol**: Default "ADD" (try "ADVN" or "NYSE:ADD" if needed)
- **VIX Symbol**: Default "VIX" (try "CBOE:VIX" if needed)
- **Put/Call Symbol**: Default "PCC" (alternatives listed above)
### Color Scheme
- Blue: CPR levels
- Purple: Pivot point
- Green: Bullish signals/backgrounds
- Red: Bearish signals/backgrounds
- Yellow: Divergence warnings
---
## 💡 Pro Tips
1. **Wait for Confluence**: Don't trade on a single indicator - wait for 3+ signals to align
2. **Use CPR as Dynamic S/R**: Price tends to react at TC and BC levels
3. **Watch the Crossovers**: Put/Call crossovers often precede significant moves
4. **Monitor Divergences**: Yellow candles at key levels are high-value signals
5. **Combine with Price Action**: This tool confirms direction - you still need entry triggers
---
## ⚠️ Limitations & Disclaimers
- Requires **premium data** for USI:ADD and VIX on most platforms
- Best suited for **intraday SPY trading** (may adapt to other indices)
- **Not a standalone system** - use with proper risk management
- Past performance does not guarantee future results
- Always backtest before live trading
---
## 🎓 Example Scenario
**Bullish Setup**:
- 9:45 AM EST: Price pulls back to Bottom CPR
- Dashboard shows: ✅ Bullish CPR Bias, ✅ VIX 16.5 (falling), ✅ Put/Call 0.68 ⬇️ Bull, ✅ USI:ADD +850 ⬆️
- Green background flashes (Put/Call crossunder)
- **Action**: Enter long at BC with stop below TC of previous day
---
## 📊 Ideal Timeframes
- **Primary**: 5-minute, 15-minute (day trading)
- **Secondary**: 30-minute, 1-hour (swing entries)
- **Confirmation**: Daily chart for trend context
---
## 🔄 Updates & Support
This indicator is actively maintained. If you encounter symbol loading issues:
1. Check your data provider includes market internals
2. Try alternative symbols in inputs
3. Ensure you're using a premium TradingView plan (if required)
---
## 📝 Version Information
- **Version**: 5 (Pine Script v5)
- **Type**: Overlay Indicator
- **Author**: tapaspattanaik
- **Category**: Market Internals / Breadth Analysis
---
## 🏆 Final Thoughts
This indicator is designed for **serious traders** who understand that edge comes from confluence, not single signals. By combining institutional pivot levels with real-time market internals, you gain a significant advantage in reading market sentiment and timing entries with precision.
**Remember**: The best trades happen when multiple independent factors align. Use this dashboard to find those moments.
---
## 📌 How to Add This Indicator
1. Open TradingView and navigate to Pine Editor
2. Copy the complete script code
3. Click "Add to Chart"
4. Configure symbols if needed (see Setup Instructions above)
5. Adjust position/colors to your preference
---
**Happy Trading! 📈**
*This indicator is for educational purposes. Always manage risk appropriately and never risk more than you can afford to lose.*
---
### Tags
`#SPY` `#MarketInternals` `#CPR` `#VIX` `#PutCallRatio` `#BreadthAnalysis` `#DayTrading` `#SwingTrading` `#TechnicalAnalysis` `#PivotPoints`
The Rumers Box Strategy+ v1.5.0The Rumers Box Strategy - Visual Trading Setup Analyzer
This indicator implements Doug Rumers' Box Strategy methodology for identifying high-probability trading setups based on historical price ranges and opening candle analysis.
Key Features:
Customizable Box Construction - Define a "Box Date" to establish the high/low range that forms your trading framework
8:45 Candle Analysis - Automatically identifies and validates the opening candle on your specified "Analysis Date"
20% Rule Validation - Visual confirmation when the 8:45 candle range meets the 20% threshold of the box range
Entry Zone Highlighting - Clear visual marking of the top 20% (short zone) and bottom 20% (long zone) of the box
50% Midpoint Reference - Yellow midline for price action analysis
Multi-Timezone Support - Works with 12 major timezones including US, European, Asian, and Pacific markets
Comprehensive Info Panel - Real-time display of all key metrics including box range, thresholds, and setup validity
Historical Analysis - Time-based positioning allows analysis of any historical date without bar index limitations
How to Use:
Select your timezone
Choose the Box Date (the date that establishes your high/low range)
Choose the Analysis Date (the date to check the 8:45 candle)
The indicator will display a ✓ or ✗ showing whether the setup meets the 20% rule
Trade within the highlighted entry zones when valid setups appear
Perfect for: Day traders and swing traders using systematic, rule-based entry strategies on NAS100, ES, and other index futures.
Luminous Trend Wave [Pineify]```
Luminous Trend Wave - Hull MA Based Normalized Momentum Oscillator
The Luminous Trend Wave (Pineify) is a momentum oscillator designed to provide clear, responsive trend signals while minimizing the lag commonly associated with traditional momentum indicators. By combining Hull Moving Average (HMA) calculations with ATR-based normalization and hyperbolic tangent transformation, LTW delivers a bounded oscillator that works consistently across different assets and timeframes.
Key Features
Hull Moving Average foundation for reduced lag trend detection
ATR normalization for universal applicability across all markets
Bounded output range (-100 to +100) using mathematical tanh transformation
Dynamic gradient coloring that reflects momentum intensity
Built-in signal line for momentum confirmation
Automatic alerts for trend reversals and momentum shifts
How It Works
The indicator operates through a four-stage calculation process:
Trend Basis Calculation: The indicator first calculates a Hull Moving Average (HMA) of the closing price. HMA was chosen specifically because it provides significantly less lag compared to Simple or Exponential Moving Averages while maintaining smoothness. This allows the oscillator to respond quickly to genuine price movements.
Distance Measurement: The raw distance between the current close price and the HMA trend line is calculated. This distance represents how far price has deviated from its smoothed trend.
ATR Normalization: The distance is then divided by the Average True Range (ATR) over the same lookback period. This normalization step is crucial - it makes the oscillator readings comparable across different assets regardless of their price levels or typical volatility. A stock trading at $500 and one at $5 will produce equivalent readings when their relative movements are similar.
Tanh Transformation: Finally, the normalized value is passed through a hyperbolic tangent function scaled by a sensitivity multiplier. The mathematical formula (e^2x - 1) / (e^2x + 1) naturally bounds the output between -100 and +100, preventing extreme spikes while preserving the directional information.
Trading Ideas and Insights
Zero Line Crossovers: When the oscillator crosses above zero, it indicates a shift from bearish to bullish momentum. Conversely, crossing below zero signals bearish momentum. These crossovers can be used as entry triggers when confirmed by other analysis.
Overbought/Oversold Levels: Readings above +80 suggest overbought conditions where price has extended significantly above its trend. Readings below -80 indicate oversold conditions. These extremes often precede mean reversion moves.
Signal Line Divergence: When the main oscillator (histogram) is above the signal line, momentum is increasing. When below, momentum is decreasing. This relationship helps identify the strength of the current move.
Momentum Fading: The indicator automatically fades the color intensity when the oscillator value is closer to the signal line than to the extremes, visually indicating weakening momentum before potential reversals.
How Multiple Indicators Work Together
LTW integrates three distinct technical concepts into a cohesive system:
Hull MA + ATR Integration: The Hull Moving Average provides the trend direction while ATR provides the volatility context. Together, they answer not just "where is the trend?" but "how significant is the current deviation relative to normal market movement?"
Mathematical Bounding + Visual Mapping: The tanh transformation ensures readings stay within predictable bounds, while the gradient coloring maps these bounded values to intuitive visual feedback. Strong bullish readings appear in bright green, strong bearish in bright red, with smooth transitions between.
Oscillator + Signal Line System: Similar to MACD's relationship between the MACD line and signal line, LTW uses a WMA-smoothed signal line to filter noise and confirm momentum direction. The interplay between the faster oscillator and slower signal creates actionable crossover signals.
Unique Aspects
Universal Normalization: Unlike many oscillators that produce different reading ranges on different assets, LTW's ATR normalization ensures consistent interpretation whether trading forex, crypto, stocks, or commodities.
Sensitivity Control: The sensitivity parameter allows traders to adjust how aggressively the oscillator responds to price changes. Higher values make it more responsive (useful for scalping), while lower values smooth out noise (better for swing trading).
Visual Momentum Feedback: The gradient coloring and transparency adjustments provide immediate visual feedback about trend strength without requiring traders to interpret numerical values.
How to Use
Add the indicator to your chart - it displays in a separate pane below price.
Watch for zero line crossovers as primary trend signals. Bullish when crossing above, bearish when crossing below.
Use the ±80 levels as caution zones where reversals become more likely.
Monitor the relationship between the histogram and signal line - histogram above signal indicates strengthening momentum.
Pay attention to color intensity - faded colors indicate weakening momentum and potential reversal zones.
Set alerts for automated notifications on trend changes and momentum shifts.
Customization
Trend Lookback (default: 21): Controls the HMA period. Lower values increase responsiveness but may generate more false signals. Higher values provide smoother trends but with more lag.
Signal Smoothing (default: 5): Adjusts the WMA period for the signal line. Higher values create a slower signal line with fewer crossovers.
Sensitivity (default: 1.5): Multiplier for the tanh transformation. Increase for more reactive signals, decrease for smoother readings.
Colors: Fully customizable bullish and bearish colors to match your chart theme.
Gradients: Toggle gradient coloring on/off based on preference.
Conclusion
The Luminous Trend Wave indicator offers traders a mathematically sound approach to momentum analysis. By combining the low-lag properties of Hull Moving Average with ATR-based normalization and bounded output transformation, LTW provides consistent, interpretable signals across any market. The visual feedback system makes trend strength immediately apparent, while the signal line crossovers offer clear entry and exit timing. Whether used as a standalone tool or combined with price action analysis, LTW helps traders identify trend direction, momentum strength, and potential reversal zones with clarity.
```
UT Bot + MACD BUY Delayed Confirm v6UT Bot + MACD BUY Delayed Confirm..even if macd cross happens afterwards signal arrives
Cyberpunk Hyper-Linear ChannelCyberpunk Hyper-Linear Channel is a next-generation linear regression channel designed to visualize trend direction, volatility, and price positioning with high clarity and minimal noise.
Unlike traditional regression channels, this indicator applies EMA smoothing to both slope and intercept, significantly reducing sudden angle shifts and visual jitter.
The result is a stable, latency-controlled trend channel that adapts smoothly to market structure.
🔹 Core Concept
・Linear regression defines the trend axis
・Standard deviation determines dynamic channel width
・Slope & intercept smoothing improves structural stability
・Neon zones highlight bullish / bearish pressure in real time
🔹 Key Features
・Smoothed Linear Regression Channel (trend-focused, low noise)
・Volatility-based adaptive upper & lower boundaries
・Dynamic neon fill that reacts to price position
・Clear trend bias visualization without repainting clutter
・Cyberpunk-inspired, clean and modern aesthetic
🔹 How to Use
・Price near center line → Mean reversion / equilibrium zone
・Price approaching channel edges → Volatility expansion
・Upper zone dominance → Bullish trend pressure
・Lower zone dominance → Bearish trend pressure
・Breakouts beyond the channel may signal trend acceleration or exhaustion
🔹 Best Use Cases
・Trend-following confirmation
・Dynamic support & resistance mapping
・Market structure visualization across all assets
Cyberpunk Hyper-Linear Channel は、
トレンド方向・ボラティリティ・価格の位置関係を
ノイズを極力排除して可視化する次世代線形回帰チャネルです。
従来の線形回帰チャネルと異なり、
傾き(Slope)と切片(Intercept)の両方にEMAスムージングを適用。
これにより、角度の急変や視覚的ブレを抑えた
安定性の高いトレンド構造を描画します。
🔹 コンセプト
・線形回帰によるトレンド軸の定義
・標準偏差による動的チャネル幅
・スムージングで構造ノイズを低減
・価格位置に応じたネオンゾーンの動的強調表示
🔹 特徴
・低ノイズ・高安定な線形回帰チャネル
・ボラティリティ連動型の上下バンド
・価格位置に反応するダイナミックな発色
・リペイント感のないクリーンな描画
・サイバーパンク調の洗練されたデザイン
🔹 使い方
・中央線付近 → 平衡・持ち合いゾーン
・チャネル上限 / 下限付近 → ボラ拡大・圧力増加
・上部ゾーン優勢 → 上昇トレンド圧力
・下部ゾーン優勢 → 下降トレンド圧力
・チャネル外へのブレイクは加速 or 行き過ぎの兆候として注視
🔹 想定用途
・トレンドフォローの補助
・動的サポート / レジスタンスの把握
・相場構造の視覚的理解
CyberFX EMA20 Strategy (Pine v6)This is an updated version of the same script published before. Just few changes, nothing critical.
Money managementnever forget your money management ! never.....................................................................................
Adaptive MTF EMA (auto TF)Adaptive MTF EMA (Auto TF) — Mid & Slow EMA that adjusts with chart timeframe
by @theadventuredan
This indicator plots two Higher-Timeframe EMAs (a Mid and a Slow EMA) on your current chart — but unlike normal MTF EMA scripts, the higher timeframes adapt automatically when you change the chart timeframe.
Instead of having to reconfigure TFs every time you switch from 5m to 15m to 1h, the indicator keeps the same “relationship” by using timeframe multipliers:
Mid TF = current chart TF × Mid Multiplier
Slow TF = current chart TF × Slow Multiplier
Example (default multipliers: 3× and 12×):
On 5m: Mid = 15m, Slow = 60m
On 15m: Mid = 45m, Slow = 180m (3h)
On 1h: Mid = 3h, Slow = 12h
This is especially useful if you use MTF EMA alignment as a trend filter (e.g., Mid EMA above Slow EMA = bullish bias).
How it works
The script reads your current chart timeframe using timeframe.in_seconds(timeframe.period) and converts it into minutes.
It calculates the adaptive MTF targets:
midMin = curMin × midMult
slowMin = curMin × slowMult
It requests the EMA from those higher timeframes via request.security() and plots them on your chart.
Optional:
A label can display the currently calculated Mid and Slow TFs (in minutes).
Inputs
EMA Length: EMA period (default 50)
Mid TF Multiplier: how many times higher the mid timeframe should be (default 3)
Slow TF Multiplier: how many times higher the slow timeframe should be (default 12)
Use confirmed HTF values (safer):
When enabled, the script uses the previous HTF EMA value (EMA ) to reduce behavior caused by partially formed higher-timeframe candles.
This may lag slightly but is often preferred for signal consistency.
Show TF label: shows a label with the current adaptive TFs
Notes / Limitations
Because the higher timeframe is derived by multiplication, some results may produce less common timeframes (e.g., 45m or 12h). This is expected.
MTF values depend on request.security() and will always reflect higher-timeframe candle logic (especially during an unclosed HTF candle). If you want less “in-progress candle” behavior, enable Use confirmed HTF values.
This is an EMA overlay tool — not a standalone buy/sell system.
Suggested usage
Trend bias filter: Mid EMA > Slow EMA = bullish bias, Mid < Slow = bearish bias
Entry alignment: use the adaptive EMAs as “context” while trading lower TF setups
Dynamic market structure: switch timeframes while keeping consistent “one step higher / two steps higher” EMA reference
GAYBEAR SWING Clean v6 mobile-safeHow to Use Sniper Swing — Clean v6 (Mobile-Safe)
Purpose
Sniper Swing — Clean v6 is a trend-aligned swing indicator designed to help traders identify high-probability entries and exits while minimizing noise. It works best in trending or gently rotating markets and is optimized for mobile charting.
A. Chart Setup
Recommended:
Timeframes: 5m–1h for active trading, 4h–Daily for swing trading
Instruments: Liquid equities, indices, and major ETFs
The indicator plots:
SMA 9 (entry trigger)
EMA 20 (trend and momentum)
Optional SMA 50 (higher-timeframe bias)
B. Buy (Long) Signal — How to Act
A BUY label appears when price reclaims short-term structure.
How to trade it:
Wait for price to cross above the SMA 9
Confirm EMA 20 is rising (and above SMA 50 if enabled)
Optional: Confirm price is closing above EMA 20
Enter on:
The close of the signal candle, or
A minor pullback that holds above SMA 9
Best context:
Higher lows
EMA 20 sloping upward
RSI not overbought
C. Sell / Short Signal — How to Act
The indicator offers two sell modes:
1) CrossUnder SMA 9 (Fast Exit)
Use in strong trends or fast markets
Exit longs or enter shorts when price loses SMA 9
2) AccuSell (Structure-Based)
Use in choppy or topping markets
Requires:
Loss of SMA 9 plus
Structural weakness (lower highs/lows, RSI < 50, or EMA 20 turning down)
How to trade it:
Exit longs when sell label appears
Aggressive traders may enter short positions
Conservative traders wait for follow-through
D. RSI Arrows — Context Only
OB arrows warn of potential exhaustion
OS arrows suggest relief or bounce zones
RSI does not trigger trades — it informs patience and risk
E. Position Coloring & State
Green candles = long bias
Purple candles = short bias
Background tint reinforces short exposure
Coloring persists until the opposite signal prints
This helps visually manage trades without staring at labels.
F. Risk Management (User-Defined)
The indicator does not manage stops or targets.
Common approaches:
Stop below recent swing low (longs)
Stop above recent swing high (shorts)
Scale partials near RSI OB/OS zones
G. When Not to Use It
Extremely low-volume chop
News-driven spikes
Range-bound micro consolidations
2. Explain It Like You’re 10 👶📈
Imagine the chart is a road, and the price is a car.
🟢 Green = Go
When the car drives above the yellow line, that means it’s probably going up.
The indicator says:
“Okay, the car looks like it wants to go forward. You can hop in.”
That’s a BUY.
🟣 Purple = Uh-Oh
When the car falls below the yellow line, it might start going down.
The indicator says:
“Careful… the car is slowing down or turning around.”
That’s a SELL.
🔵 Blue Line = Wind Direction
The blue line shows which way the wind is blowing.
If the wind blows up → going up is easier
If the wind blows down → going down is easier
You want to go with the wind, not fight it.
🔺 Red & Green Arrows = Too Fast / Too Slow
Red arrow = “The car is going too fast, might need a break”
Green arrow = “The car is tired, might bounce”
They don’t tell you to go or stop — they just say “pay attention.”
🎨 Colors Help You Remember
Green bars = you’re riding up
Purple bars = you’re riding down
Gray = nothing exciting happening
🚨 Important Rule
This tool doesn’t drive the car for you.
It just says:
“Now might be a good time.”
You still decide when to get in and when to get out
MAs+Engulfing O caminho das Criptos
This indicator overlays multiple moving averages (EMAs 12/20/50/100/200 and SMA 200) and highlights bullish/bearish engulfing candles by dynamically coloring the candle body. The EMA 12 (gray) provides short-term momentum insight, helping refine entry timing and micro pullbacks.
When a bullish engulfing is detected, the candle appears as a strong dark green; for bearish engulfing, a vivid red. Normal candles retain classic lime/red colors. Visual alerts and bar coloring make price-action patterns instantly visible.
Includes built-in alert conditions for both patterns, supporting both trading automation and education. The tool upgrades trend-following setups by combining macro structure (longer EMAs) with micro momentum (EMA 12) and automatic price-action insights.
Tomato Multi EMA + VWAP + SMA + RSI TableTomato Multi EMA + VWAP + SMA + RSI Table
Here are the following:
12, 27, 50, 135, 200, 405 EMAs
Blue, Red, Purple, Light Blue, Yellow, Green
White: VWAP
200, 400 SMA
Dotted Orange Line, Dotted Red Line
1, 2, 3, 5, 10, 13, 15, 30 Multitimeframe RSI table with RSI-MA 45 (EMA 45)
BTC - NMI: Network Metabolism IndexBTC - Network Metabolism Index (NMI) | RM
Concept & Background
The Network Metabolism Index (NMI) is a fundamental valuation model that treats Bitcoin as a biological organism. While price is the "face" of the asset, the NMI measures its "internal organs"—specifically its physical security and its social circulation.
Computational Logic: The Assembly Line
To arrive at the final NMI score, the indicator follows a rigorous four-step deterministic process:
• Step 1: Metric Selection: We ingest three high-fidelity data streams from Glassnode. Difficulty (Security), Active Addresses (Utility), and Market Cap (Price).
• Step 2: Fair Value Proxy (FVP) Computation: We calculate the network's intrinsic strength using a modified Metcalfe Law. We square the Active Addresses to account for network effect growth and multiply it by the Square Root of Difficulty to weight the value by physical security.
• Step 3: Log-Ratio Normalization: Because the FVP represents astronomical values of physical and social work, we calculate the Natural Logarithm of the Market Cap divided by the FVP . This places the data into a usable, though deep-negative, "dimensionless" territory.
• Step 4: Denoising & Banding: We apply a 14-day Least Squares Moving Average (LSMA) to the result to strip away daily volatility. Finally, we wrap the curve in 1.5 Standard Deviation bands to identify statistical "Fever" (Overvalued) and "Starvation" (Undervalued) zones.
The Y-Axis is measured in Nats (Natural Logarithmic Units). Important: Users should treat these units as dimensionless . Because the fundamental proxies for security and utility are so mathematically dominant, the resulting values reside in a negative logarithmic territory . The absolute numerical value is secondary to the morphology of the curve and its position relative to the dynamic Sigma bands.
Core Features / User Inputs
• LSMA Denoising: A linear regression filter to reveal structural trends.
• Dynamic Sigma Bands: 365-day rolling bands that adapt to Bitcoin's maturing market cycle.
• Regime Audit Dashboard: Real-time classification of the network state.
How to Read The Chart
• Metabolic Starvation (Blue Zone): Security and utility are significantly higher than price reflects. A generational value opportunity.
• Metabolic Fever (Red Zone): Price is over-extended relative to the network's biological reality.
• Neutral (Grey): Price and health are in a sustainable balance.
Data Feed Disclaimer
This indicator requires access to the Glassnode professional data feeds (Difficulty, Active Addresses, and Market Cap). Users without a valid subscription to these alternative data sets will not see the oscillator render. This script is intended for macro analysis; it is not financial advice.
General Disclaimer
This indicator is a mathematical model based on historical on-chain data. It is intended for educational purposes and macro analysis. On-chain metrics are lagging by nature and should be used in conjunction with a robust risk management strategy. This is not financial advice.
Tags
Rob Maths, Rob_Maths, robmaths, Bitcoin, OnChain, Glassnode, FundamentalAnalysis, MetcalfeLaw, Quant, Macro, Difficulty, ActiveAddresses, ValuationModel, NetworkMetabolism






















