MTF Signal XpertMTF Signal Xpert – Detailed Description
Overview:
MTF Signal Xpert is a proprietary, open‑source trading signal indicator that fuses multiple technical analysis methods into one cohesive strategy. Developed after rigorous backtesting and extensive research, this advanced tool is designed to deliver clear BUY and SELL signals by analyzing trend, momentum, and volatility across various timeframes. Its integrated approach not only enhances signal reliability but also incorporates dynamic risk management, helping traders protect their capital while navigating complex market conditions.
Detailed Explanation of How It Works:
Trend Detection via Moving Averages
Dual Moving Averages:
MTF Signal Xpert computes two moving averages—a fast MA and a slow MA—with the flexibility to choose from Simple (SMA), Exponential (EMA), or Hull (HMA) methods. This dual-MA system helps identify the prevailing market trend by contrasting short-term momentum with longer-term trends.
Crossover Logic:
A BUY signal is initiated when the fast MA crosses above the slow MA, coupled with the condition that the current price is above the lower Bollinger Band. This suggests that the market may be emerging from a lower price region. Conversely, a SELL signal is generated when the fast MA crosses below the slow MA and the price is below the upper Bollinger Band, indicating potential bearish pressure.
Recent Crossover Confirmation:
To ensure that signals reflect current market dynamics, the script tracks the number of bars since the moving average crossover event. Only crossovers that occur within a user-defined “candle confirmation” period are considered, which helps filter out outdated signals and improves overall signal accuracy.
Volatility and Price Extremes with Bollinger Bands
Calculation of Bands:
Bollinger Bands are calculated using a 20‑period simple moving average as the central basis, with the upper and lower bands derived from a standard deviation multiplier. This creates dynamic boundaries that adjust according to recent market volatility.
Signal Reinforcement:
For BUY signals, the condition that the price is above the lower Bollinger Band suggests an undervalued market condition, while for SELL signals, the price falling below the upper Bollinger Band reinforces the bearish bias. This volatility context adds depth to the moving average crossover signals.
Momentum Confirmation Using Multiple Oscillators
RSI (Relative Strength Index):
The RSI is computed over 14 periods to determine if the market is in an overbought or oversold state. Only readings within an optimal range (defined by user inputs) validate the signal, ensuring that entries are made during balanced conditions.
MACD (Moving Average Convergence Divergence):
The MACD line is compared with its signal line to assess momentum. A bullish scenario is confirmed when the MACD line is above the signal line, while a bearish scenario is indicated when it is below, thus adding another layer of confirmation.
Awesome Oscillator (AO):
The AO measures the difference between short-term and long-term simple moving averages of the median price. Positive AO values support BUY signals, while negative values back SELL signals, offering additional momentum insight.
ADX (Average Directional Index):
The ADX quantifies trend strength. MTF Signal Xpert only considers signals when the ADX value exceeds a specified threshold, ensuring that trades are taken in strongly trending markets.
Optional Stochastic Oscillator:
An optional stochastic oscillator filter can be enabled to further refine signals. It checks for overbought conditions (supporting SELL signals) or oversold conditions (supporting BUY signals), thus reducing ambiguity.
Multi-Timeframe Verification
Higher Timeframe Filter:
To align short-term signals with broader market trends, the script calculates an EMA on a higher timeframe as specified by the user. This multi-timeframe approach helps ensure that signals on the primary chart are consistent with the overall trend, thereby reducing false signals.
Dynamic Risk Management with ATR
ATR-Based Calculations:
The Average True Range (ATR) is used to measure current market volatility. This value is multiplied by a user-defined factor to dynamically determine stop loss (SL) and take profit (TP) levels, adapting to changing market conditions.
Visual SL/TP Markers:
The calculated SL and TP levels are plotted on the chart as distinct colored dots, enabling traders to quickly identify recommended exit points.
Optional Trailing Stop:
An optional trailing stop feature is available, which adjusts the stop loss as the trade moves favorably, helping to lock in profits while protecting against sudden reversals.
Risk/Reward Ratio Calculation:
MTF Signal Xpert computes a risk/reward ratio based on the dynamic SL and TP levels. This quantitative measure allows traders to assess whether the potential reward justifies the risk associated with a trade.
Condition Weighting and Signal Scoring
Binary Condition Checks:
Each technical condition—ranging from moving average crossovers, Bollinger Band positioning, and RSI range to MACD, AO, ADX, and volume filters—is assigned a binary score (1 if met, 0 if not).
Cumulative Scoring:
These individual scores are summed to generate cumulative bullish and bearish scores, quantifying the overall strength of the signal and providing traders with an objective measure of its viability.
Detailed Signal Explanation:
A comprehensive explanation string is generated, outlining which conditions contributed to the current BUY or SELL signal. This explanation is displayed on an on‑chart dashboard, offering transparency and clarity into the signal generation process.
On-Chart Visualizations and Debug Information
Chart Elements:
The indicator plots all key components—moving averages, Bollinger Bands, SL and TP markers—directly on the chart, providing a clear visual framework for understanding market conditions.
Combined Dashboard:
A dedicated dashboard displays key metrics such as RSI, ADX, and the bullish/bearish scores, alongside a detailed explanation of the current signal. This consolidated view allows traders to quickly grasp the underlying logic.
Debug Table (Optional):
For advanced users, an optional debug table is available. This table breaks down each individual condition, indicating which criteria were met or not met, thus aiding in further analysis and strategy refinement.
Mashup Justification and Originality
MTF Signal Xpert is more than just an aggregation of existing indicators—it is an original synthesis designed to address real-world trading complexities. Here’s how its components work together:
Integrated Trend, Volatility, and Momentum Analysis:
By combining moving averages, Bollinger Bands, and multiple oscillators (RSI, MACD, AO, ADX, and an optional stochastic), the indicator captures diverse market dynamics. Each component reinforces the others, reducing noise and filtering out false signals.
Multi-Timeframe Analysis:
The inclusion of a higher timeframe filter aligns short-term signals with longer-term trends, enhancing overall reliability and reducing the potential for contradictory signals.
Adaptive Risk Management:
Dynamic stop loss and take profit levels, determined using ATR, ensure that the risk management strategy adapts to current market conditions. The optional trailing stop further refines this approach, protecting profits as the market evolves.
Quantitative Signal Scoring:
The condition weighting system provides an objective measure of signal strength, giving traders clear insight into how each technical component contributes to the final decision.
How to Use MTF Signal Xpert:
Input Customization:
Adjust the moving average type and period settings, ATR multipliers, and oscillator thresholds to align with your trading style and the specific market conditions.
Enable or disable the optional stochastic oscillator and trailing stop based on your preference.
Interpreting the Signals:
When a BUY or SELL signal appears, refer to the on‑chart dashboard, which displays key metrics (e.g., RSI, ADX, bullish/bearish scores) along with a detailed breakdown of the conditions that triggered the signal.
Review the SL and TP markers on the chart to understand the associated risk/reward setup.
Risk Management:
Use the dynamically calculated stop loss and take profit levels as guidelines for setting your exit points.
Evaluate the provided risk/reward ratio to ensure that the potential reward justifies the risk before entering a trade.
Debugging and Verification:
Advanced users can enable the debug table to see a condition-by-condition breakdown of the signal generation process, helping refine the strategy and deepen understanding of market dynamics.
Disclaimer:
MTF Signal Xpert is intended for educational and analytical purposes only. Although it is based on robust technical analysis methods and has undergone extensive backtesting, past performance is not indicative of future results. Traders should employ proper risk management and adjust the settings to suit their financial circumstances and risk tolerance.
MTF Signal Xpert represents a comprehensive, original approach to trading signal generation. By blending trend detection, volatility assessment, momentum analysis, multi-timeframe alignment, and adaptive risk management into one integrated system, it provides traders with actionable signals and the transparency needed to understand the logic behind them.
Moving
MA Multi-Timeframe [ChartPrime]The  MA Multi-Timeframe   indicator is designed to provide multi-timeframe moving averages (MAs) for better trend analysis across different periods. This tool allows traders to monitor up to four different MAs on a single chart, each coming from a selectable timeframe and type (SMA, EMA, SMMA, WMA, VWMA). The indicator helps traders gauge both short-term and long-term price trends, allowing for a clearer understanding of market dynamics.
 ⯁ KEY FEATURES AND HOW TO USE   
   
   ⯌ Multi-Timeframe Moving Averages :  
The indicator allows traders to select up to four MAs, each from different timeframes. These timeframes can be set in the input settings (e.g., Daily, Weekly, Monthly), and each moving average can be displayed with its corresponding timeframe label directly on the chart.  
 Example of different timeframes for MAs:   
  
   ⯌ Moving Average Types :  
