Another Brian"Another Brian" is an advanced TradingView indicator meticulously designed to offer traders a multifaceted analysis by integrating both technical and fundamental metrics. Unlike standard indicators, this script uniquely combines multi-period Moving Averages (SMA and WMA) with multi-day Volume-Weighted Average Prices (VWAPs) to accurately identify trend directions and potential support/resistance levels. It incorporates pivot points (S2 and R2) specifically calculated for intraday timeframes (1 to 14 minutes) to highlight key profit-taking areas tailored for day trading.
A standout feature of "Another Brian" is its dynamic background color coding, which changes based on the selected timeframe. This visual cue allows traders to instantly recognize the current trading context, enhancing situational awareness and decision-making efficiency.
On the fundamental side, the script evaluates dividend yield and dividend payout ratios, integrating these metrics with distribution data—crucial for ETFs where distributions may not appear as traditional dividends. By pulling and analyzing distribution information, "Another Brian" provides a more comprehensive yield assessment. This data is then compared to historical volatility (HV), enabling traders to gauge the stability and risk associated with their investments.
The indicator also features a comprehensive Risk-Adjusted Yield Ratio (RAYR), which compares the annualized distribution yield to its standard deviation. This ratio helps traders assess the efficiency of ETFs by balancing yield against volatility, highlighting investments that offer an optimal risk-return profile.
Central to the user experience is a dynamic data table that displays essential metrics such as 20-day Volume, ATR20, ADR20, moving averages status, yield ratios, and volatility measures. This table is color-coded for quick visual interpretation:
Setup : turn off the candle colors, the indicator draws price.
Red Indicators: Signal that a closer examination is needed, allowing traders to swiftly identify potential issues or opportunities.
Green and Yellow Indicators: Provide positive or neutral signals, aiding in the swift assessment of market conditions.
Additionally, "Another Brian" includes a trigger detection system that identifies potential bullish or bearish conditions based on the interaction between SMAs and WMAs across multiple timeframes. These triggers offer actionable trading signals, enhancing the tool's utility for both novice and experienced traders.
Key Features:
Moving Averages (MA):
Simple Moving Average (SMA): Calculates SMA over various periods (20-day, 50-day) to identify trend directions.
Weighted Moving Average (WMA): Computes WMA to give more significance to recent price data, aiding in trend detection.
Volume-Weighted Average Price (VWAP):
Multi-Day VWAPs: Plots VWAPs for 1-day, 2-day, and 3-day periods, helping traders identify potential support and resistance levels based on volume-weighted pricing.
Pivot Points:
Support (S2) and Resistance (R2): Calculates and plots key pivot points for intraday timeframes (1 to 14 minutes), assisting in identifying potential profit-taking zones for day trades.
Volatility Metrics:
Average True Range (ATR): Measures market volatility over a 20-day period.
Historical Volatility (HV): Assesses volatility over the past year, providing insights into price fluctuations.
Dividend and Distribution Analysis:
Dividend Yield & Payout Ratio: Displays current dividend yield and payout ratios as percentages.
Distribution Data: Integrates distribution information for ETFs, ensuring comprehensive yield analysis even when distributions don't appear as traditional dividends.
Risk-Adjusted Yield Ratio (RAYR):
RAYR Calculation: Compares the annualized distribution yield to its standard deviation, indicating the yield received for each unit of risk taken.
RAYR Indicators: Highlights ETFs with favorable RAYR values, aiding in identifying investments that offer a balanced risk-return profile.
Dynamic Data Table:
Comprehensive Metrics Display: Showcases key metrics such as 20-day Volume, ATR20, ADR20, moving averages status, yield ratios, and volatility measures.
Color-Coding: Utilizes color-coded elements to indicate the status of various metrics, enhancing visual interpretation and decision-making.
Quick View Alerts: Red indicators prompt traders to take a closer look, streamlining the analysis process.
Trigger Indicators:
Pre-Trigger Conditions: Identifies potential market triggers based on moving average crossovers and other predefined conditions.
Bullish and Bearish Conditions: Differentiates between bullish and bearish trends, providing visual cues for potential trade opportunities.
Background Color Coding:
Timeframe-Based Coloring: Changes the chart's background color based on the selected timeframe (e.g., yellow for 1-minute, blue for 5-minute), offering an immediate visual reference for the current trading context.
Usage Benefits:
Holistic Market Analysis: Combines technical indicators with fundamental metrics to provide a well-rounded view of stock performance.
Enhanced Decision-Making: Helps traders identify trends, volatility, and potential trade triggers, facilitating informed trading strategies.
Visual Clarity: Employs color-coded elements and a comprehensive data table to simplify complex data, making it easier to interpret market conditions at a glance.
Customization: Offers flexibility in selecting which VWAPs to display and allows for adjustments based on different timeframes and trading preferences.
Efficiency in Monitoring: The dynamic background and color-coded table enable quick assessments, saving traders time and enhancing responsiveness to market changes.
"Another Brian" is an invaluable tool for traders seeking to integrate multiple analytical perspectives into their trading routine. By providing deeper market insights through its unique combination of technical and fundamental metrics, along with intuitive visual cues, "Another Brian" empowers traders to make more informed and strategic decisions in the dynamic stock market environment.
Komut dosyalarını "moving average crossover" için ara
Smart Money Analysis with Golden/Death Cross [YourTradingSensei]Description of the script "Smart Money Analysis with Golden/Death Cross":
This TradingView script is designed for market analysis based on the concept of "Smart Money" and includes the detection of Golden Cross and Death Cross signals.
Key features of the script:
Moving Averages (SMA):
Two moving averages are calculated: a short-term (50 periods) and a long-term (200 periods).
The intersections of these moving averages are used to determine Golden Cross and Death Cross signals.
High Volume:
The current trading volume is analyzed.
Periods of high volume are identified when the current volume exceeds the average volume by a specified multiplier.
Support and Resistance Levels:
Key support and resistance levels are determined based on the highest and lowest prices over a specified period.
Buy and Sell Signals:
Buy and sell signals are generated based on moving average crossovers, high volume, and the closing price relative to key levels.
Golden Cross and Death Cross:
A Golden Cross occurs when the short-term moving average crosses above the long-term moving average.
A Death Cross occurs when the short-term moving average crosses below the long-term moving average.
These signals are displayed on the chart with text color changes for better visualization.
Using the script:
The script helps traders visualize key signals and levels, aiding in making informed trading decisions based on the behavior of major market players and technical analysis.
Custom candle lighting(CCL) © 2024 by YourTradingSensei is licensed under CC BY-NC-SA 4.0. To view a copy of this license.
Coiled Moving AveragesThis indicator detects when 3 moving averages converge and become coiled. This indicates volatility contraction which often leads to volatility expansion, i.e. large price movements.
Moving averages are considered coiled when the percent difference from each moving average to the others is less than the Coil Tolerance % input value.
This indicator is unique in that it detects when moving averages converge within a specified percent range. This is in contrast to other indicators that only detect moving average crossovers, or the distance between price and a moving average.
This indicator includes options such as:
- % difference between the MAs to be considered coiled
- type and length of MAs
- background color to indicate when the MAs are coiled
- arrows to indicate if price is above or below the MAs when they become coiled
While coiling predicts an increased probability for volatility expansion, it does not necessarily predict the direction of expansion. However, the arrows which indicate whether price is above or below the moving average coil may increase the odds of a move in that direction. Bullish alignment of the moving averages (faster MAs above the slower MAs) may also increase the odds of a bullish break, while bearish alignment may increase the odds of a bearish break.
Note that mean reversion back to the MA coil is common after initial volatility expansion. This can present an entry opportunity for traders, as mean reversion may be followed by continuation in the direction of the initial break.
Experiment with different settings and timeframes to see how coiled MAs can help predict the onset of volatility.
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.
RSI MA CrossBuilding onto the standard RSI indicator, with the following modification and improvements:
- Added signals for RSI moving average crossovers, which usually indicator a bull or bear trend
- Added option to use smoothed RSI line
- Added alert for crossover signals
Enjoy~~~!
trend_vol_forecastNote: The following description is copied from the script's comments. Since TradingView does not allow me to edit this description, please refer to the comments and release notes for the most up-to-date information.
-----------
USAGE
This script compares trend trading with a volatility stop to "buy and hold".
Trades are taken with the trend, except when price exceeds a volatility
forecast. The trend is defined by a moving average crossover. The forecast
is based on projecting future volatility from historical volatility.
The trend is defined by two parameters:
- long: the length of a long ("slow") moving average.
- short: the length of a short ("fast") moving average.
The trend is up when the short moving average is above the long. Otherwise
it is down.
The volatility stop is defined by three parameters:
- volatility window: determines the number of periods in the historical
volatility calculation. More periods means a slower (smoother)
estimate of historical volatility.
- stop forecast periods: the number of periods in the volatility
forecast. For example, "7" on a daily chart means that the volatility
will be forecasted with a one week lag.
- stop forecast stdev: the number of standard deviations in the stop
forecast. For example, "2" means two standard deviations.
EXAMPLE
The default parameters are:
- long: 50
- short: 20
- volatility window: 30
- stop forecast periods: 7
- stop forecast standard deviations: 1
The trend will be up when the 20 period moving average is above the 50
period moving average. On each bar, the historical volatility will be
calculated from the previous 30 bars. If the historical volatility is 0.65
(65%), then a forecast will be drawn as a fuchsia line, subtracting
0.65 * sqrt(7 / 365) from the closing price. If price at any point falls
below the forecast, the volatility stop is in place, and the trend is
negated.
OUTPUTS
Plots:
- The trend is shown by painting the slow moving average green (up), red
(down), or black (none; volatility stop).
- The fast moving average is shown in faint blue
- The previous volatility forecasts are shown in faint fuchsia
- The current volatility forecast is shown as a fuchsia line, projecting
into the future as far as it is valid.
Tables:
- The current historical volatility is given in the top right corner, as a
whole number percentage.
- The performance table shows the mean, standard deviation, and sharpe
ratio of the volatility stop trend strategy, as well as buy and hold.
If the trend is up, each period's return is added to the sample (the
strategy is long). If the trend is down, the inverse of each period's
return is added to the sample (the strategy is short). If there is no
trend (the volatility stop is active), the period's return is excluded
from the sample. Every period is added to the buy-and-hold strategy's
sample. The total number of periods in each sample is also shown.
powerful moving average crossoverThis script is a simplified version of John Ehlers's adaption of Dr. Kalman's optimum estimator as applied to price action (More can be found on this here: www.dimensionetrading.com). Here I have adapted two of these optimum estimators to work together to provide crossover signals. The user can choose the input of this filter in the 'input source'. The 'Ratio of Uncertainties' controls how adaptive the moving averages are, increasing this number will increase adaptivity and vice versa for decreasing. The 'Kalman Gain' allows the user to choose how much error to let into the calculation. The smaller this number is the quicker the moving average will approach price action.
In practice this indicator is much smoother than most other moving averages and has significantly less whiplash while still getting very early entries. If anyone wants to adapt this script for their own uses please feel free. Message me what you make with it, I am very curious what this can do when in the right hands!
Happy trading!
Up/Down Volume + Delta + MAsUp/Down Volume + Delta + Moving Averages
General Description
The Up/Down Volume + Delta + MAs indicator is an advanced volume analysis tool that provides detailed information on buying and selling pressure in the market. It combines directional volume analysis with moving averages to provide a comprehensive view of market behavior.
Main Features
Directional Volume Analysis
Up Volume : Displays the volume associated with upward price movements
Down Volume : Shows the volume related to downward price movements
Volume Delta : Calculates the net difference between bullish and bearish volume
Integrated Moving Averages
Supports multiple types of moving averages: EMA, SMA, WMA, RMA, HMA, VWMA
Smoothed moving averages for bullish and bearish volume
Customizable period and moving average type settings
Multi-Timeframe Analysis
Scans data from lower time frames for greater accuracy
Automatic timeframe selection or manual configuration
Best approximation of true directional volume
Configuration and Parameters
Custom Timeframe
Use custom timeframe : Allows you to use a specific timeframe
Timeframe : Selection of the analysis period (automatic by default)
Higher time frames provide more historical data but less accuracy.
Visual Personalization
Up Color : Color for bullish volume (green by default)
Down Color : Color for down volume (red by default)
MA Up Volume Color : Color for the moving average of the up volume
MA Down Volume Color : Color for the moving average of down volume
Setting Moving Averages
Moving Average Type : Selecting the moving average type
MA Length : Period of the moving average (14 by default)
Show Moving Averages : Enable/disable the display of moving averages
How to Use the Indicator
Interpretation of Directional Volume
High Bullish Volume : Indicates strong buying pressure
High Bearish Volume : Indicates intense selling pressure
Positive Delta : Buyer dominance in the period
Negative Delta : Predominance of sellers in the period
Moving Average Signals
Moving Average Crossover : Changes in the directional volume trend
Divergences : Differences between price and directional volume
Trend Confirmation : Validation of price movements with volume
Use Cases
Trend Analysis
Confirm the strength of bullish or bearish trends
Identify potential trend exhaustions
Detect institutional accumulation or distribution
Entry and Exit Timing
Look for convergences between price and directional volume
Identify support and resistance levels supported by volume
Confirm technical pattern breakouts
Divergence Analysis
Detect divergences between price and volume delta
Anticipate possible trend changes
Validate signals from other technical indicators
Advantages of the Indicator
Improved Accuracy : Uses data from lower time frames
Clear Visualization : Intuitive graphical representation of directional volume
Flexibility : Multiple customization options
Integral Analysis : Combines directional volume with smoothed moving averages
Recommendations for Use
Use in conjunction with price analysis and technical patterns
Adjust the period of moving averages according to your trading style
Consider market context and volatility
Validate signals with other momentum or trend indicators
This indicator is especially useful for traders looking to understand institutional volume dynamics and buying/selling pressure in real time.
Simple Multi-Timeframe Trends with RSI (Realtime)Simple Multi-Timeframe Trends with RSI Realtime Updates
Overview
The Simple Multi-Timeframe Trends with RSI Realtime Updates indicator is a comprehensive dashboard designed to give you an at-a-glance understanding of market trends across nine key timeframes, from one minute (M1) to one month (M).
It moves beyond simple moving average crossovers by calculating a sophisticated Trend Score for each timeframe. This score is then intelligently combined into a single, weighted Confluence Signal , which adapts to your personal trading style. With integrated RSI and divergence detection, SMTT provides a powerful, all-in-one tool to confirm your trade ideas and stay on the right side of the market.
Key Features
Automatic Trading Presets: The most powerful feature of the script. Simply select your trading style, and the indicator will automatically adjust all internal parameters for you:
Intraday: Uses shorter moving averages and higher sensitivity, focusing on lower timeframe alignment for quick moves.
Swing Trading: A balanced preset using medium-term moving averages, ideal for capturing trends that last several days or weeks.
Investment: Uses long-term moving averages and lower sensitivity, prioritizing the major trends on high timeframes.
Advanced Trend Scoring: The trend for each timeframe isn't just "up" or "down". The score is calculated based on a combination of:
Price vs. Moving Average: Is the price above or below the MA?
MA Slope: Is the trend accelerating or decelerating? A steep slope indicates a strong trend.
Price Momentum: How quickly has the price moved recently?
Volatility Adjustment: The score's quality is adjusted based on current market volatility (using ATR) to filter out choppy conditions.
Weighted Confluence Score: The script synthesizes the trend scores from all nine timeframes into a single, actionable signal. The weights are dynamically adjusted based on your selected Trading Style , ensuring the most relevant timeframes have the most impact on the final result.
Integrated RSI & Divergence: Each timeframe includes a smoothed RSI value to help you spot overbought/oversold conditions. It also flags potential bullish (price lower, RSI higher) and bearish (price higher, RSI lower) divergences, which can be early warnings of a trend reversal.
Clean & Customizable Dashboard: The entire analysis is presented in a clean, easy-to-read table on your chart. You can choose its position and optionally display the raw numerical scores for a deeper analysis.
How to Use It
1. Add to Chart: Apply the "Simple Multi-Timeframe Trends" indicator to your chart.
2. Select Your Style: This is the most important step. Go to the indicator settings and choose the Trading Style that best fits your strategy (Intraday, Swing Trading, or Investment). All calculations will instantly adapt.
3. Analyze the Dashboard:
Look at the Trend row to see the direction and strength of the trend on individual timeframes. Strong alignment (e.g., all green or all red) indicates a powerful, market-wide move.
Check the RSI row. Is the trend overextended (RSI > 60) or is there room to run? Look for the fuchsia color, which signals a divergence and warrants caution.
Focus on the Signal row. This is your summary. A "STRONG SIGNAL" with high alignment suggests a high-probability setup. A "NEUTRAL" or "Weak" signal suggests waiting for a better opportunity.
4. Confirm Your Trades: Use the SMTT dashboard as a confirmation tool. For example, if you are looking for a long entry, wait for the dashboard to show a "BULLISH" or "STRONG SIGNAL" to confirm that the broader market structure supports your trade.
Dashboard Legend
Trend Row
This row shows the trend direction and strength for each timeframe.
⬆⬆ (Dark Green): Ultra Bullish - Very strong, established uptrend.
⬆ (Green): Strong Bullish - Confident uptrend.
▲ (Light Green): Bullish - The beginning of an uptrend or a weak uptrend.
━ (Orange): Neutral - Sideways or consolidating market.
▼ (Light Red): Bearish - The beginning of a downtrend or a weak downtrend.
⬇ (Red): Strong Bearish - Confident downtrend.
⬇⬇ (Dark Red): Ultra Bearish - Very strong, established downtrend.
RSI Row
This row displays the smoothed RSI value and its condition.
Green Text: Oversold (RSI < 40). Potential for a bounce or reversal upwards.
Red Text: Overbought (RSI > 60). Potential for a pullback or reversal downwards.
Fuchsia (Pink) Text: Divergence Detected! A potential reversal is forming.
White Text: Neutral (RSI between 40 and 60).
Signal Row
This is the final, weighted confluence of all timeframes.
Label:
🚀 STRONG SIGNAL / 💥 STRONG SIGNAL: High confluence and strong momentum.
🟢 BULLISH / 🔴 BEARISH: Clear directional bias across relevant timeframes.
🟡 Weak + / 🟠 Weak -: Minor directional bias, suggests caution.
⚪ NEUTRAL: No clear directional trend; market is likely choppy or undecided.
Numerical Score: The raw weighted confluence score. The further from zero, the stronger the signal.
Alignment %: The percentage of timeframes (out of 9) that are showing a clear bullish or bearish trend. Higher percentages indicate a more unified market.
Super Arma Institucional PRO v6.3Super Arma Institucional PRO v6.3
Description
Super Arma Institucional PRO v6.3 is a multifunctional indicator designed for traders looking for a clear and objective analysis of the market, focusing on trends, key price levels and high liquidity zones. It combines three essential elements: moving averages (EMA 20, SMA 50, EMA 200), dynamic support and resistance, and volume-based liquidity zones. This integration offers an institutional view of the market, ideal for identifying strategic entry and exit points.
How it Works
Moving Averages:
EMA 20 (orange): Sensitive to short-term movements, ideal for capturing fast trends.
SMA 50 (blue): Represents the medium-term trend, smoothing out fluctuations.
EMA 200 (red): Indicates the long-term trend, used as a reference for the general market bias.
Support and Resistance: Calculated based on the highest and lowest prices over a defined period (default: 20 bars). These dynamic levels help identify zones where the price may encounter barriers or supports.
Liquidity Zones: Purple rectangles are drawn in areas of significantly above-average volume, indicating regions where large market participants (institutional) may be active. These zones are useful for anticipating price movements or order absorption.
Purpose
The indicator was developed to provide a clean and institutional view of the market, combining classic tools (moving averages and support/resistance) with modern liquidity analysis. It is ideal for traders operating swing trading or position trading strategies, allowing to identify:
Short, medium and long-term trends.
Key support and resistance levels to plan entries and exits.
High liquidity zones where institutional orders can influence the price.
Settings
Show EMA 20 (true): Enables/disables the 20-period EMA.
Show SMA 50 (true): Enables/disables the 50-period SMA.
Show EMA 200 (true): Enables/disables the 200-period EMA.
Support/Resistance Period (20): Sets the period for calculating support and resistance levels.
Liquidity Sensitivity (20): Period for calculating the average volume.
Minimum Liquidity Factor (1.5): Multiplier of the average volume to identify high liquidity zones.
How to Use
Moving Averages:
Crossovers between the EMA 20 and SMA 50 may indicate short/medium-term trend changes.
The EMA 200 serves as a reference for the long-term bias (above = bullish, below = bearish).
Support and Resistance: Use the red (resistance) and green (support) lines to identify reversal or consolidation zones.
Liquidity Zones: The purple rectangles highlight areas of high volume, where the price may react (reversal or breakout). Consider these zones to place orders or manage risks.
Adjust the parameters according to the asset and timeframe to optimize the analysis.
Notes
The chart should be configured only with this indicator to ensure clarity.
Use on timeframes such as 1 hour, 4 hours or daily for better visualization of liquidity zones and support/resistance levels.
Avoid adding other indicators to the chart to keep the script output easily identifiable.
The indicator is designed to be clean, without explicit buy/sell signals, following an institutional approach.
This indicator is perfect for traders who want a visually clear and powerful tool to trade based on trends, key levels and institutional behavior.
Customizable 10‑MA SuiteCustomizable 10‑Moving‑Average Suite
OverviewPlot up to 10 independent moving averages on a single chart. Every line can be tailored to your trading style with adjustable length, timeframe, MA type (SMA, EMA, WMA, RMA, VWMA, HMA, LinReg), data source, colour, width, and plot style.
Key Features
True multi‑time‑frame support via request.security(): mix intraday and higher‑time‑frame MAs effortlessly.
Fine‑grained visibility control: toggle each MA on/off to keep charts clean and script performance high.
Versatile display options: choose between line, step, histogram, or area plots for every MA.
Typical Use‑Cases
Quickly compare short‑, medium‑, and long‑term trends.
Identify dynamic support/resistance and moving‑average crossovers.
Add confluence to existing strategies or discretionary setups.
Pro TipHighlight your primary trend MA with a thicker line and bolder colour, while setting secondary MAs to thinner or dashed styles—this keeps focus where it matters and prevents visual clutter.
Enjoy!
Market Sentiment Composite IndexDescription
The Market Sentiment Composite Index is an advanced indicator designed to provide traders with a comprehensive view of market sentiment by aggregating data from multiple key indicators. This tool helps traders identify potential overbought and oversold conditions, enabling more informed trading decisions.
How It Works
Indicator Components:
Relative Strength Index (RSI): Measures the magnitude of recent price changes to evaluate overbought or oversold conditions.
Average True Range (ATR): Gauges market volatility by analyzing the range of price movements.
MACD (Moving Average Convergence Divergence): Indicates momentum and potential buy/sell signals based on moving average crossovers.
Volume Score: Assesses trading volume in relation to its historical average to detect unusual activity.
Normalization: Each component is normalized to a 0-100 scale, ensuring consistency across different metrics.
Composite Calculation: The normalized values are averaged to form the Composite Sentiment Score. This score ranges from 0 to 100, providing a unified measure of market sentiment.
Visual Representation:
Sentiment Score Plot: The composite sentiment score is plotted on the chart.
Overbought/Oversold Levels: Default levels set at 70 (overbought) and 30 (oversold), customizable by the user.
Horizontal Lines: Dashed lines at the overbought and oversold levels for easy reference.
Alerts: Custom alerts notify traders when the sentiment score crosses the overbought or oversold thresholds, helping them stay informed of significant market conditions.
Usage
The Market Sentiment Composite Index is ideal for traders who seek a holistic view of market sentiment. By combining multiple indicators into a single score, it provides a robust tool to identify potential reversal points and confirm trends.
Key Benefits
Comprehensive Insight: Integrates multiple indicators for a well-rounded sentiment analysis.
Customization: Adjustable overbought and oversold levels to fit individual trading strategies.
User-Friendly: Clear visual representation and alerts to keep traders informed..
Trade Rush IndicatorTrade Rush Indicator
The Trade Rush Indicator is a comprehensive tool designed for traders who seek a clear visualization of key moving averages, combined with Bollinger Bands to identify potential trading opportunities. This script provides a unique approach to trend analysis by combining multiple Exponential Moving Averages (EMA) and Simple Moving Averages (SMA) with varying lengths, along with Bollinger Bands set to both 1 and 2 standard deviations.
Key Features:
EMAs & SMAs: The indicator includes several EMAs (5, 9, 21, 50, 100, 120, 200, 400) and SMAs (21, 50, 100, 120, 200, 400), each serving a different timeframe perspective. The EMAs and SMAs are color-coded for quick reference, and some of the longer-period moving averages (50 EMA, 100 EMA, etc.) are hidden by default to reduce chart clutter but can be manually enabled.
Bollinger Bands: Bollinger Bands are set at 1 and 2 standard deviations to assist in visualizing price volatility. The space between the 1σ and 2σ bands is filled with a light cloud, making it easy to spot periods of higher volatility. This band configuration helps traders assess potential breakout or reversal zones.
Ichimoku Cloud Overlay: Although the Ichimoku cloud calculation is included, it is hidden by default and can be activated when additional trend confirmation is needed. The cloud’s opacity is set to be subtle, allowing it to enhance chart readability without overwhelming other indicators.
Usage:
The Trade Rush Indicator is ideal for swing traders and intraday traders who rely on moving average crossovers, Bollinger Band volatility signals, and trend confirmation through Ichimoku cloud analysis. By visualizing multiple moving averages and Bollinger Bands, traders can identify trend direction, support/resistance zones, and potential breakout areas.
Originality and Value:
This script is a tailored solution for traders who seek a blend of moving averages and Bollinger Bands to enhance their trend-following strategies. Unlike standard setups, the Trade Rush Indicator provides extensive customization options, allowing traders to enable/disable specific indicators based on their trading style and preferences. Its structure also provides unique insights into volatility and trend strength by layering various EMAs and SMAs, helping traders make more informed decisions.
G-Ron TrendCloudOverview
The G-Ron TrendCloud Indicator is a powerful trading tool designed to identify trend momentum and potential reversals across multiple timeframes. Using cloud-based visualizations, this indicator provides clear, actionable signals, making it ideal for all traders.
How Does It Work?
The G-Ron TrendCloud uses advanced differential calculations to pinpoint key momentum levels in the market. It identifies both trend continuation and reversals, highlighting strong momentum shifts with clear visual cues.
Key Features
Trend Cloud – This cloud highlights the dominant market trend, indicating whether the market is trending upwards or downwards.
Reversal Cloud – This cloud provides early warning signals of potential trend reversals, helping traders time entries and exits more effectively.
Trend Reversion Line – This line acts as a key pivot point in the market, indicating where the long-term trend is likely to shift.
The three components change color dynamically based on market conditions:
Yellow for uptrends
Red for downtrends
What Makes It Unique?
Many indicators rely on simple or exponential moving average crossovers. In contrast, the G-Ron TrendCloud utilizes differential equations to analyze the interaction between moving averages and pinpoint the precise price levels where significant momentum shifts—referred to as trend pivots—are likely to occur. These trend pivots are categorized by both term (short, medium, long) and direction (continuation or reversal). It's crucial to note that the components of the G-Ron TrendCloud are not moving averages, making it impossible to replicate its insights using any SMA or EMA settings.
Understanding The Components
Trend Cloud: represents the area between the short-term trend pivot line and the medium-term trend pivot line. It illustrates the prevailing market trend.
Reversal Cloud: represents the area between the medium-term trend pivot line and the reversal pivot line. It provides insights into the strength of the trend.
Trend Reversion Line: the long-term trend pivot line which acts as a mean reversion for the Trend Cloud.
How To Use It
Trend Continuation: When price is above or within the yellow Trend Cloud it signals a strong bullish trend continuation. When price is below or within the red Trend Cloud it signals a strong bearish trend continuation.
Reversal Signals: When price breaks through the Reversal Cloud it signals a change in the prevailing market trend.
Long-Term Confirmation: Bullish trends are stronger, and price is more likely to continue higher when the Trend Reversion Line is yellow. Bearish trends are stronger, and price is more likely to continue lower when the Trend Reversion Line is red.
Multi-Timeframe View: For deeper insights, use the indicator across various timeframes. Shorter timeframes are ideal for intraday trades, while longer timeframes offer better signals for position traders.
Recommended Settings
The Long-Term Timeframe interval setting should always be at least three times bigger than the current timeframe displayed on your chart.
Why It’s Invite Only
The G-Ron TrendCloud utilizes a unique methodology that cannot be replicated by standard indicators. It provides valuable insights and clear visual cues to help traders accurately identify market trends. It greatly improves decision making and timing for both trade entries and exits, increasing the likelihood of successful outcomes.
Please see the authors instructions below to get instant access to this indicator.
The Exact IndicatorStruggling to get in on a trade? Don't know where to take profits? This indicator might help - it only displays the Buy, Stop Loss and Take profit points when certain conditions are met.
The indicator combines a moving average crossover strategy with trend analysis to identify potential buy opportunities in the market. It utilises a short-term and long-term Simple Moving Average (SMA) to generate buy signals when the short-term SMA crosses above the long-term SMA. Additionally, it displays take profit and stop loss levels, along with a background colour indicating the overall trend strength.
Pros :
Clear Signals : Provides straightforward buy signals based on a well-known crossover strategy, making it easy for traders to identify entry points.
Visual Aids : The inclusion of take profit and stop loss levels, along with background trend colors, enhances decision-making and risk management.
Trend Awareness : The background colour changes based on trend strength, allowing traders to quickly assess market conditions.
Cons :
Lagging Indicator : Moving averages are inherently lagging, which can result in delayed signals, especially in volatile markets.
False Signals : Crossover strategies can produce false signals during sideways or choppy market conditions, leading to potential losses.
Limited Scope : The indicator focuses primarily on buy signals, potentially missing out on other trading opportunities (like short-selling) in a bearish market.
Overall, while this indicator can be a useful tool for identifying bullish trends and potential entry points, traders should use it in conjunction with other analysis methods and risk management strategies to mitigate its limitations.
TEMA For Loop | QuantumResearchThe TEMA for Loop indicator is a unique trend analysis tool designed to provide a more nuanced view of market movements by combining a custom EMA-based calculation with a scoring system. This indicator aims to offer traders a refined way to assess market momentum, using an approach that goes beyond typical moving average crossovers. Here’s how the indicator works and what makes it valuable:
Enhanced Smoothing with Triple EMA:
The core calculation uses three successive Exponential Moving Averages (EMA) to create a smoothed curve. This combination smooths out price data more effectively than a single EMA, reducing noise while still being responsive to market shifts.
The Triple Exponential Moving Average (TEMA) calculation, often used to minimize lag, is customized here to derive a composite EMA value. This results in a more dynamic yet stable trend line that reacts to significant price movements without being overly sensitive to minor fluctuations.
Unique Scoring System for Trend Assessment:
What sets this indicator apart is its custom scoring mechanism that evaluates the strength and direction of trends over a defined range of historical data. By comparing the current smoothed EMA value against previous values within a specified lookback period, the indicator calculates a trend score.
This scoring system helps to quantify the momentum of the trend. A positive score indicates consistent upward momentum, while a negative score suggests downward momentum. The use of this scoring method provides traders with a deeper insight into the trend's persistence over time, allowing for better decision-making.
Trend Visualization with Clear Signals:
Green represents a strong upward trend, indicating potential buying interest.
Red signals a strong downward trend, highlighting potential selling pressure.
Gray denotes a neutral market state, where neither buyers nor sellers dominate.
Why This Indicator Is Original and Useful:
Unlike many traditional TEMA indicators, the TEMA for Loop incorporates a custom blend of multi-layered EMAs with a unique scoring system that offers a more granular view of market dynamics. The combination of TEMA smoothing with a trend scoring mechanism makes this indicator particularly useful for traders who want to identify sustained trends while avoiding false signals caused by market noise.
This enhanced approach to trend detection provides a level of analysis that is not readily available in most open-source TEMA scripts, justifying its unique value. The closed-source nature of this script protects its innovative scoring logic, which has been carefully optimized for accuracy and adaptability across various market conditions.
The TEMA for Loop is ideal for traders looking for a tool that provides a balanced blend of responsiveness and smoothness, making it an excellent choice for those who aim to ride strong trends while minimizing whipsaws. Its distinctive combination of methodologies offers traders a competitive edge in markets characterized by both sharp moves and periods of consolidation.
Uptrick: RSI Histogram
1. **Introduction to the RSI and Moving Averages**
2. **Detailed Breakdown of the Uptrick: RSI Histogram**
3. **Calculation and Formula**
4. **Visual Representation**
5. **Customization and User Settings**
6. **Trading Strategies and Applications**
7. **Risk Management**
8. **Case Studies and Examples**
9. **Comparison with Other Indicators**
10. **Advanced Usage and Tips**
---
## 1. Introduction to the RSI and Moving Averages
### **1.1 Relative Strength Index (RSI)**
The Relative Strength Index (RSI) is a momentum oscillator developed by J. Welles Wilder and introduced in his 1978 book "New Concepts in Technical Trading Systems." It is widely used in technical analysis to measure the speed and change of price movements.
**Purpose of RSI:**
- **Identify Overbought/Oversold Conditions:** RSI values range from 0 to 100. Traditionally, values above 70 are considered overbought, while values below 30 are considered oversold. These thresholds help traders identify potential reversal points in the market.
- **Trend Strength Measurement:** RSI also indicates the strength of a trend. High RSI values suggest strong bullish momentum, while low values indicate bearish momentum.
**Calculation of RSI:**
1. **Calculate the Average Gain and Loss:** Over a specified period (e.g., 14 days), calculate the average gain and loss.
2. **Compute the Relative Strength (RS):** RS is the ratio of average gain to average loss.
3. **RSI Formula:** RSI = 100 - (100 / (1 + RS))
### **1.2 Moving Averages (MA)**
Moving Averages are used to smooth out price data and identify trends by filtering out short-term fluctuations. Two common types are:
**Simple Moving Average (SMA):** The average of prices over a specified number of periods.
**Exponential Moving Average (EMA):** A type of moving average that gives more weight to recent prices, making it more responsive to recent price changes.
**Smoothed Moving Average (SMA):** Used to reduce the impact of volatility and provide a clearer view of the underlying trend. The RMA, or Running Moving Average, used in the USH script is similar to an EMA but based on the average of RSI values.
## 2. Detailed Breakdown of the Uptrick: RSI Histogram
### **2.1 Indicator Overview**
The Uptrick: RSI Histogram (USH) is a technical analysis tool that combines the RSI with a moving average to create a histogram that reflects momentum and trend strength.
**Key Components:**
- **RSI Calculation:** Determines the relative strength of price movements.
- **Moving Average Application:** Smooths the RSI values to provide a clearer trend indication.
- **Histogram Plotting:** Visualizes the deviation of the smoothed RSI from a neutral level.
### **2.2 Indicator Purpose**
The primary purpose of the USH is to provide a clear visual representation of the market's momentum and trend strength. It helps traders identify:
- **Bullish and Bearish Trends:** By showing how far the smoothed RSI is from the neutral 50 level.
- **Potential Reversal Points:** By highlighting changes in momentum.
### **2.3 Indicator Design**
**RSI Moving Average (RSI MA):** The RSI MA is a smoothed version of the RSI, calculated using a running moving average. This smooths out short-term fluctuations and provides a clearer indication of the underlying trend.
**Histogram Calculation:**
- **Neutral Level:** The histogram is plotted relative to the neutral level of 50. This level represents a balanced market where neither bulls nor bears have dominance.
- **Histogram Values:** The histogram bars show the difference between the RSI MA and the neutral level. Positive values indicate bullish momentum, while negative values indicate bearish momentum.
## 3. Calculation and Formula
### **3.1 RSI Calculation**
The RSI calculation involves:
1. **Average Gain and Loss:** Calculated over the specified length (e.g., 14 periods).
2. **Relative Strength (RS):** RS = Average Gain / Average Loss.
3. **RSI Formula:** RSI = 100 - (100 / (1 + RS)).
### **3.2 Moving Average Calculation**
For the USH indicator, the RSI is smoothed using a running moving average (RMA). The RMA formula is similar to that of the EMA but is based on averaging RSI values over the specified length.
### **3.3 Histogram Calculation**
The histogram value is calculated as:
- **Histogram Value = RSI MA - 50**
**Plotting the Histogram:**
- **Positive Histogram Values:** Indicate that the RSI MA is above the neutral level, suggesting bullish momentum.
- **Negative Histogram Values:** Indicate that the RSI MA is below the neutral level, suggesting bearish momentum.
## 4. Visual Representation
### **4.1 Histogram Bars**
The histogram is plotted as bars on the chart:
- **Bullish Bars:** Colored green when the RSI MA is above 50.
- **Bearish Bars:** Colored red when the RSI MA is below 50.
### **4.2 Customization Options**
Traders can customize:
- **RSI Length:** Adjust the length of the RSI calculation to match their trading style.
- **Bull and Bear Colors:** Choose colors for histogram bars to enhance visual clarity.
### **4.3 Interpretation**
**Bullish Signal:** A histogram bar that moves from red to green indicates a potential shift to a bullish trend.
**Bearish Signal:** A histogram bar that moves from green to red indicates a potential shift to a bearish trend.
## 5. Customization and User Settings
### **5.1 Adjusting RSI Length**
The length parameter determines the number of periods over which the RSI is calculated and smoothed. Shorter lengths make the RSI more sensitive to price changes, while longer lengths provide a smoother view of trends.
### **5.2 Color Settings**
Traders can adjust:
- **Bull Color:** Color of histogram bars indicating bullish momentum.
- **Bear Color:** Color of histogram bars indicating bearish momentum.
**Customization Benefits:**
- **Visual Clarity:** Traders can choose colors that stand out against their chart’s background.
- **Personal Preference:** Adjust settings to match individual trading styles and preferences.
## 6. Trading Strategies and Applications
### **6.1 Trend Following**
**Identifying Entry Points:**
- **Bullish Entry:** When the histogram changes from red to green, it signals a potential entry point for long positions.
- **Bearish Entry:** When the histogram changes from green to red, it signals a potential entry point for short positions.
**Trend Confirmation:** The histogram helps confirm the strength of a trend. Strong, consistent green bars indicate robust bullish momentum, while strong, consistent red bars indicate robust bearish momentum.
### **6.2 Swing Trading**
**Momentum Analysis:**
- **Entry Signals:** Look for significant shifts in the histogram to time entries. A shift from bearish to bullish (red to green) indicates potential for upward movement.
- **Exit Signals:** A shift from bullish to bearish (green to red) suggests a potential weakening of the trend, signaling an exit or reversal point.
### **6.3 Range Trading**
**Market Conditions:**
- **Consolidation:** The histogram close to zero suggests a range-bound market. Traders can use this information to identify support and resistance levels.
- **Breakout Potential:** A significant move away from the neutral level may indicate a potential breakout from the range.
### **6.4 Risk Management**
**Stop-Loss Placement:**
- **Bullish Positions:** Place stop-loss orders below recent support levels when the histogram is green.
- **Bearish Positions:** Place stop-loss orders above recent resistance levels when the histogram is red.
**Position Sizing:** Adjust position sizes based on the strength of the histogram signals. Strong trends (indicated by larger histogram bars) may warrant larger positions, while weaker signals suggest smaller positions.
## 7. Risk Management
### **7.1 Importance of Risk Management**
Effective risk management is crucial for long-term trading success. It involves protecting capital, managing losses, and optimizing trade setups.
### **7.2 Using USH for Risk Management**
**Stop-Loss and Take-Profit Levels:**
- **Stop-Loss Orders:** Use the histogram to set stop-loss levels based on trend strength. For instance, place stops below support levels in bullish trends and above resistance levels in bearish trends.
- **Take-Profit Targets:** Adjust take-profit levels based on histogram changes. For example, lock in profits as the histogram starts to shift from green to red.
**Position Sizing:**
- **Trend Strength:** Scale position sizes based on the strength of histogram signals. Larger histogram bars indicate stronger trends, which may justify larger positions.
- **Volatility:** Consider market volatility and adjust position sizes to mitigate risk.
## 8. Case Studies and Examples
### **8.1 Example 1: Bullish Trend**
**Scenario:** A trader notices a transition from red to green histogram bars.
**Analysis:**
- **Entry Point:** The transition indicates a potential bullish trend. The trader decides to enter a long position.
- **Stop-Loss:** Set stop-loss below recent support levels.
- **Take-Profit:** Consider taking profits as the histogram moves back towards zero or turns red.
**Outcome:** The bullish trend continues, and the histogram remains green, providing a profitable trade setup.
### **8.2 Example 2: Bearish Trend**
**Scenario:** A trader observes a transition from green to red histogram bars.
**Analysis:**
- **Entry Point:** The transition suggests a potential
bearish trend. The trader decides to enter a short position.
- **Stop-Loss:** Set stop-loss above recent resistance levels.
- **Take-Profit:** Consider taking profits as the histogram approaches zero or shifts to green.
**Outcome:** The bearish trend continues, and the histogram remains red, resulting in a successful trade.
## 9. Comparison with Other Indicators
### **9.1 RSI vs. USH**
**RSI:** Measures momentum and identifies overbought/oversold conditions.
**USH:** Builds on RSI by incorporating a moving average and histogram to provide a clearer view of trend strength and momentum.
### **9.2 RSI vs. MACD**
**MACD (Moving Average Convergence Divergence):** A trend-following momentum indicator that uses moving averages to identify changes in trend direction.
**Comparison:**
- **USH:** Provides a smoothed RSI perspective and visual histogram for trend strength.
- **MACD:** Offers signals based on the convergence and divergence of moving averages.
### **9.3 RSI vs. Stochastic Oscillator**
**Stochastic Oscillator:** Measures the level of the closing price relative to the high-low range over a specified period.
**Comparison:**
- **USH:** Focuses on smoothed RSI values and histogram representation.
- **Stochastic Oscillator:** Provides overbought/oversold signals and potential reversals based on price levels.
## 10. Advanced Usage and Tips
### **10.1 Combining Indicators**
**Multi-Indicator Strategies:** Combine the USH with other technical indicators (e.g., Moving Averages, Bollinger Bands) for a comprehensive trading strategy.
**Confirmation Signals:** Use the USH to confirm signals from other indicators. For instance, a bullish histogram combined with a moving average crossover may provide a stronger buy signal.
### **10.2 Customization Tips**
**Adjust RSI Length:** Experiment with different RSI lengths to match various market conditions and trading styles.
**Color Preferences:** Choose histogram colors that enhance visibility and align with personal preferences.
### **10.3 Continuous Learning**
**Backtesting:** Regularly backtest the USH with historical data to refine strategies and improve accuracy.
**Education:** Stay updated with trading education and adapt strategies based on market changes and personal experiences.
US M2### Relevance and Functionality of the "US M2" Indicator
#### Relevance
The "US M2" indicator is relevant for several reasons:
1. **Macro-Economic Insight**: The M2 money supply is a critical indicator of the amount of liquidity in the economy. Changes in M2 can significantly impact financial markets, including equities, commodities, and cryptocurrencies.
2. **Trend Identification**: By analyzing the M2 money supply with moving averages, the indicator helps identify long-term and short-term trends, providing insights into economic conditions and potential market movements.
3. **Trading Signals**: The indicator generates bullish and bearish signals based on moving average crossovers and the difference between current M2 values and their moving averages. These signals can be useful for making informed trading decisions.
#### How It Works
1. **Data Input**:
- **US M2 Money Supply**: The indicator fetches the US M2 money supply data using the "USM2" symbol with a monthly resolution.
2. **Moving Averages**:
- **50-Period SMA**: Calculates the Simple Moving Average (SMA) over 50 periods (months) to capture short-term trends.
- **200-Period SMA**: Calculates the SMA over 200 periods to identify long-term trends.
3. **Difference Calculation**:
- **USM2 Difference**: Computes the difference between the current M2 value and its 50-period SMA to highlight deviations from the short-term trend.
4. **Amplification**:
- **Amplified Difference**: Multiplies the difference by 100 to make the deviations more visible on the chart.
5. **Bullish and Bearish Conditions**:
- **Bullish Condition**: When the current M2 value is above the 50-period SMA, indicating a positive short-term trend.
- **Bearish Condition**: When the current M2 value is below the 50-period SMA, indicating a negative short-term trend.
6. **Short-Term SMA of Amplified Difference**:
- **14-Period SMA**: Applies a 14-period SMA to the amplified difference to smooth out short-term fluctuations and provide a clearer trend signal.
7. **Plots and Visualizations**:
- **USM2 Plot**: Plots the US M2 data for reference.
- **200-Period SMA Plot**: Plots the long-term SMA to show the broader trend.
- **Amplified Difference Histogram**: Plots the amplified difference as a histogram with green bars for bullish conditions and red bars for bearish conditions.
- **SMA of Amplified Difference**: Plots the 14-period SMA of the amplified difference to track the trend of deviations.
8. **Moving Average Cross Signals**:
- **Bullish Cross**: Plots an upward triangle when the 50-period SMA crosses above the 200-period SMA, signaling a potential long-term uptrend.
- **Bearish Cross**: Plots a downward triangle when the 50-period SMA crosses below the 200-period SMA, signaling a potential long-term downtrend.
### Summary
The "US M2" indicator provides a comprehensive view of the US M2 money supply, highlighting significant trends and deviations. By combining short-term and long-term moving averages with amplified difference analysis, it offers valuable insights and trading signals based on macroeconomic liquidity conditions.
EMA Slope/Angle OscillatorEMA Slope/Angle Oscillator, Multiple Moving Average Oscillator, Multiple type
Moving Averages HMA,EMA,WMA,SMA, VWMA,VWAP provided.
The angle is calculated between the Slow MA and Fast MA and the difference between the angle is plotted as Histogram.
Additionally Buy Sell Signals are plotted as green and red Dots.
its very easy to judge the movement of price Bearish/Bullish.
Bearish if price below 0 line
Bullish if price above 0 line
Zero crossing is Moving Average Crossover.
Trend Filter is provided to filter opposite signals.
Angle Threshold is provided to filter low angle false signals.
Dead zone is plotted around Zero Line. Trades can be taken after Threshold angle or Dead zone is crossed
Its interesting to see how different Moving Averages move along with price Action.
Moving Average CombinationsThis moving average indicator is used to plot either EMA or SMA as per users choice. User also has the options to choose different type of sources for each of the moving average lines like high, low, close etc. Again, flexibility is added to plot moving averages of different timeframe than the current timeframe of the chart. By doing so in daily chart user can plot averages of different timeframe like hourly, weekly or monthly and vice versa. Length is also as per the choice of the user.
So for a example, in a daily timeframe chart you can plot 9SMA High Daily, 200EMA Close 1Hr, 200EMA Close 2Hr, 200EMA Close Daily, 9SMA High Weekly and so on. This will help in play moving average crossovers and contractions.
Label for each moving average line is also added.
EarlBMACDThis indicator looks for a crossover of the MACD moving averages (12ema and 26ema) to generate a buy/sell signal and a crossover
of the MACD line (12ema minus 26ema) and MACD signal line (9ema of MACD line) in order to generate a completely seperate buy/sell signal.
The two buy/sell signals are combined into a hybrid buy/sell/hold indicator which looks for one, neither, or both to be "buys."
If both signals are buys (fast crossed above slow), a "buy" signal is given (green bar color)
If only one signal is a buy, a "hold" signal is given (yellow bar color)
If neither signal is a buy, a "sell" signal is given (red bar color) Note: MACD moving averages crossing over is the same thing as the MACD line crossing the zero level in the MACD indicator
It makes sense to have the MACD indicator loaded as a reference when using this but it isn't required.
The lines plotted on the chart are the 12ema and a signal line which is the MACD signal line shown relative to the 12ema rather than the MACD line
The 26ema is not plotted on the chart because the chart becomes cluttered,
plus the moving averages crossover is indicated with the MACD indicator.
Dual Colored Least Squares Moving Average + Crossover AlertsDual Least Squares Moving Averages
Flexible Options (On/Off):
- Color change based on slope
- Background color change based on the slope of the slow moving average (LSMA 2).
- Crossover Arrows
- Crossover Alerts
How to Use on Your Own Chart & How to Set Alerts:
1. Click Add to Favorites
2. Add indicator to your chart, Click add Indicators > Favorites > Click on Dual LSMA
3. Click Add Alert, Select the condition Dual LSMA, then choose Long LSMA or Short LSMA
4. Click Create Alert
Let me know if it's useful for you! Also, if you have any new ideas and strategies based on this indicator, let me know. I love to hear (and learn) from all of the brilliant minds out there!
Shapeshifting Moving Average - Switching From Low-Lag To SmoothThe term "shapeshifting" is more appropriate when used with something with a shape that isn't supposed to change, this is not the case of a moving average whose shape can be altered by the length setting or even by an external factor in the case of adaptive moving averages, but i'll stick with it since it describe the purpose of the proposed moving average pretty well.
In the case of moving averages based on convolution, their properties are fully described by the moving average kernel ( set of weights ), smooth moving averages tend to have a symmetrical bell shaped kernel, while low lag moving averages have negative weights. One of the few moving averages that would let the user alter the shape of its kernel is the Arnaud Legoux moving average, which convolve the input signal with a parametric gaussian function in which the center and width can be changed by the user, however this moving average is not a low-lagging one, as the weights don't include negative values.
Other moving averages where the user can change the kernel from user settings where already presented, i posted a lot of them, but they only focused on letting the user decrease or increase the lag of the moving average, and didn't included specific parameters controlling its smoothness. This is why the shapeshifting moving average is proposed, this parametric moving average will let the user switch from a smooth moving average to a low-lagging one while controlling the amount of lag of the moving average.
Settings/Kernel Interaction
Note that it could be possible to design a specific kernel function in order to provide a more efficient approach to today goal, but the original indicator was a simple low-lag moving average based on a modification of the second derivative of the arc tangent function and because i judged the indicator a bit boring i decided to include this parametric particularity.
As said the moving average "kernel", who refer to the set of weights used by the moving average, is based on a modification of the second derivative of the arc tangent function, the arc tangent function has a "S" shaped curve, "S" shaped functions are called sigmoid functions, the first derivative of a sigmoid function is bell shaped, which is extremely nice in order to design smooth moving averages, the second derivative of a sigmoid function produce a "sinusoid" like shape ( i don't have english words to describe such shape, let me know if you have an idea ) and is great to design bandpass filters.
We modify this 2nd derivative in order to have a decreasing function with negative values near the end, and we end up with:
The function is parametric, and the user can change it ( thus changing the properties of the moving average ) by using the settings, for example an higher power value would reduce the lag of the moving average while increasing overshoots. When power < 3 the moving average can act as a slow moving average in a moving average crossover system, as weights would not include negative values.
Here power = 0 and length = 50. The shapeshifting moving average can approximate a simple moving average with very low power values, as this would make the kernel approximate a rectangular function, however this is only a curiosity and not something you should do.
As A Smooth Moving Average
“So smooth, and so tranquil. It doesn't get any quieter than this”
A smooth moving average kernel should be : symmetrical, not to width and not to sharp, bell shaped curve are often appropriates, the proposed moving average kernel can be symmetrical and can return extremely smooth results. I will use the Blackman filter as comparison.
The smooth version of the moving average can be used when the "smooth" setting is selected. Here power can only be an even number, if power is odd, power will be equal to the nearest lowest even number. When power = 0, the kernel is simply a parabola:
More smoothness can be achieved by using power = 2
In red the shapeshifting moving average, in green a Blackman filter of both length = 100. Higher values of power will create lower negative values near the border of the kernel shape, this often allow to retain information about the peaks and valleys in the input signal. Power = 6 approximate the Blackman filter pretty well.
Conclusion
A moving average using a modification of the 2nd derivative of the arc tangent function as kernel has been presented, the kernel is parametric and allow the user to switch from a low-lag moving average where the lag can be increased/decreased to a really smooth moving average.
As you can see once you get familiar with a function shape, you can know what would be the characteristics of a moving average using it as kernel, this is where you start getting intimate with moving averages.
On a side note, have you noticed that the views counter in posted ideas/indicators has been removed ? This is truly a marvelous idea don't you think ?
Thanks for reading !