Relative Strength Index SmoothedDefinition
The Relative Strength Index (RSI) is a well versed momentum based oscillator which is used to measure the speed (velocity) as well as the change (magnitude) of directional price movements. Essentially RSI, when graphed, provides a visual mean to monitor both the current, as well as historical, strength and weakness of a particular market. The strength or weakness is based on closing prices over the duration of a specified trading period creating a reliable metric of price and momentum changes. Given the popularity of cash settled instruments (stock indexes) and leveraged financial products (the entire field of derivatives); RSI has proven to be a viable indicator of price movements.
History
J.Welles Wilder Jr. is the creator of the Relative Strength Index. A former Navy mechanic, Wilder would later go on to a career as a mechanical engineer. After a few years of trading commodities, Wilder focused his efforts on the study of technical analysis. In 1978 he published New Concepts in Technical Trading Systems. This work featured the debut of his new momentum oscillator, the Relative Strength Index, better known as RSI.
Over the years, RSI has remained quite popular and is now seen as one of the core, essential tools used by technical analysts the world over. Some practitioners of RSI have gone on to further build upon the work of Wilder. One rather notable example is Andrew Cardwell who used RSI for trend confirmation.
Calculation
RSI = 100 – 100/ (1 + RS)
RS = Average Gain of n days UP / Average Loss of n days DOWN
For a practical example, the built-in Pine Script function rsi(), could be replicated in long form as follows.
change = change(close)
gain = change >= 0 ? change : 0.0
loss = change < 0 ? (-1) * change : 0.0
avgGain = rma(gain, 14)
avgLoss = rma(loss, 14)
rs = avgGain / avgLoss
rsi = 100 - (100 / (1 + rs))
"rsi", above, is exactly equal to rsi(close, 14).
The basics
As previously mentioned, RSI is a momentum based oscillator. What this means is that as an oscillator, this indicator operates within a band or a set range of numbers or parameters. Specifically, RSI operates between a scale of 0 and 100. The closer RSI is to 0, the weaker the momentum is for price movements. The opposite is also true. An RSI closer to 100 indicates a period of stronger momentum.
- 14 days is likely the most popular period, however traders have been known to use a wide variety of numbers of days.
What to look for
Overbought/Oversold
Wilder believed that when prices rose very rapidly and therefore momentum was high enough, that the underlying financial instrument/commodity would have to eventually be considered overbought and a selling opportunity was possibly at hand. Likewise, when prices dropped rapidly and therefore momentum was low enough, the financial instrument would at some point be considered oversold presenting a possible buying opportunity.
There are set number ranges within RSI that Wilder consider useful and noteworthy in this regard. According to Wilder, any number above 70 should be considered overbought and any number below 30 should be considered oversold.
An RSI between 30 and 70 was to be considered neutral and an RSI around 50 signified “no trend”.
Some traders believe that Wilder’s overbought/oversold ranges are too wide and choose to alter those ranges. For example, someone might consider any number above 80 as overbought and anything below 20 as oversold. This is entirely at the trader’s discretion.
Divergence
RSI Divergence occurs when there is a difference between what the price action is indicating and what RSI is indicating. These differences can be interpreted as an impending reversal. Specifically there are two types of divergences, bearish and bullish.
Bullish RSI Divergence – When price makes a new low but RSI makes a higher low.
Bearish RSI Divergence – When price makes a new high but RSI makes a lower high.
Wilder believed that Bearish Divergence creates a selling opportunity while Bullish Divergence creates a buying opportunity.
Failure Swings
Failure swings are another occurrence which Wilder believed increased the likelihood of a price reversal. One thing to keep in mind about failure swings is that they are completely independent of price and rely solely on RSI. Failure swings consist of four “steps” and are considered to be either Bullish (buying opportunity) or Bearish (selling opportunity).
Bullish Failure Swing
RSI drops below 30 (considered oversold).
RSI bounces back above 30.
RSI pulls back but remains above 30 (remains above oversold)
RSI breaks out above its previous high.
Bearish Failure Swing
RSI rises above 70 (considered overbought)
RSI drops back below 70
RSI rises slightly but remains below 70 (remains below overbought)
RSI drops lower than its previous low.
Cardwell’s trend confirmations
Of course no one indicator is a magic bullet and almost nothing can be taken simply at face value. Andrew Cardwell, who was mentioned earlier, was one of those students who took Wilder’s RSI interpretations and built upon them. Cardwell’s work with RSI led to RSI being a great tool not just for anticipating reversals but also for confirming trends.
Uptrends/Downtrends
Cardwell made keen observations while studying Wilder’s ideas of divergence. Cardwell believed that:
Bullish Divergence only occurs in a Bearish Trend.
Bearish Divergence only occurs in an Bullish Trend.
Both Bullish and Bearish Divergence usually cause a brief price correction and not an actual trend reversal.
What this means is that essentially Divergence should be used as a way to confirm trends and not necessarily anticipate reversals.
Reversals
Cardwell also discovered what are referred to as Positive and Negative Reversals. Positive and Negative Reversals are basically the opposite of Divergence.
Positive Reversal occurs when price makes a higher low while RSI makes a lower low. Price proceeds to rise. Positive Reversals only occur in Bullish Trends.
Negative Reversal occurs when price makes a lower high while RSI makes a higher high. Price proceeds to fall. Negative Reversals only occur in Bearish Trends.
Positive and Negative Reversals can be boiled down to cases where price outperformed momentum. And because Positive and Negative Reversals only occur in their specified trends, they can be used as yet another tool for trend confirmation.
Summary
For more than four decades the Relative Strength Index (RSI) has been an extremely valuable tool for almost any serious technical analyst. Wilder’s work with momentum laid the groundwork for future chartists and analysts to dive in deeper to further explore the implications of his RSI modeling and its correlation with underlying price movements. As such, RSI is simply one of the best tools or indicators in a trader’s arsenal of market metrics to develop most any trading methodology. Only the novice will take one look at RSI and assume which direction the market will be heading next based off of one number. Wilder believed that a bullish divergence was a sign that the market would soon be on the rise, while Cardwell believed that such a divergence was merely a slight price correction on the continued road of a downward trend. As with any indicator, a trader should take the time to research and experiment with the indicator before relying on it as a sole source of information for any trading decision. When used in proper its perspective, RSI has proven to be a core indicator and reliable metric of price, velocity and depth of market.
指標和策略
SAR Volume ScalperSAR Volume Scalper is a minimalist intraday scalping indicator designed for 1–2 minute charts, optimized for high-liquidity markets such as NASDAQ (NQ) and Gold (GC).
The indicator combines Parabolic SAR price crossings with a neutral volume participation filter (Volume ≥ EMA(Volume)), ensuring that signals appear only when the market is active, without relying on rare or aggressive volume spikes.
🔑 Core Logic
Parabolic SAR identifies precise micro-trend shifts
Trend EMA filters directional bias and reduces counter-trend trades
Neutral volume filter confirms market participation while preserving signal frequency
ATR-based targets adapt automatically to current volatility
🎯 Designed For
High-frequency scalping on 1–2 minute timeframes
Manual trade execution during active market sessions
Traders who prefer price and flow confirmation over heavy indicator stacking
⚠️ Disclaimer
This indicator is a decision-support tool and should not be used as standalone trading advice.
It is not intended for fully automated trading.
Reverse RSI//@version=6
indicator("Reverse RSI", overlay=false)
rsi_length = input.int(14, title="RSI Length", minval=1)
ob_level = input.int(75, title="Overbought Level")
os_level = input.int(25, title="Oversold Level")
invRSI(target, length) =>
target_rs = target / (100 - target)
up = math.max(close-close , 0)
down = math.max(close -close, 0)
prev_avg_up = ta.rma(up, length)
prev_avg_down = ta.rma(down, length)
price_up = target_rs * (prev_avg_down * (length - 1)) - (prev_avg_up * (length - 1)) + close
price_down = (prev_avg_down * (length - 1) - (prev_avg_up * (length - 1)) / target_rs) + close
current_rsi = ta.rsi(close, length)
price = target > current_rsi ? price_up : price_down
price
price_ob = invRSI(ob_level, rsi_length)
price_mid = invRSI(50, rsi_length)
price_os = invRSI(os_level, rsi_length)
upside = (price_ob-close)/close*100
downside = (close-price_os)/close*100
net = upside-downside
plot(upside, title="Upside Line", color=color.green)
plot(downside, title="Downside Line", color=color.red)
plot(net, title="Net Line", color=net>0?color.new(color.green, 30):color.new(color.red, 30), style=plot.style_columns)
hline(0, "Zero Line")
Bollinger BandWidth (Session-Adjusted)Description
This indicator is a session-adjusted version of Bollinger BandWidth (BBW), specifically designed for instruments with limited trading hours, such as European stock indices (e.g., FTSE MIB, DAX, CAC, which trades from 09:00 to 17:30 CET — 8.5 hours) or individual stocks.
Standard Bollinger BandWidth on intraday charts can be distorted because calculations include non-trading periods (flat prices overnight), leading to inaccurate volatility readings.This script dynamically adjusts the Bollinger Bands calculation to approximate daily periods based on the actual trading session length, ensuring the BBW reflects true market volatility during active hours.
Key Features
Session-Adjusted Bollinger Bands:
The lookback period (default 20 days) is converted into an equivalent number of intraday candles based on your chart's timeframe and the session duration. This makes the indicator suitable for intraday timeframes (e.g., 5min, 15min, 1H) on limited-session assets.
Bollinger BandWidth (BBW) as Percentage:
Plots (Upper Band - Lower Band) / Middle Band * 100, a relative measure of volatility (higher values = wider bands = higher volatility).
Dynamic Expansion and Contraction Levels:
Red line: Highest BBW over the selected expansion lookback period (default 25 days) — highlights peak volatility levels.
Green line: Lowest BBW over the selected contraction lookback period (default 25 days) — highlights extreme squeezes (low volatility).
Fully customizable inputs for session hours, BB parameters, and dynamic level periods.
How It Works
Session Adjustment: Input session duration (default 8.5 hours).
The script calculates approximate candles per trading day for your current chart timeframe.
Bollinger Bands are computed using length * candlesPerDay bars, simulating a true multi-day calculation within intraday data.
BBW Calculation:
Basis: Simple Moving Average (SMA).
Deviation: Multiplier × Standard Deviation.
BBW = (2 × Deviation / Basis) × 100.
Dynamic Lines:
Expansion line uses the same session-adjusted period for highest BBW.
Contraction line uses the lowest BBW.
Usage and Trading Ideas
Bollinger BandWidth is a powerful volatility indicator popularized by John Bollinger. Low BBW values indicate band contraction ("Squeeze") — periods of low volatility often followed by strong breakouts. High BBW values indicate expansion — trending or volatile phases that may exhaust and lead to consolidation.
Squeeze Setup:
Watch for BBW dropping toward or below the dynamic low (green) line. This signals potential impending volatility expansion and breakout opportunities.
Expansion Confirmation:
BBW rising above the dynamic high (red) line suggests strong volatility — useful for trend-following or avoiding counter-trend trades.
Combine with price action (e.g., break of support/resistance), volume, or momentum indicators (RSI, MACD) for directional bias.
Ideal for intraday or swing trading on European indices, stocks, or other limited-session instruments where standard BBW would be misleading.
This adjustment makes the indicator more accurate on lower timeframes compared to built-in versions, providing cleaner volatility signals aligned with real trading sessions.
Enjoy the script — feedback welcome!
Candle Percentage Change, Clean, Hover Only Price Move IndicatorA minimal, clutter-free indicator that displays the percentage change of each candle (Open → Close) directly in the TradingView status line.
✔ No lines, labels, or drawings on the chart
✔ No separate pane
✔ Positive values shown in green, negative in red
✔ Value updates live and is visible on hover or next to the indicator name
Perfect for traders who want quick context on candle strength without polluting the chart — especially useful on higher timeframes (daily, weekly, monthly).
Simple, lightweight, and designed to stay out of the way while still giving you the information you need.
Stress & Recovery Daily Stock/BTC This indicator is a stress → recovery regime tool designed for Daily charts (Bitcoin and equities). It combines Williams Vix Fix (WVF) to detect panic/capitulation conditions (potential bottoms) with RSI vs EMA(RSI) to confirm the start of a recovery phase — but only when that recovery occurs within a configurable number of bars after a WVF panic event.
It is not a generic trend indicator. It focuses on one specific sequence:
Panic spike (WVF) → Recovery confirmation (RSI crossing above EMA(RSI)).
What it Shows
1) Red Bottom Shadow (Panic Zone)
A red shaded area below the baseline appears when WVF triggers a panic condition. This highlights periods where downside pressure and “panic-like” behavior are elevated.
To avoid clutter, the red triangle marker (▼) is plotted only once per red cluster, specifically on the last bar of the panic cluster (end of the WVF signal streak).
2) Green State Ribbon (Recovery Regime)
A green ribbon above the baseline indicates a recovery regime. You can choose how the green signal behaves:
Crossover only: green is active only on the single bar where RSI crosses above EMA(RSI).
State (RSI > EMA): green stays active as long as RSI remains above EMA(RSI).
3) Amber Ribbon (Conflict State)
If panic (WVF) and recovery (green state) overlap, the ribbon turns amber.
This indicates a mixed condition: panic is still present, but momentum is attempting to reverse.
4) Green Triangle Marker (▲) — Validated Recovery Start
A green triangle (▲) appears only when RSI crosses above EMA(RSI) AND that crossover happens within N bars from the most recent WVF panic zone. This time-window filter helps avoid unrelated RSI crossovers that occur far from capitulation events.
How to Use
- Treat red shadow as a “panic/stress zone”.
- Look for the green triangle (▲) as the first validated recovery trigger after panic.
- Use green ribbon as a recovery regime filter (especially in “State” mode).
- Use amber ribbon as a caution zone (overlap = mixed signals).
This indicator is best used as a context and timing filter, not as a complete trading system by itself.
Notes:
- Designed and tuned for Daily timeframe usage.
- Signals may behave differently on intraday timeframes or illiquid assets.
TTM Squeeze Screener FriendlyTTM Squeeze indicator optimized for use with TradingView Pine Screener — computes squeeze on/just‑on/release and momentum on the chart symbol (60m default).
Turki alghamdiThis indicator is an advanced Pivot-based SuperTrend designed to provide maximum clarity for traders. It visually displays: - Exact entry candle - Dynamic stop loss - Up to 3 R-based profit targets - Clear trend direction
TGS By ShadTGS Levels — Tesla–W.D. Gann Strategy
TGS Levels is a price-geometry indicator designed to map algorithmic decision zones on the chart using principles inspired by W.D. Gann price geometry and Tesla 3-6-9 harmonic structure.
This indicator is not a signal generator.
It provides a structured price map to help traders understand where reactions or breakouts are statistically more likely to occur.
🔹 Core Concept
Markets do not move randomly.
They rotate and expand around harmonic price cycles.
TGS Levels automatically plots a 100-unit price cycle framework (ideal for XAUUSD / Gold) and divides each cycle into hierarchical angles used by institutional and algorithmic trading models.
🔹 Level Hierarchy (Very Important)
TGS uses four types of levels, each with a different purpose:
🔴 SUPER ANGLE (+45)
Primary decision level
Price often shows strong rejection or explosive breakout
Highest importance level
🟥 MAIN ANGLES (+27, +63, +81)
High-probability reaction zones
Used for structured pullbacks, rejections, or continuation confirmation
🟠 SECONDARY ANGLES (+18, +36, +54, +72, +90)
Context & management levels
Expect hesitation, partial profit zones, or stop-tightening areas
Not recommended for direct entries
🟡 MICRO LEVELS (+3, +6, +9)
Liquidity & compression map
Help visualize absorption, stop hunts, and consolidation
For structure awareness only
🔹 What This Indicator Is Used For
✔ Identifying where price is likely to react
✔ Understanding market structure and rotation
✔ Distinguishing rejection vs breakout zones
✔ Improving trade timing when combined with:
Volatility (ATR)
Market structure (HL / LH / BOS)
Session timing (London / New York)
🔹 What This Indicator Is NOT
❌ Not a buy/sell signal
❌ Not a prediction tool
❌ Not based on indicators like RSI or MACD
TGS Levels is a price-first framework, designed to be used with price action, volatility, and structure.
🔹 Best Use Case
Asset: XAUUSD (Gold)
Execution Timeframe: M5
Sessions: London & New York
Style: Scalping / Intraday structure trading
The same logic can be adapted to other instruments by adjusting the cycle size.
🔹 How to Trade With TGS (High-Level)
When volatility is low or falling → expect rejections at main/super angles
When volatility is expanding → expect breakouts through angles
Use oscillators (like Stochastic) only for timing, not direction
Always confirm with price behavior at the level
🔹 Final Note
TGS Levels provides a clean, non-repainting price map that stays aligned when zooming or scrolling the chart.
All levels are calculated automatically and update dynamically with price.
Levels explain behavior — reactions create opportunity.
Top 10 Bullish Wedge ScannerThe script does a check of all stocks and gives the top 10 list of stocks with bullish wedge formed on daily timeframe.
Daily Percentage Oscillator### Daily Percentage Oscillator – Indicator Description
The **Daily Percentage Oscillator** transforms intraday price action into a clean, normalized percentage-based view, using the previous trading day's closing price as the fixed 0% baseline. Each new trading day automatically resets the axis to that prior close, allowing you to visualize true daily price oscillation without the distortion of absolute price levels or cumulative trends.
Key features:
- **Percentage-based OHLC display**: All bars or candlesticks represent percentage change from the previous day’s close, creating a consistent oscillation around the 0% line.
- **Daily reset**: The baseline updates every session, making it ideal for intraday traders focusing on relative strength, mean reversion, or daily momentum patterns.
- **Toggle between bars and candlesticks**: Choose your preferred visual style.
- **Simple Moving Average (SMA)**: Optional SMA applied directly to the percentage close values (default 20-period, fully customizable).
- **Daily-resetting VWAP**: Volume-Weighted Average Price calculated on the percentage series, resetting at the start of each trading day for precise intraday anchoring.
- **Clean presentation**: No clutter from scale labels or status line values — only the essential visuals appear in the pane.
This indicator is particularly useful for:
- Comparing intraday momentum across different assets or timeframes on equal footing.
- Identifying overbought/oversold conditions relative to the prior close.
- Enhancing mean-reversion and range-bound trading strategies.
- Overlaying percentage-based anchors (SMA, VWAP) that respect the daily session structure.
Works on any intraday timeframe (1m, 5m, 15m, etc.) and is designed to stay lightweight and responsive. Perfect for day traders and scalpers seeking a clearer, more intuitive view of daily price behavior.
RSI & MACD SuiteRSI & MACD Suite
A professional combination of two essential momentum indicators - Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) - designed to provide comprehensive market analysis in a single, clean interface.
OVERVIEW
This indicator combines the power of RSI and MACD to help traders identify potential overbought/oversold conditions, momentum shifts, and trend changes. Both indicators are displayed with enhanced visual elements including gradient fills, customizable bands, and clear signal lines.
FEATURES
RSI (Relative Strength Index)
- Customizable Period: Adjustable RSI length (default: 14)
- Visual Zones: Overbought zone (above 70) with green gradient, Oversold zone (below 30) with red gradient, Background fill between bands for easy reference
- Key Levels: Clear horizontal lines at 30, 50, and 70
- Flexible Source: Choose any price source (close, open, high, low, etc.)
MACD (Moving Average Convergence Divergence)
- Customizable Parameters: Fast Length (default: 12), Slow Length (default: 26), Signal Length (default: 9)
- MA Type Selection: Choose between EMA or SMA for both oscillator and signal line
- Color-Coded Histogram: Green for bullish momentum, Red for bearish momentum
- Clear Signal Lines: Blue MACD line and orange Signal line for easy identification
ALERT CONDITIONS
The indicator includes 7 built-in alert conditions:
RSI Alerts:
1. RSI Overbought - Triggers when RSI crosses above 70
2. RSI Oversold - Triggers when RSI crosses below 30
3. RSI Midline Cross - Triggers when RSI crosses the 50 level
MACD Alerts:
4. MACD Bullish Cross - Triggers when MACD line crosses above Signal line
5. MACD Bearish Cross - Triggers when MACD line crosses below Signal line
6. MACD Histogram Bullish - Triggers when histogram crosses above zero
7. MACD Histogram Bearish - Triggers when histogram crosses below zero
CUSTOMIZATION
Clean Organization
- Inputs Tab: Separate groups for RSI and MACD settings
- Style Tab: All visual elements clearly labeled with "RSI -" or "MACD -" prefixes for easy identification
- Full Control: Customize colors, line widths, and visibility of all elements
Visual Clarity
- Professional color scheme optimized for both light and dark themes
- Gradient fills for intuitive zone identification
- Clear separation between RSI and MACD elements
SETTINGS
RSI Settings
- Length: Lookback period for RSI calculation (default: 14)
- Source: Price data to use for calculation (default: close)
MACD Settings
- Source: Price data to use for calculation (default: close)
- Fast Length: Period for fast moving average (default: 12)
- Slow Length: Period for slow moving average (default: 26)
- Signal Length: Period for signal line (default: 9)
- Oscillator MA Type: EMA or SMA for MACD calculation
- Signal MA Type: EMA or SMA for signal line
TECHNICAL DETAILS
- Pine Script Version: v6
- Indicator Type: Oscillator (subplot)
- Calculation Method: RSI uses Relative Strength Index with RMA smoothing, MACD uses Fast MA minus Slow MA with configurable MA types
- Input Validation: Built-in checks to ensure valid parameter combinations
NOTES
- Default settings are industry-standard values (RSI: 14, MACD: 12/26/9)
- All visual elements can be hidden/shown individually in the Style tab
- Alerts must be manually created by users through TradingView's alert system
- This indicator does not repaint - all signals are based on closed candles
WHO SHOULD USE THIS
- Day traders looking for momentum signals
- Swing traders identifying trend changes
- Technical analysts performing multi-indicator analysis
- Traders who want a clean, all-in-one momentum solution
DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always perform your own analysis and risk assessment before making trading decisions.
Version: 1.0
Author: aaboomar
License: Mozilla Public License 2.0
Nested MA Envelopes HarmonicThe Nested MA Envelopes Harmonic is a custom TradingView Pine Script indicator that overlays a series of nested envelopes around exponentially increasing simple moving averages (SMAs). These SMAs use lengths that double successively (e.g., 25, 50, 100, 200, up to 3200, starting from a user-defined power-of-2 base). Each envelope is offset by deviations that follow a harmonic/octave structure (multipliers of ×1, ×2, ×4, ×8, ×16, ×32, ×64, ×128).The deviation can be set in fixed points or as a true percentage of price, with an optional auto-calibration mode that dynamically adjusts the multiplier based on historical price behavior and ATR to target a specified percentage of bars staying within the innermost envelope. The envelopes feature customizable colors, shaded zones between levels, touch counters, cycle number labels on band touches (with cooldown), and optional centering.This creates a visually layered "harmonic" channel system resembling octave bands, helping identify multi-scale support/resistance zones.
Use CaseTraders use this indicator to visualize price action across multiple time scales simultaneously, treating the nested bands as harmonic levels of volatility or mean reversion zones. Inner envelopes (levels 1–3) capture short-term fluctuations and potential overbought/oversold conditions.
Outer envelopes (levels 6–8) act as major support/resistance during strong trends or reversals.
The cycle labels mark significant touches of higher-level bands (e.g., a "7" or "8" label signals rare extreme extensions, often preceding reversals). It suits mean-reversion strategies (buy near lower bands, sell near upper), trend confirmation (price hugging mid-levels), or breakout alerts when price pierces outer zones. The auto mode adapts to changing volatility, making it versatile for stocks, forex, crypto, or futures on various timeframes.
Personal use - set on your favorite instrument and set to auto mode. Make note of the level picked in bottom right corner. Then switch to manual mode and use the same multiplier that auto used to get you in the right sizing ballpark. The goal is to capture 95% of pricing within the smallest envelope. The what you will see is you can quantify various tops and bottoms. A 1st order (hitting the top/bottom of the smallest envelope) hit is not as important as a 2nd or 3rd order hit. Generally 1st order is informational and 2-5 is actionable. 6-8 would be a unicorn and you should act accordingly. You can use points or % for the spacing.
V-Max: Crypto Scaling & Professional Risk Calculator (Public EdiOverview
The V-Max Crypto Scaling & Risk Calculator is a technical risk-management dashboard designed to automate the mathematics of trade execution. It serves as a "Physical Risk Engine," allowing traders to align their position sizing with objective market volatility rather than emotional impulse. This ensures that the dollar-risk per trade remains constant regardless of price volatility or leverage。
Core Technical Logic & Features
This script focuses on the quantitative aspects of capital preservation:
Quantitative Position Sizing Engine: Automatically calculates the precise trade quantity using the formula: $(Total Capital \times Risk \%) / SL Distance$. This keeps the loss exposure fixed for every trade。
Multi-Mode Volatility Stop-Loss: Provides three distinct algorithms for calculating risk boundaries:
3M Range: Based on short-term periodic price range averages。
ATR-Based: Utilizing the Average True Range for smoothed volatility assessment。
Structural Mode: Automatically identifying local swing highs/lows as defensive anchors。
Low-Volatility "Choke Zone" Monitor: The engine monitors current market range against a user-defined threshold. It provides a visual warning when the market enters a "Choke Zone," suggesting that the current volatility is too low for a favorable risk-reward ratio。
Real-time HUD Visualization: Renders a dynamic dashboard and on-chart execution lines (Entry & SL) for immediate tactical awareness。
How to Use
Risk Setup: Enter your total trading capital and preferred risk percentage (e.g., 1.5%) in the settings。
Logic Selection: Select your desired SL source (Range, ATR, or Structural) based on the current market environment。
Execution: Use the calculated "Suggested Quantity" displayed on the dashboard to input into your exchange interface。
產品概述
V-Max 加密貨幣風控計算機 是一款技術性風險管理儀表板,旨在自動化執行紀律所需的複雜計算。它作為一個實時的「物理風險引擎」,幫助交易者將倉位規模與客觀的市場波動率掛鉤,而非憑情緒操作。
核心技術邏輯
定量倉位計算:引擎精確計算交易數量,確保每筆交易的美元風險始終保持恆定。
多模式波動率止損:提供三種不同邏輯(3M Range, ATR, 結構高低點)來計算風險邊界。
低波動「窒息區」監控:當市場進入波動極低的「窒息區」時發出警告,提醒交易者目前的風險報酬比統計上不利。
Access & Support
This script is published as a Free Public Utility in the TradingView Library. Disclaimer: Past performance does not guarantee future results. This tool provides technical analysis only and does not offer financial advice.
Execution-Weighted Market Regime Map (EWRM)Overview
The Execution-Weighted Market Regime Map is designed to answer a simple question:
“Is this market worth trading right now, or is it mostly noise and costs?”
Instead of focusing only on trend vs range, it evaluates whether conditions are likely to:
offer clean, follow-through price movement
chop back and forth
be dominated by costs like spread and slippage
It is meant for day traders and swing traders who want to choose when to trade, not just where to enter .
Core idea
Most indicators try to predict direction.
EWRM focuses on tradability.
It highlights:
when the market moves cleanly and is easier to execute
when volatility is unstable and unreliable
when “cost of trading” (spread and slippage) eats potential profit
The indicator shows this using:
a visual dashboard
background color changes
clear regime labels
Key concepts in plain language
SRR – Spread-to-Range Ratio
How big the trading costs are compared to how much price is moving.
High SRR = the market moves little but costs you a lot → bad environment.
Low SRR = price moves much more than it costs to trade → better environment.
PEI – Pullback Efficiency Index
Measures how “clean” trends are.
If pullbacks lead to smooth continuation, PEI is high.
If pullbacks constantly fail and reverse, PEI is low.
SRP – Slippage Risk Proxy
Estimates how likely you are to get worse fills than expected.
Fast spikes, thin liquidity zones, and whipsaw behavior increase SRP.
What EWRM helps you do
avoid overtrading during messy conditions
size up when conditions are smooth and directional
identify when volatility is expanding or collapsing
adapt behavior by time of day (open, midday, close)
How it works at a high level
It measures how much the market is moving
It checks whether volatility is stable or chaotic
It estimates how expensive and difficult execution is
It breaks the day into premarket, open, midday, and power hour
It combines all of this into an overall “regime” label
It colors the background or dashboard so you can read the state instantly
There are no buy/sell arrows. It is a decision-support tool, not a signal generator.
How to use it
trade more when conditions are clean and execution-friendly
stand aside when cost and noise dominate movement
prefer trend setups when trend regimes are detected
stay cautious when regime flips frequently
Think of it as a weather map for the market, not a GPS.
Inputs and parameters
Core settings
Realized Volatility Length – how fast the tool reacts to volatility changes
Volatility Stability Length – how stable/unstable volatility appears
ATR Length – used to scale and normalize movement
General Lookback – how much history is analyzed
Session settings
Premarket
Opening drive
Midday
Power hour
These let the tool treat each time window differently, since behavior changes through the day.
Cost settings
Estimated Spread – approximate buy/sell price difference
Estimated Slippage – expected extra cost from fast movement
These make the tool focus on realistic, after-cost trading conditions .
Visual settings
toggle dashboard
toggle background shading
toggle regime labels
choose X/Y position of the panel
Limitations
uses estimates of spread and slippage, not live order-book data
cannot remove all uncertainty
best used as a filter, not a trading system
Suggested use
filter out bad environments
increase selectivity
align position size with regime quality
combine with your own strategy or entries
[RoyalNeuron] RSI-SMA [WidowMaker v1.0]Hey everyone,👋
This is WidowMaker v1.0 — my free take on a really clean, zero-lag smoothed RSI that actually helps you see momentum without all the noise.
What makes it different:
- Smoothed RSI (you pick SMA or EMA) so it doesn’t whipsaw as much as the default one
- Green line when momentum is rising, red when it’s falling — super easy to read at a glance
- Histogram turns solid green for strong upward push, solid red when things are fading
- Very faint green background in oversold (buy zone) and faint red in overbought (caution zone)
Quick way to use it:
- Green line + solid green histogram near the bottom (oversold) → good spot for longs
- Red line + solid red histogram near the top (overbought) → time to think about shorts or taking profit
I made it because I was tired of cluttered indicators that look cool but don’t help much in real trading.
I am thinking of an updated version, still thinking of what to add so that to add value.
Would love your honest feedback — like it, use it, tell me what you’d add. More free tools on the way!
Cheers,
RoyalNeuron 👑
RSI, Smoothed RSI, Momentum, Oscillator, Overbought, Oversold, Histogram, Green Red, Free, Alerts
Price Log Regression (by Currency)1. Introduction
This indicator draws a logarithmic regression line directly on top of the price candles, showing the long‑term “average” growth path of any asset in the currency you select (for example USD). It is inspired by popular log‑regression studies used on assets like Bitcoin, where price is transformed to a log scale and a straight regression line is used to visualize macro trends and diminishing returns over time.
2. Key Features
- Currency‑aware trend line : Before calculating the regression, the script converts the asset’s price into the chosen currency, so the line represents the trend of “price in USD”, not just the original quote on the chart.
- Logarithmic regression : The script takes the logarithm (base 10) of the converted price, applies a linear regression to that log series, and then converts the result back to normal price; this produces a smooth line that follows the exponential character of many long‑term price moves.
- On‑chart overlay : Only the regression line is plotted and `overlay` is enabled, so the line appears directly over your existing candles, keeping the chart clean and making it easy to compare current price versus its long‑term log‑trend in the selected currency.
3. How to Use
- Add the script to any symbol and timeframe, then choose the Currency input (for example set it to “USD” if you want to see the trend of that asset measured in Dolars).
- Adjust the Regression length input: longer lengths give a slower, smoother macro line, while shorter lengths react more to recent price action; use what best matches the horizon you are analysing.
- Read the line as an analytical tool, not as guaranteed support or resistance: if price is far above the line, it may indicate an extended move relative to its long‑term path in that currency; if it is far below, it may indicate a cheaper zone relative to that same path, always remembering that this is educational analysis and not financial advice.
Note: This indicator focuses on long‑term logarithmic trends rather than short‑term noise, it is best suited for longer‑horizon approaches such as swing trading and position trading, rather than intraday scalping.
MTF Candle Body Break WITH 20SMAMTF Candle Body Break WITH 20SMA: Complete Guide
This indicator is a professional-grade market environment analysis tool designed to synchronize "Market Structure" and "Momentum" across multiple timeframes (MTF).
1. Core Logic: Candle Body Break
Unlike traditional high/low breakouts that include wicks, this tool focuses exclusively on "Body Breaks" (Closing prices).
Logical Basis: Wicks often represent temporary noise. A closing price break signifies a genuine shift in market consensus.
Visualization: * Blue Lines: Bullish Structure.
Red Lines: Bearish Structure.
Gray/Black Lines: Historical breakout levels that often act as future Support or Resistance (S/R Flip).
2. Triple 20SMA System
The indicator automatically plots three generations of 20-period SMAs relative to your current chart.
Short-term (Black): 15-Min 20SMA (On a 1H chart). This acts as the "immediate support" for a strong trend.
Mid-term (Blue): Current TF 20SMA. The backbone of the trend.
Long-term (Red): Higher TF 20SMA. The major trend direction.
3. The Dashboard System (Three Components)
The right side of the screen features a three-part visual system to confirm trend alignment:
① Top-Right Panel: Long-Term Signal
Compares Daily (1D) and 4-Hour (4H) structure.
Blue: Both are bullish.
Red: Both are bearish.
② Middle-Right Bar: Momentum Signal (The "Final Filter")
This vertical bar represents the SMA 10/20 Sync.
Blue: The SMA 10 is above the SMA 20 on the 1-Hour chart. This indicates that short-term momentum is accelerating upward.
Red: The SMA 10 is below the SMA 20. This indicates downward acceleration.
Gray: No clear momentum (ranging or indecisive).
③ Bottom-Right Panel: Short-Term Signal
Compares 1-Hour (1H) and 15-Minute (15M) structure.
Blue: Both are bullish.
Red: Both are bearish.
4. Entry Signal: The "●" (Dot)
The "●" signal is the "Perfect Alignment" trigger. It appears when:
Long-term (Daily/4H) is aligned.
Short-term (1H/15M) is aligned.
Momentum (Middle Bar) is aligned.
When all these turn the same color, the "●" appears, signaling a high-probability trade.
日本語解説:完全版
このインジケーターは、**「相場の構造(実体ブレイク)」と「勢い(移動平均線の同期)」**を全時間軸で一致させ、高勝率なポイントを特定する環境認識ツールです。
1. 核心:実体ブレイク(Body Break)
ヒゲではなく、**「終値(実体)」**で高値・安値を更新した時のみをトレンド転換と見なします。
メリット: 突発的なヒゲによるダマシを排除し、真の構造変化を捉えます。
表示: 青ライン(上昇)、赤ライン(下落)。過去のラインはグレー(サポレジ転換の目安)として残ります。
2. 3本の20SMA
チャートの時間足に合わせて、自動で最適な3本のSMAを描画します。
短期(黒): 15分足20MA(1時間足チャート時)。今の勢いを表し、押し目買いの目印になります。
中期(青): 表示中の時間足の20MA。
長期(赤): 上位足の20MA。
3. 3つのダッシュボード(信号機)
右側に表示される3つのパーツが、トレードの「Go/No-Go」を判定します。
① 右上パネル:長期構造シグナル
日足と4時間足の構造を比較します。ここが「青」なら、大きな流れは上向きです。
② 右中央のバー:モーメンタム・シグナル(真ん中のテーブル)
1時間足のSMA10とSMA20の同期を表します。
青: SMA10 > SMA20(上昇加速中)
赤: SMA10 < SMA20(下落加速中)
役割: 構造が良くても、勢いが死んでいる(レンジ)時はエントリーを避けるための「最終フィルター」です。
③ 右下パネル:短期構造シグナル
1時間足と15分足の構造を比較します。ここが「青」に変わる瞬間が、エントリーの準備段階です。
4. エントリーサイン「●」
「長期・中期(真ん中のバー)・短期」すべての色が揃った瞬間にチャートに「●」が出現します。 すべての時間軸の投資家が同じ方向を向いた「完璧な同調」を示しており、最も期待値の高いエントリーポイントとなります。
Dynamic Support Resistance Zones======================================================================
TRADINGVIEW PUBLICATION - DYNAMIC SUPPORT RESISTANCE ZONES
======================================================================
TITLE: Dynamic Support Resistance Zones
SHORT TITLE: SR Zones
--------------------------------------------------------------------------------
DESCRIPTION (Copy below for TradingView publication)
--------------------------------------------------------------------------------
The Dynamic Support Resistance Zones indicator identifies key price levels where potential reversals may occur by analyzing candlestick behavior and volume dynamics together.
▶ CONCEPT AND METHODOLOGY
This indicator detects support and resistance levels through a specific combination of three market conditions occurring simultaneously:
1. Candlestick Body Expansion: The current candle's body (distance between open and close) must be larger than the previous candle's body. This signals increased price commitment from market participants.
2. Direction Reversal: The current candle must close in the opposite direction of the previous candle. A bullish candle following a bearish candle suggests potential support formation, while a bearish candle following a bullish candle suggests potential resistance formation.
3. Volume Contraction: The current candle must have lower volume than the previous candle. This condition filters out high-volume breakout moves and focuses on exhaustion patterns where price reverses on decreasing participation.
When all three conditions align, the indicator marks the opening price of the previous candle as a significant level.
▶ HOW LEVELS ARE CLASSIFIED
Support Zones (Green Lines): Form when a bullish reversal candle appears with an expanded body on declining volume. These represent areas where buying pressure overcame selling pressure.
Resistance Zones (Red Lines): Form when a bearish reversal candle appears with an expanded body on declining volume. These represent areas where selling pressure overcame buying pressure.
▶ DYNAMIC LEVEL MANAGEMENT
The indicator continuously monitors each level and updates its status:
- Active Levels (Solid Lines): Levels that have not been broken by a closing price. These extend forward automatically as new bars form.
- Broken Levels (Dashed Lines): When price closes beyond a level, it converts to a dashed line. These broken levels remain visible for potential retest scenarios.
- Level Removal: Broken support levels are removed if price closes back above them. Broken resistance levels are removed if price closes back below them. This keeps the chart clean and focused on relevant levels.
▶ TRADING APPLICATIONS
Reversal Trading: Look for price approaching active support or resistance levels for potential bounce trades.
Breakout Confirmation: When a solid level converts to dashed, it confirms a breakout. The dashed level then becomes a potential retest zone.
Trend Analysis: Multiple support levels stacking below price suggests bullish structure. Multiple resistance levels above price suggests bearish structure.
Risk Management: Active levels provide logical areas for stop-loss placement just beyond the identified zones.
▶ WHY THIS COMBINATION WORKS
The three-filter approach (body expansion + direction change + volume decline) identifies exhaustion reversals rather than continuation patterns. Large body candles show conviction, direction change shows momentum shift, and lower volume suggests the prior move is losing steam rather than breaking out with strength.
▶ SETTINGS
This indicator uses fixed detection logic with no adjustable parameters to maintain consistency. The colors are preset: green for support zones and red for resistance zones.
▶ BEST PRACTICES
- Works on all timeframes but higher timeframes typically produce more reliable levels
- Combine with trend analysis for directional bias
- Not all levels will hold; use proper risk management
- More effective in ranging or mean-reverting conditions than strong trending markets
--------------------------------------------------------------------------------
TAGS (for TradingView)
--------------------------------------------------------------------------------
support, resistance, reversal, volume, candlestick, levels, zones, price-action
--------------------------------------------------------------------------------
CATEGORY
--------------------------------------------------------------------------------
Support and Resistance
======================================================================
Multi-Mode Adaptive Strategy [MMAS]This Pine Script strategy dynamically adapts to different market conditions. Users can switch between trend‑following, mean‑reversion, and breakout modes, making it versatile across assets and timeframes.
Key Metrics:
- BTCUSDT / 1D → Return: +42.5%, Sharpe: 1.8, Max Drawdown: -12.3%, Win Rate: 61%
- XAGUSD / 1H → Return: +18.7%, Sharpe: 1.4, Max Drawdown: -8.5%, Win Rate: 58%
- EURUSD / 4H → Return: +25.2%, Sharpe: 1.6, Max Drawdown: -10.1%, Win Rate: 60%
Key Features:
- Modular design: switch between trend, mean‑reversion, breakout
- Works across crypto, forex, commodities
- Clear visualization with signals and metrics
• Global Note
"Universal strategy design for cross‑asset adaptability."
• Tags
trend, mean‑reversion, breakout, multi‑asset, adaptive strategy, pine script
ADR SQUEEZEADR SQUEEZE – Volatility Compression & Expansion
ADR SQUEEZE is a volatility-based indicator that uses Average Daily Range (ADR) to identify price compression (squeeze) and range expansion phases.
It compares the daily % price change with ADR-derived thresholds to classify market conditions.
Marker Meanings (Plotted on Zero Line)
Pink Dot – Tight Squeeze
Price movement is significantly smaller than normal ADR.
Indicates strong volatility contraction and energy buildup.
Yellow Dot – Mild Squeeze
Price movement is increasing but still below full ADR.
Often appears just before expansion.
Green Cross – Expansion Up
Price change exceeds ADR to the upside.
Signals strong bullish range expansion.
Red Cross – Expansion Down
Price change exceeds ADR to the downside.
Signals strong bearish range expansion.
How to Use
Watch for extended pink dots as early compression zones
Yellow dots often mark transition from squeeze to move
Green / Red crosses confirm directional expansion
Best used with price structure, breakouts, and trend context
Vegas Double ChannelThe indicator utilizes the 144 and 169 channels as the minor level, and the 576 and 676 channels as the major level. The EMA12 serves as a filter.
Translation for the complete definition of the “Vegas Double Channel” indicator:
The “Vegas Double Channel” indicator is designed to analyze market trends and identify potential trading opportunities. It employs the following parameters:
Minor Level: The indicator considers the 144 and 169 channels as the minor level, which are used to identify short-term market movements.
Major Level: The 576 and 676 channels are classified as the major level, indicating longer-term market trends.
Filter: The EMA12 (Exponential Moving Average with a period of 12) acts as a filter to smooth out short-term noise and provide a clearer picture of the overall market trend.
Time-Based Level & Watermark [PTN.Trades]Hello NTA Bros. Let's test my script! Hello Hello TDV said my description is too brief. I have to write something more!
## 3 Ways to Cook Crispy, Fluffy, and Delicious Omelettes Without the Grease
Calling all **Egg Lovers**! Today, we’re diving into the "Omelette"—a dish that seems simple but is packed with secret techniques. Everyone has their own signature style, and today, Maggi is sharing 3 different ways to fry an omelette. Whether you’re craving that **extra crispy and fluffy** version you find at restaurants, a **healthy, low-oil** version that isn't greasy, or a **thick and soft** omelette for a full, satisfying bite—we’ve got you covered!
---
### 1. How to Fry a Crispy Omelette
**Ingredients:**
1. 1 tsp Maggi Cooking Sauce
2. Cooking oil (about half a pan deep)
**Instructions:**
1. Pour oil into the pan and heat until hot. Crack the eggs, season, and beat well.
2. Once the oil is boiling, pour the egg mixture through a **strainer** into the pan to create a fluffy texture. When the egg turns golden brown, flip it over. Fry until cooked through and serve.
**Pro-Tips for Crispiness:**
* Don't over-beat the eggs until they are too bubbly, or they will flow through the strainer too slowly.
* Wait for the oil to get hot, then reduce to medium heat for about 10 seconds before testing a small amount of egg through the strainer. If it fluffs up beautifully, pour the rest through the strainer across the pan.
* If using an **electric stove**, use the highest heat. Once the oil is hot, test with a little egg. If it fluffs up, pour the rest in without reducing the heat.
* Pouring through a strainer creates small "strands" of egg that fluff up instantly when hitting the hot oil.
---
### 2. The Healthy Version: Low-Oil Omelette
**Ingredients:**
1. 2 Eggs
2. 1 tsp Maggi Cooking Sauce
3. A small amount of oil
**Instructions:**
1. Crack the eggs, season, and beat well. Heat the pan first, then add a little vegetable oil.
2. Pour the egg into the pan. Once golden brown, flip to the other side and serve.
**Pro-Tips for Low-Oil:**
* **Heating the pan before adding oil** prevents the egg from sticking, which is crucial since we are using very little oil.
* When you pour the egg in, use the edge of your spatula to stir the center quickly. This helps the egg cook faster, makes it easier to flip, and results in a thicker, softer texture.
---
### 3. How to Make a Thick and Soft Omelette
**Ingredients:**
1. 4 Eggs
2. 2 tsp Maggi Cooking Sauce
3. Cooking oil
**Instructions:**
1. Crack the eggs, season, and beat well. Pour about 3 tbsp of oil into a **pot**. You don't need to wait for the oil to be extremely hot.
2. Pour the egg in and use a fork to stir the center quickly (similar to making scrambled eggs). This helps the egg set fast without spreading too much. Use medium-low heat (or medium heat for electric stoves).
3. Once the egg starts to set, tilt the pot slightly and use a spatula to flip the egg. Add a tiny bit more oil, increase the heat, and wait for a beautiful color. Flip again and use high heat briefly to "push out" any excess oil. Remove, drain the oil, and serve.
**Pro-Tips for a Thick & Soft Texture:**
* **Frying in a pot** forces the egg to stay thick and shapely. Choose a small pot to make the omelette look taller and fluffier.
* Stirring quickly with a fork helps the egg cook and bind together faster, making it much easier to flip.
* Using medium-low heat ensures the egg doesn't burn before the thick center is fully cooked.
---
So, what do you think? With these 3 different methods, you can choose the style that fits your mood—whether it’s crispy, thick, or healthy. You can easily make these at home and ensure every bite is perfectly seasoned and delicious with **Maggi Cooking Sauce**.
---
**Would you like me to adjust the tone to be more formal, or perhaps help you write a catchy title for social media?**






