Users can choose from several types of moving averages, including SMA, EMA, SMMA, WMA, and VWMA, making the indicator adaptable to different strategies and market conditions. This flexibility allows traders to tailor the MAs to their preference.
  
 Example of different types of MAs:   
  
   ⯌ Dashboard Display :  
The indicator includes a built-in dashboard that shows each MA, its timeframe, and whether the price is currently above or below that MA. This dashboard provides a quick overview of the trend across different timeframes, allowing traders to determine whether the overall trend is up or down.  
 Example of trend overview via the dashboard:   
  
   ⯌ Polyline Representation :  
Each MA is plotted using polylines to avoid plot functions and create a curves across up to 4000 bars back, ensuring that historical data is visualized clearly for a deeper analysis of how the price interacts with these levels over time.
 
if barstate.islast
    for i = 0 to 4000
        cp.push(chart.point.from_index(bar_index , ma ))
    polyline.delete(polyline.new(cp, curved = false, line_color = color, line_style = style) )
 
 Example of polylines for moving averages:   
  
   ⯌ Customization Options :  
Traders can customize the length of the MAs for all timeframes using a single input. The color, style (solid, dashed, dotted) of each moving average are also customizable, giving users full control over the visual appearance of the indicator on their chart. 
 
 Example of custom MA styles:   
  
 
 ⯁ USER INPUTS   
   
   MA Type : Select the type of moving average for each timeframe (SMA, EMA, SMMA, WMA, VWMA).  
   Timeframe : Choose the timeframe for each moving average (e.g., Daily, Weekly, Monthly).  
   MA Length : Set the length for the moving averages, which will be applied to all four MAs.  
   Line Style : Customize the style of each MA line (solid, dashed, or dotted).  
   Colors : Set the color for each MA for better visual distinction.  
 
 ⯁ CONCLUSION   
The  MA Multi-Timeframe   indicator is a versatile and powerful tool for traders looking to monitor price trends across multiple timeframes with different types of moving averages. The dashboard simplifies trend identification, while the customizable options make it easy to adapt to individual trading strategies. Whether you're analyzing short-term price movements or long-term trends, this indicator offers a comprehensive solution for tracking market direction.
J Lines EMA + VWAPThe  EMA + VWAP  indicator combines the power of Exponential Moving Averages (EMA) with the Volume Weighted Average Price (VWAP) to help traders spot trends, identify potential entries/exits, and understand market momentum with ease. This dual-purpose tool is designed to give both beginner and experienced traders a clear view of price direction and volume influence, whether for day trading or swing trading.
Key Features:
 Dynamic EMA Lines: 
Six customizable moving averages (EMA by default) adapt to your selected timeframe. EMAs help track trend direction and strength, with various colors and opacity settings that visually separate them for clarity.
 VWAP Tracking:  A standalone VWAP line (blue) shows the average trading price adjusted for volume, making it ideal for pinpointing significant price levels where institutional interest often lies.
 EMA Ribbons for Trend Confirmation:  Soft-colored ribbons are placed between EMA pairs to make the trend strength visually apparent, with different color fills between lines. This makes it easy to gauge bullish or bearish conditions at a glance.
 Flexible MA Options:  Besides EMA, you can choose from SMA, WMA, HMA, and RMA, allowing you to adapt the indicator to various trading strategies.
This tool simplifies trend-following and volume-based analysis by giving you insight into both price momentum and market participation levels. EMAs adapt to volatility and changing market conditions, while the  VWAP  keeps you aware of critical price zones based on trading volume. Together, these help you stay on the right side of the market, avoid false breakouts, and make informed decisions on when to enter or exit trades.
Ideal for beginners due to its visual clarity and flexible enough for seasoned traders, EMA + VWAP is your go-to indicator for a structured approach to market trends.
DSL Trend Analysis [ChartPrime]The  DSL Trend Analysis   indicator utilizes  Discontinued Signal Lines (DSL)  deployed directly on price, combined with dynamic bands, to analyze the trend strength and momentum of price movements. By tracking the high and low price values and comparing them to the DSL bands, it provides a visual representation of trend momentum, highlighting both strong and weakening phases of market direction.
 ⯁ KEY FEATURES AND HOW TO USE 
 
   ⯌ DSL-Based Trend Detection :  
This indicator uses  Discontinued Signal Lines (DSL)  to evaluate price action. When the high stays above the upper DSL band, the line turns lime, indicating strong upward momentum. Similarly, when the low stays below the lower DSL band, the line turns orange, indicating strong downward momentum. Traders can use these visual signals to identify strong trends in either direction.  
  
   ⯌ Bands for Trend Momentum :  
The indicator plots dynamic  bands  around the DSL lines based on ATR (Average True Range). These bands provide a range within which price can fluctuate, helping to distinguish between strong and weakening trends. If the high remains within the upper band, the lime-colored line becomes transparent, showing weakening upward momentum. The same concept applies for the lower band, where the line turns orange with transparency, indicating weakening downward momentum. 
  
  
 If high and low stays between bands line has no color 
  
 to make sure indicator catches only strong momentum of price 
   ⯌ Real-Time Band Price Labels :  
The indicator places two labels on the chart, one at the  upper DSL band  and one at the  lower DSL band,  displaying the real-time price values of these bands. These labels help traders track the current price relative to the key bands, which are essential in determining potential breakout or reversal zones.  
  
   ⯌ Visual Confirmation of Momentum Shifts :  
By monitoring the relationship between the high and low values of the price relative to the DSL bands, this indicator provides a reliable way to confirm whether the trend is gaining or losing strength. This allows traders to act accordingly, whether it's to enter or exit positions based on trend strength or weakness.  
 
 ⯁ USER INPUTS 
 
   Length : Defines the period used to calculate the DSL lines, influencing the sensitivity of the trend detection.  
   Offset : Adjusts the offset applied to the upper and lower DSL bands, affecting how the thresholds for strong or weak momentum are set.  
   Width (ATR Multiplier) : Determines the width of the DSL bands based on an ATR multiplier, providing a dynamic range around the price for momentum analysis.  
 
 ⯁ CONCLUSION   
The  DSL Trend Analysis   indicator is a powerful tool for assessing price momentum and trend strength. By combining  Discontinued Signal Lines  with dynamically calculated bands, traders can easily spot key moments when momentum shifts from strong to weak or vice versa. The color-coded lines and real-time price labels provide valuable insights for trading decisions in both trending and ranging markets.
MENTFX AVERAGES MULTI TIMEFRAMEThe MENTFX AVERAGES MULTIME TIMEFRAME indicator is designed to provide traders with the ability to visualize multiple moving averages (MAs) from higher timeframes on their current chart, regardless of the chart's timeframe. It combines the power of exponential moving averages (EMAs) to help traders identify trends, spot potential reversal points, and make more informed trading decisions.
Key Features:
Multi-Timeframe Moving Averages: This indicator plots moving averages from daily timeframes directly on your chart, helping you keep track of higher timeframe trends while trading in any timeframe.
Customizable Moving Averages: You can adjust the length and visibility of up to three EMAs (default settings are 5, 10, and 20-period EMAs) to suit your trading style.
Overlay on Price: The indicator is designed to be overlaid on your price chart, seamlessly integrating with your existing analysis.
Simple but Effective: By offering a clear visual guide to where price is trading relative to important higher timeframe levels, this indicator helps traders avoid trading against major trends.
Why It’s Unique:
Validation Timeframe Flexibility: Unlike traditional moving average indicators that only work within the same chart's timeframe, the MENTFX AVERAGES M indicator allows you to pull moving averages from higher timeframes (default: Daily) and overlay them on any chart you're currently viewing, whether it's intraday (minutes) or even weekly. This cross-timeframe visibility is critical in determining the true market trend, adding context to your trades.
Customizability: Although the default settings focus on daily EMAs (5, 10, and 20 periods), traders can modify the parameters, including the type of moving average (Simple, Weighted, etc.), making it adaptable for any strategy. Whether you want shorter-term or longer-term averages, this indicator covers your needs.
Trend Confirmation Tool: The use of multiple EMAs helps traders confirm trend direction and potential price breakouts or reversals. For example, when the shorter-term 5 EMA crosses above the 20 EMA, it can signal a potential bullish trend, while the opposite could indicate bearish pressure.
How This Indicator Helps:
Identify Key Support and Resistance Levels: Higher timeframe moving averages often act as dynamic support and resistance. This indicator helps you stay aware of those critical levels, even when trading lower timeframes.
Trend Identification: Knowing where the market is relative to the 5, 10, and 20 EMAs from a higher timeframe gives you a clearer picture of whether you're trading with or against the prevailing trend.
Improved Decision Making: By aligning your trades with the direction of higher timeframe trends, you can increase your confidence in trade entries and exits, avoiding low-probability setups.
Multi-Market Use: This indicator works well across various asset classes—stocks, forex, crypto, and commodities—making it versatile for any trader.
How to Use:
Intraday Trading: Use the daily EMAs as a guide to see if intraday price movements align with longer-term trends.
Swing Trading: Plot daily EMAs to track the strength of a larger trend, using pullbacks to the moving averages as potential entry points.
Trend Trading: Monitor crossovers between the moving averages to signal potential changes in trend direction.
Default Settings:
5 EMA (Daily) – Blue Line
10 EMA (Daily) – Black Line
20 EMA (Daily) – Red Line
These lines will plot on your chart with a subtle opacity (33%) to ensure they don’t obstruct price action, while still providing crucial visual guidance on market trends.
This indicator is perfect for traders who want to blend technical analysis with multi-timeframe insights, helping you stay in sync with broader market movements while executing trades on any timeframe.
Technical Analysis ExpressionsDescription: 
The indicator allows to display different moving averages and price levels from any timeframe. Instead of setting each plot one by one, you can specify all of them in one expression. 
 Inputs: 
