RSI of Accumulation/DistributionHow to Use the RSI of Accumulation/Distribution Indicator:
1. Identify Overbought/Oversold Conditions:
Overbought: When the RSI of the ADL is above 70, it indicates that the asset may be overbought and could be due for a pullback or correction.
Oversold: When the RSI of the ADL is below 30, it suggests that the asset may be oversold and could be poised for a rebound.
2. Look for Divergences:
Bullish Divergence: If the price is making lower lows while the RSI of the ADL is making higher lows, it can signal a potential reversal to the upside.
Bearish Divergence: If the price is making higher highs while the RSI of the ADL is making lower highs, it can indicate a potential reversal to the downside.
3. Confirm Trend Strength:
Use the RSI of the ADL to confirm the strength of a trend. For example, if the RSI is consistently above 50 during an uptrend, it suggests strong buying pressure and the trend is likely to continue.
Conversely, if the RSI is consistently below 50 during a downtrend, it indicates strong selling pressure and the trend is likely to persist.
4. Monitor for Reversals:
When the RSI of the ADL crosses above 50, it can signal a potential bullish reversal.
When the RSI of the ADL crosses below 50, it can signal a potential bearish reversal.
Is It Worth It?
The RSI of the Accumulation/Distribution Line can be a valuable tool for traders looking to gain insights into market momentum and trend strength. Here are a few reasons why it might be worth considering:
1. Volume and Price Combination: By combining price action (RSI) with volume-based analysis (ADL), this indicator provides a more comprehensive view of market dynamics.
2. Divergence Detection: It helps identify divergences between price and volume, which can be early signals of potential reversals.
3. Trend Confirmation: It offers additional confirmation of trend strength and potential reversal points, helping traders make more informed decisions.
However, like any indicator, it's important to use it in conjunction with other analysis methods and not rely on it solely for trading decisions. Backtesting the indicator on historical data and combining it with other technical analysis tools can improve its effectiveness.
Feel free to test the script in TradingView and see how it performs in different market conditions. If you have any specific questions or need further assistance, let me know! 😊
Oscillators
Candle Bias ForecastCandle Bias Forecast Indicator
Description:
The Candle Bias Forecast Indicator is an original multi‐timeframe analysis tool that generates price forecast levels based on the difference between candle biases on two different timeframes. It uses innovative calculations to provide potential forecast levels that align with current price action.
How It Works:
1. Candle Bias Calculation:
For each candle, the indicator computes a “candle bias” using the formula:
candleBias = (((open + close)/2 - (high + low)/2) + ((close - open)/(high - low)))/2
This measure captures both the positioning of the candle’s body within its range and the normalized move from open to close.
2. Multi-Timeframe Analysis:
The script uses multiple timeframe pairs (e.g., 5-minute vs. 30-minute, 10-minute vs. 60-minute, etc.). For each pair, the bias is computed on the lower timeframe and on the higher timeframe.
3. Normalization with ATR:
To translate the dimensionless bias difference into price terms, the indicator multiplies the difference by the lower timeframe’s Average True Range (ATR). This scales the forecast adjustment to current market volatility.
4. Forecast Computation:
The forecast level for each pair is then calculated as:
forecast = close + (lowerTF_ATR * (lowerTF_bias - higherTF_bias))
This yields forecast levels that are plotted on the chart and connected by lines for a visual guide.
How to Use:
- Visual Confirmation: Add the indicator to your 1 to 15 minute chart to see forecast levels overlaid on the price.
- Supplementary Analysis: Use these forecast levels as an additional tool alongside your other analysis methods. They can help indicate potential support/resistance areas or directional bias.
Important Notes:
- Not a Standalone Signal: This indicator is intended to supplement your analysis. Always combine it with other tools and sound risk management practices.
- For Educational & Research Use: The indicator is provided “as is” without any guarantee of performance. It is designed to illustrate an innovative approach to multi-timeframe analysis.
- Disclaimer: Past performance is not indicative of future results. Use this tool at your own risk.
By combining candle bias with ATR-based normalization and multi-timeframe analysis, this indicator offers a unique perspective on market dynamics that can enrich your trading strategy.
---
*This is an original script designed to add value to the TradingView community. Please test and validate its outputs thoroughly before using it in live trading.*
Volume Delta Imbalance Index [PhenLabs]📊 Volume Delta Imbalance Index (VDII)
Version: PineScript™ v6
Description
The Volume Delta Imbalance Index is an advanced technical analysis tool that combines volume profile analysis with price movement dynamics to identify significant market imbalances. It features a sophisticated analysis system that weighs recent versus historical volume delta imbalance patterns, providing traders with insights into potential market reversals and trend continuation scenarios.
Points of Innovation:
Custom volume delta calculation incorporating price and volume relationships
Adaptive smoothing system based on market volatility
Multi-component analysis combining flow, acceleration, and strength metrics
Real-time volume profile integration with historical context
🔧 Core Components
Volume Profile Analysis: Dynamic volume delta imbalance distribution assessment
Flow Imbalance Detection: Buy/sell pressure evaluation
Strength Analysis: Composite market strength measurement
Acceleration Framework: Volume movement dynamics
Statistical Bands: Adaptive threshold system
🚨 Key Features 🚨
The indicator provides comprehensive analysis through:
Volume Delta: Up to date volume imbalance measurement
Market Structure: Support/resistance level identification
Flow Analysis: Buy/sell pressure visualization
Acceleration Signals: Movement momentum detection
Adaptive Bands: Dynamic overbought/oversold levels
📈 Visualization
Color-coded Columns: Shows direction and strength of imbalance
Signal Lines: Strong buy/sell level indicators
Statistical Bands: Shows normal trading ranges
Gradient Fills: Indicates extreme market conditions
Dynamic Opacity: Reflects trend strength
📌 Usage Guidelines
The indicator offers several customization options:
Basic Settings:
Lookback Period: Analysis timeframe adjustment
Sensitivity Level: Signal response calibration
History Depth: Historical context range
Memory Setting: Recent vs. historical data weight
Visual Settings:
Color Scheme: Bullish/bearish signal colors
Signal Levels: Strong buy/sell thresholds
Band Display: Statistical range visualization
✅ Best Use Cases / Things To Look For:
Wait for establishment in the initial trend when the VDII comes back towards zero and the color of the volume becomes more faint
Once this is established and the VDII pushes through to the other side look for small retracements above the zero line on the VDII leading you to believe it is a likely area for price to retrace and continue in its prior direction
Make sure you see the volume bars become more faint in color to give yo further confluence price will continue in its priorly established direction
⚠️ Limitations
Requires sufficient volume data
Most effective in liquid markets
Historical depth affects calculation speed
Possible lag in highly volatile conditions
What Makes This Unique
Composite Volume Analysis: Combines multiple volume metrics
Adaptive Calculation: Adjusts to market volatility
Profile Integration: Incorporates volume profile analysis
Multi-component Scoring: Weighted analysis system
Memory-efficient Design: Optimized for real-time analysis
🔧 How It Works
The indicator processes market data through four main components:
1. Volume Profile Analysis:
Creates dynamic volume delta distribution profiles
Weights recent versus historical data
Identifies significant price levels
2. Flow Imbalance Detection:
Analyzes buying versus selling pressure
Calculates normalized flow ratios
Determines market bias
3. Strength Analysis:
Measures composite market strength
Incorporates volume-weighted movements
Provides trend strength indication
4. Final Score Calculation:
Combines all components with weighted importance
Applies volatility-based smoothing
Generates final signal output
5. VDII Potential Reversal Confluences
Bars between signal confluence is default set to 10 but you can change it to whatever you’d prefer
Signals are a compiled look at the indicator as a whole determining where it think reversals or retracements are likely
💡 Note:
The indicator performs best in markets with consistent volume and clear trending or ranging conditions. Its sophisticated volume analysis provides valuable insights into market dynamics beyond traditional price-based indicators.
Bitcoin Log Growth Curve OscillatorThis script presents the oscillator version of the Bitcoin Logarithmic Growth Curve 2024 indicator, offering a new perspective on Bitcoin’s long-term price trajectory.
By transforming the original logarithmic growth curve into an oscillator, this version provides a normalized view of price movements within a fixed range, making it easier to identify overbought and oversold conditions.
For a comprehensive explanation of the mathematical derivation, underlying concepts, and overall development of the Bitcoin Logarithmic Growth Curve, we encourage you to explore our primary script, Bitcoin Logarithmic Growth Curve 2024, available here . This foundational script details the regression-based approach used to model Bitcoin’s long-term price evolution.
Normalization Process
The core principle behind this oscillator lies in the normalization of Bitcoin’s price relative to the upper and lower regression boundaries. By applying Min-Max Normalization, we effectively scale the price into a bounded range, facilitating clearer trend analysis. The normalization follows the formula:
normalized price = (upper regresionline − lower regressionline) / (price − lower regressionline)
This transformation ensures that price movements are always mapped within a fixed range, preventing distortions caused by Bitcoin’s exponential long-term growth. Furthermore, this normalization technique has been applied to each of the confidence interval lines, allowing for a structured and systematic approach to analyzing Bitcoin’s historical and projected price behavior.
By representing the logarithmic growth curve in oscillator form, this indicator helps traders and analysts more effectively gauge Bitcoin’s position within its long-term growth trajectory while identifying potential opportunities based on historical price tendencies.
Normalized RSI Oscillator with DivergencesNormalized RSI with Divergences {A Next-Level Trading Tool}
The Normalized RSI with Divergences indicator is a powerful and innovative tool designed to enhance your trading precision. By normalizing the Relative Strength Index (RSI) and detecting divergences between the standard and normalized RSI, this script helps traders identify potential trend reversals and continuations with remarkable clarity.
Key Features
🔹 Advanced RSI Normalization
• Transforms the traditional RSI into a normalized range of , making overbought and oversold conditions more intuitive.
• Utilizes a dynamic lookback period to adapt to market conditions.
🔹 Divergence Detection for Smarter Trading
• Identifies Bullish, Hidden Bullish, Bearish, and Hidden Bearish divergences by analyzing RSI pivot points.
• Provides early signals of trend reversals and continuations for better trade execution.
🔹 Clear & Visual Trade Signals
• Divergences are automatically labeled on the chart:
o Bullish Divergence: 🟢 “Bull” (Green) – Possible upward reversal.
o Hidden Bullish Divergence: 🟢 “Hid.” (Lime) – Continuation of an uptrend.
o Bearish Divergence: 🔴 “Bear” (Red) – Possible downward reversal.
o Hidden Bearish Divergence: 🟠 “Hid.” (Orange) – Continuation of a downtrend.
🔹 Fully Customizable Inputs
• Adjust RSI period, normalization lookback, and divergence parameters to fit your strategy.
• Tailor the indicator to your preferred trading style and market conditions.
________________________________________
How It Works
🔹 RSI Normalization Formula:
Norm=2×(RSI−MinMax−Min)−1\text{Norm} = 2 \times \left(\frac{\text{RSI} - \text{Min}}{\text{Max} - \text{Min}}\right) - 1Norm=2×(Max−MinRSI−Min)−1
• Min & Max represent the lowest and highest RSI values over the selected lookback period.
🔹 Divergence Detection Process:
• Identifies pivot points in both the normalized RSI and the standard RSI.
• Compares their directions to detect potential trading signals.
🔹 Real-Time Chart Labeling:
• Uses label.new to visually highlight divergence points for quick and efficient decision-making.
________________________________________
Input Parameters
• Source: Price source for RSI calculation (Default: hlc3).
• Signal Period: RSI calculation period (Default: 50).
• Lookback Range: Normalization period (Default: 200, Max: 5000).
• Trend Length: Smoothing period for normalized RSI (Default: 5).
• Band Width: Center line & bands calculation period (Default: 34).
• Divergence Range: Lookback period for divergence detection (Default: 5).
________________________________________
How to Use
1. Add the script to your trading chart.
2. Customize the settings to match your trading approach.
3. Watch for divergence labels to identify potential market moves:
o 🟢 Bullish Divergence: Possible upward reversal.
o 🟢 Hidden Bullish Divergence: Continuation of an uptrend.
o 🔴 Bearish Divergence: Possible downward reversal.
o 🟠 Hidden Bearish Divergence: Continuation of a downtrend.
________________________________________
Why Use This Indicator?
✅ Enhanced RSI Analysis: Normalization simplifies overbought/oversold conditions.
✅ Crystal-Clear Divergence Signals: Instantly spot key trend shifts.
✅ Fully Customizable: Adjust settings for your specific strategy.
✅ Improve Trade Accuracy: Gain an edge with precise divergence detection.
________________________________________
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice. Always conduct thorough research and backtesting before using it in live trading.
📜 License
This script is released under the Mozilla Public License 2.0.
Enjoy the Normalized RSI with Divergences indicator, and happy trading! 🚀📈
— Kerem Ertem
Multi-Indicator Signals with Selectable Options by DiGetMulti-Indicator Signals with Selectable Options
Script Overview
This Pine Script is a multi-indicator trading strategy designed to generate buy/sell signals based on combinations of popular technical indicators: RSI (Relative Strength Index) , CCI (Commodity Channel Index) , and Stochastic Oscillator . The script allows you to select which combination of signals to display, making it highly customizable and adaptable to different trading styles.
The primary goal of this script is to provide clear and actionable entry/exit points by visualizing buy/sell signals with arrows , labels , and vertical lines directly on the chart. It also includes input validation, dynamic signal plotting, and clutter-free line management to ensure a clean and professional user experience.
Key Features
1. Customizable Signal Types
You can choose from five signal types:
RSI & CCI : Combines RSI and CCI signals for confirmation.
RSI & Stochastic : Combines RSI and Stochastic signals.
CCI & Stochastic : Combines CCI and Stochastic signals.
RSI & CCI & Stochastic : Requires all three indicators to align for a signal.
All Signals : Displays individual signals from each indicator separately.
This flexibility allows you to test and use the combination that works best for your trading strategy.
2. Clear Buy/Sell Indicators
Arrows : Buy signals are marked with upward arrows (green/lime/yellow) below the candles, while sell signals are marked with downward arrows (red/fuchsia/gray) above the candles.
Labels : Each signal is accompanied by a label ("BUY" or "SELL") near the arrow for clarity.
Vertical Lines : A vertical line is drawn at the exact bar where the signal occurs, extending from the low to the high of the candle. This ensures you can pinpoint the exact entry point without ambiguity.
3. Dynamic Overbought/Oversold Levels
You can customize the overbought and oversold levels for each indicator:
RSI: Default values are 70 (overbought) and 30 (oversold).
CCI: Default values are +100 (overbought) and -100 (oversold).
Stochastic: Default values are 80 (overbought) and 20 (oversold).
These levels can be adjusted to suit your trading preferences or market conditions.
4. Input Validation
The script includes built-in validation to ensure that oversold levels are always lower than overbought levels for each indicator. If the inputs are invalid, an error message will appear, preventing incorrect configurations.
5. Clean Chart Design
To avoid clutter, the script dynamically manages vertical lines:
Only the most recent 50 buy/sell lines are displayed. Older lines are automatically deleted to keep the chart clean.
Labels and arrows are placed strategically to avoid overlapping with candles.
6. ATR-Based Offset
The vertical lines and labels are offset using the Average True Range (ATR) to ensure they don’t overlap with the price action. This makes the signals easier to see, especially during volatile market conditions.
7. Scalable and Professional
The script uses arrays to manage multiple vertical lines, ensuring scalability and performance even when many signals are generated.
It adheres to Pine Script v6 standards, ensuring compatibility and reliability.
How It Works
Indicator Calculations :
The script calculates the values of RSI, CCI, and Stochastic Oscillator based on user-defined lengths and smoothing parameters.
It then checks for crossover/crossunder conditions relative to the overbought/oversold levels to generate individual signals.
Combined Signals :
Depending on the selected signal type, the script combines the individual signals logically:
For example, a "RSI & CCI" buy signal requires both RSI and CCI to cross into their respective oversold zones simultaneously.
Signal Plotting :
When a signal is generated, the script:
Plots an arrow (upward for buy, downward for sell) at the corresponding bar.
Adds a label ("BUY" or "SELL") near the arrow for clarity.
Draws a vertical line extending from the low to the high of the candle to mark the exact entry point.
Line Management :
To prevent clutter, the script stores up to 50 vertical lines in arrays (buy_lines and sell_lines). Older lines are automatically deleted when the limit is exceeded.
Why Use This Script?
Versatility : Whether you're a scalper, swing trader, or long-term investor, this script can be tailored to your needs by selecting the appropriate signal type and adjusting the indicator parameters.
Clarity : The combination of arrows, labels, and vertical lines ensures that signals are easy to spot and interpret, even in fast-moving markets.
Customization : With adjustable overbought/oversold levels and multiple signal options, you can fine-tune the script to match your trading strategy.
Professional Design : The script avoids clutter by limiting the number of lines displayed and using ATR-based offsets for better visibility.
How to Use This Script
Add the Script to Your Chart :
Copy and paste the script into the Pine Editor in TradingView.
Save and add it to your chart.
Select Signal Type :
Use the "Signal Type" dropdown menu to choose the combination of indicators you want to use.
Adjust Parameters :
Customize the lengths of RSI, CCI, and Stochastic, as well as their overbought/oversold levels, to match your trading preferences.
Interpret Signals :
Look for green arrows and "BUY" labels for buy signals, and red arrows and "SELL" labels for sell signals.
Vertical lines will help you identify the exact bar where the signal occurred.
Tips for Traders
Backtest Thoroughly : Before using this script in live trading, backtest it on historical data to ensure it aligns with your strategy.
Combine with Other Tools : While this script provides reliable signals, consider combining it with other tools like support/resistance levels or volume analysis for additional confirmation.
Avoid Overloading the Chart : If you notice too many signals, try tightening the overbought/oversold levels or switching to a combined signal type (e.g., "RSI & CCI & Stochastic") for fewer but higher-confidence signals.
TSI Long/Short for BTC 2HThe TSI Long/Short for BTC 2H strategy is an advanced trend-following system designed specifically for trading Bitcoin (BTC) on a 2-hour timeframe. It leverages the True Strength Index (TSI) to identify momentum shifts and executes both long and short trades in response to dynamic market conditions.
Unlike traditional moving average-based strategies, this script uses a double-smoothed momentum calculation, enhancing signal accuracy and reducing noise. It incorporates automated position sizing, customizable leverage, and real-time performance tracking, ensuring a structured and adaptable trading approach.
🔹 What Makes This Strategy Unique?
Unlike simple crossover strategies or generic trend-following approaches, this system utilizes a customized True Strength Index (TSI) methodology that dynamically adjusts to market conditions.
🔸 True Strength Index (TSI) Filtering – The script refines the TSI by applying double exponential smoothing, filtering out weak signals and capturing high-confidence momentum shifts.
🔸 Adaptive Entry & Exit Logic – Instead of fixed thresholds, it compares the TSI value against a dynamically determined high/low range from the past 100 bars to confirm trade signals.
🔸 Leverage & Risk Optimization – Position sizing is dynamically adjusted based on account equity and leverage settings, ensuring controlled risk exposure.
🔸 Performance Monitoring System – A built-in performance tracking table allows traders to evaluate monthly and yearly results directly on the chart.
📊 Core Strategy Components
1️⃣ Momentum-Based Trade Execution
The strategy generates long and short trade signals based on the following conditions:
✅ Long Entry Condition – A buy signal is triggered when the TSI crosses above its 100-bar highest value (previously set), confirming bullish momentum.
✅ Short Entry Condition – A sell signal is generated when the TSI crosses below its 100-bar lowest value (previously set), indicating bearish pressure.
Each trade execution is fully automated, reducing emotional decision-making and improving trading discipline.
2️⃣ Position Sizing & Leverage Control
Risk management is a key focus of this strategy:
🔹 Dynamic Position Sizing – The script calculates position size based on:
Account Equity – Ensuring trade sizes adjust dynamically with capital fluctuations.
Leverage Multiplier – Allows traders to customize risk exposure via an adjustable leverage setting.
🔹 No Fixed Stop-Loss – The strategy relies on reversals to exit trades, meaning each position is closed when the opposite signal appears.
This design ensures maximum capital efficiency while adapting to market conditions in real time.
3️⃣ Performance Visualization & Tracking
Understanding historical performance is crucial for refining strategies. The script includes:
📌 Real-Time Trade Markers – Buy and sell signals are visually displayed on the chart for easy reference.
📌 Performance Metrics Table – Tracks monthly and yearly returns in percentage form, helping traders assess profitability over time.
📌 Trade History Visualization – Completed trades are displayed with color-coded boxes (green for long trades, red for short trades), visually representing profit/loss dynamics.
📢 Why Use This Strategy?
✔ Advanced Momentum Detection – Uses a double-smoothed TSI for more accurate trend signals.
✔ Fully Automated Trading – Removes emotional bias and enforces discipline.
✔ Customizable Risk Management – Adjust leverage and position sizing to suit your risk profile.
✔ Comprehensive Performance Tracking – Integrated reporting system provides clear insights into past trades.
This strategy is ideal for Bitcoin traders looking for a structured, high-probability system that adapts to both bullish and bearish trends on the 2-hour timeframe.
📌 How to Use: Simply add the script to your 2H BTC chart, configure your leverage settings, and let the system handle trade execution and tracking! 🚀
[SHORT ONLY] Internal Bar Strength (IBS) Mean Reversion Strategy█ STRATEGY DESCRIPTION
The "Internal Bar Strength (IBS) Strategy" is a mean-reversion strategy designed to identify trading opportunities based on the closing price's position within the daily price range. It enters a short position when the IBS indicates overbought conditions and exits when the IBS reaches oversold levels. This strategy is Short-Only and was designed to be used on the Daily timeframe for Stocks and ETFs.
█ WHAT IS INTERNAL BAR STRENGTH (IBS)?
Internal Bar Strength (IBS) measures where the closing price falls within the high-low range of a bar. It is calculated as:
IBS = (Close - Low) / (High - Low)
- Low IBS (≤ 0.2) : Indicates the close is near the bar's low, suggesting oversold conditions.
- High IBS (≥ 0.8) : Indicates the close is near the bar's high, suggesting overbought conditions.
█ SIGNAL GENERATION
1. SHORT ENTRY
A Short Signal is triggered when:
The IBS value rises to or above the Upper Threshold (default: 0.9).
The Closing price is greater than the previous bars High (close>high ).
The signal occurs within the specified time window (between `Start Time` and `End Time`).
2. EXIT CONDITION
An exit Signal is generated when the IBS value drops to or below the Lower Threshold (default: 0.3). This prompts the strategy to exit the position.
█ ADDITIONAL SETTINGS
Upper Threshold: The IBS level at which the strategy enters trades. Default is 0.9.
Lower Threshold: The IBS level at which the strategy exits short positions. Default is 0.3.
Start Time and End Time: The time window during which the strategy is allowed to execute trades.
█ PERFORMANCE OVERVIEW
This strategy is designed for Stocks and ETFs markets and performs best when prices frequently revert to the mean.
The strategy can be optimized further using additional conditions such as using volume or volatility filters.
It is sensitive to extreme IBS values, which help identify potential reversals.
Backtesting results should be analyzed to optimize the Upper/Lower Thresholds for specific instruments and market conditions.
ADX with Moving AverageADX with Moving Average is a powerful indicator that enhances trend analysis by combining the standard Average Directional Index (ADX) with a configurable moving average.
The ADX helps traders identify the strength of a trend. In general:
ADX 0-20 – Absent or Weak Trend
ADX 25-50 – Strong Trend
ADX 50-75 – Very Strong Trend
ADX 75-100 – Extremely Strong Trend
By adding a moving average we can judge if the ADX itself is trending upwards or downwards, i.e. if a new trend is emerging or an existing one is weakening.
This combination allows traders to better confirm strong trends and filter out weak or choppy market conditions.
Key Features & Customization:
✔ Configurable DI & ADX Lengths – Adjust how quickly the ADX reacts to price movements (default: 14, 14).
✔ Multiple Moving Average Options – Choose between SMA, EMA, WMA, VWMA, or T3 for trend confirmation.
✔ Custom MA Length – Fine-tune the sensitivity of the moving average to match your strategy.
🔹 Use this indicator to confirm strong trends before entering trades, filter out false signals, or refine existing strategies with a dynamic trend-strength component. 🚀
OI RSI - WuJianDAOOI RSI (Open Interest Relative Strength Index)
Overview: OI RSI is a technical indicator that applies the RSI concept to open interest data.
Key Features:
Traditional vs. OI RSI:
Traditional RSI measures price movements to identify overbought or oversold conditions.
OI RSI computes the relative strength of open interest over a specified period.
Purpose:
Provides insights into market participation and sentiment by evaluating open interest levels.
Application:
Assists traders in detecting potential reversals or confirming trends based on open interest dynamics.
Crypto Scanner v4This guide explains a version 6 Pine Script that scans a user-provided list of cryptocurrency tokens to identify high probability tradable opportunities using several technical indicators. The script combines trend, momentum, and volume-based analyses to generate potential buying or selling signals, and it displays the results in a neatly formatted table with alerts for trading setups. Below is a detailed walkthrough of the script’s design, how traders can interpret its outputs, and recommendations for optimizing indicator inputs across different timeframes.
## Overview and Key Components
The script is designed to help traders assess multiple tokens by calculating several indicators for each one. The key components include:
- **Input Settings:**
- A comma-separated list of symbols to scan.
- Adjustable parameters for technical indicators such as ADX, RSI, MFI, and a custom Wave Trend indicator.
- Options to enable alerts and set update frequencies.
- **Indicator Calculations:**
- **ADX (Average Directional Index):** Measures trend strength. A value above the provided threshold indicates a strong trend, which is essential for validating momentum before entering a trade.
- **RSI (Relative Strength Index):** Helps determine overbought or oversold conditions. When the RSI is below the oversold level, it may present a buying opportunity, while an overbought condition (not explicitly part of this setup) could suggest selling.
- **MFI (Money Flow Index):** Similar in concept to RSI but incorporates volume, thus assessing buying and selling pressure. Values below the designated oversold threshold indicate potential undervaluation.
- **Wave Trend:** A custom indicator that calculates two components (WT1 and WT2); a crossover where WT1 moves from below to above WT2 (particularly near oversold levels) may signal a reversal and a potential entry point.
- **Scanning and Trading Zone:**
- The script identifies a *bullish setup* when the following conditions are met for a token:
- ADX exceeds the threshold (strong trend).
- Both RSI and MFI are below their oversold levels (indicating potential buying opportunities).
- A Wave Trend crossover confirms near-term reversal dynamics.
- A *trading zone* condition is also defined by specific ranges for ADX, RSI, MFI, and a limited difference between WT1 and WT2. This zone suggests that the token might be in a consolidation phase where even small moves may be significant.
- **Alerts and Table Reporting:**
- A table is generated, with each row corresponding to a token. The table contains columns for the symbol, ADX, RSI, MFI, WT1, WT2, and the trading zone status.
- Visual cues—such as different background colors—highlight tokens with a bullish setup or that are within the trading zone.
- Alerts are issued based on the detection of a bullish setup or entry into a trading zone. These alerts are limited per bar to avoid flooding the trader with notifications.
## How to Interpret the Indicator Outputs
Traders should use the indicator values as guidance, verifying them against their own analysis before making any trading decision. Here’s how to assess each output:
- **ADX:**
- **High values (above threshold):** Indicate strong trends. If other indicators confirm an oversold condition, a trader may consider a long position for a corrective reversal.
- **Low values:** Suggest that the market is not trending strongly, and caution should be taken when considering entry.
- **RSI and MFI:**
- **Below oversold levels:** These conditions are traditionally seen as signals that an asset is undervalued, potentially triggering a bounce.
- **Above typical resistance levels (not explicitly used here):** Would normally caution a trader against entering a long position.
- **Wave Trend (WT1 and WT2):**
- A crossover where WT1 moves upward above WT2 in an oversold environment can signal the beginning of a recovery or reversal, thereby reinforcing buy signals.
- **Trading Zone:**
- Being “in zone” means that the asset’s current values for ADX, RSI, MFI, and the closeness of the Wave Trend lines indicate a period of consolidation. This scenario might be suitable for both short-term scalping or as an early exit indicator, depending on further market analysis.
## Timeframe Optimization Input Table
Traders can optimize indicator inputs depending on the timeframe they use. The following table provides a set of recommended input values for various timeframes. These values are suggestions and should be adjusted based on market conditions and individual trading styles.
Timeframe ADX RSI MFI ADX RSI MFI WT Channel WT Average
5-min 10 10 10 20 30 20 7 15
15-min 12 12 12 22 30 20 9 18
1-hour 14 14 14 25 30 20 10 21
4-hour 16 16 16 27 30 20 12 24
1-day 18 18 18 30 30 20 14 28
Adjust these parameters directly in the script’s input settings to match the selected timeframe. For shorter timeframes (e.g., 5-min or 15-min), the shorter lengths help filter high-frequency noise. For longer timeframes (e.g., 1-day), longer input values may reduce false signals and capture more significant trends.
## Best Practices and Usage Tips
- **Token Limit:**
- Limit the number of tokens scanned to 10 per query line. If you need to scan more tokens, initiate a new query line. This helps manage screen real estate and ensures the table remains legible.
- **Confirming Signals:**
- Use this script as a starting point for identifying high potential trades. Each indicator’s output should be used to confirm your trading decision. Always cross-reference with additional technical analysis tools or market context.
- **Regular Review:**
- Since the script updates the table every few bars (as defined by the update frequency), review the table and alerts regularly. Market conditions change rapidly, so timely decisions are crucial.
## Conclusion
This Pine Script provides a comprehensive approach for scanning multiple cryptocurrencies using a combination of trend strength (ADX), momentum (RSI and MFI), and reversal signals (Wave Trend). By using the provided recommendation table for different timeframes and limiting the tokens to 20 per query line (with a maximum of four query lines), traders can streamline their scanning process and more effectively identify high probability tradable tokens. Ultimately, the outputs should be critically evaluated and combined with additional market research before executing any trades.
Relative Performance SuiteOverview
The Relative Performance Suite (RPS) is a versatile and comprehensive indicator designed to evaluate an asset's performance relative to a benchmark. By offering multiple methods to measure performance, including Relative Performance, Alpha, and Price Ratio, this tool helps traders and investors assess asset strength, resilience, and overall behavior in different market conditions.
Key Features:
✅ Multiple Performance Measures:
Choose from various relative performance calculations, including:
Relative Performance:
Measures how much an asset has outperformed or underperformed its benchmark over a given period.
Relative Performance (Proportional):
A proportional version of relative performance,
factoring in scaling effects.
Relative Performance (MA Based):
Uses moving averages to smooth performance fluctuations.
Alpha:
A measure of an asset’s performance relative to what would be expected based on its beta and the benchmark’s return. It represents the excess return above the risk-free rate after adjusting for market risk.
Price Ratio:
Compares asset prices directly to determine relative value over time.
✅ Customizable Moving Averages:
Apply different moving average types (SMA, EMA, SMMA, WMA, VWMA) to smooth price inputs and refine calculations.
✅ Beta Calculation:
Includes a Beta measure used in Alpha calculation, which users can toggle the visibility of helping users understand an asset's sensitivity to market movements.
✅ Risk-Free Rate Adjustment:
Incorporate risk-free rates (e.g., US Treasury yields, Fed Funds Rate) for a more accurate calculation of Alpha.
✅ Logarithmic Returns Option:
Users can switch between standard returns and log returns for more refined performance analysis.
✅ Dynamic Color Coding:
Identify outperformance or underperformance with intuitive color coding.
Option to color bars based on relative strength, making chart analysis easier.
✅ Customizable Tables for Data Display:
Overview table summarizing key metrics.
Explanation table offering insights into how values are derived.
How to Use:
Select a Benchmark: Choose a comparison symbol (e.g., TOTAL or SPX ).
Pick a Performance Metric: Use different modes to analyze relative performance.
Customize Calculation Methods: Adjust moving averages, timeframes, and log returns based on preference.
Interpret the Colors & Tables: Utilize the dynamic coloring and tables to quickly assess market conditions.
Ideal For:
Traders looking to compare individual asset performance against an index or benchmark.
Investors analyzing Alpha & Beta to understand risk-adjusted returns.
Market analysts who want a visually intuitive and data-rich performance tracking tool.
This indicator provides a powerful and flexible way to track relative asset strength, helping users make more informed trading decisions.
Delta Volume Histogram with Filters and AlertsОписание (Russian):
Индикатор "Delta Volume Histogram" определяет дельту объёма и отображает её в виде гистограммы. Он показывает разницу между объёмами покупок и продаж, с возможностью фильтрации значений и вызова алертов.
Функции:
Фильтр для отображения только значений выше заданного порога.
Режим отображения всех значений выше нуля.
Алерт при появлении дельты, превышающей установленный фильтр.
Description (English):
The "Delta Volume Histogram" indicator calculates volume delta and displays it as a histogram. It highlights the difference between buy and sell volumes, with options for filtering values and triggering alerts.
Features:
Filter to display only values above a specified threshold.
**Features (continued):**
- Mode to display both positive and negative delta values above the zero line for better visualization.
- Alert functionality that notifies you when the delta volume exceeds the specified filter value.
This indicator is ideal for traders who want to track buying and selling pressure in the market, helping to identify strong movements and potential reversals based on volume delta analysis.
Support and Resistance with Buy/Sell SignalsSwing Highs and Lows:
The script identifies swing highs and lows using the ta.highest and ta.lowest functions over a user-defined swing_length period.
Swing highs are treated as resistance levels.
Swing lows are treated as support levels.
Buy Signal:
A buy signal is generated when the price closes above the resistance level (ta.crossover(close, swing_high)).
Sell Signal:
A sell signal is generated when the price closes below the support level (ta.crossunder(close, swing_low)).
Plotting:
Support and resistance levels are plotted on the chart.
Buy and sell signals are displayed as labels on the chart.
Background Highlighting:
The background is highlighted in green for buy signals and red for sell signals (optional).
Tri-Fold BB(Trend-Strength)*indicator isn't preset to look as displayed, do so accordingly*
"Tri-Fold BB" is an indicator that utilizes three Bollinger Bands, each of different length as a way to represent trend strength. This allows one to see the trend strength relative to multiple timeframes: short, mid, and long term trend strength. This is helpful because it provides the user with a holistic view of the asset.
How it Works
The indicator is preset to utilizing three different Bollinger Bands with length: 20, 50, and 100. This indicator simply plots the price of an asset relative to its specified Bollinger Band. For an example, if the price of the asset were to surpass its 20BB standard deviations, it would display so accordingly, though from the perspective of lets say... the 100, it may have looked like it barely moved up a standard deviation relative to 100BB because the standard deviations of a 100BB are more spread out.
Its important to view the trend strength from multiple lengths because it allows one to gauge whether the short term trend strength is likely to hold or not. A better way to speculate on asset behavior.
Another way to view this indicator is similar to that of the BB% indicator, except this indicator allows us to view price relative to standard deviations, across multiple timeframes. More holistic, more utility provided.
Basic Understanding:
Each line = Standard Deviation (3 upper, 3 lower)
Mid-Line = Basis relative to BB(20sma, 50sma, 100sma)
If price goes under Basis, that means it crossed below their specified sma(significant bull or bear signal)
I've also added HMA's relative to each BB incase one were to decide in creating some sort of trading strategy with it. I personally don't use them but I understand that it could be helpful to some so I left it in there. If you don't like them then simply deselect them and then save your desired setup as default.
In regard to regular indications of bullish or bearishness, i'd like to add that I use this indicator for the sole purpose of providing an idea of trend strength. I personally am unsure to state that cross overs directly indicate that there is a bull or bear move because I've seen instances where the price of an asset went in a direction contrary to what it 'should' have if we were to use that cross over strategy. Though of course, feel free to use this indicator as desired.
Iron Bot Statistical Trend Filter📌 Iron Bot Statistical Trend Filter
📌 Overview
Iron Bot Statistical Trend Filter is an advanced trend filtering strategy that combines statistical methods with technical analysis.
By leveraging Z-score and Fibonacci levels, this strategy quantitatively analyzes market trends to provide high-precision entry signals.
Additionally, it includes an optional EMA filter to enhance trend reliability.
Risk management is reinforced with Stop Loss (SL) and four Take Profit (TP) levels, ensuring a balanced approach to risk and reward.
📌 Key Features
🔹 1. Statistical Trend Filtering with Z-Score
This strategy calculates the Z-score to measure how much the price deviates from its historical mean.
Positive Z-score: Indicates a statistically high price, suggesting a strong uptrend.
Negative Z-score: Indicates a statistically low price, signaling a potential downtrend.
Z-score near zero: Suggests a ranging market with no strong trend.
By using the Z-score as a filter, market noise is reduced, leading to more reliable entry signals.
🔹 2. Fibonacci Levels for Trend Reversal Detection
The strategy integrates Fibonacci retracement levels to identify potential reversal points in the market.
High Trend Level (Fibo 23.6%): When the price surpasses this level, an uptrend is likely.
Low Trend Level (Fibo 78.6%): When the price falls below this level, a downtrend is expected.
Trend Line (Fibo 50%): Acts as a midpoint, helping to assess market balance.
This allows traders to visually confirm trend strength and turning points, improving entry accuracy.
🔹 3. EMA Filter for Trend Confirmation (Optional)
The strategy includes an optional 200 EMA (Exponential Moving Average) filter for trend validation.
Price above 200 EMA: Indicates a bullish trend (long entries preferred).
Price below 200 EMA: Indicates a bearish trend (short entries preferred).
Enabling this filter reduces false signals and improves trend-following accuracy.
🔹 4. Multi-Level Take Profit (TP) and Stop Loss (SL) Management
To ensure effective risk management, the strategy includes four Take Profit levels and a Stop Loss:
Stop Loss (SL): Automatically closes trades when the price moves against the position by a certain percentage.
TP1 (+0.75%): First profit-taking level.
TP2 (+1.1%): A higher probability profit target.
TP3 (+1.5%): Aiming for a stronger trend move.
TP4 (+2.0%): Maximum profit target.
This system secures profits at different stages and optimizes risk-reward balance.
🔹 5. Automated Long & Short Trading Logic
The strategy is built using Pine Script®’s strategy.entry() and strategy.exit(), allowing fully automated trading.
Long Entry:
Price is above the trend line & high trend level.
Z-score is positive (indicating an uptrend).
(Optional) Price is also above the EMA for stronger confirmation.
Short Entry:
Price is below the trend line & low trend level.
Z-score is negative (indicating a downtrend).
(Optional) Price is also below the EMA for stronger confirmation.
This logic helps filter out unnecessary trades and focus only on high-probability entries.
📌 Trading Parameters
This strategy is designed for flexible capital management and risk control.
💰 Account Size: $5000
📉 Commissions and Slippage: Assumes 94 pips commission per trade and 1 pip slippage.
⚖️ Risk per Trade: Adjustable, with a default setting of 1% of equity.
These parameters help preserve capital while optimizing the risk-reward balance.
📌 Visual Aids for Clarity
To enhance usability, the strategy includes clear visual elements for easy market analysis.
✅ Trend Line (Blue): Indicates market midpoint and helps with entry decisions.
✅ Fibonacci Levels (Yellow): Highlights high and low trend levels.
✅ EMA Line (Green, Optional): Confirms long-term trend direction.
✅ Entry Signals (Green for Long, Red for Short): Clearly marked buy and sell signals.
These features allow traders to quickly interpret market conditions, even without advanced technical analysis skills.
📌 Originality & Enhancements
This strategy is developed based on the IronXtreme and BigBeluga indicators,
combining a unique Z-score statistical method with Fibonacci trend analysis.
Compared to conventional trend-following strategies, it leverages statistical techniques
to provide higher-precision entry signals, reducing false trades and improving overall reliability.
📌 Summary
Iron Bot Statistical Trend Filter is a statistically-driven trend strategy that utilizes Z-score and Fibonacci levels.
High-precision trend analysis
Enhanced accuracy with an optional EMA filter
Optimized risk management with multiple TP & SL levels
Visually intuitive chart design
Fully customizable parameters & leverage support
This strategy reduces false signals and helps traders ride the trend with confidence.
Try it out and take your trading to the next level! 🚀
Advanced Supertrend Enhanced ADXEnhanced Supertrend ADX Indicator - Technical Documentation
Overview
The Enhanced Supertrend ADX indicator combines ADX directional strength with Supertrend trend-following capabilities, creating a comprehensive trend detection system. It's enhanced with normalization techniques and multiple filters to provide reliable trading signals.
Key Features and Components
The indicator incorporates three main components:
Core ADX and Supertrend Fusion
Uses a shorter ADX period for increased sensitivity
Integrates Supertrend signals for trend confirmation
Applies a long-term moving average for trend context
Advanced Filtering System
Volatility filter: Identifies periods of significant market movement
Momentum filter: Confirms the strength and sustainability of trends
Lateral market detection: Identifies ranging market conditions
Data Normalization
Standardizes indicator readings across different instruments
Makes signals comparable across various market conditions
Reduces extreme values and false signals
Model Assumptions
The indicator operates under several key assumptions:
Market Behavior
Markets alternate between trending and lateral phases
Strong trends correlate with increased volatility
Price momentum confirms trend strength
Market transitions follow identifiable patterns
Signal Reliability
Low ADX values indicate lateral markets
Valid signals require both volatility and momentum confirmation
Multi-filter confirmation increases signal reliability
Price normalization enhances signal quality
Trading Applications
The indicator supports different trading approaches:
Trend Trading
Strong signals when all filters align
Clear distinction between bullish and bearish trends
Momentum confirmation for trend continuation
Range Trading
Clear identification of lateral markets
Band-based trading boundaries
Reduced false breakout signals
Transition Trading
Early identification of trend-to-range transitions
Clear signals for range-to-trend transitions
Momentum-based confirmation of breakouts
Risk Considerations
Important factors to consider:
Signal Limitations
Potential delay in fast-moving markets
False signals during extreme volatility
Time frame dependency
Best Practices
Use in conjunction with other indicators
Apply proper position sizing
Focus on liquid instruments
Consider market context
Performance Characteristics
The indicator shows optimal performance under specific conditions:
Ideal Conditions
Daily timeframe analysis
Clear trending market phases
Liquid market environments
Normal volatility conditions
Challenging Conditions
Choppy market conditions
Extremely low volatility
Highly volatile markets
Illiquid instruments
Implementation Recommendations
For optimal use, consider:
Market Selection
Best suited for major markets
Requires adequate liquidity
Works well with trending instruments
Timeframe Selection
Primary: Daily charts
Secondary: 4-hour charts
Caution on lower timeframes
Risk Management
Use appropriate position sizing
Set clear stop-loss levels
Consider market volatility
Monitor overall exposure
This indicator serves as a comprehensive tool for market analysis, combining traditional technical analysis with modern filtering techniques. Its effectiveness depends on proper implementation and understanding of market conditions.
SNR Quarter Pointsfor btmm swingers
this is qp /quater point find in trading view
Here's a description for your TradingView Pine Script indicator:
---
**Support & Resistance (SNR) Lines Indicator**
This TradingView indicator automatically draws Support and Resistance (SNR) lines on the chart at every 250-pip level, starting from 0.0000. The indicator aims to help traders identify key price levels where the market is likely to experience reversal or consolidation. By plotting lines at regular intervals, the script provides a clear visual representation of potential support and resistance zones, aiding traders in making more informed trading decisions. The levels are dynamically adjusted based on market price movement, ensuring they stay relevant for active trading.
---
Let me know if you’d like to tweak it further!
Opening Range, Initial Balance, Opening Price, Pre-market Levels### Description of the Indicator: **Opening Range, Initial Balance, Opening Price, Pre-market Levels**
This custom TradingView indicator provides a comprehensive view of key price levels for intraday trading, specifically designed to track important levels from the Opening Range (OR), Initial Balance (IB), Opening Price (OP), and Pre-market session (PM). These levels are essential for traders to gauge potential market movements and identify critical areas of support and resistance.
#### **Features:**
1. **Opening Range (OR):**
- This is the high and low of the first 30 minutes of the regular market session (09:30 - 10:00 EST).
- The OR high and low act as significant levels that may influence price movement for the rest of the day.
- The mid-level of the Opening Range (OR Mid) is also plotted to give a more detailed view of potential price action.
2. **Initial Balance (IB):**
- The Initial Balance is the range created during the first hour of market activity (09:30 - 10:30 EST).
- This range often sets the tone for the market's direction. The IB high and low, along with the IB midline, are plotted for quick reference.
3. **Opening Price (OP):**
- The opening price of the market is marked as a circle and labeled "OP."
- This level provides context for market sentiment when compared to the high and low levels.
4. **Pre-market Levels (PM):**
- The pre-market session (04:00 - 09:30 EST) has its own important levels that are calculated for the high, low, and mid range (PM High, PM Low, and PM Mid).
- These levels are plotted and are useful for traders to understand where the market stood before the regular session opened.
#### **Customization Options:**
- **Exchange Timezone:** You can choose whether to display the times in the exchange's local timezone or in your own preferred timezone.
- **Mid Levels Display:** You can toggle whether the mid levels for each range (OR, IB, PM) should be shown on the chart.
- **Level Color Change:** The colors of the plotted levels (high, low, mid) change based on whether the price is above or below the respective level, making it easy to visualize potential support and resistance.
- **Label Positions:** The position of the labels (OR, IB, OP, PM) on the chart can be customized to avoid overlap with other data points.
#### **Key Use Cases:**
- **Intraday Trend Analysis:** Use the OR and IB to identify key levels for the day, providing insights into the possible trend or range for the day.
- **Pre-market Insights:** The PM levels are crucial for understanding where the market stood during the pre-market hours and can be used as reference points during the regular session.
- **Potential Support and Resistance:** The high and low levels of the OR, IB, and PM sessions can act as potential support or resistance, which are useful for setting stop-loss and take-profit levels.
#### **How to Use:**
- Pay attention to the levels provided for OR, IB, and PM as potential entry and exit points.
- Watch for breakouts or reversals around these levels, especially when combined with other technical indicators or price action patterns.
- The mid levels offer an additional reference to assess price direction or identify possible areas of consolidation.
This indicator is perfect for day traders who rely on key intraday levels and pre-market activity to make informed trading decisions. It helps to streamline the process of identifying potential breakouts, reversals, and ranges in the market.
Enhanced Momentum Divergence Radar+ [Alpha Extract]Enhanced Momentum Divergence Radar+
The AE's Enhanced Momentum Divergence Radar+ is designed to detect momentum shifts and divergence patterns, helping traders identify potential trend reversals and continuation points. By normalizing momentum readings and applying divergence detection, it enhances market timing for entries and exits.
🔶 CALCULATION
The indicator calculates normalized momentum using a combination of Detrended Price Oscillator (DPO) and volatility-adjusted smoothing techniques. It highlights overbought and oversold conditions while identifying bullish and bearish divergences.
Core Calculation:
ATR-based volatility adjustment ensures dynamic sensitivity.
DPO is derived from the price minus a simple moving average (SMA) to isolate cyclical movements.
Momentum score is normalized using historical max values for consistent scaling.
Thresholds are dynamically adjusted based on average absolute momentum.
dpo = close - ma
sd = (dpo / volatility) * 100
normalizedSD = sd / maxAbsSD
The momentum score is plotted as a histogram, where:
Green bars indicate strong upward momentum.
Red bars indicate strong downward momentum.
Neutral values fade into gray.
🔶 DETAILS
📊 Visual Features:
Histogram bars dynamically color-coded based on momentum strength.
Threshold bands provide reference points for overbought and oversold levels.
Divergence markers (Bullish/Bearish & Hidden Bullish/Bearish) highlight key reversal signals.
🛠 How Divergences Work:
Bullish Divergence (𝓞𝓢): Price makes a lower low while momentum makes a higher low.
Bearish Divergence (𝓞𝓑): Price makes a higher high while momentum makes a lower high.
Hidden Divergences confirm trend continuations rather than reversals.
📌 Example of Divergence Logic:
bullishDiv = (low == priceLow) and (sd > momentumLow)
bearishDiv = (high == priceHigh) and (sd < momentumHigh)
🔶 EXAMPLES
📍 The chart below illustrates price reacting to momentum divergences, identifying potential tops and bottoms before major price moves.
📌 Example snapshots:
A bullish divergence leading to a reversal in price.
A bearish divergence marking the beginning of a downtrend.
🔶 SETTINGS
🔹 Customization Options:
Lookback Period: Adjusts sensitivity to market cycles.
Smoothing Period: Controls signal clarity.
Color Options: Enables bar coloring based on momentum strength.
Divergence Sensitivity: Choose to display hidden divergences.
Trend Strength & Direction📌 Assumptions of the "Trend Strength & Direction" Model
This model is designed to measure both trend strength and trend direction, using a modified version of the ADX (Average Directional Index) while also identifying ranging markets. Below is a detailed breakdown of all key assumptions.
1️⃣ Using ADX as the Basis for Trend Strength
Why ADX?
The ADX (Average Directional Index) is one of the most commonly used indicators for measuring trend strength, regardless of direction.
How is it calculated?
ATR (Average True Range) is used to normalize volatility.
Directional movement (+DM and -DM) is smoothed with an Exponential Moving Average (EMA) to obtain the +DI (Positive Directional Indicator) and -DI (Negative Directional Indicator).
Trend strength is derived by normalizing the absolute difference between +DI and -DI, divided by the sum of both.
🔹 Assumption: A high ADX means the trend is strong (whether bullish or bearish).
2️⃣ 50-Period Moving Average for Trend Strength
Why add a moving average?
ADX can be very volatile in the short term.
A 50-period SMA (Simple Moving Average) is used to smooth out trend strength and identify sustained trends.
🔹 Assumption: The SMA reduces false signals caused by short-term ADX spikes.
3️⃣ Identifying a Ranging Market (ADX Below 35)
How is a ranging market defined?
If the trend strength (ADX) is below 35, the market is considered "ranging".
The 35-level threshold is chosen empirically since ADX values below this level often indicate a lack of strong price direction.
When the market is ranging, the background color turns yellow.
🔹 Assumption: ADX < 35 indicates a sideways market, so the indicator colors the background yellow.
4️⃣ Determining Trend Direction Using +DI and -DI
How is direction determined?
If +DI > -DI, the trend is bullish (green).
If -DI > +DI, the trend is bearish (red).
If ADX is below 35, the market is ranging and turns yellow.
🔹 Assumption: Trend direction is determined by the relationship between +DI and -DI, not ADX values.
5️⃣ Background Color to Highlight Market Conditions
Yellow background if ADX < 35 → Ranging market.
Green background if ADX ≥ 35 and bullish.
Red background if ADX ≥ 35 and bearish.
🔹 Assumption: The background color visually differentiates trending vs. ranging phases.
6️⃣ Reference Levels for ADX
Lateral Threshold (35) → Below this, the trend is weak or ranging.
Neutral Threshold (50) → Intermediate level indicating moderate trend strength.
Strong Trend Threshold (75) → Above this, the trend is very strong and possibly overextended.
🔹 Assumption: ADX above 75 indicates a very strong trend, potentially near exhaustion.
🔹 Summary of Key Assumptions
1️⃣ ADX is the core strength metric → Strong trends when ADX > 35, weak below 35.
2️⃣ The 50-period SMA smooths out volatility → Prevents false signals.
3️⃣ Ranging markets are defined as ADX < 35 → Yellow background color.
4️⃣ Trend direction is based on +DI vs. -DI → Green = bullish, Red = bearish.
5️⃣ Background colors enhance readability → Helps distinguish different market phases.
6️⃣ ADX reference levels (35, 50, 75) indicate increasing trend strength.
Conclusion
This model combines ADX with a moving average and color-based logic to highlight trend strength, trend direction, and sideways markets. It helps traders quickly identify the best conditions for entering or exiting trades. 🚀
Smart Money Index + True Strength IndexThe Smart Money Index + True Strength Index indicator is a combination of two popular technical analysis indicators: the Smart Money Index (SMI) and the True Strength Index (TSI). This combined indicator helps traders identify potential entry points for long and short positions based on signals from both indexes.
Main Components:
Smart Money Index (SMI):
The SMI measures the difference between the closing and opening price of a candle multiplied by the trading volume over a certain period of time. This allows you to assess the activity of large players ("smart money") in the market. If the SMI value is above a certain threshold (smiThreshold), it may indicate a bullish trend, and if lower, it may indicate a bearish trend.
True Strength Index (TSI):
The TSI is an oscillator that measures the strength of a trend by comparing the price change of the current bar with the previous bar. It uses two exponential moving averages (EMAS) to smooth the data. TSI values can fluctuate around zero, with values above the overbought level indicating a possible downward correction, and values below the oversold level signaling a possible upward correction.
Parameters:
SMI Length: Defines the number of candles used to calculate the average SMI value. The default value is 14.
SMI Threshold: A threshold value that is used to determine a buy or sell signal. The default value is 0.
Length of the first TSI smoothing (tsiLength1): The length of the first EMA for calculating TSI. The default value is 25.
Second TSI smoothing length (tsiLength2): The length of the second EMA for additional smoothing of TSI values. The default value is 13.
TSI Overbought level: The level at which the market is considered to be overbought. The default value is 25.
Oversold level TSI: The level at which it is considered that the market is in an oversold state. The default value is -25.
Logic of operation:
SMI calculation:
First, the difference between the closing and opening price of each candle (close - open) is calculated.
This difference is then multiplied by the trading volume.
The resulting product is averaged using a simple moving average (SMA) over a specified period (smiLength).
Calculation of TSI:
The price change relative to the previous bar is calculated (close - close ).
The first EMA with the length tsiLength1 is applied.
Next, a second EMA with a length of tsiLength2 is applied to obtain the final TSI value.
The absolute value of price changes is calculated in the same way, and two emas are also applied.
The final TSI index is calculated as the ratio of these two values multiplied by 100.
Graphical representation:
The SMI and TSI lines are plotted on the graph along with their respective thresholds.
For SMI, the line is drawn in orange, and the threshold level is dotted in gray.
For the TSI, the line is plotted in blue, the overbought and oversold levels are indicated by red and green dotted lines, respectively.
Conditions for buy/sell signals:
A buy (long) signal is generated when:
SMI is greater than the threshold (smi > smiThreshold)
TSI crosses the oversold level from bottom to top (ta.crossover(tsi, oversold)).
A sell (short) signal is generated when:
SMI is less than the threshold (smi < smiThreshold)
TSI crosses the overbought level from top to bottom (ta.crossunder(tsi, overbought)).
Signal display:
When the conditions for a long or short are met, labels labeled "LONG" or "SHORT" appear on the chart.
The label for the long is located under the candle and is colored green, and for the short it is above the candle and is colored red.
Notification generation:
The indicator also supports notifications via the TradingView platform. Notifications are sent when conditions arise for a long or short position.
This combined indicator provides the trader with the opportunity to use both SMI and TSI signals simultaneously, which can improve the accuracy of trading decisions.
Bollinger Bands with Narrow ConsolidationThe indicator is based on the standard Bollinger Bands indicator in TradingView. Its main difference is the ability to display narrow consolidation zones (with an adjustable percentage) and generate signals in these zones.
Narrow consolidation zones can be considered as a signal before the start of a strong trend, whether upward or downward.
Индикатор построен на стандартном индикаторе полос боллинджера в трейдинг вью. Его отличие заключается в том, что здесь есть возможность отображения зон узкой консолидации (процент настраивается) и генерации сигналов на этих зонах.
Зоны узкой консолидации можно рассматривать как сигнал перед началом сильного треда как восходящего, так и нисходящего.