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
متذبذبات
TTC EMA Scalping Machine with RSI Filter and MACDTTC EMA Scalping Machine with RSI Filter and MACD
TTC EMA Scalping Machine with RSI Filter and MACD is a multi-layered technical analysis tool designed for traders looking to scalp the markets with a combination of trend-following and momentum-based indicators. This strategy leverages Exponential Moving Averages (EMAs) , Relative Strength Index (RSI) , MACD , and Volume Analysis to help traders identify high-probability entry points for short and long trades. The indicator can be used in multiple market conditions and is suited for both beginners and experienced traders looking for clear entry signals.
---
Key Features :
1. EMA-Based Trend Filtering :
- The indicator uses four Exponential Moving Averages (EMAs) with different periods:
- EMA 10 (Short-Term) : The fastest-moving average for detecting quick price movements.
- EMA 20 (Medium-Term) : A central trendline for market momentum.
- EMA 30 (Long-Term) : To observe broader market trends.
- EMA 50 (Longest-Term) : To identify the overall market direction.
- These EMAs are plotted on the chart and used to create EMA bands , visually displaying potential support and resistance levels. Price action inside these bands helps identify scalping opportunities.
2. RSI Filter :
- RSI (Relative Strength Index) is used to gauge overbought and oversold conditions in the market:
- Overbought condition (RSI > 70) : The market may be overextended, signaling the possibility of a short.
- Oversold condition (RSI < 30) : The market may be undervalued, signaling the possibility of a long.
- The RSI filter ensures that trades are not taken when the market is overextended, offering a more conservative approach to trade entries.
3. MACD Momentum Analysis :
- The MACD (Moving Average Convergence Divergence) indicator is included to confirm the trend and momentum direction:
- Long Condition : The MACD line crosses above the signal line, confirming a bullish momentum.
- Short Condition : The MACD line crosses below the signal line, confirming a bearish momentum.
- This serves as an additional filter to verify if the market momentum aligns with the long or short entry criteria.
4. Long Entry (Buy Signal) :
- A long entry signal is triggered when the following conditions are met:
- The price is above EMA 20 (indicating an overall bullish market).
- The price is within the green EMA band (EMA 10 and EMA 20), suggesting short-term support.
- The RSI is below 70 (indicating the market is not overbought).
- The MACD line is above the signal line , showing bullish momentum.
- These conditions combined suggest an ideal environment for entering a long position.
5. Short Entry (Sell Signal) :
- A short entry signal is triggered when the following conditions are met:
- The price is below EMA 20 (indicating an overall bearish market).
- The price is within the green EMA band (EMA 20 and EMA 30), suggesting short-term resistance.
- The RSI is above 30 (indicating the market is not oversold).
- The MACD line is below the signal line , showing bearish momentum.
- These conditions combined suggest an ideal environment for entering a short position.
6. Signal Alerts :
- Long Alerts : Users can set alerts to notify them when a long condition is met. These alerts are triggered when all the criteria for a long entry are satisfied.
- Short Alerts : Similarly, users can set alerts for short signals, notifying them when all the conditions for a short entry are satisfied.
7. EMA Bands :
- The EMA bands are visually represented with colored fills between the EMAs, providing a visual aid to recognize potential trading zones. These zones can serve as a reference for traders to make quick decisions regarding entries and exits.
8. Volume Filter :
- The indicator also includes a volume filter , which compares the current volume to its 20-period simple moving average. Higher volumes provide confirmation of price movement, which can indicate stronger potential for the trade.
---
How It Works :
- Long Trades : The indicator suggests a long position when the price is above the EMA 20, within the green EMA band, the RSI is not overbought, and MACD confirms bullish momentum (MACD line above the signal line).
- Short Trades : The indicator suggests a short position when the price is below the EMA 20, within the green EMA band, the RSI is not oversold, and MACD confirms bearish momentum (MACD line below the signal line).
- Volume Confirmation : The indicator uses a volume-based filter to ensure the trade is backed by sufficient market participation.
---
Usage :
- Best for Scalping : This strategy is designed for short-term trades ( scalping ) and can be applied to any time frame, though it works best on intraday charts, such as 5-minute or 15-minute charts.
- Ideal for Trend-Following : With the use of EMAs and MACD, the strategy is best suited for markets that exhibit clear trends. It helps to avoid whipsaw trades and focuses on capturing medium-term trends.
- Risk Management : By using RSI, MACD, and volume analysis together, this strategy reduces the likelihood of entering a trade in an overextended market, which helps with risk management.
---
Alerts and Signals :
- Long Signals : When all conditions are met for a long trade, a green label appears below the price bar, indicating a potential buy opportunity. An alert is also generated, notifying the user.
- Short Signals : When all conditions are met for a short trade, a red label appears above the price bar, indicating a potential sell opportunity. An alert is also generated, notifying the user.
---
This combination of EMA , RSI , MACD , and volume-based filters creates a balanced approach to scalping, ensuring that traders receive clear, actionable entry signals with trend confirmation, while avoiding overbought and oversold conditions that may lead to false signals. The indicator is designed to help traders confidently identify high-probability trades while maintaining simplicity and clarity in its setup.
Asset Correlation Heatmap [SeerQuant]Asset Correlation Heatmap
Overview:
The Asset Correlation Heatmap is a powerful visualization tool designed to analyze and compare the correlation between multiple assets and a selected benchmark. The indicator provides a heatmap representation of correlation coefficients, allowing for easy identification of highly correlated and uncorrelated assets at a glance.
How It Works:
Benchmark Asset: The benchmark is the chart that the indicator is applied to. For example, if applied to BTC, the heatmap will display the correlation of various assets relative to BTC.
Correlation Calculation: The script calculates the correlation coefficient between the benchmark asset and each of the 30 user-selected assets over a user-defined period.
Heatmap Display: The results are plotted in a stacked format where the bottom-most plot represents Asset 1, and the top-most plot represents Asset 30.
Each asset’s correlation is color-coded based on its strength (from positive correlation to negative correlation).
Inputs & Customization:
Correlation Length: Users can adjust the lookback period for correlation calculation (default: 20 periods).
30 Selectable Assets: The indicator allows users to input up to 30 assets for correlation analysis.
Color Gradient: The heatmap dynamically assigns colors based on correlation strength where blue shades → strong positive correlation, neutral white → no correlation (~0.0) and red shades → strong negative correlation.
Table Display
A dynamic table in the bottom-right corner provides key insights, including:
Benchmark Asset (the chart symbol)
Highest Correlated Asset & its correlation value
Lowest Correlated Asset & its correlation value
Average & Median Correlation across all selected assets
Composite Signal based on the overall correlation trend
Use Cases
Portfolio Diversification: Identify assets that are highly correlated or negatively correlated with your benchmark to manage risk.
Mean Reversion & Trend Following: Spot assets diverging from their historical correlation to identify trading opportunities.
Pair Trading: Find assets with strong positive or negative correlation to develop hedging strategies.
Enjoy!
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.
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.
Fourier Oscillator Suite [SeerQuant]| Fourier Oscillator Suite |
WHY THE FOURIER TRANSFORM?
The Discrete Fourier Transform (DFT) extracts dominant cyclical patterns from market price data. Fourier analysis allows for the decomposition of price movements into frequency components, distinguishing trend-driven behaviour from noise and identifying oscillatory cycles within the market. This approach is effective in detecting dominant cycles in data, filtering out random fluctuations, and providing insights into price behaviour beyond conventional indicators.
This indicator applies a Fourier transform to the selected price source, converting it into a frequency-based signal. Instead of directly working with raw price data, the transformed signal acts as a smoothed and cycle-adjusted input for multiple technical indicators, enhancing their ability to adapt to market conditions dynamically.
Once the Fourier transform is applied, the extracted signal is processed through a suite of technical indicators, which are then normalized and aggregated into a single, actionable metric.
FEATURES AND BENEFITS
✅ Multi-Factor Aggregation:
By blending volatility, momentum, and volume-based oscillators, this indicator provides a comprehensive view of market conditions.
✅ Enhanced Signal Clarity:
Fourier transformation filters noise, revealing more reliable trading signals.
✅ Adaptive Market Sensitivity:
Unlike static oscillators, the Fourier-enhanced input dynamically adjusts to price shifts.
INDICATOR COMPONENTS
The Fourier Oscillator Suite aggregates the output of the transformed signal into three primary market components:
1. Volatility-Based Metrics
Commodity Channel Index (CCI) – Measures price deviation from a moving average.
Bollinger Band %B (BB%) – Evaluates price positioning within the Bollinger Bands.
Relative Volatility Index (RVI) – Identifies periods of heightened or subdued volatility.
2. Momentum Indicators
Relative Strength Index (RSI) – Gauges trend momentum and overbought/oversold levels.
Coppock Curve – A long-term momentum oscillator, often used for detecting major trend shifts.
Momentum (MOM), TRIX, and Stochastic Momentum Index (SMI) – Further refine momentum analysis.
3. Volume-Based Oscillators
Money Flow Index (MFI) – Measures price strength relative to volume.
Volume Zone Oscillator (VZO) – Detects accumulation and distribution phases.
Elder's Force Index (EFI) & Klinger Volume Oscillator (KVO) – Assess money flow strength.
These individual metrics are first normalized within a defined period and then smoothed using the selected moving average type. The final composite signal is derived from a weighted combination of the volatility, momentum, and volume components, each of which can be customized by the user.
SETTINGS
The indicator includes an extensive set of options for users to tailor its performance:
📌 Fourier Transform Parameters
Source Selection – Choose which price input (e.g., HLC3) is used for Fourier analysis.
Fourier Period – Defines the number of cycles analyzed for signal extraction.
📌 Aggregation Settings
Normalization Period – Controls how indicator values are scaled.
Smoothing Length – Adjusts the sensitivity of moving averages applied to oscillators.
Weight Adjustments – Fine-tune the impact of volatility, momentum, and volume-based inputs on the final signal.
📌 White Noise Control
White Noise Amplitude & Period – Filters out excessive market noise to improve signal clarity.
Enable/Disable White Noise Overlay – Provides optional visualization of filtered noise levels.
📌 Custom Styling & Visual Enhancements
Selectable Color Schemes – Choose from Default, Modern, Cool, or Monochrome.
Bull & Bear Color Customization – Define custom colors for positive/negative momentum shifts.
Adaptive Gradient Fills – Highlights market conditions dynamically based on oscillator movements.
The Fourier Oscillator Suite is designed for advanced traders seeking a noise-reduced, multi-dimensional view of market dynamics. By incorporating Fourier-transformed signals into a broad range of oscillators, this tool offers a highly adaptive, filter-enhanced, and customizable approach to momentum and trend analysis. Whether you are a trend follower, mean reversion trader, or volume analyst, this suite provides actionable insights with enhanced clarity.
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.
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!
ZenAlgo - WavesZenAlgo - Waves is an advanced technical analysis indicator designed to refine trading decisions through a unique combination of multiple methodologies. By integrating Wave-like oscilator, RSI+MFI, and a dynamic Extra Moving Average (MA), it provides a structured approach to trend analysis and momentum detection. Unlike standalone indicators, this tool synchronizes multiple perspectives to provide holistic view and reduce noise.
Purpose and Justification for Integration
ZenAlgo - Waves strategically integrates multiple methodologies to provide trend validation. This indicator goes beyond standalone calculations by layering:
Original Wave Oscillator: Used to detect market momentum shifts and overbought/oversold conditions, further filtered by additional trend confirmation layers.
RSI + MFI Fusion: Introduces price-volume relationship validation, reducing misleading momentum reading.
Dynamic Extra Moving Average (MA): Acts as an adaptive trend filter, ensuring signals align with prevailing market direction rather than reacting to noise.
Divergence Detection: Contextualized divergence detection for both Wave and RSI+MFI.
Multi-Timeframe Trend Table: Facilitates confirmation across different timeframes, helping traders validate trade setups.
Attribution & Originality
ZenAlgo - Waves is an independently developed indicator that builds upon well-known technical analysis techniques while introducing significant enhancements. Unlike traditional WaveTrend indicator, it replaces the fixed constants of the original WaveTrend approach with a dynamic formula based on standard deviation , allowing for more adaptive and responsive calculations.
Additionally, this script integrates Ehlers' Super Smoother Filter , a highly regarded smoothing technique pioneered by John F. Ehlers and freely available for public use. Beyond these foundations, ZenAlgo - Waves incorporates proprietary logic and unique enhancements, setting it apart from conventional alternatives.
If you're seeking an exact replication of WaveTrend, please note that this indicator follows a distinct methodology, producing different calculations and outputs.
How to Use
Identify Key Zones: Observe Wave oscillator values to detect potential overbought and oversold conditions, which may vary based on settings.
Check RSI+MFI Histogram: Confirm momentum strength—bullish (increasing green bars) or bearish (increasing red bars).
Assess Trend via Extra MA: Use the Extra Moving Average to determine overall trend direction.
Look for Divergences: Identify divergences between price action and Wave/RSI+MFI for potential reversals.
Monitor Multi-Timeframe Trend Table: Check for alignment across timeframes for additional confirmation.
Set Alerts for Key Conditions: Configure alerts for Wave crossovers, divergences, and Extra MA state changes.
Analyze Conditions Before Making Decisions: The indicator does not execute trades. Traders should use it as a confirmation tool alongside a broader strategy.
Detailed Explanation of Calculation Logic
ZenAlgo - Waves builds on established wave-based oscillator principles, fine-tuning them for greater adaptability:
Baseline & Difference: Computes a smoothed average of the price source (e.g., HLC3) and measures the difference (or "deviation") between the current price and this baseline.
Volatility Scaling: Uses standard deviation to capture market volatility instead of relying on a static multiplier.
Normalization & Smoothing: Processes the resulting ratio into an oscillator, helping identify overbought and oversold zones. Optionally applies a secondary smoothing pass (including Ehlers' Super Smoother - SMMA) to reduce noise while preserving trend structure.
RSI + MFI Integration: Fuses RSI and MFI into a single composite metric, weighting RSI momentum with volume-adjusted MFI values for a clearer representation of momentum strength.
Extra Moving Average Filtering: A variety of moving average types (EMA, Hull, ZEMA, etc.) smooth the underlying trend, with sensitivity to trend changes customizable.
Divergence Detection: Identifies both regular and hidden divergences by comparing oscillator movements against price action, adjusting dynamically based on historical volatility.
Multi-Timeframe Trend Confirmation: Aggregates data across multiple timeframes (e.g., 1m, 5m, 15m, 1h) to provide a broader market context.
Alerts and Key Conditions: Alerts can be configured for specific conditions such as Wave crossovers, RSI+MFI confirmation, or Extra MA transitions. These alerts serve as notifications, not as automatic trading signals.
Why It’s Worth Paying For
ZenAlgo - Waves differentiates itself from free indicators by providing:
Contextual Signal Filtering: Integrates price-volume analysis and trend alignment checks.
Adaptive Trend Classification: Dynamically adjusts to market conditions.
Multi-Layer Confirmation: Requires momentum, volume, and trend agreement before providing insights.
Advanced Divergence Detection: Filters out noise-based divergences, highlighting only significant price-action-driven reversals.
Multi-Timeframe Validation: Helps ensure that observed trends are consistent across different timeframes.
Considerations for Use:
During periods of low trading volume, as price action lacks conviction.
In highly volatile market conditions, rapid price swings can introduce uncertainty.
Fundamental news events can override technical patterns.
If trends contradict across multiple timeframes, additional confirmation is recommended before making decisions.
Important Notes
This indicator is a tool for technical analysis and does not guarantee trading success.
Best Practices: Use ZenAlgo - Waves in conjunction with other indicators and fundamental analysis for a well-rounded approach.
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.
Kalman weighted price For Loop | QuantumResearchQuantumResearch Kalman Weighted Price For Loop Indicator
The QuantumResearch Kalman Weighted Price For Loop Indicator is an advanced tool designed for traders looking for precise trend detection and adaptive market analysis. This indicator integrates a Kalman filter, a weighted price calculation, and a for-loop scoring mechanism to dynamically assess price movements and provide clear trading signals.
Overview
Reduce Market Noise: The Kalman filter smooths price fluctuations for a clearer trend assessment.
Detect Trends: A weighted price calculation enhances trend analysis by adjusting dynamically to market conditions.
Adaptive Thresholds: ATR-based dynamic thresholds help traders assess breakout levels effectively.
Generate Trading Signals: A for-loop scoring mechanism evaluates historical price movements to identify long and short opportunities.
How It Works
A. Kalman Filter Smoothing
Purpose: The Kalman filter refines the selected price source (e.g., close price) by reducing short-term fluctuations, offering a clearer view of the underlying price movement.
Customization: Users can adjust key parameters such as:
Process Noise: Controls the filter’s sensitivity to recent changes.
Measurement Noise: Determines how responsive the filter is to incoming price data.
Filter Order: Sets the number of data points considered in the smoothing process.
B. Weighted Price & For-Loop Scoring
Weighted Price Calculation: A smoothing factor (alpha) is applied to blend the Kalman-filtered price with previous data, allowing for a more stable trend evaluation.
For-Loop Mechanism:
A dynamic scoring system iterates through a predefined price range, measuring if the weighted price is higher or lower than past values.
This score determines the overall trend strength and signals potential buy/sell conditions.
C. Threshold-Based Signal Generation
User-defined thresholds classify market conditions into bullish or bearish zones.
Default settings:
Long Signal: Triggered when the for-loop score exceeds the long_threshold.
Short Signal: Triggered when the score falls below the short_threshold.
Threshold bands dynamically adjust based on price behavior.
Visual Representation
The indicator’s design focuses on easy interpretation and usability:
Color-Coded Bar Signals:
Green Bars: Indicate bullish conditions when a long signal is active.
Red Bars: Indicate bearish conditions when a short signal is active.
Trend Confirmation Bands: The indicator plots upper, middle, and lower bands to visually represent market conditions.
Background Fill: The space between bands is shaded to highlight price deviations from equilibrium.
Customization & Parameters
This indicator is highly configurable, allowing traders to customize settings based on their strategy:
Kalman Filter Settings:
Process Noise: Default is 1.0, adjusts how much recent price data affects the filter.
Measurement Noise: Default is 0.05, determines responsiveness to price changes.
Filter Order: Default is 1, defines how many data points are analyzed at once.
For-Loop Parameters:
Lookback Range: Default is 1 to 50, determines how many past bars are used for scoring.
Scoring Thresholds:
Long Signal: Default threshold set at 40.
Short Signal: Default threshold set at -10.
Color Modes: Eight customizable color themes for individual preferences.
Trading Applications
This indicator is adaptable for various trading strategies:
Trend Following: Helps traders stay aligned with the dominant market direction by filtering noise and detecting sustained movements.
Momentum Analysis: Evaluates price strength and potential breakout conditions using adaptive scoring.
Reversal Detection: Identifies when momentum weakens, signaling possible trend shifts.
Risk Management: Uses for-loop scoring to minimize false signals and improve entry/exit precision.
Final Thoughts
The QuantumResearch Kalman Weighted Price For Loop Indicator combines Kalman filtering, adaptive price weighting, and for-loop scoring to deliver a structured approach to market trend analysis.
This unique methodology provides traders with enhanced noise reduction, improved signal clarity, and a flexible framework adaptable to different market conditions.
By adjusting the Kalman filter parameters, traders can fine-tune responsiveness and optimize settings for their specific trading style.
Important Disclaimer: This indicator is a tool for analysis and does not guarantee profitable outcomes. Traders should use proper risk management strategies and perform extensive backtesting before live trading.
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. 🚀
Absolute Volume Levels MA [AlgoRich]This script allows you to:
Choose between dynamic or static thresholds to classify the volume of the bars.
Select the type of moving average (SMA, EMA, RMA, or KAMA) and the period for calculating the volume's moving average, making it easier to adapt to different asset behaviors and volatilities.
Configure multiplier factors that determine the intermediate and strong thresholds based on the volume's moving average.
Assign differentiated colors for bullish and bearish bars, depending on whether the volume is weak, intermediate, or strong.
Visualize the classified volume in a histogram, which helps quickly identify the bars with the highest activity.
This flexibility and customization allow the indicator to adapt to various assets and timeframes, providing a robust visual tool for analyzing volume behavior.
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.
Индикатор построен на стандартном индикаторе полос боллинджера в трейдинг вью. Его отличие заключается в том, что здесь есть возможность отображения зон узкой консолидации (процент настраивается) и генерации сигналов на этих зонах.
Зоны узкой консолидации можно рассматривать как сигнал перед началом сильного треда как восходящего, так и нисходящего.
Fractal Trend Anticipator (FTA)How to Use FTA
Purpose:
FTA is designed to detect when a consolidating (or choppy) market—with a high choppiness index—is poised to break into a trend as indicated by an RSI crossover.
Signals:
Bullish Breakout: When the Choppiness Index is above your set threshold and the RSI crosses upward over 50, a bullish arrow (triangle up) appears below the bar.
Bearish Breakout: Conversely, when the RSI crosses downward from above 50 under high choppiness, a bearish arrow (triangle down) appears above the bar.
Trading Insight:
In crypto markets, when price is range-bound, a sudden release of momentum can be captured early by FTA. Use these signals as early alerts to join moves as they begin—whether you plan to ride a short-term spike or a medium-term trend.
Feel free to adjust the and parameters to suit your trading style and asset volatility. Enjoy trading with your updated Fractal Trend Anticipator!