There's only one input, which is a text area where you can specify each plot as an expression. Each expression must be on a new line. Each expression can specify the source of the displayed values, the plot color and the timeframe from which that value is taken. 
Here's an example expression that will plot SMA(20) of Close price from Daily timeframe, and the plot is going to be red. This will also plot an EMA(50) of High price from current timeframe, and the plot is going to be green (notice that you can specify the color as one of the standard Pinescript colors, or using a HEX color, and even using transparency if needed):
 
SMA(close, 20) red "D"
EMA(high, 50) #00ff00 
 
You can also specify the color to be "chart.fg" which is the Foreground Color of current chart (it depends on whether the "Dark Theme" is enabled in Tradingview). The available moving averages are: SMA, EMA, WMA, HMA, RMA, VWMA. The available sources are: open, high, low, close, hl2, hlc3, hlcc4, ohlc4. 
Ultra Moving AverageThe  Ultra Moving Average  is a versatile technical indicator that combines various types of moving averages to analyze trends, providing multi-timeframe insights for traders. It offers four customizable moving averages and a trend strength table for enhanced decision-making.
 Introduction 
The  Ultra Moving Average  indicator is a powerful tool designed to help traders track market trends by offering a combination of four distinct moving averages. With flexible customization options, users can apply different types of moving averages like SMA, EMA, TEMA, and many more, across various timeframes. Additionally, it provides trend strength analysis through an intuitive visual table, helping traders quickly identify market conditions.
 Detailed Description 
.........
 
 Moving Averages 
 Each of the four moving averages is independently configurable. You can select the timeframe, type, length, color, and width to match your trading strategy. 
 The types of moving averages range from traditional ones like the Simple Moving Average (SMA) to advanced ones like the Double Expotential Moving Average (DEMA) or the Triple Exponential Moving Average (TEMA) or the Recursive Moving Average (RMA) or the Weigthend Moving Average (WMA) or the Volume Weigthend Moving Average (VWMA) or Hull Moving Average (HMA). 
 Very Special ones are the Triple Weigthend Moving Average (TWMA) wich created  RedKTrader .
I created the Multi Weigthend Moving Average (MWMA) wich is a simple signal line to the TWMA. 
.....
 Trend Visualization 
 The indicator uses color-coding to visually represent whether the price is in an uptrend or downtrend. Bullish trends are highlighted in one color, while bearish trends appear in another, making it easy to interpret. 
.....
 Trend Strength Table 
 One of the unique features of the Ultra Moving Average is the trend strength table at the bottom of the chart. This table breaks down the strength of the fast, mid, and slow moving averages, displaying them as percentages. It also shows the overall "trend power," which helps assess how strong or weak the current trend is. 
 You have the option to calculate trends using live data or the previous bar's data, offering flexibility in how the indicator reacts to market changes. This can help traders make more responsive decisions based on real-time trends. 
 The table displays trend strength across three timeframes Fast, Mid, and Slow by calculating the percentage difference between the price and each of the moving averages (MA1, MA3, MA4). 
 The  Power  row shows the average of these percentages, representing overall trend strength. 
 The percentages are calculated relative to their maximum values in history (limited by TradingView subscription), providing insight into the trend's strength for each timeframe. 
.........
Overall, the  Ultra Moving Average  indicator is a comprehensive tool that combines multiple moving average types and advanced trend analysis, helping traders identify market direction and strength at a glance. With its intuitive visualization and flexible settings, it's suited for both beginner and experienced traders.
 Special Thanks 
I use the TWMA-Function created from  RedKTrader  to smooth the values.
 Special thanks to him for creating and sharing this function!
ADV_RSIADV_RSI - Advanced Relative Strength Index
Description: The ADV_RSI indicator is an advanced and mutated version of the classic Relative Strength Index (RSI), enhanced with multiple moving averages and a dynamic color-coding system. It provides traders with deeper insights into market momentum and potential trend reversals by incorporating two different moving averages of the RSI (21, and 50 periods). The indicator helps to visualize overbought and oversold conditions more effectively and offers a clear, color-coded representation of the RSI value relative to key thresholds.
Features:
    RSI Calculation: The core of the indicator is based on the traditional RSI, calculated over a customizable period.
    Multiple Moving Averages: The script includes two RSI moving averages (21, and 50 periods) to help identify trend strength and potential reversal points.
    Dynamic RSI Color Coding: The RSI line is color-coded based on its value, ranging from red for overbought conditions to aqua for oversold conditions. This makes it easier to interpret the market's momentum at a glance.
    Threshold Bands: The indicator includes horizontal threshold lines at key RSI levels (20, 30, 40, 50, 60, 70, 80), with shaded areas between them, providing a visual aid to quickly identify overbought and oversold zones.
How to Use:
    The RSI line fluctuates between 0 and 100, with traditional overbought and oversold levels set at 70 and 30, respectively.
    When the RSI crosses above the 70 level, it may indicate overbought conditions, signaling a potential selling opportunity.
    When the RSI falls below the 30 level, it may indicate oversold conditions, signaling a potential buying opportunity.
    The included moving averages of the RSI can help confirm trend direction and potential reversals.
    The color coding of the RSI line provides a quick visual cue for momentum changes.
Ideal For:
    Traders looking for a more nuanced understanding of market momentum.
    Those who prefer visual aids for quick decision-making in identifying overbought and oversold conditions.
    Traders who utilize multiple timeframes and need a comprehensive RSI tool for better accuracy in their analysis.
Three Anchored Moving Averages (VWAP / SMA / EMA)
This indicator allows users to anchor three types of moving averages (Simple Moving Average (SMA), Exponential Moving Average (EMA), and Volume Weighted Average Price (VWAP)) to specific points in time (anchor points) 
Key Features:
 Select from three Moving Average Types: 
 Simple Moving Average (SMA):  Averages the closing prices over a specified period.
 Exponential Moving Average (EMA):  Gives more weight to recent prices, making it more responsive to new information.
 Volume Weighted Average Price (VWAP):  Averages the price weighted by volume, useful for understanding the average price at which the asset has traded over a period.
 Up to Three Anchor Points: 
Users can set up to three different anchor points to calculate the moving averages from specific dates and times. This allows for analysis of price action starting from significant points or specific events. For example, you can anchor to the low and high of a move to identify key levels or to points where the price takes off from a previous anchored MA.
 Customisable Sentiment Options: 
Each anchor point can be associated with a sentiment input (Auto, Bull, Bear, None), which influences if the MAs are displayed as lines or zones/bands:
 Auto:  Automatically determines the sentiment based on whether anchor points are on pivot highs and lows. If anchored to a pivot high, the system will assume a bearish sentiment and display a red band or zone between the MA OHLC4 and High. Anchoring to a pivot low will display a green band (OHLC4 - Low).
 Bull:  Forces a bullish sentiment (Green Band - OHLC4 to Low)
 Bear: Forces a bearish sentiment (Red Band - OHLC4 to High)
 None:  Ignores sentiment and displays a single line (OHLC4)
 Chart Matching: 
