Nasan Risk Score & Postion Size Estimator** THE RISK SCORE AND POSITION SIZE WILL ONLY BE CALCUTAED ON DIALY TIMEFRAME NOT IN OTHER TIMEFRAMES.
The typically accepted generic rule for risk management is not to risk more than 1% - 2 % of the capital in any given trade. It has its own basis however it does not take into account the stocks historic & current performance and does not consider the traders performance metrics (like win rate, profit ratio).
The Nasan Risk Score & Position size calculator takes into account all the listed parameters into account and estimates a Risk %. The position size is calculated using the estimated risk % , current ATR and a dynamically adjusted ATR multiple (ATR multiple is adjusted based on true range's volatility and stocks relative performance).
It follows a series of calculations:
Unadjusted Nasan Risk Score = (Min Risk)^a + b*
Min Risk = ( 5 year weighted avg Annual Stock Return - 5 year weighted avg Annual Bench Return) / 5 year weighted avg Annual Max ATR%
Max Risk = ( 5 year weighted avg Annual Stock Return - 5 year weighted avg Annual Bench Return) / 5 year weighted avg Annual Min ATR%
The min and max return is calculated based on stocks excess return in comparison to the Benchmark return and adjusted for volatility of the stock.
When a stock underperforms the benchmark, the default is, it does not calculate a position size , however if we opt it to calculate it will use 1% for Min Risk% and 2% for Max Risk% but all the other calculations and scaling remain the same.
Rationale:
Stocks outperforming their benchmark with lower volatility (ATR%) score higher.
A stock with high returns but excessive volatility gets penalized.
This ensures volatility-adjusted performance is emphasized rather than absolute returns.
Depending on the risk preference aggressive or conservative
Aggressive Risk Scaling: a = max (m, n) and b = min (m, n)
Conservative Scaling: a = min (m, n) and b = max (m, n)
where n = traders win % /100 and m = 1 - (1/ (1+ profit ratio))
A default of 50% is used for win factor and 1.5 for profit ratio.
Aggressive risk scaling increases exposure when the strategy's strongest factor is favorable.
Conservative risk scaling ensures more stable risk levels by focusing on the weaker factor.
The Unadjusted Nasan risk is score is further refined based on a tolerance factor which is based on the stocks maximum annual drawdown and the trader's maximum draw down tolerance.
Tolerance = /100
The correction factor (Tolerance) adjusts the risk score based on downside risk. Here's how it works conceptually:
The formula calculates how much the stock's actual drawdown exceeds your acceptable limit.
If stocks maximum Annual drawdown is smaller than Trader's maximum acceptable drawdown % , this results in a positive correction factor (indicating the drawdown is within your acceptable range and increases the unadjusted score.
If stocks maximum Annual drawdown exceeds Trader's maximum acceptable drawdown %, the correction factor will decrease (indicating that the downside risk is greater than what you are comfortable with, so it will adjust the risk exposure).
Once the Risk Score (numerically equal to Risk %) The position size is calculated based on the current market conditions.
Nasan Risk Score (Risk%) = Unadjusted Nasan Risk Score * Tolerance.
Position Size = (Capital * Risk% )/ ATR-Multiplier * ATR
The ATR Multiplier is dynamically adjusted based on the stocks recent relative performance and the variability of the true range itself. It would range between 1 - 3.5.
The multiplier widens when conditions are not favorable decreasing the position size and increases position size when conditions are favorable.
This Calculation /Estimate Does not give you a very different result than the arbitrary 1% - 2%. However it does fine tune the % based on sock performance, traders performance and tolerance level.
볼래틸리티
BB Session RangesBB Session Ranges Indicator
Overview
The Bender Bot Session Ranges indicator is a powerful tool for traders who want to visualize and analyze important market sessions throughout the trading day. This indicator identifies and tracks price ranges during specific time periods, helping you spot potential trading opportunities based on session breakouts, retests, and range comparisons.
Key Features
• Multiple Session Tracking: Monitor up to 6 different time-based ranges simultaneously (pre-configured for NY AM Open, NY PM Open, Lunch, Premarket, Midnight Open, and a custom session).
• Range Visualization: Clearly displays high and low boundaries for each session with customizable colors and line styles.
• Historical Comparison: Tracks and displays the average size of ranges over time, helping you identify when current ranges are larger or smaller than typical.
• Flexible Time Settings: Easily configure exact session times based on your trading schedule and preferred markets.
• Range Extension Options: Extend range boundaries by bars, days, or weeks to track the longer-term influence of session ranges.
• Sidecar Information Display: Optional labels show range details, including size, percentage of average, and dollar value.
How It Works
The indicator identifies specific time-based sessions (for example, the first 5 minutes of the NY market open) and tracks the high and low prices established during these periods. Once a session is complete, the range boundaries are plotted on your chart and can be extended for further analysis. The indicator calculates the current range size and compares it to historical averages, giving you context for the day’s market behavior.
Sidecar Functionality
The sidecar feature is a key aspect of this indicator that helps keep your charts clean and organized. Instead of cluttering your price action with labels and annotations directly on the ranges, the sidecar system:
• Creates a dedicated information panel offset from the price action.
• Connects to ranges with discreet connecting lines.
• Displays key statistics like range size, dollar value, and percentage of average.
• Can be positioned at custom distances from the main chart (measured in bars).
• Allows you to see important data without interfering with your price analysis.
• Can be completely disabled when you prefer minimal chart elements.
• Helps maintain visual clarity even when tracking multiple sessions simultaneously.
This design philosophy puts trader experience first by separating information display from price action analysis, giving you the best of both worlds: clean charts and detailed information.
Setup Guide
1. Choose Your Sessions: Enable or disable each of the six available ranges by setting the Max Ranges to Plot parameter (use 0 to disable a range).
2. Configure Session Times: Set exact times for each range using standard 24-hour format (for example, 0930-0935 for 9:30-9:35 AM).
3. Customize Display: Select colors, line widths, and information display options for each range.
4. Set Extension Parameters: Choose how far to extend range lines (by a number of bars, days, or weeks, or select Always for continuous extension).
5. Configure Sidecar Labels: Set the offset for the information displays (use 0 to disable sidecar labels entirely).
Trading Applications
• Identify potential support and resistance levels based on session highs and lows.
• Compare current session ranges to historical averages to gauge volatility.
• Look for breakouts from established session ranges.
• Use range extensions to anticipate potential price targets.
• Monitor multiple session ranges to identify pattern correlations.
Advanced Usage
The indicator includes fields that help you assess range size relative to past performance, including dollar value calculations. This can be particularly useful for position sizing and risk management when trading breakouts from these ranges.
Future Development
We’re actively working on expanding this indicator to include robust strategy and alert functionality. This will allow traders to:
• Backtest trading strategies based on session range breakouts and retests.
• Customize entry, exit, and risk management parameters.
• Receive real-time alerts when price interacts with significant range levels.
• Set conditional alerts based on range size compared to historical averages.
• Automate trading decisions based on your specific session-based criteria.
If these strategy and alert features would be valuable for your trading, please let us know in the comments. Your feedback directly influences our development priorities and helps us create tools that best serve the trading community.
Notes
• All times are based on the America/New_York timezone.
• The indicator dynamically adjusts to different timeframes, providing consistent results whether you’re viewing 1-minute or daily charts.
• Range calculations are based on the highs and lows established during the defined sessions.
Low Liquidity Zones [PhenLabs]📊 Low Liquidity Zones
Version: PineScript™ v6
📌 Description
Low Liquidity Zones identifies and highlights periods of unusually low trading volume on your chart, marking areas where price movement occurred with minimal participation. These zones often represent potential support and resistance levels that may be more susceptible to price breakouts or reversals when revisited with higher volume.
Unlike traditional volume analysis tools that focus on high volume spikes, this indicator specializes in detecting low liquidity areas where price moved with minimal resistance. Each zone displays its volume delta, providing insight into buying vs. selling pressure during these thin liquidity periods. This combination of low volume detection and delta analysis helps traders identify potential price inefficiencies and weak structures in the market.
🚀 Points of Innovation
• Identifies low liquidity zones that most volume indicators overlook but which often become significant technical levels
• Displays volume delta within each zone, showing net buying/selling pressure during low liquidity periods
• Dynamically adjusts to different timeframes, allowing analysis across multiple time horizons
• Filters zones by maximum size percentage to focus only on precise price levels
• Maintains historical zones until they expire based on your lookback settings, creating a cumulative map of potential support/resistance areas
🔧 Core Components
• Low Volume Detection: Identifies candles where volume falls below a specified threshold relative to recent average volume, highlighting potential liquidity gaps.
• Volume Delta Analysis: Calculates and displays the net buying/selling pressure within each low liquidity zone, providing insight into the directional bias during low participation periods.
• Dynamic Timeframe Adjustment: Automatically scales analysis periods to match your selected timeframe preference, ensuring consistent identification of low liquidity zones regardless of chart settings.
• Zone Management System: Creates, tracks, and expires low liquidity zones based on your configured settings, maintaining visual clarity on the chart.
🔥 Key Features
• Low Volume Identification: Automatically detects and highlights candles where volume falls below your specified threshold compared to the moving average.
• Volume Delta Visualization: Shows the net volume delta within each zone, providing insight into whether buyers or sellers were dominant despite the low overall volume.
• Flexible Timeframe Analysis: Analyze low liquidity zones across multiple predefined timeframes or use a custom lookback period specific to your trading style.
• Zone Size Filtering: Filters out excessively large zones to focus only on precise price levels, improving signal quality.
• Automatic Zone Expiration: Older zones are automatically removed after your specified lookback period to maintain a clean, relevant chart display.
🎨 Visualization
• Volume Delta Labels: Each zone displays its volume delta with “+” or “-” prefix and K/M suffix for easy interpretation, showing the strength and direction of pressure during the low volume period.
• Persistent Historical Mapping: Zones remain visible for your specified lookback period, creating a cumulative map of potential support and resistance levels forming under low liquidity conditions.
📖 Usage Guidelines
Analysis Timeframe
Default: 1D
Range/Options: 15M, 1HR, 3HR, 4HR, 8HR, 16HR, 1D, 3D, 5D, 1W, Custom
Description: Determines the historical period to analyze for low liquidity zones. Shorter timeframes provide more recent data while longer timeframes offer a more comprehensive view of significant zones. Use Custom option with the setting below for precise control.
Custom Period (Bars)
Default: 1000
Range: 1+
Description: Number of bars to analyze when using Custom timeframe option. Higher values show more historical zones but may impact performance.
Volume Analysis
Volume Threshold Divisor
Default: 0.5
Range: 0.1-1.0
Description: Maximum volume relative to average to identify low volume zones. Example: 0.5 means volume must be below 50% of the average to qualify as low volume. Lower values create more selective zones while higher values identify more zones.
Volume MA Length
Default: 15
Range: 1+
Description: Period length for volume moving average calculation. Shorter periods make the indicator more responsive to recent volume changes, while longer periods provide a more stable baseline.
Zone Settings
Zone Fill Color
Default: #2196F3 (80% transparency)
Description: Color and transparency of the low liquidity zones. Choose colors that stand out against your chart background without obscuring price action.
Maximum Zone Size %
Default: 0.5
Range: 0.1+
Description: Maximum allowed height of a zone as percentage of price. Larger zones are filtered out. Lower values create more precise zones focusing on tight price ranges.
Display Options
Show Volume Delta
Default: true
Description: Toggles the display of volume delta within each zone. Enabling this provides additional insight into buying vs. selling pressure during low volume periods.
Delta Text Position
Default: Right
Options: Left, Center, Right
Description: Controls the horizontal alignment of the delta text within zones. Adjust based on your chart layout for optimal readability.
✅ Best Use Cases
• Identifying potential support and resistance levels that formed during periods of thin liquidity
• Spotting price inefficiencies where larger players may have moved price with minimal volume
• Finding low-volume consolidation areas that may serve as breakout or reversal zones when revisited
• Locating potential stop-hunting zones where price moved on minimal participation
• Complementing traditional support/resistance analysis with volume context
⚠️ Limitations
• Requires volume data to function; will not work on symbols where the data provider doesn’t supply volume information
• Low volume zones don’t guarantee future support/resistance - they simply highlight potential areas of interest
• Works best on liquid instruments where volume data has meaningful fluctuations
• Historical analysis is limited by the maximum allowed box count (500) in TradingView
• Volume delta in some markets may not perfectly reflect buying vs. selling pressure due to data limitations
💡 What Makes This Unique
• Focus on Low Volume: Unlike some indicators that highlight high volume events particularly like our very own TLZ indicator, this tool specifically identifies potentially significant price zones that formed with minimal participation.
• Delta + Low Volume Integration: Combines volume delta analysis with low volume detection to reveal directional bias during thin liquidity periods.
• Flexible Lookback System: The dynamic timeframe system allows analysis across any timeframe while maintaining consistent zone identification criteria.
• Support/Resistance Zone Generation: Automatically builds a visual map of potential technical levels based on volume behavior rather than just price patterns.
🔬 How It Works
1. Volume Baseline Calculation:
The indicator calculates a moving average of volume over your specified period to establish a baseline for normal market participation. This adaptive baseline accounts for natural volume fluctuations across different market conditions.
2. Low Volume Detection:
Each candle’s volume is compared to the moving average and flagged when it falls below your threshold divisor. The indicator also filters zones by maximum size to ensure only precise price levels are highlighted.
3. Volume Delta Integration:
For each identified low volume candle, the indicator retrieves the volume delta from a lower timeframe. This delta value is formatted with appropriate scaling (K/M) and displayed within the zone.
4. Zone Management:
New zones are created and tracked in a dynamic array, with each zone extending rightward until it expires. The system automatically removes expired zones based on your lookback period to maintain a clean chart.
💡 Note:
Low liquidity zones often represent areas where price moved with minimal participation, which can indicate potential market inefficiencies. These zones frequently become important support/resistance levels when revisited, especially if approached with higher volume. Consider using this indicator alongside traditional technical analysis tools for comprehensive market context. For best results, experiment with different volume threshold settings based on the specific instrument’s typical volume patterns.
Momentum Volatility Ratio | AlphaNattMomentum Volatility Ratio | AlphaNatt
The Momentum Volatility Ratio (MVR) is a sophisticated indicator that measures price impulses relative to an asset's inherent volatility. Unlike standard momentum indicators, MVR adapts to changing market conditions by normalizing momentum against historical volatility patterns, helping traders identify truly significant price movements.
Key Features:
• Adapts automatically to each asset's volatility profile
• Distinguishes between normal market noise and significant impulses
• Beautiful gradient visualization with modern Quantra-inspired aesthetics
• Responsive and clear signals with minimal lag
• Customizable sensitivity and appearance settings
How It Works:
The MVR calculates normalized price momentum and adjusts it by recent volatility metrics. This volatility-adjustment ensures the indicator remains consistent across different market environments and timeframes. When price momentum exceeds what would be expected given the asset's normal volatility, the indicator shows a significant impulse that traders can act upon.
Indicator Components:
• Cyan Histogram/Background - Represents positive momentum impulses
• Magenta Histogram/Background - Represents negative momentum impulses
• Neutral Bands - Define the transition between normal and significant impulses
• Gradient Background - Provides visual context for impulse strength
• Smooth Histogram - Shows the main impulse signal with a beautiful glow effect
Trading Signals:
1. Strong Positive Impulse - When cyan histogram bars grow significantly above the zero line
2. Strong Negative Impulse - When magenta histogram bars extend significantly below the zero line
3. Impulse Weakening - When histogram bars begin to shrink toward the zero line
4. Momentum Shift - When the histogram changes color, indicating a potential trend change
Customizable Parameters:
• Length - Base calculation period for momentum (default: 6)
• Volatility Lookback - Historical period for volatility calculation (default: 100)
• Neutral Bands Length - Smoothing period for neutral bands (default: 15)
• Neutral Bands Multiplier - Controls width of neutral bands (default: 0.5)
• Standard Deviation Lookback - Period for standard deviation calculation (default: 150)
• Standard Deviation Multiplier - Controls sensitivity of extreme bands (default: 2.5)
• Style - Choose between Classic, Modern, and Signal visualization modes
Best Practices:
• Use MVR alongside price action for confirmation
• Watch for extreme readings followed by momentum shifts
• Pay attention to divergences between price and MVR
• Consider longer-term trends when interpreting signals
• Use shorter settings for more frequent signals, longer settings for less noise
About the Opus Series:
The MVR indicator is part of the Opus series of premium-quality technical indicators designed with both functional excellence and aesthetic beauty. Opus indicators feature smooth gradients, crisp visualization, and powerful analytical capabilities to enhance your trading experience.
For questions, feedback, or custom indicator requests, please feel free to leave a comment or contact me directly.
Happy Trading!
Not financial Advice
Long Term Profitable Swing | AbbasA Story of a Profitable Swing Trading Strategy
Imagine you're sailing across the ocean, looking for the perfect wave to ride. Swing trading is quite similar—you're navigating the stock market, searching for the ideal moments to enter and exit trades. This strategy, created by Abbas, helps you find those waves and ride them effectively to profitable outcomes.
🌊 Finding the Perfect Wave (Entry)
Our journey begins with two simple signs that tell us a great trading opportunity is forming:
- Moving Averages: We use two lines that follow price trends—the faster one (EMA 16) reacts quickly to recent price moves, and the slower one (EMA 30) gives us a longer-term perspective. When the faster line crosses above the slower line, it's like a clear signal saying, "Hey! The wave is rising, and prices might move higher!"
- RSI Momentum: Next, we check a tool called the RSI, which measures momentum (how strongly prices are moving). If the RSI number is above 50, it means there's enough strength behind this rising wave to carry us forward.
When both signals appear together, that's our green light. It's time to jump on our surfboard and start riding this promising wave.
⚓ Safely Riding the Wave (Risk Management)
While we're riding this wave, we want to ensure we're safe from sudden surprises. To do this, we use something called the Average True Range (ATR), which measures how volatile (or bumpy) the price movements are:
- Stop-Loss: To avoid falling too hard, we set a safety line (stop-loss) 8 times the ATR below our entry price. This helps ensure we exit if the wave suddenly turns against us, protecting us from heavy losses.
- Take Profit: We also set a goal to exit the trade at 11 times the ATR above our entry. This way, we capture significant profits when the wave reaches a nice high point.
🌟 Multiple Rides, Bigger Adventures
This strategy allows us to take multiple positions simultaneously—like riding several waves at once, up to 5. Each trade we make uses only 10% of our trading capital, keeping risks manageable and giving us multiple opportunities to win big.
🗺️ Easy to Follow Settings
Here are the basic settings we use:
- Fast EMA**: 16
- Slow EMA**: 30
- RSI Length**: 9
- RSI Threshold**: 50
- ATR Length**: 21
- ATR Stop-Loss Multiplier**: 8
- ATR Take-Profit Multiplier**: 11
These settings are flexible—you can adjust them to better suit different markets or your personal trading style.
🎉 Riding the Waves of Success
This simple yet powerful swing trading approach helps you confidently enter trades, clearly know when to exit, and effectively manage your risk. It’s a reliable way to ride market waves, capture profits, and minimize losses.
Happy trading, and may you find many profitable waves to ride! 🌊✨
Please test, and take into account that it depends on taking multiple longs within the swing, and you only get to invest 25/30% of your equity.
Correlation Coefficient TableThis Pine Script generates a dynamic table for analyzing how multiple assets correlate with a chosen benchmark (e.g., NZ50G). Users can input up to 12 asset symbols, customize the benchmark, and define the beta calculation periods (e.g., 15, 30, 90, 180 days). The script calculates Correlation values for each asset over these periods and computes the average beta for better insights.
The table includes:
Asset symbols: Displayed in the first row.
Correlation values: Calculated for each defined period and displayed in subsequent columns.
Average Correlation: Presented in the final column as an overall measure of correlation strength.
Color coding: Background colors indicate beta magnitude (green for high positive beta, yellow for near-neutral beta, red for negative beta).
ATR & PTR TableThe ATR & PTR Table Indicator displays a dynamic table that provides Average True Range (measures market volatility over 1D, 1W, and 1M timeframes), Price trading range (difference between the high and low prices over the same periods) & percentage of the typical range that has been traded. This indicator will help traders identify potential breakout zones and assess volatility across multiple timeframes.
This had been optimized to show ATR and PTR on every time frame. The (1D) represents ATR on whatever timeframe you are currently on.
Time Compression ZonesTime Compression Zones is an experimental indicator based on the idea that markets often "go silent" before making a strong move. During these moments, volatility drops, price action slows down, and energy accumulates beneath the surface — often followed by an explosive breakout.
The indicator identifies "time compression zones" — periods where the current volatility drops below a specific threshold relative to its moving average. These areas are highlighted on the chart and may serve as early signals of upcoming market expansion.
Time Compression Zones — это экспериментальный индикатор, основанный на идее, что рынок перед сильным движением часто "замирает". В такие моменты волатильность падает, движение становится вялым, но внутри копится энергия, которая вскоре может "взорваться" в виде импульса вверх или вниз.
This is not a directional indicator — it highlights pre-breakout conditions
Best used on 1H to 4H timeframes
Ideal for cryptocurrencies, gold, and futures
//RU
Индикатор определяет зоны "временного сжатия" — участки, где текущая волатильность падает ниже определённого порога относительно своей средней величины. Эти участки визуально выделяются на графике и могут указывать на приближающийся выход из "зоны накопления".
Индикатор не даёт направленного сигнала — он показывает периоды ожидания.
Лучше всего работает на 1H–4H таймфреймах
Подходит для криптовалют, фьючерсов, золота
ATR SL and TP with Candle Freeze & DataWindowThis indicator uses the Average True Range (ATR) to automatically calculate your stop loss (SL) and take profit (TP) levels based on the current market volatility and your chosen multipliers. Here's how it works:
ATR Calculation:
The indicator computes the ATR, which measures the average market volatility over a set period. This value helps gauge how much the price typically moves.
SL and TP Determination:
Depending on whether you're in a long or short trade, the SL and TP are calculated relative to the current price:
For a long trade, the stop loss is set below the current price (by subtracting a multiple of the ATR) and the take profit is set above it (by adding a multiple of the ATR).
For a short trade, the calculations are reversed.
Candle Freeze Feature:
Once a new candle starts, the calculated SL and TP values are "frozen" for that candle. This means they remain constant during the candle's formation, preventing them from updating continuously as the price fluctuates. This can make it easier to plan your trades without the levels shifting mid-candle.
Data Window & Labels:
The SL and TP values are plotted on the chart as lines and displayed in labels for quick reference. Additionally, they appear in TradingView's Data Window, so you can easily copy the price numbers if needed.
Overall, the indicator is designed to help you manage your trades by setting dynamic, volatility-adjusted SL and TP levels that only update at the start of each new candle, aligning with your chosen timeframe. Let me know if you have any more questions or need further adjustments!
Composite Reversal IndicatorOverview
The "Composite Reversal Indicator" aggregates five technical signals to produce a composite score that ranges from -5 (strongly bearish) to +5 (strongly bullish). These signals come from:
Relative Strength Index (RSI)
Moving Average Convergence Divergence (MACD)
Accumulation/Distribution (A/D)
Volume relative to its moving average
Price proximity to support and resistance levels
Each signal contributes a value of +1 (bullish), -1 (bearish), or 0 (neutral) to the total score. The raw score is plotted as a histogram, and a smoothed version is plotted as a colored line to highlight trends.
Step-by-Step Explanation
1. Customizable Inputs
The indicator starts with user-defined inputs that allow traders to tweak its settings. These inputs include:
RSI: Length (e.g., 14), oversold level (e.g., 30), and overbought level (e.g., 70).
MACD: Fast length (e.g., 12), slow length (e.g., 26), and signal length (e.g., 9).
Volume: Moving average length (e.g., 20) and multipliers for high (e.g., 1.5) and low (e.g., 0.5) volume thresholds.
Price Levels: Period for support and resistance (e.g., 50) and proximity percentage (e.g., 2%).
Score Smoothing: Length for smoothing the score (e.g., 5).
These inputs make the indicator adaptable to different trading styles, assets, or timeframes.
2. Indicator Calculations
The script calculates five key indicators using the input parameters:
RSI: Measures momentum and identifies overbought or oversold conditions.
Formula: rsi = ta.rsi(close, rsi_length)
Example: With a length of 14, it analyzes the past 14 bars of closing prices.
MACD: Tracks trend and momentum using two exponential moving averages (EMAs).
Formula: = ta.macd(close, macd_fast, macd_slow, macd_signal)
Components: MACD line (fast EMA - slow EMA), signal line (EMA of MACD line).
Accumulation/Distribution (A/D): A volume-based indicator showing buying or selling pressure.
Formula: ad = ta.accdist
Reflects cumulative flow based on price and volume.
Volume Moving Average: A simple moving average (SMA) of trading volume.
Formula: vol_ma = ta.sma(volume, vol_ma_length)
Example: A 20-bar SMA smooths volume data.
Support and Resistance Levels: Key price levels based on historical lows and highs.
Formulas:
support = ta.lowest(low, price_level_period)
resistance = ta.highest(high, price_level_period)
Example: Over 50 bars, it finds the lowest low and highest high.
These calculations provide the raw data for generating signals.
3. Signal Generation
Each indicator produces a signal based on specific conditions:
RSI Signal:
+1: RSI < oversold level (e.g., < 30) → potential bullish reversal.
-1: RSI > overbought level (e.g., > 70) → potential bearish reversal.
0: Otherwise.
Logic: Extreme RSI values suggest price may reverse.
MACD Signal:
+1: MACD line > signal line → bullish momentum.
-1: MACD line < signal line → bearish momentum.
0: Equal.
Logic: Crossovers indicate trend shifts.
A/D Signal:
+1: Current A/D > previous A/D → accumulation (bullish).
-1: Current A/D < previous A/D → distribution (bearish).
0: Unchanged.
Logic: Rising A/D shows buying pressure.
Volume Signal:
+1: Volume > high threshold (e.g., 1.5 × volume MA) → strong activity (bullish).
-1: Volume < low threshold (e.g., 0.5 × volume MA) → weak activity (bearish).
0: Otherwise.
Logic: Volume spikes often confirm reversals.
Price Signal:
+1: Close near support (within proximity %, e.g., 2%) → potential bounce.
-1: Close near resistance (within proximity %) → potential rejection.
0: Otherwise.
Logic: Price near key levels signals reversal zones.
4. Composite Score
The raw composite score is the sum of the five signals:
Formula: score = rsi_signal + macd_signal + ad_signal + vol_signal + price_signal
Range: -5 (all signals bearish) to +5 (all signals bullish).
Purpose: Combines multiple perspectives into one number.
5. Smoothed Score
A smoothed version of the score reduces noise:
Formula: score_ma = ta.sma(score, score_ma_length)
Example: With a length of 5, it averages the score over 5 bars.
Purpose: Highlights the trend rather than short-term fluctuations.
6. Visualization
The indicator plots two elements:
Raw Score: A gray histogram showing the composite score per bar.
Style: plot.style_histogram
Color: Gray.
Smoothed Score: A line that changes color:
Green: Score > 0 (bullish).
Red: Score < 0 (bearish).
Gray: Score = 0 (neutral).
Style: plot.style_line, thicker line (e.g., linewidth=2).
These visuals make it easy to spot potential reversals.
How It Works Together
The indicator combines signals from:
RSI: Momentum extremes.
MACD: Trend shifts.
A/D: Buying/selling pressure.
Volume: Confirmation of moves.
Price Levels: Key reversal zones.
By summing these into a composite score, it filters out noise and provides a unified signal. A high positive score (e.g., +3 to +5) suggests a bullish reversal, while a low negative score (e.g., -3 to -5) suggests a bearish reversal. The smoothed score helps traders focus on the trend.
Practical Use
Bullish Reversal: Smoothed score is green and rising → look for buying opportunities.
Bearish Reversal: Smoothed score is red and falling → consider selling or shorting.
Neutral: Score near 0 → wait for clearer signals.
Traders can adjust inputs to suit their strategy, making it versatile for stocks, forex, or crypto.
StockLeave Risk ModuleOverview
This indicator provides a visual reference to determine position size and approximate risk-to-reward. It is designed to support trade planning by calculating equalized risk per trade based on a stop distance derived from volatility. Additionally, it displays potential outcomes relative to structural references on the chart, such as the mean price and Keltner band extremes.
This tool is not intended for precision or predictive analysis, but rather for estimative usage; offering supportive reference points that allow for quick evaluation of risk-to-reward and position size.
Equalized Risk Per Trade
The indicator calculates the number of shares that can be traded while maintaining consistent monetary risk. The formula is based on the distance between the current price and the visual stop reference, adjusting the position size proportionally.
Position Size = Dollar Risk / (Entry Price - Stop Price)
The monetary risk is calculated as a percentage of account size; both of which can be set in the indicator’s settings tab. This creates a consistent risk exposure across trades regardless of volatility or structural stop distance.
Stop Placement Reference
The visual stop reference is by default located at 2× ATR from the current price, providing a volatility-based anchor. While this value can be customized, it serves as a practical reference when a structural stop has not yet been defined. It allows quick scenario building and visual feedback.
Visual Risk-Reward Projection
The module provides approximate reward-to-risk (R/R) projections based on dynamic price references. These should not be interpreted as practical trade targets, but rather as estimations of average price volatility and structural movement. Their purpose is to help assess directional potential relative to predefined risk.
Upper Keltner Band (Upper): Represents the upper boundaries. In bullish events, prices may expand towards this zone, completing movement from mean to upper structural extreme.
Moving Average (Mean): Represents the midpoint of structure. In reversion events, prices may revert toward this zone, completing the move from extreme back to mean.
Lower Keltner Band (Lower): Represents the lower boundaries. In bearish events, price may expand towards this zone, completing movement from mean to lower structural extreme.
The tool calculates the R/R multiple between the current price and each of these reference points in relation to the visual stop reference. This allows for a quick evaluation of risk-reward potential based on structural context and prevailing volatility. These are visible in the Signal Bars indicator. These are reference points and should should be interpreted with contextual structure.
Chart Elements
ATR Dots: Plotted above and below the current price as reference points for theoretical stop placement. The default distance is set to 2× ATR but can be adjusted in the indicator settings.
Information Table: Displays the number of shares to trade, along with R/R projections to the mean and both Keltner bands. This offers a quick overview for evaluating position sizing and potential reward relative to risk.
This indicator is accompanied by the Signal Bars Indicator .
StockLeave Signal BarsOverview
The Signal Bars indicator identifies potential trade entries by highlighting expansion and reversal bars. These are defined by individual bar characteristics and further refined by contextual factors such as price position relative to structural boundaries. The purpose is to locate bars that signal potential market initiation or reaction.
Expansion Bars
The expansion captures bars that breakout from a period of reduced volatility. These often initiate directional movement and are recognized using a two-part definition.
Range Expansion: The current bar’s range must exceed the average range. This ensures the move is comparatively large and stands out from recent behavior.
Range Compression: The bars before the expansion must be below a threshold of the average range. This confirms a low-volatility lead-up, strengthening the likelihood that the expansion has significance.
This script applies additional filters: a local breakout ensures price breaks the previous bar’s high or low; a strong close confirms directional intent by requiring the close near the bar’s extreme; mean proximity checks that expansion starts near the mean price using a dynamic buffer relative to bar size; a directional filter blocks signals during extended directional runs; and consecutive suppression prevents multiple expansions to show in succession.
Pin Bar Reversals
Reversal setups aim to identify potential turning points after price has reached a zone of imbalance or extension. These bars typically exhibit long tails and occur near structural boundaries such as the outer Keltner bands. Their design favors short-term price rejection and potential reversal.
Tail Dominance: The wick (upper or lower) must be at least twice the size of the bar’s body and account for more than a certain percentage of the entire bar’s range. This ensures the bar represents strong rejection rather than mere indecision.
Close Location: The bar must close near the opposite end of its wick to confirm that rejection was held into the close. For bearish reversals, the close must be near the low; for bullish reversals, near the high. This reinforces intent and pressure in the direction of the reversal.
This script applies additional filters: local extreme ensures the bar marks a local turning point to confirm reversals occur after extension, not within structure; boundary proximity requires the bar to appear near the outer Keltner Bands, aligning bearish signals with the upper band and bullish with the lower, indicating price has reached an area of likely imbalance.
Snapback Reversals
Snapbacks are structured to capture failed extensions outside structural boundaries. While traditional reversals are identified by a single bar with a rejecting tail, snapbacks use a two-bar sequence: a strong impulse bar that closes beyond the bands, followed by a bar that reclaims in the opposite direction. The difference lies in the formation, not the intent, as both anticipate a reversion after price imbalance.
Impulse Bar Criteria: The previous bar must close beyond the upper (bullish impulse) or lower (bearish impulse) Keltner band. It must also close near its extreme and have a large body. This confirms strong directional pressure.
The current bar must close beyond the midpoint of the previous bar’s body and reverse the prior direction. This signals a failure to follow through and a snapback into the prior range. These will show only when price extends beyond the boundaries. This ensures that the setup targets failed breakouts rather than normal pullbacks or mid-range fluctuation.
Alert Configuration
The Signal Bars indicator includes an alert function with two built-in conditions to help reduce screen time and focus attention when predefined conditions are met.
Expansion: Alerts when a bar meets all conditions for a valid expansion.
Reversal: Alerts when a bar meets the criteria for a pin bar or snapback reversal.
These are built into the indicator with the alertcondition() function and can be turned on whenever the indicator is applied to a chart. Each alert includes a default message that uses dynamic placeholders; {{ticker}} for the symbol and {{interval}} for the timeframe.
Create a new alert and select the condition “StockLeave Signal Bars.”
Then select from the two options: Expansion and Reversal.
For expansions, select “once per bar” to capture developing momentum.
For reversals, use “once per bar close” to confirm rejection setups.
Apply alerts across multiple timeframes to improve coverage. Lower timeframes are better suited for fast-moving markets, while higher timeframes work well in slower or more selective environments. This process only needs to be done once. The created alerts can then be toggled on or off from the Alerts panel as preferred, without requiring reconfiguration.
Applied Discretion
The indicator functions on fixed logic, but interpretation always takes precedence. Consider price action, structure, volatility, and broader market context. Most signals will not lead to trades; while many may appear in a session, only a select few will align with context and warrant execution based on discretion.
Pivot S/R with Volatility Filter## *📌 Indicator Purpose*
This indicator identifies *key support/resistance levels* using pivot points while also:
✅ Detecting *high-volume liquidity traps* (stop hunts)
✅ Filtering insignificant pivots via *ATR (Average True Range) volatility*
✅ Tracking *test counts and breakouts* to measure level strength
---
## *⚙ SETTINGS – Detailed Breakdown*
### *1️⃣ ◆ General Settings*
#### *🔹 Pivot Length*
- *Purpose:* Determines how many bars to analyze when identifying pivots.
- *Usage:*
- *Low values (5-20):* More pivots, better for scalping.
- *High values (50-200):* Fewer but stronger levels for swing trading.
- *Example:*
- Pivot Length = 50 → Only the most significant highs/lows over 50 bars are marked.
#### *🔹 Test Threshold (Max Test Count)*
- *Purpose:* Sets how many times a level can be tested before being invalidated.
- *Example:*
- Test Threshold = 3 → After 3 tests, the level is ignored (likely to break).
#### *🔹 Zone Range*
- *Purpose:* Creates a price buffer around pivots (±0.001 by default).
- *Why?* Markets often respect "zones" rather than exact prices.
---
### *2️⃣ ◆ Volatility Filter (ATR)*
#### *🔹 ATR Period*
- *Purpose:* Smoothing period for Average True Range calculation.
- *Default:* 14 (standard for volatility measurement).
#### *🔹 ATR Multiplier (Min Move)*
- *Purpose:* Requires pivots to show *meaningful price movement*.
- *Formula:* Min Move = ATR × Multiplier
- *Example:*
- ATR = 10 pips, Multiplier = 1.5 → Only pivots with *15+ pip swings* are valid.
#### *🔹 Show ATR Filter Info*
- Displays current ATR and minimum move requirements on the chart.
---
### *3️⃣ ◆ Volume Analysis*
#### *🔹 Volume Change Threshold (%)*
- *Purpose:* Filters for *unusual volume spikes* (institutional activity).
- *Example:*
- Threshold = 1.2 → Requires *120% of average volume* to confirm signals.
#### *🔹 Volume MA Period*
- *Purpose:* Lookback period for "normal" volume calculation.
---
### *4️⃣ ◆ Wick Analysis*
#### *🔹 Wick Length Threshold (Ratio)*
- *Purpose:* Ensures rejection candles have *long wicks* (strong reversals).
- *Formula:* Wick Ratio = (Upper Wick + Lower Wick) / Candle Range
- *Example:*
- Threshold = 0.6 → 60% of the candle must be wicks.
#### *🔹 Min Wick Size (ATR %)*
- *Purpose:* Filters out small wicks in volatile markets.
- *Example:*
- ATR = 20 pips, MinWickSize = 1% → Wicks under *0.2 pips* are ignored.
---
### *5️⃣ ◆ Display Settings*
- *Show Zones:* Toggles support/resistance shaded areas.
- *Show Traps:* Highlights liquidity traps (▲/▼ symbols).
- *Show Tests:* Displays how many times levels were tested.
- *Zone Transparency:* Adjusts opacity of zones.
---
## *🎯 Practical Use Cases*
### *1️⃣ Liquidity Trap Detection*
- *Scenario:* Price spikes *above resistance* then reverses sharply.
- *Requirements:*
- Long wick (Wick Ratio > 0.6)
- High volume (Volume > Threshold)
- *Outcome:* *Short Trap* signal (▼) appears.
### *2️⃣ Strong Support Level*
- *Scenario:* Price bounces *3 times* from the same level.
- *Indicator Action:*
- Labels the level with test count (3/5 = 3 tests out of max 5).
- Turns *red* if broken (Break Count > 0).
Deep Dive: How This Indicator Works*
This indicator combines *four professional trading concepts* into one powerful tool:
1. *Classic Pivot Point Theory*
- Identifies swing highs/lows where price previously reversed
- Unlike basic pivot indicators, ours uses *confirmed pivots only* (filtered by ATR)
2. *Volume-Weighted Validation*
- Requires unusual trading volume to confirm levels
- Filters out "phantom" levels with low participation
3. *ATR Volatility Filtering*
- Eliminates insignificant price swings in choppy markets
- Ensures only meaningful levels are plotted
4. *Liquidity Trap Detection*
- Spots institutional stop hunts where markets fake out traders
- Uses wick analysis + volume spikes for high-probability signals
---
Deep Dive: How This Indicator Works*
This indicator combines *four professional trading concepts* into one powerful tool:
1. *Classic Pivot Point Theory*
- Identifies swing highs/lows where price previously reversed
- Unlike basic pivot indicators, ours uses *confirmed pivots only* (filtered by ATR)
2. *Volume-Weighted Validation*
- Requires unusual trading volume to confirm levels
- Filters out "phantom" levels with low participation
3. *ATR Volatility Filtering*
- Eliminates insignificant price swings in choppy markets
- Ensures only meaningful levels are plotted
4. *Liquidity Trap Detection*
- Spots institutional stop hunts where markets fake out traders
- Uses wick analysis + volume spikes for high-probability signals
---
## *📊 Parameter Encyclopedia (Expanded)*
### *1️⃣ Pivot Engine Settings*
#### *Pivot Length (50)*
- *What It Does:*
Determines how many bars to analyze when searching for swing highs/lows.
- *Professional Adjustment Guide:*
| Trading Style | Recommended Value | Why? |
|--------------|------------------|------|
| Scalping | 10-20 | Captures short-term levels |
| Day Trading | 30-50 | Balanced approach |
| Swing Trading| 50-200 | Focuses on major levels |
- *Real Market Example:*
On NASDAQ 5-minute chart:
- Length=20: Identifies levels holding for ~2 hours
- Length=50: Finds levels respected for entire trading day
#### *Test Threshold (5)*
- *Advanced Insight:*
Institutions often test levels 3-5 times before breaking them. This setting mimics the "probe and push" strategy used by smart money.
- *Psychology Behind It:*
Retail traders typically give up after 2-3 tests, while institutions keep testing until stops are run.
---
### *2️⃣ Volatility Filter System*
#### *ATR Multiplier (1.0)*
- *Professional Formula:*
Minimum Valid Swing = ATR(14) × Multiplier
- *Market-Specific Recommendations:*
| Market Type | Optimal Multiplier |
|------------------|--------------------|
| Forex Majors | 0.8-1.2 |
| Crypto (BTC/ETH) | 1.5-2.5 |
| SP500 Stocks | 1.0-1.5 |
- *Why It Matters:*
In EUR/USD (ATR=10 pips):
- Multiplier=1.0 → Requires 10 pip swings
- Multiplier=1.5 → Requires 15 pip swings (fewer but higher quality levels)
---
### *3️⃣ Volume Confirmation System*
#### *Volume Threshold (1.2)*
- *Institutional Benchmark:*
- 1.2x = Moderate institutional interest
- 1.5x+ = Strong smart money activity
- *Volume Spike Case Study:*
*Before Apple Earnings:*
- Normal volume: 2M shares
- Spike threshold (1.2): 2.4M shares
- Actual volume: 3.1M shares → STRONG confirmation
---
### *4️⃣ Liquidity Trap Detection*
#### *Wick Analysis System*
- *Two-Filter Verification:*
1. *Wick Ratio (0.6):*
- Ensures majority of candle shows rejection
- Formula: (UpperWick + LowerWick) / Total Range > 0.6
2. *Min Wick Size (1% ATR):*
- Prevents false signals in flat markets
- Example: ATR=20 pips → Min wick=0.2 pips
- *Trap Identification Flowchart:*
Price Enters Zone →
Spikes Beyond Level →
Shows Long Wick →
Volume > Threshold →
TRAP CONFIRMED
---
## *💡 Master-Level Usage Techniques*
### *Institutional Order Flow Analysis*
1. *Step 1:* Identify pivot levels with ≥3 tests
2. *Step 2:* Watch for volume contraction near levels
3. *Step 3:* Enter when trap signal appears with:
- Wick > 2×ATR
- Volume > 1.5× average
### *Multi-Timeframe Confirmation*
1. *Higher TF:* Find weekly/monthly pivots
2. *Lower TF:* Use this indicator for precise entries
3. *Example:*
- Weekly pivot at $180
- 4H shows liquidity trap → High-probability reversal
---
## *⚠ Critical Mistakes to Avoid*
1. *Using Default Settings Everywhere*
- Crude oil needs higher ATR multiplier than bonds
2. *Ignoring Trap Context*
- Traps work best at:
- All-time highs/lows
- Major psychological numbers (00/50 levels)
3. *Overlooking Cumulative Volume*
- Check if volume is building over multiple tests
Price Extreme BandsPrice Extreme Bands Description
This indicator calculates and displays Price Extreme Bands based on an Exponential Moving Average (EMA) and True Range Average True Range (TR ATR). It utilizes a custom "Super Smoother" function to smooth the bands, providing a clearer representation of potential price extremes without sacrificing accuracy.
Usage
Built for specifically for intraday timeframes, this indicator identifies short term price extremes and volatility ranges. Traders can observe when price moves towards the outer bands, suggesting strong momentum or potential overbought/oversold conditions. The filled zones highlight areas of increased volatility which can used as exit criteria for a trade, possible reversal points in ranging markets or price ranges where price momentum could slow in trending markets.
Key Features
Length Input: Controls the length of the EMA and TR ATR calculations.
Multiplier Inputs: Uses two fixed multipliers (1.71 and 2.50) to create bands.
Super Smoother: Applies a custom smoothing function to the bands for reduced noise.
Fill Zones: Fills the areas between the inner and outer bands to highlight potential volatility ranges.
Calculation:
1. EMA (Basis): Calculates the Exponential Moving Average of the selected source.
2. TR ATR: Calculates the True Range and then smoothes it using RMA (Rolling Moving Average).
3. Bands: Calculates upper and lower bands using the EMA and ATR, with multipliers of 1.71 and 2.50.
4. Super Smoother: Applies a smoothing function to the calculated bands.
Visuals:
Basis Line: Plots the EMA (basis) (invisible by default).
Inner Bands (1.71 Multiplier): Plots the smoothed bands with a distinct color (e.g., orange) (invisible by default).
Outer Bands (2.50 Multiplier): Plots the smoothed bands with a different color (e.g., purple) (invisible by default).
Fill Zones: Fills the region between the inner and outer upper bands and the inner and outer lower bands with a translucent color (e.g. light blue).
// Note: The plot lines are invisible by default. To view the basis, upper and lower band lines, adjust the visibility settings in the indicator's settings.
Uniqueness: Ready of the box. Code and parameters built specifically for 1m to 15m timeframes provides users with an indicator to easily identify price extremes. The use of TR ATR and addition of the Super Smoother calculation create a easier visualization and implementation compared to existing price band options.
AI Trend Momentum SniperThe AI Trend Momentum Sniper is a powerful technical analysis tool designed for day trading. This strategy combines multiple momentum and trend indicators to identify high-probability entry and exit points. The indicator utilizes a combination of Supertrend, MACD, RSI, ATR (Average True Range), and On-Balance Volume (OBV) to generate real-time signals for buy and sell opportunities.
Key Features:
Supertrend for detecting market direction (bullish or bearish).
MACD for momentum confirmation, highlighting changes in market momentum.
RSI to filter out overbought/oversold conditions and ensure high-quality trades.
ATR as a volatility filter to adjust for changing market conditions.
OBV (On-Balance Volume) to confirm volume strength and trend validity.
Dynamic Stop-Loss & Take-Profit based on ATR to manage risk and lock profits.
This indicator is tailored for intraday traders looking for quick market moves, especially in volatile and high liquidity assets like Bitcoin (BTC) and Ethereum (ETH). It helps traders capture short-term trends with efficient risk management tools.
How to Apply:
Set Your Chart: Apply the AI Trend Momentum Sniper to a 5-minute (M5) or 15-minute (M15) chart for optimal performance.
Buy Signal: When the indicator generates a green arrow below the bar, it indicates a buy signal based on positive trend and momentum alignment.
Sell Signal: A red arrow above the bar signals a sell condition when the trend and momentum shift bearish.
Stop-Loss and Take-Profit: The indicator automatically calculates dynamic stop-loss and take-profit levels based on the ATR value for each trade, ensuring proper risk management.
Alerts: Set up custom alerts for buy or sell signals, and get notified instantly when opportunities arise.
Best Markets for Use:
BTC/USDT, ETH/USDT – High liquidity and volatility.
Major altcoins with sufficient volume.
Avoid using it on low-liquidity assets where price action may become erratic.
Timeframes:
This indicator is best suited for lower timeframes (5-minute to 15-minute charts) to capture quick price movements in trending markets.
SuperTrend MTF Pro [Cometreon]The SuperTrend MTF Pro takes the classic SuperTrend to a whole new level of customization and accuracy. Unlike the standard version, this indicator allows you to select different moving averages, apply it to various chart types, and fine-tune every key parameter.
If you're looking for an advanced, non-repainting, and highly configurable SuperTrend, this is the right choice for you.
🔷 New Features and Improvements
🟩 Multi-MA SuperTrend
Now you can customize the SuperTrend calculation by choosing from 15 different moving averages:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
RMA (Smoothed Moving Average)
HMA (Hull Moving Average)
JMA (Jurik Moving Average)
DEMA (Double Exponential Moving Average)
TEMA (Triple Exponential Moving Average)
LSMA (Least Squares Moving Average)
VWMA (Volume-Weighted Moving Average)
SMMA (Smoothed Moving Average)
KAMA (Kaufman’s Adaptive Moving Average)
ALMA (Arnaud Legoux Moving Average)
FRAMA (Fractal Adaptive Moving Average)
VIDYA (Variable Index Dynamic Average)
🟩 Multiple Chart Types
You're no longer limited to candlestick charts! Now you can use SuperTrend with different chart formats, including:
Heikin Ashi
Renko
Kagi
Line Break
Point & Figure
🟩 Customizable Timeframe
Now you can adjust the SuperTrend timeframe without repainting issues, avoiding signal distortions.
🔷 Technical Details and Customizable Inputs
SuperTrend offers multiple customization options to fit any trading strategy:
1️⃣ ATR Period – Defines the ATR length, affecting the indicator’s sensitivity.
2️⃣ Source – Selects the price value used for calculations (Close, HL2, Open, etc.).
3️⃣ ATR Mult – Multiplies the ATR to determine band distance. Higher values reduce false signals, lower values make it more reactive.
4️⃣ Change ATR Calculation Method – When enabled, uses the default ATR method; when disabled, allows selecting another Moving Average with "Use Different Type".
5️⃣ Source Break – Defines the price source for trend changes (Close for more stability, High/Low for more reactivity).
6️⃣ Use Different Type – Allows selecting an alternative Moving Average for ATR calculation if "Change ATR Calculation Method" is disabled.
7️⃣ SuperTrend Type – Advanced options for specific MAs (JMA, ALMA, FRAMA, VIDYA), with dedicated parameters like Phase, Sigma, and Offset for optimized responsiveness.
8️⃣ Ticker Settings – Customize parameters for special chart types such as Renko, Heikin Ashi, Kagi, Line Break, and Point & Figure, adjusting reversal, number of lines, and ATR length.
9️⃣ Timeframe – Enables using SuperTrend on a higher timeframe.
🔟 Wait for Timeframe Closes -
Enabled ✅ – Prevents multiple signals, useful for precise alerts.
Disabled ❌ – Displays SuperTrend smoothly without interruptions.
🔷 How to Use SuperTrend MTF Pro
🔍 Identifying Trends
SuperTrend follows the ongoing trend and provides clear visual signals:
When the price is above the line, the trend is bullish.
When the price is below the line, the trend is bearish.
📈 Interpreting Signals
Line color and position change → Possible trend reversal
Bounce off the line → Potential trend continuation
Strong breakout of the line → Possible reversal
🛠 Integration with Other Tools
RSI or MACD to filter false signals
Moving Averages to confirm trend direction
Support and Resistance to improve entry points
☄️ If you find this indicator useful, leave a Boost to support its development!
Every feedback helps to continuously improve the tool, offering an even more effective trading experience. Share your thoughts in the comments! 🚀🔥
BBMA Strategy - EXT CSD CSM MHV RE CodesBINANCE:BTCUSD
Below is a detailed guide for using and interpreting the "BBMA Strategy - Enhanced EXT CSD CSM with Subplot" indicator. This guide is designed to be added to the description of the indicator when publishing it on TradingView. It provides clear instructions for users on how to apply the indicator, interpret its signals, and understand its features, including the multi-timeframe analysis and subplot table.
BBMA Strategy - Enhanced EXT CSD CSM with Subplot: User Guide
Overview
The "BBMA Strategy - Enhanced EXT CSD CSM with Subplot" is a comprehensive trading indicator built on the Bollinger Bands Moving Average (BBMA) framework. It combines multiple technical analysis tools—Bollinger Bands, Moving Averages (MAHI and MALO), EMA, ATR, volume analysis, RSI, MACD, market structure, and candlestick patterns—to identify high-probability trading setups. The indicator supports five key BBMA setups: EXT (Extreme), CSD (Consolidation), CSM (Continuation Setup Movement), RE (Re-Entry), and MHV (Market High Volatility).
This enhanced version includes:
Multi-Timeframe (MTF) Analysis: Confirms signals across a Lower Timeframe (LTF) and Higher Timeframe (HTF) for stronger trade validation.
Subplot Table: Displays signal status ("Active" or "Upcoming") and MTF confirmations in a clear table format.
Market Structure and Volume Filters: Incorporates Break of Structure (BOS), RSI divergence, and volume conditions to filter out low-probability trades.
Customizable Settings: Adjust Bollinger Bands, MA periods, timeframes, and more to suit your trading style.
This indicator is suitable for traders of all levels and can be used across various markets (e.g., forex, crypto, stocks) and timeframes (1M to 1D).
How to Use the Indicator
1. Add the Indicator to Your Chart
Open TradingView and load the chart of your chosen asset (e.g., BTCUSD, EURUSD, XAUUSD).
Go to the Pine Editor, paste the indicator code, and click "Add to Chart."
The indicator will overlay on your chart, displaying Bollinger Bands, Moving Averages, EMA, and signal labels. A subplot table will appear at the bottom of the chart.
2. Configure the Settings
The indicator provides customizable inputs to tailor it to your trading preferences. Access the settings by clicking the gear icon next to the indicator name on your chart:
Bollinger Bands Settings:
BB Period: Default is 20. Adjust the lookback period for Bollinger Bands.
BB Deviations: Default is 2. Adjust the standard deviation for the bands.
MAHI Settings (Moving Averages on High):
MAHI 5 Period: Default is 5. Period for the shorter MA on highs.
MAHI 10 Period: Default is 10. Period for the longer MA on highs.
MALO Settings (Moving Averages on Low):
MALO 5 Period: Default is 5. Period for the shorter MA on lows.
MALO 10 Period: Default is 10. Period for the longer MA on lows.
EMA Settings:
EMA Period: Default is 50. Adjust the period for the Exponential Moving Average.
ATR Settings:
ATR Period: Default is 14. Period for the Average True Range.
ATR SMA Period: Default is 14. Period for the ATR smoothing.
Timeframe Settings:
Minor HTF: Default is 1h. Select the minor higher timeframe for trend confirmation.
Major HTF: Default is 4h. Select the major higher timeframe for trend confirmation.
Lower TF for Confirmation: Default is 5m. Select the lower timeframe for signal confirmation.
Market Structure Settings:
Market Structure Lookback: Default is 10. Adjust the lookback period for swing highs/lows in market structure analysis.
3. Select Your Chart Timeframe
The indicator works on any timeframe from 1 minute (1M) to 1 day (1D).
For best results, align your chart timeframe (Current Timeframe, CTF) with the LTF and HTF settings:
Example: If CTF is 15m, set LTF to 5m and HTF to 1h or 4h.
This ensures proper multi-timeframe alignment for signal confirmation.
Indicator Components
Main Chart Elements
Bollinger Bands (BB): Plotted as three lines (upper, middle, lower) to identify volatility and potential reversal zones.
Upper Band: Blue line.
Middle Band: Black line (basis).
Lower Band: Blue line.
MAHI (Moving Averages on High): Two weighted moving averages on highs to detect trend direction.
MAHI 5: Green line.
MAHI 10: Lime line.
MALO (Moving Averages on Low): Two weighted moving averages on lows to confirm trend direction.
MALO 5: Red line.
MALO 10: Orange line.
EMA (50-period): Purple line to identify the overall trend.
Signal Labels: Appear on the chart when a setup is confirmed:
EXT Buy: Green upward arrow (reversal buy at BB lower band).
EXT Sell: Red downward arrow (reversal sell at BB upper band).
CSM Buy: Teal upward arrow (continuation buy above BB middle).
CSM Sell: Maroon downward arrow (continuation sell below BB middle).
RE Buy: Aqua upward arrow (re-entry buy between BB lower and middle).
RE Sell: Fuchsia downward arrow (re-entry sell between BB upper and middle).
MHV: Orange label (high volatility breakout after consolidation).
CSD: Yellow diamond (consolidation signal).
Subplot Table
Located at the bottom of the chart, the table summarizes signal status across three timeframes:
CTF (Current Timeframe): Shows "Active" (signal confirmed) or "Upcoming" (signal forming) for each setup.
LTF (Lower Timeframe): Displays a checkmark (✔) if the signal is confirmed on the LTF.
HTF (Higher Timeframe): Displays a checkmark (✔) if the signal is confirmed on the HTF.
Columns represent the five BBMA setups: EXT Buy, EXT Sell, CSD, CSM Buy, CSM Sell, RE Buy, RE Sell, and MHV.
Interpreting the Signals
1. EXT (Extreme) Setup
EXT Buy (Green Arrow):
Condition: Price touches or breaks below the BB lower band, closes above it, with high ATR volatility, strong volume, and additional confirmations (e.g., hammer candle, RSI oversold, MACD bullish, MAHI/MALO crossover, or bullish divergence).
Interpretation: A potential reversal buy signal. Look for confirmation in the subplot table (LTF and HTF rows).
Action: Consider a long position if LTF and HTF confirm (✔ in both rows). Use the BB middle or upper band as a target.
EXT Sell (Red Arrow):
Condition: Price touches or breaks above the BB upper band, closes below it, with high ATR volatility, strong volume, and additional confirmations (e.g., shooting star candle, RSI overbought, MACD bearish, MAHI/MALO crossunder, or bearish divergence).
Interpretation: A potential reversal sell signal.
Action: Consider a short position if LTF and HTF confirm. Use the BB middle or lower band as a target.
2. CSD (Consolidation) Setup
CSD (Yellow Diamond):
Condition: BB width is narrow (below its SMA), low ATR volatility, small candles, and no MAHI/MALO crossovers.
Interpretation: The market is consolidating, often preceding a breakout (e.g., MHV).
Action: Avoid trading during CSD unless preparing for an MHV breakout. Monitor the subplot for "Upcoming" MHV signals.
3. CSM (Continuation Setup Movement)
CSM Buy (Teal Arrow):
Condition: Price is above the BB middle, MAHI crossover, MALO crossover or MACD bullish, price above EMA 50, with additional confirmations (e.g., bullish engulfing or MACD bullish).
Interpretation: A continuation buy signal in an uptrend.
Action: Enter a long position if LTF and HTF confirm. Target the BB upper band or recent swing highs.
CSM Sell (Maroon Arrow):
Condition: Price is below the BB middle, MAHI crossunder, MALO crossunder or MACD bearish, price below EMA 50, with additional confirmations (e.g., bearish engulfing or MACD bearish).
Interpretation: A continuation sell signal in a downtrend.
Action: Enter a short position if LTF and HTF confirm. Target the BB lower band or recent swing lows.
4. RE (Re-Entry) Setup
RE Buy (Aqua Arrow):
Condition: Price is between the BB lower and middle bands, MAHI crossover, MALO crossover or MACD bullish, price above EMA 50, with additional confirmations (e.g., bullish engulfing or MACD bullish).
Interpretation: A re-entry buy signal after a pullback in an uptrend.
Action: Enter a long position if LTF and HTF confirm. Target the BB middle or upper band.
RE Sell (Fuchsia Arrow):
Condition: Price is between the BB upper and middle bands, MAHI crossunder, MALO crossunder or MACD bearish, price below EMA 50, with additional confirmations (e.g., bearish engulfing or MACD bearish).
Interpretation: A re-entry sell signal after a pullback in a downtrend.
Action: Enter a short position if LTF and HTF confirm. Target the BB middle or lower band.
5. MHV (Market High Volatility) Setup
MHV (Orange Label):
Condition: Follows a CSD signal, with expanding BB width, high ATR volatility, strong volume, and MAHI/MALO crossover or crossunder.
Interpretation: A breakout signal after consolidation, indicating high volatility and potential for a strong move.
Action: Trade in the direction of the breakout (e.g., buy if MAHI crossover, sell if MAHI crossunder). Confirm with LTF and HTF. Target significant levels like recent swing highs/lows.
6. Multi-Timeframe Confirmation
LTF Confirmation: A checkmark (✔) in the LTF row indicates the signal is also present on the lower timeframe (e.g., 5m). This adds confidence to the trade.
HTF Confirmation: A checkmark (✔) in the HTF row indicates alignment with the higher timeframe trend (e.g., 4h). This confirms the signal's strength.
Strongest Signals: Look for signals with both LTF and HTF confirmations (✔ in both rows). These have the highest probability of success.
7. Upcoming Signals
The CTF row in the subplot table may show "Upcoming" for a setup (e.g., EXT Buy: Upcoming). This indicates the setup is forming but not yet confirmed.
Action: Monitor these setups closely. They may turn "Active" on the next candle if conditions are met.
Trading Tips
Trend Alignment: Use the EMA 50 and market structure (is_uptrend) to ensure trades align with the overall trend. For example, prioritize CSM Buy signals in an uptrend.
Risk Management:
Set stop-losses below recent swing lows (for buys) or above recent swing highs (for sells).
Use the BB middle or opposite band as a target for most setups.
Avoid Overtrading: Focus on signals with LTF and HTF confirmations to filter out noise.
Timeframe Selection:
Scalping: Use 1m or 5m CTF with 1m LTF and 15m HTF.
Day Trading: Use 15m or 1h CTF with 5m LTF and 4h HTF.
Swing Trading: Use 4h or 1D CTF with 1h LTF and 1D HTF.
Backtesting: Test the indicator on historical data for your chosen asset and timeframe to understand its performance.
Alerts
The indicator includes built-in alerts for each setup:
EXT Buy/Sell: Triggers when an EXT signal is confirmed.
CSD: Triggers during consolidation.
CSM Buy/Sell: Triggers for continuation signals.
RE Buy/Sell: Triggers for re-entry signals.
MHV: Triggers for high volatility breakouts. To set up alerts:
Right-click on the chart and select "Add Alert."
Choose the condition (e.g., "BBMA EXT Buy").
Set your preferred notification method (e.g., email, SMS).
Limitations
Lagging Indicators: The indicator uses moving averages and other lagging tools, which may delay signals in fast-moving markets.
False Signals: Like all indicators, it can produce false signals, especially in choppy markets. Use LTF/HTF confirmations to filter trades.
Timeframe Dependency: Ensure your CTF, LTF, and HTF are properly aligned to avoid conflicting signals.
Arbitrage Spot-Futures Don++Strategy: Spot-Futures Arbitrage Don++
This strategy has been designed to detect and exploit arbitrage opportunities between the Spot and Futures markets of the same trading pair (e.g. BTC/USDT). The aim is to take advantage of price differences (spreads) between the two markets, while minimizing risk through dynamic position management.
[Operating principle
The strategy is based on calculating the spread between Spot and Futures prices. When this spread exceeds a certain threshold (positive or negative), reverse positions are opened simultaneously on both markets:
- i] Long Spot + Short Futures when the spread is positive.
- i] Short Spot + Long Futures when the spread is negative.
Positions are closed when the spread returns to a value close to zero or after a user-defined maximum duration.
[Strategy strengths
1. Adaptive thresholds :
- Entry/exit thresholds can be dynamic (based on moving averages and standard deviations) or fixed, offering greater flexibility to adapt to market conditions.
2. Robust data management :
- The script checks the validity of data before executing calculations, thus avoiding errors linked to missing or invalid data.
3. Risk limitation :
- A position size based on a percentage of available capital (default 10%) limits exposure.
- A time filter limits the maximum duration of positions to avoid losses due to persistent spreads.
4. Clear visualization :
- Charts include horizontal lines for entry/exit thresholds, as well as visual indicators for spread and Spot/Futures prices.
5. Alerts and logs :
- Alerts are triggered on entries and exits to inform the user in real time.
[Points for improvement or completion
Although this strategy is functional and robust, it still has a few limitations that could be addressed in future versions:
1. [Limited historical data :
- TradingView does not retrieve real-time data for multiple symbols simultaneously. This can limit the accuracy of calculations, especially under conditions of high volatility.
2. [Lack of liquidity management :
- The script does not take into account the volumes available on the order books. In conditions of low liquidity, it may be difficult to execute orders at the desired prices.
3. [Non-dynamic transaction costs :
- Transaction costs (exchange fees, slippage) are set manually. A dynamic integration of these costs via an external API would be more realistic.
4. User-dependency for symbols :
- Users must manually specify Spot and Futures symbols. Automatic symbol validation would be useful to avoid configuration errors.
5. Lack of advanced backtesting :
- Backtesting is based solely on historical data available on TradingView. An implementation with third-party data (via an API) would enable the strategy to be tested under more realistic conditions.
6. [Parameter optimization :
- Certain parameters (such as analysis period or spread thresholds) could be optimized for each specific trading pair.
[How can I contribute?
If you'd like to help improve this strategy, here are a few ideas:
1. Add additional filters:
- For example, a filter based on volume or volatility to avoid false signals.
2. Integrate dynamic costs:
- Use an external API to retrieve actual costs and adjust thresholds accordingly.
3. Improve position management:
- Implement hedging or scalping mechanisms to maximize profits.
4. Test on other pairs:
- Evaluate the strategy's performance on other assets (ETH, SOL, etc.) and adjust parameters accordingly.
5. Publish backtesting results :
- Share detailed analyses of the strategy's performance under different market conditions.
[Conclusion
This Spot-Futures arbitrage strategy is a powerful tool for exploiting price differentials between markets. Although it is already functional, it can still be improved to meet more complex trading scenarios. Feel free to test, modify and share your ideas to make this strategy even more effective!
[Thank you for contributing to this open-source community!
If you have any questions or suggestions, please feel free to comment or contact me directly.
FFT Approximation StrategyExperimenting FFT Strategy on YCL (USD/JPY 2 x)
This script approximates the effects of FFT by identifying convergence between short- and long-term cycles. While it doesn't provide the precision of true spectral analysis, it captures the essence of cyclical market behavior.
How FFT Concepts Improve YCL Entry Points
Cycle Identification:
Use external FFT analysis to identify dominant cycles in USD/JPY price movements.
Apply these cycles to refine entry zones for YCL.
Noise Filtering:
High-frequency components identified by FFT can help filter out market noise.
Focus on low-frequency trends for more reliable signals.
Timing Optimization:
Combine cycle analysis with gamma exposure proxies to pinpoint moments of accelerated price movement.
Volume Pro Indicator## Volume Pro Indicator
A powerful volume indicator that visualizes volume distribution across different price levels. This tool helps you easily identify where trading activity concentrates within the price range.
### Key Features:
- **Volume visualization by price levels**: Green (lower zone), Magenta (middle zone), Cyan (upper zone)
- **VPOC (Volume Point of Control)**: Shows the price level with the highest volume concentration
- **High and Low lines**: Highlights the extreme levels of the analyzed price range
- **Customizable historical analysis**: Configurable number of days for calculation
### How to use it:
- Colored volumes show where trading activity concentrates within the price range
- The VPOC helps identify the most significant price levels
- Different colors allow you to quickly visualize volume distribution in different price areas
Customizable with numerous options, including analysis period, calculation resolution, colors, and visibility of different components.
### Note:
This indicator works best on higher timeframes (1H, 4H, 1D) and liquid markets. It's a visual analysis tool that enhances your understanding of market structure.
#volume #vpoc #distribution #volumeprofile #trading #analysis #indicator #professional #pricelevels #volumedistribution
Uptrick: Reversal Matrix +Overview
The Uptrick: Reversal Matrix + is designed as a comprehensive tool that organizes market information in a visually intuitive way. It presents a variety of signals and data points on the chart, aiming to provide clarity about potential reversals, directional momentum, and the broader context surrounding price behavior. By consolidating numerous indicators and statistics into a single interface, it serves as a versatile companion for different trading styles and time horizons.
Purpose
This indicator offers a multifunctional approach to market analysis. It seeks to help users gain a more holistic view of current conditions rather than focusing on isolated data points. Its primary goal is to guide traders toward recognizing evolving market structures, shifts in buying or selling pressure, and periods where price movement may exhibit stronger or weaker momentum. Because it is designed for adaptive use, it can cater to fast, intraday styles or more deliberate, long-term strategies, depending on how the user configures it.
Originality and Uniqueness
The Reversal Matrix + stands out by merging various categories of market data into cohesive visuals and tables. While many indicators offer singular signals or straightforward buy/sell prompts, this script integrates numerous underlying components and displays them in organized panels. Each piece of data, from volume characteristics to volatility states, is contextualized. This multi-layered approach helps traders see more than just a single dimension of the market. Whether one is exploring short-term breakouts, potential traps, or broader market regimes, the tool accommodates multiple perspectives within a single framework.
Inputs
1. Sensitivity.
This setting allows you to choose different levels based on how frequently you would like signals to appear. Selecting a higher sensitivity may capture faster changes but can produce a greater number of signals. More moderate or smoother settings can be preferable for users looking for less frequent but potentially clearer indications of shifts.
2. Trading Style.
This option adapts the tool to match conservative, normal, or more aggressive preferences. When choosing a conservative style, the script attempts to filter out smaller fluctuations, while the aggressive style might highlight more potential turning points as they emerge.
3. Potential Signal Threshold Difference
This setting adjusts the sensitivity of potential reversal signals. A lower value means the script will highlight only the most distinct setups, filtering out weaker or borderline scenarios. A higher value makes the tool more receptive to subtle shifts, potentially flagging more frequent signals. It allows users to fine-tune how responsive the script is to early momentum changes, depending on their preferred level of signal strictness.
4. Table Positions (Optional).
There are inputs that let you decide the on-chart position of the tables. You can enable or disable these tables and choose where they appear (for instance, top-right or bottom-left), depending on how you want the data displayed alongside price bars.
Table and Its Position
When enabled, a large table, known as the Full Metrics Table, offers extensive details about various technical and behavioral metrics. You can place it anywhere on your chart layout for convenience. It is designed to give you a granular view of current conditions without overwhelming the main price candles themselves.
Another, smaller panel known as the Final Verdict Table can also be displayed at a user-chosen position. This panel simplifies the script’s internal assessments into broader verdicts or summaries, allowing for a quick read on the market’s status.
Features
Multi-Faceted Signal and Alert System.
The indicator continuously scans market activity, highlighting events such as sudden rises or drops, changes in volatility, and shifts in momentum. Users can configure an array of alerts that instantly notify them of these occurrences, reducing the need to constantly monitor the chart.
Candle Overlays and Fading Effects .
In addition to standard chart candles, the script offers visual cues by shading or coloring candles differently when it detects certain signals. The fading mechanism gradually diminishes the bar color of older signals so that recent ones are more noticeable. This helps keep the focus on current opportunities while retaining a historical context.
Contextual Market Synopsis .
Each time a candle closes, the tool updates a variety of behind-the-scenes checks. This process helps the user see whether the market remains within the same general state (trending, ranging, or reversing) or is shifting rapidly. It also adds clarity when conditions may be transitioning between bullish and bearish inclinations.
Adaptable Settings for Different Styles .
Since traders differ in their tolerance for rapid fluctuations, the script’s adjustable Sensitivity and Trading Style inputs provide a way to fine-tune how it reacts. Someone trading on shorter timeframes can opt for more frequent signals that capture subtle changes, whereas a position trader might lean toward smoother outputs that highlight only stronger, more sustained conditions.
Extended Data Analysis .
Beyond immediate buy/sell possibilities, the Reversal Matrix+ delivers comprehensive data to help users confirm or question a market stance. A wide range of volume, volatility, and price action elements are factored in, giving each signal additional context rather than a simple green or red highlight.
Final Verdict Summaries .
When the second table is enabled, it condenses key aspects of the indicator’s internal logic into straightforward statements. Rather than navigating multiple data rows, you can check if the market appears more stable or volatile, potentially bullish or bearish, and whether a reversal probability is deemed high or low.
Large-Scale Alert Coverage .
More than fifty specialized alerts focus on distinct aspects, enabling users to track everything from volume anomalies to momentum acceleration.
Specialized Color Schemes .
To assist in quickly spotting bullish or bearish tendencies, candles and background components may be tinted in line with the latest recognized conditions. This visual reinforcement makes it easier to decide if ongoing signals confirm a previous stance or suggest a change.
Buy/Sell Signals
A core function of the script is to present buy and sell indications on the chart, identifying moments when price momentum may be shifting in a meaningful way. These signals come in two varieties: potential reversals and confirmed reversals. Potential reversals appear sooner, providing an early heads-up that market behavior could be turning. Confirmed reversals require a stronger confluence of underlying conditions, aiming to reduce the likelihood of false starts.
Internally, the script examines multiple facets—such as momentum flow, changes in volatility, and volume characteristics—to determine when a potential transition is noteworthy enough to highlight as a signal. As soon as those conditions line up, the script applies distinct markers or shapes to the candles, making it easy to spot these pivotal points on the chart. In addition, each new signal is emphasized through color-based candle shading, while older signals gradually fade to keep attention on the most relevant opportunities.
Although these signals can function as standalone cues, many traders pair them with the script’s other outputs—such as the Full Metrics Table, the Final Verdict Table, and specialized alerts—to form a more complete perspective. For instance, a potential buy signal spotted in real time may gain extra weight if certain metrics in the table reflect a constructive market backdrop. Meanwhile, the final verdict can offer a succinct confirmation or contradiction to what the buy or sell signal suggests. By combining these elements, traders can pursue strategies that balance both immediacy and context, tailoring their entries and exits to their own tolerance for risk and time horizon.
These features collectively allow users to explore the market from multiple angles. Whether one seeks a deeper technical dive or simpler guidance, the indicator’s layered design aims to cater to a broad spectrum of trading approaches.
Full Metrics Table
A key element of Uptrick: Reversal Matrix+ is the extensive set of data displayed within the Full Metrics Table. Below is an expanded explanation of the sixty-four core metrics. Each is accompanied by a brief statement about its practical significance.
Price
Displays current price.
Price Percent
Shows how much the price has shifted in percentage terms over a recent comparison point. Useful for gauging recent moves.
Vo Open
Presents price movement in relation to the candle’s open. Helps traders see if momentum favored bullish or bearish direction within the candle.
Range Percent
Depicts the span between high and low over the candle’s range, offering a measure of volatility within that candle.
Bodi Percent
Indicates how much of the candle is body as opposed to wick. Shows whether there was more decisive movement or more back-and-forth trading.
Volatility
Generically measures how dramatically price has been fluctuating over a given period. Helps users notice if the market is calm or very active.
Mpeed
Represents a sense of speed in price movement, potentially revealing if momentum is picking up or slowing down.
Accel
Points to how quickly price movement shifts from one level of speed to another. Can hint at a market that is accelerating or flattening out.
Volume
Reflects how many shares, contracts, or units are traded within the current bar. Higher volume may suggest stronger conviction.
Vol Percent
Shows how the volume compares, in percentage, to a previous period’s volume. Useful for spotting surges or drops in trading activity.
Mession Hi
Captures the highest point within a recent observed period or session. Often watched for potential breakout or reversal clues.
Mession Lo
Captures the lowest point within a recent observed period or session. Similarly, used to watch for support or breakdowns.
Pos Percent
Indicates how far the current price stands within its range. Being near the upper percentile suggests strength or an overbought scenario, depending on the viewpoint.
Mpread
Offers a sense of the overall spread in price action, which can reflect the determination of buyers or sellers within a candle.
Gap
Shows the difference in price from a prior close or from some previous reference point. Helps identify abrupt shifts in sentiment.
Conf. (Core)
Presents a general level of signal confidence based on internal checks. Assists in quickly scanning for whether a candle is aligned with broader market patterns.
Availability
Describes liquidity conditions, such as whether the market seems actively traded or comparatively thinner.
Conf. Bias
Highlights if price and momentum appear to confirm a prevailing direction, or if there is a noticeable lack of such alignment.
Valuation
Suggests how current price compares to an internal yardstick of fair or undervalued settings. Useful for spotting potential discount or premium zones.
Reversal
Warns about the possibility that price may turn from its recent direction. Intriguing for those who look for turning points at the end of trends.
Vol. Mtate
Indicates whether conditions are characterized by subdued or elevated swings. A higher reading may signal that caution is warranted.
Direction
Reflects a bullish or bearish inclination based on internal data. Provides a simplified way to see whether momentum is leaning up or down.
Vol. Clarity
Measures the clarity of volume movement, potentially detecting spikes or plateaus that can confirm or contradict price action.
Mtructure
Offers insight into how recent highs and lows are forming. A market that keeps printing higher highs and lows might suggest ongoing upward momentum.
Reaction
Shows how quickly the market responds to new information. Speedy changes may indicate more emotionally driven or news-influenced trading.
Trend Conf.
Suggests the tool’s assessment of how solid or fragile a given direction is. Useful for quickly seeing if a trend might persist.
Zone
Labels whether price is running near top or bottom levels of a selected range, helping identify if a market is pushing extremes.
Ehhaustion
Reveals if a move might be overextended and could retrace. Helpful in deciding whether to take profits or wait for a deeper confirmation.
Range Env
Describes whether the market is operating in a tight or wide range. Can help in choosing strategies like breakout or range-bound approaches.
Demand
Reports on whether buying demand or selling supply is more dominant in the current period. Assists in gauging short-term pressure.
Conf. Level
Provides an additional notion of how firm a signal might be. It may be labeled as early or fully formed, helping with timing considerations.
Momentum
Conveys whether price is accelerating upward, decelerating, or shifting into a more neutral gear.
Higher Close Percent
Indicates the frequency of consecutive higher closes over recent bars. Demonstrates if a market is consistently pushing upward.
Bear Trap
Points to scenarios where sellers could be caught off guard if the market reverses after a seemingly bearish move.
Bull Trap
Opposite of the above, hinting that buyers may be misled if price fails to hold after a seemingly bullish shift.
Vol Mqueeze
Identifies periods where volume and volatility might be compressing. Often used by traders to anticipate a potential abrupt expansion in movement.
Divergence
Suggests a mismatch between price and internal momentum signals. May foretell a hidden reversal or shift in direction.
Hist. Vol
Provides a longer-term viewpoint of how volatility stands in the broader scope, enabling comparison between current choppiness and previous norms.
Velocity
Tracks the overall vigor of price movement. A high velocity can mean powerful directional drive.
Wick Ratio
Analyzes the presence of upper or lower wicks and can suggest whether buying or selling tails are dominant within each bar.
Decision Bias
Indicates how the script perceives near-term market consensus. A strong bias may reveal one side’s momentum more clearly.
Break Chance
Hints at whether a local high or low has a fair possibility of being broken, which can be relevant to breakout-style trading.
Trend Mlope
Observes the slope of the ongoing trend, showing whether price is inclining, declining, or moving sideways over a specified window.
Trend Dir
Concisely states if that slope leans upward or downward. Useful for determining basic directional posture at a glance.
Regime
Groups the market environment into stable bullish, stable bearish, or a more unsettled pattern, helping shape strategic decisions.
Price Comparison
Shows whether price is trading above or below certain historical or moving references. Provides a broad sense of market posture.
Vol Mhift
Highlights any general upswing or downswing in traded volume, indicating whether participants are stepping in or scaling back.
Mtructural Balance
Offers an overview of whether the chart bars show more wick dominance or more body dominance. Helps in reading subtle shifts in power.
Flow Mtability
Portrays how orderly or choppy the price movement is. Less stable flow can lead to more frequent reversals or whipsaws.
Liquidity Pull
Shows the extent to which trading activity may be magnetizing price, helping gauge if there is substantial interest at certain zones.
Bar Mhape
Describes the candle’s shape, such as longer upper or lower tails, which can point to rejections or confirmations of direction.
Bui/Mell Rating
Reveals which side holds greater influence at a glance. Might display more leaning to buy strength or to sell pressure.
Range Vol Flow
Monitors the interplay between how wide the range is and how volume is behaving. If both are expanding, more powerful swings may follow.
Hiper Move
Spots especially strong or sudden moves. Could be a swift jump up or down, prompting attention to volatility management.
Candle Force
Indicates how forceful a candle’s close is compared to its full range. Strong force bars often underscore decisive momentum.
Hi/Lo Tag
Alerts you to newly formed session extremes, helping confirm if recent highs or lows are significant.
Price Action
Labels the candle as leaning bullish, leaning bearish, or neutral, providing a concise understanding of the immediate tone.
Vol Abnorm
Distinguishes between typical volume and unusually high volume that might signal institutional trading or news releases.
Trend Match
Checks if short-term direction is aligned with a broader trend. Clear alignment can strengthen confidence in that direction.
Move Confirm
Conveys whether the tool sees a price movement as already established or still in a formative state.
Momentum Focus
Gives a quick snapshot of whether price momentum is generally tilting higher, lower, or holding steady.
Vol Total
Presents a broad average or accumulated sense of volume over a longer window, providing context for current activity.
Hist. Accum
Positions price within a more extended historical range, allowing one to see if the asset is near major peaks or troughs.
Trap Bias
Informs if the market may be showing conditions that lead to bull traps or bear traps, cautioning traders who chase rapid moves.
Final Verdict Table
The secondary table, known as the Final Verdict Table, condenses the tool’s main findings into concise statements. It watches for patterns such as alignment of trends, clarity of momentum, perceived volatility conditions, and possible reversals. Depending on what the script observes, the table might suggest a bullish confluence, a bearish confluence, an unstable market environment, or a more neutral outlook. This feature is particularly helpful for traders who prefer quick insights over a detailed breakdown of every metric.
Metrics Included in the Final Verdict Table
Directional Momentum Flow
This entry shows how the indicator interprets short-term momentum for the current market. If momentum appears to be gaining strength in one direction, it may indicate that buyers or sellers have a slight edge, whereas a flat reading might suggest indecision.
Volatility Regime Assessment
This metric provides insight into whether the market is relatively calm, moderate, or experiencing elevated volatility. A calmer volatility state might favor steadier strategies, while higher volatility could signal the potential for wider price swings.
Trend Continuity Confidence
This section reflects how confident the tool is in the market’s current trend. It helps traders see whether recent action supports a persistent uptrend, downtrend, or if there is ambiguity that undermines the idea of a consistent directional movement.
Reversal Probability Index
Here, the table evaluates whether conditions are conducive to a market turnaround. If the script observes signs of exhaustion or conflict in momentum, it may suggest an increased possibility of the price switching direction.
Manipulation Detector
This component looks for signals that the market may be attempting to trap buyers or sellers. For instance, a sudden shift might hint at a bull or bear trap scenario. This readout serves to caution against seemingly obvious moves that could quickly reverse.
Final Verdict
Below these metrics, the table presents a single overall statement that integrates the above factors. This final verdict can range from identifying a bullish or bearish confluence to calling the market unstable or neutral if conditions are inconclusive. It is intended to be a quick, high-level summary of the script’s general stance on the market.
Any Other Features
Users can access more than fifty specialized alerts that target different market conditions, from potential trap scenarios to shifts in volatility regimes. These alerts can be integrated into various platforms, ensuring that traders receive immediate notifications when critical triggers occur. The color-coded candle approach, combined with fading effects, helps maintain chart readability. Over time, this setup encourages a balance between a detailed backdrop of market data and a clear depiction of fresh signals.
Why More than One Indicator
Integrating multiple components under one roof offers several advantages. It reduces the chance of relying on a single dimension, such as price action alone, which can sometimes mislead or generate frequent false signals. By combining various measures of volatility, volume, and price structure, the script can reveal confluences or disagreements among different elements. This multi-faceted approach can improve clarity, making it easier to decide when conditions line up favorably or when they conflict, thereby prompting caution.
Conclusion
In summary, the Uptrick: Reversal Matrix + aims to deliver a sweeping overview of market dynamics. It guides users from raw observations—like price and volume—to broader insights concerning trend stability, potential reversals, and overall liquidity. Its dual-table system allows for both fine-grained analysis and fast verdicts, catering to traders with varying degrees of time and attention. The numerous alerts and color coding schemes further round out its capacity for real-time monitoring and visually clear signal presentation.
Disclaimer
Trading involves inherent risks, and no tool can entirely eliminate uncertainty. This indicator’s materials are provided for informational purposes, without guarantees regarding future performance. Traders should exercise due diligence, apply sound risk management, and consider professional advice. The Uptrick: Reversal Matrix+ does not assume responsibility for financial decisions made based on its output.
Fourier Trend Energy (Prototype)Fourier Trend Energy (Prototype)
This indicator brings the logic of Fourier-based trend analysis into Pine Script.
It estimates two key components:
Low-Frequency Energy — representing the strength of the underlying trend
High-Frequency Energy — representing noise, volatility, or deviation from the trend
🔹 Green line → trend strength
🔸 Orange line → short-term noise
🟩🟥 Background color → shows whether trend energy is increasing or decreasing
You can use it to:
Detect early trend formation
Filter fakeouts during consolidation
Spot momentum shifts based on energy crossovers
This is not a traditional oscillator — it’s a frequency-inspired tool to help you understand when the market is charging for a move.
VBSMI with Dynamic Bands and MTF Screener by QTX Algo SystemsVolatility Based SMI with Dynamic Bands & MTF Screener by QTX Algo Systems
Overview
This enhanced version of the Volatility Based SMI with Dynamic Bands (VBSMI) expands on the original design by integrating a Multi-Timeframe (MTF) Screener. It maintains the core momentum detection and volatility-responsive adjustments of the standard VBSMI while providing expanded multi-timeframe analysis across multiple assets in a tabular format.
By allowing users to track momentum shifts, reversals, and trend conditions across multiple timeframes and multiple assets, this version enhances market awareness and helps traders make more informed decisions.
How It Works
Enhanced SMI Calculation
The core SMI calculation uses double smoothing through Exponential Moving Averages (EMAs) to refine price movements.
Inputs for Smoothing K and Smoothing D control how much noise is filtered.
A final SMI EMA is applied to help confirm momentum direction.
Adaptive Volatility Scaling
A fixed Bollinger Band Width Percentile (BBWP) calculation is used to create an Adaptive Adjustment Factor for the SMI.
This ensures the oscillator adapts to current volatility levels, making signals more context-aware.
Dynamic Threshold Adjustment
The overbought and oversold thresholds (default 50 and -50) adjust in real time based on market conditions.
These adjustments use three proprietary factors:
Trend Lookback Period – Determines historical trend strength using a VWMA-based comparison.
Upper & Lower Band Tilt Strength – Controls how aggressively the bands shift in response to trends.
Opposite Band Compression – Adjusts the speed of threshold contraction when trends reverse, making it more responsive.
Multi-Timeframe and Multi-Asset Screener (MTF) – New Feature
The integrated MTF Screener provides a real-time overview of the VBSMI's conditions across multiple timeframes and assets.
It includes:
✅ User-selectable timeframes (Default: 1H, 4H, 1D, 3D, 1W, 1M).
✅ Up to 6 additional tickers for multi-asset analysis.
✅ Real-time VBSMI color-coded conditions for easier signal interpretation.
How to Read the MTF Screener Table
Each cell in the table provides a momentum reading based on VBSMI conditions in different timeframes:
🟢 Green Background → Oversold Condition (Potential Buy Zone)
🔴 Red Background → Overbought Condition (Potential Sell Zone)
📊 Label: "Up" or "Down" → Shows whether VBSMI is above or below its EMA.
🟠 Orange Background → VBSMI crossovers from oversold/overbought conditions
How to Use & Adjust Inputs
Momentum Confirmation & Reversals
Use the dynamically adjusting thresholds to confirm when momentum is overextended or entering a new trend phase.
Monitor crossovers between the SMI and its EMA—these can be potential reversal or trend continuation signals.
Multi-Timeframe Trend Confirmation
Look for alignment across multiple timeframes in the MTF Screener (e.g., if the 1H, 4H, and 1D all show green, it strengthens a bullish case).
Use the multi-ticker feature to see how different assets align with your primary asset’s momentum signals.
Fine-Tuning the Inputs
Smoothing K & D: Controls how much the SMI is smoothed. Lower values make the indicator respond faster but can introduce noise, while higher values produce smoother signals with a slight delay.
SMI EMA Length: Adjusts the sensitivity of the exponential moving average applied to the SMI. A lower value makes the EMA react more quickly, while a higher value slows it down for more stable signals.
Trend Lookback Period: Defines how far back the indicator looks to assess trend strength. A shorter lookback makes it more reactive to recent price movements, while a longer period smooths out fluctuations for a broader trend perspective.
Band Tilt Strengths: Determines how much the overbought and oversold levels shift in response to market trends. Increasing this value causes the thresholds to adjust more aggressively, making the indicator more sensitive to trend direction.
Opposite Band Compression: Controls how quickly the opposite band contracts when a trend reversal occurs. A higher value results in faster compression, making the indicator more responsive to sudden market shifts.
What Makes This Unique?
Unlike traditional Stochastic Momentum Index (SMI) indicators, which rely on fixed overbought/oversold levels, this version:
✔ Adjusts the SMI based on relevant volatility
✔ Adapts thresholds based on volatility & trend strength
✔ Incorporates multi-timeframe screening for trend confirmation
✔ Uses an MTF table for real-time, multi-asset tracking
Disclaimer
This indicator is for educational purposes only and is meant to support trading strategies—not replace independent analysis.
No financial guarantees are provided. Past performance does not guarantee future results. Always use proper risk management.
VIX Implied MovesKey Features:
Three Timeframe Bands:
Daily: Blue bands showing ±1σ expected move
Weekly: Green bands showing ±1σ expected move
30-Day: Red bands showing ±1σ expected move
Calculation Methodology:
Uses VIX's annualized volatility converted to specific timeframes using square root of time rule
Trading day convention (252 days/year)
Band width = Price × (VIX/100) ÷ √(number of periods)
Visual Features:
Colored semi-transparent backgrounds between bands
Progressive line thickness (thinner for shorter timeframes)
Real-time updates as VIX and ES prices change
Example Calculation (VIX=20, ES=5000):
Daily move = 5000 × (20/100)/√252 ≈ ±63 points
Weekly move = 5000 × (20/100)/√50 ≈ ±141 points
Monthly move = 5000 × (20/100)/√21 ≈ ±218 points
This indicator helps visualize expected price ranges based on current volatility conditions, with wider bands indicating higher market uncertainty. The probabilistic ranges represent 68% confidence levels (1 standard deviation) derived from options pricing.