Fibonacci Range Detector ║ BullVision🔬 Overview
The Fibonacci Range Mapper is a dynamic technical tool designed to identify, track, and visualize price ranges using Fibonacci levels. Whether you're trading manually or prefer automated structure recognition, this indicator helps you contextualize market moves and locate key price zones with precision.
⚙️ Core Logic
🔍 Range Detection (Auto & Manual Modes)
In Auto mode, the indicator uses an advanced ZigZag system based on ATR or percentage thresholds to confirm market swings and construct Fibonacci-based ranges.
In Manual mode, traders can define their own swing low and high to generate precise custom ranges.
📐 Fibonacci Mapping
Each detected range is automatically plotted with key Fibonacci retracement levels — 0%, 25%, 50%, 75%, 100% — along with optional extensions (127.2% and 161.8%) to anticipate price continuations or reversals.
📋 Live Data Table
An integrated info panel dynamically displays crucial metrics:
• Range size
• Current price zone (Discount / Mid / Premium)
• Position within range (%)
• Distance to range extremes
• Range status (Pending or Confirmed)
🕰️ Historical Memory
Up to 20 past ranges can be stored and visualized simultaneously, helping traders recognize repeated price behaviors and contextual support/resistance levels.
🎨 Visual Highlights
Zones of interest (0–25% = Discount, 75–100% = Premium) are color-coded with custom transparency, and labels can be toggled for clarity. The current active range updates in real time as structure evolves.
🔧 User Customization
• Detection Method: Choose between ATR or % ZigZag for automated swing identification
• Confirmation Delay: Set how many bars to wait before confirming a new high
• Manual Overrides: Select exact price levels when you want full control
• Extensions & Labels: Toggle additional lines and info to suit your charting style
• Visual Table Position: Customize where the data table appears on screen
• Color Scheme: Define your own zone gradients for better visual interpretation
📈 Use Cases
This indicator is ideal for traders who want to:
• Identify value zones within local or macro price structures
• Plan trades around Fibonacci retracement and extension levels
• Detect shifts in market structure using an adaptive ZigZag logic
• Track recurring price ranges and historical reaction points
• Enhance technical confluence with clean, visual price mapping
⚠️ Important Notes
This tool is not a buy/sell signal generator — it is a visual framework for structure-based analysis.
Use it in conjunction with your existing strategy and risk management process.
Always confirm with broader context and multi-timeframe alignment.
波動率
IV PercentileIV Percentile Indicator - Brief Description
What It Does
The IV Percentile Indicator measures where current implied volatility ranks compared to the past year, showing what percentage of time volatility was lower than today's level.
How It Works
Data Collection:
Tracks implied volatility (or historical volatility as proxy) for each trading day
Stores the last 252 days (1 year) of volatility readings
Uses VIX data for SPY/SPX, historical volatility for other stocks
Calculation:
IV Percentile = (Days with IV below current level) ÷ (Total days) × 100
Example: If IV Percentile = 75%, it means current volatility is higher than 75% of the past year's readings.
Visual Output
Main Display:
Blue line showing percentile (0-100%)
Reference lines at key levels (20%, 30%, 50%, 70%, 80%)
Color-coded backgrounds for quick identification
Info table with current readings
Key Levels:
80%+ (Red): Very high IV → Sell premium
70-79% (Orange): High IV → Consider selling
30-20% (Green): Low IV → Consider buying
<20% (Bright Green): Very low IV → Buy premium
Trading Application
When IV Percentile is HIGH (70%+):
Options are expensive relative to recent history
Good time to sell premium (iron condors, credit spreads)
Expect volatility to decrease toward normal levels
When IV Percentile is LOW (30%-):
Options are cheap relative to recent history
Good time to buy premium (straddles, long options)
Expect volatility to increase from compressed levels
Core Logic
The indicator helps answer: "Is this a good time to buy or sell options based on how expensive/cheap they are compared to recent history?" It removes the guesswork from volatility timing by providing historical context for current option prices.
PrismWMA (Rolling)# PrismWMA (Rolling)
Overview
PrismWMA computes rolling VWMA, TWMA and TrueWMA over a fixed lookback window, then plots dynamic volatility bands around each. It’s the rolling-window counterpart to PrismWAP’s anchored spans, giving you per-bar, up-to-date average levels and band excursions.
How It Works
Every bar, PrismWMA:
• Calculates VWMA, TWMA and TrueWMA over the last wmaWindowLen bars.
• Computes your chosen volatility measure (Std Dev, MAD, ATR-scaled) or Percent of WMA over volWindowLen bars.
• Draws upper/lower bands as ±mult × volatility (or ±mult % of the WMA in Percent mode).
Inputs
Settings/Default/Description
WMA Lookback (bars)/50/Number of bars for rolling WMA
Volatility Measure/Std Dev/Band width method: Std Dev, MAD, ATR (scaled), or Percent of WMA
Volatility Lookback (bars)/50/Number of bars used to compute rolling volatility
Band Multiplier (or %)/3.0/Multiplier for band width (or percent of WMA in Percent mode)
Scale MAD to σ/true/When MAD is selected, scale by √(π/2) so it aligns with σ
Display
• Show VWMA true
• Show TWMA true
• Show TrueWMA true
• Show VBands false
• Show TBands false
• Show TrueBands true
References:
1. TrueWMA Description
## 1. TrueWMA: Volatility-Weighted Price Averaging
What Is TrueWMA?
TrueWMA weights each bar’s TrueMid (TrueRange midpoint) by its TrueRange, so high-volatility bars carry more influence. It blends price level and volatility into one moving average
Pseudocode
// TWMA Example for Comparison
window_size = 50
OHLC = (Open + High + Low + Close) / 4
TWMA = MA(OHLC, window_size)
// VWMA Example for Comparison
window_size = 50
HLC3 = (High + Low + Close) / 3
VWMA = Sum(HLC3 * Volume, window_size) / Sum(Volume, window_size)
// TrueWMA (Rolling)
window_size = 50
max_val = Maximum(Close , High)
min_val = Minimum(Close , Low)
true_mid = (max_val + min_val) / 2
TrueWMA = Sum(true_mid * TrueRange, window_size) / Sum(TrueRange, window_size)
Interpretation
For each bar, Rolling TrueWMA:
• Computes a TrueMid (“contextual midpoint”) from the prior close and the current bar’s high/low.
• Weights each TrueMid by that bar’s TrueRange.
• Divides the sum of those weighted midpoints by the total TrueRange over the lookback window.
The result is a single series that dynamically blends price levels with recent volatility.
PrismWAP (Anchored)# PrismWAP (Anchored)
Overview
PrismWAP plots three anchored weighted-average prices (VWAP, TWAP, TrueWAP) with dynamic volatility bands and a resettable anchor line. It helps you see key value levels since your chosen anchor period and gauge price excursions relative to volatility.
How It Works
On each new span (session, week, month, quarter, etc.), the indicator resets a base price from the first bar’s open. It computes anchored VWAP, TWAP, and TrueWAP cumulatively over the span. Volatility bands are drawn as ±multiplier × a span-length-weighted average of your chosen volatility measure (Std Dev, MAD, ATR-scaled, or Percent of WAP).
Inputs
Settings/Default/Description
Anchor Period/Quarter/Span for resetting WAP and anchor line (Week, Month, etc.)
Volatility Measure/Std Dev/Method for band width: SD, MAD, ATR (scaled), Percent of WAP
Volatility Spans/current+2/Number of spans (current + previous spans) used in volatility
Band Multiplier(or %)/3.0/Multiplier for band width (or Percent of WAP in Percent mode)
Scale MAD to σ/true/When MAD selected, scale by √(π/2) so it aligns with σ
Display
• Show Anchor Line true
• Show VWAP true
• Show TWAP true
• Show TrueWAP true
• Show VWAP Bands false
• Show TWAP Bands false
• Show TrueWAP Bands true
Tips & Use Cases
• Use shorter spans (Session, Week) for sub-daily bar intervals.
• Use longer spans (Quarter, Year) for daily bar intervals.
References:
1. TrueWAP Description
2. SD, MAD, ATR (scaled) weighted average volatility
## 1. TrueWAP: Volatility-Weighted Price Averaging
What Is TrueWAP?
TrueWAP plugs actual price fluctuations into your average. Instead of only tracking time (TWAP) or volume (VWAP), it weights each bar’s TrueRange midpoint by its TrueRange—so when the market moves more, that bar counts more.
TrueWAP (Anchored) Overview
• On the first bar, it uses the simple high-low midpoint for price and the bar’s high-low range for weighting.
• From the next bar onward, it computes TrueMid by averaging the TrueRange high (higher of prior close or current high) with the TrueRange low (lower of prior close or current low).
• Each TrueMid is weighted by its TrueRange and cumulatively summed from the anchor point.
Pseudocode
// TWAP Example for Comparison
current_days = BarsSince("start_of_period")
OHLC = (Open + High + Low + Close) / 4
TWAP = MA(OHLC, current_days)
// VWAP Example for Comparison
current_days = BarsSince("start_of_period")
HLC3 = (High + Low + Close) / 3
VWAP = Sum(HLC3 * Volume, current_days) / Sum(Volume, current_days)
// TrueWAP (Anchored)
current_days = BarsSince("start_of_period") // Count of bars since the period began
first_bar = (current_days == 0) // Boolean flag that is true if current bar is the first of period
hilo_mid = (High + Low) / 2 // For the first bar, use its simple high/low avg
max_val = max(Close , High) // For subsequent bars, TrueRange high
min_val = min(Close , Low) // For subsequent bars, TrueRange low
true_mid = (max_val + min_val) / 2 // True Range midpoint for subsequent bars
// Use hilo_mid and (High - Low) for the first bar; otherwise, use true_mid and True Range
mid_val = IF(first_bar, hilo_mid, true_mid)
range_val = IF(first_bar, (High - Low), TrueRange)
TrueWAP = Sum(mid_val * range_val, current_days) / Sum(range_val, current_days)
Recap: Interpretation
• The first bar uses the simple high-low midpoint and range.
• Subsequent bars use TrueMid and TrueRange based on prior close.
• This ensures the average reflects only the observed volatility and price since the anchor.
A Note on True Range
TrueRange captures the full extent of bar-to-bar volatility as the maximum of:
• High – Low
• |High – Previous Close|
• |Low – Previous Close|
## 2. Segmented Weighted-Average Volatility: A Fixed-Point Multi-Period Approach
### Introduction
Conventional standard deviation calculations aggregate data over an expanding window and rely on a single mean, producing one summary statistic. This can obscure segmented, sequential datasets—such as MTD, QTD, and YTD—where additional granularity and time-sensitive insights matter.
This methodology isolates standard deviation within defined time frames and then proportionally allocates them based on custom lookback criteria. The result is a dynamic, multi-period normalization benchmark that captures both emerging volatility and historical stability.
Note: While this example uses SD, the same fixed-point approach applies to MAD and ATR (scaled).
### 2.1 Standard Deviation (Rolling Window)
pseudocode
// -- STANDARD DEVIATION (ROLLING) Calculation --
window_size = 20
rolling_SD = STDDEV(Close, window_size)
• Ideal for immediate trading insights.
• Reflects pure, short-term price dynamics.
• Captures volatility using the most recent 20 trading days.
### 2.2 Blended SD: Current + 3 Past Periods
This method fuses current month data with the last three complete months.
pseudocode
// -- MULTI-PERIOD STANDARD DEVIATION (PROXY) with Three Past Periods --
current_days = BarsSince("start_of_month")
current_SD = STDDEV(Close, current_days)
prev1_days = TradingDaysLastMonth
prev1_SD = STDDEV_LastMonth(Close)
prev2_days = TradingDaysTwoMonthsAgo
prev2_SD = STDDEV_TwoMonthsAgo(Close)
prev3_days = TradingDaysThreeMonthsAgo
prev3_SD = STDDEV_ThreeMonthsAgo(Close)
// Blending with Proportional Weights
Weighted_SD = (current_SD * current_days +
prev1_SD * prev1_days +
prev2_SD * prev2_days +
prev3_SD * prev3_days) /
(current_days + prev1_days + prev2_days + prev3_days)
• Merges evolving volatility with the stability of three prior months.
• Weights each period by its trading days.
• Yields a robust normalization benchmark.
### 2.3 Blended SD: Current + 1 Past Period
This variant tempers emerging volatility by blending the current month with last month only.
pseudocode
// -- MULTI-PERIOD STANDARD DEVIATION (PROXY) with One Past Period --
current_days = BarsSince("start_of_month")
current_SD = STDDEV(Close, current_days)
prev1_days = TradingDaysLastMonth
prev1_SD = STDDEV_LastMonth(Close)
// Proportional Blend
Weighted_SD = (current_SD * current_days +
prev1_SD * prev1_days) /
(current_days + prev1_days)
• Anchors current volatility to last month’s baseline.
• Softens spikes by blending with historical data.
Conclusion
Segmented weighted-average volatility transforms global benchmarking by integrating immediate market dynamics with enduring historical context. This fixed-point approach—applicable to SD, MAD (scaled), and ATR (scaled)—delivers time-sensitive analysis.
RSI+BOLLINGER (LONG & SHORT)This indicator combines two of the most popular tools in technical analysis, the Relative Strength Index (RSI) and Bollinger Bands (BB), to generate both long (BUY) and short (SELL) trading signals.
Strategy:
Entries (Buy/Short): Entry signals are based on the RSI.
A BUY is suggested when the RSI crosses above an oversold level (default: 29), indicating a possible upward reversal.
A SHORT is suggested when the RSI crosses below an overbought level (default: 71), indicating a possible downward reversal.
Exits (Position Closure): Exit signals are based on Bollinger Bands.
A long position is closed when the price crosses below the upper Bollinger Band.
A short position is closed when the price crosses above the lower Bollinger Band.
Key Features:
Cascade Filter: Includes a smart filter that prevents opening new consecutive trades if the price hasn't moved significantly in favor of a new entry, optimizing signal quality.
Automation Alerts: Generates detailed alerts in JSON format for each event (buy, sell, close), designed for easy integration with trading bots and automated systems via webhooks.
Fully Configurable: All parameters of the RSI, Bollinger Bands, and strategy filters can be adjusted from the indicator’s settings menu.
Nexus v10Nexus v10 - Confluence-Driven Trading Indicator
The Nexus v10 is a sleek, modern, and versatile trading indicator that delivers precise buy and sell signals by synthesizing a confluence of technical factors, including Heikin Ashi candles, RSI, ADX, and EMA crossovers. The name "Nexus" captures its core strength—connecting and synthesizing multiple signals into a cohesive trading decision point. The term evokes a central hub or convergence, reflecting the script’s confluence-based approach, dynamic adaptability, and real-time precision for scalping. Designed for traders seeking clarity and efficiency, it’s a powerful tool for navigating dynamic markets.
Key Features:
Confluence-Based Signals: Combines weighted signals from Heikin Ashi, RSI, ADX, and EMA crossovers to generate high-probability buy/sell signals.
Neutral Status Logic: Limits consecutive signals to two per direction, requiring a "Neutral" status before the second signal to ensure disciplined trading.
Clean Visualization: Displays only the two most recent buy/sell signals, keeping the chart uncluttered and focused on current opportunities.
Dynamic Adaptability: Offers customizable RSI thresholds, EMA lengths, MTF settings, and dynamic overbought/oversold levels to fit any market or style.
Candle Coloring & Inside Bars: Highlights overbought/oversold conditions and inside bars with customizable colors for enhanced context.
Real-Time Debug Table: Provides live insights into signal status, RSI, MTF trends, and ADX for informed decision-making.
How It Works:
Nexus v10 integrates multiple technical factors, including MTF analysis (default: 3m, 15m, 240m, D), RSI, ADX, and EMA crossovers, to produce signals when confluence criteria are met. Signals appear as circles on the chart, with a maximum of two visible signals per direction (buy or sell). A second signal in the same direction requires a neutral status, ensuring precision. Ideal for scalping, swing, and trend trading across stocks, forex, futures, and more.
Usage Tips:
Customize settings like RSI thresholds and MTF periods to align with your trading strategy.
Use the debug table to monitor confluence factors and signal status in real-time.
Pair with sound risk management and personal analysis for optimal results.
Note:
Always backtest thoroughly in your trading environment to validate performance. Let the Nexus v10 guide your next trade with precision and clarity!
Nexus v10Nexus v10 - Confluence-Driven Trading Indicator
The Nexus v10 is a sleek, modern, and versatile trading indicator that delivers precise buy and sell signals by synthesizing a confluence of technical factors, including Heikin Ashi candles, RSI, ADX, and EMA crossovers. The name "Nexus" captures its core strength—connecting and synthesizing multiple signals into a cohesive trading decision point. The term evokes a central hub or convergence, reflecting the script’s confluence-based approach, dynamic adaptability, and real-time precision for scalping. Designed for traders seeking clarity and efficiency, it’s a powerful tool for navigating dynamic markets.
Key Features:
Confluence-Based Signals: Combines weighted signals from Heikin Ashi, RSI, ADX, and EMA crossovers to generate high-probability buy/sell signals.
Neutral Status Logic: Limits consecutive signals to two per direction, requiring a "Neutral" status before the second signal to ensure disciplined trading.
Clean Visualization: Displays only the two most recent buy/sell signals, keeping the chart uncluttered and focused on current opportunities.
Dynamic Adaptability: Offers customizable RSI thresholds, EMA lengths, MTF settings, and dynamic overbought/oversold levels to fit any market or style.
Candle Coloring & Inside Bars: Highlights overbought/oversold conditions and inside bars with customizable colors for enhanced context.
Real-Time Debug Table: Provides live insights into signal status, RSI, MTF trends, and ADX for informed decision-making.
How It Works:
Nexus v10 integrates multiple technical factors, including MTF analysis (default: 3m, 15m, 240m, D), RSI, ADX, and EMA crossovers, to produce signals when confluence criteria are met. Signals appear as circles on the chart, with a maximum of two visible signals per direction (buy or sell). A second signal in the same direction requires a neutral status, ensuring precision. Ideal for scalping, swing, and trend trading across stocks, forex, futures, and more.
Usage Tips:
Customize settings like RSI thresholds and MTF periods to align with your trading strategy.
Use the debug table to monitor confluence factors and signal status in real-time.
Pair with sound risk management and personal analysis for optimal results.
Note:
Always backtest thoroughly in your trading environment to validate performance. Let the Nexus v10 guide your next trade with precision and clarity!
Clarix Trailing MasterClarix Trailing Master
Advanced Manual Entry Trailing Stop Strategy
Purpose :
Clarix Trailing Master is designed to give traders precise control over trade exits with a customizable trailing stop system. It combines manual entry inputs with dynamic and static trailing stop options, empowering users to protect profits while minimizing premature stop-outs.
How It Works:
You manually input your trade entry price and specify the trade direction (Long or Short).
The strategy activates the trailing stop only after the price moves favorably by a configurable profit threshold. This helps avoid early stop losses during initial market noise.
You can choose between a dynamic trailing stop based on Average True Range (ATR) or a fixed static trailing distance. The ATR can also be computed on a higher timeframe for enhanced stability.
Once active, the trailing stop updates live with price movements, ensuring your gains are locked in progressively.
If the price crosses the trailing stop, a clear alert triggers, and the stop-hit status displays visually on the chart.
Key Features:
Manual entry with exact price and timestamp input for precise trade tracking.
Supports both Long and Short trades.
Choice between dynamic ATR-based trailing or static trailing stops.
Configurable profit threshold before trailing stop activation to avoid early exits.
Visual markers for entry and stop-hit points (yellow and red respectively).
Live dashboard displaying entry details, trade status, trailing mode, and current stop level.
Works on all asset classes and timeframes, adaptable to various trading styles.
Built-in audio alert notifies you immediately when the trailing stop is hit.
Usage Tips:
Adjust the profit threshold and ATR settings based on your asset’s volatility and timeframe. For example, use higher ATR multipliers for more volatile markets like crypto.
Consider using higher timeframe ATR values for smoother trailing stops in fast-moving markets.
Ideal for swing trading or position trading where precise stop management is crucial.
Always backtest and paper trade before applying to live markets.
Reversal Signal avec TICK + RSIThis indicator is a potential reversal indicator for SCALPING, don't use it for swing. It's base on TICK and on an overbrought/oversold condition of the RSI. You can play with the setting, typicaly I like my TICK to be over reacting an 800/-800 and my rsi over 20 and 80, but it give not enough signal. So I set the TICK signal at 651/-651 and the RSI at 25/75. This indicator is made for SP500 and Nasdaq, so SPY/QQQ/SPX/ES/NQ should work well. It's the first version of it, so maybe I'll add so more data to it to increase signal and lower false one. For now I've test it on live market yet(26/7/25).
The RSI is Fast(5 period), I like to use it on the 1 or 5 min chart.
Please not that it only work during 9h30am to 4pm EST.(Because of the TICK)
Feel free to try and even comment. Don't be harsh on me, it's my first try!
(Sorry for my 'english' it's not my first language)
FAUCON
HTF Current/Average RangeThe "HTF(Higher Timeframe) Current/Average Range" indicator calculates and displays the current and average price ranges across multiple timeframes, including daily, weekly, monthly, 4 hour, and user-defined custom timeframes.
Users can customize the lookback period, table size, timeframe, and font color; with the indicator efficiently updating on the final bar to optimize performance.
When the current range surpasses the average range for a given timeframe, the corresponding table cell is highlighted in green, indicating potential maximum price expansion and signaling the possibility of an impending retracement or consolidation.
For day trading strategies, the daily average range can serve as a guide, allowing traders to hold positions until the current daily range approaches or meets the average range, at which point exiting the trade may be considered.
For scalping strategies, the 15min and 5min average range can be utilized to determine optimal holding periods for fast trades.
Other strategies:
Intraday Trading - 1h and 4h Average Range
Swing Trading - Monthly Average Range
Short-term Trading - Weekly Average Range
Also using these statistics in accordance with Power 3 ICT concepts, will assist in holding trades to their statistical average range of the chosen HTF candle.
CODE
The core functionality lies in the data retrieval and table population sections.
The request.security function (e.g., = request.security(syminfo.tickerid, "D", , lookahead = barmerge.lookahead_off)) retrieves high and low prices from specified timeframes without lookahead bias, ensuring accurate historical data.
These values are used to compute current ranges and average ranges (ta.sma(high - low, avgLength)), which are then displayed in a dynamically generated table starting at (if barstate.islast) using table.new, with conditional green highlighting when the current range is greater than average range, providing a clear visual cue for volatility analysis.
FxSika SuperTrend ZoneThe FxSika SuperTrend Zone™ is a dynamic zone-based indicator that enhances the traditional SuperTrend concept by displaying two key structural layers:
Primary Trend Line: The main directional guide, calculated using ATR and a volatility multiplier.
Reaction Band: A secondary buffer area around the trend line, derived from an ATR extension. It helps visualize zones where price is likely to react or pause during pullbacks.
The indicator also includes an optional Long-Term Trend Layer, calculated with higher values for both ATR length and multiplier. This broader trend context can be toggled on or off via the settings.
How it works:
Zones adjust automatically based on trend direction.
Green zones represent bearish conditions (potential buy interest).
Red zones represent bullish conditions (potential sell interest).
Clear lines and shaded areas make key levels easy to spot.
Extra features:
Multiple alert options for zone interactions and trend shifts.
Lightweight, visually clean design for easy chart integration.
Fully adjustable parameters for ATR, multiplier, and zone width.
This indicator helps identify high-probability reaction zones during trending markets, especially when combined with price action or confirmation-based setups.
Morning Straddle Session HighlightFirst draft of this indicator.
This indicator marks the range between midnight and 6am UK time for the morning straddle strategy.
Better used in currency pairs, it will colour code the box based on how big the range is, blue being quite narrow, green the expected neutral range, orange if range is bigger than average and red if there was a big range of movement already overnight.
It will work in other assets, but it may always show a red box.
WT + Stoch RSI Reversal Combo📊MR.Z RSI : WT + Stochastic RSI Reversal Combo
This custom indicator combines WaveTrend oscillator and Stochastic RSI to detect high-confidence market reversal points, filtering signals so they only appear when both indicators align.
🔍 Core Components:
✅ WaveTrend Oscillator
Based on smoothed deviation from EMA (similar to TCI logic)
Plots:
WT1 (main line)
WT2 (signal line = SMA of WT1)
Uses overbought/oversold thresholds (default: ±53) to filter signals
✅ Stochastic RSI
Momentum oscillator based on RSI's stochastic value
Plots:
%K: smoothed Stoch of RSI
%D: smoothed version of %K
Adjustable oversold/overbought thresholds (default: 20/80)
🔁 Combined Reversal Signal Logic:
🔼 Buy Signal
WT1 crosses above WT2 below WT oversold level (e.g., -53)
%K crosses above %D below Stoch RSI oversold level (e.g., 20)
🔽 Sell Signal
WT1 crosses below WT2 above WT overbought level (e.g., 53)
%K crosses below %D above Stoch RSI overbought level (e.g., 80)
🔔 Signals are only plotted and alerted if both conditions are true.
📌 Features:
Toggle on/off:
WaveTrend lines and histogram
Stochastic RSI
Combined Buy/Sell signals
Horizontal reference lines (±100, OB/OS)
Fully customizable smoothing lengths and thresholds
Signal plots:
✅ Green up-triangle = Combo Buy
✅ Red down-triangle = Combo Sell
Optional: Circle/cross markers for WT-only and Stoch-only signals
🔔 Built-in alerts for Buy/Sell signals
📈 Use Cases:
Reversal Trading: Wait for both indicators to confirm momentum shift
Entry Filter: Use in combination with trend indicators (like EMA)
Scalping or Swing: Works on intraday and higher timeframes
RV Indicator This Pine Script defines a custom Relative Volatility (RV) Indicator, which measures the ratio of directional price movement to volatility over a specified number of bars. Below is a full explanation of what this script does.
Title:
RV Indicator — Relative Volatility Oscillator
Purpose:
This indicator measures how aggressively price is moving compared to recent volatility, and smooths the result with a signal line. It can be used to gauge momentum shifts and trend strength.
How It Works – Step by Step
1. Measuring Price Momentum (v1)
It calculates the difference between the close and open prices of the last 4 candles.
A weighted average is applied:
The current candle and the one 3 bars ago get weight 1.
The two middle candles (1 and 2 bars ago) get weight 2.
This creates a smoothed momentum measure:
If close > open (bullish), v1 is positive.
If close < open (bearish), v1 is negative.
2. Measuring Volatility (v2)
Similarly, it calculates the high-low range for the last 4 candles.
The same weighting (1, 2, 2, 1) is applied.
This gives a smoothed volatility measure.
3. Combining Momentum and Volatility (RV Ratio)
For the past ti bars (default: 10), it sums up:
All v1 values (momentum sum)
All v2 values (volatility sum)
Then it divides them:
𝑅𝑉= sum of price momentum % sum of volatility
This produces the RV value:
RV > 0: Momentum is bullish (price is generally moving up relative to its volatility).
RV < 0: Momentum is bearish (price is moving down relative to its volatility).
4. Smoothed Signal Line (rvsig)
A smoothed version of the RV is created using a weighted average of the latest 4 RV values.
This acts like a signal line, similar to how MACD uses a signal line.
Crossovers between RV and this signal line can be used to detect shifts in momentum.
5. Visual Output
Orange Line (RV): Shows the raw momentum/volatility ratio.
Blue Line (Signal): A smoother line that follows RV more slowly.
Zero Line: Divides bullish vs. bearish momentum.
How to Use It in Trading
1. Look for Crossovers:
If RV crosses above its signal line → Possible buy signal (momentum turning bullish).
If RV crosses below its signal line → Possible sell signal (momentum turning bearish).
2. Check the Zero Line:
If both RV and Signal are above zero, momentum is bullish.
If both are below zero, momentum is bearish.
3. Filter False Signals:
Combine RV with a trend filter (like a 50 or 200 EMA) to avoid trading against the main trend.
Disclaimer: This script is for informational and educational purposes only. It does not constitute financial advice or a recommendation to buy or sell any asset. All trading decisions are solely your responsibility. Use at your own risk.
Stochastic Z-Score [AlgoAlpha]🟠 OVERVIEW
This indicator is a custom-built oscillator called the Stochastic Z-Score , which blends a volatility-normalized Z-Score with stochastic principles and smooths it using a Hull Moving Average (HMA). It transforms raw price deviations into a normalized momentum structure, then processes that through a stochastic function to better identify extreme moves. A secondary long-term momentum component is also included using an ALMA smoother. The result is a responsive oscillator that reacts to sharp imbalances while remaining stable in sideways conditions. Colored histograms, dynamic oscillator bands, and reversal labels help users visually assess shifts in momentum and identify potential turning points.
🟠 CONCEPTS
The Z-Score is calculated by comparing price to its mean and dividing by its standard deviation—this normalizes movement and highlights how far current price has stretched from typical values. This Z-Score is then passed through a stochastic function, which further refines the signal into a bounded range for easier interpretation. To reduce noise, a Hull Moving Average is applied. A separate long-term trend filter based on the ALMA of the Z-Score helps determine broader context, filtering out short-term traps. Zones are mapped with thresholds at ±2 and ±2.5 to distinguish regular momentum from extreme exhaustion. The tool is built to adapt across timeframes and assets.
🟠 FEATURES
Z-Score histogram with gradient color to visualize deviation intensity (optional toggle).
Primary oscillator line (smoothed stochastic Z-Score) with adaptive coloring based on momentum direction.
Dynamic bands at ±2 and ±2.5 to represent regular vs extreme momentum zones.
Long-term momentum line (ALMA) with contextual coloring to separate trend phases.
Automatic reversal markers when short-term crosses occur at extremes with supporting long-term momentum.
Built-in alerts for oscillator direction changes, zero-line crosses, overbought/oversold entries, and trend confirmation.
🟠 USAGE
Use this script to track momentum shifts and identify potential reversal areas. When the oscillator is rising and crosses above the previous value—especially from deeply negative zones (below -2)—and the ALMA is also above zero, this suggests bullish reversal conditions. The opposite holds for bearish setups. Reversal labels ("▲" and "▼") appear only when both short- and long-term conditions align. The ±2 and ±2.5 thresholds act as momentum warning zones; values inside are typical trends, while those beyond suggest exhaustion or extremes. Adjust the length input to match the asset’s volatility. Enable the histogram to explore underlying raw Z-Score movements. Alerts can be configured to notify key changes in momentum or zone entries.
My Ultimate Reversal Probability Signal (Adaptive)Adaptive indicator combining RSI, T3, ZigZag, Torben, TDI, POB, and reversal probability (credit to original Author) to identify potential trend reversals with customizable settings.
My Ultimate Reversal Probability Signal (Adaptive)
Overview:
This advanced technical indicator is designed to help traders identify potential trend reversals by combining multiple analytical methods into a single, customizable tool. It integrates adaptive RSI, T3 Moving Average, ZigZag Multi-Scale, Torben Moving Median, Trend Direction Index (TDI), Point of Balance (POB) Oscillator, and a Trend Reversal Probability model. The indicator provides clear visual signals and a detailed table for real-time market analysis, making it suitable for traders of all experience levels.
Key Features:
Adaptive RSI: Dynamically adjusts RSI length based on market volatility, with customizable min/max lengths (5–50).
T3 Moving Average: Smooths price data with adaptive length (5–50) for trend detection.
ZigZag Multi-Scale: Identifies key swing points with adaptive length (3–20) and plots an average line.
Torben Moving Median: Provides robust trend bands using a median-based approach (5–50).
Trend Direction Index (TDI): Assesses future trend direction with adaptive length (3–7) and ADX integration.
Point of Balance (POB) Oscillator: Measures market equilibrium with adaptive length (5–50).
Trend Reversal Probability: Estimates reversal likelihood using a statistical model based on SMA crossovers.
Reversal Zones: Highlights overbought/oversold conditions with RSI-based zones (default: 70/30).
Future Trend Visualization: Projects potential price movements using volume delta analysis.
Comprehensive Table: Displays real-time values for RSI length, T3 length, ZigZag length, Torben length, TDI length, POB length, Delta1, and reversal probability.
Backtesting Metrics: Tracks win rate, profit factor, and total trades within a user-defined date range.
Customizable Settings: Extensive input options for enabling/disabling components, adjusting lengths, and tweaking volatility influence.
How It Works:
The indicator combines multiple signals to generate buy/sell conditions, visualized as upward (▲) or downward (▼) arrows on the chart. Each component (RSI, T3, etc.) can be enabled or disabled via the settings panel, allowing traders to tailor the tool to their strategy. The adaptive lengths adjust dynamically based on market conditions, ensuring relevance across different timeframes and assets. A table in the bottom-left corner provides a snapshot of key metrics, including the newly added Delta1 (volume delta for the first period), enhancing decision-making.
Usage Tips:
Timeframes: Works on any timeframe, but higher timeframes (e.g., 1H, 4H, Daily) may reduce noise.
Assets: Suitable for stocks, forex, cryptocurrencies, and commodities.
Confirmation: Combine with price action or other indicators for stronger signals.
Settings: Adjust RSI overbought/oversold levels (default 70/30) and enable/disable components to match your trading style.
Backtesting: Use the built-in win rate and profit factor metrics to evaluate performance within a custom date range.
Settings:
Main Settings: ATR period (14), RSI length (min 5, max 50, default 14).
Signal Filtering: Enable/disable T3, ZigZag, VolDelta, Torben, TDI, POB, Reversal Probability, and Reversal Zones.
T3 Settings: Adaptive/static length (5–50), volume factor (0.7), volatility influence (0.3).
VolDelta Settings: Adaptive/static length (3–20), volatility influence (0.3).
Torben Settings: Adaptive/static length (5–50), volatility influence (0.3).
Trend Reversal Settings: Adaptive/static length (5–50), SMA periods (5/34).
TDI Settings: Adaptive/static length (3–7), ATR/ADX periods (14), smoothing factor (0.5).
POB Settings: Adaptive/static length (5–50), volatility influence (0.3).
Colors: Customize up/down colors and volatility band display.
Backtest Date Range: Set start/end dates for performance metrics.
Visual Elements:
Plots: T3 line, ZigZag average line, Torben bands, volatility bands, reversal zones.
Shapes: Buy (▲) and sell (▼) signals, T3 crossover markers (🞛).
Boxes: Volume delta-based future trend boxes (drawn on the last bar).
Table: Displays adaptive lengths, Delta1, and reversal probability.
Labels: Optional reversal labels for overbought/oversold conditions.
Intended Audience:
Day traders seeking precise reversal signals.
Swing traders analyzing multi-timeframe trends.
Technical analysts combining multiple indicators.
Beginners learning adaptive indicator mechanics.
Disclaimer:
This indicator is for educational and analytical purposes only. It does not guarantee profits or predict future market movements. Always conduct your own research, use proper risk management, and consider market conditions before trading. The author is not responsible for any financial losses incurred.
Feedback:
I welcome your feedback and suggestions to improve this indicator. Please share your experience in the comments or contact me directly. Happy trading!
Supertrend with ADX & MTF MA Filter# **Supertrend with ADX & MTF MA Filter - Comprehensive Explanation**
---
## **1. Purpose of This Indicator**
This indicator combines three powerful technical analysis tools to create a robust trading system:
✅ **Supertrend** (Trend-following)
✅ **ADX Filter** (Trend strength confirmation)
✅ **MTF MA Filter** (Multi-timeframe trend direction confirmation)
**Primary Goals:**
✔ **Identify high-probability trend reversals** with confirmation from multiple indicators
✔ **Filter out weak trends** using ADX (Average Directional Index)
✔ **Add higher timeframe context** with MTF (Multi-TimeFrame) Moving Average
✔ **Reduce false signals** by requiring confluence between all three components
---
## **2. Core Logic & Components**
### **A. Supertrend (Base Indicator)**
- **Calculation:**
```pine
up = hl2 - (Multiplier * ATR(Periods))
dn = hl2 + (Multiplier * ATR(Periods))
```
- **Bullish trend** when price > `up` (green line)
- **Bearish trend** when price < `dn` (red line)
- **Why Supertrend?**
- Simple yet effective trend-following system
- Adapts to volatility via ATR (Average True Range)
---
### **B. ADX Filter (Trend Strength Confirmation)**
- **ADX Calculation:**
```pine
= calcADX(adxLength, adxSmoothing)
strongTrend = adxVal >= adxThreshold
```
- **ADX > Threshold (Default: 20)** = Strong trend
- **DI+ > DI-** = Bullish momentum
- **DI- > DI+** = Bearish momentum
- **Why ADX?**
- Avoids trading in choppy markets (low ADX = weak trend)
- Confirms if Supertrend signals occur in a strong trend
---
### **C. MTF MA Filter (Higher Timeframe Trend Alignment)**
- **Moving Average Calculation:**
```pine
= getMA(maSource, maLength, maType, maTF)
```
- **MA Type:** SMA, EMA, WMA, or DEMA
- **Timeframe:** Any (1m, 5m, 1H, 4H, D, W, M)
- **Trend Direction:**
- **Buy Signal:** MA must be **rising**
- **Sell Signal:** MA must be **falling**
- **Why MTF MA?**
- Aligns trades with the **higher timeframe trend**
- Reduces counter-trend entries
---
## **3. How to Use This Indicator**
### **A. Buy Conditions (All Must Be True)**
1. **Supertrend turns bullish** (price crosses above `up` line)
2. **ADX ≥ Threshold** (trend is strong)
3. **Higher timeframe MA is rising** (confirms bullish bias)
### **B. Sell Conditions (All Must Be True)**
1. **Supertrend turns bearish** (price crosses below `dn` line)
2. **ADX ≥ Threshold** (trend is strong)
3. **Higher timeframe MA is falling** (confirms bearish bias)
### **C. Recommended Settings**
| Parameter | Recommended Value | Description |
|-----------|------------------|-------------|
| **ATR Period** | 14 | Sensitivity of Supertrend |
| **Multiplier** | 1.5-3.0 | Adjust for volatility |
| **ADX Threshold** | 20-25 | Higher = stricter trend filter |
| **MA Length** | 20-50 | Smoothness of trend filter |
| **MA Timeframe** | 1H/D | Align with trading style |
---
## **4. Trading Strategies**
### **A. Trend-Following Strategy**
- **Enter:** When all 3 conditions align (Supertrend + ADX + MA)
- **Exit:** When Supertrend flips or ADX drops below threshold
### **B. Pullback Strategy**
- **Wait for:**
- Supertrend in trend direction
- ADX remains strong
- MA still aligned
- **Enter:** On pullback to Supertrend line
### **C. Multi-Timeframe Confirmation**
- **Intraday traders:** Use 4H/D MA for trend bias
- **Swing traders:** Use D/W MA for trend bias
---
## **5. Advantages Over Standard Supertrend**
✔ **Fewer false signals** (ADX filters weak trends)
✔ **Higher timeframe alignment** (avoids trading against larger trends)
✔ **Customizable MA types** (SMA, EMA, WMA, DEMA)
✔ **Works on all markets** (stocks, forex, crypto)
---
### **Final Thoughts**
This indicator is designed for traders who want **high-confidence trend signals** by combining:
🔹 **Supertrend** (entry trigger)
🔹 **ADX** (trend strength filter)
🔹 **MTF MA** (higher timeframe trend alignment)
By requiring all three components to align, it significantly improves signal quality compared to standalone Supertrend systems.
**→ Best for:** Swing trading, trend-following, and avoiding choppy markets.
Lorentzian Theory Classifier🧮 Lorentzian Theory Classifier: An Observatory for Market Spacetime
Transcend the flat plane of traditional charting. Enter the curved, dynamic reality of market spacetime. The Lorentzian Theory Classifier (LTC) is not an indicator; it is a computational observatory. It is an instrument engineered to decode the geometry of market behavior, revealing the hidden curvatures and resonant frequencies that precede significant turning points.
We discard the outdated tools of Euclidean simplicity and embrace a more profound truth: financial markets, much like the cosmos described by general relativity, are governed by a fabric that is warped by the mass of participation and the energy of volatility. The LTC is your lens to perceive this fabric, to move beyond predicting lines on a chart and begin reading the very architecture of probability.
The Resonance Manifold: Standard Euclidean models search for historical analogues within a rigid sphere, missing the crucial outliers that define market extremes. The LTC's Lorentzian Resonance engine operates in a curved, non-Euclidean space, allowing it to connect with these "fat-tail" events—the true genesis points of major reversals.
🌌 THE THEORETICAL FRAMEWORK: A new Grand Unified Theory of Market Analysis
The LTC is built upon a revolutionary synthesis of concepts from special relativity, quantum mechanics, and information theory. It reframes market analysis not as a problem of forecasting, but as a problem of state recognition in a non-Euclidean manifold.
1. The Lorentzian Kernel: The Mathematics of Reality
Financial markets are not Gaussian. Their reality is one of "fat tails"—sudden, high-impact events that standard models dismiss as anomalies. The LTC acknowledges this reality by using the mathematically pure and robust Lorentzian kernel as its core engine:
Similarity(x, y) = 1 / (1 + (||x − y||² / γ²))
||x − y||²: The squared distance between the current market state (x) and a historical state (y) in our 8-dimensional feature space.
γ (Gamma): A dynamic bandwidth parameter, our "Lorentz factor," which adapts to market entropy (chaos). In calm markets, gamma is small, demanding precise resonance. In chaotic markets, gamma expands, intelligently seeking broader patterns.
This heavy-tailed function is revolutionary. It correctly assigns profound significance to the rare, extreme events that truly define market structure, while gracefully tuning out the noise of mundane price action. It doesn't just calculate; it understands context.
2. The 8-Dimensional State Vector: The Market's Quantum Fingerprint
To achieve a holistic view, the LTC projects the market onto an 8-dimensional Hilbert space, where each dimension represents a critical "observable":
Momentum & Acceleration (f_rsi, f_roc): The market's velocity and its rate of change.
Cyclical Position (f_stoch, f_cci): The market's location within its recent oscillation cycles.
Energy & Participation (f_vol, f_cor): The force of capital flow and its harmony with price.
Chaos & Uncertainty (f_ent, f_mom): The degree of randomness and the standardized force of price changes.
These are not eight separate indicators. They are entangled properties of a single "market wavefunction." The LTC's genius lies in measuring the geometric distance between these complete quantum states.
3. The k-NN Oracle: A Council of Past Universes
The LTC employs a k-Nearest Neighbors algorithm, but in our curved Lorentzian spacetime. It poses a constant, profound question: " Which moments in history are most geometrically congruent to the present moment across all eight dimensions? "
It then summons a "council" of these historical neighbors. Each neighbor's future outcome (did price ascend or descend?) casts a vote, weighted by its resonant similarity. The result is a probabilistic forecast of stunning clarity:
Prognosis: The final weighted consensus on future direction.
Assurance: The degree of unanimity within the council—a direct measure of the prediction's confidence.
The Funnel of Conviction: The LTC's process is a rigorous distillation of information. Raw, chaotic market data is resolved into a clean 8-dimensional state vector. The Lorentzian Kernel filters these states for resonance, which are then passed to the k-NN Oracle for a vote. Noise is eliminated at each stage, resulting in a single, validated, high-conviction signal.
⚙️ THE COMMAND CONSOLE: A Guide to Calibrating Your Observatory
Mastering the LTC's inputs is to become an architect of your own analytical universe. Each parameter is a dial that tunes the observatory's focus, from galactic structures to subatomic fluctuations. The tooltips in-script—over 6,000 words of documentation—provide immediate reference; this guide provides the philosophy.
A summarized guide to the Core, Signal, Supreme, and Visual controls is included directly in the indicator's code and tooltips. We encourage all users to explore these settings to tune the LTC to their unique analytical style.
🏆 THE SUPREME DASHBOARD: Your Mission Control
The dashboard is not a data table; it is your command interface with market reality. It translates the intricate dance of probabilities and vectors into clear, actionable intelligence.
⚡ ORACLE STATUS
Prognosis: The primary directional vector. Its color, magnitude, and emoji (⚡) reveal the strength and conviction of the Oracle's forward guidance.
Assurance: A real-time gauge of prediction quality, from "LOW" (high uncertainty) to "ELITE" (overwhelming statistical consensus). Interpret this as your core risk metric: trade with conviction when Assurance is ELITE; trade with caution when it is LOW.
🔮 RESONANCE ANALYSIS
Chaos: A direct measurement of market entropy. "LOW CHAOS" signifies a predictable, orderly regime. "HIGH CHAOS" is a warning of randomness and unpredictability, where trend-following logic may fail.
Turbulence: A measure of raw volatility. When the market is "TURBULENT," expect wider price swings and increased risk. Use this metric to adjust stop-loss distances and profit targets dynamically.
🏆 PERFORMANCE & ⚔️ GUARD METRICS
These sections provide illustrative statistics on the script's recent historical behavior. Metrics like Yield Ratio and Guard Index offer a quick heuristic on the prevailing risk-reward environment. Crucially, these are for observational context only and are not a substitute for your own rigorous testing and analysis.
🎨 THE VISUAL MANIFESTATION: Charting the Unseen
The LTC's visuals are designed to transform your chart from a 2D price graph into a 4D informational battlespace.
The Dynamic Aura (Background Color): This is the ambient energy field of the market. A luminous green (Ascend) signifies a bullish resonance field; a deep red (Descend) indicates bearish pressure.
The Assurance Shroud (Blue Bands): A visualization of confidence. When the shroud is wide and expansive , the Oracle's vision is clear and its predictions are robust.
The Prognosis Arc (Curved Line): A geodesic projection of the market's most likely path, based on the current Prognosis.
The Turbulence Cloud (Orange Mist): A visual warning system for market chaos. When this entropic mist expands , it is a clear sign that you are navigating a nebula of high unpredictability.
Oracle Markers (▲▼): The final, validated signals. These are not merely pivot points. They are moments in spacetime where a structural pivot has been confirmed and then ratified by a high-conviction vote from the Lorentzian Oracle. They are the pinnacles of confluence.
The Analyst's Observatory: The LTC transforms your chart into a command center for market analysis, providing a complete, at-a-glance view of market state, risk, and probabilistic trajectory.
🔧 THE ARCHITECT'S VISION: From a Blank Slate to a New Cosmos
The LTC was not assembled; it was derived. It began not with code, but with first principles, asking: "If we were to build an instrument to measure the market today, unbound by the technical dogmas of the 20th century, what would it look like?" The answer was clear: it must be multi-dimensional, it must be adaptive, and it must be built on a mathematical framework that respects the "fat-tailed" nature of reality.
The decision to use a pure Lorentzian kernel was non-negotiable. It represented a commitment to intellectual honesty over computational ease. The development of the Supreme Dashboard was driven by the philosophy of the "glass cockpit"—a belief that a trader's greatest asset is not a black box signal, but a transparent and intuitive flow of high-quality information. This script is the result of that unwavering vision: to create not just another indicator, but a new lens through which to perceive the market.
⚠️ RISK DISCLOSURE & PHILOSOPHY OF USE
The Lorentzian Theory Classifier is an instrument of profound analytical power, intended for the serious, discerning trader. It does not generate infallible signals. It generates high-probability, data-driven hypotheses based on a rigorous and transparent methodology. All trading involves substantial risk, and the future is fundamentally unknowable. Past performance, whether real or simulated, is no guarantee of future results. Use this tool to augment your own skill, to confirm your own analysis, and to manage your own risk within a well-defined trading plan.
"The effort to understand the universe is one of the very few things that lifts human life a little above the level of farce, and gives it some of the grace of tragedy."
— Steven Weinberg, Nobel Laureate in Physics
Trade with rigor. Trade with perspective. Trade with enlightenment. Trade with insight. Trade with anticipation.
— Dskyz, for DAFE Trading Systems
Synthetic VX3! & VX4! continuous /VX futuresTradingView is missing continuous 3rd and 4th month VIX (/VX) futures, so I decided to try to make a synthetic one that emulates what continuous maturity futures would look like. This is useful for backtesting/historical purposes as it enables traders to see how their further out VX contracts would've performed vs the front month contract.
The indicator pulls actual realtime data (if you subscribe to the CBOE data package) or 15 minute delayed data for the VIX spot (the actual non-tradeable VIX index), the continuous front month (VX1!), and the continuous second month (VX2!) continually rolled contracts. Then the indicator's script applies a formula to fairly closely estimate how 3rd and 4th month continuous contracts would've moved.
It uses an exponential mean‑reversion to a long‑run level formula using:
σ(T) = θ+(σ0−θ)e−kT
You can expect it to be off by ~5% or so (in times of backwardation it might be less accurate).
Signalgo BBSignalgo BB: Technical Overview
Signalgo BB is a Bollinger Bands (BB) indicator for TradingView, designed to provide a multi-dimensional view of volatility, trend, and trading opportunities within a single overlay. Below is a detailed, impartial explanation of its workings, inputs, and trading logic.
Core Mechanics
Signalgo BB operates on the principle of nested volatility bands and moving averages. It calculates:
Fast & Slow Bands: Two sets of Bollinger Bands (BB), using different moving average types (EMA or SMA), lengths, and standard deviation multipliers.
Volatility Cloud: A dynamic visual layer indicating when price is inside both, one, or neither band.
Filtering: A short-term RSI is used to confirm trend direction and filter out weak signals.
Inputs & Components
MA Type: Choice between EMA, SMA for both fast and slow MA calculations.
Fast/Slow Lengths
Fast/Slow Deviations
RSI Length/Thresholds
Show Cloud: Toggle for the visual volatility cloud.
Signal Mode: Band Break.
Prevent Repeated Signals: Option to suppress duplicate signals in the same direction.
TP/SL & Trailing Logic: Advanced, automated trade management with ATR-based distances, three take-profit levels, and a dynamic trailing stop.
Signal Generation
Band Break: Triggers when price crosses the fast BB band.
RSI Filter: All signals require RSI confirmation.
Prevent Repeated Signals: Optionally only marks the first breakout in a series to reduce overtrading.
Entry/Exit Marks: Labels are plotted for visual clarity, and signals can trigger TradingView alerts.
Trade Management
Stop Loss (SL): Set at a multiple of ATR from the entry price, adapting to current volatility.
Take Profits (TP1, TP2, TP3): Three levels scaled by risk-reward ratios, supporting partial exits.
Trailing Stop: After the first TP is hit, SL moves to breakeven and then trails at a user-defined multiple of ATR, locking in further gains.
Event Markers: Each TP, SL, and trailing stop event is labeled on the chart.
Direction State: The indicator tracks active trades, allowing for only one open position per direction at a time.
Cloud Visualization: The background color changes depending on whether price is inside both, one, or no bands, making it easier to visualize market conditions.
Multiple Signal Logics: It doesn’t just look at breakouts, it includes cloud crossings, mean reversion, and a choice of how to combine them.
Rigorous Filtering: Signals require RSI trend confirmation, reducing false entries during weak phases.
Automated Trade Management: Built-in TP/SL and trailing logic, dynamically adapting to volatility.
Signal Suppression: Option to prevent repeated signals, reducing noise and overtrading.
Customizable MA Types: Supports EMA, SMA, and a selection algorithm for future expansion.
Trading Strategy Application
Volatility Regimes: The cloud’s color indicates whether price is inside, between, or outside the bands, helping traders identify trending, ranging, or breakout conditions.
Signals: entries can be based on breakouts filtered by RSI trend strength.
Risk Management: All active trades are managed by TP/SL logic, trailing stops after TP1, and visual feedback on exits.
Visual Alerts: Both signals and TP/SL events are marked on the chart for manual review.
Flexibility: Users can switch modes or suppress repeated signals as needed, depending on trading style.
Practical Usage
Intraday to Swing: Suitable for timeframes from minutes to days, depending on the MA periods and volatility profile.
Manual or Automated: The visual overlay and alerts support both manual trading and automated strategies.
Education & Review: The colored cloud and event markers make it easy to review past price action and learn from signals.
What separates this indicator from traditional ones:
1. Dual Bollinger Bands
Traditional: Most indicators use a single set of Bollinger Bands (two standard deviations above/below a moving average).
Signalgo BB: Implements two sets of bands—a "fast" set (shorter moving average, narrower deviation) and a "slow" set (longer moving average, wider deviation). This provides both immediate (fast) and broader context (slow) for volatility and price action.
2. Volatility Cloud Visualization
Traditional: Standard Bollinger Bands display as two lines, with the area between sometimes shaded as a "band" but without dynamic color changes.
Signalgo BB: The background is colored differently depending on whether price is within both, one, or neither band, offering a visual "cloud" that distinguishes trending, ranging, or breakout regimes at a glance.
3. RSI Filtering
Traditional: Many indicators either don’t filter signals, or if they do, it’s not always configurable.
Signalgo BB: Adds an optional RSI filter, requiring signals to be confirmed by short-term RSI overbought/oversold conditions. This reduces false signals in range-bound or low-trend environments.
4. Prevention of Repeated Signals
Traditional: Most indicators will keep firing signals as long as conditions are met, which can cause overtrading.
Signalgo BB: Offers a user-toggleable option to suppress repeated signals in the same direction until the opposite signal occurs. This reduces noise for discretionary traders.
5. Integrated Trade Management
Traditional: Manual or separate coding is required for stop-loss, take-profit, and trailing stop logic.
Signalgo BB: Builds in dynamic, ATR-based stop-loss; up to three take-profit levels and a trailing stop that activates after the first TP is hit. All levels are visually plotted on the chart, and events (TP/SL hits) are labeled, aiding strategy review and automation.
6. Event Labeling and Alerts
Traditional: Alerts may exist for entry/exit, but rarely for each TP/SL event.
Signalgo BB: Places labels for every entry, exit, and TP/SL event. It also provides TradingView alertconditions for each event, enabling automated notifications or integration with trading bots.
7. Directional State Tracking
Traditional: Indicators typically do not track the "state" of a trade (e.g., active long/short/flat) beyond simple signals.
Signalgo BB: Maintains persistent variables for entry price, SL, TP, trailing stop, and trade direction, ensuring only one active signal per direction. This prevents overlapping entries and mimics realistic trade management.
8. User Customization
Traditional: Default settings are often hardcoded, or customization is limited.
Signalgo BB: Offers extensive user inputs for MA type and TP/SL logic—making the tool adaptable to many strategies and timeframes.
Beta calculatorCalculates the market beta for the stock that is on your screen. You may change the parameters by changing the symbol you are using as benchmark to calculate market beta in the settings. This will affect the market beta you get. VTI is used since it has a theoretical market beta of 1.
Squeeze Pro Momentum BAR color - KLTDescription:
The Squeeze Pro Momentum indicator is a powerful tool designed to detect volatility compression ("squeeze" zones) and visualize momentum shifts using a refined color-based system. This script blends the well-known concepts of Bollinger Bands and Keltner Channels with an optimized momentum engine that uses dynamic color gradients to reflect trend strength, direction, and volatility.
It’s built for traders who want early warning of potential breakouts and clearer insight into underlying market momentum.
🔍 How It Works:
📉 Squeeze Detection:
This indicator identifies "squeeze" conditions by comparing Bollinger Bands and Keltner Channels:
When Bollinger Bands are inside Keltner Channels → Squeeze is ON
When Bollinger Bands expand outside Keltner Channels → Squeeze is OFF
You’ll see squeeze zones classified as:
Wide
Normal
Narrow
Each represents varying levels of compression and breakout potential.
⚡ Momentum Engine:
Momentum is calculated using linear regression of the price's deviation from a dynamic average of highs, lows, and closes. This gives a more accurate representation of directional pressure in the market.
🧠 Smart Candle Coloring (Optimized):
The momentum color logic is inspired by machine learning principles (no hardcoded thresholds):
EMA smoothing and rate of change (ROC) are used to detect momentum acceleration.
ATR-based filters help remove noise and false signals.
Colors are dynamically assigned based on both direction and trend strength.
🧪 How to Use It:
Look for Squeeze Conditions — especially narrow squeezes, which tend to precede high-momentum breakouts.
Confirm with Momentum Color — strong colors often indicate trend continuation; fading colors may signal exhaustion.
Combine with Price Action — use this tool with support/resistance or patterns for higher probability setups.
Recommended For:
Trend Traders
Breakout Traders
Volatility Strategy Users
Anyone who wants visual clarity on trend strength
📌 Tip: This indicator works great when layered with volume and price action patterns. It is fully non-repainting and supports overlay on price charts.
SFC Indicator_2507使用說明書 / User Manual
═══════════════════════════════════════════════════════════════════════════════
概述 / Overview
繁體中文:
SFC Indicator 是一個多功能技術分析指標,整合了布林通道、移動平均線、真實波幅均值(ATR)、箱型理論以及 Bollinger Bandit 策略。此指標專為 TradingView 平台設計,提供全面的交易信號與風險管理工具。
English:
SFC Indicator is a comprehensive technical analysis indicator that integrates Bollinger Bands, Moving Averages, Average True Range (ATR), Box Theory, and Bollinger Bandit strategy. Designed for the TradingView platform, it provides comprehensive trading signals and risk management tools.
═══════════════════════════════════════════════════════════════════════════════
主要功能 / Key Features
1. 布林通道 (Bollinger Bands)
繁體中文:
- 支援雙標準差設定 (σ1, σ2)
- 預設週期:21
- 提供上軌、中軌、下軌顯示
- 自動生成買賣信號
English:
- Supports dual standard deviation settings (σ1, σ2)
- Default period: 21
- Displays upper, middle, and lower bands
- Automatic buy/sell signal generation
2. 移動平均線 (Moving Averages)
繁體中文:
- 三條可配置的移動平均線:快線(10)、中線(20)、慢線(60)
- 支援 SMA 和 EMA 切換
- 自定義顏色設定
English:
- Three configurable moving averages: Fast (10), Medium (20), Slow (60)
- Supports SMA and EMA switching
- Customizable color settings
3. 真實波幅均值 (Average True Range - ATR)
繁體中文:
- 預設週期:14
- 支援多種平滑方式:RMA、SMA、EMA、WMA
- 動態止損計算
- 風險管理工具
English:
- Default period: 14
- Multiple smoothing methods: RMA, SMA, EMA, WMA
- Dynamic stop-loss calculation
- Risk management tool
4. 箱型理論 (Box Theory)
繁體中文:
- 自動識別價格區間
- 視覺化箱型範圍
- 突破信號提示
English:
- Automatic price range identification
- Visual box range display
- Breakout signal alerts
5. Bollinger Bandit 策略
繁體中文:
- 動態追蹤止損
- ROC (變動率) 確認
- 自適應平倉機制
English:
- Dynamic trailing stop
- ROC (Rate of Change) confirmation
- Adaptive position closing mechanism
═══════════════════════════════════════════════════════════════════════════════
參數設定 / Parameter Settings
布林通道設定 / Bollinger Bands Settings
- 布林通道均線週期 BB Period: 21 (計算週期)
- 標準差 σ1: 1 (第一標準差倍數)
- 標準差 σ2: 2 (第二標準差倍數)
移動平均線設定 / Moving Average Settings
- 快線 Fast MA: 10 (短期移動平均)
- 中線 Medium MA: 20 (中期移動平均)
- 慢線 Slow MA: 60 (長期移動平均)
- 使用 EMA: false (切換至指數移動平均)
ATR 設定 / ATR Settings
- 週期 Period: 14 (ATR 計算週期)
- 平滑方式 Smoothing: RMA (平滑算法選擇)
Bollinger Bandit 設定 / Bollinger Bandit Settings
- 布林通道週期 BB Period: 50 (Bandit 策略布林週期)
- 初始平倉均線週期 Initial Exit MA: 50 (初始止損均線週期)
- ROC 週期 ROC Period: 30 (變動率計算週期)
箱型理論設定 / Box Theory Settings
- 箱型週期 Box Period: 21 (價格區間計算週期)
═══════════════════════════════════════════════════════════════════════════════
交易信號說明 / Trading Signals
布林通道信號 / Bollinger Bands Signals
繁體中文:
- 做多信號:價格連續 X 根 K 棒低於下軌後,突破下軌向上
- 做空信號:價格連續 X 根 K 棒高於上軌後,跌破上軌向下
- 止盈目標:上軌 (Profit1) 和上 2 軌 (Profit2) 或下軌和下 2 軌
- 止損點:下 2 軌減去 ATR 值或上 2 軌加上 ATR 值
English:
- Buy Signal: Price crosses above lower band after staying below for X consecutive bars
- Sell Signal: Price crosses below upper band after staying above for X consecutive bars
- Take Profit: Upper band (Profit1) and upper 2σ band (Profit2) or lower equivalents
- Stop Loss: Lower 2σ band minus ATR value or upper 2σ band plus ATR value
Bollinger Bandit 信號 / Bollinger Bandit Signals
繁體中文:
- 做多條件:ROC > 0 且價格突破 Bandit 上軌
- 做空條件:ROC < 0 且價格跌破 Bandit 下軌
- 動態止損:使用自適應移動平均線作為追蹤止損
English:
- Buy Condition: ROC > 0 and price breaks above Bandit upper band
- Sell Condition: ROC < 0 and price breaks below Bandit lower band
- Dynamic Stop: Uses adaptive moving average as trailing stop
═══════════════════════════════════════════════════════════════════════════════
視覺元素說明 / Visual Elements
圖表元素 / Chart Elements
- 綠色三角形 ▲:做多信號 (Buy Signal)
- 紅色倒三角形 ▼:做空信號 (Sell Signal)
- 橘色線:動態止損均線 (Dynamic Stop Loss MA)
- 藍色圓點:ROC > 0 (向上動能 / Upward Momentum)
- 橘色圓點:ROC < 0 (向下動能 / Downward Momentum)
資訊面板 / Information Panel
繁體中文:
右上角顯示即時交易資訊,包含:
- 當前交易方向 (做多/做空/空手)
- 進場價格 (Entry)
- 止損價格 (Loss)
- 止盈目標 1 和 2 (Profit1, Profit2)
- Bandit 上下軌價格 (Upper, Lower)
- 動態止損線數值 (Dynamic)
English:
Top-right panel displays real-time trading information:
- Current position (Long/Short/Flat)
- Entry price
- Stop-loss price
- Take-profit targets 1 and 2
- Bandit upper/lower band prices
- Dynamic stop-loss line value
═══════════════════════════════════════════════════════════════════════════════
使用建議 / Usage Recommendations
最佳實踐 / Best Practices
繁體中文:
1. 多時間框架確認:建議在更高時間框架確認趨勢方向
2. 風險管理:嚴格遵守止損設定,建議單筆風險不超過資金的2%
3. 信號過濾:結合ROC指標過濾假信號
4. 市場環境:在趨勢明確的市場中效果較佳
5. 回測驗證:使用前請先進行充分的歷史回測
English:
1. Multi-timeframe Confirmation: Confirm trend direction on higher timeframes
2. Risk Management: Strictly follow stop-loss settings, limit single trade risk to 2% of capital
3. Signal Filtering: Use ROC indicator to filter false signals
4. Market Conditions: Works best in trending markets
5. Backtesting: Conduct thorough historical backtesting before use
適用市場 / Suitable Markets
- 股票 Stock Markets
- 外匯 Forex Markets
- 期貨 Futures Markets
- 加密貨幣 Cryptocurrency Markets
═══════════════════════════════════════════════════════════════════════════════
警示設定 / Alert Settings
繁體中文:
指標內建兩種警示功能:
- 做多信號警示:「做多訊號,來也!!!」
- 做空信號警示:「做空訊號,來也!!!」
可在 TradingView 中設定價格警示,當信號出現時自動通知。
English:
Built-in alert functions:
- Buy signal alert: "做多訊號,來也!!!" (Buy Signal Alert!)
- Sell signal alert: "做空訊號,來也!!!" (Sell Signal Alert!)
Set up price alerts in TradingView for automatic notifications when signals occur.
═══════════════════════════════════════════════════════════════════════════════
技術資訊 / Technical Information
指標作者 / Indicator Author: @lincheng_SFC
版本 / Version: Pine Script v6
授權 / License: Mozilla Public License 2.0
發布平台 / Platform: TradingView
═══════════════════════════════════════════════════════════════════════════════
免責聲明 / Disclaimer
繁體中文:
本指標僅供教育和分析用途,不構成投資建議。交易涉及風險,過往表現不代表未來結果。請在使用前進行充分測試,並根據個人風險承受能力謹慎投資。
English:
This indicator is for educational and analytical purposes only and does not constitute investment advice. Trading involves risks, and past performance does not guarantee future results. Please conduct thorough testing before use and invest carefully according to your risk tolerance.
═══════════════════════════════════════════════════════════════════════════════
聯絡資訊 / Contact Information
作者 Author: @lincheng_SFC
如有問題或建議,歡迎在TradingView上聯繫
For questions or suggestions, feel free to contact on TradingView