The indicator includes an option to display the moving averages only if the chart symbol matches a specified ticker. This feature ensures that the indicator is relevant to the specific asset being analysed.
 How to Use the Indicator: 
 1. Set Anchor Points:  When added to your chart, select three anchor points by point and click. If you only wish to anchor to a single point, click on that point three times and disable the other two in settings once the indicator is applied.
 2. Select Moving Average Type:  Choose between SMA, EMA, or VWAP using the dropdown menu. EMAs are the most responsive.
 3. Enable/Disable Anchor Points:  Use the checkboxes to enable or disable each anchor point.
 4. Select Sentiment Type:  Choose between Auto, Bull, Bear, or None.
 5. Chart Matching:  Optionally, specify a chart symbol to restrict the indicator's display to that particular asset.
 6. Interpret the Plots:  The indicator plots the high, mid, and low values of the selected moving average type from each anchor point. The fills between these plots help identify potential support and resistance zones. These should be used as points of interest for pullback reversals or potential continuation if the price breaks through.
 Practical Applications: 
 Trend Analysis:  Identify the overall trend direction from specific historical points.
 Support and Resistance:  Determine key dynamic support and resistance levels based on anchored moving averages.
 Event-Based Analysis:  Anchor the moving averages to significant events (e.g., earnings releases, economic data) to study their impact on price trends.
 Multi Timeframe Analysis:  Higher Timeframe Anchors can be used to identify longer term trend analysis. Switching to a lower timeframe for execution triggers at these points wont distort the MA levels as they are anchored to a specific point in time
 Intraday or Swing Trading:  trend analysis using anchor points can be used for any style of trading (Intraday / Swing / Invest). Use anchored levels as points of interest and wait for hints in price action to try and catch the next move. 
Multi Deviation Scaled Moving Average [ChartPrime]Multi Deviation Scaled Moving Average ChartPrime 
 ⯁ OVERVIEW 
The Multi Deviation Scaled Moving Average is an analysis tool that combines multiple Deviation Scaled Moving Averages (DSMAs) to provide a comprehensive view of market trends. The DSMA, originally created by John Ehlers, is a sophisticated moving average that adapts to market volatility. This indicator offers a unique approach to trend analysis by utilizing a series of DSMAs with different periods and presenting the results through a color-coded line and a visual histogram.
 ◆ KEY FEATURES 
 
  Multiple DSMA Calculation: Computes eight DSMAs with incrementally increasing periods for multi-faceted trend analysis.
  Trend Strength Visualization: Provides a color-coded moving average line indicating trend strength and direction.
  
  Trend Percentage Histogram: Displays a visual representation of bullish vs bearish trend percentages.
  
  Signal Generation: Identifies potential entry and exit points based on trend strength crossovers.
  
  Customizable Parameters: Allows users to adjust the base period and sensitivity of the indicator.
  
 
 ◆ USAGE 
 
  Trend Direction and Strength: The color and intensity of the main indicator line provide quick insights into the current trend.
   Trend Percentage Histogram: The histogram value can give you an idea of the market trend ahead 
  
  Entry and Exit Signals: Diamond-shaped markers indicate potential trade entry and exit points based on trend strength shifts.
  Trend Bias Assessment: The trend percentage histogram offers a visual representation of the overall market bias.
  Multi-Timeframe Analysis: By applying the indicator to different timeframes, traders can gain insights into trends across various time horizons.
 
 ⯁ USER INPUTS 
 
  Period: Sets the initial calculation period for the DSMAs (default: 30).
  Sensitivity: Adjusts the step size between DSMA periods. Lower values increase sensitivity (default: 60, range: 0-100).
  Source: Uses HLC3 (High, Low, Close average) as the default price source.
 
The  Multi Deviation Scaled Moving Average    indicator offers traders a sophisticated tool for trend analysis and signal generation. By combining multiple DSMAs and providing clear visual cues, it enables traders to make more informed decisions about market direction and potential entry or exit points. The indicator's customizable parameters allow for fine-tuning to suit various trading styles and market conditions.
Han Algo - Moving average strategyHan Algo Indicator Strategy Description
Overview:
The Han Algo Indicator is designed to identify trend directions and signal potential buy and sell opportunities based on moving average crossovers. It aims to provide clear signals while filtering out noise and minimizing false signals.
Indicators Used:
Moving Averages:
200 SMA (Simple Moving Average): Used as a long-term trend indicator.
100 SMA: Provides a medium-term perspective on price movements.
50 SMA: Offers insights into shorter-term trends.
20 SMA: Provides a very short-term perspective on recent price actions.
Trend Identification:
The indicator identifies the trend based on the relationship between the closing price (close) and the 200 SMA (ma_long):
Uptrend: When the closing price is above the 200 SMA.
Downtrend: When the closing price is below the 200 SMA.
Sideways: When the closing price is equal to the 200 SMA.
Buy and Sell Signals:
Buy Signal: Generated when transitioning from a downtrend to an uptrend (buy_condition):
Displayed as a green "BUY" label above the price bar.
Sell Signal: Generated when transitioning from an uptrend to a downtrend (sell_condition):
Displayed as a red "SELL" label below the price bar.
Signal Filtering:
Signals are filtered to prevent consecutive signals occurring too closely (min_distance_bars parameter):
Ensures that only significant trend reversals are captured, minimizing false signals.
Visualization:
Background Color:
Changes to green for uptrend and red for downtrend (bgcolor function):
Provides visual cues for current market sentiment.
Usage:
Traders can customize the indicator's parameters (long_term_length, medium_term_length, short_term_length, very_short_term_length, min_distance_bars) to align with their trading preferences and timeframes.
The Han Algo Indicator helps traders make informed decisions by highlighting potential trend reversals and aligning with market trends identified through moving average analysis.
Disclaimer:
This indicator is intended for educational purposes and as a visual aid to support trading decisions. It should be used in conjunction with other technical analysis tools and risk management strategies.
Bayesian Trend Indicator [ChartPrime]Bayesian Trend Indicator  
 Overview: 
 In probability theory and statistics,  Bayes' theorem  (alternatively Bayes' law or Bayes' rule), named after Thomas Bayes, describes the probability of an event, based on prior knowledge of conditions that might be related to the event. 
The  "Bayesian Trend Indicator"  is a sophisticated technical analysis tool designed to assess the direction of price trends in financial markets. It combines the principles of Bayesian probability theory with moving average analysis to provide traders with a comprehensive understanding of market sentiment and potential trend reversals.
At its core, the indicator utilizes multiple moving averages, including the  Exponential Moving Average (EMA), Simple Moving Average (SMA), Double Exponential Moving Average (DEMA), and Volume Weighted Moving Average (VWMA) . These moving averages are calculated based on user-defined parameters such as length and gap length, allowing traders to customize the indicator to suit their trading strategies and preferences.
The indicator begins by calculating the trend for both fast and slow moving averages using a Smoothed Gradient Signal Function. This function assigns a numerical value to each data point based on its relationship with historical data, indicating the strength and direction of the trend.
 
// Smoothed Gradient Signal Function 
sig(float src, gap)=>
    ta.ema(source >= src    ? 1   : 
     source >= src  ? 0.9 :
     source >= src  ? 0.8 :
     source >= src  ? 0.7 :
     source >= src  ? 0.6 :
     source >= src  ? 0.5 :
     source >= src  ? 0.4 :
     source >= src  ? 0.3 :
     source >= src  ? 0.2 :
     source >= src  ? 0.1 :
      0, 4)
 
Next, the indicator calculates  prior probabilities  using the trend information from the  slow moving averages  and  likelihood probabilities  using the trend information from the  fast moving averages . These probabilities represent the likelihood of an uptrend or downtrend based on historical data.
 
// Define prior probabilities using moving averages
prior_up = (ema_trend + sma_trend + dema_trend + vwma_trend) / 4
prior_down = 1 - prior_up
// Define likelihoods using faster moving averages
likelihood_up = (ema_trend_fast + sma_trend_fast + dema_trend_fast + vwma_trend_fast) / 4
likelihood_down = 1 - likelihood_up
 
Using  Bayes' theorem , the indicator then combines the prior and likelihood probabilities to calculate posterior probabilities, which reflect the updated probability of an uptrend or downtrend given the current market conditions. These posterior probabilities serve as a key signal for traders, informing them about the prevailing market sentiment and potential trend reversals.
  
 
// Calculate posterior probabilities using Bayes' theorem
posterior_up = prior_up * likelihood_up 
                             / 
               (prior_up * likelihood_up + prior_down * likelihood_down)
                 
 
 Key Features: 
 ◆ The trend direction: 
To  visually represent the trend direction , the indicator colors the bars on the chart based on the posterior probabilities. Bars are colored green to indicate an uptrend when the posterior probability is greater than 0.5 (>50%), while bars are colored red to indicate a downtrend when the posterior probability is less than 0.5 (<50%).
  
 ◆ Dashboard on the chart 
Additionally, the indicator displays a  dashboard on the chart , providing traders with detailed information about the  probability of an uptrend , as well as the trends for each type of moving average. This dashboard serves as a valuable reference for traders to monitor trend strength and make informed trading decisions.
  
 ◆ Probability labels and signals: 
