LT - Vertical Line Every Minute (Customizable)Prints a vertical line every minute on the sub-minute charts
Penunjuk dan strategi
x5-smooth-ema[t90]Overview
The x5 Smoothed EMA Flow is a trend-visualization tool designed to filter out market "noise" by applying a secondary smoothing layer to a base Exponential Moving Average (EMA).
How to Use
Trend Filtering: The "Flow" helps identify the true trend. When the ribbon is expanding and colored for a bullish trend, it signals strong, sustained momentum.
Noise Reduction: Unlike a standard EMA which can "whipsaw" during consolidation, the double-smoothed layers stay smoother for longer, helping traders stay in a position during minor pullbacks.
Trend Confirmation: Use the alignment of all smoothing layers to confirm a trend. When all layers transition to the same color, it indicates a high-probability trend shift.
Dynamic Support/Resistance: The ribbon acts as a depth-based support or resistance zone. Price often reacts to the "core" of the flow before continuing its primary move.
Settings
Source: Choose the price source (Close, HL2, etc.) for the initial calculation.
Base Length: Adjust the sensitivity. Shorter lengths are better for scalping; longer lengths are optimized for swing trading.
Color Settings: Fully customizable Bull and Bear colors to match your chart theme.
Disclaimer: This indicator is for educational purposes only. Moving averages are lagging indicators and should be used in conjunction with other forms of analysis. Past performance is not indicative of future results.
The Bitterroot Trader Checklist//@version=5
indicator("Syntax-Safe Confluence Gauge", overlay=true)
// --- 1. INPUTS ---
col_ema9 = input.color(#00bcd4, "9 EMA Color")
col_ema20 = input.color(#ff9800, "20 EMA Color")
col_ema60 = input.color(#f44336, "60 EMA Color")
col_vwap = input.color(color.gray, "VWAP Color")
// --- 2. 48-HOUR DATA ---
h48 = ta.highest(high, 100)
l48 = ta.lowest(low, 100)
v48_avg = ta.sma(volume, 100)
// --- 3. CALCULATIONS ---
= ta.macd(close, 12, 26, 9)
e9 = ta.ema(close, 9), e20 = ta.ema(close, 20), e60 = ta.ema(close, 60)
v_wap = ta.vwap(close)
// --- 4. SCORING & CHECKLIST LOGIC ---
bool c1 = macdLine > signalLine
bool c2_bull = (volume > v48_avg and close > open)
bool c2_bear = (volume > v48_avg and close < open)
bool c3 = (e9 > e20 and e20 > e60)
bool c4_bull = close > h48
bool c4_bear = close < l48
bool c5 = close > v_wap
// Final Scoring
float s2 = c2_bull ? 1.0 : c2_bear ? -1.0 : 0.0
float s4 = c4_bull ? 1.0 : c4_bear ? -1.0 : 0.0
float live_mean = ((c1 ? 1 : -1) + s2 + (c3 ? 1 : -1) + s4 + (c5 ? 1 : -1)) / 5.0
// Count active checks for Alerts
int bull_checks = (c1 ? 1 : 0) + (c2_bull ? 1 : 0) + (c3 ? 1 : 0) + (c4_bull ? 1 : 0) + (c5 ? 1 : 0)
int bear_checks = (macdLine < signalLine ? 1 : 0) + (c2_bear ? 1 : 0) + (e9 < e20 and e20 < e60 ? 1 : 0) + (c4_bear ? 1 : 0) + (close < v_wap ? 1 : 0)
// --- 5. ALERTS ---
alertcondition(bull_checks >= 4, title="Strong Bullish Confluence", message="4+ Bullish Checks Aligned!")
alertcondition(bear_checks >= 4, title="Strong Bearish Confluence", message="4+ Bearish Checks Aligned!")
// --- 6. COLOR ENGINE ---
bool macd_curling_up = hist > hist
bool macd_curling_down = hist < hist
color final_c = #808080
if live_mean <= -0.1
final_c := (live_mean <= -0.8) ? #ff0000 : #8b0000
if macd_curling_up
final_c := #d84315
else if live_mean >= 0.1
final_c := (live_mean >= 0.8) ? #00ff00 : #006400
if macd_curling_down
final_c := #9e9d24
else
final_c := #808080
// --- 7. REWRITTEN NEEDLE LOGIC (Fixes the Mismatched Input Error) ---
string needle = switch
live_mean <= -1.0 => "┃ "
live_mean <= -0.6 => " ┃ "
live_mean <= -0.2 => " ┃ "
live_mean == 0.0 => " ┃ "
live_mean <= 0.4 => " ┃ "
live_mean <= 0.8 => " ┃ "
=> " ┃"
// --- 8. TABLE DISPLAY ---
var table gauge = table.new(position.top_right, 1, 1)
if barstate.islast
string check1 = "MACD: " + (c1 ? "✅" : "❌")
string check2 = "VOL: " + (s2 > 0 ? "✅" : s2 < 0 ? "❌" : "➖")
string check3 = "EMA: " + (c3 ? "✅" : "❌")
string check4 = "48H: " + (s4 > 0 ? "✅" : s4 < 0 ? "❌" : "➖")
string check5 = "VWAP: " + (c5 ? "✅" : "❌")
string display_text = "48H MEAN: " + str.tostring(live_mean, "#.#") + " " +
" " +
" " + needle + " " +
"------------------ " +
check1 + " | " + check2 + " " +
check3 + " | " + check4 + " " +
check5 + " | CURL: " + (macd_curling_up ? "UP" : "DN")
table.cell(gauge, 0, 0, display_text, bgcolor=color.new(final_c, 85), text_color=final_c, text_size=size.large)
// --- 9. PLOTS ---
plot(h48, "48H High", color=color.new(#00ff00, 50), style=plot.style_stepline)
plot(l48, "48H Low", color=color.new(#ff0000, 50), style=plot.style_stepline)
London Breakout Optimized PFBest Practices:
Only take trades in trend and above/below VWAP
Avoid trading in low-volume or sideways markets
Use it for intraday 5-min charts (15-min for trend confirmation)
Track trades in a Trading Journal → improves discipline
Entry Rules:
Long (Buy):
Price above EMA21 & VWAP → bullish trend
EMA slope positive → strong trend confirmation
Pullback to entry zone OR breakout above resistance
Volume above 1.3× average → avoids weak moves
Short (Sell):
Price below EMA21 & VWAP → bearish trend
EMA slope negative → strong downtrend
Pullback to entry zone OR breakout below support
Volume above 1.3× average
Exit Rules:
Stop-Loss: ATR-based, dynamic (tight for fewer losses)
Take Profit: Risk × 3 (3:1 R:R)
Automatically handled by the strategy (strategy.exit)
EMA with RSI Color (Custom Lengths)本指标将指数移动平均线(EMA)与相对强弱指标(RSI)相结合,用于辅助判断市场的趋势方向与超买 / 超卖状态。
用户可自定义 EMA 的长度(如 20 / 60 / 120),并灵活选择 EMA 的计算周期:
(1) 使用当前图表周期,或
(2) 使用指定的高 / 低周期(如 1m、5m、1h、4h、1D、1W)
RSI 默认采用 14 周期,并支持自定义超买与超卖阈值:
(1) 当 RSI 低于超卖阈值(如 30)时,对应时间段内的 EMA 将自动变为绿色,提示可能存在超卖反弹机会;
(2) 当 RSI 高于超买阈值(如 70)时,对应时间段内的 EMA 将自动变为红色,提示可能存在超买回调风险;
(3) 当 RSI 处于中性区间时,EMA 显示为用户设定的默认颜色。
此外,RSI 的计算周期也可选择:
(1) 与 EMA 使用相同的周期(用于多周期趋势确认),或
(2) 使用当前图表周期(用于短周期动量判断)。
This indicator combines Exponential Moving Averages (EMA) with the Relative Strength Index (RSI) to assist in identifying trend direction and overbought/oversold conditions.
Users can define custom EMA lengths (e.g., 20 / 60 / 120) and flexibly choose the EMA calculation timeframe:
(1) Use the current chart timeframe, or
(2) Use a specified higher or lower timeframe (e.g., 1m, 5m, 1h, 4h, 1D, 1W).
The RSI uses a default 14-period setting, with customizable overbought and oversold levels:
(1) When RSI falls below the oversold threshold (e.g., 30), the EMA segments corresponding to that period are automatically colored green, indicating potential oversold rebound opportunities;
(2) When RSI rises above the overbought threshold (e.g., 70), the EMA segments turn red, signaling potential overbought pullback risk;
(3) When RSI remains within the neutral zone, EMA lines retain their user-defined default colors.
The RSI calculation timeframe can also be selected:
(1) The same timeframe as EMA (for multi-timeframe trend confirmation), or
(2) The current chart timeframe (for short-term momentum analysis).
N Option Selling 2
---
## 📌 Script Description
**NIFTY Weekly Option Seller – Regime-Based Risk-Controlled System**
This indicator is designed for **systematic weekly option selling on NIFTY**, using a **rule-based regime and scoring framework** to decide **what to sell, how aggressively to sell, and when to defend or harvest**.
The script does **not generate buy/sell signals**.
Instead, it acts as a **decision and risk-management engine** for option sellers.
---
## 🔹 Core Idea
The market is always in one of three regimes:
1. **Iron Condor (IC)** → Range / mean-reverting market
2. **Put Credit Spread (PCS)** → Bullish trending market
3. **Call Credit Spread (CCS)** → Bearish trending market
This script **scores all three regimes (0–5)** on the current chart timeframe and automatically selects the **dominant regime**.
---
## 🔹 How Scoring Works (High Level)
Each regime score is built using **price structure + volatility + momentum context**:
### PCS (Bullish bias)
* EMA alignment (8 > 13 > 34)
* ADX trend strength
* Price above VWAP
* CPR breakout
* RSI sanity checks (size is reduced in extremes)
* Daily trend confirmation
### CCS (Bearish bias)
* EMA alignment (8 < 13 < 34)
* ADX trend strength
* Price below VWAP
* CPR breakdown
* RSI sanity checks (size is reduced in extremes)
* Daily trend confirmation
### IC (Range bias)
* Low ADX (both intraday & daily)
* Price inside CPR
* Price near VWAP
* Price inside Camarilla H3–L3
* RSI near equilibrium (45–55)
A **cross-penalty system** ensures that strong trends suppress IC scores and vice-versa, preventing conflicting signals.
Scores are **smoothed** to reduce noise and avoid over-trading.
---
## 🔹 Regime Selection Logic
* The regime with the **highest score** is selected.
* If scores tie:
* **Trending markets → PCS / CCS**
* **Non-trending markets → IC**
This ensures **trend takes priority over range** when volatility expands.
---
## 🔹 Strike Selection (ATR-Based)
The script suggests **volatility-adjusted strike distances** using ATR:
* **Iron Condor:** ±1.0 × ATR
* **PCS / CCS:** ±1.25 × ATR
This adapts automatically to changing volatility instead of using fixed point distances.
---
## 🔹 Risk-First Trade Management
The script provides **three actionable alerts only**:
### 🔴 DEFEND
Triggered when:
* Price approaches short strike
* Trend breaks beyond Camarilla levels
* Volatility expansion threatens the position
→ Signals the need to **roll, widen, or convert**
### 🟢 HARVEST
Triggered when:
* Adequate price cushion exists
* Market remains range-bound or stable
→ Signals opportunity to **book profits or roll closer**
### 🔵 REGIME CHANGE
Triggered when:
* Market structure flips decisively
→ Signals need to **switch strategy bias**
A **cooldown system** prevents alert spam.
---
## 🔹 Position Sizing Philosophy
* Scores determine **directional conviction**
* RSI-based **size multiplier** automatically reduces exposure in extreme momentum conditions
* Optional **minimum lot floor** ensures participation without over-risking
* Designed to support **Risk:Reward frameworks (1:2 or 1:3)** through premium-based stop discipline
---
## 🔹 Visual & UX Features
* Background color reflects active regime and conviction
* On-chart panel displays:
* Active strategy
* Scores (IC / PCS / CCS)
* ADX & RSI
* VWAP, CPR, Camarilla levels
* Clean, non-repainting levels (previous day data)
---
## 🔹 Intended Use
* Weekly option selling (IC / PCS / CCS)
* Works best on **30m–1h charts**
* Designed for **rule-based traders**, not discretionary scalpers
* Focused on **capital preservation, consistency, and disciplined adjustments**
---
## ⚠️ Disclaimer
This script is **not financial advice**.
It is a **decision-support and risk-management tool** for experienced option sellers who already understand spreads, adjustments, and margin dynamics.
Universal Auto CPR + R1-R5 S1-S5 +Smoothed Heikin AshiWhat this script is doing :
✅ Part A: Smoothed Heikin Ashi candles (visual overlay)
It calculates Heikin Ashi OHLC
Then applies EMA smoothing to HA values (shaLen)
Finally plots the HA candles using plotcandle()
👉 Important: This HA overlay is ONLY for view.
It does not change CPR / pivot levels,
✅ Part B : Auto CPR timeframe selection
It automatically decides which higher timeframe to use for CPR based on chart timeframe:
Rule inside autoTF:
Chart timeframe CPR timeframe used
seconds or minutes < 60 Daily (D)
minutes ≥ 60 Weekly (W)
daily Monthly (M)
weekly/monthly Yearly (12M)
✅ Recommendation : Add colors + widths to make CPR readable
Currently all plots are default color.
You can set:
Pivot as yellow
TC/BC as blue
R levels red
S levels green
Midlines faded
(only visual improvement)
Happy trading
FVG Toolkit V2 (MTF + Backtest)FVG Toolkit V2 is a clean, multi-timeframe Fair Value Gap (FVG) indicator built for discretionary traders who want clarity, flexibility, and the ability to properly backtest.
This tool was designed specifically to solve common issues with FVG indicators—limited history, lack of timeframe control, and excessive chart clutter—while staying true to how institutional-style traders analyze price.
Key Features:
Multi-Timeframe Fair Value Gaps
Display FVGs from multiple timeframes on a single chart
Supports 5m, 15m, 30m, 1H, 4H, and Daily
Each timeframe can be turned on or off independently
Adjustable Backtesting Lookback
Choose how far back FVGs are displayed (in days)
Default set to 30 days for meaningful backtesting
Helps traders study historical reactions without overwhelming the chart
Custom Timeframe Labels
Each FVG is labeled directly on the chart
Rename timeframe labels in settings (e.g., “30m Bias”, “HTF Daily”, “5m Execution”)
Makes multi-timeframe analysis clear and intuitive
Unfilled & Inverted FVG Logic
Optional setting to show only unfilled FVGs
Optional inverted FVGs once a gap is fully filled
Helps identify potential support/resistance flips and reaction zones
Chart-Timeframe Visualization
All FVGs are drawn on the active chart timeframe
Ideal for execution on 1m, 5m, and 15m charts
Keeps higher-timeframe context visible without switching charts
Who This Indicator Is For:
Traders using Fair Value Gaps as reaction zones
ICT-style and price-action traders
Forex, Futures, and Indices traders
Traders who want clean charts and real backtesting, not repainting signals
Best Use Cases:
Higher-timeframe bias with 30m, 1H, 4H, or Daily FVGs
Execution on 5m or 15m charts
Studying which timeframes’ FVGs are respected by specific instruments
Backtesting FVG behavior across different markets (e.g., USDJPY vs Gold)
HTF Candle Hourly Display**IMPORTANT:** For best visual results, move the indicator to the FIRST position in Object Tree:
- Right-click on chart → Object Tree
- Drag "Hour Display" to the top (first position above candles)
- This ensures hour labels display cleanly behind candlesticks
HOW TO USE:
1. Add to your H1 or higher timeframe chart
2. Adjust UTC offset to match current time (use 0 or 1 - try both to see which matches)
3. Customize text colors for bullish/bearish candles as needed
4. Enable/disable daily separator at 18:00 based on preference
SETTINGS:
• UTC Offset: Use 0 or 1 to match your current time. The correct value changes throughout the year due to daylight saving time (e.g., January may need 1, July may need 0). Simply try both values and use the one that displays correctly.
• Bullish Candle Text Color: Color for labels on up candles (default: black)
• Bearish Candle Text Color: Color for labels on down candles (default: white)
• Show Daily Separator: Toggle 18:00 vertical line on/off
• Daily Separator Color: Customize separator line color
IMPORTANT: This indicator only works on H1 (1-hour) and higher timeframes. A warning will display if used on lower timeframes.
ATR Value Number Display Only (No line chart)OVERVIEW:
The ATR (Average True Range) Value Display provides a clean, always-visible ATR reading on your chart. This essential volatility indicator helps traders set appropriate stop losses, position sizes, and profit targets based on current market volatility.
KEY FEATURES:
• Real-Time ATR Display: Shows current ATR value in a clean table format
• Customizable Appearance: Fully customizable text and background colors
• Adjustable Period: Standard 14-period default with full customization
• Bottom-Right Positioning: Non-intrusive placement that doesn't obstruct price action
• Tick Precision: Displays ATR value with accurate tick formatting
• Lightweight: Minimal resource usage with maximum clarity
HOW TO USE:
1. Add the indicator to any timeframe chart
2. Adjust ATR Length based on your trading style (14 is standard)
3. Customize colors to match your chart theme
4. Use ATR value to:
- Set stop loss distances (e.g., 1.5x ATR)
- Calculate position sizes based on risk tolerance
- Identify increasing/decreasing volatility trends
- Set realistic profit targets
SETTINGS:
• ATR Length: Calculation period (default: 14)
• Text Color: Customize the ATR text color (default: white)
• Box Color: Customize the background box color (default: semi-transparent blue)
PERFECT FOR:
✓ Position sizing based on volatility
✓ Setting dynamic stop losses that adapt to market conditions
✓ Identifying high/low volatility periods
✓ Comparing volatility across different instruments
✓ Risk management and trade planning
WHAT IS ATR?
Average True Range (ATR) measures market volatility by calculating the average range between high and low prices over a specified period. Higher ATR values indicate higher volatility, while lower values suggest calmer markets.
TIP: Use ATR on multiple timeframes to understand volatility across different trading horizons.
SMT + BOS + RR This indicator implements a Smart Money Theory (SMT) + Break of Structure (BOS) strategy with a fixed risk/reward ratio, synchronized between two assets. The main idea is to detect discrepancies in the movements of two symbols to identify potential accumulation and reversal zones driven by institutional activity.
Key Features:
SMT Signals:
Automatically identifies divergences between two assets (e.g., BTC and ETH), highlighting potential smart money activity.
Detects trend direction through sweeps of recent highs and lows.
BOS (Break of Structure):
Filters signals based on structure break: higher highs/lower lows.
Additional ATR-based candle size check to avoid false signals.
Entry & Position Management:
Supports long, short, or both directions.
Entry type selection: on candle close (bos_close) or retest (bos_retest).
Automatic calculation of Stop Loss at the last extreme and Take Profit based on the specified risk/reward ratio (RR).
Visualization:
Arrows displayed on the chart for buy and sell signals.
SL and TP lines for clear risk management.
SMT signals marked at the top and bottom of the chart.
Settings:
Symbol A / Symbol B — choose assets for SMT analysis.
Side — trading direction: long, short, or both.
Swing Size — pivot size for detecting local highs and lows.
Risk/Reward — RR ratio for automatic TP calculation.
Min BOS Body ATR — minimum candle body size for BOS confirmation.
Best Suited For:
Traders following Smart Money concepts and looking for market structure-based signals with controlled risk.
Auto Supply and Demand and ICT ExecutionsAuto Supply and Demand and ICT Executions is a professional-grade technical analysis suite designed to automate the visualization of institutional market structure and "Smart Money" execution signals. By combining automated Supply/Demand zoning with key ICT (Inner Circle Trader) concepts, this indicator provides a complete roadmap for identifying high-probability reversal and continuation setups on any timeframe.
Core Features:
Auto Supply & Demand Zones:
Automatically identifies and plots active Supply (Red) and Demand (Green) zones based on significant market structure pivots.
Persistent Logic: Zones remain active on the chart until price "mitigates" (closes beyond) them, ensuring you never miss a retest of a key level.
ATR Clutter Filter: Uses an Average True Range (ATR) algorithm to prevent zones from overlapping, keeping your chart clean and readable.
ICT Execution Signals (MSS):
Market Structure Shifts (MSS): Automatically detects valid shifts in market structure when price breaks a key structural high or low following a liquidity sweep.
Instant Signal Labels: clearly labels breakout points with "MSS ↑" (Bullish) or "MSS ↓" (Bearish) tags.
Auto Risk/Reward Projections:
Upon detecting an MSS signal, the indicator instantly projects a Risk/Reward (R:R) Box (default 1:2) anchored to the breakout candle.
This provides immediate, visual Take Profit (Green) and Stop Loss (Red) targets, allowing for instant trade assessment without manual measuring.
Multi-Timeframe (MTF) Confluence:
Projects Higher Timeframe (HTF) Zones (default: 15-minute) directly onto your current chart.
This allows you to align your lower-timeframe entries (e.g., 1-minute) with the dominant institutional trend without switching screens.
Institutional Concepts:
Liquidity Sweeps: Highlights "Stop Hunt" pivots where price briefly breaches a recent swing high/low to trap traders before reversing.
Fair Value Gaps (FVG): Visualizes historical price imbalances (gaps) where aggressive institutional buying or selling occurred.
Silver Bullet Session: Automatically highlights the high-probability 10:00 AM - 11:00 AM NY trading window.
How to Trade with This Indicator:
Identify Structure: Wait for price to approach a Supply or Demand Zone (especially if it overlaps with an MTF Zone).
Confirm the Sweep: Look for the "Sweep" label, indicating liquidity has been grabbed.
Execute on Signal: Enter the trade when the "MSS" label appears, confirming the reversal.
Manage the Trade: Use the automated R:R Box to set your Stop Loss and Take Profit levels.
Hisham&Wissamsuper heroes only can use it, super heroes only can use it super heroes only can use it, super heroes only can use it super heroes only can use it, super heroes only can use it super heroes only can use it, super heroes only can use it super heroes only can use it, super heroes only can use it super heroes only can use it, super heroes only can use it super heroes only can use it, super heroes only can use it super heroes only can use it, super heroes only can use it super heroes only can use it, super heroes only can use it super heroes only can use it, super heroes only can use it super heroes only can use it, super heroes only can use it super heroes only can use it, super heroes only can use it super heroes only can use it, super heroes only can use it
Median TR SuperTrend | RakoQuantMedian TR SuperTrend | RakoQuant
A Robust Trend-Following Regime Indicator for Daily Crypto Markets
The Median TR SuperTrend is a modern trend-following indicator designed to help students and traders clearly identify the dominant market regime on higher timeframes (especially 1D crypto).
This tool is inspired by the classic SuperTrend framework, but enhanced with a more robust volatility engine, making it better suited for the extreme wick behavior and noise typical in cryptocurrency markets.
What This Indicator Does:
The Median TR SuperTrend answers one simple question:
Are we currently in a bullish trend regime or a bearish trend regime?
It is not meant for rapid scalping or frequent signals.
Instead, it is built to provide:
Clear directional context
Trend continuation bias
Regime-based positioning
Noise reduction on higher timeframes
This makes it ideal for students learning disciplined trend-following.
Core Concept: Trend Following, Not Prediction
This indicator does not attempt to predict tops or bottoms.
It follows trends by reacting only when price establishes a true breakout beyond a volatility-adjusted band.
That means:
Strong trends are captured early
Choppy markets are filtered
Signals are based on regime shifts, not candle-to-candle noise
What Makes It “Robust”?
Traditional SuperTrend systems use ATR (Average True Range) to define volatility.
Crypto markets, however, often produce outlier candles (wicks, liquidations, spikes) that distort ATR.
This version replaces ATR with:
Median True Range (MTR)
Median TR is more resistant to extreme one-off candles, providing:
Smoother volatility estimates
More stable trend bands
Less sensitivity to random spikes
This creates a more reliable trend structure in high-volatility environments.
How It Works (Simple Breakdown)
1. Median Baseline
The indicator begins by calculating a rolling median of price, forming a stable central trend reference.
2. Robust Volatility Bands
A volatility envelope is created using Median True Range:
Upper band = baseline + multiplier × MTR
Lower band = baseline − multiplier × MTR
3. SuperTrend Regime Logic
Only one band is active at a time:
Bull regime → trailing lower band
Bear regime → trailing upper band
Trend flips occur only when price breaks beyond the active band.
Visual Interpretation
Neon Aqua Band
Bullish regime
Trend-following long environment
Neon Magenta Band
Bearish regime
Defensive or short environment
Filled Trend Zone
Shows the active trend space clearly without clutter.
This indicator is designed for learning:
Market structure
Regime trading
Patience and higher timeframe discipline
Recommended workflow:
Use Median TR SuperTrend on 1D
Trade only in the direction of the active regime
Combine with a trigger tool if needed (RSI, momentum, breakout)
Ideal Markets
BTC, ETH, SOL
Daily swing trend environments
Portfolio regime filtering (RSPS / LTPI-style frameworks)
Disclaimer
This indicator is a regime and trend-following tool, not a complete trading system.
It should be used as part of a broader strategy with:
Risk management
Position sizing
Confirmation logic
BTC - Standard of Living BenchmarkerOVERVIEW
Most traders track their wealth in USD or EUR — currencies that are structurally designed to lose value. This is a "Money Illusion." To understand if you are truly becoming wealthier, you must measure your Bitcoin not against fiat, but against the Standard of Living assets you eventually want to buy.
The Standard of Living Benchmarker is a macro-ratio engine that swaps the denominator of your chart. It answers the only question that matters for long-term wealth: "Is my Bitcoin stack gaining ground against the real world?"
THE "Stuff" BENCHMARKS
I have pre-selected four critical pillars of a high standard of living (that can be switched/cycled in the settings window):
• Gold: The historical baseline for "Hard Money" (TVC:GOLD).
• Equities: The primary engine of global productivity (S&P 500).
• Real Estate: Measured via the Vanguard Real Estate ETF (VNQ).
• Energy: The fundamental cost of human progress (Crude Oil).
THE CORE CALCULATION
The calculation is a simple, non-manipulated ratio:
• The Formula: Ratio = BTC_Price / Asset_Price
• This means: We are looking at the direct barter-rate between Bitcoin and the asset. For example, when the "Energy" mode is selected, the chart doesn't show dollars; it shows exactly how many Barrels of Oil one single Bitcoin can buy at today's close.
THE LIFESTYLE BASKET (The 5th Denominator)
Individual ratios tell you how Bitcoin is doing against one asset, but life isn't lived in a single asset. To solve this, I introduced the Lifestyle Basket .
What is a "Lifestyle Share"? A synthetic "Life Token" that represents a diversified slice of human prosperity. It is an equal-weighted basket consisting of:
• 25% Gold (Inflation Hedge)
• 25% S&P 500 (Global Growth)
• 25% Real Estate (Shelter)
• 25% Crude Oil (Energy/Consumption)
HOW TO READ THE CHART
• How to interpret the ratio: If the dashboard shows that 1 BTC buys 50 Lifestyle Shares , it means your Bitcoin stack has the purchasing power to acquire 50 equal units of the world's most critical assets.
• The Purchasing Power Line (Orange): When this line moves UP, Bitcoin is outperforming the real world. You are getting "wealthier" in a tangible sense. When it moves DOWN, your Bitcoin is losing purchasing power against that specific asset class.
• The Opportunity Zones: We plot a 200-day Mean with Standard Deviation bands.
• Upper Band (Red): Bitcoin is historically "Expensive" compared to the asset. This has historically been a high-probability zone to swap BTC for "Stuff" (Real Estate, Gold, etc.).
• Lower Band (Green): Bitcoin is "Cheap" compared to the asset. This is the zone where "Stuff" should be sold to acquire more Bitcoin.
WHY THIS IS "FRESH"
Unlike standard indicators that use RSI or MACD to find price momentum, this is a Macro-Audit . It ignores the noise of the US Dollar and focuses on the Ratio of Reality . It allows the "Infinite Hodler" to know when they are overextended in Bitcoin and when it is mathematically time to diversify into hard real-world assets.
DISCLAIMER
This script is for educational and macro-analytical purposes only. It does not constitute financial advice. Benchmarks are proxies for asset classes and may not reflect individual local prices (e.g., local real estate).
Tags: bitcoin, macro, gold, realestate, oil, benchmark, purchasing power, wealth, satoshi, Rob Maths, robmaths, Rob_Maths
ADR Daily & Session (Asia, London, NY) Range TrackerOVERVIEW:
The Daily & Session Range Tracker provides comprehensive range analysis for daily and intraday trading sessions (Asia, London, NY) . This indicator is essential for traders who need to understand market volatility and typical price movement ranges across different trading sessions.
KEY FEATURES:
• Daily Range Tracking: Tracks the daily candle range starting from 18:00 (6 PM), aligning with the institutional trading day open
• Session-Based Analysis: Monitors Asia (18:00-02:00), London (02:00-08:00), and NY (08:00-16:00) sessions
• Statistical Analysis: Displays Current, Average, and Median ranges for each period
• Customizable Lookback: Adjustable lookback period (1-20 days) for historical range calculation
• Clean Table Display: Organized data table positioned in the bottom-right corner
HOW TO USE:
1. Add the indicator to your chart
2. Adjust the lookback period to match your trading style (default: 10 days)
3. Customize session times if trading in a different timezone
4. Use the range data to set realistic profit targets and stop losses
5. Compare current range to average/median to gauge if price has room to move
SETTINGS:
• Lookback Period: Number of days to include in average/median calculations (1-20)
• Text Color: Customize the table text color for visibility
• Session Times: Adjust session start/end times for your timezone
PERFECT FOR:
✓ Day traders monitoring session volatility
✓ Scalpers setting realistic targets based on average ranges
✓ Swing traders understanding daily movement potential
✓ Risk management and position sizing decisions
NOTE: The daily range resets at 18:00 to align with institutional daily candle open times.
Risk Management◼ Turtle Trading Risk Management
This script helps you size your position and manage your risk, using volatility, based on Turtle Trading Strategy.
If volatility is high, size will be smaller, if volatility is low, size will be larger.
It uses N=20 days, daily ATR (customisable), to calculate volatility.
If the account is in drawdown, reduces risk amount as per Turtle Trading rules.
You can display the full table, or a smaller compact table
Breadth Ratio📊 Breadth Ratio (NYSE & NASDAQ)
Breadth Ratio is a market internals indicator that displays real-time Up Volume vs Down Volume ratios for both the NYSE and NASDAQ, helping traders quickly gauge institutional participation and overall market strength.
Instead of plotting noisy lines, this indicator presents the data in a clear, color-coded table, making it ideal for intraday and swing traders who want instant context without cluttering their chart.
🔍 How It Works
Uses official Up Volume (UVOL) and Down Volume (DVOL) data
Calculates a signed ratio:
Positive values = bullish volume dominance
Negative values = bearish volume dominance
Displays NYSE and NASDAQ breadth side-by-side
Automatically updates on the last bar only for optimal performance
🟢 Color Logic
Green background → Bullish volume pressure (Up Volume > Down Volume)
Red background → Bearish volume pressure (Down Volume > Up Volume)
💡 How to Use It
Trend confirmation – Strong ratios support price direction
Reversal warnings – Weak or diverging breadth can precede turns
Risk management – Avoid longs when breadth is strongly negative (and vice versa)
Market context – Excellent companion to price action, VWAP, and index futures
⚙️ Features
✔ NYSE & NASDAQ volume breadth
✔ Clean table-based display
✔ No chart clutter
✔ Works on all timeframes
✔ Ideal for futures, indices, and ETFs
⚠️ Disclaimer
This indicator is for educational and informational purposes only. It should be used as confluence, not as a standalone trading signal.
Larry Williams Qualified Trend Break Signals [tradeviZion]Larry Williams Qualified Trend Break Signals - Description
📖 Introduction
Welcome to the Larry Williams Qualified Trend Break Signals indicator. This description explains how the indicator works, its settings, and how to use it.
This indicator demonstrates Larry Williams' Qualified Trend Line Break technique - his preferred method for timing precise entries on daily charts when you already have a confirmed market setup.
---
🎯 About This Script
This indicator implements the Qualified Trend Line Break system - an entry technique that qualifies trend line breaks for better timing.
Important: This is NOT a signal generator. It's an entry timing tool for traders who already have a market setup and confirmation. Use it only after establishing weekly bias and daily confirmation.
Why We Made This Indicator:
This indicator demonstrates Larry Williams' favorite entry technique for daily timeframe trading. It's designed to be used as part of his complete methodology:
How To Use It Properly:
First, establish your setup: Check weekly chart for overall market bias (bullish/bearish)
Then confirm on daily: Look for confirmation signals on daily timeframe
Finally, use trend breaks: Enter trades only when trend breaks align with your setup direction
Important Warning: This is NOT a standalone buy/sell signal indicator. Using trend breaks without proper setup and confirmation will likely produce poor results. It's a timing tool for entries, not a signal generator.
---
About The Qualification Rules
The system improves on qualification methodology with these key changes:
For BUY signals (breaking above downtrend lines):
Break is usually bad if previous bar closed higher
But can still be good if:
Previous bar was inside the prior bar AND that prior bar closed lower
Price gaps above trend line and moves up at least one tick
Previous bar closed below its own opening price
For SELL signals (breaking below uptrend lines):
Break is usually bad if previous bar closed lower
But can still be good if:
Previous bar was inside the prior bar AND that prior bar closed higher
Price gaps below trend line and moves down at least one tick
Previous bar closed above its own opening price
---
📐 How The Qualification System Works
The trend break system is based on qualification methodology as developed by Larry Williams . It solves the problem where trend line breaks often fail and price goes back.
Trend Line Setup:
For BUY signals: Connect the two most recent declining swing highs to make a downtrend line
For SELL signals: Connect the two most recent rising swing lows to make an uptrend line
Inside Bar Rule:
A key principle: Trend breaks that occur on inside bars are completely ignored. The system only evaluates breaks that occur on regular bars, making signals more reliable.
How It Works In The Code
The indicator follows these steps:
Finds swing points: Identifies highs and lows in the price action
Draws trend lines: Connects 2 recent swing points to make trend lines
Checks inside bars: Ignores breaks that happen on inside bars
Qualifies signals: Uses the rules to check if breaks are good or bad
Shows signals: Only displays qualified BUY/SELL signals
Optional feature: Can show disqualified signals
⚙️ Settings
The indicator has 3 groups of settings to customize how it works.
---
📊 Signal Settings
Show Signals
Default: ON
ON: Displays green/red labels when trend breaks qualify for entry
OFF: Hides entry labels (trend lines still show for analysis)
Remember: These are entry TIMING signals, not standalone buy/sell signals
Signal Selection
Default: Both | Options: Buy Only, Sell Only, Both
Buy Only: Shows only BUY signals
Sell Only: Shows only SELL signals
Both: Shows both BUY and SELL signals
Break Validation
Default: Close | Options: Break Level, Close
Break Level: Signal when price touches the trend line (more signals)
Close: Signal when bar closes beyond trend line (fewer signals)
Tip: Try "Close" first for better signals
Show Disqualified
Default: OFF | Options: ON/OFF
What it does: Shows bad breaks
ON: Shows gray ❌ labels with explanations
OFF: Hides bad signals
👁️ Display Settings
Show Trend Lines
Default: ON
What it does: Shows trend lines on the chart
Looks like: Dashed blue lines connecting swing points
Goes to: Extends into future bars
Why: Shows where breakouts are expected
Show Swing Points
Default: ON
What it does: Marks highs/lows used for trend lines
Looks like: Shape markers at swing locations
Shows: How trend lines are constructed
Marker Style
Default: Circle | Options: Circle, Triangle, Square, Diamond, Cross
What it does: Choose shape for swing markers
Options: Circle, Triangle, Square, Diamond, Cross
Best choice: Circle is clear without being busy
Marker Size
Default: 3 | Range: 1-10
What it does: Controls marker size
Range: 1 (tiny) to 10 (large)
Show Inside Bars
Default: ON
What it does: Highlights inside bars
Looks like: Light orange background on inside bars
Note: These bars are ignored for break qualification
Important: Inside bars are ignored for break qualification
🎨 Colors
Signal Colors
Buy Signal (Default: Green) - Color for good BUY signals
Sell Signal (Default: Red) - Color for good SELL signals
Disqualified (Default: Gray) - Color for bad signals
Display Colors
Trend Line (Default: Blue) - Color for trend lines and markers
Inside Bar (Default: Light Orange) - Background for inside bars
💡 How To Use It In Larry Williams Methodology
Step 1 - Weekly Setup: Identify market bias on weekly chart (clear bullish/bearish trend)
Step 2 - Daily Confirmation: Find confirmation signals on daily timeframe
Step 3 - Trend Break Entry: Use qualified trend breaks only in setup direction
Important: Never enter based on trend breaks alone - always require setup + confirmation first
⚠️ Important Notice
This indicator implements Larry Williams' trend break entry technique. It should NOT be used as standalone buy/sell signals. Only use trend breaks for entry timing after you have established a proper market setup and confirmation. Poor results will occur if using signals without the complete Larry Williams methodology.
Credits: Based on Larry Williams' trading approach and qualification methodology. Swing detection logic adapted from "Larry Williams: Market Structure" by Smollet.
PD Location Screener (NY Session)Scan only for DISCOUNT or PREMIUM
Ignore everything at equilibrium
Then apply:
Liquidity sweep
Displacement
FVG / OB
One trade. Done.
Pro RSI Mean-Deviation Sigmoid Oscillator (Z-Score Normalized)# Pro RSI Mean-Deviation Sigmoid Oscillator (Z-Score Normalized)
## 🧮 Core Mathematical Concept
**The Key Formula**: This indicator subtracts RSI's own EMA from the RSI value, divides the result by its standard deviation to create a Z-score, then applies sigmoid normalization to map it into a 0-1 range (displayed as 0-100).
**In Simple Terms**:
```
Z-Score = (RSI - RSI_EMA) / Standard_Deviation
Sigmoid = 1 / (1 + e^(-k × Z-Score))
Final Output = Sigmoid × 100
```
This mathematical approach transforms raw RSI momentum into a statistically normalized oscillator that better identifies genuine trend changes while filtering out noise.
---
## 📊 What This Indicator Does
This advanced momentum oscillator combines RSI analysis with statistical normalization to identify overbought/oversold conditions and momentum shifts with greater precision than traditional RSI alone.
**Core Innovation**: Uses Z-score normalization and sigmoid transformation to convert RSI deviations into a smooth 0-100 scale, reducing noise while maintaining sensitivity to genuine market movements.
---
## 🔧 How It Works
### 1. **RSI Foundation**
- Calculates standard RSI over your chosen period (default: 14)
- Applies an EMA smoothing line to identify the RSI trend
### 2. **Statistical Normalization**
- Measures deviation between RSI and its EMA
- Calculates Z-score (standard deviations from mean)
- Normalizes extreme values while preserving relative strength
### 3. **Sigmoid Transformation**
- Maps Z-scores to a 0-100 scale using sigmoid function
- Creates smooth transitions between bullish/bearish zones
- Reduces false signals from RSI whipsaws
### 4. **RSI Bollinger Bands**
- Adds dynamic overbought/oversold bands around RSI
- Adapts to market volatility automatically
- Confirms extreme conditions when RSI breaches bands
### 5. **Momentum Histogram**
- Visualizes rate of change in normalized momentum
- Green bars = strengthening bullish momentum
- Red bars = strengthening bearish momentum
---
## 📈 How to Use
### **Primary Signals**
**Sigmoid Oscillator (Thick Line)**
- **Above 50** = Bullish momentum dominant
- **Below 50** = Bearish momentum dominant
- **Crossing 50** = Potential trend change
**Extreme Zones**
- **Above 70** = Overbought (green background) - Consider taking profits or preparing for reversal
- **Below 30** = Oversold (red background) - Watch for potential bounce or reversal
### **Confirmation Signals**
**RSI Bollinger Band Breaches** (Purple background)
- RSI above upper band = Extremely overbought
- RSI below lower band = Extremely oversold
- Strong confirmation when paired with sigmoid extremes
**RSI vs RSI EMA Crossovers**
- Purple line (RSI) crossing above orange line (EMA) = Early bullish signal
- Purple line crossing below orange line = Early bearish signal
**Momentum Histogram**
- Growing green bars = Accelerating bullish momentum
- Growing red bars = Accelerating bearish momentum
- Shrinking bars = Momentum weakening (potential reversal warning)
---
## ⚙️ Parameter Settings
### **RSI Period** (Default: 14)
- Lower (7-10) = More responsive, more signals
- Higher (20-30) = Smoother, fewer false signals
- Recommended: Keep at 14 for most timeframes
### **RSI EMA Period** (Default: 14)
- Controls smoothness of RSI trend line
- Match to RSI period for standard behavior
- Increase for longer-term trend identification
### **Standard Deviation Period** (Default: 20)
- Lookback window for Z-score calculation
- Lower = More sensitive to recent changes
- Higher = More stable, slower to react
### **Sigmoid Sensitivity (k)** (Default: 1.0)
- **0.5-0.8** = Smoother, less extreme readings
- **1.0-1.5** = Balanced sensitivity
- **2.0+** = More aggressive, reaches extremes faster
- Adjust based on asset volatility
### **Bollinger Band Multiplier** (Default: 2.0)
- Standard deviation multiplier for RSI bands
- **1.5** = Tighter bands, more frequent signals
- **2.5-3.0** = Wider bands, only extreme moves
---
## 💡 Trading Strategies
### **Strategy 1: Momentum Continuation**
1. Wait for sigmoid to break and hold above 70 (bullish) or below 30 (bearish)
2. Confirm with growing momentum histogram in same direction
3. Enter in direction of momentum when RSI breaks Bollinger bands
4. Ride the trend until sigmoid crosses back through 50 or momentum histogram shrinks
5. This indicator excels at catching strong, sustainable momentum moves
### **Strategy 2: Momentum Breakout**
1. Identify sigmoid consolidation near 50
2. Watch for strong break above 70 or below 30
3. Confirm with growing momentum histogram
4. Enter in direction of break, exit when momentum weakens
### **Strategy 3: Divergence Detection**
1. Compare price action to sigmoid oscillator
2. Bullish divergence: Price makes lower low, sigmoid makes higher low
3. Bearish divergence: Price makes higher high, sigmoid makes lower high
4. Enter when sigmoid confirms with 50-line cross
### **Strategy 4: Multi-Timeframe Confluence**
1. Use on higher timeframe (4H/Daily) for trend direction
2. Use on lower timeframe (15M/1H) for entry timing
3. Only take trades when both timeframes align
4. Increases win rate significantly
---
## ⚠️ What to Watch For
### **Best Conditions**
- ✅ Trending markets with clear momentum
- ✅ Assets with decent volatility (not too choppy)
- ✅ When multiple signals align (sigmoid + bands + histogram)
- ✅ Confirmed with price action or volume
### **Difficult Conditions**
- ❌ Sideways, choppy markets (generates false signals)
- ❌ Low volatility periods (sigmoid may not reach extremes)
- ❌ Major news events (can cause extreme whipsaws)
- ❌ Very low timeframes (<5min) - too much noise
### **Common Pitfalls**
- Don't trade sigmoid extremes blindly - wait for reversal confirmation
- Don't ignore the momentum histogram - it shows strength of moves
- Don't use in isolation - combine with support/resistance, volume, etc.
- Don't over-optimize parameters - default settings work well for most assets
---
## 📋 Risk Disclaimers
**IMPORTANT:** This indicator is for educational purposes only and is NOT financial advice. All trading involves substantial risk of loss. Past performance does not guarantee future results. Always use proper risk management, backtest thoroughly, and consult a licensed financial advisor before making trading decisions. The creator assumes no liability for your trading results. **Trade at your own risk.**
---
## 🔍 Additional Considerations
### **Combine With:**
- Support and resistance levels
- Volume analysis
- Trend indicators (moving averages)
- Price action patterns
- Market structure analysis
### **Timeframe Recommendations:**
- **Scalping (1-5min)**: Lower RSI period (7-10), higher sigmoid sensitivity
- **Day Trading (15min-1H)**: Default settings work well
- **Swing Trading (4H-Daily)**: Increase all periods by 50-100%
- **Position Trading (Weekly)**: Double all default periods
### **Asset-Specific Tips:**
- **Crypto**: Often more volatile - consider k=0.8 for smoother signals
- **Forex**: Works well on major pairs with default settings
- **Stocks**: May need slight adjustments per stock volatility
- **Indices**: Very effective with standard parameters
---
## 📝 Credits & Sharing
Feel free to share this indicator! If you make modifications or improvements, consider sharing back with the community.
**Version**: 5
**Created for**: TradingView Pine Script
**Category**: Oscillators / Momentum
---
*Happy Trading! Remember: The best indicator is the one between your ears. Always think critically and trade responsibly.* 📊✨
MARKET REGIME INDICATOR The indicator’s main function is to apply a moving average (MA) from a different symbol. It can be used to identify the broader trend in crypto or stocks.
For the selected symbol, the chart turns:
Green when price is above the MA
Red when price is below the MA
You can choose:
The type of MA
The length (period)
The indicator also plots the highest and lowest levels on the selected symbol to help identify potential turning points.
It also includes an optional trend confirmation feature:
Off
On






















