Gabriel's Cyclic Smoothed RSI [Enhanced]Overview
Gabriel's Cyclic Smoothed RSI (short title: cRSI ) is a sophisticated technical indicator developed to provide traders with deeper insights into market rhythms and price momentum. Building upon the traditional Relative Strength Index (RSI), this enhanced version incorporates dynamic cycle analysis, divergence detection, and optional stochastic oscillators to deliver a more nuanced understanding of market conditions.
Key Features
Cyclic Smoothed RSI (cRSI):
Adaptive Momentum: The cRSI adapts to the dominant market cycle, providing a smoothed RSI that reacts dynamically to price changes.
Ultra-Smooth & Zero-Lag: Designed to minimize lag, ensuring timely signals that closely follow price movements.
Accurate Divergence Detection: Identifies both regular and hidden bullish/bearish divergences, enhancing signal reliability.
Dynamic Overbought/Oversold Bands:
Customizable Thresholds: Set dynamic overbought and oversold levels based on market rhythm analysis.
Adaptive Bands: Bands adjust according to the dominant cycle, offering a more accurate representation of market extremes.
Stochastic cRSI & KDJ Oscillator (Optional):
Enhanced Oscillators: Incorporate stochastic and KDJ oscillators for additional momentum analysis.
Ribbon Displays: Visual ribbons provide clarity on oscillator trends and potential reversal points.
Divergence Detection:
Regular & Hidden Divergences: Detects both regular and hidden bullish/bearish divergences to anticipate potential trend reversals.
Customizable Lookback: Adjust pivot lookback periods to fine-tune divergence sensitivity.
Visual Enhancements:
Triangles & Labels: Visual signals in the form of triangles and labels indicate buy/sell opportunities and divergence events.
Bar Coloring: Option to color bars based on signal strength, providing immediate visual cues.
Alert Conditions:
Custom Alerts: Set up alerts for various signal types, including strong buy/sell signals and divergence events, ensuring you never miss critical market movements.
Input Settings
cRSI Settings
Source: Select the data source for calculations (e.g., Close, Open, High, Low, HLC3, OHLC4).
Dominant Cycle Length: Define the dominant market cycle length based on rhythm analysis.
Vibration: Adjusts the sensitivity of the cRSI to price changes.
Leveling %: Determines the percentage level for dynamic band adjustments.
Show cRSI Plot: Toggle the display of the cRSI line.
Show Cyclic Smoothed Bands: Toggle the display of dynamic overbought and oversold bands.
Show Trend Fill: Enable or disable the trend fill cloud between upper and lower bands.
MA Settings
MA Type: Choose the type of Moving Average (SMA, Bollinger Bands, EMA, SMMA (RMA), WMA, VWMA) to smooth the cRSI.
MA Length: Set the length of the Moving Average.
BB StdDev: Define the standard deviation multiplier for Bollinger Bands.
Show cRSI-based MA: Toggle the display of the cRSI-based Moving Average line.
Stochastic Settings
Show Stochastic cRSI: Enable the stochastic oscillator based on cRSI.
Ribbon: Enable ribbon display for the Stochastic oscillator.
Show KDJ: Toggle the display of the KDJ oscillator.
KDJ Ribbon: Enable ribbon display for the KDJ oscillator.
Stochastic Length: Set the length for the Stochastic calculation.
%K Smoothing: Define the smoothing period for %K.
%D Smoothing: Define the smoothing period for %D.
Stoch Scaling %: Adjusts the vertical scaling of the stochastic to prevent distortion.
Overbought/Oversold Settings
Overbought: Set the Overbought threshold for the cRSI.
OB Extreme: Define the Extreme Overbought threshold for the Stochastic cRSI.
Oversold: Set the Oversold threshold for the cRSI.
OS Extreme: Define the Extreme Oversold threshold for the Stochastic cRSI.
Divergence Settings
Pivot Lookback Right: Number of bars to the right of the pivot for divergence detection.
Pivot Lookback Left: Number of bars to the left of the pivot for divergence detection.
Max of Lookback Range: Maximum number of bars to look back for divergence detection.
Min of Lookback Range: Minimum number of bars to look back for divergence detection.
Plot Bullish: Enable plotting of bullish divergence signals.
Plot Hidden Bullish: Enable plotting of hidden bullish divergence signals.
Plot Bearish: Enable plotting of bearish divergence signals.
Plot Hidden Bearish: Enable plotting of hidden bearish divergence signals.
Delay Plot Until Candle is Closed: Prevents repainting by delaying the plotting of divergence signals until the candle is fully closed.
Centered Oscillators
Normalized ZScoreThe Normalized ZScore Indicator is a dynamic tool designed to help traders identify potential overbought and oversold conditions in the market. It calculates the ZScore of the price movement relative to a moving average, allowing users to track the deviation of price from its average and normalize it within a fixed range for clearer signal generation. The indicator can be used for both trend-following and mean-reversion strategies, offering customizable options for various trading styles.
How It Works
This indicator works by calculating two distinct ZScores:
Standard ZScore: Based on the price deviation from a simple moving average (SMA).
Fast ZScore: Calculated using price deviation from the SMA combined with standard deviation over a shorter period.
The ZScore values are normalized between -100 and 100, allowing for consistent and comparable signal outputs across different assets and timeframes.
Key Features
Customizable MA and Deviation Lengths: Adjust the length of the moving average (MA Length) and deviation (Deviation Length) to suit your trading needs.
Overbought/Oversold Zones: The indicator highlights areas where the market may be overbought or oversold using a user-defined threshold.
Color-Coded Signals: The ZScore plot changes color based on market conditions:
Positive ZScore (overbought) = Customizable Positive Color
Neutral ZScore = Customizable Middle Color
Negative ZScore (oversold) = Customizable Negative Color
Trend Filtering Option: The built-in trend filter helps to enhance signal accuracy by factoring in the overall market trend.
Signal Shapes:
Diamonds: Indicate strong long or short entry signals when ZScore crosses predefined thresholds.
X-Crosses: Indicate weaker long or short entry signals for users preferring caution in their trades.
Inputs
MA Length: Set the length of the moving average used for calculating the ZScore.
Deviation Length: Set the length used for deviation calculations.
OBS Threshold: Set the threshold for defining overbought and oversold zones.
Trend Filter: Enable or disable the trend filter for added signal confidence.
Color Settings: Customize the colors for positive, middle, and negative ZScore values.
Visual Features
ZScore Plot: A smooth and color-coded line plot to visualize the ZScore in real-time.
Overbought/Oversold Zones: Visualized with horizontal lines and fill colors to highlight extremes.
Bar Coloring: Bars change colors when ZScore exceeds overbought/oversold zones, enhancing visual clarity.
Signal Markers: Diamond or X-shaped markers appear on the chart to indicate potential trade signals.
How to Use
Entry Points: Look for the ZScore to cross into overbought/oversold regions for potential reversal trades. Use the diamonds and X-crosses for long and short entries.
Trend Filter: Enable the trend filter to avoid taking trades against the overall market trend.
Customize Settings: Adjust the lengths and colors to match your specific trading strategy and timeframe.
Donchian Channels Osciliator with MA validationWhat's it all about?
This nifty little tool, the Donchian Channels Oscillator, helps you spot when a stock might be overbought or oversold. It's like a price detective, looking for clues in the historical data to figure out if it's time to buy or sell.
How does it work?
Think of it as a seesaw. When the price is way above the Donchian Channels, it's like the seesaw is tilted too far to one side. That might mean it's time to sell before it falls. On the other hand, if the price is way below the channels, it's like the seesaw is tilted too far to the other side. This could be a good sign to buy, as the price might be ready to bounce back.
Key Points:
Donchian Channels: These are like safety nets. They're calculated based on the highest and lowest prices over a certain period.
Oscillator: This is just a fancy word for a tool that swings back and forth. In this case, it swings between overbought and oversold zones.
EMA-Line: This is a smoothed-out version of the oscillator. It helps you see the overall trend more clearly.
How to Use It:
Add it to your chart: Find it in the indicator search bar.
Adjust settings: You can tweak the length of the Donchian Channels and the offset to fit your trading style.
Watch the swings: When the oscillator goes way up, it might be time to sell. When it goes way down, it might be time to buy. But always use this with other indicators for confirmation.
Remember: This is just a tool, not a magic crystal ball. Don't rely solely on it for trading decisions. Always do your own research and consider other factors.
Happy trading!
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.
Order Book Pressure Index (OBPI)Overview
The Order Book Pressure Index (OBPI) is a custom technical indicator designed to provide traders with a real-time approximation of market pressure by analyzing buying and selling volumes. Unlike traditional indicators that rely heavily on historical price data, the OBPI focuses on current price movements and volume dynamics to offer a more responsive tool for detecting potential market shifts.
Key Features
Approximation of Order Book Pressure : Estimates market pressure by calculating the cumulative delta volume based on price movements and corresponding volumes. False Signal Filtering : Incorporates threshold levels and moving averages to reduce market noise and minimize false trading signals. Multi-Timeframe Analysis : Allows selection of multiple higher timeframes for signal confirmation, enhancing signal reliability. Customizable Parameters : Offers adjustable settings for thresholds, moving average periods, and the number of bars used in calculations.
How It Works
Volume Direction Calculation : Determines the price direction for each bar: Bullish : Closing price > Opening price; volume attributed to buying pressure. Bearish : Closing price < Opening price; volume attributed to selling pressure. Delta Volume Calculation : Computes the difference between buying and selling volumes to obtain the delta volume for each bar. Cumulative Delta Volume : Calculates the cumulative sum of delta volumes over a specified number of bars (user-defined), focusing on recent market activity. Moving Average Application : Applies a moving average to the cumulative delta volume to smooth out short-term fluctuations and highlight underlying trends. Signal Generation with Thresholds : Threshold Levels : User-defined thresholds identify significant changes in market pressure. Buy Signal : Triggered when the cumulative delta volume crosses above the positive threshold and is above its moving average. Sell Signal : Triggered when the cumulative delta volume crosses below the negative threshold and is below its moving average. Multi-Timeframe Filtering : Timeframe Selection : Traders can select multiple higher timeframes (e.g., 15 min, 30 min, 1 hr, 4 hr) via checkboxes. Signal Aggregation : The indicator aggregates signals from the selected timeframes. Final Signal Generation : A buy or sell signal is generated only if it is present on the current timeframe and at least one of the selected higher timeframes.
How to Use
1. Indicator Settings
Max Bars : Sets the maximum number of bars for cumulative delta volume calculation. A smaller number increases responsiveness by focusing on recent activity. Moving Average Period : Adjusts the period for the moving average applied to the cumulative delta volume. A shorter period increases sensitivity; a longer period smooths out noise. Signal Threshold : Defines the minimum delta volume required to generate a signal. Higher thresholds filter out minor fluctuations. Timeframe Selection : Use the checkboxes to select higher timeframes for multi-timeframe analysis. Available timeframes include 15 min, 30 min, 1 hr, and 4 hr.
2. Interpreting the Signals
Buy Signal (Green Triangle Up) : Indicates potential bullish market pressure. Consider entering long positions when the signal appears. Sell Signal (Red Triangle Down) : Indicates potential bearish market pressure. Consider entering short positions or exiting long positions when the signal appears. Signal Confirmation : For higher reliability, ensure that the signal aligns across multiple timeframes. The signal is stronger when confirmed by selected higher timeframes.
3. Trading Strategies
Trend Following : Use the indicator to identify and follow prevailing market trends. Enter trades in the direction of the cumulative delta volume. Reversal Signals : Look for divergences between price movements and the OBPI to anticipate potential market reversals. Risk Management : Always implement appropriate stop-loss and take-profit levels. Combine the OBPI with sound risk management practices.
Best Practices
Combine with Other Indicators : Enhance signal reliability by using the OBPI alongside indicators like RSI, MACD, or support and resistance levels. Adjust Parameters : Test different settings in a demo account to find optimal parameters for your trading style and the specific asset. Market Conditions : Be mindful of market volatility and liquidity, as extreme conditions can affect indicator performance. Backtesting : Conduct thorough backtesting over historical data before applying the indicator to live trading.
Limitations
Approximation : The OBPI provides an approximation of market pressure and does not access actual order book data. Lag in Higher Timeframes : Signals from higher timeframes may lag, affecting the timeliness of combined signals. Complexity : Multi-timeframe features increase complexity and may impact performance on some platforms.
Conclusion
The Order Book Pressure Index (OBPI) offers traders a unique perspective by focusing on current price movements and volume. Its ability to filter false signals and incorporate multi-timeframe analysis makes it a valuable addition to any trading strategy. Remember to use it in conjunction with other analytical methods and always practice prudent risk management.
Disclaimer : Trading involves significant risk. The OBPI indicator is a tool to aid decision-making and does not guarantee profitable trades. Perform your own analysis and consider consulting a financial advisor before making trading decisions.
Price-Shift Oscillator (PSO)The PSOscillator calculates an oscillator value based on price movements over a specific period. Oscillators like this one are typically used to identify momentum shifts, and trend direction. Here's a breakdown of how the logic behind it works:
Key Concepts for Beginners:
Oscillators:
In this case, the PSOscillator helps indicate whether the market momentum is positive (price might rise) or negative (price might fall).
Input Parameters:
oscPeriod: This is the number of bars (or candles) used to calculate the oscillator. It affects how sensitive the oscillator is to price changes. A lower period makes it more sensitive to short-term movements, while a higher period smoothens it out.
smaPeriod: This is a simple moving average (SMA) applied to the oscillator for additional smoothing, further reducing noise.
Calculation Logic:
The JpOscillator uses recent price data to calculate its value. Specifically, it looks at the closing prices of the current and previous bars (candles). periods ago).
This calculation aims to identify how much recent price action is deviating from past price behavior.
Essentially, it tells us whether the current price is higher or lower relative to the past, and how the trend is evolving over recent periods.
Smoothing:
After calculating the oscillator values, we apply optional smoothing to make it less "jumpy." This is useful in reducing the noise caused by small, insignificant price movements.
The sma_from_array function averages out the recent oscillator values to make the signal smoother, depending on the oscPeriod.
Oscillator Levels:
Above Zero:
If the oscillator is above 0, it means the price is gaining momentum upwards (bullish signal), which is why we color the histogram green.
Below Zero: If the oscillator is below 0, it indicates downward momentum (bearish signal), which is why we color the histogram red.
You can think of the zero line as a "neutral zone." Crossing above it means momentum is shifting to the upside, and crossing below it means momentum is shifting to the downside.
Histogram Plotting:
The values of the oscillator are plotted as a histogram (bars). The color changes based on whether the oscillator is above or below zero (green for positive and red for negative momentum).
The moving average (SMA) of the oscillator is plotted as a line to help identify trends over time.
Using two different coloring methods for a histogram in a trading strategy can provide a trader with distinct, layered information about market conditions, trends, and momentum shifts. Each coloring method can highlight different aspects of the price action or the oscillator behavior. Here’s how a trader might use both methods to their advantage:
ETHUSDT Daily
1. Color Based on Oscillator Position Relative to Zero
This method colors the histogram green when the oscillator value is above zero and red when it's below zero. This coloring strategy is straightforward and helps a trader quickly identify whether the market's momentum is generally bullish or bearish.
Advantages:
Trend Confirmation: When the oscillator remains above zero and green, it can confirm a bullish trend, and vice versa for a bearish trend with red colors below zero.
Quick Visual Reference: Easy to see at a glance, helping in fast decision-making processes.
2. Color Based on the Change of the Oscillator
This method changes the color based on whether the oscillator is increasing or decreasing compared to its previous value. For instance, a darker shade of green might be used if the oscillator value is rising from one period to the next, indicating increasing bullish momentum, and a darker red if declining, indicating increasing bearish momentum.
Advantages:
Momentum Insight: This coloring method gives insights into the strength of the movement. An oscillator that is increasing (even below zero) might suggest a weakening of a bearish trend or the start of a bullish reversal.
Detecting Reversals: Seeing the oscillator rise from negative to less negative or drop from positive to less positive can alert traders to potential early reversals before they cross the zero line.
Strategic Use in Trading:
A trader can use these two methods together by applying a multi-layered approach to analyze the oscillator:
Overall Trend Assessment:
Above Zero (Green): Considered bullish; look for buy opportunities, especially if the color gets brighter (indicating strengthening).
Below Zero (Red): Considered bearish; look for sell opportunities, especially if the color gets darker (indicating strengthening).
Short-Term Momentum and Entries:
Brightening Green: Could indicate a good time to enter or add to long positions as bullish momentum increases.
Darkening Red: Could indicate a good time to enter or add to short positions as bearish momentum increases.
Lightening Color: If red starts to lighten (become less intense), it might suggest a bearish trend is losing steam, which could be an exit signal for shorts or an early warning for a potential long setup.
Risk Management:
Switch in Color Intensity: A sudden change in color intensity can be used as a trigger for tightening stops or taking partial profits, helping manage risk by responding to changes in market momentum.
PRICE STREAK [DIGGERDOG]PRICE STREAK
This Pine Script, titled **"PRICE STREAK "**, tracks the number of consecutive up or down price closes and visualizes the result in a histogram-style plot. It provides a visual representation of price momentum by counting the number of consecutive days where the closing price is either higher or lower than the previous day. The histogram changes color depending on whether the streak is upward (green) or downward (red).
Key Features:
1. **Upcount and Dncount Calculation:**
- **Upcount** is incremented each time the current close is higher than the previous close. It resets when the close price decreases.
- **Dncount** is incremented each time the current close is lower than the previous close. It resets when the close price increases.
- The script does not differentiate between upward and downward streak lengths in terms of plotting; it combines them in one cumulative count.
2. **Plot with Color-Coded Streaks:**
- The script plots the sum of **Upcount** and **Dncount** as a histogram, where:
- **Green bars** represent upward price streaks (the price is closing higher).
- **Red bars** represent downward price streaks (the price is closing lower).
3. **Threshold Line:**
- A horizontal line is plotted at a value of **2** as a visual threshold to help identify periods where streaks exceed this value. This can be adjusted as needed to indicate different threshold levels for streak significance.
How It Works:
1. **Price Streak Logic:**
- For each bar, the script compares the closing price to the previous bar's closing price:
- If the current close is greater than the previous close, the **Upcount** is incremented, and **Dncount** is reset.
- If the current close is less than the previous close, the **Dncount** is incremented, and **Upcount** is reset.
- The cumulative count of these streaks is plotted.
2. **Color-Coded Histogram:**
- The histogram uses a dynamic color based on whether the streak is upward or downward:
- **Green** for upward streaks.
- **Red** for downward streaks.
Visualization:
- The histogram will help you easily spot whether there has been a significant price streak, whether upward or downward, and how long the streaks last.
- The threshold line helps in identifying when the streaks are significant by providing a reference point (e.g., streaks greater than 2).
Customizations:
- **Threshold**: You can adjust the value of the horizontal line (`hline(2)`) to any number that suits your strategy.
- **Colors**: The green and red colors can be changed to your preference for visual clarity.
Use Case:
This script is ideal for traders who want to track the **momentum** in price movements. If a stock has several consecutive up days or down days, it may indicate **strong momentum** or **trend exhaustion**, depending on the length of the streak. This indicator can help identify potential trend continuation or reversal points.
If you need additional customizations or have any questions, feel free to ask!
Trend CCITrend CCI (TCCI) Indicator
Description:
The Trend CCI (TCCI) indicator is a unique combination of the Commodity Channel Index (CCI) and the Average True Range (ATR), designed to identify trends and market reversals with a refined sensitivity to price volatility. The indicator plots the CCI, adjusted by an ATR filter, and color-codes the trendline to signal uptrends and downtrends.
How It Works:
This indicator uses the CCI to measure price momentum and an ATR-based filter to smooth out market noise, making it easier to detect significant shifts in the market trend. Key parameters such as the ATR Period, ATR Multiplier, and CCI Period have been carefully chosen to optimize the indicator's performance:
1. ATR Period (default: 18)
The ATR Period determines the number of periods used to calculate the **Average True Range**, which reflects market volatility. In this case, an **ATR Period of 18** has been selected for several reasons:
Balance between responsiveness and noise reduction : A period of 18 strikes a balance between being responsive to recent price movements and filtering out minor fluctuations. Shorter ATR periods might be too reactive, creating false signals, while longer periods might miss shorter-term trends.
Adaptable to various market conditions : An 18-period ATR is suitable for both intraday and swing trading strategies, making it versatile across different time frames.
Standard industry practice : Many traders use ATR settings between 14 and 20 periods as a convention for detecting reliable volatility levels.
2. ATR Multiplier (default: 1.5)
The ATR Multiplier is applied to the ATR value to define how sensitive the indicator is to volatility. In this case, a multiplier of 1.5 has been chosen:
Avoiding whipsaws in low volatility markets: By setting the multiplier to 1.5, the indicator filters out smaller, less significant price movements, reducing the likelihood of whipsaw signals (i.e., false trend reversals during periods of low volatility).
Optimizing signal accuracy: A moderate multiplier like 1.5 ensures that the indicator only generates signals when the price moves a significant distance from the average range. Higher multipliers (e.g., 2.0) may ignore valid opportunities, while lower multipliers (e.g., 1.0) might create too many signals.
Enhancing trend clarity : The multiplier’s role in widening the range allows the indicator to respond more clearly during periods of strong trends, reducing signal noise and false positives.
3. CCI Period (default: 63)
The CCI Period defines the number of periods used to calculate the Commodity Channel Index. A 63-period CCI is selected based on the following considerations:
Smoothing the momentum calculation: A longer period, such as 63, is used to smooth out the CCI and reduce the effects of short-term price fluctuations. This period captures longer-term momentum, making it ideal for identifying more significant market trends.
-Filtering out short-term noise: While shorter CCI periods (e.g., 14 or 20) may be more reactive, they tend to produce more signals, some of which may be false. A 63-period CCI focuses on stronger and more sustained price movements, providing fewer but higher-quality signals.
Adapted to intermediate trading: A 63-period CCI aligns well with traders looking for medium-term trend-following strategies, striking a balance between long-term trend identification and responsiveness to significant price shifts.
How to Use:
Green Area: When the trendline turns green, it signals that the CCI is positive, reflecting upward momentum. This can be interpreted as a buy signal, indicating the potential for long positions or continuing bullish trades.
Red Area: When the trendline turns red, it signals that the CCI is negative, reflecting downward momentum. This can be interpreted as a sell signal, indicating potential short positions or bearish trades.
ATR Filter: The ATR helps reduce false signals by ignoring minor price movements. Traders can adjust the ATR Multiplier to make the indicator more or less sensitive based on market conditions. A lower multiplier (e.g., 1.2) may increase signal frequency, while a higher multiplier (e.g., 2.0) reduces it.
Originality:
The Trend CCI (TCCI) stands out due to its combination of the CCI and ATR. While many indicators simply plot raw CCI values, this script enhances the CCI’s effectiveness by incorporating an ATR-based volatility filter. This ensures that only significant trends trigger signals, making it a more reliable tool in volatile markets. The choice of the ATR period, multiplier, and CCI period ensures a refined balance between trend detection and noise reduction, distinguishing it as a powerful trend-following indicator.
Additionally, the visual aspect—using color-coded trendlines that dynamically shift between green and red—simplifies the interpretation of market trends, offering traders a clear and immediate understanding of trend direction and momentum strength.
Final Recommendations:
Use in Trending Markets The TCCI is most effective in trending markets, where its signals align with broader market momentum. In sideways or low-volatility markets, consider adjusting the ATR multiplier or using other complementary indicators to confirm the signals.
Risk Management: Always integrate robust risk management practices, such as using stop-loss orders and position sizing, to protect against sudden market reversals or periods of heightened volatility.
Adjust for Volatility: Consider the volatility of the asset being traded. In highly volatile assets, a higher ATR multiplier (e.g., 2.0) may be necessary to filter out noise, while in more stable assets, a lower multiplier (e.g., 1.2) might generate earlier signals.
By using the Trend CCI (TCCI) indicator with a deeper understanding of its key parameters, traders can better identify trends, reduce noise, and improve their overall decision-making in the markets.
Good Profits!
Log Know Sure ThingThe Know Sure Thing indicator (KST) is a momentum based oscillator. KST is based on Rate of Change (ROC). Know Sure Thing takes four different timeframes of ROC and smooth's them out using Simple Moving Averages. KST then calculates a final value that fluctuates between positive and negative values above and below a Zero Line. There is also a signal line which is an SMA of the KST line itself. Essentially, the Know Sure Thing Indicator measures the momentum of four separate price cycles. Technical Analysts use this information to spot divergences, overbought and oversold conditions and crossovers.
KST takes the Rate of Change for four different time periods, smooth's them out with moving averages, weights them and then sums the results. The intention is to get a better understanding of the momentum for a particular security of financial instrument. The general rule is that when KST is positive, then momentum is up and when KST is negative, then momentum is down. This would translate to Bullish and Bearish markets respectively.
The original Know Sure Thing indicator (KST) was developed by Martin Pring and introduced in 1992 in Stocks & Commodities Magazine. He originally referred to the indicator as the Summed Rate of Change.
This version of the indicator "Log Know Sure Thing" (L-KST) was developed by me as a refined solution to the original. Exponential charts like Bitcoin need exponential calculations. Simplistic approaches don't work in today's world. This indicator manages to adapt in all kinds of scenarios...
From negative charts:
(notice that the original KST breaks)
To extreme charts:
(again, the original doesn't manage to capture the Bitcoin oscillation)
If you are not familiar with KST, read the following analysis:
www.tradingview.com
For a following version of this indicator I plan to incorporate actual overbought-oversold levels (if this doesn't mark the 20th).
Contrary to the original, this version of KST is bound to specific levels.
Stay tuned for that, it won't take long...
Tread lightly, for this is no-mans-land.
Use caution when using contraband indicators.
-Father Akikostas
E9 PLRRThe E9 PLRR (Power Law Residual Ratio) is a custom-built indicator designed to evaluate the overvaluation or undervaluation of an asset, specifically by utilizing logarithmic price data and a power law-based model. It leverages a dynamic regression technique to assess the deviation of the current price from its expected value, giving insights into how much the price deviates from its long-term trend.
This indicator is primarily used to detect market extremes and cycles, often used in the analysis of long-term price movements in assets like Bitcoin, where cyclical behavior and significant price deviations are common.
This chart is back from 2019 and shows (From left to right) 2018 Bear market bottom at $3.5k (Dark Blue) , following a peak at 12k (dark red) before the Covid crash back down to EUROTLX:4K (Dark blue)
Key Components
Logarithmic Price Data:
The indicator works with logarithmic price data (ohlc4), which represents the average of open, high, low, and close prices. The logarithmic transformation is crucial in financial modeling, especially when analyzing long-term price data, as it normalizes exponential price growth patterns.
Dynamic Exponent 𝑘:
The model calculates a dynamic exponent k using regression, which defines the power law relationship between time and price. This exponent is essential in determining the expected power law price return and how far the current price deviates from that expected trend.
Power Law Price Return:
The power law price return is computed using the dynamic exponent
k over a defined period, such as 365 days (1 year). It represents the theoretical price return based on a power law relationship, which is used to compare against the actual logarithmic price data.
Risk-Free Rate:
The indicator incorporates an adjustable risk-free rate, allowing users to model the opportunity cost of holding an asset compared to risk-free alternatives. By default, the risk-free rate is set to 0%, but this can be modified depending on the user's requirements.
Volatility Adjustment:
A key feature of the PLRR is its ability to adjust for price volatility. The indicator smooths out short-term price fluctuations using a moving average, helping to detect longer-term cycles and trends.
PLRR Calculation:
The core of the indicator is the calculation of the Power Law Residual Ratio (PLRR). This is derived by subtracting the expected power law price return and risk-free rate from the logarithmic price return, then multiplying the result by a user-defined multiplier.
Color Gradient:
The PLRR values are represented visually using a color gradient. This gradient helps the user quickly identify whether the asset is in an undervalued, fair value, or overvalued state:
Dark Blue to Light Blue: Indicates undervaluation, with increasing blue tones representing a higher degree of undervaluation.
Green to Yellow: Represents fair value, where the price is aligned with the expected power law return.
Orange to Dark Red: Indicates overvaluation, with increasing red tones representing a higher degree of overvaluation.
Zero Line:
A zero line is plotted on the indicator chart, serving as a reference point. Values above the zero line suggest potential overvaluation, while values below indicate potential undervaluation.
Dots Visualization:
The PLRR is plotted using dots, with each dot color-coded based on the PLRR value. This dot-based visualization makes it easier to spot significant changes or reversals in market sentiment without overwhelming the user with continuous lines.
Bar Coloring:
The chart’s bars are colored in accordance with the PLRR value at each point in time, making it visually clear when an asset is potentially overvalued or undervalued.
Indicator Functionality
Cycle Identification : The E9 PLRR is especially useful for identifying cyclical market behavior. In assets like Bitcoin, which are known for their boom-bust cycles, the PLRR can help pinpoint when the market is likely entering a peak (overvaluation) or a trough (undervaluation).
Overvaluation and Undervaluation Detection: By comparing the current price to its expected power law return, the PLRR helps traders assess whether an asset is trading above or below its fair value. This is critical for long-term investors seeking to enter the market at undervalued levels and exit during periods of overvaluation.
Trend Following: The indicator helps users identify the broader trend by smoothing out short-term volatility. This makes it useful for both momentum traders looking to ride trends and contrarian traders seeking to capitalize on market extremes.
Customization
The E9 PLRR allows users to fine-tune several parameters based on their preferences or specific market conditions:
Lookback Period:
The user can adjust the lookback period (default: 100) to modify how the moving average and regression are calculated.
Risk-Free Rate:
Adjusting the risk-free rate allows for more realistic modeling of the opportunity cost of holding the asset.
Multiplier:
The multiplier (default: 5.688) amplifies the sensitivity of the PLRR, allowing users to adjust how aggressively the indicator responds to price movements.
This indicator was inspired by the works of Ashwin & PlanG and their work around powerLaw. Thank you. I hall be working on the calculation of this indicator moving forward to make improvements and optomisations.
E9 MACD
The E9 MACD (Moving Average Convergence Divergence) indicator is a powerful tool used in technical analysis to help traders identify potential buy and sell signals based on price action. It is designed to provide clear visual cues and alerts for trading decisions. Here’s how it applies to price action and its key functionalities:
Key Features and Functionality
MACD Line and Signal Line:
MACD Line: Represents the difference between a fast and a slow moving average of the price. It helps in identifying the momentum of the price movement.
Signal Line: A smoothed average of the MACD Line, used to generate trading signals when the MACD Line crosses above or below it.
Histogram: The histogram shows the difference between the MACD Line and the Signal Line. It visually represents the strength of the trend, with positive values indicating bullish momentum and negative values indicating bearish momentum.
Trend Coloring:
Uptrend: When the MACD Line is above the Signal Line, the bars can be colored green to indicate a potential buying opportunity.
Downtrend: When the MACD Line is below the Signal Line, the bars can be colored red to signal a potential selling opportunity.
Timeframe Flexibility:
The E9 MACD can be adjusted to different timeframes, allowing traders to analyze short-term or long-term trends based on their trading strategy. This flexibility helps in tailoring the indicator’s analysis to different market conditions.
Visual Alerts and Highlights:
The indicator includes options to highlight price bars and background colors when significant crossovers occur, making it easier to spot key trading signals.
Circles can be plotted on the MACD Line to indicate cross events, enhancing visual clarity.
Customizable Appearance:
Traders can customize the appearance of the MACD Line, Signal Line, and Histogram, including color and line width, to suit their personal preferences and improve readability.
Alerts for Trading Signals:
The E9 MACD can generate alerts for crossovers of the MACD Line and Signal Line, helping traders stay informed of potential trading opportunities even when they are not actively monitoring the charts.
Application in Trading
The E9 MACD is particularly useful for:
Identifying potential entry and exit points based on the crossing of the MACD Line and Signal Line.
Gauging the strength of the current trend through the histogram.
Adjusting to different timeframes to align the indicator with various trading strategies, from day trading to long-term investing.
By providing clear visual indicators and alerts, the E9 MACD helps traders make more informed decisions and better understand the momentum and direction of price movements.
Commodity Index For Loop | viResearchCommodity Index For Loop | viResearch
Conceptual Foundation and Innovation
The "Commodity Index For Loop" indicator from viResearch is a momentum-based system designed to measure the deviation of the commodity’s closing price from its moving average (MA), normalized by volatility. This indicator uses a for-loop mechanism to evaluate how frequently the price exceeds or falls below specified thresholds, generating a momentum score. By comparing the price to the moving average and applying a volatility factor, the indicator provides a dynamic view of overbought and oversold conditions. The use of a for-loop helps capture the strength of market moves over a customizable range, offering traders deeper insight into market trends.
This innovative approach allows traders to assess market conditions more accurately, identifying potential trend reversals and momentum shifts with greater precision.
Technical Composition and Calculation
The "Commodity Index For Loop" indicator is built on two main components: the commodity price’s deviation from the moving average and a for-loop-based scoring system. The deviation is calculated by subtracting the simple moving average (SMA) of the close from the current closing price and dividing the result by the product of volatility (expressed as the standard deviation) and a constant factor. This normalizes the deviation, accounting for the inherent volatility in the market.
The for-loop mechanism assesses the deviation over a user-defined range (from a to b). The script counts how many times the deviation exceeds or falls below the thresholds, generating a score that reflects the overall market momentum. This score is then compared to two thresholds, one indicating an uptrend and the other a downtrend, which triggers buy and sell signals.
Features and User Inputs
The "Commodity Index For Loop" script offers several customizable inputs, allowing traders to fine-tune the indicator’s behavior according to their strategies. These include:
Length: Defines the period for the moving average and standard deviation, determining how sensitive the indicator is to price changes. For Loop Range: Allows traders to set the range over which the deviation is evaluated, controlling how the scoring system responds to market conditions. Thresholds: Traders can set custom uptrend and downtrend thresholds, specifying when the score should trigger buy or sell signals. Bar Color Settings: Enables traders to color the bars based on the signals generated by the indicator, providing a clearer visual representation of the trend. Practical Applications
The "Commodity Index For Loop" indicator is ideal for traders looking to analyze momentum and trend shifts in commodity markets. By using the for-loop mechanism, the indicator provides a detailed assessment of market conditions, making it particularly useful for:
Identifying Momentum Shifts: The scoring system evaluates the strength of price movements relative to the moving average, providing early signals of potential momentum reversals. Spotting Overbought and Oversold Conditions: The deviation score helps traders detect extreme price levels, allowing for better timing of market entries and exits. Confirming Trend Direction: The script monitors whether the commodity is in an uptrend or downtrend, improving traders’ ability to stay aligned with the prevailing market trend. Advantages and Strategic Value
The "Commodity Index For Loop" script offers significant value by combining the simplicity of a moving average with the advanced analysis provided by a for-loop scoring system. The indicator’s ability to measure price deviations from the moving average, normalized by volatility, helps traders detect trends while reducing the noise caused by short-term price fluctuations. The customizable thresholds and scoring system provide a flexible tool for analyzing market momentum, making the indicator suitable for various trading strategies.
This indicator is particularly valuable for traders who focus on commodities, as it offers a robust framework for identifying market trends and spotting potential turning points. The combination of momentum analysis and trend detection enhances the accuracy of buy and sell signals, providing greater confidence in trading decisions.
Alerts and Visual Cues
The script includes built-in alert conditions to notify traders when key trend changes occur. A "Commodity Index For Loop Long" alert is triggered when the score crosses above the uptrend threshold, signaling a potential upward trend, while a "Commodity Index For Loop Short" alert signals a possible downward trend when the score falls below the downtrend threshold. Color-coded bar plots and filled zones on the chart provide clear visual cues to help traders interpret market conditions in real-time.
Summary and Usage Tips
The "Commodity Index For Loop | viResearch" indicator is a powerful tool for analyzing market momentum and detecting potential reversals in commodity prices. By combining price deviation from a moving average with a for-loop scoring system, the indicator offers a comprehensive view of market trends. Incorporating this script into your trading strategy can improve your ability to detect momentum shifts, confirm trend direction, and manage risk more effectively. The "Commodity Index For Loop" provides a reliable and customizable solution for traders seeking to refine their technical analysis in commodity markets.
Note: Backtests are based on past results and are not indicative of future performance.
TASC 2024.10 Adaptive Oscillator Threshold█ OVERVIEW
This script introduces a more dynamic approach to generating trading signals using the RSI indicator and a threshold that adapts to price trends and dispersion. This methodology comes from Francesco Bufi's article "Overbought/Oversold Oscillators: Useless Or Just Misused" from the October 2024 edition of TASC's Traders' Tips .
█ CONCEPTS
According to Francesco Bufi's observations, an oscillator-based buy signal should have a threshold that varies with the trend direction: higher during uptrends and lower during downtrends. Additionally, the level should decrease as the distance from the price to its mean increases to reduce signals in volatile conditions. Accordingly, Bufi proposes a formula for an adaptive buy level whose value is proportional to the trend (linear regression slope) and inversely proportional to the typical distance between price and its mean (standard deviation). Traders can apply this method to any oscillator to add adaptivity without modifying the oscillator's calculations, as it's simply an adaptive technique for interpreting the calculated values.
This script demonstrates the application of Bufi's Adaptive Threshold (BAT) in a simple RSI-based strategy and allows users to compare its performance to the traditional fixed-threshold approach. Bufi's observations suggest that using the BAT instead of a static threshold can help improve the backtest performance of oscillator-based systems.
█ DISCLAIMER
This strategy script educates users on the trading systems outlined by the TASC article. By default, it uses 10% of equity as the order size and a slippage amount of 5 ticks. Traders should adjust these settings and the commission amount when using this script.
Power MarketPower Market Indicator
Description: The Power Market Indicator is designed to help traders assess market strength and make informed decisions for entering and exiting positions. This innovative indicator provides a comprehensive view of the evolution of Simple Moving Averages (SMA) over different periods and offers a clear measure of market strength through a total score.
Key Features:
Multi-Period SMA Analysis:
Calculates Simple Moving Averages (SMA) for 10 different periods ranging from 10 to 100.
Provides detailed analysis by comparing the current closing price with these SMAs.
Market Strength Measurement:
Assesses market strength by calculating a total score based on the relationship between the closing price and the SMAs.
The total score is displayed as a histogram with distinct colors for positive and negative values.
Smoothed Curve for Better View:
A smoothing of the total score is applied using a 5-period Simple Moving Average to represent the overall trend more smoothly.
Dynamic Information Table:
Real-time display of the maximum and minimum values among the SMAs, as well as the difference between these values, providing valuable insights into the variability of moving averages.
Visual Reference Lines:
Horizontal lines at zero, +50, and -50 for easy evaluation of key score levels.
How to Use the Indicator:
Position Entries: Use high positive scores to identify buying opportunities when market strength is strong.
Position Exits: Negative scores may signal market weakness, allowing you to exit positions or wait for a better opportunity.
Data Analysis: The table helps you understand the variability of SMAs, offering additional context for your trading decisions.
This powerful tool provides an in-depth view of market dynamics and helps you navigate your trading strategies with greater confidence. Embrace the Power Market Indicator and optimize your trading decisions today!
The real breakout indicator CCI + Money Flow + Buy / SellComponents of the indicator
1. CCI (Commodity Channel Index)
The CCI component measures the deviation of the price from its statistical average. It is used to identify overbought or oversold conditions and is integrated into the trend logic to determine potential trend reversals. High values may indicate overbought conditions, while low values could signify oversold situations.
Detailed
The CCI (Commodity Channel Index) used in "The Real Breakout Indicator Hawk" is an enhanced version compared to the traditional CCI, offering several advantages:
1. Weighting and Smoothing Mechanism
In this version, the CCI values are weighted and smoothed using custom parameters (c1, c2, c3), which allows for greater flexibility in adjusting the sensitivity of the CCI to market conditions. This smoothing reduces noise and provides clearer signals compared to the standard CCI, which can be prone to whipsaws in volatile markets.
2. Multi-level Calculation
The indicator uses an array-based approach to calculate multiple variations of CCI values (with p as the parameter for different levels of calculation), which is then combined to create a more robust signal. This multi-level approach allows for capturing different market cycles, unlike the traditional CCI that only uses a single period for calculation.
3. Integration with Moving Averages and Trend Detection
Unlike the original CCI, which is often used in isolation, this version integrates with the trend detection logic by combining it with moving averages and money flow. The enhanced CCI contributes to the broader trend analysis, ensuring that buy/sell signals are not just based on CCI overbought/oversold levels but also validated by moving averages and slope calculations.
4. Trend-Weighted CCI
This version adds weight to recent price action trends, making it more adaptive to current market momentum. The CCI values are influenced by recent high and low prices, adding a trend-following aspect that is missing from the original CCI, which treats all price deviations equally.
This image of EURAD shows for example that when CCI component is green a strong trend is detected which can hold for up to 10 days in this example, ideal for swing trades;
EURAUD 2H
5. Improved Overbought/Oversold Detection
The script incorporates a dynamic overbought/oversold detection zone based on the enhanced CCI. It accounts for market volatility, allowing it to adjust its thresholds (such as the 200 level) more effectively in different market environments. This makes the enhanced CCI better suited for varying market conditions compared to the fixed thresholds of the original CCI.
You can see that the red diamond signal is generated at the absolute top of the price range after which price started to reverse, the detection is based on a cross over value together with Money Flow strength
BTCUSDT 2H
6. Strong Buy/Sell Confirmation
The enhanced CCI works in tandem with other components like Money Flow and Moving Averages to confirm buy or sell signals. This cross-validation makes the indicator less reliant on CCI alone and ensures that the signals generated are stronger and less prone to false positives, which is a common issue with the standalone CCI.
The green diamond buy signal in a strong downtrend is mostly a short retrace of price before continuing down further, yo can use this as an entry signal after the bounce up into an FVG for example. However when price is at a support, meaning price is not moving down further and this occurs this could be a potential reversal signal as shown on the right side on the chart below. FVG is not respected, retested and price continues up.
BTCUSDT 2H
Summary:
In summary, the enhanced CCI in this indicator improves over the original CCI by providing better noise reduction, multi-level analysis, trend integration, and adaptability to different market conditions. These improvements lead to more reliable and actionable trading signals.
2. Money Flow (MF) www.tradingview.com
The Money Flow component tracks the flow of capital in and out of an asset. Positive values indicate strong buying pressure, while negative values show selling pressure. This is smoothed to avoid noise and is used to confirm strong buy or sell conditions.
The Money Flow (MF) in "The Real Breakout Indicator Hawk" measures the flow of capital into or out of an asset, helping to assess the underlying buying or selling pressure in the market.
1. Positive Money Flow (Buying Pressure)
When the MF is positive, it indicates that more money is flowing into the asset, which suggests strong buying interest. This helps confirm that a price increase or breakout to the upside is supported by demand.
2. Negative Money Flow (Selling Pressure)
A negative MF indicates that capital is leaving the asset, reflecting selling pressure. This is a sign that the market is under bearish conditions, and prices are likely to decline or break down.
3. Confirmation of Buy and Sell Signals
The MF is used to confirm buy and sell signals generated by other components of the indicator. When the MF aligns with other bullish signals, it strengthens the buy condition, and similarly, when the MF shows strong selling pressure, it reinforces a sell signal.
4. Filtering Noise
The MF is smoothed to filter out noise, ensuring that only significant movements in buying or selling pressure are considered. This helps avoid false signals and makes the MF a reliable tool for detecting true market strength.
5. Range Sensitivity
The MF operates within defined ranges, ensuring that buy or sell signals are only triggered when the flow of money is strong enough, adding precision to signal generation.
In summary, the Money Flow component is crucial for validating market direction, enhancing signal reliability, and helping traders make more informed decisions based on the underlying capital movement in the market.
3. Moving Averages (MA)
Multiple types of moving averages (SMA, EMA, HMA, etc.) are used to smooth price action and highlight the trend direction. The script supports different types of moving averages, and their slopes are calculated to assist in identifying changes in trend momentum.
The Moving Averages (MA) section of "The Real Breakout Indicator Hawk" plays a critical role in smoothing price data, identifying trends, and generating buy/sell signals. Here’s a breakdown of what it does and how you can use it effectively without diving into the script:
1. Moving Average Types
This section allows the user to choose from different types of moving averages, each with unique characteristics:
SMA (Simple Moving Average): Takes the average of closing prices over a specific period. It’s slower and better suited for detecting long-term trends.
EMA (Exponential Moving Average): Gives more weight to recent prices, making it more responsive to new price action and suitable for short-term trading.
HMA (Hull Moving Average): A smoother and faster moving average, useful for reducing lag in fast-moving markets.
LVMA (Linear Weighted Moving Average): Places the most weight on recent prices, making it even more responsive than EMA.
Alma (Arnaud Legoux Moving Average): A smoother version that reduces noise while maintaining responsiveness to recent price action.
2. Smoothing and Trend Detection
The moving average smooths out price data to remove small fluctuations and focuses on the overall trend. When prices are trading above the moving average, it suggests that the market is in an uptrend. When prices are below the moving average, it indicates a downtrend.
3. Trend Confirmation
The moving average serves as a confirmation tool. When the price crosses above the moving average, it could signal the start of a bullish trend, and when the price crosses below, it may indicate the beginning of a bearish trend.
4. Buy and Sell Signals
Buy Signal: The system detects a buy signal when:
The moving average crosses above 0, indicating a potential upward momentum.
Other indicators like Money Flow and CCI align to confirm the trend.
Sell Signal: A sell signal is triggered when:
The moving average crosses below 0, signaling a potential downtrend.
This signal is further validated by other components such as Money Flow and CCI to reduce false signals.
5. Using Moving Averages in Trading
Crossover Strategy: One of the simplest ways to use moving averages is by employing a crossover strategy. For instance:
When the shorter-term moving average (e.g., 20-period) crosses above a longer-term moving average (e.g., 50-period), this is a bullish crossover, indicating a buy signal.
Conversely, when the shorter-term moving average crosses below the longer-term moving average, this is a bearish crossover, indicating a sell signal.
Trend Following: If you’re trading with the trend, you can use a moving average to stay in the trade as long as the price remains above (for long positions) or below (for short positions) the moving average.
Support and Resistance: Moving averages can also act as dynamic support or resistance levels. For example, in an uptrend, the CCI might bounce off the moving average, offering a good entry point for a long position. In a downtrend, the moving average could act as resistance where prices may reverse, offering a shorting opportunity.
To use the MA section effectively:
Choose the right type of moving average based on your trading style (e.g., use EMA for faster response or SMA for long-term trends).
Watch for crossovers as buy/sell signals, especially in combination with other indicators.
Follow the trend by observing whether the price is above or below the moving average.
Use the moving average as a dynamic support/resistance level to find optimal entry/exit points.
This approach makes the moving average a versatile tool for identifying trends, refining entry and exit points, and confirming overall market direction.
an example when MA crosses below 0, keep in mind that when it it starts curving up and turning green there is a reversal brewing, this could take time...
BTCUSDT 2H
4. Buy Signals
Buy signals are generated when the moving average crosses up, and the Money Flow and other trend-based conditions are met, including CCI levels confirming the strength of the breakout. Additionally, slope calculations and other momentum indicators provide extra confirmation for entries.
5. Sell Signals
Sell signals occur when the moving average crosses down, combined with negative Money Flow, confirming downward pressure. Other trend-based conditions, including the CCI, must also align to validate the signal, and slope calculations ensure that momentum is on the sell side.
6. Slope and Trend Detection
The script includes calculations for the slope of price action over a lookback period to measure trend strength and direction. The slope is normalized to help identify when the market is gaining or losing momentum. This slope is used in conjunction with the moving averages and Money Flow to give more accurate trend signals.
The Slope and Trend Detection component in "The Real Breakout Indicator Hawk" is designed to measure the direction and strength of the market’s trend by calculating the slope of the price action over a specific period. This helps to identify whether the market is gaining or losing momentum, and it is a key element in refining buy/sell signals.
Here’s how the Slope and Trend Detection works and how you can use it effectively without diving into the script:
1. Slope Calculation
Slope is essentially the rate of change of the moving average (or price) over a given number of bars. It measures how steeply the price is moving up or down.
The script calculates the slope by measuring the difference between the moving average over a defined number of bars (e.g., 12 bars in this case). A larger slope indicates a stronger trend, while a smaller slope suggests a weaker or consolidating trend.
2. Normalized Slope
The slope is normalized, meaning it is adjusted to fall within a range that makes it easier to compare across different time frames and markets. This normalization helps to gauge whether the slope is strong or weak relative to historical data.
Positive slopes (above 0) indicate an uptrend or rising price momentum, while negative slopes (below 0) indicate a downtrend or falling price momentum.
3. Trend Detection
The slope of the moving average is used to detect the current trend:
If the slope is positive, the market is in an uptrend.
If the slope is negative, the market is in a downtrend.
The stronger the slope (the steeper it is), the stronger the trend. A small slope indicates a weak trend or consolidation.
4. Slope Thresholds
The system uses thresholds to determine the significance of the slope. These thresholds are set as upper and lower bounds:
Upper Threshold: If the slope exceeds this threshold, the trend is considered strong, and it could trigger a buy signal.
Lower Threshold: If the slope falls below this threshold (into the negative range), it indicates a strong downtrend, and it could trigger a sell signal.
These thresholds help filter out weak or false signals that occur in sideways or low-momentum markets.
5. Positive and Negative Slope Arrays
The system keeps track of both positive and negative slopes over a defined lookback period (e.g., 500 bars). By storing these values, it creates a historical context that helps to assess the current slope in relation to past price movements.
It calculates the standard deviation and the average of these slopes to dynamically adjust the thresholds for each market condition, making the trend detection more adaptive to different types of assets or market phases.
6. Using Slope and Trend Detection in Trading
Buy Signal with Positive Slope: When the slope is positive and exceeds a certain threshold, it confirms that the market is in a strong uptrend. This can be used as a signal to enter a long position or add to existing long trades.
Sell Signal with Negative Slope: When the slope turns negative and falls below the lower threshold, it signals a strong downtrend, indicating a potential short-selling opportunity or the time to exit long positions.
Avoiding Flat Markets: If the slope remains close to zero (neither strongly positive nor negative), it suggests a lack of clear trend or a consolidating market. In these conditions, it might be better to avoid taking new trades or use additional filters to confirm signals.
7. Slope-Based Trend Strength Indicator
You can also use the slope as a measure of trend strength:
Strong Trend: When the slope is steep (either positive or negative), it indicates strong momentum, and you can be more confident in holding a trade in that direction.
Weak Trend or Consolidation: When the slope is flat, it indicates weak price momentum, which may signal a period of consolidation or indecision in the market.
8. Visual Representation
The slope is often visually represented as a gradient or line that fluctuates around a central point (usually zero). Positive values are shown in one color (e.g., green for an uptrend), while negative values are shown in another color (e.g., red for a downtrend). This allows traders to quickly identify the current trend direction and its strength.
Summary:
To use Slope and Trend Detection effectively:
Monitor the slope to determine the trend direction (positive = uptrend, negative = downtrend).
Look for thresholds to identify strong trends. For instance, a steep positive slope signals a strong uptrend, while a steep negative slope signals a strong downtrend.
Use slope changes to confirm buy/sell signals. For example, if you receive a buy signal and the slope is positive and increasing, it confirms that momentum is behind the trade.
Avoid low-slope periods when the slope is close to zero, indicating a lack of trend or sideways market conditions.
This approach helps traders stay on the right side of the trend while avoiding periods of low momentum, enhancing the accuracy of trade signals.
7. Banker Fund Flow Trend
This component identifies potential large institutional moves by tracking specific patterns in price and volume data. When the institutional or "banker" entry or exit conditions are met, it highlights these moments with candles and generates alerts.
The Banker Fund Flow Trend in "The Real Breakout Indicator Hawk" helps detect the flow of institutional (or "smart money") into and out of the market by tracking price trends and large player activity. It uses red and yellow candles to signal when institutional money is influencing the market.
Key Points:
Yellow Candles (Banker Entry):
A yellow candle is plotted when institutional money starts flowing into the market.
This signals a potential buy opportunity, as large market players are likely pushing prices upward.
Red Candles (Banker Exit):
A red candle appears when institutional money starts exiting the market.
This is a signal to consider selling or exiting long positions, as institutional selling could drive prices lower.
Usage:
Yellow candles: Use these as signals to enter long trades or add to existing positions, confirming upward momentum driven by institutional buyers.
Red candles: Treat these as signals to exit long trades or consider short positions, as institutional selling may lead to further downside.
BTCUSDT 2H
The yellow and red candles provide clear, actionable signals for aligning trades with institutional flows, ensuring you’re following the "smart money."
8. Dynamic Buy/Sell Calculations
A dynamic component is designed to refine the buy and sell signals further based on additional conditions like price patterns, volatility, and Money Flow. This ensures that signals are more responsive to changing market conditions.
The Dynamic Buy/Sell Calculations in "The Real Breakout Indicator Hawk" are designed to refine entry and exit points for trades by using additional conditions beyond simple crossovers. These calculations adapt to the current market conditions, making them more responsive to changes in volatility, trend strength, and momentum.
Key Features:
Dynamic Buy Calculation:
The indicator generates a buy signal when multiple conditions align. These conditions include the money flow (MF) being within a favorable range, the moving average (MA) confirming upward momentum, and the CCI and other trend components indicating strength.
This makes the buy signal more reliable, as it considers multiple aspects of market behavior (price, momentum, and money flow) to avoid false entries.
Dynamic Sell Calculation:
Similarly, the sell signal is triggered when the dynamic conditions indicate downward momentum.
This includes:
The moving average crossing down.
Negative money flow, suggesting selling pressure.
Other trend signals confirming a bearish move.
The dynamic nature of these conditions ensures that sell signals are only generated when there’s a high probability of continued downside movement.
Adaptive to Market Conditions:
The dynamic nature of these calculations means that the buy/sell signals adapt to market changes, like volatility spikes or sudden trend reversals. Instead of relying on static conditions, the system adjusts to current price movements and volatility.
Avoiding Noise:
By adding multiple filters like MF thresholds, slope, and moving averages, the dynamic calculations help reduce false signals that occur in noisy, sideways markets. This helps traders avoid entering trades during periods of low momentum or unclear trends.
How to Use:
Buy Signals: Use these signals to enter long trades when the dynamic conditions align, confirming that upward momentum is strong and backed by institutional flows.
BTCUSDT 2H
Aqua marker/cross signals (price manipulation/continuation)
BTCUSDT 2H
Sell Signals: Use the sell signals to exit long positions or enter short trades when the market shows signs of bearish momentum, confirmed by multiple conditions like MA crossovers and negative money flow.
BTCUSDT 2H
In summary, the Dynamic Buy/Sell Calculations provide a more sophisticated approach to generating trade signals by combining various trend and momentum indicators, helping traders make more informed decisions in different market conditions.
This part of the code is identifying two key trading signals: moments to buy and moments to sell based on the behavior of a calculated trend line.
Buy Condition:
The system looks for a situation where the trend has been moving downward but has started to reverse upward. Specifically, it checks if the trend was declining a little while ago, then stopped falling, and is now starting to rise. If these conditions are met and the trend is still below a certain level, the system considers this a possible time to buy.
Sell Condition:
The opposite happens for selling. The system monitors for a situation where the trend has been moving upward but starts to turn downward. It checks if the trend was rising, leveled off, and now seems to be starting to fall. If these conditions are met and the trend is above a certain level, this could indicate a good time to sell.
Visual Markers:
To help the user easily see these signals on a chart, the system places symbols at specific points. A marker appears on the chart where the conditions for buying or selling are met, allowing the trader to quickly spot potential entry or exit points in the market.
In summary, this logic is designed to detect possible changes in trend direction and signal appropriate times to consider buying or selling, with clear visual markers on the chart for quick identification.
9. Alerts for Buy and Sell
The indicator provides built-in alert conditions for both buy and sell signals. When these conditions are met, the system generates alerts, making it suitable for automated monitoring.
Each of these components works together to detect potential breakout opportunities, trend continuations, and reversals, making the indicator suitable for both short-term and long-term trading strategies.
Swiss Knife [MERT]Introduction
The Swiss Knife indicator is a comprehensive trading tool designed to provide a multi-dimensional analysis of the market. By integrating a wide array of technical indicators across multiple timeframes, it offers traders a holistic view of market sentiment, momentum, and potential reversal points. This indicator is particularly useful for traders looking to combine trend analysis, momentum indicators, volume data, and price action into a single, easy-to-read format.
---
Key Features
Multi-Timeframe Analysis : Evaluates indicators on Daily , 4-Hour , 1-Hour , and 15-Minute timeframes.
Comprehensive Indicator Suite : Incorporates MACD , Awesome Oscillator (AO) , Parabolic SAR , SuperTrend , DPO , RSI , Stochastic Oscillator , Bollinger Bands , Ichimoku Cloud , Chande Momentum Oscillator (CMO) , Donchian Channels , ADX , volume-based momentum indicators, Fractals , and divergence detection.
Market Sentiment Scoring : Aggregates signals from multiple indicators to provide an overall sentiment score.
Visual Aids : Displays EMA lines, trendlines, divergence signals, and a sentiment table directly on the chart.
Super Trend Reversal Signals : Identifies potential market reversal points by assessing the momentum of automated trading bots.
---
Explanation of Each Indicator
Moving Average Convergence Divergence (MACD)
- Purpose : Measures the relationship between two moving averages of price.
- Interpretation : A positive histogram suggests bullish momentum; a negative histogram indicates bearish momentum.
Awesome Oscillator (AO)
- Purpose : Gauges market momentum by comparing recent market movements to historic ones.
- Interpretation : Above zero indicates bullish momentum; below zero indicates bearish momentum.
Parabolic SAR (SAR)
- Purpose : Identifies potential reversal points in price direction.
- Interpretation : Dots below price suggest an uptrend; dots above price suggest a downtrend.
SuperTrend
- Purpose : Determines the prevailing market trend.
- Interpretation : Provides buy or sell signals based on price movements relative to the SuperTrend line.
Detrended Price Oscillator (DPO)
- Purpose : Removes trend from price to identify cycles.
- Interpretation : Values above zero suggest price is above the moving average; values below zero indicate it is below.
Relative Strength Index (RSI)
- Purpose : Measures the speed and change of price movements.
- Interpretation : Values above 50 indicate bullish momentum; values below 50 indicate bearish momentum.
Stochastic Oscillator
- Purpose : Compares a particular closing price to a range of its prices over a certain period.
- Interpretation : Values above 50 indicate bullish conditions; values below 50 indicate bearish conditions.
Bollinger Bands (BB)
- Purpose : Measures market volatility and provides relative price levels.
- Interpretation : Price above the middle band suggests bullishness; below the middle band suggests bearishness.
Ichimoku Cloud
- Purpose : Provides support and resistance levels, trend direction, and momentum.
- Interpretation : Bullish signals when price is above the cloud; bearish signals when price is below the cloud.
Chande Momentum Oscillator (CMO)
- Purpose : Measures momentum on both up and down days.
- Interpretation : Values above 50 indicate strong upward momentum; values below -50 indicate strong downward momentum.
Donchian Channels
- Purpose : Identifies volatility and potential breakouts.
- Interpretation : Price above the upper band suggests bullish breakout; below the lower band suggests bearish breakout.
Average Directional Index (ADX)
- Purpose : Measures the strength of a trend.
- Interpretation : DI+ above DI- indicates bullish trend; DI- above DI+ indicates bearish trend.
Volume Momentum Indicators (VolMom, CumVolMom, POCMom)
- Purpose : Analyze volume to assess buying and selling pressure.
- Interpretation : Positive values suggest bullish volume momentum; negative values indicate bearish volume momentum.
Fractals
- Purpose : Identify potential reversal points in the market.
- Interpretation : Up fractals may indicate a future downtrend; down fractals may indicate a future uptrend.
Divergence Detection
- Purpose : Identifies divergences between price and various indicators (RSI, MACD, Stochastic, OBV, MFI, A/D Line).
- Interpretation : Bullish divergences suggest potential upward reversal; bearish divergences suggest potential downward reversal.
- Note : This functionality utilizes the library from Divergence Indicator .
---
Coloring Scheme
Background Color
- Purpose : Reflects the overall market sentiment by combining sentiment scores from all indicators across different timeframes.
- Interpretation :
- Green Shades : Indicate bullish market sentiment.
- Red Shades : Indicate bearish market sentiment.
- Intensity : The strength of the color corresponds to the strength of the sentiment score.
Sentiment Table
- Purpose : Displays the status of each indicator across different timeframes.
- Interpretation :
- Green Cell : The indicator suggests a bullish signal.
- Red Cell : The indicator suggests a bearish signal.
- Percentage Score : Indicates the overall bullish or bearish sentiment on that timeframe.
Exponential Moving Averages (EMAs)
- Purpose : Provide dynamic support and resistance levels.
- Colors :
- EMA 10 : Lime
- EMA 20 : Yellow
- EMA 50 : Orange
- EMA 100 : Red
- EMA 200 : Purple
Trendlines
- Purpose : Visual representation of support and resistance levels based on pivot points.
- Interpretation :
- Upward Trendlines : Colored green , indicating support levels.
- Downward Trendlines : Colored red , indicating resistance levels.
- Note : Trendlines are drawn using the library from Simple Trendlines .
---
Utility of Market Sentiment
The indicator aggregates signals from multiple technical indicators across various timeframes to compute an overall market sentiment score . This comprehensive approach helps traders understand the prevailing market conditions by:
Confirming Trends : Multiple indicators pointing in the same direction can confirm the strength of a trend.
Identifying Reversals : Divergences and fractals can signal potential turning points.
Timeframe Alignment : Aligning signals across different timeframes can enhance the probability of successful trades.
---
Divergences
Divergence occurs when the price of an asset moves in the opposite direction of a technical indicator, suggesting a potential reversal.
- Bullish Divergence : Price makes a lower low, but the indicator makes a higher low.
- Bearish Divergence : Price makes a higher high, but the indicator makes a lower high.
The indicator detects divergences for:
RSI
MACD
Stochastic Oscillator
On-Balance Volume (OBV)
Money Flow Index (MFI)
Accumulation/Distribution Line (A/D Line)
By identifying these divergences, traders can spot early signs of trend reversals and adjust their strategies accordingly.
---
Trendlines
Trendlines are essential tools for identifying support and resistance levels. The indicator automatically draws trendlines based on pivot points:
- Upward Trendlines (Support) : Connect higher lows, indicating an uptrend.
- Downward Trendlines (Resistance) : Connect lower highs, indicating a downtrend.
These trendlines help traders visualize the trend direction and potential breakout or reversal points.
---
Super Trend Reversals (ST Reversal)
The core idea behind the Super Trend Reversals indicator is to assess the momentum of automated trading bots (often referred to as 'Supertrend bots') that enter the market during critical turning points. Specifically, the indicator is tuned to identify when the market is nearing bottoms or peaks, just before it shifts direction based on the triggered Supertrend signals. This approach helps traders:
Engage Early : Enter the market as reversal momentum builds up.
Optimize Entries and Exits : Enter under favorable conditions and exit before momentum wanes.
By capturing these reversal points, traders can enhance their trading performance.
---
Conclusion
The Swiss Knife indicator serves as a versatile tool that combines multiple technical analysis methods into a single, comprehensive indicator. By assessing various aspects of the market—including trend direction, momentum, volume, and price action—it provides traders with valuable insights to make informed trading decisions.
---
Citations
- Divergence Detection Library : Divergence Indicator by DevLucem
- Trendline Drawing Library : Simple Trendlines by HoanGhetti
---
Note : This indicator is intended for informational purposes and should be used in conjunction with other analysis techniques. Always perform due diligence before making trading decisions.
---
Prime OscilatorPrime Oscilator is a powerful tool designed to help traders track momentum shifts and confirm trends in volatile markets. This oscillator-based tool integrates advanced market analysis techniques to provide a clear picture of momentum and trend direction, helping traders stay in sync with the prevailing market conditions.
Core Features of Prime Oscilator
Oscillator-Based Momentum Tracking: Prime Oscilator operates as a dynamic oscillator that tracks shifts in market momentum by analyzing the relationship between the A/D line and its signal line. This allows traders to identify potential changes in market direction and confirm trend strength.
Trend Confirmation Filter: Prime Oscilator incorporates a long-term trend filter, using a 50-period Simple Moving Average (SMA) to confirm whether the market is trending upward or downward. This helps traders focus on trades that align with the broader market direction.
Adaptive Signal Line: The oscillator’s signal line adjusts dynamically to reflect short-term momentum changes, allowing traders to react quickly to evolving market conditions. This makes the Prime Oscilator highly responsive to both fast-moving and stable markets.
Color-Coded Oscillator Line: The oscillator line changes color based on the current market conditions, providing a visual cue of momentum shifts. The line remains green during upward momentum and red during downward momentum, giving traders an easy way to gauge the market direction.
How Prime Oscilator Works
Prime Oscilator blends the power of trend analysis with momentum tracking to provide a comprehensive view of market conditions. By analyzing the Accumulation/Distribution (A/D) line and comparing it to a dynamic signal line, traders can monitor momentum shifts and confirm trends.
A/D Line Crossover: The indicator uses the relationship between the A/D line and the signal line to detect potential momentum changes. When the A/D line moves relative to the signal line, it reflects shifts in market momentum, allowing traders to follow the direction of the trend.
Trend Filtering: To ensure that momentum is aligned with the broader market direction, Prime Oscilator uses a 50-period SMA as a trend filter. This confirms whether the market is in an uptrend or downtrend and helps traders avoid focusing on short-term fluctuations that go against the prevailing trend.
Why It's Useful for Traders
Prime Oscilator is especially valuable for traders looking for a reliable way to track momentum shifts while aligning their trades with the overall market trend. This reduces noise and ensures that traders focus on opportunities that are in line with broader market movements.
Momentum-Based Trend Analysis: By tracking momentum changes, Prime Oscilator helps traders stay on top of potential market shifts without the noise that comes from traditional indicators.
Clear Visual Feedback: The color-coded oscillator line provides instant feedback on market conditions, allowing traders to focus on decision-making rather than analyzing multiple indicators.
Flexible Across Markets and Timeframes: Whether you are trading in volatile markets or more stable environments, Prime Oscilator adapts to different market conditions, ensuring you always have a clear picture of momentum and trend.
Prime Oscilator is ideal for traders who:
Scalp or trade intraday: Quickly captures momentum shifts in short timeframes.
Swing traders: Identifies potential trend reversals in higher timeframes while confirming momentum strength.
Trend followers: Ensures your trades are aligned with the prevailing market trend by confirming momentum shifts.
By combining momentum analysis with trend direction, Prime Oscilator offers a dynamic view of the market, helping traders navigate changing conditions with ease.
Why It's Worth Paying For
Prime Oscilator provides several unique advantages that make it a valuable tool for traders:
Clear and Actionable Insights: The oscillator-based momentum tracking gives traders a clear understanding of when the market's momentum is shifting, allowing for more informed trading decisions.
No Lagging: Unlike some trend-following indicators, Prime Oscilator reacts dynamically to market changes, helping traders stay aligned with the current market direction.
Adaptable and Flexible: Whether you trade on shorter timeframes or hold longer positions, Prime Oscilator adapts seamlessly to various market conditions. The trend filter ensures that traders remain aligned with broader market trends.
Visual Simplicity: The color-coded oscillator line and background shading provide an easy-to-read way of monitoring market conditions, enabling faster decision-making.
How to Get Access
To gain access to Prime Oscilator , please send me a direct message on TradingView or follow the provided link to request access. Ensure that access requests are made privately so the comments section remains focused on discussions related to the script’s performance and use.
Risk Disclaimer
While Prime Oscilator offers valuable insights into market momentum and trends, it’s important to note the following:
Past performance is not indicative of future results: Prime Oscilator ’s trend and momentum analysis are based on historical data, and no indicator can predict future price movements with certainty.
Market Conditions: The effectiveness of the Prime Oscilator may vary across different market conditions, and traders should always use proper risk management when trading.
Trading Risks: Like any trading tool, Prime Oscilator should be used as part of a comprehensive trading strategy that includes risk management techniques such as stop-loss orders and position sizing.
Ultra Money FlowIntroduction
The Ultra Money Flow script is a technical indicator for analyzing stock trends. It highlights buying and selling power, helping you identify bullish (rising) or bearish (falling) market trends.
Detailed Description
The Ultra Money Flow script calculates and visually displays two main components: Fast and Slow money flow. These components represent short-term and long-term trends, respectively.
Here's how it works:
.........
Inputs
You can adjust the speed of analysis (Fast Length and Slow Length) and the type of smoothing applied (e.g., Simple Moving Average, Exponential Moving Average).
Choose colors for visualizing the trends, with blue for bullish (positive) and orange for bearish (negative) movements.
.....
Money Flow Calculation
The script analyzes price changes (delta) over specified periods.
It separates upward price movements (buying power) from downward ones (selling power).
It then calculates the difference between these powers for both Fast and Slow components.
The types of smoothing methods range from traditional ones like the Simple Moving Average (SMA) to advanced ones like the Double Expotential Moving Average (DEMA) or the Triple Exponential Moving Average (TEMA) or the Recursive Moving Average (RMA) or the Weigthend Moving Average (WMA) or the Volume Weigthend Moving Average (VWMA) or Hull Moving Average (HMA).
Very Special ones are the Triple Weigthend Moving Average (TWMA) wich created RedKTrader .
I created the Multi Weigthend Moving Average (MWMA) wich is a simple signal line to the TWMA.
.....
Divergence
This indicator can show divergence by comparing the direction of price movements with the indicator value.
If the price and the indicator move in opposite directions, you can use these signals to help decide when to buy or sell.
.....
Auto Scaling
The script adjusts its calculations based on the time frame you are viewing, whether it's minutes, hours, or days, ensuring accurate representation across different time scales.
.....
Plotting
The script plots the Fast component as a histogram and the Slow component as a line, using the chosen colors to indicate bullish or bearish trends.
The thickness and transparency of these plots give additional clues about the strength of the trend.
.........
By using this indicator, traders can easily spot shifts in buying and selling power, allowing for better-informed decisions in the market.
Special Thanks
I use the TWMA-Function created from RedKTrader to smooth the values.
Special thanks to him for creating and sharing this function!
MACD Diff SignalWhen the MACD Absolute Histogram is above a threshold (set by nth lowest absolute histogram value in the rolling window) the indicator produces the MACD Histogram level, otherwise it produces 0. This Indicator is good for identifying bullish or bearish momentum.
Tian Di Grid Merge Version 6.0
Strategy Introduction:
1. We know that the exchange can only set a maximum of 100 grids. However, our grid strategy can set a maximum of 350 grids.
2. We have added the modes of proportional and differential warehousing.
3. It should be noted that we have not set any filtering conditions, which means that when the price falls below the grid, we will execute a buy action at the closing price, and when the price falls above the grid, we will execute a sell action;
4. We suggest limiting the trading time cycle to 5 meters, as sometimes errors may appear on TV due to the dense grid or the inability to draw so many grids;
5. Please ensure that the minimum spacing between each grid is not less than 0.1%, as this is extremely difficult to profit from, and on the other hand, it may not function due to excessively dense spacing;
6. The maximum number of grids is 350, and the minimum number is currently 3;
matters needing attention:
Don't choose to go long or short together, and don't choose to go even short or short;
Closing position setting: It is recommended to select it to avoid order accumulation;
Unable to trade: If unable to trade normally, switch to a 1m cycle;
Number of cells: Calculate it yourself, 350 is just the maximum number of cells that can be adjusted;
Grid spacing: minimum 0.1%, below which no profit can be made;
Position value: default is 100u, which is the amount already leveraged;
Multiple investment: The order amount for each order is the same, and there is no need for multiple investment;
Open both long and short positions: You can open multiple positions for one account and open one position for one account. Do not open both long and short positions for the same target at the same time
Custom MACD Oscillator with Bar ColoringCustom MACD Oscillator with Bar Coloring
This custom MACD indicator is a fusion of two powerful MACD implementations, combining the best features of both the MACD Crossover by HPotter and the Multiple Time Frame Custom MACD Indicator by ChrisMoody. The indicator enhances the traditional MACD with customizable options and dynamic bar coloring based on the relationship between the MACD and Signal lines, providing a clear visual representation of momentum shifts in the market.
Key Features:
MACD Oscillator: Built on the core MACD principle, showing the difference between two Exponential Moving Averages (EMA) for momentum tracking.
Signal Line: A Simple Moving Average (SMA) of the MACD, helping to identify potential entry/exit points through crossovers.
Multiple Time Frame Support: Allows users to view MACD and Signal data from different timeframes, giving a broader view of the market dynamics.
Bar Coloring: Bars are colored green when the MACD is above the Signal line (bullish), red when the MACD is below (bearish), and blue during neutral conditions.
Histogram with Custom Colors: A customizable histogram visualizes the difference between the MACD and Signal lines with color-coding to represent changes in momentum.
Cross Dots: Visual markers at points where the MACD crosses the Signal line for easy identification of potential trend shifts.
This indicator is a versatile tool for traders who want to visualize MACD-based momentum and crossover signals in multiple timeframes with clear visual cues on price bars.
Advanced Stochastic ForLoopAdvanced Stochastic ForLoop
OVERVIEW
Advanced Stochastic ForLoop is an improved version of Stochastic it is designed to calculate an array of values 1 or -1 depending if soruce for calculations is above or below basis.
It takes avereage of values over a range of lengths, providing trend signals smothed based on various moving averages in order to get rid of noise.
It offers flexibility with different signal modes and visual customizations.
TYPE OF SIGNALS
-FAST (MA > MA or MA > 0.99)
-SLOW (MA > 0)
-THRESHOLD CROSSING (set by user treshold for both directions)
-FAST THRESHOLD (when theres an change in signal by set margin e.g 0.4 -> 0.2 means bearsih when FT is set to 0.1, when MA is > 0.99 it will signal bullish, when MA < -0.99 it will signal bearish)
Generaly Lime color of line indicates Bullish, Fuchsia indicates Bearish.
This colors are not set in stone so you can change them in settings.
Alerts included when line color is:
-Bullish Trend, line color is lime
-Bearish Trend, line color is fuchsia
Credit
Idea for this script was from one of indicators created by www.tradingview.com
Warning
This indicator can be really noisy depending on the settings, signal mode so it should be used preferably as a part of an strategy not as a stand alone indicator
Remember the lower the timeframe you use the more noise there is.
No single indicator should be used alone when making investment decisions.
Multi-Asset Cross Timeframe Divergence Ind. (MACDI) // AlgoFyreThe Multi-Asset Cross Timeframe Divergence Indicator (MACDI) identifies divergences in momentum like RSI across multiple assets and timeframes. It visually highlights lagging correlated asset momentum divergences, helping traders spot inefficiencies and potential trade opportunities in the following asset.
🔶 KEY FEATURES
🔸Average Momentum Trendline for Each Timeframe
The Average Momentum Trendline feature calculates the average momentum of multiple assets over specified timeframes. It uses smoothed values to determine the momentum trend for each timeframe on the average aggregated momentum of both assets. This trendline helps traders identify the overall direction of the market momentum, providing a clearer picture of potential price movements.
🔸Real-time Divergence Indication and Alert Table
The Real-time Divergence Indications and Alert Table feature visualizes detected divergences between the momentum values of the two assets across different timeframes. It identifies both bullish and bearish divergences, signaling lagging reversals in the the following asset and potential trading opportunities. When a divergence is detected, the system generates real-time visual indications on the chart and in an overview table for traders to act promptly. The alert table provides a comprehensive overview of all detected divergences, making it easier for traders to monitor and respond to market changes.
🔸Color and Size Based Labels on Price Chart based on Divergence Type
The Color and Size Based Labels feature visually represents divergences directly on the price chart. Bullish and bearish divergences are marked with distinct colors and sizes, making them easily identifiable at a glance. Larger labels indicate higher timeframes and thus generally more significance.
🔶 INSTRUCTION GUIDELINES
🔸Identify Divergence Clusters
The more divergences align, the higher the probability of a potential trend reversal in the asset. When multiple multi-timeframe divergences occur in both lower and higher timeframes within a local cluster, the probability of a reversal increases. This is valid for both for bullish and bearish divergences.
🔸Spot Low Probability Divergences
To further increase the probability, analyze the current state of the average momentum trendline. For a bullish reversal, a relatively low level of the average momentum trendline is preferred, whereas for a bearish reversal, a relatively high level is preferred.
🔶 INDIVIDUAL CONFIGURATION
🔸Leading Asset
This input allows the user to select the leading asset for the divergence analysis.
🔸Following Asset
This input allows the user to select the following asset for the divergence analysis.
🔸Higher Timeframe
This input sets the higher timeframe for the analysis.
🔸Lower Timeframe
This input sets the lower timeframe for the analysis.
🔸Show RSI Divergence
This input enables or disables the display of RSI divergence signals.
🔸RSI Length
This input sets the length of the RSI calculation.
🔸RSI Source
This input sets the source data for the RSI calculation (e.g., close price).
🔸RSI Smoothing Length
This input sets the length of the smoothing applied to the RSI values.
🔸Smoothing Method
This input sets the method used for smoothing the RSI values.
🔶 CONCLUSION
The Multi-Asset Cross Timeframe Divergence Indicator (MACDI) is a powerful tool for identifying momentum divergences across multiple assets and timeframes. Its visual cues and customizable table make it easy to use and interpret, providing valuable insights for trading decisions.