Furthermore, the indicator includes  probability labels and signals , which are displayed near the corresponding bars on the chart. These labels indicate the posterior probability of a trend, while small diamonds above or below bars indicate crossover or crossunder events when the posterior probability crosses the 0.5 threshold (50%).
 The posterior probability of a trend 
  
 Crossover or Crossunder events 
  
 ◆ User Inputs 
 
 Source:
Description: Defines the price source for the indicator's calculations. Users can select between different price values like close, open, high, low, etc.
 MA's Length:
Description: Sets the length for the moving averages used in the trend calculations. A larger length will smooth out the moving averages, making the indicator less sensitive to short-term fluctuations.
 Gap Length Between Fast and Slow MA's:
Description: Determines the difference in lengths between the slow and fast moving averages. A higher gap length will increase the difference, potentially identifying stronger trend signals.
 Gap Signals:
Description: Defines the gap used for the smoothed gradient signal function. This parameter affects the sensitivity of the trend signals by setting the number of bars used in the signal calculations.
 
In summary, the "Bayesian Trend Indicator" is a powerful tool that leverages Bayesian probability theory and moving average analysis to help traders identify trend direction, assess market sentiment, and make informed trading decisions in various financial markets.
Dual SMA/EMA BandsThe Dual SMA/EMA Bands indicator provides a clear view of market trends, combining Simple Moving Averages (SMA) and Exponential Moving Averages (EMA) in one customizable tool. Designed for any timeframe, it features  Aqua and Purple Bands for 50-period and 200-period averages , respectively, aiding in trend analysis and volatility insights.
 Features: 
 Adaptive Timeframes : Automatically aligns with the chart’s timeframe or can be manually set for cross-timeframe analysis.
 Customization : Offers easy adjustments for colors, line thickness, and opacity to suit personal preferences and enhance readability.
 Insights : Facilitates trend confirmation and volatility assessment, essential for informed trading decisions.
 Usage Tips: 
Use the bands to gauge market direction; above the bands suggests bullish conditions, below them indicates bearish trends.
The gap between EMA and SMA within each band can signal market volatility.
Apply customizable timeframes for a comprehensive market overview.
 Conclusion: 
With its straightforward setup and versatile application, the Dual SMA/EMA Bands indicator is a valuable tool for traders looking to deepen their market analysis and uncover trading opportunities.
PhiSmoother Moving Average Ribbon [ChartPrime]DSP FILTRATION PRIMER: 
DSP (Digital Signal Processing) filtration plays a critical role with financial indication analysis, involving the application of digital filters to extract actionable insights from data. Its primary trading purpose is to distinguish and isolate relevant signals separate from market noise, allowing traders to enhance focus on underlying trends and patterns. By smoothing out price data, DSP filters aid with trend detection, facilitating the formulation of more effective trading techniques.
Additionally, DSP filtration can play an impactful role with detecting support and resistance levels within financial movements. By filtering out noise and emphasizing significant price movements, identifying key levels for entry and exit points become more apparent. Furthermore, DSP methods are instrumental in measuring market volatility, enabling traders to assess volatility levels with improved accuracy.
In summary, DSP filtration techniques are versatile tools for traders and analysts, enhancing decision-making processes in financial markets. By mitigating noise and highlighting relevant signals, DSP filtration improves the overall quality of trading analysis, ultimately leading to better conclusions for market participants.
 APPLYING FIR FILTERS: 
FIR (Finite Impulse Response) filters are indispensable tools in the realm of financial analysis, particularly for trend identification and characterization within market data. These filters effectively smooth out price fluctuations and noise, enabling traders to discern underlying trends with greater fidelity. By applying FIR filters to price data, robust trading strategies can be developed with grounded trend-following principles, enhancing their ability to capitalize on market movements.
Moreover, FIR filter applications extend into wide-ranging utility within various fields, one being vital for informed decision-making in analysis. These filters help identify critical price levels where assets may tend to stall or reverse direction, providing traders with valuable insights to aid with identification of optimal entry and exit points within their indicator arsenal. FIRs are undoubtedly a cornerstone to modern trading innovation.
Additionally, FIR filters aid in volatility measurement and analysis, allowing traders to gauge market volatility accurately and adjust their risk management approaches accordingly. By incorporating FIR filters into their analytical arsenal, traders can improve the quality of their decision-making processes and achieve better trading outcomes when contending with highly dynamic market conditions.
 INTRODUCTORY DEBUT: 
ChartPrime's " PhiSmoother Moving Average Ribbon " indicator aims to mark a significant advancement in technical analysis methodology by removing unwanted fluctuations and disturbances while minimizing phase disturbance and lag. This indicator introduces PhiSmoother, a powerful FIR filter in it's own right comparable to Ehlers' SuperSmoother.
PhiSmoother leverages a custom tailored FIR filter to smooth out price fluctuations by mitigating aliasing noise problematic to identification of underlying trends with accuracy. With adjustable parameters such as phase control, traders can fine-tune the indicator to suit their specific analytical needs, providing a flexible and customizable solution.
Mathemagically, PhiSmoother incorporates various color coding preferences, enabling traders to visualize trends more effectively on a volatile landscape. Whether utilizing progression, chameleon, or binary color schemes, you can more fluidly interpret market dynamics and make informed visual decisions regarding entry and exit points based on color-coded plotting.
The indicator's alert system further enhances its utility by providing notifications of specifically chosen filter crossings. Traders can customize alert modes and messages while ensuring they stay informed about potential opportunities aligned with their trading style.
Overall, the "PhiSmoother Moving Average Ribbon" visually stands out as a revolutionary mechanism for technical analysis, offering traders a comprehensive solution for trend identification, visualization, and alerting within financial markets to achieve advantageous outcomes.
 NOTEWORTHY SETTINGS FEATURES: 
 Price Source Selection -  The indicator offers flexibility in choosing the price source for analysis. Traders can select from multiple options.
 Phase Control Parameter  - One of the notable standout features of this indicator is the phase control parameter. Traders can fine-tune the phase or lag of the indicator to adapt it to different market conditions or timeframes. This feature enables optimization of the indicator's responsiveness to price movements and align it with their specific trading tactics.
 Coloring Preferences -   Another magical setting is the coloring features, one being "Chameleon Color Magic". Traders can customize the color scheme of the indicator based on their visual preferences or to improve interpretation. The indicator offers options such as progression, chameleon, or binary color schemes, all having versatility to dynamically visualize market trends and patterns. Two colors may be specifically chosen to reduce overlay indicator interference while also contrasting for your visual acuity.
 Alert Controls -  The indicator provides diverse alert controls to manage alerts for specific market events, depending on their trading preferences.
 
 Alertable Crossings:  Receive an alert based on selectable predefined crossovers between moving average neighbors
 Customizable Alert Messages:  Traders can personalize alert messages with preferred information details
 Alert Frequency Control:  The frequency of alerts is adjustable for maximum control of timely notifications
Inverted EMAThe concept of an inverted Exponential Moving Average (EMA) isn't commonly used in traditional technical analysis or trading strategies. Inverting the EMA essentially means taking the reciprocal of the EMA values. While it may not have widespread use or recognition, here are some potential considerations or interpretations for the inverted EMA:
1. **Inverse Trend Indicator:**
   - Inverting the EMA might be considered as an alternative approach to trend analysis. When the inverted EMA is rising, it could suggest a potential bearish trend, and when it is falling, it might indicate a bullish trend. Traders might explore using this as a contrarian or unconventional trend indicator.
2. **Volatility Indicator:**
   - The inverted EMA might be used as a measure of volatility. When the values are fluctuating rapidly, it could imply increased volatility in the underlying asset. This could be useful for traders who are interested in gauging market dynamics.
3. **Divergence Analysis:**
   - Traders may explore divergences between price and the inverted EMA. For instance, if prices are making new highs, but the inverted EMA is not, it could signal potential weakness or divergence in the bullish trend.
4. **Inverse Moving Average Crossovers:**
   - In the context of moving average crossovers, traders usually look for crossovers between shorter and longer EMAs as potential signals. Inverting this concept, crossovers between inverted short-term and long-term EMAs might be explored for unconventional trading signals.
5. **Systematic Exploration:**
   - Traders and researchers sometimes experiment with unconventional indicators to discover new patterns or behaviors in the market. The inverted EMA could be part of systematic exploration to uncover unique insights that traditional indicators might not reveal.
It's important to note that the interpretation and use of the inverted EMA depend on the trader's strategy, risk tolerance, and specific market conditions. Traders should thoroughly backtest any strategy involving unconventional indicators and use them cautiously in live trading. Additionally, the effectiveness of the inverted EMA may vary across different financial instruments and timeframes.
EMA + Lower Timeframe EMA (correct display in Replay Mode)This indicator shows
 
 one EMA for the current timeframe
 one EMA for a lower timeframe
 
