SMA200 & RSI [Tarun]The SMA200 & RSI Signal Indicator is a powerful tool designed for traders who want to identify potential entry zones based on a combination of price action and momentum. This indicator combines two essential trading components:
SMA200 (Simple Moving Average): A widely used trend-following tool that highlights the overall direction of the market.
RSI (Relative Strength Index): A momentum oscillator that measures the speed and change of price movements.
How It Works:
Price Above SMA200: Indicates bullish market conditions.
RSI Between 40 and 20: Suggests that the asset is in a potential oversold or pullback zone within a bullish trend.
When both conditions are met, the indicator triggers:
Background Highlight: The chart background turns green to indicate a potential signal zone.
Disclaimer:
This indicator is not a standalone trading strategy. Use it in conjunction with other analysis methods such as support and resistance, candlestick patterns, or volume analysis. Always practice proper risk management.
Osciladores
ADX Breakout Strategy█ OVERVIEW
The ADX Breakout strategy leverages the Average Directional Index (ADX) to identify and execute breakout trades within specified trading sessions. Designed for the NQ and ES 30-minute charts, this strategy aims to capture significant price movements while managing risk through predefined stop losses and trade limits.
This strategy was taken from a strategy that was posted on YouTube. I would link the video, but I believe is is "against house rules".
█ CONCEPTS
The strategy is built upon the following key concepts:
ADX Indicator: Utilizes the ADX to gauge the strength of a trend. Trades are initiated when the ADX value is below a certain threshold, indicating potential for trend development.
Trade Session Management: Limits trading to specific hours to align with optimal market activity periods.
Risk Management: Implements a fixed dollar stop loss and restricts the number of trades per session to control exposure.
█ FEATURES
Customizable Stop Loss: Set your preferred stop loss amount to manage risk effectively.
Trade Session Configuration: Define the trading hours to focus on the most active market periods.
Entry Conditions: Enter long positions when the price breaks above the highest close in the lookback window and the ADX indicates potential trend strength.
Trade Limits: Restrict the number of trades per session to maintain disciplined trading.
Automated Exit: Automatically closes all positions at the end of the trading session to avoid overnight risk.
█ HOW TO USE
Configure Inputs :
Stop Loss ($): Set the maximum loss per trade.
Trade Session: Define the active trading hours.
Highest Lookback Window: Specify the number of bars to consider for the highest close.
Apply the Strategy :
Add the ADX Breakout strategy to your chart on TradingView.
Ensure you are using a 30-minute timeframe for optimal performance.
█ LIMITATIONS
Market Conditions: The strategy is optimized for trending markets and may underperform in sideways or highly volatile conditions.
Timeframe Specific: Designed specifically for 30-minute charts; performance may vary on different timeframes.
Single Asset Focus: Primarily tested on NQ and ES instruments; effectiveness on other symbols is not guaranteed.
█ DISCLAIMER
This ADX Breakout strategy is provided for educational and informational purposes only. It is not financial advice and should not be construed as such. Trading involves significant risk, and you may incur substantial losses. Always perform your own analysis and consider your financial situation before using this or any other trading strategy. The source material for this strategy is publicly available in the comments at the beginning of the code script. This strategy has been published openly for anyone to review and verify its methodology and performance.
BeautifulStochRSIBeautifulStochRSI: A Unique and Clear Approach to Stochastic RSI
Introducing the BeautifulStochRSI, an colorfull approach to the popular Stochastic RSI indicator. This script goes beyond the standard representation by offering visually distinct and intuitive signals to enhance your trading experience.
The BeautifulStochRSI is ideal for traders who value both precision and simplicity. It combines functional enhancements with a polished design, ensuring that crucial market insights are presented clearly and effectively. Created by rektbyhielke, this script leverages the capabilities of Pine Script™ v5 for optimal performance.
By sharing this script, the aim is not only to provide a practical trading solution but also to inspire others to create indicators that are both beautiful and efficient.
the script includes fully customizable parameters for RSI length, stochastic length, and smoothing factors, allowing traders to tailor the indicator to their specific strategies. Overbought and oversold zones are marked with dots at levels 80 and 20, complemented by a subtle teal background fill to emphasize these areas.
Dual Timeframe Stochastic Momentum Index w/buy sell signalsThis indicator combines momentum analysis across two timeframes to identify high-probability trading opportunities. It plots the Stochastic Momentum Index (SMI) for both the chart timeframe and a higher timeframe (default 10 minutes) to help traders align with the broader market trend.
Key Features
Displays SMI and its EMA for both timeframes
Background shading indicates favorable trading conditions
Signal dots mark potential entry points
Customizable parameters for fine-tuning
Signals Explained
Bullish Signals (Green Dots)
Appear when the chart timeframe SMI crosses above its EMA
Only trigger during periods when the higher timeframe shows:
SMI is above its EMA (increasing momentum)
SMI is between -40 and +40 (not overbought/oversold)
Bearish Signals (Red Dots)
Appear when the chart timeframe SMI crosses below its EMA
Only trigger during periods when the higher timeframe shows:
SMI is below its EMA (decreasing momentum)
SMI is between -40 and +40 (not overbought/oversold)
Settings
%K Length: Lookback period for SMI calculation (default: 10)
%D Length: Smoothing period for primary calculation (default: 3)
EMA Length: Smoothing period for signal line (default: 3)
Alternative Timeframe: Higher timeframe for trend analysis (default: 10 minutes)
Best Practices
Use higher timeframe signals to determine market bias
Wait for signal dots in the chart timeframe for entry timing
Avoid trades when higher timeframe SMI is in extreme zones (above 40 or below -40)
Consider additional confirmation from price action or other indicators
Note: This indicator combines trend and momentum analysis but should be used as part of a complete trading strategy that includes proper risk management.
TASC 2024.12 Dynamic ADX Histogram█ OVERVIEW
This script introduces a new version of the ADX oscillator, designed by Neil Jon Harrington and featured in the "Revisualizing The ADX Oscillator" article from the December 2024 edition of TASC's Traders' Tips .
█ CONCEPTS
The directional movement index (DMI+ and DMI−) and average directional index (ADX) indicators have long been popular with technical analysts. Developed by J. Welles Wilder in the 1970s, these indicators provide information about the direction and strength of price movements across bars. The DMI+ measures positive price movement, the DMI- measures negative price movement, and the ADX gauges the average strength of price trends. Although these indicators can provide helpful insights into price action and momentum, Neil Jon Harrington argues they are often misunderstood or misapplied.
Harrington's indicator, the Dynamic ADX Histogram (DADX), applies directional information to the ADX based on DMI+ and DMI- values to create a single oscillator centered around 0. The indicator displays the oscillator as a histogram with dynamic colors based on ADX movements and user-defined strength thresholds. The author believes this modification of the ADX and DMI data offers a more intuitive visualization of the information provided by Wilder's calculations.
An additional feature of the DADX is the option to use average (smooth) DMI+ and DMI- values in the oscillator's calculation, which reduces noise and choppiness at the cost of added lag.
█ USAGE
The "ADX Length" input determines the number of bars in the DMI and ADX calculation. The "DMI Smoothing Length" input controls the number of bars in the DMI smoothing calculation. Use a value of 1 for non-smoothed DMI data.
The sign of the DADX indicates the direction of price movements based on the difference between the smoothed DMI+ and DMI- values. The absolute value of the oscillator corresponds to the ADX, representing the trend strength.
The "Low Threshold" and "High Threshold" inputs define the ADX thresholds for categorizing trending, non-trending, and exhaustion states. The low threshold specifies the minimum absolute oscillator value required to indicate a trend, and the high threshold marks the absolute value where trend strength is excessive, possibly suggesting an upcoming consolidation or reversal. The indicator colors the histogram based on these thresholds and changes in the ADX, with brighter colors denoting a strengthening trend and darker colors signaling a weakening trend.
Weighted Average Strength Index (WASI)Weighted Average Strength Index (WASI)
The Weighted Average Strength Index (WASI) is a variation of the standard RSI. It uses the Weighted Moving Average (WMA) instead of the Running Moving Average (RMA), making it more responsive to recent price changes. The hypothesis is that this weighted calculation might better capture momentum shifts, providing traders with more timely insights.
How to Use:
Backtest WASI on your preferred assets and timeframes to evaluate its effectiveness for your strategy.
Use for trend following or mean reversion :
- Overbought/Oversold (OB/OS) levels can signal potential mean-reversion opportunities.
- Midline (50 level) crossovers can be used for trend-following strategies.
- WASI and its moving average (MA) crossovers offer additional trend-following or reversal signals.
Parameters and Their Functions:
WASI Length: Determines the number of periods for WASI calculation. A longer length smooths the indicator but increases lag, while a shorter length makes it more sensitive. (When in doubt, go longer).
Source: The price source for the calculation (e.g., close, open, high, or low).
MA Type: Specifies the type of moving average applied to the WASI (options include SMA, EMA, WMA, HMA, and others).
MA Length: The number of periods for the moving average used on the WASI. Higher will lead to a smoother moving average.
Indicator Features:
Dynamic OB/OS Levels: Default overbought (70) and oversold (30) levels help identify potential reversal zones.
Midline Crossover: WASI crossing above or below the 50 level may indicate a trend shift.
WASI-MA Crossover: Crossovers between WASI and its moving average can signal trend-following or mean-reversion opportunities.
Disclaimer:
This indicator is a tool for analysis and should be used in conjunction with other forms of analysis or confirmation. Past performance does not guarantee future results.
3 Confirmation BearThe "3 Confirmation Bear" indicator is designed to help traders identify strong bearish market conditions with three key confirmations:
Price Below EMA15:
The price trading below the 15-period Exponential Moving Average (EMA) signals bearish momentum.
RSI Below a Threshold:
The Relative Strength Index (RSI) is below a user-defined threshold (default: 50), confirming a lack of bullish strength and momentum favoring the downside.
Downtrend Confirmation:
The indicator ensures the market is in a downtrend by checking for lower highs and lower lows over a specified lookback period.
Key Features:
Bearish Signals: Displays a red downward-pointing label above the price bar when all three conditions are met, making bearish setups easy to identify.
Customizable Inputs: Traders can adjust the EMA length, RSI threshold, and downtrend lookback period to suit their specific strategies.
Versatile Application: Ideal for short entries, trend validation, or avoiding long trades during bearish conditions.
How to Use:
Use the "3 Confirmation Bear" indicator to:
Confirm Short Trades: Enter bearish trades when the signal aligns with your strategy.
Validate Trends: Ensure a clear downtrend is present before committing to a position.
Filter Trades: Avoid long positions during bearish momentum.
This indicator simplifies decision-making by focusing on high-probability bearish setups. Perfect for day traders, swing traders, and those seeking clear confirmation before entering a trade.
3 Confirmation Bull This script is designed to help traders identify strong bullish conditions by providing a signal when three key confirmations align:
Price is Above the 15-period EMA:
This shows that the price is trading above a short-term average, a sign of bullish momentum.
RSI is Above a Threshold:
The Relative Strength Index (RSI) is used to measure the strength of price movements. When RSI is above the user-defined threshold (default 50), it indicates bullish momentum and avoids overbought zones.
Price is in an Uptrend:
An uptrend is confirmed when there are both higher highs and higher lows over a specified lookback period. This ensures that the price structure supports upward movement.
Key Features:
Visual Alerts: A green label appears below the price bar whenever all three conditions are met, making it easy to spot trading opportunities.
Customizable Settings: Adjust the EMA length, RSI threshold, and uptrend lookback period to match your trading style or timeframe.
Versatility: Suitable for intraday, swing, or positional trading in trending markets.
How to Use:
This indicator is ideal for traders looking to confirm a bullish setup. Use it to:
Enter Trades: As confirmation for long positions when the signal appears.
Validate Trends: Ensure conditions are favorable before committing to a trade.
Combine with Other Strategies: Enhance your trading system by pairing it with volume analysis, candlestick patterns, or support/resistance levels.
By combining these three confirmations, the script helps traders filter out false signals and focus on higher-probability setups, streamlining their decision-making process.
Multiple RSITitle: MultiRSI: A Versatile Multi-Timeframe RSI Indicator
Short Description:
A powerful RSI-based indicator that incorporates three RSI lengths (Fast, Medium, and Slow) to help traders analyze trends, momentum, and potential reversals with clear visual signals.
Full Description:
Overview:
The MultiRSI script provides traders with a dynamic tool to assess market conditions across multiple RSI timeframes. It calculates Fast, Medium, and Slow RSI values, assigns meaningful colors based on trend analysis, and highlights key crossover points for actionable insights.
Key Features:
Triple RSI Display:
Fast RSI (default: 8): Ideal for capturing short-term momentum.
Medium RSI (default: 12): Provides a balanced perspective.
Slow RSI (default: 16): Helps identify longer-term trends.
Trend Analysis:
Color-coded RSI lines:
Green, blue, and aqua for uptrends.
Yellow, orange, and red for potential downtrends.
Visual differentiation for easy interpretation.
Crossover Signals:
Upward Cross (triangle up): Indicates potential bullish momentum.
Downward Cross (triangle down): Suggests possible bearish momentum.
Marked directly on the chart for clarity.
Customizable Inputs:
Adjust RSI lengths to suit your trading strategy.
Grouped input settings for a seamless configuration experience.
Usage Scenarios:
Identify trend strength and reversals in different timeframes.
Spot key momentum shifts with crossover signals.
Combine with other indicators for a comprehensive trading strategy.
How It Works:
The script compares the Fast RSI against the Medium RSI and the Medium RSI against the Slow RSI to determine short-, medium-, and long-term trends. Crossovers between Medium and Slow RSI values signal potential momentum shifts.
Visualization:
Clear, color-coded plots for the three RSI levels.
Highlighted crossovers for quick decision-making.
License:
This script is open-source under the Mozilla Public License 2.0. Feel free to use, modify, and share!
Adaptive Squeeze Momentum StrategyThe Adaptive Squeeze Momentum Strategy is a versatile trading algorithm designed to capitalize on periods of low volatility that often precede significant price movements. By integrating multiple technical indicators and customizable settings, this strategy aims to identify optimal entry and exit points for both long and short positions.
Key Features:
Long/Short Trade Control:
Toggle Options: Easily enable or disable long and short trades according to your trading preferences or market conditions.
Flexible Application: Adapt the strategy for bullish, bearish, or neutral market outlooks.
Squeeze Detection Mechanism:
Bollinger Bands and Keltner Channels: Utilizes the convergence of Bollinger Bands inside Keltner Channels to detect "squeeze" conditions, indicating a potential breakout.
Dynamic Squeeze Length: Calculates the average squeeze duration to adapt to changing market volatility.
Momentum Analysis:
Linear Regression: Applies linear regression to price changes over a specified momentum length to gauge the strength and direction of momentum.
Dynamic Thresholds: Sets momentum thresholds based on standard deviations, allowing for adaptive sensitivity to market movements.
Momentum Multiplier: Adjustable setting to fine-tune the aggressiveness of momentum detection.
Trend Filtering:
Exponential Moving Average (EMA): Implements a trend filter using an EMA to align trades with the prevailing market direction.
Customizable Length: Adjust the EMA length to suit different trading timeframes and assets.
Relative Strength Index (RSI) Filtering:
Overbought/Oversold Signals: Incorporates RSI to avoid entering trades during overextended market conditions.
Adjustable Levels: Set your own RSI oversold and overbought thresholds for personalized signal generation.
Advanced Risk Management:
ATR-Based Stop Loss and Take Profit:
Adaptive Levels: Uses the Average True Range (ATR) to set stop loss and take profit points that adjust to market volatility.
Custom Multipliers: Modify ATR multipliers for both stop loss and take profit to control risk and reward ratios.
Minimum Volatility Filter: Ensures trades are only taken when market volatility exceeds a user-defined minimum, avoiding periods of low activity.
Time-Based Exit:
Holding Period Multiplier: Defines a maximum holding period based on the momentum length to reduce exposure to adverse movements.
Automatic Position Closure: Closes positions after the specified holding period is reached.
Session Filtering:
Trading Session Control: Limits trading to predefined market hours, helping to avoid illiquid periods.
Custom Session Times: Set your preferred trading session to match market openings, closings, or specific timeframes.
Visualization Tools:
Indicator Plots: Displays Bollinger Bands, Keltner Channels, and trend EMA on the chart for visual analysis.
Squeeze Signals: Marks squeeze conditions on the chart, providing clear visual cues for potential trade setups.
Customization Options:
Indicator Parameters: Fine-tune lengths and multipliers for Bollinger Bands, Keltner Channels, momentum calculation, and ATR.
Entry Filters: Choose to use trend and RSI filters to refine trade entries based on your strategy.
Risk Management Settings: Adjust stop loss, take profit, and holding periods to match your risk tolerance.
Trade Direction Control: Enable or disable long and short trades independently to align with your market strategy or compliance requirements.
Time Settings: Modify the trading session times and enable or disable the time filter as needed.
Use Cases:
Trend Traders: Benefit from aligning entries with the broader market trend while capturing breakout movements.
Swing Traders: Exploit periods of low volatility leading to significant price swings.
Risk-Averse Traders: Utilize advanced risk management features to protect capital and manage exposure.
Disclaimer:
This strategy is a tool to assist in trading decisions and should be used in conjunction with other analyses and risk management practices. Past performance is not indicative of future results. Always test the strategy thoroughly and adjust settings to suit your specific trading style and market conditions.
Awesome Oscillator with DivergenceSimple Awesome Oscillator with Divergences
This TradingView script combines the classic Awesome Oscillator (AO) with divergence detection. It plots AO as a histogram, highlighting changes in momentum. Divergences are identified based on pivot highs and lows, signaling potential trend reversals:
- Bullish Divergence: Price makes lower lows, AO makes higher lows.
- Bearish Divergence: Price makes higher highs, AO makes lower highs.
Visual signals (arrows) and alerts ensure clear identification, making it ideal for traders focusing on momentum and trend reversals.
RSI Instant DivergenceThis script detects RSI divergence—a common signal indicating potential trend reversals. It compares price action and RSI behavior to identify two types of divergences:
1- Bearish Divergence (Sell Signal):
Occurs when the price forms a higher high while RSI drops (weaker momentum).
A label appears above the candle, and an alert is triggered: "Divergence: Sell Signal."
2 -Bullish Divergence (Buy Signal):
Occurs when the price makes a lower low while RSI rises (stronger momentum).
A label appears below the candle, and an alert is triggered: "Divergence: Buy Signal."
The labels are color-coded (orange for sell, blue for buy) and include detailed RSI and price info in a tooltip. Alerts help you act immediately when divergence is detected.
This tool is perfect for spotting potential trend reversals and refining your entry/exit strategy. Let me know if you'd like to customize it further! 😊
Tooltip Feature: Each label includes a tooltip with precise RSI and price details (current and previous values) as well as the percentage change in RSI, giving you deeper insight into the divergence. This tool is great for identifying trend reversal points and includes visual labels, tooltips, and alerts to make real-time trading decisions easier. Let me know if you’d like adjustments!
Heikin Ashi Processed Generalized Smooth StepDisclaimer : This is my attempt of smoothing and improving @tarasenko_ script. Find the originial author here :
Overview:
The Smooth Step Heikin Ashi Indicator is an enhanced version of the original script developed by tarasenko_. This advanced TradingView tool integrates Heikin Ashi candlestick calculations with a sophisticated smoothing oscillator, offering traders improved trend visualization and dynamic alert capabilities.
Key Enhancements:
Refined Heikin Ashi Calculations: The indicator computes smoothed Open, High, Low, and Close (OHLC) values with adjustable factors, allowing for more precise trend analysis. It also includes an optional second-level modified Heikin Ashi calculation for additional smoothing.
Advanced Smooth Step Oscillator: Utilizing Pascal’s triangle, this oscillator provides a visual representation of price momentum. Traders can configure the lookback period, equation order, and threshold to tailor the oscillator to specific trading strategies.
Enhanced Customization Options: Users can toggle between standard and Heikin Ashi candles, adjust smoothing parameters, and set display preferences to align with their analytical needs.
Noise Reduction: Smoothes out market fluctuations using customizable Heikin Ashi factors. Introduces a second-level smoothing option for even greater noise reduction, allowing traders to focus on the core trend.
Original Indicator :
Heikin Ashi processed version :
Visualization Features:
Heikin Ashi Candles: Displays candles with customizable colors and visibility settings, aiding in clearer trend identification.
Smooth Step Oscillator Line: Plots a line that reflects trend strength and momentum, assisting traders in making informed decisions.
Threshold Line: Provides a visual reference point to facilitate quick assessments of market conditions.
Conclusion:
Building upon tarasenko_'s original work, the Smooth Step Heikin Ashi Indicator delivers a robust tool for traders seeking refined market analysis. Its combination of advanced smoothing techniques and dynamic alert features makes it a valuable addition to any trader's toolkit.
MA Ratio Weighted Trend System I [InvestorUnknown]The MA Ratio Weighted Trend System I combines slow and fast indicators to identify stable trends and capture potential market turning points. By dynamically adjusting the weight of fast indicators based on the Moving Average Ratio (MAR), the system aims to provide timely entry and exit signals while maintaining overall trend stability through slow indicators.
Slow and Fast Indicators with Dynamic Weighting
Slow Indicators: Designed for stable trend identification, these indicators maintain a constant weight in the overall signal calculation. They include:
DMI For Loop (Directional Movement Index)
CCI For Loop (Commodity Channel Index)
Aroon For Loop
Fast Indicators: Aim to detect rapid market changes and potential turning points. Their weights are dynamically adjusted based on the absolute value of the Moving Average Ratio (MAR). Fast indicators include:
ZLEMA For Loop (Zero-Lag Exponential Moving Average)
IIRF For Loop (Infinite Impulse Response Filter)
Dynamic Weighting Mechanism:
Moving Average Ratio (MAR) is calculated as the ratio of the price to its moving average, minus one (for simplicity and visualization).
Weight Calculation
Fast indicator weights are determined based on the absolute value of MAR, possibly with an offset to avoid scenarios where MAR follows rapid price reversals too closely:
// Function to calculate weights based on MAR
f_mar_weights(series float mar, simple int offset, simple float weight_thre) =>
o_mar = math.abs(mar )
float fast_weight = 0
float slow_weight = 1
if o_mar != 0
if weight_thre > 0
if o_mar <= weight_thre
fast_weight := o_mar
else
fast_weight := o_mar
Threshold-Based vs. Continuous Weighting:
Threshold-Based: Fast indicators receive weight only when the absolute MAR exceeds a user-defined threshold (weight_thre).
Continuous: By setting weight_thre to zero, fast indicators always receive some weight, though this may increase false signals.
Offset Mechanism
The offset parameter shifts the MAR used for weighting by a certain number of bars. This helps avoid situations where the MAR follows sudden price movements too closely, preventing fast indicators from failing to provide timely exit signals.
Signal Calculation
The final signal is a weighted average of the slow and fast indicators:
// Calculate Signal (as weighted average)
float sig = math.round(((DMI*slow_w) + (CCI*slow_w) + (Aroon*slow_w) + (ZLEMA*fast_w) + (IIRF*fast_w)) / (3*slow_w + 2*fast_w), 2)
Backtesting and Performance Metrics
Enables users to test the indicator's performance over historical data, comparing it to a buy-and-hold strategy.
Alerts
Set up alerts for when the signal crosses above or below the thresholds.
alertcondition(long_alert, "LONG (MAR Weighted Trend System)", "MAR Weighted Trend System flipped ⬆LONG⬆")
alertcondition(short_alert, "SHORT (MAR Weighted Trend System)", "MAR Weighted Trend System flipped ⬇Short⬇")
Important Notes
Customization: Due to the experimental nature of this indicator, users are strongly encouraged to adjust and calibrate the settings to align with their trading strategies and market conditions.
Default Settings Disclaimer: The default settings are not optimized or recommended for any specific use and serve only as placeholders for the indicator's publication.
Backtest Results Disclaimer: Historical backtest results are not indicative of future performance. Market conditions change, and past results do not guarantee future outcomes.
GP - SRSI ChannelGP - SRSI Channel Indicator
The GP - SRSI Channel is a channel indicator derived from the Stochastic RSI (SRSI) oscillator. It combines SRSI data from multiple timeframes to analyze minimum, maximum, and closing values, forming a channel based on these calculations. The goal is to identify overbought and oversold zones with color coding and highlight potential trading opportunities by indicating trend reversal points.
How It Works
SRSI Calculation: The indicator calculates the Stochastic RSI values using open, high, low, and close prices from the selected timeframes.
Channel Creation: Minimum and maximum values derived from these calculations are combined across multiple timeframes. The midpoint is calculated as the average of these values.
Color Coding: Zones within the channel are color-coded with a gradient from red to green based on the ratios. Green zones typically indicate selling opportunities, while red zones suggest buying opportunities.
Visual Elements:
The channel boundaries (min/max) are displayed as lines.
Overbought/oversold regions (95-100 and 0-5) are highlighted with shaded areas.
Additional explanatory labels are placed on key levels to guide users.
How to Use
Trading Strategy: This indicator can be used for both trend following and identifying reversal points. Selling opportunities can be evaluated when the channel reaches the upper green zone, while buying opportunities can be considered in the lower red zone.
Timeframe Selection: Users can analyze multiple timeframes simultaneously to gain a broader perspective.
Customization: RSI and Stochastic RSI parameters are adjustable, allowing users to tailor the indicator to their trading strategies.
Important Note
This indicator is for informational purposes only and should not be used as a sole basis for trading decisions. Please validate the results of the indicator with your own analysis.
M2 Suite [KFB Quant]M2 Suite
The M2 Suite is a specialized technical indicator designed to analyze global M2 money supply data from major economies (US, EU, China, and Japan). It aggregates this macroeconomic data and transforms it into actionable insights for crypto trading, assisting with trend-following strategies on a 1D timeframe. By leveraging M2 money supply changes as an economic signal, the M2 Suite highlights potential long and short opportunities based on market liquidity trends.
Functionality:
The M2 Suite aggregates global M2 money supply data, normalizing it to USD for comparability. It calculates percentage changes over multiple timeframes (30–360 days) and averages these changes to score the strength and direction of the M2 trend. With customizable smoothing options, users can tailor the indicator to suit their trading style.
Signal Modes:
Users can choose from three signal modes for maximum flexibility:
Standard – Displays raw trend signals without smoothing.
Smoothed – Applies user-selected smoothing (EMA, SMA, or WMA) for cleaner signals.
Combined – Provides both standard and smoothed signals for a complete picture.
Indicator Features:
Thresholds: Define long and short entry points using customizable score and percentage change thresholds.
Signal Smoothing: Adjust signal clarity with selectable smoothing methods and lengths.
Visual Enhancements: Features gradient-colored signal lines, dynamic background shading, and labeled signal markers for enhanced chart readability.
Limitations:
The M2 Suite is intended for crypto markets and performs best on the 1D timeframe due to the daily data it requests. It should be used as part of a broader trading strategy, as it reflects historical macroeconomic trends and doesn’t predict future movements. Additionally, past results do not guarantee future performance.
Disclaimer: This tool is provided for informational and educational purposes only and should not be considered as financial advice. Always conduct your own research and consult with a licensed financial advisor before making any investment decisions.
Inner Bar Strength (IBS)Inner Bar Strength (IBS) Indicator
The Inner Bar Strength (IBS) indicator is a technical analysis tool designed to measure the position of the closing price relative to the day's price range. It provides insights into market sentiment by indicating where the close occurs within the high and low of a specific timeframe. The IBS value ranges from 0 to 1, where values near 1 suggest bullish momentum (close near the high), and values near 0 indicate bearish momentum (close near the low).
How It Works
The IBS is calculated using the following formula:
IBS = (Close−Low) / (High−Low)
IBS = (High−Low) / (Close−Low)
Close: Closing price of the selected timeframe.
Low: Lowest price of the selected timeframe.
High: Highest price of the selected timeframe.
The indicator allows you to select the timeframe for calculation (default is daily), providing flexibility to analyze different periods based on your trading strategy.
Key Features
Inner Bar Strength (IBS) Indicator
The Inner Bar Strength (IBS) indicator is a technical analysis tool designed to measure the position of the closing price relative to the day's price range. It provides insights into market sentiment by indicating where the close occurs within the high and low of a specific timeframe. The IBS value ranges from 0 to 1, where values near 1 suggest bullish momentum (close near the high), and values near 0 indicate bearish momentum (close near the low).
How It Works
The IBS is calculated using the following formula:
IBS=Close−LowHigh−Low
IBS=High−LowClose−Low
Close: Closing price of the selected timeframe.
Low: Lowest price of the selected timeframe.
High: Highest price of the selected timeframe.
The indicator allows you to select the timeframe for calculation (default is daily), providing flexibility to analyze different periods based on your trading strategy.
Key Features
Timeframe Selection: Customize the timeframe to daily, weekly, monthly, or any other period that suits your analysis.
Adjustable Thresholds: Input fields for upper and lower thresholds (defaulted at 0.9 and 0.1) help identify overbought and oversold conditions.
Visual Aids: Dashed horizontal lines at the threshold levels make it easy to visualize critical levels on the chart.
How to Use the IBS Indicator
When the IBS value exceeds the upper threshold (e.g., 0.9), it suggests the asset is closing near its high and may be overbought.
When the IBS value falls below the lower threshold (e.g., 0.1), it indicates the asset is closing near its low and may be oversold.
Use RSI to confirm overbought or oversold conditions identified by the IBS.
Incorporate moving averages to identify the overall trend and filter signals.
High trading volume can strengthen signals provided by the IBS.
If the price is making lower lows while the IBS is making higher lows, it may signal a potential upward reversal.
If the price is making higher highs and the IBS is making lower highs, a downward reversal might be imminent.
Conclusion
The Inner Bar Strength (IBS) indicator is a valuable tool for traders seeking to understand intraday momentum and potential reversal points. By measuring where the closing price lies within the day's range, it provides immediate insights into market sentiment. When used alongside other technical analysis tools, the IBS can enhance your trading strategy by identifying overbought or oversold conditions, confirming breakouts, and highlighting potential divergence signals.
Fixed RSI Overlay [lognomics]This overlay indicator provides a dynamic visualization of the RSI on the instrument price chart. It enhances the standard RSI oscillator by scaling it relative to the anchor's maximum & minimum range, conceptualizing how price reacts at standard oscillation levels.
Starting at the anchor's open, the tool collects all the RSI values from each candle within the range, and stores them inside an array corresponding to each candle index. It then pulls relative values and plots a line connecting each point accordingly to the 0-100 range scale.
While determining each maximum and/or minimum the script will plot a box from the opening time of the anchor, encapsulating the high & low of the range, to end at the next anchor time. To the right to of the box, a label is plotted which is pushed to the current time & current RSI y value within the fixed scale.
Ultra Strength IndexThe Ultra Strength Index is a momentum-based indicator designed to enhance price action analysis. It identifies overbought/oversold levels and generates buy/sell signals based on momentum shifts. With customizable smoothing and dynamic updates, it suits both trend-following and reversal strategies.
Introduction
The Ultra Strength Index is a powerful tool designed to help traders analyze price momentum, identify trends, and recognize potential turning points in the market. By combining advanced smoothing techniques and customizable settings, it provides a clear visual representation of overbought/oversold conditions and momentum signals, making it suitable for all trading styles.
Detailed Description
The Ultra Strength Index works by analyzing price momentum and visualizing it through smoothed calculations.
Here's how it works:
.........
Impulse Line
Tracks changes in price momentum using a simple moving average (SMA) of the price change. This line reflects the strength and direction of momentum.
.....
Signal Line
A more stable, smoother version of the impulse line, calculated using a Triple Weigthend Moving Average (TWMA) wich created RedKTrader . It acts as a baseline to compare momentum shifts.
.....
Overbought/Oversold Zones
The indicator detects extreme price conditions using historical momentum levels. These levels are dynamically smoothed over a customizable lookback period to minimize noise and ensure reliability.
.....
Repainting Feature
The "Enable Repaint" option offers real-time updating of overbought/oversold levels for more reactive signals, while disabling it provides the actual level for retrospective analysis.
.....
Buy and Sell Signals
The impulse line crosses into or out of overbought/oversold zones. (Triangle)
The impulse line crosses above or below the signal line, indicating potential momentum shifts. (Diamond)
.........
Customizable colors, smoothing periods, and signal settings allow traders to tailor the indicator to their strategy.
Special Thanks
I use the TWMA-Function created from RedKTrader to smooth the values.
Special thanks to him/her for creating and sharing this function!
CBBS Suite [KFB Quant]CBBS Suite
The CBBS Suite is a specialized technical indicator that aggregates central bank balance sheet (CBBS) data from major global economies (US, EU, China, and Japan) and analyzes the data to assist with trend-following strategies. By using CBBS data as an economic signal, this tool provides insights into long and short trading opportunities based on macroeconomic changes.
Functionality :
The CBBS Suite aggregates central bank balance sheets, converting the combined data into percentage changes over multiple timeframes (30–360 days). It then calculates average scores to highlight the direction and strength of the CBBS trend, with customizable smoothing options for precision.
Signal Modes :
Users can select from three modes for optimal customization:
Standard – Displays unsmoothed trend signals.
Smoothed – Applies a smoothing function for clearer signal representation.
Combined – Shows both standard and smoothed signals for a comprehensive view
Indicator Features :
Thresholds : Customize long and short entry points based on score thresholds and percentage change limits.
Signal Smoothing : Choose from EMA, SMA, or WMA for trend smoothing, with adjustable lengths for greater flexibility.
Visuals : Background color coding for long and short zones and up/down triangles on chart bars to clearly identify long and short signals.
Limitations :
As with any indicator, CBBS Suite should be used as part of a broader trading strategy. It doesn’t predict future movements but instead reflects central bank activity trends.
This indicator is designed to add value to the TradingView community by providing unique macroeconomic insights based on central bank data trends. It’s a valuable tool for users looking to incorporate CBBS data into their technical analysis toolkit.
Disclaimer: This tool is provided for informational and educational purposes only and should not be considered as financial advice. Always conduct your own research and consult with a licensed financial advisor before making any investment decisions.
Chaikin DivergenceOverview
The Chaikin Divergence is a powerful technical indicator designed to enhance the traditional Chaikin Oscillator by incorporating divergence detection between the oscillator and price action. This advanced tool not only plots the Chaikin Oscillator but also identifies and highlights bullish and bearish divergences, providing traders with valuable insights into potential trend reversals and momentum shifts.
Key Features
Chaikin Oscillator Plotting: Visual representation of the Chaikin Oscillator, aiding in the analysis of market momentum based on volume and price.
Divergence Detection:
Bullish Divergence: Indicates potential upward reversals when price forms lower lows while the oscillator forms higher lows.
Bearish Divergence: Signals possible downward reversals when price creates higher highs while the oscillator forms lower highs.
Customizable Settings:
Fast Length & Slow Length: Adjust the periods for the Exponential Moving Averages (EMA) used in the oscillator calculation.
Pivot Detection Parameters: Define the sensitivity of pivot high and pivot low detection with adjustable left and right bars.
Bars Lookback for Divergence: Set the number of bars to look back for identifying divergences.
Color Customization: Choose distinct colors for bullish and bearish divergence labels to match your trading preferences.
Visual Indicators:
Divergence Labels: Clear and distinct labels (arrows or dots) on the chart indicating the type and location of divergences.
Zero Line: A dashed zero line to reference the oscillator’s crossing points.
Chaikin Oscillator Calculation:
The indicator calculates the Chaikin Oscillator by subtracting the slow EMA of the Accumulation/Distribution Line (ta.accdist) from the fast EMA.
This oscillates around the zero line, indicating buying and selling pressure.
Pivot Detection:
Utilizes ta.pivothigh and ta.pivotlow functions to identify significant pivot points in price action. These pivot points serve as reference points for divergence analysis.
Divergence Identification:
Bullish Divergence: Detected when a recent pivot low in price is lower than the previous pivot low, while the corresponding oscillator value is higher than the previous oscillator pivot.
Bearish Divergence: Identified when a recent pivot high in price is higher than the previous pivot high, but the oscillator value is lower than the previous oscillator pivot.
Label Plotting:
When a divergence is detected, the indicator plots a label (arrow or dot) on the chart at the pivot point, signaling the type of divergence.
Adding the Indicator:
Open TradingView and navigate to the chart where you want to apply the indicator.
Open the Pine Editor, paste the Chaikin Oscillator with Divergences script, and add it to your chart.
Configuring Settings:
Fast Length & Slow Length: Adjust these to modify the sensitivity of the Chaikin Oscillator. Shorter periods make the oscillator more responsive to price changes.
Left Bars for Pivots & Right Bars for Pivots: Define how many bars to the left and right are considered when identifying pivot points. Increasing these values makes pivot detection less sensitive.
Bars Lookback for Divergence: Set how far back the indicator should search for previous pivot points when identifying divergences. A higher value allows detection over a longer timeframe.
Bullish/Bearish Divergence Colors: Choose colors that stand out against your chart background for easy identification of divergence signals.
Interpreting Signals:
Bullish Divergence Labels: Appear when there's a potential upward reversal, signaling a possible buying opportunity.
Bearish Divergence Labels: Show up when a downward reversal might be imminent, indicating a possible selling opportunity.
Oscillator Crosses Zero: Pay attention to when the oscillator crosses the zero line, as this can also signal changes in momentum.
Combining with Other Indicators:
For enhanced trading strategies, combine divergence signals with other technical indicators or chart patterns to confirm potential trade setups.
Moving Average Percentage DifferenceMoving average is a great tool to identify the asset direction. However, it's hard to see whether the moving average speeds up or slows down from just looking at it. Ideally we want it to go faster as it will show a strong trend. And if it slows down - then the trend becomes weaker. This indicator helps to identify it. Theoretically, it could be shown with an angle of the moving average, but I don't like this idea as the angle depends on the scale: you zoom in and it looks very steep, you zoom out - and it's all flat. But the percentage change is always the percentage, no matter what zoom you use.
It also allows you to set a twilight zone to filter periods when MA does nothing.
Think about this indicator from this perspective: if a normal moving average shows the speed of a trend, then this indicator shows the change of the speed or in other words - acceleration.
Exposure Oscillator (Cumulative 0 to ±100%)
Exposure Oscillator (Cumulative 0 to ±100%)
This Pine Script indicator plots an "Exposure Oscillator" on the chart, which tracks the cumulative market exposure from a range of technical buy and sell signals. The exposure is measured on a scale from -100% (maximum short exposure) to +100% (maximum long exposure), helping traders assess the strength of their position in the market. It provides an intuitive visual cue to aid decision-making for trend-following strategies.
Buy Signals (Increase Exposure Score by +10%)
Buy Signal 1 (Cross Above 21 EMA):
This signal is triggered when the price crosses above the 21-period Exponential Moving Average (EMA), where the current bar closes above the EMA21, and the previous bar closed below the EMA21. This indicates a potential upward price movement as the market shifts into a bullish trend.
buySignal1 = ta.crossover(close, ema21)
Buy Signal 2 (Trending Above 21 EMA):
This signal is triggered when the price closes above the 21-period EMA for each of the last 5 bars, indicating a sustained bullish trend. It confirms that the price is consistently above the EMA21 for a significant period.
buySignal2 = ta.barssince(close <= ema21) > 5
Buy Signal 3 (Living Above 21 EMA):
This signal is triggered when the price has closed above the 21-period EMA for each of the last 15 bars, demonstrating a strong, prolonged uptrend.
buySignal3 = ta.barssince(close <= ema21) > 15
Buy Signal 4 (Cross Above 50 SMA):
This signal is triggered when the price crosses above the 50-period Simple Moving Average (SMA), where the current bar closes above the 50 SMA, and the previous bar closed below it. It indicates a shift toward bullish momentum.
buySignal4 = ta.crossover(close, sma50)
Buy Signal 5 (Cross Above 200 SMA):
This signal is triggered when the price crosses above the 200-period Simple Moving Average (SMA), where the current bar closes above the 200 SMA, and the previous bar closed below it. This suggests a long-term bullish trend.
buySignal5 = ta.crossover(close, sma200)
Buy Signal 6 (Low Above 50 SMA):
This signal is true when the lowest price of the current bar is above the 50-period SMA, indicating strong bullish pressure as the price maintains itself above the moving average.
buySignal6 = low > sma50
Buy Signal 7 (Accumulation Day):
An accumulation day occurs when the closing price is in the upper half of the daily range (greater than 50%) and the volume is larger than the previous bar's volume, suggesting buying pressure and accumulation.
buySignal7 = (close - low) / (high - low) > 0.5 and volume > volume
Buy Signal 8 (Higher High):
This signal occurs when the current bar’s high exceeds the highest high of the previous 14 bars, indicating a breakout or strong upward momentum.
buySignal8 = high > ta.highest(high, 14)
Buy Signal 9 (Key Reversal Bar):
This signal is generated when the stock opens below the low of the previous bar but rallies to close above the previous bar’s high, signaling a potential reversal from bearish to bullish.
buySignal9 = open < low and close > high
Buy Signal 10 (Distribution Day Fall Off):
This signal is triggered when a distribution day (a day with high volume and a close near the low of the range) "falls off" the rolling 25-bar period, indicating the end of a bearish trend or selling pressure.
buySignal10 = ta.barssince(close < sma50 and close < sma50) > 25
Sell Signals (Decrease Exposure Score by -10%)
Sell Signal 1 (Cross Below 21 EMA):
This signal is triggered when the price crosses below the 21-period Exponential Moving Average (EMA), where the current bar closes below the EMA21, and the previous bar closed above it. It suggests that the market may be shifting from a bullish trend to a bearish trend.
sellSignal1 = ta.crossunder(close, ema21)
Sell Signal 2 (Trending Below 21 EMA):
This signal is triggered when the price closes below the 21-period EMA for each of the last 5 bars, indicating a sustained bearish trend.
sellSignal2 = ta.barssince(close >= ema21) > 5
Sell Signal 3 (Living Below 21 EMA):
This signal is triggered when the price has closed below the 21-period EMA for each of the last 15 bars, suggesting a strong downtrend.
sellSignal3 = ta.barssince(close >= ema21) > 15
Sell Signal 4 (Cross Below 50 SMA):
This signal is triggered when the price crosses below the 50-period Simple Moving Average (SMA), where the current bar closes below the 50 SMA, and the previous bar closed above it. It indicates the start of a bearish trend.
sellSignal4 = ta.crossunder(close, sma50)
Sell Signal 5 (Cross Below 200 SMA):
This signal is triggered when the price crosses below the 200-period Simple Moving Average (SMA), where the current bar closes below the 200 SMA, and the previous bar closed above it. It indicates a long-term bearish trend.
sellSignal5 = ta.crossunder(close, sma200)
Sell Signal 6 (High Below 50 SMA):
This signal is true when the highest price of the current bar is below the 50-period SMA, indicating weak bullishness or a potential bearish reversal.
sellSignal6 = high < sma50
Sell Signal 7 (Distribution Day):
A distribution day is identified when the closing range of a bar is less than 50% and the volume is larger than the previous bar's volume, suggesting that selling pressure is increasing.
sellSignal7 = (close - low) / (high - low) < 0.5 and volume > volume
Sell Signal 8 (Lower Low):
This signal occurs when the current bar's low is less than the lowest low of the previous 14 bars, indicating a breakdown or strong downward momentum.
sellSignal8 = low < ta.lowest(low, 14)
Sell Signal 9 (Downside Reversal Bar):
A downside reversal bar occurs when the stock opens above the previous bar's high but falls to close below the previous bar’s low, signaling a reversal from bullish to bearish.
sellSignal9 = open > high and close < low
Sell Signal 10 (Distribution Cluster):
This signal is triggered when a distribution day occurs three times in the rolling 7-bar period, indicating significant selling pressure.
sellSignal10 = ta.valuewhen((close < low) and volume > volume , 1, 7) >= 3
Theme Mode:
Users can select the theme mode (Auto, Dark, or Light) to match the chart's background or to manually choose a light or dark theme for the oscillator's appearance.
Exposure Score Calculation: The script calculates a cumulative exposure score based on a series of buy and sell signals.
Buy signals increase the exposure score, while sell signals decrease it. Each signal impacts the score by ±10%.
Signal Conditions: The buy and sell signals are derived from multiple conditions, including crossovers with moving averages (EMA21, SMA50, SMA200), trend behavior, and price/volume analysis.
Oscillator Visualization: The exposure score is visualized as a line on the chart, changing color based on whether the exposure is positive (long position) or negative (short position). It is limited to the range of -100% to +100%.
Position Type: The indicator also indicates the position type based on the exposure score, labeling it as "Long," "Short," or "Neutral."
Horizontal Lines: Reference lines at 0%, 100%, and -100% visually mark neutral, increasing long, and increasing short exposure levels.
Exposure Table: A table displays the current exposure level (in percentage) and position type ("Long," "Short," or "Neutral"), updated dynamically based on the oscillator’s value.
Inputs:
Theme Mode: Choose "Auto" to use the default chart theme, or manually select "Dark" or "Light."
Usage:
This oscillator is designed to help traders track market sentiment, gauge exposure levels, and manage risk. It can be used for long-term trend-following strategies or short-term trades based on moving average crossovers and volume analysis.
The oscillator operates in conjunction with the chart’s price action and provides a visual representation of the market’s current trend strength and exposure.
Important Considerations:
Risk Management: While the exposure score provides valuable insight, it should be combined with other risk management tools and analysis for optimal trading decisions.
Signal Sensitivity: The accuracy and effectiveness of the signals depend on market conditions and may require adjustments based on the user’s trading strategy or timeframe.
Disclaimer:
This script is for educational purposes only. Trading involves significant risk, and users should carefully evaluate all market conditions and apply appropriate risk management strategies before using this tool in live trading environments.