TVMC - Composite Indicator with Technical RatingsDescription:
The TVMC (Trend, Volume, Momentum, Composite) indicator is a powerful multi-component tool designed to provide traders with a comprehensive understanding of market conditions. By combining four essential technical analysis components—trend, momentum, volume, and volatility—this indicator offers clear and actionable insights to assist in decision-making.
Key Features:
1. Trend Component (TC):
* Based on MACD (Moving Average Convergence Divergence), this component analyzes the relationship between two exponential moving averages (fast and slow) to determine the prevailing market trend.
* The MACD signal is normalized to a range of -1 to +1 for consistency and clarity.
2. Momentum Component (MC):
* Utilizes RSI (Relative Strength Index) to measure the strength and speed of price movements.
* This component highlights overbought or oversold conditions, which may indicate potential market reversals.
3. Volume Confirmation (VC):
* Compares the current trading volume to its moving average over a specified period.
* High volume relative to the average confirms the validity of the current trend.
4. Volatility Filter (VF):
* Uses ATR (Average True Range) to gauge market volatility.
* Adjusts and smooths signals to reduce noise during periods of high volatility.
5. Technical Ratings Integration:
* Incorporates TradingView’s Technical Ratings, allowing users to validate signals using moving averages, oscillators, or a combination of both.
* Users can choose their preferred source of ratings for enhanced signal confirmation.
How It Works:
The TVMC indicator combines the weighted contributions of the Trend, Momentum, and Volume components, further refined by the Volatility Filter. Each component plays a specific role:
* Trend: Identifies whether the market is bullish, bearish, or neutral.
* Momentum: Highlights the strength of price action.
* Volume: Confirms whether the current price action is supported by sufficient trading activity.
* Volatility: Filters out excessive noise in volatile market conditions, providing a smoother and more reliable output.
Visualization:
1. Bullish Signals:
* The indicator line turns green and remains above the zero line, indicating upward momentum.
2. Bearish Signals:
* The indicator line turns red and falls below the zero line, signaling downward momentum.
3. Neutral Signals:
* The line is orange and stays near zero, indicating a lack of strong trend or momentum.
4. Zones:
* Horizontal lines at +30 and -30 mark strong bullish and bearish zones, respectively.
* A zero line is included for clear separation between bullish and bearish signals.
Recommended Usage:
* Best Timeframes: The indicator is optimized for higher timeframes such as 4-hour (H4) and daily (D1) charts.
* Trading Style: Suitable for swing and positional trading.
* Customization: The indicator allows users to adjust all major parameters (e.g., MACD, RSI, volume, and ATR settings) to fit their trading preferences.
Customization Options:
* Adjustable weights for Trend, Momentum, and Volume components.
* Fully configurable settings for MACD, RSI, Volume SMA, and ATR periods.
* Timeframe selection for multi-timeframe analysis.
Important Notes:
1. Originality: The TVMC indicator combines multiple analysis methods into a unique framework. It does not replicate or minimally modify existing indicators.
2. Transparency: The description is detailed enough for users to understand the methodology without requiring access to the code.
3. Clarity: The indicator is explained in a way that is accessible even to users unfamiliar with complex technical analysis tools.
Compliance with TradingView Rules:
* The indicator is written in Pine Script version 5, adhering to TradingView’s language standards.
* The description is written in English to ensure accessibility to the global community, with a clear explanation of all components and functionality.
* No promotional content, links, or unrelated references are included.
* The chart accompanying the indicator is clean and demonstrates its intended use clearly, with no additional indicators unless explicitly explained.
Oscillatori
Multi-Timeframe Confluence IndicatorThe Multi-Timeframe Confluence Indicator strategically combines multiple timeframes with technical tools like EMA and RSI to provide robust, high-probability trading signals. This combination is grounded in the principles of technical analysis and market behavior, tailored for traders across all styles—whether intraday, swing, or positional.
1. The Power of Multi-Timeframe Confluence
Markets are influenced by participants operating on different time horizons:
• Intraday traders act on short-term price fluctuations.
• Swing traders focus on intermediate trends lasting days or weeks.
• Position traders aim to capture multi-month or long-term trends.
By aligning signals from a higher timeframe (macro trend) with a lower timeframe (micro trend), the indicator ensures that short-term entries are in harmony with the broader market direction. This multi-timeframe approach significantly reduces false signals caused by temporary market noise or counter-trend moves.
Example: A bullish trend on the daily chart (higher timeframe) combined with a bullish RSI and EMA alignment on the 15-minute chart (lower timeframe) provides a stronger confirmation than relying on the 15-minute chart alone.
2. Why EMA and RSI Are Essential
Each element of the indicator serves a unique role in ensuring accuracy and reliability:
• EMA (Exponential Moving Average):
• A dynamic trend filter that adjusts quickly to price changes.
• On the higher timeframe, it establishes the overall trend direction (e.g., bullish or bearish).
• On the lower timeframe, it identifies precise entry/exit zones within the trend.
• RSI (Relative Strength Index):
• Adds a momentum-based perspective, confirming whether a trend is backed by strong buying or selling pressure.
• Ensures that signals occur in areas of strength (RSI > 55 for bullish signals, RSI < 45 for bearish signals), filtering out weak or uncertain price movements.
By combining EMA (trend) and RSI (momentum), the indicator delivers confluence-based validation, where both trend and momentum align, making signals more reliable.
3. Cooldown Period for Signal Optimization
Trading in choppy or sideways markets often leads to overtrading and false signals. The cooldown period ensures that once a signal is generated, subsequent signals are suppressed for a defined number of bars. This prevents traders from entering low-probability trades during indecisive market phases, improving overall signal quality.
Example: After a bullish confluence signal, the cooldown period prevents a bearish signal from being triggered prematurely if the market enters a temporary retracement.
4. Use Cases Across Trading Styles
This indicator caters to various trading styles, each benefiting from the confluence of timeframes and technical elements:
• Intraday Trading:
• Use a 1-hour chart as the higher timeframe and a 5-minute chart as the lower timeframe.
• Benefit: Align intraday entries with the hourly trend for higher win rates.
• Swing Trading:
• Use a daily chart as the higher timeframe and a 1-hour chart as the lower timeframe.
• Benefit: Capture multi-day moves while avoiding counter-trend entries.
• Scalping:
• Use a 30-minute chart as the higher timeframe and a 1-minute chart as the lower timeframe.
• Benefit: Enhance scalping efficiency by ensuring short-term trades align with broader intraday trends.
• Position Trading:
• Use a weekly chart as the higher timeframe and a daily chart as the lower timeframe.
• Benefit: Time long-term entries more precisely, maximizing profit potential.
5. Robustness Through Customization
The indicator allows traders to customize:
• Timeframes for higher and lower analysis.
• EMA lengths for trend filtering.
• RSI settings for momentum confirmation.
• Cooldown periods to adapt to market volatility.
This flexibility ensures that the indicator can be tailored to suit individual trading preferences, market conditions, and asset classes, making it a comprehensive tool for any trading strategy.
Why This Mashup Stands Out
The Multi-Timeframe Confluence Indicator is more than a sum of its parts. It leverages:
• EMA’s ability to identify trends, combined with RSI’s insight into momentum, ensuring each signal is well-supported.
• A multi-timeframe perspective that incorporates both macro and micro trends, filtering out noise and improving reliability.
• A cooldown mechanism that prevents overtrading, a common pitfall for traders in volatile markets.
This integration results in a powerful, adaptable indicator that provides actionable, high-confidence signals, reducing uncertainty and enhancing trading performance across all styles.
Stocastic Weekly 4.0 by ScancieitorIndicador Stocastico Semanal con señales de compra e indicación mediante porcentaje acumulado de subida desde la ultima compra.
Incluye alarmas en los puntos de compra y en los cambios de tendencia en zonas de venta
Recomendable usar el grafico principal en periodo diario mientras que el indicador esta configurado para trabajar automaticamente en semanal
* Señal buy (azul) cuando se produce el cambio en zona de sobreventa
* Señal strong buy (negra) cuando se produce una vela roja con el stocastico indicando señal de compra en zona de sobreventa
MultiTime Stochastics ProMultiTime Stochastics Pro
This indicator is an enhanced version of the stochastic indicator, featuring two separate stochastics. This functionality allows you to adjust the settings and time frame for each stochastic individually, enabling a more precise analysis of market fluctuations.
The Double Stochastic indicator enables you to simultaneously analyze the market in different time frames with two separate stochastics. One of the standout features of this indicator is that when the chart's time frame changes, each stochastic is displayed according to the time set for it and does not change in other time frames. This feature provides greater flexibility and accuracy in market analysis.
How the Indicator Works
This indicator calculates two separate stochastics:
The first stochastic (K1 and D1) with its own specific time frame and settings.
The second stochastic (K2 and D2) with a different time frame and settings.
These two stochastics are displayed simultaneously on one chart, and overbought and oversold lines are also included.
How to Use
Parameter Adjustment : Adjust the parameters K1 Length, D1 Smoothing, and K1 Time Frame as desired. Do the same for the second stochastic.
Signal Analysis : Analyze buy and sell signals based on the stochastic values and the overbought and oversold lines.
Advantages
Greater Precision : With two separate stochastics, you can follow market fluctuations with greater accuracy.
Flexibility : The ability to individually set the time frame and parameters for each stochastic makes this indicator highly flexible.
Stronger Signals : The simultaneous display of two stochastics allows you to receive stronger buy and sell signals.
Multi-time frame Analysis : The ability to analyze the market in different time frames simultaneously.
This indicator is suitable for traders seeking more precise and flexible market analysis tools. I hope these explanations help you publish your indicator in the best possible way!
Waldo RSI :oWaldo RSI :o Indicator Guide
The Waldo RSI :o indicator is designed to complement the "Waldo RSI Overlay :o" by providing an RSI-based analysis on TradingView, focusing on macro shifts in market trends. Here's a comprehensive guide on how to use this indicator:
Key Features:
RSI Settings:
RSI Source: Choose from ON RSI, ON HIGH, ON LOW, ON CLOSE, or ON OPEN to determine how RSI calculates pivots.
RSI Settings:
Source: Default is (H+L)/2, but you can select any price for RSI calculation.
Length: Default RSI length is 7, which can be adjusted for sensitivity.
Trend Lines:
Show Trend Lines: Option to display trend lines based on RSI pivot points.
Zigzag Length: Determines pivot point sensitivity.
Confirm Length: Validates pivot points (default is 3).
Colors: Customize colors for Higher Highs (HH), Lower Highs (LH), Higher Lows (HL), and Lower Lows (LL) on the RSI.
Label Size and Line Width: Adjust the appearance of labels and lines.
Divergences:
Classic Divergences:
Show Classic Div: Toggle to reveal divergences where RSI and price move in opposite directions.
Colors: Set different colors for bullish and bearish divergence indicators.
Transparency and Line Width: Control the visual impact of divergence signals.
Hidden Divergences:
Similar settings for identifying hidden divergences, suggest trend continuation.
Breakout/Breakdown:
Show Breakout/Breakdown: Generates signals for RSI breakouts or breakdowns, used by "Waldo RSI Overlay :o" for visual chart signals.
Overbought/Oversold Zones:
Show Overbought and OverSold Zones: Highlights when RSI goes above 70 (overbought) or below 30 (oversold).
Moving Averages on RSI:
The default Moving Average (MA) settings are tailored to capture macro shifts in market trends:
Show Moving Averages: Option to overlay two MAs on the RSI for trend confirmation:
Fast RSI MA:
RSI Period: 50 (this is the period over which the RSI is calculated).
MA Length: 50 (the number of periods used for the moving average of the RSI).
Slow RSI MA:
RSI Period: 50 (same as fast for consistency in RSI calculation).
MA Length: 200 (longer term for capturing broader trends).
Crossover Signals: The RSI changes color from red to green based on these moving average crossovers:
When the Fast MA (50 period) crosses above the Slow MA (200 period), the RSI turns green, indicating potential bullish conditions or momentum shift.
Conversely, when the Fast MA crosses below the Slow MA, the RSI turns red, suggesting bearish conditions or a shift back towards a downtrend.
This 50-period RSI crossover setting is used to identify overall macro shifts in the market, providing a clear visual cue for traders looking at longer-term trends.
Ghost Lines (Optional):
Ghost Lines: Option to limit how far RSI trend lines extend, helping to keep the chart less cluttered.
How to Use the Indicator:
Setup:
Configure RSI by choosing the source and setting the length to match your trading style.
Set the zigzag and confirm lengths for appropriate pivot detection.
Trend Analysis:
Monitor the RSI for trend changes using the colored trend lines and labels.
Divergence Detection:
Look for RSI and price divergences to anticipate potential reversals or continuations.
Breakout/Breakdown:
Use these signals in conjunction with "Waldo RSI Overlay :o" for price action confirmation.
Overbought/Oversold:
Identify when the market might be due for a correction or continued momentum.
Moving Averages:
Focus on the color changes in RSI to understand macro trend shifts with the default 50/200 period setup.
Ghost Lines:
Enable for a cleaner chart if you don't need trend lines extending indefinitely.
Usage Tips:
Combine with other indicators for confirmation, as no single tool is foolproof.
Adjust settings to suit different market conditions or trading timeframes.
Use in tandem with "Waldo RSI Overlay :o" for a full trading signal system.
Remember, trading involves significant risk, and historical data does not guarantee future performance. Use this indicator as part of a broader trading strategy.
Waldo RSI Overlay :oWaldo RSI Overlay :o Indicator Guide
Welcome to the guide for the Waldo RSI Overlay :o indicator on TradingView. This tool enhances your trading analysis through RSI-based overlays for trend analysis, divergence detection, and breakout/breakdown signals when used with its companion indicator, Waldo RSI :o.
Key Features:
RSI Overlay:
• RSI Source: Choose from:
o ON RSI: Uses the RSI values directly to detect pivots, focusing on RSI highs and lows for trend analysis.
o ON HIGH, ON CLOSE, ON LOW, ON OPEN:
These options base pivot detection on price action at those specific points, offering an alternative market structure view.
• RSI Settings:
o Source: Default is (H+L)/2, but you can select any price for RSI calculation.
o Length: Default RSI length is 7, which you can adjust for sensitivity.
Trend Lines:
• Show Trend Lines: Toggle to display trend lines based on pivot points.
• Zigzag Length: Sets the sensitivity of pivot point detection.
• Confirm Length: Ensures the validity of pivot points (default is 3).
• Colors: Customize colors for Higher Highs (HH), Lower Highs (LH), Higher Lows (HL), and Lower Lows (LL).
• Transparency and Line Width: Control how trend lines and fills appear.
• Label Size: Adjust the size of labels identifying pivot points.
Divergences:
• Classic Divergences:
o Show Classic Div: Enable to highlight regular divergences where price and RSI move in opposite directions.
o Colors: Define colors for bullish and bearish divergence lines and labels.
o Transparency and Line Width: Adjust the visual impact of divergence signals.
• Hidden Divergences:
o Similar settings as classic, but these highlight divergences indicating trend continuation.
Breakout/Breakdown:
• Show Breakout/Breakdown: When activated, this feature signals when the price breaks through previous highs or lows. To activate these breakouts, you need the companion indicator Waldo RSI :o, select the SRC in the External section, and select the crossovers for each one.
This combination provides RSI confirmation for breakout/breakdown events.
Overbought/Oversold Zones:
• Show Overbought and Oversold Zones: Bars are colored when RSI exceeds 70 (purple) or falls below 30 (blue), indicating potential market extremes.
Moving Averages (Optional):
• Show Moving Averages: Option to overlay two moving averages for trend confirmation.
• Source, Type, Length: Customize each MA's configuration.
Ghost Lines (Optional):
• Ghost Lines: When enabled, trend lines extend for only a specified period (Ghost Length) instead of indefinitely.
How to Use the Indicator:
1. Setup:
o Configure RSI settings by choosing the RSI Source and adjusting the RSI Length to suit your trading style.
o Set the Zigzag Length and Confirm Length for trend line sensitivity based on market volatility.
2. Trend Analysis:
o Look at the colored horizontal lines and fills for HH, LH, HL, LL to discern market structure and potential reversal points.
3. Divergence Detection:
o Identify divergences where price and RSI diverge. Regular divergences might signal trend exhaustion, while hidden ones could indicate trend persistence.
4. Breakout/Breakdown Signals:
o Ensure you have both the Waldo RSI Overlay :o and Waldo RSI :o indicators applied. Green triangles below bars signal breakouts; red ones above indicate breakdowns, based on price movement with RSI confirmation from the companion indicator.
5. Overbought/Oversold:
o Use these colored zones to spot potential momentum shifts or reversal areas.
6. Moving Averages on RSI:
o If used, these can help confirm trends or identify crossover signals for additional trade confirmation.
7. Ghost Lines:
o For a less cluttered chart, enable this to limit how far trend lines extend.
Tips for Usage:
• Always combine this indicator with other analytical tools for better confirmation. No single indicator should guide all decisions.
• Adjust settings according to the asset's behavior and your trading timeframe.
• Regularly review your settings as market dynamics change.
Remember, trading involves risk, and past performance doesn't predict future outcomes. Use this indicator within a comprehensive trading strategy.
Multiple Values TableThis Pine Script indicator, named "Multiple Values Table," provides a comprehensive view of various technical indicators in a tabular format directly on your trading chart. It allows traders to quickly assess multiple metrics without switching between different charts or panels.
Key Features:
Table Position and Size:
Users can choose the position of the table on the chart (e.g., top left, top right).
The size of the table can be adjusted (e.g., tiny, small, normal, large).
Moving Averages:
Calculates the 5-day Exponential Moving Average (5DEMA) using daily data.
Calculates the 5-week and 20-week EMAs (5WEMA and 20WEMA) using weekly data.
Indicates whether the current price is above or below these moving averages in percentage terms.
Drawdown and Williams VIX Fix:
Computes the drawdown from the 365-day high to the current close.
Calculates the Williams VIX Fix (WVF), which measures the volatility of the asset.
Shows both the current WVF and a 2% drawdown level.
Relative Strength Index (RSI):
Displays the current RSI and compares it to the RSI from 14 days ago.
Indicates whether the RSI is increasing, decreasing, or flat.
Stochastic RSI:
Computes the Stochastic RSI and compares it to the value from 14 days ago.
Indicates whether the Stochastic RSI is increasing, decreasing, or flat.
Normalized MACD (NMACD):
Calculates the Normalized MACD values.
Indicates whether the MACD is increasing, decreasing, or flat.
Awesome Oscillator (AO):
Calculates the AO on a daily timeframe.
Indicates whether the AO is increasing, decreasing, or flat.
Volume Analysis:
Displays the average volume over the last 22 days.
Shows the current day's volume as a percentage of the average volume.
Percentile Calculations:
Calculates the current percentile rank of the WVF and ATH over specified periods.
Indicates the percentile rank of the current volume percentage over the past period.
Table Display:
All these values are presented in a neatly formatted table.
The table updates dynamically with the latest data.
Example Use Cases:
Comprehensive Market Analysis: Quickly assess multiple indicators at a glance.
Trend and Momentum Analysis: Identify trends and momentum changes based on various moving averages and oscillators.
Volatility and Drawdown Monitoring: Track volatility and drawdown levels to manage risk effectively.
This script offers a powerful tool for traders who want to have a holistic view of various technical indicators in one place. It provides flexibility in customization and a user-friendly interface to enhance your trading experience.
Matrix Series and Vix Fix with VWAP CCI and QQE SignalsMatrix Series and Vix Fix with VWAP CCI and QQE Signals
Short Title: Advanced Matrix
Purpose
This Pine Script combines multiple technical analysis tools to create a comprehensive trading indicator. It incorporates elements like support/resistance zones, overbought/oversold conditions, Williams Vix Fix, QQE (Quantitative Qualitative Estimation) signals, VWAP CCI signals, and a 200-period SMA for trend filtering. The goal is to provide actionable buy and sell signals with enhanced visualization.
Key Features and Components
1. Matrix Series
Smoothing Input: Allows customization of EMA smoothing for the indicator (default: 5).
Support/Resistance Zones: Based on CCI (Commodity Channel Index) values.
Dynamic zones calculated with customizable parameters (SupResPeriod, SupResPercentage, PricePeriod).
Candlestick Visualization: Custom candlestick plots with colors indicating trends.
Dynamic levels for overbought/oversold conditions.
2. Overbought/Oversold Signals
Overbought and oversold levels are adjustable (ob and os).
Plots circles on the chart to highlight extreme conditions.
3. Williams Vix Fix
Identifies potential reversal points by analyzing volatility.
Uses Bollinger Bands and percentile thresholds to detect high-probability entries.
Includes two alert levels (alert1 and alert2) with customizable criteria for signal filtering.
4. QQE Signals
Based on the smoothed RSI and QQE methodology.
Detects trend changes using adaptive ATR bands (FastAtrRsiTL).
Plots long and short signals when specific conditions are met.
5. VWAP CCI Signals
Combines VWAP and CCI for additional trade signals.
Detects crossovers and crossunders of CCI levels (-200 and 200) to generate long and short signals.
6. 200 SMA
A 200-period simple moving average is plotted to act as a trend filter.
The script rules recommend buying only when the price is above the SMA200.
Customizable Inputs
General:
Smoothing, support/resistance periods, overbought/oversold levels.
Williams Vix Fix:
Lookback periods, Bollinger Band settings, percentile thresholds.
QQE:
RSI length, smoothing factor, QQE factor, and threshold values.
VWAP CCI:
Length for calculating deviations.
Visual Elements
Dynamic candlestick colors to indicate trend direction.
Overbought/oversold circles for extreme price levels.
Resistance and support lines.
Labels and shapes for buy/sell signals from Vix Fix, QQE, and VWAP CCI.
Alerts
Alerts are configured for the Matrix Series (e.g., "BUY MATRIX") and other components, ensuring traders are notified when significant conditions are met.
Intended Use
This indicator is designed for traders seeking a multi-faceted tool to analyze market trends, identify potential reversal points, and generate actionable trading signals. It combines traditional indicators with advanced techniques for comprehensive market analysis.
Strength Measurement -HTStrength Measurement -HT
This indicator provides a comprehensive view of trend strength by calculating the average ADX (Average Directional Index) across multiple timeframes. It helps traders identify strong trends, potential reversals, and confirm signals from other indicators.
Key Features:
Multi-Timeframe Analysis: Analyze trend strength across different timeframes. Choose which timeframes to include in the calculation (5 min, 15 min, 30 min, 1 hour, 4 hour).
Customizable ADX Parameters: Adjust the ADX smoothing (adxlen) and DI length (dilen) parameters to fine-tune the indicator to your preferred settings.
Smoothed Average ADX: The average ADX is smoothed using a Simple Moving Average to reduce noise and provide a clearer picture of the overall trend.
Color-Coded Visualization: The histogram clearly indicates trend direction and strength:
Green: Uptrend
Red: Downtrend
Darker shades: Stronger trend
Lighter shades: Weaker trend
Reference Levels: Includes horizontal lines at 25, 50, and 75 to provide benchmarks for trend strength classification.
Alerts: Set alerts for strong trend up (ADX crossing above 50) and weakening trend (ADX crossing below 25).
How to Use:
Select Timeframes: Choose the timeframes you want to include in the average ADX calculation.
Adjust ADX Parameters: Fine-tune the adxlen and dilen values based on your trading style and the timeframe of the chart.
Identify Strong Trends: Look for histogram bars with darker green or red colors, indicating a strong trend.
Spot Potential Reversals: Watch for changes in histogram color and height, which may suggest a weakening trend or a potential reversal.
Combine with Other Indicators: Use this indicator with other technical analysis tools to confirm trading signals.
Note: This indicator is based on the ADX, which is a lagging indicator.
Multiasset MVRVZ - MVRVZ for Multiple Crypto Assets [Da_Prof]This indicator shows the Market Value-Realized Value Z-score (MVRVZ) for Multiple Assets. The MVRV-Z score measures the value of a crypto asset by comparing its market cap to the realized value and dividing by the standard deviation of the market cap (market cap – realized cap) / stdev(market cap) to get a z-score. When the market value is significantly higher than the realized value, the asset may be considered "overvalued". Conversely, market values below the realized value may indicate the asset is "undervalued". For some assets (e.g., BTC) historically high values have generally signaled price tops and historically low values have signaled bottoms.
The indicator displays two lines: 1) the MVRV-Z of the current chart symbol if the data is available through Coin Metrics (this is displayed in light blue), and 2) the MVRV-Z of the symbol selected from the dropdown (displayed in orange). The MVRV-Z of BTC is the default selected orange line. The example chart shows CRYPTOCAP:ETH 's MVRV-Z in blue and CRYPTOCAP:BTC 's MVRV-Z in orange.
The MVRV-Z in this indicator is calculated on the weekly and will display consistently on lower timeframes. Some MVRV-Z indicators calculate this value from collection of all data from the beginning of the chart on the timeframe of the chart. This creates inconsistency in the standard deviation calculation and ultimately the z-score calculation when moving between time frames. This indicator calculates MVRV-Z based on the set number of weeks prior from the source data directly (default is two years worth of weekly data). This allows consistent MVRV-Z values on weekly and lower timeframes.
PDF MA For Loop [BackQuant]PDF MA For Loop
Introducing the PDF MA For Loop, an innovative trading indicator that combines Probability Density Function (PDF) smoothing with a dynamic for-loop scoring mechanism. This advanced tool provides traders with precise trend-following signals, helping to identify long and short opportunities with improved clarity and adaptability to market conditions.
If you would like to check out the stand alone PDF Moving Average:
Core Concept: Probability Density Function (PDF) Smoothing
The PDF smoothing method is a unique approach that applies adaptive weights to price data based on a Probability Density Function. This ensures that recent data points receive appropriate emphasis while maintaining a smooth transition across the data set. The result is a moving average that is not only smoother but also more responsive to market changes.
Key parameters in PDF smoothing:
Variance : Controls the spread of the PDF, where a higher value results in broader smoothing and a lower value makes the moving average more sensitive.
Mean : Centers the PDF around a specific value, influencing the weighting and responsiveness of the smoothing process.
By combining PDF smoothing with traditional moving averages (EMA or SMA), the indicator creates a hybrid signal that balances responsiveness and reliability.
For-Loop Scoring Mechanism
At the heart of this indicator is the for-loop scoring mechanism, which evaluates the smoothed PDF moving average over a defined range of historical data points. This process assigns a score to the current market condition based on whether the PDF moving average is greater than or less than previous values.
Long Signal: A long signal is generated when the score exceeds the Long Threshold (default set at 40), indicating upward momentum.
Short Signal: A short signal is triggered when the score crosses below the Short Threshold (default set at -10), suggesting potential downward momentum.
This dynamic scoring system ensures that the indicator remains adaptive, capturing trends and shifts in market sentiment effectively.
Customization Options
The PDF MA For Loop includes a variety of customizable settings to fit different trading styles and strategies:
Calculation Settings
Price Source : Select the input price for the calculation (default is the close price).
Smoothing Method : Choose between EMA or SMA for the additional smoothing layer, providing flexibility to adapt to market conditions.
Smoothing Period : Adjust the lookback period for the smoothing function, with shorter periods providing more sensitivity and longer periods offering greater stability.
Variance & Mean : Fine-tune the PDF function parameters to control the weighting of the smoothing process.
Signal Settings
Thresholds : Customize the upper and lower thresholds to define the sensitivity of the long and short signals.
For Loop Range : Set the range of historical data points analyzed by the for-loop, influencing the depth of the scoring mechanism.
UI Settings
Signal Line Width: Adjust the thickness of the plotted signal line for better visibility.
Candle Coloring: Enable or disable the coloring of candlesticks based on trend direction (green for long, red for short, gray for neutral).
Background Coloring: Add background shading to highlight long and short signals for an enhanced visual experience.
Alerts and Automation
The indicator includes built-in alert conditions to notify traders of important market events:
Long Signal Alert: Notifies when the score exceeds the upper threshold, indicating a bullish trend.
Short Signal Alert: Notifies when the score crosses below the lower threshold, signaling a bearish trend.
These alerts can be configured for real-time notifications, allowing traders to respond quickly to market changes without constant chart monitoring.
Trading Applications
The PDF MA For Loop is versatile and can be applied across various trading strategies and market conditions:
Trend Following: The PDF smoothing method combined with for-loop scoring makes this indicator particularly effective for identifying and following trends.
Reversal Trading: By observing the thresholds and score, traders can anticipate potential reversals when the trend shifts from long to short (or vice versa).
Risk Management: The dynamic thresholds and scoring provide clear signals, allowing traders to enter and exit trades with greater confidence and precision.
Final Thoughts
The PDF MA For Loopis merges advanced mathematical concepts with practical trading tools. By leveraging Probability Density Function smoothing and a dynamic for-loop scoring system, it provides traders with clear, actionable signals while adapting to market conditions.
Whether you’re looking for an edge in trend-following strategies or seeking precision in identifying reversals, this indicator offers the flexibility and power to enhance your trading decisions
As always, backtesting and integrating the PDF MA For Loop into a comprehensive trading strategy is recommended for optimal performance, as no single indicator should be used in isolation.
Thus following all of the key points here are some sample backtests on the 1D Chart
Disclaimer: Backtests are based off past results, and are not indicative of the future.
INDEX:BTCUSD
INDEX:ETHUSD
BINANCE:SOLUSD
Money Maykah -- MA slopesThe idea behind this script is to play with the idea of summing integration (IT) and differentiation (DT) of a T3 signal (smoothed with sma or ema). The sum is IT + DT.
Obviously this is not exactly these mathematical concepts, but what occurs is that it generates an oscillator that somewhat gets rid of skew in the oscillations in the market.
There is a signal IDE which sums the full IT + DT which shows a longer term oscillation. This will have a much larger range of numbers in amplitude so it may be a little annoying to move the scale around by hand. I don't care to fix this right now but I'm sure it can be done quite easily for someone else.
I was also playing with the idea of using a Normalization oscillator with this and seeing how the two compare and whether they could be used in some sort of strategy. Both have unpredictable behaviors but hey the market is unpredictable so have at it!
Quartile For Loop [SeerQuant]Quartile For Loop (QFL)
- The Quartile For Loop (QFL) is an advanced trend-following and scoring oscillator designed to detect momentum shifts and trend transitions using a quartile-based analysis. By leveraging quartile calculations and iterative scoring logic, QFL delivers dynamic trend signals which can be tailored to suit various market conditions.
--------------------------------------------------------------------------------------------------
⚙️ How It Works
1️⃣ Quartile-Based Calculation
The indicator calculates the weighted average of the first quartile (Q1), median (Q2), and third quartile (Q3) over a customizable length, providing a robust adaptive trend value.
2️⃣ For Loop Scoring System
A unique for-loop structure iteratively scores each quartile value against historical data, delivering actionable trend signals. Users can toggle between price-based and quartile-based scoring methods for flexibility.
3️⃣ Threshold Logic
Bullish (Uptrend): Score exceeds the positive threshold.
Bearish (Downtrend): Score falls below the negative threshold.
Neutral: Score remains between thresholds.
4️⃣ Visual Trend Enhancements
Optional candle coloring and a color-coded SMA provide clear visual cues for identifying trend direction. The adaptive quartile is dynamically updated to reflect changing market conditions.
--------------------------------------------------------------------------------------------------
✨ Customizable Settings
Indicator Inputs
Quartile Length: Define the calculation length for quartile analysis.
Calculation Source: Choose the data source for quartile calculations (e.g., close price).
Alternate Signal: Toggle between price-based and quartile-based scoring.
Loop Settings
Start/End Points: Set the range for the for-loop scoring system.
Thresholds: Customize uptrend and downtrend thresholds.
Style Settings
Candle Coloring: Enable optional trend-based candle coloring.
Color Schemes: Select from five unique palettes for trend visualization.
--------------------------------------------------------------------------------------------------
🚀 Features and Benefits
Quartile-Driven Analysis: Harnesses the statistical power of quartiles for adaptive trend evaluation.
Dynamic Scoring: Iterative scoring logic adjusts to market fluctuations.
Clear Visual Representation: Color-coded histograms, candles, and trendlines enhance readability.
Fully Customizable: Flexible inputs allow adaptation to diverse trading styles and strategies.
--------------------------------------------------------------------------------------------------
📜 Disclaimer
This indicator is for educational purposes only and does not constitute financial advice. Market analysis is inherently speculative and subject to risk. Users should consult a licensed financial advisor before making trading decisions. Use at your own discretion.
--------------------------------------------------------------------------------------------------
RSI MACD Combined Color StrategyOverview
This indicator combines RSI and MACD signals to create a powerful visual trading system, inspired by TrendSpider's AI Strategy Coder examples. It colors candles based on the alignment of three key technical conditions, providing clear visual signals for potential trend strength and direction.
Technical Components
Core Conditions
RSI (Relative Strength Index) > 50
Indicates bullish momentum when price is trading above the centerline
Traditional indicator of trend strength
MACD Line > Signal Line
Shows positive momentum
Classic signal for potential upward movement
MACD Line > 0
Confirms bullish territory
Indicates overall positive momentum
Color Coding System
🟢 Green Candles: All three conditions are met
Strongest bullish signal
Suggests high probability trading opportunities
⚪ Grey Candles: One or two conditions are met
Neutral or transitioning market
Suggests caution or waiting for stronger confirmation
🔴 Red Candles: No conditions are met
Bearish signal
Suggests potential downward pressure
How to Use This Indicator
For Entry Signals
Look for transitions from red or grey to green candles
Green candles suggest strong bullish alignment
Consider entering long positions when candles turn green
For Exit Signals
Watch for color transitions from green to grey or red
Consider taking profits when candles change from green to grey
Consider stop losses when candles turn red
Risk Management
Use color transitions as part of your broader strategy
Don't rely solely on color changes for trading decisions
Combine with other technical analysis tools and risk management practices
Customizable Parameters
RSI Length (default: 14)
MACD Fast Length (default: 12)
MACD Slow Length (default: 26)
MACD Signal Length (default: 9)
Best Practices
Use multiple timeframes for confirmation
Look for confluences with support/resistance levels
Consider volume and market context
Start with default settings and adjust based on your trading style
Backtest different parameter combinations
Notes
This indicator works best in trending markets
Grey candles can indicate transition periods
Consider market conditions and volatility when interpreting signals
Credits
Inspired by TrendSpider's AI Strategy Coder examples and adapted for TradingView using Pine Script v5.
Disclaimer
This technical indicator is for informational purposes only. Always conduct your own analysis and consider risk management principles before making trading decisions. Past performance does not guarantee future results.
PV's Dual RSI Crossover StrategyIntroduction to the Dual RSI Two-Cross Indicator
The Relative Strength Index (RSI) is a widely used technical indicator in finance that measures the magnitude of recent price changes to determine overbought or oversold conditions. The RSI Two-Cross indicator takes this concept a step further by introducing a unique twist: it plots two RSI lines with different lengths and generates alerts based on their crossovers.
Key Features:
Dual RSI Lines: The indicator plots two RSI lines with user-defined lengths, allowing traders to compare the short-term and long-term momentum of an asset.
Crossover Alerts: The indicator generates alerts when the shorter RSI line crosses above or below the longer RSI line, indicating potential trend reversals or continuations.
Customizable Parameters: Users can adjust the lengths of the RSI lines, oversold and overbought levels, and other parameters to suit their trading strategy and asset of choice.
Visual Aids: The indicator features colored bars and backgrounds to highlight crossover events, making it easy to identify trading opportunities at a glance.
Trading Applications:
Trend Reversal Detection: The RSI Two-Cross indicator can help traders identify potential trend reversals by monitoring crossovers between the two RSI lines.
Momentum Confirmation: The indicator can be used to confirm momentum shifts in an asset's price, helping traders to filter out false signals and make more informed trading decisions.
Scalping and Day Trading: The indicator's short-term focus makes it suitable for scalping and day trading strategies, where traders aim to capitalize on small price movements.
By combining the versatility of the RSI with the power of crossover analysis, the RSI Two-Cross indicator offers a unique perspective on market momentum and trend dynamics. Whether you're a seasoned trader or just starting out, this indicator can help you navigate the markets with greater confidence and precision.
ROC-Weighted MA Oscillator [SeerQuant]ROC-Weighted MA Oscillator (ROCWMA)
The ROC-Weighted MA Oscillator (ROCWMA) is a momentum-based indicator which uniquely combines the Rate of Change (ROC) with customizable moving averages, offering a dynamic oscillator for trend analysis. Featuring z-score normalization and weighted MA integration, the ROCWMA delivers actionable trend signals with customizable thresholds.
--------------------------------------------------------------------------------------------------
⚙️ How It Works
1️⃣ Rate of Change (ROC) Normalization
The indicator begins with a normalized ROC calculation over a customizable length, transforming raw momentum data into a dynamic range for enhanced analysis.
2️⃣ Weighted Moving Average (MA)
A custom moving average (MA) is calculated using selectable MA types such as TEMA, SMA, EMA, and more. The normalized ROC is then applied as a weight to derive the ROC-Weighted MA (RWMA), blending trend and momentum data.
3️⃣ Z-Score Oscillator
The RWMA is normalized using z-score calculations, resulting in a smoothed oscillator. This process highlights deviations from the mean, identifying overbought and oversold conditions dynamically.
4️⃣ Threshold Logic
Bullish (Uptrend): Oscillator exceeds the positive threshold.
Bearish (Downtrend): Oscillator drops below the negative threshold.
Neutral: Oscillator remains between thresholds.
5️⃣ Dynamic Visual Representation
A color-coded histogram reflects trend strength and direction.
Optional candle coloring visually emphasizes trends on the chart.
Gradient fills enhance clarity of threshold areas.
--------------------------------------------------------------------------------------------------
✨ Customizable Settings
ROC Settings
Define the ROC length for momentum calculation.
MA Settings
Choose from multiple MA types (TEMA, EMA, SMA, etc.).
Customize the length and data source for MA calculations.
Adjust the signal length for smoothing.
Threshold Settings
Set neutral, bullish, and bearish thresholds to match your strategy.
Style Settings
Toggle candle coloring for visual trend enhancement.
Select from five unique color schemes to suit your chart style.
--------------------------------------------------------------------------------------------------
🚀 Features and Benefits
Momentum-Weighted Analysis: Combines ROC with advanced moving averages for precise trend evaluation.
Dynamic Thresholds: Z-score-based logic adapts to market conditions.
Visual Clarity: Color-coded histograms, candles, and gradient fills make trend detection intuitive.
Highly Customizable: Flexible inputs and multiple MA types ensure adaptability to various trading styles.
--------------------------------------------------------------------------------------------------
📜 Disclaimer
This indicator is for educational purposes only and does not constitute financial advice. Past performance is not indicative of future results. Users should consult a licensed financial advisor before making trading decisions. Use at your own risk.
--------------------------------------------------------------------------------------------------
RSI Volatility Suppression Zones [BigBeluga]RSI Volatility Suppression Zones is an advanced indicator that identifies periods of suppressed RSI volatility and visualizes these suppression zones on the main chart. It also highlights breakout dynamics, giving traders actionable insights into potential market momentum.
🔵 Key Features:
Detection of Suppression Zones:
Identifies periods where RSI volatility is suppressed and marks these zones on the main price chart.
Breakout Visualization:
When the price breaks above the suppression zone, the box turns aqua, and an upward label is drawn to indicate a bullish breakout.
If the price breaks below the zone, the box turns purple, and a downward label is drawn for a bearish breakout.
Breakouts accompanied by a "+" label represent strong moves caused by short-lived, tight zones, signaling significant momentum.
Wave Labels for Consolidation:
If the suppression zone remains unbroken, a "wave" label is displayed within the gray box, signifying continued price stability within the range.
Gradient Intensity Below RSI:
A gradient strip below the RSI line increases in intensity based on the duration of the suppressed RSI volatility period.
This visual aid helps traders gauge how extended the low volatility phase is.
🔵 Usage:
Identify Breakouts: Use color-coded boxes and labels to detect breakouts and their direction, confirming potential trend continuation or reversals.
Evaluate Market Momentum: Leverage "+" labels for strong breakout signals caused by short suppression phases, indicating significant market moves.
Monitor Price Consolidation: Observe gray boxes and wave labels to understand ongoing consolidation phases.
Analyze RSI Behavior: Utilize the gradient strip to measure the longevity of suppressed volatility phases and anticipate breakout potential.
RSI Volatility Suppression Zones provides a powerful visual representation of RSI volatility suppression, breakout signals, and price consolidation, making it a must-have tool for traders seeking to anticipate market movements effectively.
Relative Risk MetricOVERVIEW
The Relative Risk Metric is designed to provide a relative measure of an asset's price, within a specified range, over a log scale.
PURPOSE
Relative Position Assessment: Visualizes where the current price stands within a user-defined range, adjusted for log scale.
Logarithmic Transformation: Utilizes the natural log to account for a log scale of prices, offering a more accurate representation of relative positions.
Calculation: The indicator calculates a normalized value via the function Relative Price = / log(UpperBound) − log(LowerBound) . The result is a value between 0 and 1, where 0 corresponds to the lower bound and 1 corresponds to the upper bound on a log scale.
VISUALIZATION
The indicator plots three series:
Risk Metric - a plot of the risk metric value that’s computed from an asset's relative price so that it lies within a logarithmic range between 0.0 & 1.0.
Smoothed Risk Metric - a plot of the risk metric that’s been smoothed.
Entry/Exit - a scatter plot for identified entry and exit. Values are expressed as percent and are coded as red being exit and green being entity. E.g., a red dot at 0.02 implies exit 2% of the held asset. A green dot at 0.01 implies use 1% of a designated capital reserve.
USAGE
Risk Metric
The risk metric transformation function has several parameters. These control aspects such as decay, sensitivity, bounds and time offset.
Decay - Acts as an exponent multiplier and controls how quickly dynamic bounds change as a function of the bar_index.
Time Offset - provides a centering effect of the exponential transformation relative to the current bar_index.
Sensitivity - controls how sensitive to time the dynamic bound adjustments should be.
Baseline control - Serves as an additive offset for dynamic bounds computation which ensures that bounds never become too small or negative.
UpperBound - provides headroom to accomodate growth an assets price from the baseline. For example, an upperbound of 3.5 accommodates a 3.5x growth from the baseline value (e.g., $100 -> $350).
LowerBound - provides log scale compression such that the overall metric provides meaningful insights for prices well below the average whilst avoiding extreme scaling. A lowerbound of 0.25 corresponds to a price that is approx one quarter of a normalised baseline in a log context.
Weighted Entry/Exit
This feature provides a weighted system for identifying DCA entry and exit. This weighting mechanism adjusts the metric's interpretation to highlight conditions based on dynamic thresholds and user-defined parameters to identify high-probability zones for entry/exit actions and provide risk-adjusted insights.
Weighting Parameters
The weighting function supports fine-tuning of the computed weighted entry/exit values
Base: determines the foundational multiplier for weighting the entry/exit value. A higher base amplifies the weighting effect, making the weighted values more pronounced. It acts as a scaling factor to control the overall magnitude of the weighting.
Exponent: adjusts the curve of the weighting function. Higher exponent values increase sensitivity, emphasizing differences between risk metric values near the entry or exit thresholds. This creates a steeper gradient for the computed entry/exit value making it more responsive to subtle shifts in risk levels.
Cut Off: specifies the maximum percentage (expressed as a fraction of 1.0) that the weighted entry/exit value can reach. This cap ensures the metric remains within a meaningful range and avoids skewing
Exit condition: Defines a threshold for exit. When the risk metric is below the exit threshold (but above the entry threshold) then entry/exit is neutral.
Entry condition: Defines a threshold for entry. When the risk metric is above the entry threshold (but below the exit threshold) then entry/exit is neutral.
Weighting Behaviour
For entry conditions - value is more heavily weighted as the metric approaches the entry threshold, emphasizing lower risk levels.
For exit conditions - value is more heavily weighted as the metric nears the exit threshold, emphasizing increased risk levels.
USE-CASES
Identifying potential overbought or oversold conditions within the specified logarithmic range.
Assisting in assessing how the current price compares to historical price levels on a logarithmic scale.
Guiding decision-making processes by providing insights into the relative positioning of prices within a log context
CONSIDERATIONS
Validation: It's recommended that backtesting over historical data be done before acting on any identified entry/exit values.
User Discretion: This indicator focus on price risk. Consider other risk factors and general market conditions as well.
MCDX_SignalThe MCDX indicator (Market Cycle Dynamic Index) is a technical indicator developed by Trung Pham. It is a tool used for analyzing the stock market, often utilized to identify big money flow (Big Money) and evaluate the strength of individual stocks or the overall market.
MCDX is known for its distinctive histogram chart with red and green bars. The red bars typically represent the inflow of big money, while the green bars indicate small money flow or outflows.
[blackcat] L1 Small Wave Operation L1 Small Wave Operation
Overview
Are you looking to catch those elusive small waves in the market? Look no further than " L1 Small Wave Operation." This script offers a unique way to identify potential buying opportunities by analyzing price movements, volume changes, and trend directions. With customizable inputs and clear visual indicators, it’s designed to help traders spot favorable entry points with precision.
Features
Dynamic Signal Identification: Automatically detects two types of buy signals labeled "S" and "B."
Adaptable Parameters: Allows users to adjust low period, high period, EMA periods, SMA period, and various threshold values to fine-tune the strategy.
Visual Clarity: Plots K and D lines along with four distinct threshold levels for easy visualization.
Condition-Based Signals: Uses multiple conditions including volume increases, price actions, and crossover events to confirm signals.
How It Works
Calculate Percent Range: Determines where the current closing price lies within the recent low and high range.
Compute Moving Averages: Calculates Exponential Moving Average (EMA) and Simple Moving Average (SMA) of the percent range.
Define Conditions: Checks for bullish or strong bullish patterns, uptrends, and specific crossover events between K and D lines.
Generate Signals: Marks potential buying opportunities when predetermined conditions are met.
How To Use
Add this script to your TradingView chart.
Adjust the input parameters according to your preferred settings.
Monitor the plotted lines and look for "S" and "B" labels indicating buy signals.
Consider incorporating these signals into a broader trading strategy that includes risk management techniques.
What Makes It Special
Flexibility: Users can easily modify parameters to adapt the script to different markets or personal preferences.
Automation: Saves time by automatically scanning for trade setups based on predefined rules.
Comprehensive Analysis: Combines multiple factors like volume, price action, and moving averages to provide reliable signals.
Limitations
Past performance does not guarantee future results.
Market conditions can vary, affecting signal reliability.
Not suitable for very short-term trades without additional refinements.
Notes
Always perform backtesting on historical data before implementing live trades.
Understand the underlying logic of the script to avoid misinterpretation of signals.
Regularly review and adjust parameters based on changing market dynamics.
RShar Seasonal RSISeasonal RSI
This indicator, Seasonal RSI, is designed to enhance trading decisions by combining the **Relative Strength Index (RSI)** with insights derived from historical **seasonality patterns**. It not only calculates RSI but also overlays seasonality data for the current week of the year, providing traders with a more contextualized view of market conditions.
---
### **Key Features**
#### 1. **Relative Strength Index (RSI) Calculation**
- The script calculates the RSI for a user-defined period (`RSI Length`), which is an oscillator used to measure the speed and magnitude of price changes.
- RSI values are plotted on the chart, helping traders identify **overbought** and **oversold** conditions.
- Thresholds for **Overbought** and **Oversold** levels are customizable, with default values of 70 and 30, respectively.
---
#### 2. **Dynamic RSI Coloring Based on Seasonality**
- The color of the RSI line dynamically adjusts based on historical **win rates** for the current week of the year:
- **Bright Green** for win rates > 65%.
- **Green** for win rates between 50-65%.
- **Red** for win rates between 35-50%.
- **Dark Red** for win rates < 35%.
- This feature gives traders a quick visual cue about whether the historical performance of the current week tends to be bullish, neutral, or bearish.
---
#### 3. **Overbought and Oversold Level Visualization**
- Overbought and oversold levels are displayed as dotted horizontal lines on the RSI chart.
- These levels act as visual guides for potential price reversals:
- **Overbought (default 70)**: Indicates potential selling pressure.
- **Oversold (default 30)**: Indicates potential buying pressure.
---
#### 4. **Seasonality Data Integration**
- Historical **seasonality data** is used to analyze price performance patterns for each week of the year:
- **Win Rate**: The percentage of years in which prices closed higher during the current week.
- **Average Weekly Change**: The average price percentage change during the current week over historical data.
- This data provides additional context to RSI readings, helping traders align their strategies with seasonal tendencies.
---
#### 5. **Information Table Overlay**
- A table is displayed in the **top-right corner** of the chart, summarizing seasonality data for the current week:
- **Week Win Rate**: Displays the percentage of historical years where prices rose during this week.
- **Avg Weekly Change**: Shows the average percentage price change for the current week. Positive values are displayed in green, and negative values are shown in red.
- This overlay provides actionable insights without cluttering the chart.
---
### **How It Works**
1. **Seasonality Data**:
- A function (`getSeasonalityForWeek`) fetches or uses predefined mock seasonality data for each week of the year.
- For each week, it calculates:
- The **Win Rate** (percentage of years with positive performance).
- The **Mean Change** (average price percentage change).
2. **RSI Plot**:
- The RSI line is plotted on the chart.
- The line's color is determined by the win rate for the current week, providing a visual representation of historical performance trends.
3. **Threshold Visualization**:
- Horizontal lines for overbought and oversold levels are drawn to assist in identifying potential reversal points.
4. **Information Table**:
- The table summarizes the current week's seasonality data for quick reference, helping traders make data-driven decisions.
---
### **Use Cases**
- **Short-Term Traders**:
Use the dynamic RSI colors and seasonality table to align short-term trades with historical patterns of weekly performance.
- **Swing Traders**:
Identify whether a stock or market is in an overbought/oversold condition while considering the seasonal tendency for the week.
- **Contextual Decision-Making**:
Combine traditional RSI signals with historical data to reduce false signals and improve timing.
---
### **Limitations**
- The script uses **mock seasonality data** in its default state. To make it fully functional, replace the mock data with actual historical performance metrics for your specific ticker or market.
- The indicator does not fetch real-time external data due to Pine Script’s limitations, so all seasonality data must be manually updated or hardcoded.
---
This indicator provides a powerful way to combine technical analysis with historical trends, offering a unique edge to traders by adding seasonal context to RSI signals.
MA RSI MACD Signal SuiteThis Pine Script™ is designed for use in Trading View and generates trading signals based on moving average (MA) crossovers, RSI (Relative Strength Index) signals, and MACD (Moving Average Convergence Divergence) indicators. It provides visual markers on the chart and can be configured to suit various trading strategies.
1. Indicator Overview
The indicator includes signals for:
Moving Averages (MA): It tracks crossovers between different types of moving averages.
RSI: Signals based on RSI crossing certain levels or its signal line.
MACD: Buy and sell signals generated by MACD crossovers.
2. Inputs and Customization
Moving Averages (MAs):
You can customize up to 6 moving averages with different types, lengths, and colors.
MA Type: Choose from different types of moving averages:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
HMA (Hull Moving Average)
SMMA (RMA) (Smoothed Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume Weighted Moving Average)
T3, DEMA, TEMA
Source: Select the price to base the MA on (e.g., close, open, high, low).
Length: Define the number of periods for each moving average.
Examples:
MA1: Exponential Moving Average (EMA) with a period of 9
MA2: Exponential Moving Average (EMA) with a period of 21
RSI Settings:
RSI is calculated based on a user-defined period and is used to identify potential overbought or oversold conditions.
RSI Length: Lookback period for RSI (default 14).
Overbought Level: Defines the overbought threshold for RSI (default 70).
Oversold Level: Defines the oversold threshold for RSI (default 30).
You can also adjust the smoothing for the RSI signal line and customize when to trigger buy and sell signals based on the RSI crossing these levels.
MACD Settings:
MACD is used for identifying changes in momentum and trends.
Fast Length: The period for the fast moving average (default 12).
Slow Length: The period for the slow moving average (default 26).
Signal Length: The period for the signal line (default 9).
Smoothing Method: Choose between SMA or EMA for both the MACD and the signal line.
3. Signal Logic
Moving Average (MA) Crossover Signals:
Crossover: A bullish signal is generated when a fast MA crosses above a slow MA.
Crossunder: A bearish signal is generated when a fast MA crosses below a slow MA.
The crossovers are plotted with distinct colors, and the chart will display markers for these crossover events.
RSI Signals:
Oversold Crossover: A bullish signal when RSI crosses over its signal line below the oversold level (30).
Overbought Crossunder: A bearish signal when RSI crosses under its signal line above the overbought level (70).
RSI signals are divided into:
Aggressive (Early) Entries: Signals when RSI is crossing the oversold/overbought levels.
Conservative Entries: Signals when RSI confirms a reversal after crossing these levels.
MACD Signals:
Buy Signal: Generated when the MACD line crosses above the signal line (bullish crossover).
Sell Signal: Generated when the MACD line crosses below the signal line (bearish crossunder).
Additionally, the MACD histogram is used to identify momentum shifts:
Rising to Falling Histogram: Alerts when the MACD histogram switches from rising to falling.
Falling to Rising Histogram: Alerts when the MACD histogram switches from falling to rising.
4. Visuals and Alerts
Plotting:
The script plots the following on the price chart:
Moving Averages (MA): The selected MAs are plotted as lines.
Buy/Sell Shapes: Triangular markers are displayed for buy and sell signals generated by RSI and MACD.
Crossover and Crossunder Markers: Crosses are shown when two MAs crossover or crossunder.
Alerts:
Alerts can be configured based on the following conditions:
RSI Signals: Alerts for oversold or overbought crossover and crossunder events.
MACD Signals: Alerts for MACD line crossovers or momentum shifts in the MACD histogram.
Alerts are triggered when specific conditions are met, such as:
RSI crosses over or under the oversold/overbought levels.
MACD crosses the signal line.
Changes in the MACD histogram.
5. Example Usage
1. Trend Reversal Setup:
Buy Signal: Use the RSI oversold crossover and MACD bullish crossover to identify potential entry points in a downtrend.
Sell Signal: Use the RSI overbought crossunder and MACD bearish crossunder to identify potential exit points or short entries in an uptrend.
2. Momentum Strategy:
Combine MACD and RSI signals to identify the strength of a trend. Use MACD histogram analysis and RSI levels for confirmation.
3. Moving Average Crossover Strategy:
Focus on specific MA crossovers, such as the 9-period EMA crossing above the 21-period EMA, for buy signals. When a longer-term MA (e.g., 50-period) crosses a shorter-term MA, it may indicate a strong trend change.
6. Alerts Conditions
The script includes several alert conditions, which can be triggered and customized based on the user’s preferences:
RSI Oversold Crossover: Alerts when RSI crosses over the signal line below the oversold level (30).
RSI Overbought Crossunder: Alerts when RSI crosses under the signal line above the overbought level (70).
MACD Buy/Sell Crossover: Alerts when the MACD line crosses the signal line for a buy or sell signal.
7. Conclusion
This script is highly customizable and can be adjusted to suit different trading strategies. By combining MAs, RSI, and MACD, traders can gain multiple perspectives on the market, enhancing their ability to identify potential buy and sell opportunities.
4x Stochastic and 1x RSI Buy and Sell SignalsBuy signal (green), when Stochastic 9, 14, 40 and 60 are bellow 20.
Sell signal (red), when Stochastic 9, 14, 40 and 60 are above 80.
Buy signal is larger, when RSI is also bellow 30.
Sell signal is larger, when RSI is also above 70.
Using RSI is optional and can be disabled.
Use this signals when confirmed by another indicators, like support and resistance levels, EMAs and fundamental analysis.