Unlike the built-in Tradingview EMA indicator, this indicator shows the correct values for the lower timeframe EMA during Replay Mode.
Fisher+ [OSC]The Fisher Transform Indicator is classified as an oscillator, meaning that its value swings above and below a central point. This characteristic allows traders to identify overbought and oversold conditions, providing potential clues about market reversals. As mentioned previously, it is an oscillator so the strength of the move is displayed by how long the fisher line stays above/below zero. Indicator can be used to aid in confluence near supply/demand zones.
White Line = Fisher
Red/Blue Line = Moving Average
--Changes color whether fisher line is above/below the MA
Red/Blue Shaded Line = Moving Average
--Changes color based on a smoothing factor
Red/Blue Shaded Fill = Asset in Overbought/Oversold Conditions
Red/Blue Circles = Asset in Extreme Overbought/Oversold Conditions
Red/Blue Triangles = MACD Signals Below/Above "0"
Divergence Labels = Asset Signaling Divergence
The moving average line will turn red/blue as long as the fisher line is below/above the moving average. The shaded MA line will switch colors based on if it is moving in an up/down trend. The MA can also be used as a signal and treated similar to an oscillator. Market trending conditions will either keep the MA below/above the dashed zero line. 
MACD code credited to LazyBear's MACD Leader indicator. It is used to filter out/confirm any signals such as divergences. As long as the MACD Leader line is above both the MACD line and signal lines then it'll signal with with a triangle. MACD divergences will be added at a later time. 
[AIO] Multi Collection Moving Averages 140 MA TypesAll In One Multi Collection Moving Averages.
Since signing up 2 years ago, I have been collecting various Сollections.
I decided to get it into a decent shape and make it one of the biggest collections on TV, and maybe the entire internet.
And now I'm sharing my collection with you.
140 Different Types of Moving Averages are waiting for you.
Specifically :
 
"
 AARMA   | Adaptive Autonomous Recursive Moving Average                 
 ADMA    | Adjusted Moving Average                                      
 ADXMA   | Average Directional Moving Average                           
 ADXVMA  | Average Directional Volatility Moving Average                
 AHMA    | Ahrens Moving Average                                        
 ALF     | Ehler Adaptive Laguerre Filter                               
 ALMA    | Arnaud Legoux Moving Average                                 
 ALSMA   | Adaptive Least Squares                                       
 ALXMA   | Alexander Moving Average                                     
 AMA     | Adaptive Moving Average                                      
 ARI     | Unknown                                                      
 ARSI    | Adaptive RSI Moving Average                                  
 AUF     | Auto Filter                                                  
 AUTL    | Auto-Line                                                    
 BAMA    | Bryant Adaptive Moving Average                               
 BFMA    | Blackman Filter Moving Average                               
 CMA     | Corrected Moving Average                                     
 CORMA   | Correlation Moving Average                                   
 COVEMA  | Coefficient of Variation Weighted Exponential Moving Average 
 COVNA   | Coefficient of Variation Weighted Moving Average             
 CTI     | Coral Trend Indicator                                        
 DEC     | Ehlers Simple Decycler                                       
 DEMA    | Double EMA Moving Average                                    
 DEVS    | Ehlers - Deviation Scaled Moving Average                     
 DONEMA  | Donchian Extremum Moving Average                             
 DONMA   | Donchian Moving Average                                      
 DSEMA   | Double Smoothed Exponential Moving Average                   
 DSWF    | Damped Sine Wave Weighted Filter                             
 DWMA    | Double Weighted Moving Average                               
 E2PBF   | Ehlers 2-Pole Butterworth Filter                             
 E2SSF   | Ehlers 2-Pole Super Smoother Filter                          
 E3PBF   | Ehlers 3-Pole Butterworth Filter                             
 E3SSF   | Ehlers 3-Pole Super Smoother Filter                          
 EDMA    | Exponentially Deviating Moving Average (MZ EDMA)             
 EDSMA   | Ehlers Dynamic Smoothed Moving Average                       
 EEO     | Ehlers Modified Elliptic Filter Optimum                      
 EFRAMA  | Ehlers Modified Fractal Adaptive Moving Average              
 EHMA    | Exponential Hull Moving Average                              
 EIT     | Ehlers Instantaneous Trendline                               
 ELF     | Ehler Laguerre filter                                        
 EMA     | Exponential Moving Average                                   
 EMARSI  | EMARSI                                                       
 EPF     | Edge Preserving Filter                                       
 EPMA    | End Point Moving Average                                     
 EREA    | Ehlers Reverse Exponential Moving Average                    
 ESSF    | Ehlers Super Smoother Filter 2-pole                          
 ETMA    | Exponential Triangular Moving Average                        
 EVMA    | Elastic Volume Weighted Moving Average                       
 FAMA    | Following Adaptive Moving Average                            
 FEMA    | Fast Exponential Moving Average                              
 FIBWMA  | Fibonacci Weighted Moving Average                            
 FLSMA   | Fisher Least Squares Moving Average                          
 FRAMA   | Ehlers - Fractal Adaptive Moving Average                     
 FX      | Fibonacci X Level                                     
 GAUS    | Ehlers - Gaussian Filter                                     
 GHL     | Gann High Low                                                
 GMA     | Gaussian Moving Average                                      
 GMMA    | Geometric Mean Moving Average                                
 HCF     | Hybrid Convolution Filter                                    
 HEMA    | Holt Exponential Moving Average                              
 HKAMA   | Hilbert based Kaufman Adaptive Moving Average                
 HMA     | Harmonic Moving Average                                      
 HSMA    | Hirashima Sugita Moving Average                              
 HULL    | Hull Moving Average                                          
 HULLT   | Hull Triple Moving Average                                   
 HWMA    | Henderson Weighted Moving Average                            
 IE2     | Early T3 by Tim Tilson                                       
 IIRF    | Infinite Impulse Response Filter                             
 ILRS    | Integral of Linear Regression Slope                          
 JMA     | Jurik Moving Average                                         
 KA      | Unknown                                                      
 KAMA    | Kaufman Adaptive Moving Average &  Apirine Adaptive MA  
 KIJUN   | KIJUN                                                        
 KIJUN2  | Kijun v2                                                     
 LAG     | Ehlers - Laguerre Filter                                     
 LCLSMA  | 1LC-LSMA (1 line code lsma with 3 functions)                 
 LEMA    | Leader Exponential Moving Average                            
 LLMA    | Low-Lag Moving Average                                       
 LMA     | Leo Moving Average                                           
 LP      | Unknown                                                      
 LRL     | Linear Regression Line                                       
 LSMA    | Least Squares Moving Average / Linear Regression Curve       
 LTB     | Unknown                                                      
 LWMA    | Linear Weighted Moving Average                               
 MAMA    | MAMA - MESA Adaptive Moving Average                          
 MAVW    | Mavilim Weighted Moving Average                              
 MCGD    | McGinley Dynamic Moving Average                              
 MF      | Modular Filter                                               
 MID     | Median Moving Average / Percentile Nearest Rank              
 MNMA    | McNicholl Moving Average                                     
 MTMA    | Unknown                                                      
 MVSMA   | Minimum Variance SMA                                         
 NLMA    | Non-lag Moving Average                                       
 NWMA    | Dürschner 3rd Generation Moving Average (New WMA)            
 PKF     | Parametric Kalman Filter                                     
 PWMA    | Parabolic Weighted Moving Average                            
 QEMA    | Quadruple Exponential Moving Average                         
 QMA     | Quick Moving Average                                         
 REMA    | Regularized Exponential Moving Average                       
 REPMA   | Repulsion Moving Average                                     
 RGEMA   | Range Exponential Moving Average                             
 RMA     | Welles Wilders Smoothing Moving Average    
 RMF     | Recursive Median Filter                                      
 RMTA    | Recursive Moving Trend Average                               
 RSMA    | Relative Strength Moving Average - based on RSI              
 RSRMA   | Right Sided Ricker MA                                        
 RWMA    | Regressively Weighted Moving Average                         
 SAMA    | Slope Adaptive Moving Average                                
 SFMA    | Smoother Filter Moving Average                               
 SMA     | Simple Moving Average                                        
 SSB     | Senkou Span B                                                
 SSF     | Ehlers - Super Smoother Filter P2                            
 SSMA    | Super Smooth Moving Average                                  
 STMA    | Unknown                                                      
 SWMA    | Self-Weighted Moving Average                                 
 SW_MA   | Sine-Weighted Moving Average                                 
 TEMA    | Triple Exponential Moving Average                            
 THMA    | Triple Exponential Hull Moving Average                       
 TL      | Unknown                                                      
 TMA     | Triangular Moving Average                                    
 TPBF    | Three-pole Ehlers Butterworth                                
 TRAMA   | Trend Regularity Adaptive Moving Average                     
 TSF     | True Strength Force                                          
 TT3     | Tilson (3rd Degree) Moving Average                           
 VAMA    | Volatility Adjusted Moving Average                           
 VAMAF   | Volume Adjusted Moving Average Function                      
 VAR     | Vector Autoregression Moving Average                         
 VBMA    | Variable Moving Average                                      
 VHMA    | Vertical Horizontal Moving Average                           
 VIDYA   | Variable Index Dynamic Average                               
 VMA     | Volume Moving Average                                        
 VSO     | Unknown                                                      
 VWMA    | Volume Weighted Moving Average                               
 WCD     | Unknown                                                      
 WMA     | Weighted Moving Average                                      
 XEMA    | Optimized Exponential Moving Average                         
 ZEMA    | Zero Lag Moving Average                                      
 ZLDEMA  | Zero-Lag Double Exponential Moving Average                   
 ZLEMA   | Ehlers - Zero Lag Exponential Moving Average                 
 ZLTEMA  | Zero-Lag Triple Exponential Moving Average                   
 ZSMA    | Zero-Lag Simple Moving Average                               
