MomentumSignal Kit RSI-MACD-ADX-CCI-CMF-TSI-EStoch// ----------------------------------------
// Description:
// ----------------------------------------
// MomentumKit RSI/MACD-ADX-CCI-CMF-TSI-EStoch Suite is a comprehensive momentum indicator suite designed to provide robust buy and sell signals through the consensus of multiple normalized momentum indicators. This suite integrates the following indicators:
// - **Relative Strength Index (RSI)**
// - **Stochastic RSI**
// - **Moving Average Convergence Divergence (MACD)** with enhanced logic
// - **True Strength Index (TSI)**
// - **Commodity Channel Index (CCI)**
// - **Chaikin Money Flow (CMF)**
// - **Average Directional Index (ADX)**
// - **Ehlers' Stochastic**
//
// **Key Features:**
// 1. **Normalization:** Each indicator is normalized to a consistent scale, facilitating easier comparison and interpretation across different momentum metrics. This uniform scaling allows traders to seamlessly analyze multiple indicators simultaneously without the confusion of differing value ranges.
//
// 2. **Consensus-Based Signals:** By combining multiple indicators, MomentumKit generates buy and sell signals based on the agreement among various momentum measurements. This multi-indicator consensus approach enhances signal reliability and reduces the likelihood of false positives.
//
// 3. **Overlap Analysis:** The normalization process aids in identifying overlapping signals, where multiple indicators point towards a potential change in price or momentum. Such overlaps are strong indicators of significant market movements, providing traders with timely and actionable insights.
//
// 4. **Enhanced Logic for MACD:** The MACD component within MomentumKit utilizes enhanced logic to improve its responsiveness and accuracy in detecting trend changes.
//
// 5. **Debugging Features:** MomentumKit includes advanced debugging tools that display individual buy and sell signals generated by each indicator. These features are intended for users with technical and programming skills, allowing them to:
// - **Visualize Signal Generation:** See real-time buy and sell signals for each integrated indicator directly on the chart.
// - **Adjust Signal Thresholds:** Modify the criteria for what constitutes a buy or sell signal for each indicator, enabling tailored analysis based on specific trading strategies.
// - **Filter and Manipulate Signals:** Enable or disable specific indicators' contributions to the overall buy and sell signals, providing flexibility in signal generation.
// - **Monitor Indicator Behavior:** Utilize debug plots and labels to understand how each indicator reacts to market movements, aiding in strategy optimization.
//
// **Work in Progress:**
// MomentumKit is continuously evolving, with ongoing enhancements to its algorithms and user interface. Current debugging features are designed to offer deep insights for technically adept users, allowing for extensive customization and fine-tuning. Future updates aim to introduce more user-friendly interfaces and automated optimization tools to cater to a broader audience.
//
// **Usage Instructions:**
// - **Visibility Controls:** Users can toggle the visibility of individual indicators to focus on specific momentum metrics as needed.
// - **Parameter Adjustments:** Each indicator comes with customizable parameters, allowing traders to fine-tune the suite according to their trading strategies and market conditions.
// - **Debugging Features:** Enable the debugging mode to visualize individual indicator signals and adjust their contribution to the overall buy/sell signals. This requires a basic understanding of the underlying indicators and their operational thresholds.
//
// **Benefits:**
// - **Simplified Analysis:** Normalization simplifies the process of analyzing multiple indicators, making it easier to identify consistent signals across different momentum measurements.
// - **Improved Decision-Making:** Consensus-based signals backed by multiple normalized indicators provide a higher level of confidence in trading decisions.
// - **Versatility:** Suitable for various trading styles and market conditions, MomentumKit offers a versatile toolset for both novice and experienced traders.
//
// **Technical Requirements:**
// - **Programming Knowledge:** To fully leverage the debugging and signal manipulation features, users should possess a foundational understanding of Pine Script and the mechanics of momentum indicators.
// - **Customization Skills:** Ability to adjust indicator parameters and debug filters to align with specific trading strategies.
//
// **Disclaimer:**
// This indicator suite is intended for educational and analytical purposes only and does not constitute financial advice. Trading involves significant risk, and past performance is not indicative of future results. Always conduct your own analysis or consult a qualified financial advisor before making trading decisions.
M-oscillator
Stochastics Confluences 4 in 1Description of the Pine Script:
This script plots the Full Stochastic indicator for four different time periods, and highlights conditions where potential buy or sell signals can be identified. The Stochastic indicator measures the position of the current closing price relative to the range of high and low prices over a defined period, helping traders identify overbought and oversold conditions.
Key Features:
Stochastic Calculation for 4 Different Periods:
The script calculates the Stochastic for four separate lookback periods: 9, 14, 40, and 60 bars.
Each Stochastic value is smoothed by a Simple Moving Average (SMA) to reduce noise and provide a clearer signal.
Visual Representation:
It plots each Stochastic value on the chart using different colors, allowing the user to see how the different periods of the indicator behave relative to each other.
Horizontal lines are drawn at 80 (Upper Bound) and 20 (Lower Bound), commonly used to identify overbought and oversold regions.
Highlighting Buy and Sell Conditions:
Green Highlight (Potential Buy Signal):
When all four Stochastic values (for the four different periods) are below 20, this suggests that the asset is in an oversold condition across multiple timeframes. The green background highlight appears when the Stochastic lines converge below 20, indicating a potential buy signal, as the price may be preparing to move upward from an oversold state.
Red Highlight (Potential Sell Signal):
When all four Stochastic values are above 80, the asset is in an overbought condition across multiple timeframes. The red background highlight appears when the Stochastic lines converge above 80, indicating a potential sell signal, as the price may soon reverse downward from an overbought state.
How to Interpret the Signals:
Buy Signals (Green Highlight):
When the chart is highlighted in green, it means the Stochastic indicators for all four periods are below 20, signaling that the asset is oversold and may be nearing a potential upward reversal. This condition suggests a possible buying opportunity, especially when other indicators confirm the potential for an upward trend.
Sell Signals (Red Highlight):
When the chart is highlighted in red, it indicates that the Stochastic indicators for all four periods are above 80, meaning the asset is overbought. This condition signals a possible downward reversal, suggesting a potential selling opportunity if the price begins to show signs of weakness.
By using this script, traders can visually identify periods of strong confluence across different timeframes when the Stochastic indicators are in extreme oversold or overbought conditions, which are traditionally seen as strong buy or sell signals.
This approach helps filter out weaker signals and focuses on moments when all timeframes align, increasing the probability of a successful trade.
Risk Matrix [QuantraSystems]Risk Matrix
The Risk Matrix is a sophisticated tool that aggregates a variety of fundamental inputs, primarily external (non-crypto) market data is used to assess investor risk appetite. By combining external macroeconomic factors and proxies for liquidity data with specific signals from the cryptomarket - the Risk Matrix provides a holistic view of market risk conditions. These insights are designed to help traders and investors make informed decisions on when to adopt a risk-on or risk-off approach.
Core Concept
The Risk Matrix functions as a dynamic risk assessment tool that integrates both fundamental and technical market indicators to generate an aggregated Z-score. This score helps traders to identify where the market is in a risk-off or risk-on state, The system provides both binary risk signals and a more nuanced “risk seasonality” mode for deeper analysis.
Key Features
Global Liquidity Aggregate - The Liquidity score is a custom measure of global liquidity, built by combining a variety of traditional financial metrics. These include data from central bank balance sheets, reverse repo operations and credit availability. This data is sourced from organizations such as the U.S. Federal Reserve, the European Central Bank, and the People’s Bank of China. The purpose of this aggregate is to gauge how much liquidity is available in the global financial system - which often correlates with risk sentiment. Rising liquidity tends to boost risk-on appetite, while liquidity contractions signal increased caution (risk-off) in the markets. The data sources used in this global liquidity aggregate include:
- U.S. Commercial Bank Credit data
- Federal Reserve balance sheet and reverse repo operations
- Liquidity from major central banks including the Fed, Bank of Japan, ECB, and PBoC
- Asset performance from major global financial indices such as the S&P 500, TLT, DXY (U.S. Dollar Index), MOVE (bond market volatility), and commodities like gold and oil.
Other key Z-scores (measured individually) - The Risk Matrix also incorporates other major Z-scores that represent different facets of the financial markets:
- Collateral Risk - A measure of US bond volatility, where higher values indicate higher interest rate risk - leading to potential market instability and cautious market behaviors.
- Stablecoin Dominance - The dominance of stablecoins in the crypto markets - which can signal risk aversion the total capital allocated to stables increases relative to other cryptocurrencies.
- US Currency Strength - The U.S. Dollar Index Z-score reflects currency market strength, with higher values typically indicating risk aversion as investors sell more volatile assets and flock to the dollar.
- Trans-pacific Monetary Bias - Signals capital flow and monetary trends that link between the East and West, heavily influencing global risk sentiment.
- Total - A measure of the total cryptocurrency market cap, signaling broader risk sentiment with the crypto market.
Neural Network Synthesis - The NNSYNTH component adds a machine learning inspired layer to the Risk Matrix. This custom indicator synthesizes inputs from various technical indicators (such as RSI, MACD, Bollinger Bands, and others) to generate a composite signal that reflects the health of the cryptomarket. While highly complex in its design, the NNSYNTH ultimately helps detect market shifts early by synthesizing multiple signals into one cohesive output. This score is particularly useful for gauging momentum and identifying potential turning points in market trends. Because the NNSYNTH is a closed source indicator, and it is included here, the Risk Matrix by extension is a closed source indicator.
How it Works
Z-score Aggregation - The Risk Matrix computes a final risk score by aggregating several Z-scores from different asset classes and data sources, all of which contribute proportionally to the overall market risk assessment. Each input is equally weighted - normalization allows for direct comparisons across global liquidity trends, currency fluctuations, bond market volatility and crypto market conditions. Furthermore, this system employs multi-calibration aggregation - where each individual matrix is itself an aggregate of multiple Z-scores derived from various timeframes. This ensures that each matrix captures a distinct average across different time horizons before being combined into the overall Risk Matrix. This layered, multi timeframe approach enhances the precision and robustness of the final Z-score.
Risk-On / Risk-Off Mode - The system’s binary mode provides a clear Risk On and Off signal. This nature of this signal is determined by the behavior of the Z-score relative to the midline, or Standard Deviation Bands, depending on specific conditions:
Risk-On is signaled when the aggregated final Z-score crosses above 0. However, in extreme oversold conditions, Risk-On can trigger early if the upper standard deviation band falls below the zero line. In such cases, the Risk-On signal is triggered when the z-score crosses the upper standard deviation band - without waiting to cross the midline.
Risk-Off is signaled when the final Z-score moves below 0. Similarly, Risk-Off can also be triggered early if the lower standard deviation band rises above the midline. In this instance, Risk-Off is triggered when the Z-score crosses below the lower band.
Risk Seasonality Mode - This mode offers a more gradual transition between risk states, measuring the change in the Z-score to visualize the shifts in risk appetite over time. It's useful for traders seeking to understand broader market cycles and risk phases. The seasonality view breaks down the market into the following phases:
Risk-On - High risk appetite where risk/cyclical markets are generally bullish.
Weakening - Markets showing signs of cooling off, here the higher beta assets tend to sell off first.
Risk-Off - Investors pull back, and bearish sentiment prevails.
Recovery - Signs of bottoming out, potential for market re-entry.
Component Matrices - Each individual Z-score is visualized as part of the component matrices - scaled to a 3 Sigma range. These component matrices allow traders to view how each data source is contributing to the overall risk assessment in real time - offering transparency and granularity.
Visuals and UI
Main Risk Matrix - The aggregated Z-Score is displayed saliently in the main risk matrix. Traders and investors can quickly see what season the Risk Matrix is signaling and adjust their strategies accordingly.
Overview Table - A detailed overview table shows the current confirmed Z-scores for each component, along with values from 2, and 3 bars back. This helps traders spot trends and the rate of change (RoC) between signals, offering additional insights for shorter-term risk management.
Customizability - Users can customize the visual elements of the matrix, including color palettes, table sizes, and positions. This allows for optimal integration into any trader’s existing workspace.
Usage Summary
The Risk Matrix is an incredibly versatile tool. It is especially valuable as a means of achieving a cross-market view of risk, incorporating both crypto-specific and macroeconomic factors. Some key use cases include:
Adjusting Capital Allocation Based on Risk Seasons - Traders can use the Risk Matrix to adjust their capital allocation dynamically. During Risk-On periods, they might increase exposure to long positions, capitalizing on stronger market conditions. Conversely, during Risk-Off periods, traders could reduce or hedge long positions and potentially scale up short positions or move into safer assets.
Complementing Other Trading Systems - The Risk Matrix can work alongside other technical systems to provide context to market moves. For instance, a trend-following strategy might suggest an entry, but the Risk Matrix could be used to verify whether the broader market conditions support this trade. If the Matrix is in a Risk-Off period, a trader might opt for more conservative trade sizes or avoid the trade entirely.
This flexibility allows traders to adjust their strategies and portfolio risk dynamically, enhancing decision making based on broader market conditions - as indicated by external macroeconomic factors, liquidity, and risk sentiment.
Important Note
The Risk Matrix always uses the most up-to-date data available, ensuring analysis reflects the latest market conditions and macroeconomic inputs. In rare cases, governments or financial institutions revise past data - and the Risk Matrix will adjust accordingly. This behavior can only be seen in the Liquidity Matrix. and can affect the final score. While this is uncommon, it highlights the benefit of using a system that adapts in real-time, incorporating the most accurate and current information to enhance decision making processes.
Money Wave Script (Visual Adaptive MFI)This Script is a visual modification of the Money Flow Index (MFI)
//@version=5
indicator(title="Money Flow Index", shorttitle="MFI", format=format.price, precision=2, timeframe="", timeframe_gaps=true)
length = input.int(title="Length", defval=14, minval=1, maxval=2000)
src = hlc3
mf = ta.mfi(src, length)
plot(mf, "MF", color=#7E57C2)
overbought=hline(80, title="Overbought", color=#787B86)
hline(50, "Middle Band", color=color.new(#787B86, 50))
oversold=hline(20, title="Oversold", color=#787B86)
fill(overbought, oversold, color=color.rgb(126, 87, 194, 90), title="Background")
This Money Wave Script is culled from. the Money Flow Index with visual representation to help traders identify money flow. In addition, the waves can be smoothened. Here’s a detailed overview based on its functionality, color coding, usage, risk management, and a concluding summary.
Functionality
The Money Wave Script operates as an oscillator that measures the inflow and outflow of money into an asset over a specified period. It calculates the MFI by considering both price and volume, which allows it to assess buying and selling pressures more accurately than traditional indicators that rely solely on price data.
Color Coding
The indicator employs a color-coded scheme to enhance visual interpretation:
Green Area: Indicates bullish conditions when the normalized Money wave is above zero, suggesting buying pressure.
Red Area: Indicates bearish conditions when the normalized Money wave is below zero, suggesting selling pressure.
Background Colors: The background changes to green when the MoneyWave exceeds the upper threshold (overbought) and red when it falls below the lower threshold (oversold), providing immediate visual cues about market conditions.
Usage
Traders utilize the Money Wave indicator in various ways:
Identifying Overbought and Oversold Levels: By observing the MFI readings, traders can determine when an asset may be overbought or oversold, prompting potential entry or exit points.
Spotting Divergences: Traders look for divergences between price and the MFI to anticipate potential reversals. For example, if prices are making new highs but the MFI is not, it could indicate weakening momentum.
Trend Confirmation: The indicator can help confirm trends by showing whether buying or selling pressure is dominating.
Customizable Settings: Users can adjust parameters such as the MFI length , Smoothen index and overbought/oversold thresholds to tailor the indicator to their trading strategies.
Conclusion
The Money Wave indicator is a powerful tool for traders seeking to analyze market conditions based on the flow of money into and out of assets. Its combination of price and volume analysis, along with clear visual cues, makes it an effective choice for identifying overbought and oversold conditions, spotting divergences, and confirming trends.
TEMA For Loop [Mattes]The TEMA For Loop indicator is a powerful tool designed for technical analysis, combining the Triple Exponential Moving Average (TEMA) with a custom scoring mechanism based on a for loop. It evaluates price trends over a specified period, allowing traders to identify potential entry and exit points in the market. This indicator enhances decision-making by providing visual cues through dynamic candle coloring, reflecting market sentiment and trends effectively.
Technical Details:
Triple Exponential Moving Average (TEMA):
- TEMA is known for its responsiveness to price changes, as it reduces lag compared to traditional moving averages. The TEMA calculation employs three nested Exponential Moving Averages (EMAs) to produce a smoother trend line, which helps traders identify the direction and momentum of the market.
Scoring Mechanism:
- The scoring mechanism is based on a custom for loop that compares the current TEMA value to previous values over a specified range. The loop counts how many previous values are less than the current value, generating a score that reflects the strength of the trend:
- A higher score indicates a stronger upward trend.
- A lower (negative) score suggests a downward trend.
Threshold Levels:
- Upper Threshold: A score above this level signals a potential long entry, indicating strong bullish momentum.
- Lower Threshold: A score below this level indicates a potential short entry, suggesting bearish sentiment.
>>>These thresholds are adjustable, allowing traders to fine-tune their strategy according to their risk tolerance and market conditions.
Signal Logic:
- The indicator provides clear signals for entering long or short positions based on the score crossing the defined thresholds.
>>Long Entry Signal: When the smoothed score crosses above the upper threshold.
>>Short Entry Signal: When the smoothed score crosses below the lower threshold.
Why This Indicator Is Useful:
>>> Enhanced Decision-Making: The TEMA For Loop indicator offers traders a clear and objective view of market trends, reducing the emotional aspect of trading. By visualizing bullish and bearish conditions, it assists traders in making timely decisions.
>>> Customizable Parameters: The ability to adjust TEMA period, thresholds, and other settings allows traders to tailor the indicator to their specific trading strategies and market conditions.
Visual Clarity: The integration of dynamic candle coloring provides immediate visual cues about the prevailing trend, making it easier for traders to spot potential trade opportunities at a glance.
The TEMA For Loop - Smoothed with Candle Colors indicator is a sophisticated trading tool that utilizes TEMA and a custom scoring mechanism to identify and visualize market trends effectively. By employing dynamic candle coloring, traders gain immediate insights into market sentiment, enabling informed decision-making for entry and exit strategies. This indicator is designed for traders seeking a systematic approach to trend analysis, enhancing their trading performance through clear, actionable signals.
Relative Strength Price Oscillator Indicator (RS PPO)Percentage Price Oscillator (PPO)
The Percentage Price Oscillator (PPO) is a momentum oscillator that measures the difference between two moving averages as a percentage of the larger moving average. As with its cousin, MACD, the Percentage Price Oscillator is shown with a signal line, a histogram and a centerline. Signals are generated with signal line crossovers, centerline crossovers, and divergences.
PPO readings are not subject to the price level of the security and the PPO values for different securities can be compared, regardless of the price of the security.
Relative Strength (RS)
Relative strength is a strategy used in momentum investing and focuses on investing in stocks or other securities that have performed well relative to the market as a whole or to a relevant benchmark.
Chart
In the chart, Microsoft stock (MSFT) is plotted against the VanEck Semiconductor ETF (SMH).
In the example on the left, from the negative values of the RS PPO it can be seen that MSFT, although trending upward, is losing out in negative terms to the SMH etf.
In the example on the right, during a correction phase with a downward price trend, Microsoft held up relatively well compared to the Van Eck Semiconductor etf.
Momentum Nexus Oscillator [UAlgo]The "Momentum Nexus Oscillator " indicator is a comprehensive momentum-based tool designed to provide traders with visual cues on market conditions using multiple oscillators. By combining four popular technical indicators—RSI (Relative Strength Index), VZO (Volume Zone Oscillator), MFI (Money Flow Index), and CCI (Commodity Channel Index)—this heatmap offers a holistic view of the market's momentum.
The indicator plots two lines: one representing the current chart’s combined momentum score and the other representing a higher timeframe’s (HTF) score, if enabled. Through smooth gradient color transitions and easy-to-read signals, the Momentum Nexus Heatmap allows traders to easily identify potential trend reversals or continuation patterns.
Traders can use this tool to detect overbought or oversold conditions, helping them anticipate possible long or short trade opportunities. The option to use a higher timeframe enhances the flexibility of the indicator for longer-term trend analysis.
🔶 Key Features
Multi-Oscillator Approach: Combines four popular momentum oscillators (RSI, VZO, MFI, and CCI) to generate a weighted score, providing a comprehensive picture of market momentum.
Dynamic Color Heatmap: Utilizes a smooth gradient transition between bullish and bearish colors, reflecting market momentum across different thresholds.
Higher Timeframe (HTF) Compatibility: Includes an optional higher timeframe input that displays a separate score line based on the same momentum metrics, allowing for multi-timeframe analysis.
Customizable Parameters: Adjustable RSI, VZO, MFI, and CCI lengths, as well as overbought and oversold levels, to match the trader’s strategy or preference.
Signal Alerts: Built-in alert conditions for both the current chart and higher timeframe scores, notifying traders when long or short entry signals are triggered.
Buy/Sell Signals: Displays visual signals (▲ and ▼) on the chart when combined scores reach overbought or oversold levels, providing clear entry cues.
User-Friendly Visualization: The heatmap is separated into four sections representing each indicator, providing a transparent view of how each contributes to the overall momentum score.
🔶 Interpreting Indicator:
Combined Score
The indicator generates a combined score by weighing the individual contributions of RSI, VZO, MFI, and CCI. This score ranges from 0 to 100 and is plotted as a line on the chart. Lower values suggest potential oversold conditions, while higher values indicate overbought conditions.
Color Heatmap
The indicator divides the combined score into four distinct sections, each representing one of the underlying momentum oscillators (RSI, VZO, MFI, and CCI). Bullish (greenish) colors indicate upward momentum, while bearish (grayish) colors suggest downward momentum.
Long/Short Signals
When the combined score drops below the oversold threshold (default is 26), a long signal (▲) is displayed on the chart, indicating a potential buying opportunity.
When the combined score exceeds the overbought threshold (default is 74), a short signal (▼) is shown, signaling a potential sell or short opportunity.
Higher Timeframe Analysis
If enabled, the indicator also plots a line representing the combined score for a higher timeframe. This can be used to align lower timeframe trades with the broader trend of a higher timeframe, providing added confirmation.
Signals for long and short entries are also plotted for the higher timeframe when its combined score reaches overbought or oversold levels.
🔶Purpose of Using Multiple Technical Indicators
The combination of RSI, VZO, MFI, and CCI in the Momentum Nexus Heatmap provides a comprehensive approach to analyzing market momentum by leveraging the unique strengths of each indicator. This multi-indicator method minimizes the limitations of using just one tool, resulting in more reliable signals and a clearer understanding of market conditions.
RSI (Relative Strength Index)
RSI contributes by measuring the strength and speed of recent price movements. It helps identify overbought or oversold levels, signaling potential trend reversals or corrections. Its simplicity and effectiveness make it one of the most widely used indicators in technical analysis, contributing to momentum assessment in a straightforward manner.
VZO (Volume Zone Oscillator)
VZO adds the critical element of volume to the analysis. By assessing whether price movements are supported by significant volume, VZO distinguishes between price changes that are driven by real market conviction and those that might be short-lived. It helps validate the strength of a trend or alert the trader to potential weakness when price moves are unsupported by volume.
MFI (Money Flow Index)
MFI enhances the analysis by combining price and volume to gauge money flow into and out of an asset. This indicator provides insight into the participation of large players in the market, showing if money is pouring into or exiting the asset. MFI acts as a volume-weighted version of RSI, giving more weight to volume shifts and helping traders understand the sustainability of price trends.
CCI (Commodity Channel Index)
CCI contributes by measuring how far the price deviates from its statistical average. This helps in identifying extreme conditions where the market might be overextended in either direction. CCI is especially useful for spotting trend reversals or continuations, particularly during market extremes, and for identifying divergence signals.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
RSI & Volume Impact Analyzer Ver.1.00Description:
The RSI VOL Score indicator combines the Relative Strength Index (RSI) and volume data through a mathematical calculation to assist traders in identifying and confirming potential trend reversals and continuations. By leveraging both momentum (RSI) and volume data, this indicator provides a more comprehensive view of market strength compared to using RSI or volume alone.
How It Works:
This indicator calculates a score by comparing the RSI against its moving average, adjusted by the volume data. The resulting score quantifies market momentum and strength. When the score crosses its signal line, it may indicate key moments where the market shifts between bullish and bearish trends, potentially helping traders spot these changes earlier.
Calculation Methods:
The RSI VOL Score allows users to select between several calculation methods to suit their strategy:
SMA (Simple Moving Average): Provides a balanced smoothing approach.
EMA (Exponential Moving Average): Reacts more quickly to recent price changes, offering faster signals.
VWMA (Volume Weighted Moving Average): Emphasizes high-volume periods, focusing on stronger market moves.
WMA (Weighted Moving Average): Applies greater weight to recent data for a more responsive signal.
What the Indicator Plots:
Score Line: Represents a combined metric based on RSI and volume, helping traders gauge the overall strength of the trend.
Signal Line: A smoothed version of the score that helps traders identify potential trend changes. Bullish signals occur when the score crosses above the signal line, while bearish signals occur when the score drops below.
Key Features:
Trend Identification: The score and signal line crossovers can help confirm emerging bullish or bearish trends, allowing traders to act on upward or downward momentum.
Customizable Settings: Traders can adjust the lengths of the RSI and signal line and choose between different moving averages (SMA, EMA, VWMA, WMA) to tailor the indicator to their trading style.
Timeframe-Specific: The indicator works within the selected timeframe, ensuring accurate trend analysis based on the current market context.
Practical Use Cases:
Trending Markets: In trending markets, this indicator helps confirm bullish or bearish signals by validating price moves with volume. Traders can use the crossover of the score and signal line as a guide for entering or exiting trades based on trend strength.
Ranging Markets: In ranging markets, the indicator helps filter out false signals by confirming if price movements are backed by volume, making it a useful tool for traders looking to avoid entering during weak or uncertain market conditions.
Interpreting the Score and Signal Lines:
Bullish Signal: A bullish signal occurs when the score crosses above the signal line, indicating a potential upward trend in momentum and price.
Bearish Signal: A bearish signal is generated when the score crosses below the signal line, suggesting a potential downward trend or weakening market momentum.
By mathematically combining RSI and volume data into a single trend score, the RSI VOL Score indicator provides traders with a powerful tool for identifying trend shifts early and making more confident trading decisions.
Important Note:
The signals generated by this indicator should be interpreted in conjunction with other analysis tools. It is always advisable to confirm signals before making any trading decisions.
Disclaimer:
This indicator is designed to assist traders in their decision-making process and does not provide financial advice. The creators of this tool are not responsible for any financial losses or trading decisions made based on its signals. Trading involves significant risk, and users should seek professional advice or conduct their own research before making any trading decisions.
Stochastic RMIThe Relative Momentum Index (RMI) is a technical analysis indicator used to analyze the price movements of assets in a financial market. Similar to the RSI (Relative Strength Index), it helps measure the momentum and strength of the asset's price movements over the recent period. However, the RMI offers a "smoother" view, unlike the RSI. This means that there is less "noise" in the indicator.
As is known, the Stochastic RSI indicator is based on the RSI. What I did was to create a stochastic based on the RMI. If you compare this indicator with the "Stochastic RSI", you will see that there is no difference between them, except that the "Stochastic RMI" is more "smooth" and noiseless.
Trend Following Composite Index ( TFCI ) 🏆 Trend Following Composite Index (TFCI) 🏆
Overview 🔎
The Trend Following Composite Index (TFCI) is designed to provide traders with a comprehensive view of market trends by combining several technical indicators in a single, unified tool. Each component brings its unique perspective, and together they create a well-rounded signal that may help traders better understand the current market condition. TFCI simplifies the decision-making process by aggregating these signals into one easy-to-read confidence percentage, allowing traders to quickly gauge whether the market is trending upwards, downwards, or is in a period of indecision.
Combining Multiple Indicators for a Unique Edge 🔀
TFCI integrates six different technical indicators, each tuned to capture distinct aspects of market behavior. Rather than relying on any single indicator, TFCI merges their signals into one, providing a more nuanced and potentially more reliable view of the market. This combination helps reduce the weaknesses inherent in any one indicator, offering a more balanced and holistic trend signal.
RSI Filter: The RSI helps identify potential overbought or oversold conditions, but when used alone, it can generate false signals. In TFCI, the RSI is smoothed and combined with other metrics to avoid reacting to small fluctuations, making the signals more robust.
Kijun-Based Band: This component, inspired by the Kijun-sen line from the Ichimoku system, defines adaptive price bands based on market equilibrium. When combined with a smoothing filter, it provides traders with clear visual cues for potential trend reversals, reducing the guesswork.
Boosted Moving Average: By combining short- and long-term EMAs, this component reacts quickly to price changes, while the "boost" factor enhances its ability to confirm trends early. This combination helps filter out market noise, making it easier to spot genuine trend shifts.
Deviation Condition: This proprietary moving average adjusts dynamically based on volatility, which means it adapts to fast-changing market conditions. By adjusting its sensitivity based on market deviations, it helps smooth out erratic price movements, creating clearer trend signals.
VWTSI (Volume-Weighted Trend Strength Indicator): Volume is an essential factor in confirming trends. This indicator looks at price movements in relation to volume to assess the strength of the trend. By factoring in volatility, it ensures that traders are focusing on the strongest market moves, further enhancing the reliability of the signals.
Supertrend: A volatility-based trailing stop that defines buy and sell points. Its role in TFCI is to help maintain positions during trending markets while avoiding premature exits due to minor pullbacks.
A Streamlined Confidence Signal 🧮
One of the main advantages of TFCI is that it simplifies the multitude of signals into one easy-to-read confidence percentage. The aggregation of multiple indicators means that no single indicator drives the signal; instead, the combined analysis ensures that only when several conditions align do you get a clear trend indication. This reduces false positives and gives traders a more confident view of the overall market direction.
Bullish signals from several components push the percentage higher.
Bearish signals lower the percentage.
A neutral score indicates indecision, signaling a potential range-bound or consolidating market.This consolidated signal allows traders to make quicker decisions without having to interpret several individual indicators, making the tool more user-friendly and practical for daily trading.
Why TFCI’s Combination is Unique and Useful 🔍
What makes TFCI stand out is how each of these indicators works together to offer a more comprehensive view of the market:
Reduced Noise: By combining multiple indicators, TFCI reduces the likelihood of acting on false signals. The integration of smoothing mechanisms and volume-based confirmations further increases signal reliability.
More Balanced Analysis: Using indicators that analyze price, volume, volatility, and trend strength, TFCI provides a balanced view of market conditions. Traders can trust that the signal reflects multiple facets of the market rather than just one aspect, making it more adaptable to different market environments.
Easier to Read: Instead of juggling multiple charts or relying on complex setups, TFCI combines everything into one clear percentage and visual signal. This saves time and reduces the complexity of decision-making.
Tested Across Market Conditions 📅
While no indicator can predict the future, TFCI has been tested in a range of market conditions. Its ability to adapt to different environments (trending, volatile, or range-bound) makes it a versatile tool, though like any technical tool, it should be used alongside other forms of analysis and risk management.
Custom Display Options for Readability 📊
To make TFCI even more versatile, it includes two display modes:
Table Mode: This mode breaks down the signals from each component, showing traders exactly how each element is contributing to the overall confidence score. Ideal for those who want to dig deeper into the details.
Gauge Mode: A simplified visual display, perfect for traders who want a quick, at-a-glance view of market conditions.
Color Blindness Mode 🌈
TFCI also includes several color palettes for traders affected by color blindness, ensuring everyone can easily interpret the signals.
Conclusion 🔒
TFCI brings together multiple technical indicators in a unique way that aims to improve trend detection by providing a balanced and easy-to-read signal. Its proprietary adjustments and combination of price, volume, and volatility indicators offer a comprehensive view of market conditions, making it a valuable tool for traders of all experience levels. However, it is essential to remember that no past performance can guarantee future results.
BRT MACD CustomBRT MACD Custom — Adaptive and Flexible MACD for Multi-Timeframe Analysis
The BRT MACD Custom is an advanced version of the traditional MACD indicator, offering additional flexibility and adaptability for multi-timeframe trading. This custom script allows traders to adjust the calculation parameters for MACD to suit their specific trading strategy, timeframe, and market conditions.
Key Features
Multi-Timeframe Support
Unlike the standard MACD, this indicator lets you choose a specific timeframe (different from the chart timeframe) for calculating MACD values. This feature provides more flexibility in analyzing market trends on multiple timeframes without changing the main chart.
Example: You can analyze MACD on a 15-minute timeframe even when your chart is set to 1-minute, giving you broader market insights.
Customizable EMA and Signal Settings
Users can adjust the fast and slow EMA lengths as well as the signal smoothing to better align with their preferred trading strategies. The script allows switching between the two popular types of moving averages — SMA or EMA — for both the MACD and the signal line.
Volatility-Based Adaptive EMA
The script includes an adaptive mechanism for EMA calculation. When the selected timeframe closes, the indicator dynamically adjusts the calculation, ensuring the MACD values respond quickly to market volatility. This makes the indicator more reactive compared to static MACD implementations.
Shift Options for MACD, Signal, and Histogram
The indicator allows shifting the MACD, signal line, and histogram values by one or more bars. This can be useful for backtesting and simulating strategies where you anticipate future price movements.
Signal Alerts for Long and Short Trades
The script generates visual signals when certain conditions are met, indicating potential long or short trade opportunities. These signals are based on MACD and histogram crossovers:
Long Signal: Triggered when MACD is above the signal line and both are rising.
Short Signal: Triggered when MACD is below the signal line and both are falling.
Custom Plotting
The MACD line, signal line, and histogram are plotted on the chart for easy visualization. The histogram changes colors to reflect positive or negative momentum:
Green shades when MACD is above the signal line.
Red shades when MACD is below the signal line.
Applications in Trading
The BRT MACD Custom is ideal for traders who need flexibility in their technical analysis. Its multi-timeframe capabilities and customizable moving averages make it suitable for day trading, swing trading, and long-term investing across a variety of markets.
Scalping: Use the 1-minute or 5-minute timeframe to identify short-term trends while calculating MACD on a higher timeframe such as 15 or 30 minutes.
Swing Trading: Apply the indicator on 1-hour or 4-hour charts to detect mid-term trends.
Long-Term Investing: Analyze daily or weekly charts with longer EMA periods to confirm market direction before making large investments.
Cubic Bezier Curve RSI [CBCR]Overview :
Introducing the Cubic Bézier Curve RSI – an innovative approach to smoothing the traditional RSI using cubic Bézier curves. This indicator provides traders with a smoother, adaptive version of the RSI that can help filter out noise and better highlight market trends.
Key Features:
Bézier Curve : the script uses cubic Bézier curves to create a smoothed version of the RSI, offering a more visually appealing and potentially more insightful representation of market momentum.
Customizable Settings: Users can adjust the Bézier Curve Length, Impact Factor, and color modes, allowing full customization of the smoothing effect and visualization.
Color-coded Trend Indicator: The smoothed RSI is displayed with colors that indicate potential bullish or bearish trends, helping traders quickly assess market conditions.
Overbought/Oversold Lines: Option to display overbought and oversold levels for better identification of market extremes.
Parameters:
RSI Length: Set the length for the traditional RSI calculation (default is 14).
Bézier Curve Length: Adjust the length of the Bézier curve used to smooth the RSI (default is 20).
Impact Factor: Control the influence of the Bézier smoothed values versus the original RSI values (default is 0.5, ranging from 0.0 to 1.0).
Overbought/Oversold Lines: Option to show overbought (default: 70) and oversold (default: 30) lines for easier identification of extreme conditions.
Color Mode: Choose between "Trend Following" and "Overbought/Oversold" modes for line color indication.
Display Settings: Color customization for bullish and bearish phases allows better visual differentiation.
How It Works:
The CBCR uses four control points derived from historical RSI values over a user-defined length. It then applies the cubic Bezier formula to generate a sequence of points representing a smoothed version of the RSI over this range.
The Bezier curve is recalculated each time a specific number of bars (as defined by the Bezier Curve Length) have passed, helping reduce noise while retaining key trend information.
The result is a smoothed RSI that combines the adaptability of cubic Bezier curves with the familiar oscillation of the RSI, making it potentially more robust for identifying shifts in market sentiment.
Visuals:
Smoothed RSI Line: Plotted on the indicator pane, the line changes color depending on the chosen color mode:
Trend Following Mode: Color changes based on whether the smoothed RSI is above or below the 50-level.
Overbought/Oversold Mode: Color changes based on whether the smoothed RSI is above the overbought level or below the oversold level.
Bullish Color: Configurable (default: cyan).
Bearish Color: Configurable (default: red).
Overbought/Oversold Lines: Horizontal lines at user-defined levels (default: 70 for overbought, 30 for oversold) for easy identification of market extremes.
Usage:
The CBCR can be used like a traditional RSI but with a smoother output that may help traders avoid false signals generated by sudden price spikes. For instance:
Look for crossovers around the 50 level as a signal for changing momentum.
Use the overbought and oversold levels to identify potential reversal zones.
Observe the color change of the line for an immediate visual cue on current sentiment.
Magnificent 7 Overall Percentage Change with MA and Angle LabelsMagnificent 7 Overall Percentage Change with MA and Angle Labels
Overview:
The "Magnificent 7 Overall Percentage Change with MA and Angle Labels" indicator tracks the percentage change of seven key tech stocks (Apple, Microsoft, Amazon, NVIDIA, Tesla, Meta, and Alphabet) and displays their overall average percentage change on the chart. It also provides a moving average of this overall change and calculates the angle of the moving average to help traders gauge the momentum and direction of the overall trend.
How it works:
Real-Time Percentage Change: The indicator calculates the percentage change of each of the "Magnificent 7" stocks compared to their previous day's closing price, giving a snapshot of the market's performance.
Overall Average: It then computes the average of the seven stocks' percentage changes to reflect the broader movement of these major tech companies.
Moving Average: The indicator offers a choice of four types of moving averages (SMA, EMA, WMA, or VWMA) to smooth the overall percentage change, allowing traders to focus on the trend rather than short-term fluctuations.
Slope and Angle Calculation: To provide additional insights, the indicator calculates the slope of the moving average and converts it into an angle (in degrees). This can help traders determine the strength of the trend—steeper angles often indicate stronger momentum.
Key Features:
Percentage Change of the "Magnificent 7":
Tracks the percentage change of Apple (AAPL), Microsoft (MSFT), Amazon (AMZN), NVIDIA (NVDA), Tesla (TSLA), Meta (META), and Alphabet (GOOGL) on the current chart's timeframe.
Overall Average Change:
Computes the average percentage change across all seven stocks, giving a combined view of how the most influential tech stocks are performing.
Customizable Moving Averages:
Offers four types of moving averages (SMA, EMA, WMA, VWMA) to provide flexibility in tracking the trend of the overall percentage change.
Angle Calculation:
Measures the angle of the moving average in degrees, which helps assess the strength of the market’s momentum. Alerts and visual cues can be triggered based on the angle's steepness.
Visual Cues:
The percentage change is plotted in green when positive and red when negative, with a background color that changes accordingly. A zero line is plotted for reference.
Use Case:
This indicator is ideal for traders and investors looking to track the collective performance of the most dominant tech companies in the market. It provides real-time insights into how the "Magnificent 7" stocks are moving together and offers clues about potential market momentum based on the direction and angle of their average percentage change.
Customization:
Moving Average Type and Length: Choose between different types of moving averages (SMA, EMA, WMA, VWMA) and adjust the length to suit your preferred timeframe.
Angle Threshold: Set an angle threshold to trigger alerts when the moving average slope becomes too steep, indicating strong momentum.
Alerts:
Alerts can be created based on the crossing of the moving average or when the angle of the moving average exceeds a specified threshold. This ensures traders are notified when the trend is accelerating or decelerating significantly.
Conclusion:
The "Magnificent 7 Overall Percentage Change with MA and Angle Labels" indicator is a powerful tool for those wanting to monitor the performance of the most influential tech stocks, analyze their overall trend, and receive timely alerts when market conditions shift.
Overbought & Oversold Oscillator - By CryptoEasonThis is an overbought/oversold indicator that combines EMA / ATR / RSI and Bollinger Bands.
Overbought Definition:
When the RSI is greater than 70, and the price is above EMA20 + 2.5 * ATR.
When the price meets the overbought condition, the oscillator value will exceed 40, and a red bar will be displayed on the chart.
Oversold Definition:
When the RSI is less than 30, and the price is below EMA20 - 2.5 * ATR.
When the price meets the oversold condition, the oscillator value will drop below -40, and a green bar will be displayed on the chart.
The default average price used is EMA20, but you can modify it to SMA20 or adjust the length in the settings.
The default RSI length is set to 14, but this can also be customized. You can also adjust the ATR overbought/oversold multiplier in the settings, for example, setting it to 3.
Bollinger Bands:
The Bollinger Bands are used as a supplementary tool.
When the price is overbought and above the upper Bollinger Band, a red dot will be displayed.
When the price is oversold and below the lower Bollinger Band, a green dot will be displayed.
Buy and Sell Signals:
When the price moves from an overbought condition to a non-overbought condition, a sell signal is generated.
When the price moves from an oversold condition to a non-oversold condition, a buy signal is generated.
Altcoin Buy/Sell Signals:
In crypto markets, we usually view the bitcoin chart, so for the reason of convenience, I have also included altcoins buy and sell signals for 15 different altcoins. The default list includes: ETH / SOL / AVAX / DOT / APT / NEAR / ADA / SUI / MATIC / OP / PEPE / BLUR / GLMR / ASTR / APE.
You can customize these 15 altcoin pairs in the settings to any altcoins you prefer. When a buy or sell signal appears for one of these altcoins, you can quickly switch to its chart to view the signal. This is for convenience, so you don't need to check each chart's overbought/oversold status one by one; you only need to view the charts when a signal appears.
Reminder:
The overbought/oversold indicator works best in ranging markets. Use carefully when applying this indicator in a trending market. During trends, the price can keep remaining at overbought / oversold level.
Note:
If you think this indicator should have additional features that are currently not available, feel free to leave a comment and let me know.
=============== 中文說明(Chinese Introduction)===============
這是一個超買超賣指標,該指標結合了 EMA / ATR / RSI 與 Bollinger Bands。
我將超買定義為:
當RSI大於70,且價格大於 EMA20 + 2.5*ATR
當價格符合超買定義時,此時振盪器的值會大於40,並在圖表上顯示紅柱。
我將超賣定義為:
RSI < 30 且價格小於 EMA20 - 2.5 * ATR
當價格符合超賣定義時,此時振盪器的值為低於-40,並在圖表上顯示綠柱。
平均價格使用的是EMA20,但你可以在設定中修改成SMA20,或是其它長度。
預設RSI長度為14,你可以在設定中修改成其它參數。
你也可以在設定中將 ATR 超買超賣乘數改成其他倍數,例如3。
Bollinger Bands 在這個指標中的作用為輔助,當價格位於超買且在布林帶上邊界之外,會顯示紅點,當價格位於超賣且價格低於布林帶下邊界之外,會顯示綠點。
超指標還提供了買入與賣出信號:
當價格從超買狀態變為非超買狀態時,顯示賣出信號。
當價格從超賣狀態變為非超賣狀態時,顯示買入信號。
我還再這個指標上加入了山寨幣的買入賣出信號,一共十五組,預設為:
ETH / SOL / AVAX / DOT / APT /NEAR / ADA / SUI / MATIC / OP / PEPE / BLUR / GLMR / ASTR / APE
你可以客製化這十五組山寨幣的標的,在設定中修改成你喜歡的山寨幣。
當你在圖表上發現了某個山寨幣出現買入賣出信號,你可以迅速切換圖表到該山寨幣圖表上,提供這個山寨幣買入賣出信號,僅僅是為了方便性,讓你不用逐一檢查每個圖表的超買超賣狀態,僅在出現信號再查看即可。
提醒:
超買超賣指標比較適合用在震盪行情,當趨勢行情來臨時,需要謹慎使用這個超買超賣指標。
因為當趨勢來臨時,價格可以一直處在超買狀態或超賣狀態。
註:
如果你認為這個指標應該多增加什麼功能,但是目前沒有,歡迎留言告訴我。
Elliott Wave Oscillator with Peak DetectionThe Elliott Wave Oscillator with Derivative Peak Detection and Breakout Bands is a technical indicator that blends traditional Elliott Wave theory with modern derivative-based peak detection and breakout bands for a clearer view of market trends.
Key Components:
Elliott Wave Oscillator (EWO):
The core of the indicator is based on the difference between two simple moving averages (SMA): a short-term SMA (default length: 5) and a long-term SMA (default length: 35).
This difference is expressed either as an absolute value or a percentage of the current price, depending on the user’s input.
Smoothing:
The EWO is smoothed using an Exponential Moving Average (EMA) to filter out noise and provide a clearer trend direction.
The smoothing length is adaptive based on the current chart's timeframe (e.g., longer smoothing for daily charts).
Derivative Peak Detection:
The smoothed EWO is analyzed for peaks (positive) and troughs (negative) by calculating the derivative (rate of change) between consecutive values.
Peaks are detected when the derivative transitions from positive to negative, while troughs are identified when the derivative switches from negative to positive.
Tolerance levels are adjustable and vary by timeframe to avoid false signals.
Breakout Bands:
Upper and lower breakout bands are dynamically generated based on the smoothed EWO.
The bands help to filter significant peaks and troughs, only highlighting those that occur beyond the breakout levels.
Users can choose to display these bands and use them to filter out less significant peaks and troughs.
Visualization:
The original, unsmoothed EWO is plotted as a histogram, with positive values in green and negative values in red.
The smoothed EWO is plotted as a blue line, providing a clearer view of the underlying trend.
The breakout bands, if enabled, are plotted as white lines to visualize the upper and lower bounds of the oscillator's movement.
Positive peaks and negative troughs that meet the filtering criteria are marked with purple triangles (for peaks) and red triangles (for troughs) on the chart.
Customization Options:
Timeframe-based Smoothing and Tolerance: Different smoothing lengths and tolerance levels can be set for daily, hourly, and 5-minute charts.
Breakout Bands: Users can toggle the display of breakout bands and adjust their visual properties.
Peak Filtering: Peaks and troughs can be filtered based on whether they break out beyond the bands, or all peaks can be shown.
This indicator provides a unique blend of trend detection through the Elliott Wave Oscillator and derivative analysis to highlight significant market reversals while offering breakout bands as a filtering mechanism for false signals.
Tandem Oscillator | viResearchTandem Oscillator | viResearch
Conceptual Foundation and Innovation
The "Tandem Oscillator" script provides an enhanced way to analyze market momentum by utilizing both the Relative Strength Index (RSI) and standard deviation to detect shifts in price movement. The oscillator creates dynamic upper and lower boundaries around the RSI, helping traders identify potential overbought and oversold conditions more effectively. By applying a tandem approach—combining RSI and standard deviation—the script offers a more refined and sensitive momentum indicator, ideal for spotting trend reversals and market entries.
This approach allows traders to capture moments of extreme market behavior, giving them an edge in timing trades.
Technical Composition and Calculation
The script is structured around several key technical components that make it an efficient tool for momentum detection:
RSI Calculation: The RSI is calculated using a user-defined lookback period to assess the strength of recent price movements. This forms the core of the oscillator and helps determine overbought or oversold conditions.
Tandem Bands: The standard deviation is applied to the RSI to create dynamic upper and lower bands, providing a more adaptive boundary to track market extremes.
Dual Scoring Systems: Two separate systems are used to score the RSI and its lower band. These systems evaluate the RSI against thresholds and calculate scores to detect potential momentum shifts.
Threshold-Based Trend Detection: The script compares the scores against user-defined thresholds to trigger long or short signals. Crossovers of these thresholds help identify potential trend reversals or confirmations.
Features and User Inputs
The "Tandem Oscillator" offers various input parameters that traders can adjust to fine-tune the indicator for their strategies:
Lookback Period: Defines the number of bars used in the RSI calculation, allowing traders to adjust how responsive the indicator is to price movements.
Tandem Length: Controls the length of the standard deviation applied to the RSI, which determines the sensitivity of the tandem bands.
Thresholds: User-defined thresholds that determine when the oscillator identifies potential uptrends or downtrends, triggering buy or sell signals.
Bar Coloring: Optional settings to color bars based on detected trends, offering traders visual cues for easier identification of trading opportunities.
Alerts: The script includes alert conditions for both long and short signals, ensuring traders are notified of key market events even when they're not actively monitoring the charts.
Practical Applications
The "Tandem Oscillator" script is an adaptable tool suited for traders looking to capture momentum shifts and improve the timing of their trades. This indicator is particularly effective in:
Identifying Overbought and Oversold Conditions: The tandem bands provide dynamic thresholds, helping traders detect when the market is stretched in either direction, signaling potential reversal points.
Spotting Trend Reversals: The dual scoring system and threshold detection help traders identify moments when market momentum is about to shift, offering a more precise entry or exit point.
Improving Trade Timing: By tracking the RSI and its deviation, traders can gain a clearer picture of when the market is reaching an extreme, allowing them to enter or exit trades at optimal times.
Advantages and Strategic Value
The "Tandem Oscillator" script stands out due to its ability to dynamically adjust to market conditions using both RSI and ATR. This reduces the likelihood of false signals and provides a more nuanced understanding of market momentum. The customizable inputs make the indicator versatile, enabling traders to adapt it to different assets and timeframes based on their specific trading goals.
Summary and Usage Tips
The "Tandem Oscillator" script is a powerful tool for detecting market momentum and trend shifts by combining RSI with standard deviation bands. Its customizable parameters and dual scoring system make it a valuable addition to any trader's toolkit. By incorporating this script into your strategy, you can enhance your ability to identify overbought or oversold conditions and time your trades more effectively.
Be sure to adjust the lookback period and tandem length according to the asset you are trading, and use the alert system to stay informed of potential opportunities without needing constant chart monitoring.
As always, backtesting and forward-testing are important to understand how the script performs under different market conditions. Past performance is not indicative of future results.
Adaptive Gaussian MA For Loop [BackQuant]Adaptive Gaussian MA For Loop
PLEASE Read the following carefully before applying this indicator to your trading system. Knowing the core logic behind the tools you're using allows you to integrate them into your strategy with confidence and precision.
Introducing BackQuant's Adaptive Gaussian Moving Average For Loop (AGMA FL) — a sophisticated trading indicator that merges the Gaussian Moving Average (GMA) with adaptive volatility to provide dynamic trend analysis. This unique indicator further enhances its effectiveness by utilizing a for-loop scoring mechanism to detect potential shifts in market direction. Let's dive into the components, the rationale behind them, and how this indicator can be practically applied to your trading strategies.
Understanding the Gaussian Moving Average (GMA)
The Gaussian Moving Average (GMA) is a smoothed moving average that applies Gaussian weighting to price data. Gaussian weighting gives more significance to data points near the center of the lookback window, making the GMA particularly effective at reducing noise while maintaining sensitivity to changes in price direction. In contrast to simpler moving averages like the SMA or EMA, GMA provides a more refined smoothing function, which can help traders follow the true trend in volatile markets.
In this script, the GMA is calculated over a defined Calculation Period (default 14), applying a Gaussian filter to smooth out market fluctuations and provide a clearer view of underlying trends.
Adaptive Volatility: A Dynamic Edge
The Adaptive feature in this indicator gives it the ability to adjust its sensitivity based on current market volatility. If the Adaptive option is enabled, the GMA uses a standard deviation-based volatility measure (with a default period of 20) to dynamically adjust the width of the Gaussian filter, allowing the GMA to react faster in volatile markets and more slowly in calm conditions. This dynamic nature ensures that the GMA stays relevant across different market environments.
When the Adaptive setting is disabled, the script defaults to a constant standard deviation value (default 1.0), providing a more stable but less responsive smoothing function.
Why Use Adaptive Gaussian Moving Average?
The Gaussian Moving Average already provides smoother results than standard moving averages, but by adding an adaptive component, the indicator becomes even more responsive to real-time price changes. In fast-moving or highly volatile markets, this adaptation allows traders to react quicker to emerging trends. Conversely, in quieter markets, it reduces over-sensitivity to minor fluctuations, thus lowering the risk of false signals.
For-Loop Scoring Mechanism
The heart of this indicator lies in its for-loop scoring system, which evaluates the smoothed price data (the GMA) over a specified range, comparing it to previous values. This scoring system assigns a numerical value based on whether the current GMA is higher or lower than previous values, creating a trend score.
Long Signals: These are generated when the for-loop score surpasses the Long Threshold (default set at 40), signaling that the GMA is gaining upward momentum, potentially identifying a favorable buying opportunity.
Short Signals: These are triggered when the score crosses below the Short Threshold (default set at -10), indicating that the market may be losing strength and that a selling or shorting opportunity could be emerging.
Thresholds & Customization Options
This indicator offers a high degree of flexibility, allowing you to fine-tune the settings according to your trading style and risk preferences:
Calculation Period: Adjust the lookback period for the Gaussian filter, affecting how smooth or responsive the indicator is to price changes.
Adaptive Mode: Toggle the adaptive feature on or off, allowing the GMA to dynamically adjust based on market volatility or remain consistent with a fixed standard deviation.
Volatility Settings: Control the standard deviation period for adaptive mode, fine-tuning how quickly the GMA responds to shifts in volatility.
For-Loop Settings: Modify the start and end points for the for-loop score calculation, adjusting the depth of analysis for trend signals.
Thresholds for Signals: Set custom long and short thresholds to determine when buy or sell signals should be generated.
Visualization Options: Choose to color bars based on trend direction, plot signal lines, or adjust the background color to reflect current market sentiment visually.
Trading Applications
The Adaptive Gaussian MA For Loop can be applied to a variety of trading styles and markets. Here are some key ways you can use this indicator in practice:
Trend Following: The combination of Gaussian smoothing and adaptive volatility helps traders stay on top of market trends, identifying significant momentum shifts while filtering out noise. The for-loop scoring system enhances this by providing a numerical representation of trend strength, making it easier to spot when a new trend is emerging or when an existing one is gaining strength.
Mean Reversion: For traders looking to capitalize on short-term market corrections, the adaptive nature of this indicator makes it easier to identify when price action is deviating too far from its smoothed trend, allowing for strategic entries and exits based on overbought or oversold conditions.
Swing Trading: With its ability to capture medium-term price movements while avoiding the noise of short-term fluctuations, this indicator is well-suited for swing traders who aim to profit from market reversals or short-to-mid-term trends.
Volatility Management: The adaptive feature allows the indicator to adjust dynamically in volatile markets, ensuring that it remains responsive in times of increased uncertainty while avoiding unnecessary noise in calmer periods. This makes it an effective tool for traders who want to manage risk by staying in tune with changing market conditions.
Final Thoughts
The Adaptive Gaussian MA For Loop is a powerful and flexible indicator that merges the elegance of Gaussian smoothing with the adaptability of volatility-based adjustments. By incorporating a for-loop scoring mechanism, this indicator provides traders with a comprehensive view of market trends and potential trade opportunities.
It’s important to test the settings on historical data and adapt them to your specific trading style, timeframe, and market conditions. As with any technical tool, the AGMA For Loop should be used in conjunction with other indicators and solid risk management practices for the best results.
Thus following all of the key points here are some sample backtests on the 1D Chart
Disclaimer: Backtests are based off past results, and are not indicative of the future.
INDEX:BTCUSD
INDEX:ETHUSD
BINANCE:SOLUSD
Two Pole Butterworth For Loop [BackQuant]Two Pole Butterworth For Loop
PLEASE read the following carefully, as understanding the underlying concepts and logic behind the indicator is key to incorporating it into your trading system in a sound and methodical manner.
Introducing BackQuant's Two Pole Butterworth For Loop (2P BW FL) — an advanced indicator that fuses the power of the Two Pole Butterworth filter with a dynamic for-loop scoring mechanism. This unique approach is designed to extract actionable trading signals by smoothing out price data and then analyzing it using a comparative scoring method. Let's delve into how this indicator works, why it was created, and how it can be used in various trading scenarios.
Understanding the Two Pole Butterworth Filter
The Butterworth filter is a signal processing tool known for its smooth response and minimal distortion. It's often used in electronic and communication systems to filter out unwanted noise. In trading, the Butterworth filter can be applied to price data to smooth out the volatility, providing traders with a clearer view of underlying trends without the whipsaws often associated with market noise.
The Two Pole Butterworth variant further enhances this effect by applying the filter with two poles, effectively creating a sharper transition between the passband and stopband. In simple terms, this allows the filter to follow the price action more closely, reacting to changes while maintaining smoothness.
In this script, the Two Pole Butterworth filter is applied to the Calculation Source (default is set to the closing price), creating a smoothed price series that serves as the foundation for further analysis.
Why Use a Two Pole Butterworth Filter?
The Two Pole Butterworth filter is chosen for its ability to reduce lag while maintaining a smooth output. This makes it an ideal choice for traders who want to capture trends without being misled by short-term volatility or market noise. By filtering the price data, the Two Pole Butterworth enables traders to focus on the broader market movements and avoid false signals.
The For-Loop Scoring Mechanism
In addition to the Butterworth filter, this script uses a for-loop scoring system to evaluate the smoothed price data. The for-loop compares the current value of the filtered price (referred to as "subject") to previous values over a defined range (set by the start and end input). The score is calculated based on whether the subject is higher or lower than the previous points, and the cumulative score is used to determine the strength of the trend.
Long and Short Signal Logic
Long Signals: A long signal is triggered when the score surpasses the Long Threshold (default set at 40). This suggests that the price has built sufficient upward momentum, indicating a potential buying opportunity.
Short Signals: A short signal is triggered when the score crosses under the Short Threshold (default set at -10). This indicates weakening price action or a potential downtrend, signaling a possible selling or shorting opportunity.
By utilizing this scoring system, the indicator identifies moments when the price momentum is shifting, helping traders enter positions at opportune times.
Customization and Visualization Options
One of the strengths of this indicator is its flexibility. Traders can customize various settings to fit their personal trading style or adapt it to different markets and timeframes:
Calculation Periods: Adjust the lookback period for the Butterworth filter, allowing for shorter or longer smoothing depending on the desired sensitivity.
Threshold Levels: Set the long and short thresholds to define when signals should be triggered, giving you control over the balance between sensitivity and specificity.
Signal Line Width and Colors: Customize the visual presentation of the indicator on the chart, including the width of the signal line and the colors used for long and short conditions.
Candlestick and Background Colors: If desired, the indicator can color the candlesticks or the background according to the detected trend, offering additional clarity at a glance.
Trading Applications
This Two Pole Butterworth For Loop indicator is versatile and can be adapted to various market conditions and trading strategies. Here are a few use cases where this indicator shines:
Trend Following: The Butterworth filter smooths the price data, making it easier to follow trends and identify when they are gaining or losing strength. The for-loop scoring system enhances this by providing a clear indication of how strong the current trend is compared to recent history.
Mean Reversion: For traders looking to identify potential reversals, the indicator’s ability to compare the filtered price to previous values over a range of periods allows it to spot moments when the trend may be losing steam, potentially signaling a reversal.
Swing Trading: The combination of smoothing and scoring allows swing traders to capture short to medium-term price movements by filtering out the noise and focusing on significant shifts in momentum.
Risk Management: By providing clear long and short signals, this indicator helps traders manage their risk by offering well-defined entry and exit points. The smooth nature of the Butterworth filter also reduces the risk of getting caught in false signals due to market noise.
Final Thoughts
The Two Pole Butterworth For Loop indicator offers traders a powerful combination of smoothing and scoring to detect meaningful trends and shifts in price momentum. Whether you are a trend follower, swing trader, or someone looking to refine your entry and exit points, this indicator provides the tools to make more informed trading decisions.
As always, it's essential to backtest the indicator on historical data and tailor the settings to your specific trading style and market. While the Butterworth filter helps reduce noise and smooth trends, no indicator can predict the future with absolute certainty, so it should be used in conjunction with other tools and sound risk management practices.
Thus following all of the key points here are some sample backtests on the 1D Chart
Disclaimer: Backtests are based off past results, and are not indicative of the future.
INDEX:BTCUSD
INDEX:ETHUSD
BINANCE:SOLUSD
Adaptive SuperTrend Oscillator [AlgoAlpha]Adaptive SuperTrend Oscillator 🤖📈
Introducing the Adaptive SuperTrend Oscillator , an innovative blend of volatility clustering and SuperTrend logic designed to identify market trends with precision! 🚀 This indicator uses K-Means clustering to dynamically adjust volatility levels, helping traders spot bullish and bearish trends. The oscillator smoothly tracks price movements, adapting to market conditions for reliable signals. Whether you're scalping or riding long-term trends, this tool has got you covered! 💹✨
🔑 Key Features:
📊 Volatility Clustering with K-Means: Segments volatility into three levels (high, medium, low) using a K-Means algorithm for precise trend detection.
📈 Normalized Oscillator : Allows for customizable smoothing and normalization, ensuring the oscillator remains within a fixed range for easy interpretation.
🔄 Heiken Ashi Candles : Optionally visualize smoothed trends with Heiken Ashi-style candlesticks to better capture market momentum.
🔔 Alert System : Get notified when key conditions like trend shifts or volatility changes occur.
🎨 Customizable Appearance : Fully customizable colors for bullish/bearish signals, along with adjustable smoothing methods and lengths.
📚 How to Use:
⭐ Add the indicator to favorites by pressing the star icon. Customize settings to your preference:
👀 Watch the chart for trend signals and reversals. The oscillator will change color when trends shift, offering visual confirmation.
🔔 Enable alerts to be notified of critical trend changes or volatility conditions
⚙️ How It Works:
This script integrates SuperTrend with volatility clustering by analyzing ATR (Average True Range) to dynamically identify high, medium, and low volatility clusters using a K-Means algorithm . The SuperTrend logic adjusts based on the assigned volatility level, creating adaptive trend signals. These signals are then smoothed and optionally normalized for clearer visual interpretation. The Heiken Ashi transformation adds an additional layer of smoothing, helping traders better identify the market's true momentum. Alerts are set to notify users of key trend shifts and volatility changes, allowing traders to react promptly.
ATR with Donchian Channels and SMAsThis script combines the Average True Range (ATR), Donchian Channels, and Simple Moving Averages (SMAs) to provide a comprehensive tool for volatility and trend analysis.
Key Components:
ATR Calculation: The ATR is used to measure market volatility. It is calculated as a moving average of the true range over a specified length, which you can customize using different smoothing methods: RMA, SMA, EMA, or WMA. ATR helps identify periods of high and low volatility, giving insights into potential breakout or consolidation phases in the market.
Donchian Channels on ATR: The Donchian Channels are calculated based on the highest and lowest values of the ATR over a user-defined period. The upper and lower bands provide a volatility range, and the middle line represents the average of the two. This can help visualize the range of market volatility and detect possible trend reversals or continuations.
SMAs on ATR: Two Simple Moving Averages (SMA) are applied to the ATR values. These SMAs act as a smoothed version of the ATR, providing additional insight into volatility trends. By adjusting the length of these SMAs, you can track short-term and long-term volatility movements, helping in decision-making for potential entries and exits.
Inputs:
ATR Length: Set the length for calculating the ATR.
Smoothing Method: Choose from RMA, SMA, EMA, or WMA for smoothing the ATR calculation.
Donchian Channel Length: Set the length for calculating the highest and lowest ATR values for Donchian Channels.
SMA Lengths: Two adjustable lengths for applying SMAs to the ATR.
Visualization:
ATR Plot: The ATR is plotted in red, allowing you to see the market's volatility at a glance.
Donchian Channels: Blue lines represent the upper and lower bands, while the green line represents the middle line of the Donchian Channels, helping you visualize the volatility range.
SMAs: Two SMAs (green and orange) are plotted to smooth out the ATR and identify trends in volatility.
Use Cases:
Breakout Detection: High ATR values breaking out of the Donchian Channels may signal increased volatility and a potential breakout.
Trend Analysis: SMAs on ATR help smooth volatility trends, aiding in determining if the market is entering a more volatile or stable period.
Stop-Loss Placement: ATR and Donchian Channels can be used to set dynamic stop-loss levels based on market volatility.
This script is versatile and can be used across different asset classes, such as stocks, forex, crypto, and commodities. It is especially useful for traders who want to incorporate volatility into their trading strategies for better risk management and trend detection.
RSI 30-50-70 moving averageDescription:
The RSI 30-50-70 Moving Average indicator plots three distinct moving averages based on different RSI ranges (30%, 50%, and 70%). Each moving average corresponds to different market conditions and provides potential entry and exit signals. Here's how it works:
• RSI_30 Range (25%-35%): The moving average of closing prices when the RSI is between 25% and 35%, representing potential oversold conditions.
• RSI_50 Range (45%-55%): The moving average of closing prices when the RSI is between 45% and 55%, providing a balanced perspective for trend-following strategies.
• RSI_70 Range (65%-75%): The moving average of closing prices when the RSI is between 65% and 75%, representing potential overbought conditions.
This indicator offers flexibility, as users can adjust key parameters such as RSI ranges, periods, and time frames to fine-tune the signals for their trading strategies.
How it Works:
Like traditional moving averages, the RSI 30-50-70 Moving Averages can highlight dynamic levels of support and resistance. They offer additional insight by focusing on specific RSI ranges, providing early signals for trend reversals or continuation. The default settings can be used across various assets but should be optimized via backtesting.
Default Settings:
• RSI_30: 25% to 35% (Oversold Zone, yellow line)
• RSI_50: 45% to 55% (Neutral/Trend Zone, green line)
• RSI_70: 65% to 75% (Overbought Zone, red line)
• RSI Period: 14
Buy Conditions:
• Use the 5- or 15-minute time frame.
• Wait for the price to move below the RSI_30 line, indicating potential oversold conditions.
• Enter a buy order when the price closes above the RSI_30 line, signaling a recovery from the oversold zone.
• For a more conservative approach, use the RSI_50 line as the buy signal to confirm a trend reversal.
• Important: Before entering, ensure that the RSI_30 moving average has flattened or started to level off, signaling that the oversold momentum has slowed.
Sell Conditions:
• Use the 5- or 15-minute time frame.
• Wait for the price to close above the RSI_70 line, indicating potential overbought conditions.
• Enter a sell order when the price closes below the RSI_70 line, signaling a decline from the overbought zone.
• Important: Similar to buying, wait for the RSI_70 moving average to flatten or level off before selling, indicating the overbought conditions are stalling.
Key Features:
1. Dynamic Range Customization: The indicator allows users to modify the RSI ranges and periods, tailoring the moving averages to fit different market conditions or asset classes.
2. Trend-Following and Reversal Signals: The RSI 30-50-70 moving averages provide both reversal and trend-following signals, making it a versatile tool for short-term traders.
3. Visual Representation of Market Strength: By plotting moving averages based on RSI levels, traders can visually interpret the market’s strength and potential turning points.
4. Risk Management: The built-in flexibility allows traders to choose lower-risk entries by adjusting which RSI level (e.g., RSI_30 vs. RSI_50) they rely on for signals.
Practical Use:
Different assets respond uniquely to RSI-based moving averages, so it's recommended to backtest and adjust ranges for specific instruments. For example, volatile assets may require wider RSI ranges, while more stable assets could benefit from tighter ranges.
Checking for Buy conditions:
1st: Wait for current price to go below the RSI_30 (yellow line)
2nd: Wait and observe for bullish divergence
3rd: RSI_30 has flattened indicating potential gain of momentum after a bullish divergence.
4th: Enter a buy order when the price closed above the RSI_30, preferably when a green candle appeared.
All In One Divergences Indicator - By CryptoEasonThis indicator displays divergences for multiple indicators on the chart. It includes divergences for volume, CCI, MACD, OBV, CMF, RSI, MFI, and maybe more in the future.
Below is an explanation of how divergences for these indicators are displayed:
1. Volume
I use volume to assess the strength of demand and supply. The way Volume divergences are calculated is similar to OBV.
Bearish Divergence: The price reaches a new high, but demand starts to weaken.
Bullish Divergence: The price reaches a new low, but supply starts to weaken.
2. CCI
Bearish Divergence: The price reaches a new high, but CCI forms a lower high, and the previous CCI peak is > 200.
Bullish Divergence: The price reaches a new low, but CCI forms a higher low, and the previous CCI low is < -200.
3. MACD
Bearish Divergence: The price reaches a new high, but the MACD lines cross at a lower point.
Bullish Divergence: The price reaches a new low, but the MACD lines cross at a higher point.
4. OBV
Bearish Divergence: The price reaches a new high, but OBV forms a lower high.
Bullish Divergence: The price reaches a new low, but OBV forms a higher low.
5. CMF
Bearish Divergence: The price reaches a new high, but CMF forms a lower high.
Bullish Divergence: The price reaches a new low, but CMF forms a higher low.
6. RSI
Bearish Divergence: The price reaches a new high, but RSI forms a lower high, and the previous RSI peak is > 70.
Bullish Divergence: The price reaches a new low, but RSI forms a higher low, and the previous RSI low is < 30.
7. MFI
Bearish Divergence: The price reaches a new high, but MFI forms a lower high, and the previous MFI peak is > 80.
Bullish Divergence: The price reaches a new low, but MFI forms a higher low, and the previous MFI low is < 20.
This indicator provides a sub-chart that displays seven indicators: Volume, CCI, MACD, OBV, CMF, RSI, and MFI.
When you find a divergence in the chart, I recommend using the sub-chart to check the real-time status of each indicator. This is important and is the way I use this indicator. Whenever a divergence signal appears, check the actual status of all the indicators with divergences.
Reminders:
1.Having too many divergence signals is not always better. Personally, I typically use divergences from four indicators: Volume, CCI, MACD, and OBV, and sometimes I add RSI. I recommend that you use divergence signals only from the indicators you are familiar with. If you're not familiar with a particular indicator, you can disable its divergence signals in the settings.
2.Some indicators are volume-related, such as OBV, Volume, MFI, and CMF. Therefore, the chart you're using should reflect the main trading volume of the market. For example, in the Bitcoin market, I recommend using the COINBASE:BTCUSD chart.
3.The divergence signals for MACD are displayed separately in this indicator. This is because the way MACD divergences are calculated is more complex. It requires the identification of the highs and lows of two MACD line crossovers, which is different from simply identifying the highs and lows of other indicators. Hence, MACD divergences are displayed separately in this indicator.
Note:
Although this indicator currently only shows divergences for seven indicators, I may add more divergence indicators in the future. If you would like to see divergence signals for a particular indicator included, or if you have any feature requests that are not currently offered, feel free to leave a comment and let me know.
============== 中文說明 (Chinese Introduction) ==============
這個指標是一個能在圖表上顯示多個指標背離的指標。
包括:成交量、CCI、MACD、OBV、CMF、RSI、MFI 等多個指標的背離。
以下說明這幾個指標背離的顯示方式:
1、成交量
我用成交量來判斷需求與供應強弱,它的背離判斷方式與OBV類似。
頂背離:價格創新高、但需求卻開始衰竭
底背離:價格創新低,但供應卻開始衰竭
2、CCI
頂背離:價格創新高、但CCI卻更低,且前一個高點 CCI > 200
底背離:價格創新低,但CCI卻更高,且前一個低點 CCI < -200
3、MACD
頂背離:價格創新高、但MACD快慢線交叉創下低點
底背離:價格創新低,但MACD 快慢線交叉雙下高點
4、OBV
頂背離:價格創新高、但OBV卻更低
底背離:價格創新低,但OBV卻更高
5、CMF
頂背離:價格創新高、但CMF卻更低
底背離:價格創新低,但CMF卻更高
6、RSI
頂背離:價格創新高、但RSI卻更低,且前一個高點 RSI > 70
底背離:價格創新低,但RSI卻更高,且前一個低點 RSI < 30
7、MFI
頂背離:價格創新高、但MFI卻更低,且前一個高點 MFI > 80
底背離:價格創新低,但MFI卻更高,且前一個低點 MFI < 20
該指標提供了副圖表,副圖表一共可顯示七個指標:成交量、CCI、MACD、OBV、CMF、RSI、MFI 。
當你發現當前價格出現背離時,我建議使用副圖表來一一檢查指標的真實情況,這很重要,這也是我使用這指標的方式,每當背離訊號出現時,檢查所有背離指標的真實情況。
提醒:
1、背離顯示並不是越多越好,我個人通常只使用 成交量、CCI、MACD、OBV 等四個指標的背離,偶爾會加上 RSI。我也建議你應該只使用自己熟悉的指標的背離,如果你不是很熟悉某個指標,那麼你可以在設定中取消顯示該指標的背離。
2、某些指標與成交量有關,例如OBV、Volume、MFI、CMF 等等,所以你使用的圖表應該要能反應市場的主要成交量,例如在比特幣市場裡,建議以 COINBASE:BTCUSD 圖表為主。
3、MACD 的背離訊號在這個指標裡是個別顯示的,因為MACD的背離判斷方式比較複雜,它需要判斷兩次快慢線交叉的高低點,跟其他指標只需要判斷高低點出現的值不太一樣,所以MACD背離在這個指標裡是單獨顯示的。
註:
雖然目前這個指標只有顯示七個指標的背離,但是未來我可能會加入更多指標的背離。如果你希望某個指標的背離訊號出現在這隻指標中,或是你想要某個功能但是目前這指標沒有提供,歡迎留言讓我知道。
Momentum-Based Buy/Sell SignalsBuy Signal:
Triggered when ROC > threshold and the MACD line crosses above the Signal line.
Sell Signal:
Triggered when ROC < threshold and the MACD line crosses below the Signal line.
Visual Elements:
Green labels with "Buy" are displayed below the bars for buy signals.
Red labels with "Sell" are displayed above the bars for sell signals.
The background turns green during a buy signal and red during a sell signal for better visual clarity.