"
 
Don't forget that you can use any Moving Average not only for the chart but also for any of your indicators without affecting the code as in my example.
But remember that some MAs are not designed to work with anything other than a chart.
All MA and Code lists are sorted strictly alphabetically by short name (A-Z).
Each MA has its own number (ID) by which you can display the Moving Average you need.
Next to the ID selection there are tooltips with short names and their numbers. Use them.
The panel below will help you to read the Name of the selected MA.
Because of the size of the collection I think this is the optimal and most convenient use. Correct me if this is not the case.
Unknown - Some MAs I collected so long ago that I lost the full real name and couldn't find the authors. If you recognize them, please let me know.
I have deliberately simplified all MAs to input just Source and Length.
Because the collection is so large, it would be quite inconvenient and difficult to customize all MA functions (multipliers, offset, etc.).
If you need or like any MA you will still have to take it from my collection for your code.
I tried to leave the basic MA settings inside function in first strings.
I have tried to list most of the authors, but since the bulk of the collection was created a long time ago and was not intended for public publication I could not find all of them.
Some of the features were created from scratch or may have been slightly modified, so please be careful.
If you would like to improve this collection, please write to me in PM.
 
Also Credits, Likes, Awards, Loves and Thanks to :
    @alexgrover
    @allanster
    @andre_007
    @auroagwei
    @blackcat1402
    @bsharpe
    @cheatcountry
    @CrackingCryptocurrency
    @Duyck
    @ErwinBeckers
    @everget
    @glaz
    @gotbeatz26107
    @HPotter
    @io72signals
    @JacobAmos
    @JoshuaMcGowan
    @KivancOzbilgic
    @LazyBear
    @loxx
    @LuxAlgo
    @MightyZinger
    @nemozny
    @NGBaltic
    @peacefulLizard50262
    @RicardoSantos
    @StalexBot
    @ThiagoSchmitz
    @TradingView
    — 𝐀𝐧𝐝 𝐎𝐭𝐡𝐞𝐫𝐬 !
So just a Big Thank You to everyone who has ever and anywhere shared their codes.
K's Reversal Indicator IIK’s Reversal Indicator II uses a moving average timing technique to deliver its signals. The method of calculation is as follows:
* Calculate a moving average (by default, a 13-period moving average).
* Calculate the number of times where the market is above its moving average. Whenever that number hits 21, a bearish signal is generated, and whenever that number if zero, a bullish signal is generated.
The indicator signals short-term to mid-term reversals as a mean-reversion move.
Geometrical Mean Moving AverageThe geometric moving average is a type of moving average that calculates the geometric mean of the previous n-periods of the price time series. Unlike the simple moving average that uses the arithmetic mean to continuously calculate the moving average as new price data comes in, the geometric moving average uses the geometric mean formula to get the moving average of the price data as new ones come in.
 Why use a geometric moving average? 
The geometric moving average differs from the simple moving average in how it is calculated. Most importantly, the geometric mean takes into account the compounding that occurs from period to period.
 How can you use a geometric mean moving average? 
You can use the GMMA just as you would use any other moving average indicator. You can use it to identify the direction of the trend, and in this case, it can also serve as a support level during an uptrend or a resistance level during a downtrend.
 Drawbacks with a geometric moving average 
Just like other moving average indicators, the GMA has limitations. Some of them are as follows:
 
 It lags because it uses past price data.
 It is pretty useless when the price action is choppy or moving predominantly sideways. During such periods, it can give multiple false signals.
YinYang RSIYinYang RSI is a Momentum Oscillator. It is loosely based on the standard RSI but uses our Custom True Value Zone Algorithm. Essentially it is a stronger, more accurate RSI that isn't manipulated by consolidation. YinYang RSI moves slightly slower than the standard RSI but when it does move it is much more accurate.
Why do we deem YinYang RSI to be a more accurate RSI? Well, let's discuss some of the underlying logic behind it. YinYang RSI is derived from the High and Low data from multiple Security Requests, we send that data into a modified Donchian Channel to calculate its Basis. That basis is then taken and averaged between multiple different VWMA calculations to ‘Smooth’ it out before we send it into an RSI calculation and display the final results.
This may sound a little confusing and you may be wondering, why bother doing this? The main reason we created the YinYang RSI is to remove the fact that consolidation causes Regular RSI to go down in index value. In our opinion RSI shouldn’t go down due to consolidation. By removing consolidation from RSI it innately made the RSI more smooth and since it became more smooth there were less times it crossed the RSI Moving Average (MA). In turn, since it crosses the RSI MA less, it means when it does cross the RSI MA, it is a much stronger more accurate signal; but don’t just take our word for it! Let’s get into some examples to show you exactly how it works:
Our RSI is very smooth, because of the way we apply VWMA to it, it keeps it from being a jagged line like the regular RSI is:
  
Our Indicator features 3 RSI’s in it: YinYangRSI, Regular RSI and YinYang Stoch RSI. The reason there are 3 is not only for the Information Tables (we will talk about this later), but also for the fact that you can overlay them on top of each other.
Here is the same dates but with Regular RSI:
  
Hopefully you can see how different they are and how smooth ours is, but if not, lets overlay them so you get a better idea:
  
When the YinYang RSI and Regular RSI are overlaid on top of each other, the Regular RSI’s colors change for easier readability. The Regular RSI turns Pink and the Regular RSI MA turns Orange. As you can see here, they function much differently and it is quite clear that the YinYang RSI holds itself during consolidation and is more smooth.
You may be asking yourself, this is great and all, but how does it help me trade?
Well, now that you understand the difference between YinYang and Regular RSI let's discuss exactly that!
  
So as you can see in the image above, when the RSI crosses the RSI MA it represents a strong movement in price is likely about to occur. When the RSI is very low (20 or less) and it crosses ABOVE the RSI MA, this represents a BUY/LONG signal. When the RSI is very high (80 or above) and it crosses BELOW the RSI MA, this represents a SELL/SHORT signal.
There are times where it is a good time to buy or sell, but the RSI may not be in the right place. This is rare but it does happen. We marked a location that did exactly that with an Orange circle in the picture above. These things happen, however we don’t recommend you act on them. The main reason is that they are much more risky. Nothing will ever be 100% accurate, but the key is making decisions that are more in your favor than not. When the RSI and RSI MA cross and the RSI is near 50, it's much less accurate, however, not impossible for it to be a good signal.
Now you may be wondering, how come I see 2 SELL or 2 BUY signals before the RSI moves a lot? This is quite normal. Based on the picture above, all of the BUY and SELL signals are accurate, but not all of them have insane price movements. However, they all did feature SOME price movements. Just because a BUY or SELL (RSI and RSI MA crossing) happens, doesn’t mean the RSI is going to move all the way from 80 to 20, sometimes the price only moves a bit and then corrects back. This is completely normal.
The part that is up to you is knowing when to exit these trades. You can use the YinYang RSI to see entry locations for Long/Short, but it can be risky to assume that you can go from a BUY right to a SELL and vice versa.
Don’t fret, there is a reason we have our YinYang Stoch RSI within this indicator and its not just because we felt like it! When you overlay the YinYang RSI and YinYang Stoch RSI on top of each other, you can get a very good idea of when a signal may be over and likely it’s a good time to get out. However, first, just so you understand what our YinYang Stoch RSI does, let's take a quick look at it.
  
At first glance, the YinYang Stoch RSI can look pretty strange and even overwhelming, this is completely normal. It features drastic movements, but only when there is good reason to! When the blue line (K) crosses the orange line (D) it represents momentum in price. So when the blue line crosses above the orange line it means BUY and when the blue line crosses below the orange line it means SELL.
How it works with the YinYang RSI is simple, lets toggle the two of them on together in the settings:
  
It may look a little confusing at first, and we don’t necessarily recommend you do it for your entry as it can be a little too much and sometimes confusing, but it can be very helpful for understanding your exit and if the momentum has changed/died down. Here's an example based on our initial BUY/SELL image above:
  
So since we’re talking about the double SELL signal and how to know if its momentum is ending we’ve zoomed in on this example. Here we can see where the pink circle is, that the YinYang Stoch RSI has gained buy momentum and the sell momentum has likely ended here. This is canceled out however, by the fact that shortly after we see another SELL signal combined with the Stoch RSI crossing under and also showing SELL momentum. The blue Vertical lines are to show visually where the stoch crossed over/under as they can be a little hard to see visually. Also, based on this example, you can see where the orange circle is that was clearly a very good buy location and also has the stoch crossover in that location too. So even though the RSI isn’t very low, there is still a decent amount of bullish momentum in that location. Is this enough for you to make a purchase on? In our opinion, it’s still a little too risky, but maybe it fits your trading style, or maybe you decide its a good time to Dollar Cost Average / purchase just a small amount.
Now, you may be wondering, as we mentioned it early, what are those Information Tables that have been sitting on the right of every example?
  
These Information Tables are there to display very important Time Frame data for you. Not only can you see 6 Different Time Frames, which you can customize within your Settings. You also get to see the level of RSI and RSI MA for YinYang, Regular and YinYang Stoch RSI. Being able to see this data on multiple different Time Frames without having to change the Time Frame you are on can be very helpful, especially if you’re trading on a lower Time Frame like 15 minutes. The color of the box is based on if the RSI has crossed the MA or not. When the box is Green, the RSI is greater than the MA (Bullish). When the box is Red, the RSI is less than the MA (Bearish).
This concludes our Tutorial on how to use YinYang RSI, below you will see all of our current Settings, what they all mean and how you can customize them.
Settings:
1. Show Signals:
Signals are when the RSI crosses the RSI MA (for any RSI TYPE active). When these crosses happen, it will make a plot on the chart that represents Buy and Sell Signals. These signals have alerts that correspond with them, but you will manually need to set up these alerts yourself through the indicator. Please refer to TradingView for how to set up alerts.
2. RSI Type:
We have 3 types of RSI’s within this Indicator:
 
 YinYang RSI
 Regular RSI
 YinYang Stoch RSI
 
These RSI’s can be used individually or overlaid on top of each other for easier comparison. It can be useful to go back and forth between indicators or have them overlaid to get a better understanding of what's going on.
2.1. YinYang RSI:
Our YinYang RSI is our custom RSI that is based on our True Value Zone Algorithm. It is the main purpose of this Indicator but can be used in conjunction with Regular RSI and YinYang Stoch RSI. YinYang RSI is a much more smooth, slow moving form of RSI that doesn’t go down from consolidation and therefore makes the RSI and RSI MA crosses much more accurate.
2.2. Regular RSI:
This is a regular RSI that is within our indicator so you can make comparisons and also overlay on top of our YinYang RSI and/or YinYang Stoch.
2.3. YinYang Stoch RSI:
This is a Stoch RSI that is calculated with our YinYang RSI’s values to create a very unique Stoch RSI. Our YinYang Stoch RSI moves very drastically and quickly when there is true momentum swings but it never really hovers in the middle. It makes its way from 0-100 and 100-0 within 2-3 candles usually and if it makes it all the way, you know there is momentum backing this price movement.
3. Information Tables:
3.1. Show Information Tables:
Our Information tables display 6 different Time Frame resolutions to give you the data of YinYang RSI/MA, Regular RSI/MA and Stoch RSI/MA over multiple different Time Frames so you don’t constantly have to keep changing yours and can focus on the trade at hand.
You can choose to display:
 
 ‘All’,
 ‘None’,
 ‘YinYang RSI’,
 ‘Regular RSI’,
 ‘YinYang Stoch RSI’ 
 
and/or any combination of the three so you can see all the data you want to your liking.
3.2. Display Tables Direction:
Since there are 6 different Time Frames shown, and you have the ability to display all 3 RSI and MA values, this table can get pretty big. If you have a large monitor and not too many indicators active it's no big deal and a vertical display is likely what you’ll want. However, if you have a smaller monitor or many Indicators active, it will scrunch this Indicator and make it difficult to see all of your Time Frames in the tables. For this reason, we have the option to display them ‘Horizontally’.
3.3. Res1 / Res2/ Res3 / Res4 / Res5 / Res6:
These represent the different resolutions (Time Frames) being used in your information tables and can be modified to display whatever resolution works best for your trading style. By default they are:
 
 Res1: Current Timeframe
 Res2: 15 Minute
 Res3: 1 Hour
 Res4: 4 Hour
 Res5: 1 Day
 Res6: 1 Week
 Backup Res (not changeable): 5 Minute (this is only used if your Current Timeframe in Res1 is a duplicate of one of the other resolutions)
 
Alerts are available and customizable within the Indicator. You can set up an alert for any of the RSI crossing Signals.
If you have any Questions or Concerns, don’t hesitate to contact us.
HAPPY TRADING!
Average Range LinesThis Average Range Lines indicator identifies high and low price levels based on a chosen time period (day, week, month, etc.) and then uses a simple moving average over the length of the lookback period chosen to project support and resistance levels, otherwise referred to as average range. The calculation of these levels are slightly different than Average True Range and I have found this to be more accurate for intraday price bounces.
Lines are plotted and labeled on the chart based on the following methodology:
+3.0: 3x the average high over the chosen timeframe and lookback period.
+2.5: 2.5x the average high over the chosen timeframe and lookback period.
+2.0: 2x the average high over the chosen timeframe and lookback period.
+1.5: 1.5x the average high over the chosen timeframe and lookback period.
+1.0: The average high over the chosen timeframe and lookback period.
+0.5: One-half the average high over the chosen timeframe and lookback period.
Open: Opening price for the chosen time period.
-0.5: One-half the average low over the chosen timeframe and lookback period.
-1.0: The average low over the chosen timeframe and lookback period.
-1.5: 1.5x the average low over the chosen timeframe and lookback period.
-2.0: 2x the average low over the chosen timeframe and lookback period.
-2.5: 2.5x the average low over the chosen timeframe and lookback period.
-3.0: 3x the average low over the chosen timeframe and lookback period.
Look for price to find support or resistance at these levels for either entries or to take profit. When price crosses the +/- 2.0 or beyond, the likelihood of a reversal is very high, especially if set to weekly and monthly levels. 
This indicator can be used/viewed on any timeframe. For intraday trading and viewing on a 15 minute or less timeframe, I recommend using the 4 hour, 1 day, and/or 1 week levels.  For swing trading and viewing on a 30 minute or higher timeframe, I recommend using the 1 week, 1 month, or longer timeframes. I don’t believe this would be useful on a 1 hour or less timeframe, but let me know if the comments if you find otherwise. 
Based on my testing, recommended lookback periods by timeframe include:
Timeframe: 4 hour; Lookback period: 60 (recommend viewing on a 5 minute or less timeframe)
Timeframe: 1 day; Lookback period: 10 (also check out 25 if your chart doesn’t show good support/resistance at 10 days lookback – I have found 25 to be useful on charts like SPX)
Timeframe: 1 week; Lookback period: 14
Timeframe: 1 month; Lookback period: 10
The line style and colors are all editable. You can apply a global coloring scheme in the event you want to add this indicator to your chart multiple times with different time frames like I do for the weekly and monthly.
I appreciate your comments/feedback on this indicator to improve. Also let me know if you find this useful, and what settings/ticker you find it works best with!
Also check out my profile for more indicators!
Moving Average CandlesInspired by Ricardo Santos's " Multiple Moving Average Candle System V0" ()
This script plots 6 moving averages using the plotcandle function rather than the normal plot function. Result is a stylish indicator that shows moving average crossovers in a more visual way. Moving average type options available are  , or Simple, Exponential, Hull, Relative, Volume Weighted, and Arnaud Legoux Moving Averages, Linear Regression Curve, and Median. Lengths for each can be set in settings along with selection specific parameters. Good for plotting/visualizing potential entry/exit points based on your preferred moving averages crossing over, or just as some eye candy. 






















