Triple Smoothed Signals [AlgoAlpha]Introducing the Triple Smoothed Signals indicator by AlgoAlpha, a powerful tool designed to help traders identify trend direction and market momentum with greater accuracy. By applying triple smoothing techniques to your chosen data source, this indicator filters out market noise, allowing you to focus on significant price movements. Perfect for traders looking to enhance their technical analysis and gain an edge in the markets.
Key Features
🎨 Customizable Moving Averages : Choose between EMA, SMA, RMA, or WMA for both the triple smoothing and the signal line to tailor the indicator to your trading style.
🛠 Adjustable Smoothing Lengths : Configure the main smoothing length and signal length to fit different timeframes and market conditions.
🌈 Dynamic Color Fills : Visual gradients and fills highlight trend strength and direction, making chart analysis more intuitive.
🔔 Alerts : Set alerts for bullish and bearish crossover signals to stay ahead of market moves without constant chart monitoring.
📈 Clear Signal Visualization : Bullish and bearish signals are plotted directly on your chart for easy interpretation and timely decision-making.
Quick Guide to Using the Triple Smoothed Signals Indicator
🛠 Add the Indicator : Add the indicator to your TradingView chart by clicking on the star icon to add it to your favorites. Customize the settings such as the main smoothing length, signal length, data source, and moving average types to match your trading strategy.
📊 Market Analysis : Monitor the crossovers between the triple smoothed moving average and the signal line. A bullish signal is generated when the signal line crosses under the triple smoothed MA, indicating a potential upward trend. Conversely, a bearish signal occurs when the signal line crosses over the triple smoothed MA, suggesting a possible downward trend.
🔔 Alerts : Enable notifications for reversal signals and trend shifts to stay informed about market movements without constantly monitoring the chart.
How It Works
The Triple Smoothed Signals indicator enhances trend detection by applying a triple smoothing process to your selected data source using the moving average type of your choice (EMA, SMA, RMA, or WMA). This triple smoothed moving average (v1) effectively reduces short-term fluctuations and noise, revealing the underlying market trend. A signal line (v2) is then calculated by smoothing the triple smoothed MA with a separate moving average, further refining the signal. The indicator calculates the normalized distance between the triple smoothed MA and the signal line over a specified period, which is used to create dynamic color gradients and fills on the chart. These visual elements provide immediate insight into trend strength and direction. Bullish and bearish signals are generated based on the crossovers between the signal line and the triple smoothed MA, and are plotted directly on the chart along with customizable alerts to assist traders in making timely decisions.
Trendstrength
Volatility Gaussian Bands [BigBeluga]The Volatility Gaussian Bands indicator is a cutting-edge tool designed to analyze market trends and volatility with high precision. By applying a Gaussian filter to smooth price data and implementing dynamic bands based on market volatility, this indicator provides clear signals for trend direction, strength, and potential reversals. With updated volatility calculations, it enhances the accuracy of trend detection, making it a powerful addition to any trader's toolkit.
⮁ KEY FEATURES & USAGE
● Gaussian Filter Trend Bands:
The Gaussian Filter forms the foundation of this indicator by smoothing price data to reveal the underlying trend. The trend is visualized through upper and lower bands that adjust dynamically based on market volatility. These bands provide clear visual cues for traders: a crossover above the upper band indicates a potential uptrend, while a cross below the lower band signals a potential downtrend. This feature allows traders to identify trends with greater accuracy and act accordingly.
● Dynamic Trend Strength Gauges:
The indicator includes trend strength gauges positioned at the top and bottom of the chart. These gauges dynamically measure the strength of the uptrend and downtrend, based on the middle Gaussian line. Even if the trend is downward, a rising midline will cause the upward trend strength gauge to show an increase, offering a nuanced view of the market’s momentum.
Weakening of the trend:
● Fast Trend Change Indicators:
Triangles with a "+" symbol appear on the chart to signal rapid changes in trend direction. These indicators are particularly useful when the trend changes swiftly while the midline continues to grow in its previous direction. For instance, during a downtrend, if the trend suddenly shifts upward while the midline is still declining, a triangle with a "+" will indicate this quick reversal. This feature is crucial for traders looking to capitalize on rapid market movements.
● Retest Signals:
Retest signals, displayed as triangles, highlight potential areas where the price may retest the Gaussian line during a trend. These signals provide an additional layer of analysis, helping traders confirm trend continuations or identify possible reversals. The retest signals can be customized based on the trader’s preferences.
⮁ CUSTOMIZATION
● Length Adjustment:
The length of the Gaussian filter can be customized to control the sensitivity of trend detection. Shorter lengths make the indicator more responsive, while longer lengths offer a smoother, more stable trend line.
● Volatility Calculation Mode:
Traders can select from different modes (AVG, MEDIAN, MODE) to calculate the Gaussian filter, allowing for flexibility in how trends are detected and analyzed.
● Retest Signals Toggle:
Enable or disable the retest signals based on your trading strategy. This toggle allows traders to choose whether they want these additional signals to appear on the chart, providing more control over the information displayed during their analysis.
⮁ CONCLUSION
The Volatility Gaussian Bands indicator is a versatile and powerful tool for traders focused on trend and volatility analysis. By combining Gaussian-filtered trend lines with dynamic volatility bands, trend strength gauges, and rapid trend change indicators, this tool provides a comprehensive view of market conditions. Whether you are following established trends or looking to catch early reversals, the Volatility Gaussian Bands offers the precision and adaptability needed to enhance your trading strategy.
Half Trend HeikinAshi [BigBeluga]This indicator is a cool combo of the half-trend methodology and Heikin Ashi candles. The main idea is to help spot where the market is trending and where it might be reversing by using a mix of moving averages and the highest and lowest price data values. What’s nice is that it doesn’t just give you trend lines but also converts them into Heikin Ashi candles, so you can visually gauge the strength of a trend based on candle sizes.
NIFTY50:
NVIDIA:
🔵 IDEA
The thinking behind this Half Trend HeikinAshi indicator is pretty straightforward: it’s designed to give you a flexible way to detect trends and trend reversals, but with an added bonus—measuring trend strength via Heikin Ashi candles. The core idea is based on the classic half-trend strategy, where it adjusts to the highest and lowest price values within a certain period. The Heikin Ashi transformation smooths out half-trend line, making it easier to spot solid trends and potential reversals.
🔵 KEY FEATURES & USAGE
◉ Half Trend Calculation with Reversal Signals:
The main feature here is spotting trends based on a moving average of the close price and the highest/lowest price data.
//#region ———————————————————— Calculations
// Calculate moving average of close prices
series float closeMA = ta.sma(close, amplitude)
// Calculate highest high and lowest low
series float highestHigh = ta.highest(amplitude)
series float lowestLow = ta.lowest(amplitude)
// Initialize hl_t on the first bar
if barstate.isfirst
hl_t := close
// Update hl_t based on conditions
switch
closeMA < hl_t and highestHigh < hl_t => hl_t := highestHigh
closeMA > hl_t and lowestLow > hl_t => hl_t := lowestLow
=> hl_t := hl_t
When the trend flips, you’ll see arrows on your chart—either pointing up or down—marking the exact price where that reversal occurred. This makes it easy to see where the market might turn, which is helpful for timing entries and exits.
◉ Heikin Ashi Candlestick Transformation:
There’s a Heikin Ashi mode that transforms the half-trend line into Heikin Ashi candles.
These smooth out market noise and make the overall trend much clearer.
◉ Trend Strength Calculation:
The indicator doesn’t just stop at showing trends. It also calculates trend strength based on the size of the Heikin Ashi candles. Bigger candles mean stronger trends, and smaller ones indicate weaker momentum. You can see this displayed on the dashboard, so you know exactly how strong the current trend is at any moment.
◉ Graphical Dashboard Display:
You’ve got a small dashboard right on the chart that shows key info like the ticker, timeframe, and whether the trend is up or down. If you’re in Heikin Ashi mode, it shows trend strength instead. So, no need to dig through the data—you can just glance at the dashboard for a quick market read.
🔵 CUSTOMIZATION
Amplitude Input: You can tweak the amplitude to control how sensitive the half-trend line is. A lower setting makes it more reactive to small price moves, while a higher setting smooths it out for longer-term trends.
Heikin Ashi Toggle: You can easily switch between standard half-trend lines and Heikin Ashi candle mode, depending on how you prefer to see the market.
Trend Colors: You’ve got control over the colors for up and down trends, so you can adjust the appearance to fit your charting style.
Signal Labels size: Change Labels signal sizes for your preference
🔵 CONCLUSION
The Half Trend HeikinAshi indicator is a solid tool for tracking trends and measuring their strength. By combining the usual half-trend signals with Heikin Ashi candles, you get a clearer picture of what’s happening in the market. Whether you're looking to spot potential reversals or just want to measure the strength of a current trend, this indicator gives you plenty of flexibility to do both.
Curved Price Channels (Zeiierman)█ Overview
The Curved Price Channels (Zeiierman) is designed to plot dynamic channels around price movements, much like the traditional Donchian Channels, but with a key difference: the channels are curved instead of straight. This curvature allows the channels to adapt more fluidly to price action, providing a smoother representation of the highest high and lowest low levels.
Just like Donchian Channels, the Curved Price Channels help identify potential breakout points and areas of trend reversal. However, the curvature offers a more refined approach to visualizing price boundaries, making it potentially more effective in capturing price trends and reversals in markets that exhibit significant volatility or price swings.
The included trend strength calculation further enhances the indicator by offering insight into the strength of the current trend.
█ How It Works
The Curved Price Channels are calculated based on the asset's average true range (ATR), scaled by the chosen length and multiplier settings. This adaptive size allows the channels to expand and contract based on recent market volatility. The central trendline is calculated as the average of the upper and lower curved bands, providing a smoothed representation of the overall price trend.
Key Calculations:
Adaptive Size: The ATR is used to dynamically adjust the width of the channels, making them responsive to changes in market volatility.
Upper and Lower Bands: The upper band is calculated by taking the maximum close value and adjusting it downward by a factor proportional to the ATR and the multiplier. Similarly, the lower band is calculated by adjusting the minimum close value upward.
Trendline: The trendline is the average of the upper and lower bands, representing the central tendency of the price action.
Trend Strength
The Trend Strength feature in the Curved Price Channels is a powerful feature designed to help traders gauge the strength of the current trend. It calculates the strength of a trend by analyzing the relationship between the price's position within the curved channels and the overall range of the channels themselves.
Range Calculation:
The indicator first determines the distance between the upper and lower curved channels, known as the range. This range represents the overall volatility of the price within the given period.
Range = Upper Band - Lower Band
Relative Position:
The next step involves calculating the relative position of the closing price within this range. This value indicates where the current price sits in relation to the overall range.
RelativePosition = (Close - Trendline) / Range
Normalization:
To assess the trend strength over time, the current range is normalized against the maximum and minimum ranges observed over a specified look-back period.
NormalizedRange = (Range - Min Range) / (Max Range - Min Range)
Trend Strength Calculation:
The final Trend Strength is calculated by multiplying the relative position by the normalized range and then scaling it to a percentage.
TrendStrength = Relative Position * Normalized Range * 100
This approach ensures that the Trend Strength not only reflects the direction of the trend but also its intensity, providing a more comprehensive view of market conditions.
█ Comparison with Donchian Channels
Curved Price Channels offer several advantages over Donchian Channels, particularly in their ability to adapt to changing market conditions.
⚪ Adaptability vs. Fixed Structure
Donchian Channels: Use a fixed period to plot straight lines based on the highest high and lowest low. This can be limiting because the channels do not adjust to volatility; they remain the same width regardless of how much or how little the price is moving.
Curved Price Channels: Adapt dynamically to market conditions using the Average True Range (ATR) as a measure of volatility. The channels expand and contract based on recent price movements, providing a more accurate reflection of the market's current state. This adaptability allows traders to capture both large trends and smaller fluctuations more effectively.
⚪ Sensitivity to Market Movements
Donchian Channels: Are less sensitive to recent price action because they rely on a fixed look-back period. This can result in late signals during fast-moving markets, as the channels may not adjust quickly enough to capture new trends.
Curved Price Channels: Respond more quickly to changes in market volatility, making them more sensitive to recent price action. The multiplier setting further allows traders to adjust the channel's sensitivity, making it possible to capture smaller price movements during periods of low volatility or filter out noise during high volatility.
⚪ Enhanced Trend Strength Analysis
Donchian Channels: Do not provide direct insight into the strength of a trend. Traders must rely on additional indicators or their judgment to gauge whether a trend is strong or weak.
Curved Price Channels: Includes a built-in trend strength calculation that takes into account the distance between the upper and lower channels relative to the trendline. A broader range between the channels typically indicates a stronger trend, while a narrower range suggests a weaker trend. This feature helps traders not only identify the direction of the trend but also assess its potential longevity and strength.
⚪ Dynamic Support and Resistance
Donchian Channels: Offer static support and resistance levels that may not accurately reflect changing market dynamics. These levels can quickly become outdated in volatile markets.
Curved Price Channels: Offer dynamic support and resistance levels that adjust in real-time, providing more relevant and actionable trading signals. As the channels curve to reflect price movements, they can help identify areas where the price is likely to encounter support or resistance, making them more useful in volatile or trending markets.
█ How to Use
Traders can use the Curved Price Channels in similar ways to Donchian Channels but with the added benefits of the adaptive, curved structure:
Breakout Identification:
Just like Donchian Channels, when the price breaks above the upper curved band, it may signal the start of a bullish trend, while a break below the lower curved band could indicate a bearish trend. The curved nature of the channels helps in capturing these breakouts more precisely by adjusting to recent volatility.
Volatility:
The width of the price channels in the Curved Price Channels indicator serves as a clear indicator of current market volatility. A wider channel indicates that the market is experiencing higher volatility, as prices are fluctuating more dramatically within the period. Conversely, a narrower channel suggests that the market is in a lower volatility state, with price movements being more subdued.
Typically, higher volatility is observed during negative trends, where market uncertainty or fear drives larger price swings. In contrast, lower volatility is often associated with positive trends, where prices tend to move more steadily and predictably. The adaptive nature of the Curved Price Channels reflects these volatility conditions in real time, allowing traders to assess the market environment quickly and adjust their strategies accordingly.
Support and Resistance:
The trend line act as dynamic support and resistance levels. Due to it's adaptive nature, this level is more reflective of the current market environment than the fixed level of Donchian Channels.
Trend Direction and Strength:
The trend direction and strength are highlighted by the trendline and the directional candle within the Curved Price Channels indicator. If the price is above the trendline, it indicates a positive trend, while a price below the trendline signals a negative trend. This directional bias is visually represented by the color of the directional candle, making it easy for traders to quickly identify the current market trend.
In addition to the trendline, the indicator also displays Max and Min values. These represent the highest and lowest trend strength values within the lookback period, providing a reference point for understanding the current trend strength relative to historical levels.
Max Value: Indicates the highest recorded trend strength during the lookback period. If the Max value is greater than the Min value, it suggests that the market has generally experienced more positive (bullish) conditions during this time frame.
Min Value: Represents the lowest recorded trend strength within the same period. If the Min value is greater than the Max value, it indicates that the market has been predominantly negative (bearish) over the lookback period.
By assessing these Max and Min values, traders gain an immediate understanding of the underlying trend. If the current trend strength is close to the Max value, it indicates a strong bullish trend. Conversely, if the trend strength is near the Min value, it suggests a strong bearish trend.
█ Settings
Trend Length: Defines the number of bars used to calculate the core trendline and adaptive size. A length of 200 will create a smooth, long-term trendline that reacts slowly to price changes, while a length of 20 will create a more responsive trendline that tracks short-term movements.
Multiplier: Adjusts the width of the curved price channels. A higher value tightens the channels, making them more sensitive to price movements, while a lower value widens the channels. A multiplier of 10 will create tighter channels that are more sensitive to minor price fluctuations, which is useful in low-volatility markets. A multiplier of 2 will create wider channels that capture larger trends and are better suited for high-volatility markets.
Trend Strength Length: Defines the period over which the maximum and minimum ranges are calculated to normalize the trend strength. A length of 200 will smooth out the trend strength readings, providing a stable indication of trend health, whereas a length of 50 will make the readings more reactive to recent price changes.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Bias Finder [UAlgo]The "Bias Finder " indicator is a tool designed to help traders identify market bias and trends effectively. This indicator leverages smoothed Heikin Ashi candles and oscillators to provide a clear visual representation of market trends and potential reversals. By utilizing higher timeframes and smoothing techniques, the indicator aims to filter out market noise and offer a more reliable signal for trading decisions.
🔶 Key Features
Heikin Ashi Candles: The indicator uses Heikin Ashi candles, a special type of candlestick that incorporates information from the previous candle to potentially provide smoother visuals and highlight potential trend direction.
Oscillator: The indicator calculates an oscillator based on the difference between the smoothed opening and closing prices of a higher timeframe. This oscillator helps visualize the strength of the bias.
Light Teal: Strong bullish trend.
Dark Teal: Weakening bullish trend.
Light Red: Strong bearish trend.
Dark Red: Weakening bearish trend.
Standard Deviation: The indicator can optionally display upper and lower standard deviation bands based on the Heikin Ashi high and low prices. These bands can help identify potential breakout areas.
Oscillator Period: Adjust the sensitivity of the oscillator.
Higher Timeframe: Select a timeframe for the Heikin Ashi candles and oscillator calculations (must be equal to or greater than the chart's timeframe).
Display Options: Choose whether to display Heikin Ashi candles, market bias fill, standard deviation bands, and HA candle colors based on the bias.
Alerts: Enable/disable specific alerts and customize their messages.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Trend Strength | Flux Charts💎 GENERAL OVERVIEW
Introducing the new Trend Strength indicator! Latest trends and their strengths play an important role for traders. This indicator aims to make trend and strength detection much easier by coloring candlesticks based on the current strength of trend. More info about the process in the "How Does It Work" section.
Features of the new Trend Strength Indicator :
3 Trend Detection Algorithms Combined (RSI, Supertrend & EMA Cross)
Fully Customizable Algorithm
Strength Labels
Customizable Colors For Bullish, Neutral & Bearish Trends
📌 HOW DOES IT WORK ?
This indicator uses three different methods of trend detection and combines them all into one value. First, the RSI is calculated. The RSI outputs a value between 0 & 100, which this indicator maps into -100 <-> 100. Let this value be named RSI. Then, the Supertrend is calculated. Let SPR be -1 if the calculated Supertrend is bearish, and 1 if it's bullish. After that, latest EMA Cross is calculated. This is done by checking the distance between the two EMA's adjusted by the user. Let EMADiff = EMA1 - EMA2. Then EMADiff is mapped from -ATR * 2 <-> ATR * 2 to -100 <-> 100.
Then a Total Strength (TS) is calculated by given formula : RSI * 0.5 + SPR * 0.2 + EMADiff * 0.3
The TS value is between -100 <-> 100, -100 being fully bearish, 0 being true neutral and 100 being fully bullish.
Then the Total Strength is converted into a color adjusted by the user. The candlesticks in the chart will be presented with the calculated color.
If the Labels setting is enabled, each time the trend changes direction a label will appear indicating the new direction. The latest candlestick will always show the current trend with a label.
EMA = Exponential Moving Average
RSI = Relative Strength Index
ATR = Average True Range
🚩 UNIQUENESS
The main point that differentiates this indicator from others is it's simplicity and customization options. The indicator interprets trend and strength detection in it's own way, combining 3 different well-known trend detection methods: RSI, Supertrend & EMA Cross into one simple method. The algorithm is fully customizable and all styling options are adjustable for the user's liking.
⚙️ SETTINGS
1. General Configuration
Detection Length -> This setting determines the amount of candlesticks the indicator will look for trend detection. Higher settings may help the indicator find longer trends, while lower settings will help with finding smaller trends.
Smoothing -> Higher settings will result in longer periods of time required for trend to change direction from bullish to bearish and vice versa.
EMA Lengths -> You can enter two EMA Lengths here, the second one must be longer than the first one. When the shorter one crosses under the longer one, this will be a bearish sign, and if it crosses above it will be a bullish sign for the indicator.
Labels -> Enables / Disables trend strength labels.
Filtered MACD with Backtest [UAlgo]The "Filtered MACD with Backtest " indicator is an advanced trading tool designed for the TradingView platform. It combines the Moving Average Convergence Divergence (MACD) with additional filters such as Moving Average (MA) and Average Directional Index (ADX) to enhance trading signals. This indicator aims to provide more reliable entry and exit points by filtering out noise and confirming trends. Additionally, it includes a comprehensive backtesting module to simulate trading strategies and assess their performance based on historical data. The visual backtest module allows traders to see potential trades directly on the chart, making it easier to evaluate the effectiveness of the strategy.
🔶 Customizable Parameters :
Price Source Selection: Users can choose their preferred price source for calculations, providing flexibility in analysis.
Filter Parameters:
MA Filter: Option to use a Moving Average filter with types such as EMA, SMA, WMA, RMA, and VWMA, and a customizable length.
ADX Filter: Option to use an ADX filter with adjustable length and threshold to determine trend strength.
MACD Parameters: Customizable fast length, slow length, and signal smoothing for the MACD indicator.
Backtest Module:
Entry Type: Supports "Buy and Sell", "Buy", and "Sell" strategies.
Stop Loss Types: Choose from ATR-based, fixed point, or X bar high/low stop loss methods.
Reward to Risk Ratio: Set the desired take profit level relative to the stop loss.
Backtest Visuals: Display entry, stop loss, and take profit levels directly on the chart with
colored backgrounds.
Alerts: Configurable alerts for buy and sell signals.
🔶 Filtered MACD : Understanding How Filters Work with ADX and MA
ADX Filter:
The Average Directional Index (ADX) measures the strength of a trend. The script calculates ADX using the user-defined length and applies a threshold value.
Trading Signals with ADX Filter:
Buy Signal: A regular MACD buy signal (crossover of MACD line above the signal line) is only considered valid if the ADX is above the set threshold. This suggests a stronger uptrend to potentially capitalize on.
Sell Signal: Conversely, a regular MACD sell signal (crossunder of MACD line below the signal line) is only considered valid if the ADX is above the threshold, indicating a stronger downtrend for potential shorting opportunities.
Benefits: The ADX filter helps avoid whipsaws or false signals that might occur during choppy market conditions with weak trends.
MA Filter:
You can choose from various Moving Average (MA) types (EMA, SMA, WMA, RMA, VWMA) for the filter. The script calculates the chosen MA based on the user-defined length.
Trading Signals with MA Filter:
Buy Signal: A regular MACD buy signal is only considered valid if the closing price is above the MA value. This suggests a potential uptrend confirmed by the price action staying above the moving average.
Sell Signal: Conversely, a regular MACD sell signal is only considered valid if the closing price is below the MA value. This suggests a potential downtrend confirmed by the price action staying below the moving average.
Benefits: The MA filter helps identify potential trend continuation opportunities by ensuring the price aligns with the chosen moving average direction.
Combining Filters:
You can choose to use either the ADX filter, the MA filter, or both depending on your strategy preference. Using both filters adds an extra layer of confirmation for your signals.
🔶 Backtesting Module
The backtesting module in this script allows you to visually assess how the filtered MACD strategy would have performed on historical data. Here's a deeper dive into its features:
Backtesting Type: You can choose to backtest for buy signals only, sell signals only, or both. This allows you to analyze the strategy's effectiveness in different market conditions.
Stop-Loss Types: You can define how stop-loss orders are placed:
ATR (Average True Range): This uses a volatility measure (ATR) multiplied by a user-defined factor to set the stop-loss level.
Fixed Point: This allows you to specify a fixed dollar amount or percentage value as the stop-loss.
X bar High/Low: This sets the stop-loss at a certain number of bars (defined by the user) above/below the bar's high (for long positions) or low (for short positions).
Reward-to-Risk Ratio: Define the desired ratio between your potential profit and potential loss on each trade. The backtesting module will calculate take-profit levels based on this ratio and the stop-loss placement.
🔶 Disclaimer:
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Persistent Homology Based Trend Strength OscillatorPersistent Homology Based Trend Strength Oscillator
The Persistent Homology Based Trend Strength Oscillator is a unique and powerful tool designed to measure the persistence of market trends over a specified rolling window. By applying the principles of persistent homology, this indicator provides traders with valuable insights into the strength and stability of uptrends and downtrends, helping to inform better trading decisions.
What Makes This Indicator Original?
This indicator's originality lies in its application of persistent homology , a method from topological data analysis, to financial markets. Persistent homology examines the shape and features of data across multiple scales, identifying patterns that persist as the scale changes. By adapting this concept, the oscillator tracks the persistence of uptrends and downtrends in price data, offering a novel approach to trend analysis.
Concepts Underlying the Calculations:
Persistent Homology: This method identifies features such as clusters, holes, and voids that persist as the scale changes. In the context of this indicator, it tracks the duration and stability of price trends.
Rolling Window Analysis: The oscillator uses a specified window size to calculate the average length of uptrends and downtrends, providing a dynamic view of trend persistence over time.
Threshold-Based Trend Identification: It differentiates between uptrends and downtrends based on specified thresholds for price changes, ensuring precision in trend detection.
How It Works:
The oscillator monitors consecutive changes in closing prices to identify uptrends and downtrends.
An uptrend is detected when the closing price increase exceeds a specified positive threshold.
A downtrend is detected when the closing price decrease exceeds a specified negative threshold.
The lengths of these trends are recorded and averaged over the chosen window size.
The Trend Persistence Index is calculated as the difference between the average uptrend length and the average downtrend length, providing a measure of trend persistence.
How Traders Can Use It:
Identify Trend Strength: The Trend Persistence Index offers a clear measure of the strength and stability of uptrends and downtrends. A higher value indicates stronger and more persistent uptrends, while a lower value suggests stronger and more persistent downtrends.
Spot Trend Reversals: Significant shifts in the Trend Persistence Index can signal potential trend reversals. For instance, a transition from positive to negative values might indicate a shift from an uptrend to a downtrend.
Confirm Trends: Use the Trend Persistence Index alongside other technical indicators to confirm the strength and duration of trends, enhancing the accuracy of your trading signals.
Manage Risk: Understanding trend persistence can help traders manage risk by identifying periods of high trend stability versus periods of potential volatility. This can be crucial for timing entries and exits.
Example Usage:
Default Settings: Start with the default settings to get a feel for the oscillator’s behavior. Observe how the Trend Persistence Index reacts to different market conditions.
Adjust Thresholds: Fine-tune the positive and negative thresholds based on the asset's volatility to improve trend detection accuracy.
Combine with Other Indicators: Use the Persistent Homology Based Trend Strength Oscillator in conjunction with other technical indicators such as moving averages, RSI, or MACD for a comprehensive analysis.
Backtesting: Conduct backtesting to see how the oscillator would have performed in past market conditions, helping you to refine your trading strategy.
Trend Strength Signals [AlgoAlpha]🌟Introducing the Trend and Strength Signals indicator by AlgoAlpha ! This tool is designed to help you identify trends and gauge market strength with precision and ease. 📈🚀
🛠 Customizable Parameters : Adjust the period, standard deviation multiplier, gauge size, and colors to fit your trading style.
📊 Trend Detection : Visualize trends with clear color-coded signals for uptrends and downtrends.
📈 Strength Gauge : Assess market strength with a dynamic gauge that adapts to the current price action.
🔔 Alerts : Set alerts for bullish and bearish trend crossovers and take profit points to stay ahead of the market.
🎨 Visual Enhancements : Enjoy a clutter-free chart with the integration of plot shapes, color fills, and gradient gauges.
🚀 Quick Guide to Using the Trend and Strength Signals Indicator
Maximize your trading with the Trend and Strength Signals indicator by following these streamlined steps! 🎯✨
🛠 Add the Indicator : Add the indicator to your favorites. Customize settings like period, standard deviation multiplier, and colors to fit your trading style.
📊 Market Analysis : Observe the color-coded candles and gauge to understand market trend direction and strength. Use the alerts for key trading signals.
🔔 Alerts : Enable notifications for trend crossovers and take profit points to catch trading opportunities without constantly monitoring the chart.
⚙️ How it works
This indicator calculates the moving average and standard deviation of the closing price over a customizable period to identify the upper and lower bounds. When the price crosses these bounds, it signals an uptrend or downtrend. The gauge measures market strength by comparing the price to the moving average and scaling it over a customizable range, while the underlying logic uses concepts from the Bollinger Bands, this indicator gives a unique perspective on price behavior through added features and signals derived from it.
Unleash the power of trend and strength analysis with this comprehensive indicator! Happy trading! 🚀📈✨
Discovery IndexThe Discovery Index is an original technical indicator which attempts to display directional market pressure and momentum based on accumulated candle-over-candle measurements.
Discovery , in this context, is the act of finding (discovering) New Highs and Lows.
> What is 'Discovery'
Not to be confused with "Price Discovery", the term for setting the spot price of an asset.
The term 'Discovery' in Discovery Index is used based on the literal definition of 'Discovery', such as, the action of finding what was previously unknown.
Given this definition,
Discovery is the difference between highs or lows only when the current high is higher than the previous high or the current low is lower than the previous low.
Below is a visual example of exactly where Discovery is seen from each candle.
Since discovery is only based on points of the candle, and not specifically the direction of the candle; it is possible for discovery to occur in both directions from the same candle.
It is also possible for no discovery to occur from a candle.
> Calculation
The Discovery Index is the Net Total of discovery data over a specified length of bars.
Discovery Index = Sum of Upwards Discovery + Sum of Downwards Discovery
Note: Upwards Discovery is always Positive, and Downwards Discovery is always Negative. By adding both together, their Net Total is produced. This value is the "Discovery Index".
Wick Calculation Example
> Volume Discovery
Using Volume for the Discovery Index Calculation allows for a different dimension to be added to the data for new analysis opportunities.
While volume data is only a single value, by accumulating this data over time, we are able to fabricate a candle body from the data by accounting for the direction of the chart candles.
This allows for the Calculation of the Discovery Index based on volume data.
Volume Example
> Display
The display uses a "Candlestick histogram" display. The bodies and wicks from the display represent the discovery data from the respective points in each candle. (Wick Discovery & Candle Body Discovery).
This style of histogram allows for the display of both data sources, preserving the accuracy and distinction between each type, while also providing a clean display.
> Considerations
Discovery index is not an Oscillator, since there are no upper or lower boundaries to its rotations.
There are not (at this time) any "Over-bought" or "Over-sold" Areas, this is partially due to the previous consideration since any levels for these could potentially change from chart to chart. Additionally, it would generally be better to read the data based on the context of the current market.
Non-directional movements effect the Discovery Index as well. Since Discovery does not occur from every bar, the Index reflects hesitations as well as movements in market direction.
With the option to input a symbol, the Discovery Index Indicator is not constrained to one chart ticker for its calculation and could help to see shifts between different symbols, making it easier to compare different assets.
With the separation of wicks and candle body data, a stronger move may be observed by its full-bodied movements, while a potentially more speculative move may be seen from large wick movements. Since wicks are often interpreted as either, Rejection for reversal OR as Testing for continuation, the interpretation for Wick Discovery generally varies based on context.
Discovery Index ⇾ Divergences! Due to its calculation, price (and/or volume) data is displayed in such a way that makes it useful as a tool for identifying divergence opportunities.
Remember, this indicator is lookback based. An immediate significant change from the data source (if not offset by a similar opposite change) will be represented for multiple bars after its occurrence. Due to this, data is likely to be skewed or biased from these occurrences for a period of time after.
Throughout development, "Discovery" has been shortened to just "Disco", therefore, this indicator is also an attempt to bring Disco Back.
Enjoy!
Candlestick Trend Strength [AlgoAlpha]🚀🎉 Introducing the Candlestick Trend Strength by AlgoAlpha, a dynamic TradingView indicator designed to visually communicate the strength and direction of market trends right on your charts! 🕯️💪
Key Features:
🌈 Visual gauge for trend strength, color-coded for intuitive insights.
⏳ Customizable trend detection and normalization periods to match your trading strategy.
🎨 Flexible color settings for both uptrend (green) and downtrend (red).
🔔 Real-time alerts for trend reversals, helping you stay ahead of market moves.
How to Use:
🛠 Add the Indicator: Add the indicator to favorites and customize it to suit your needs.
🔍 Analyze the Trends: Monitor the color changes in the gauge and bar color to identify strengthening or weakening trends.
🔔 Set Alerts: Configure alerts to notify you of trend changes, allowing you to react swiftly to trading opportunities without constant monitoring.
Basic Logic Explained:
The "Candlestick Trend Strength" indicator calculates the trend strength score by analyzing the ratio of the candle's wick to its body, alongside the direction of the candle (up or down). It uses a normalization period to adjust the sum of the trend score into a scale from -1 to 1, which is then plotted as a color gradient gauge from red (downtrend) to green (uptrend) on the chart. This representation helps traders quickly assess whether a trend is gaining or losing strength, and it updates in real-time with each new bar, providing a highly responsive tool for technical analysis.
Embrace the power of visual trend analysis with the "Candlestick Trend Strength" by AlgoAlpha and transform your trading experience today! 🌟📈
Multi Timeframe Trend StrengthThis code is an advancement of my previous percentile-based trend strength. It follows the same concept, except this code display the trend and trend strength in multiple timeframe (1 min, 5 min, 15 min, 1hr and 4hr).
This gives an indication of the trend is evolving and allows to see how short-term trend matches with the long-term trend.
How it works:
The script assesses trend strength through percentile values derived from high and low prices across various time periods. It categorizes the current trend as either Bullish, Bearish, or N/A (No Trend) with the following steps:
Percentile Calculations: The code calculates the 75th percentile of high prices (e.g., percentile_13H) and the 25th percentile of low prices (e.g., percentile_13L) for specified Fibonacci-based periods (13, 21, 34, 55, 89, and 144). These percentiles serve as thresholds for identifying strong trends.
Calculate Highest High and Lowest Low: It computes the highest high (75th percentile high price of the longest period) and lowest low (25th percentile low price of the longest period), referred to as highest_high and lowest_low. These values establish critical price levels.
Trend Strength Conditions: For each percentile and period, the code checks if the percentile exceeds the highest high (trendBull) or falls below the lowest low (trendBear). These conditions gauge the strength of bullish and bearish trends.
Count Bull and Count Bear: Variables countBull and countBear tally the number of bullish and bearish conditions met, helping assess trend strength.
Weak Bull and Weak Bear Count: The code calculates weak bullish and bearish conditions, occurring when percentiles fall within the range defined by highest_high and lowest_low but don't meet strong trend criteria.
Bull Strength and Bear Strength: bullStrength and bearStrength are calculated based on counts of bullish, bearish, weak bullish, and weak bearish conditions, representing overall trend strength.
Strong Bull and Bear Conditions: These conditions arise when the 75th percentile of high prices (bull conditions) or the 25th percentile of low prices (bear conditions) surpass or dip below the highest high or lowest low, respectively, for the specified period. Strong conditions indicate robust trends with significant price movements.
Weak Bull and Bear Conditions: Weak conditions occur when percentiles fall within the range between highest_high and lowest_low, suggesting some bullish or bearish tendencies without reaching extreme levels. These imply less decisive trends.
Current Trend Identification: The current trend is determined by comparing bullStrength and bearStrength. A greater bullStrength indicates a Bull trend, greater bearStrength implies a Bear trend, and equal values denote No Trend (N/A).
Percentile Based Trend StrengthThe "Percentile Based Trend Strength" (PBTS) calculates trend strength based on percentile values of high and low prices for various length periods and then identifies the current trend as either Bullish, Bearish, or N/A (No Trend). Here's a step-by-step explanation of the code:
Percentile Calculations:
For each specified length period (13, 21, 34, 55, 89, and 144 - Fibonacci numbers), the code calculates the 75th percentile of high prices (e.g., percentile_13H) and the 25th percentile of low prices (e.g., percentile_13L). These percentiles represent levels that prices need to exceed or fall below to indicate a strong trend.
Calculate Highest High and Lowest Low:
The highest high (75th percentile high price of longest length) and lowest low (25th percentile low price of longest length) for the longest length period (144) are calculated as highest_high and lowest_low. These values represent threshold price levels .
Trend Strength Conditions:
The code calculates various conditions to determine trend strength. For each percentile value and each length period, it checks if the percentile value is greater than the highest high (trendBull) or less than the lowest low (trendBear). These conditions are used to assess the strength of the bullish and bearish trends.
Count Bull and Count Bear:
The countBull and countBear variables count the number of bullish and bearish conditions met, respectively. These counts help evaluate trend strength.
Weak Bull and Weak Bear Count:
The code calculates the number of weak bullish and bearish conditions. Weak conditions occur when a percentile value falls within the range defined by the highest high and lowest low but doesn't meet the strong trend criteria.
Bull Strength and Bear Strength:
bullStrength and bearStrength are calculated based on the counts of bullish, bearish, weak bullish, and weak bearish conditions. These values represent the overall strength of the bullish and bearish trends.
Strong Bull and Bear Conditions:
These conditions occur when the 75th percentile of high prices (for bull conditions) or the 25th percentile of low prices (for bear conditions) exceeds or falls below the highest high or lowest low, respectively, for the specified length period.
Strong bull conditions indicate a strong upward trend, while strong bear conditions indicate a strong downward trend.
Strong conditions are indicative of more significant price movements and are considered as primary signals of trend strength.
Weak Bull and Bear Conditions:
Weak bull and bear conditions are more nuanced. They occur when the 75th percentile of high prices (for weak bull conditions) or the 25th percentile of low prices (for weak bear conditions) falls within the range defined by the highest high and lowest low for the specified length period.
In other words, prices are not strong enough to reach the extreme levels represented by the highest high or lowest low, but they still exhibit some bullish or bearish tendencies within that range.
Weak conditions suggest a less robust trend. They may indicate that while there is some bias toward a bullish or bearish trend, it is not as strong or decisive as in the case of strong conditions.
Current Trend Identification:
The current trend is determined by comparing bullStrength and bearStrength. If bullStrength is greater, it's considered a Bull trend; if bearStrength is greater, it's a Bear trend. If they are equal, the trend is identified as N/A (No Trend).
Displaying Trend Information:
The code creates a table to display the current trend, reversal probability (strength), count of bullish and bearish conditions, weak bullish and weak bearish counts, and colors the text accordingly.
Plotting Percentiles:
Finally, the code plots the percentile lines for visualization, with 20% transparency. It also plots the highest high and lowest low lines (75th and 25th percentile of the longest length 144) using their original colors.
In summary, this indicator calculates trend strength based on percentile levels of high and low prices for different length periods. It then counts the number of bullish and bearish conditions, factors in weak conditions, and compares the strengths to identify the current trend as Bullish, Bearish, or No Trend. It provides a table with trend information and visualizes percentile lines on the chart.
EMA Power Ranking [wbburgin]This is one of my favorite indicators I've developed. It measures the strength of an uptrend or a downtrend and produces signals for when that trend is weakening.
From my time trading I have learned that moving averages are not good signals to determine trend changes, because they are lagging indicators. However, we can use a moving average system - and the rates of change of the moving averages and the widths between them - to determine when the trend is changing faster than we can using the moving averages themselves. This makes moving averages super useful because we are essentially predicting mean reversal. Then, if we do the same for multiple moving averages of multiple lengths, we can have a pretty accurate perspective of when the price trend is about to reverse.
You can choose which type of MA works best for you, despite the script name. I've found that inverse volatility is the most accurate, but all of my ELMA (elastic MA) signals are also less frequent.
Calculations
The script calculates whether the differences between five moving averages of different lengths are increasing or decreasing, and if the moving averages are positioned properly compared to each other.
When looking at two moving averages, if the width between the moving averages is increasing, and the faster moving average is above the slower moving average the trend is bullish , because the price is outpacing both MA's upwards.
Vice versa, if the width between the moving averages is increasing, and the faster moving average is below the slower moving average the trend is bearish , because the price is outpacing both MA's downwards.
It's deceptively simple. The indicator flags a reversal to the downside immediately after a bullish trend loses momentum, and a reversal to the upside immediately after a bearish trend loses momentum.
Quick note: This isn't a trade setup - I strongly advise that if you are to use this indicator with any strategy, you make sure that there is a stop loss and possibly stop sell as well. The indicator is great at predicting trend reversions, but also falls prey to continuations of both downtrends and uptrends. Best for use in oscillating markets.
Quick note 2: Forgot to mention the precision factor, which goes from 0 (default) to 2. Each step up uses an additional moving average for greater accuracy (i.e. when they are coordinated in a bullish trend, bearish trend, etc.).
Slope NormalizerBrief:
This oscillator style indicator takes another indicator as its source and measures the change over time (the slope). It then isolates the positive slope values from the negative slope values to determine a 'normal' slope value for each.
** A 'normal' value of 1.0 is determined by the average slope plus the standard deviation of that slope.
The Scale
This indicator is not perfectly linear. The values are interpolated differently from 0.0 - 1.0 than values greater than 1.0.
From values 0.0 to 1.0 (positive or negative): it means that the value of the slope is less than 'normal' **.
Any value above 1.0 means the current slope is greater than 'normal' **.
A value of 2.0 means the value is the average plus 2x the standard deviation.
A value of 3.0 means the value is the average plus 3x the standard deviation.
A value greater than 4.0 means the value is greater than the average plus 4x the standard deviation.
Because the slope value is normalized, the meaning of these values can remain generally the same for different symbols.
Potential Usage Examples/b]
Using this in conjunction with an SMA or WMA may indicate a change in trend, or a change in trend-strength.
Any values greater than 4 indicate a very strong (and unusual) trend that may not likely be sustainable.
Any values cycling between +1.0 and -1.0 may mean indecision.
A value that is decreasing below 0.5 may predict a change in trend (slope may soon invert).
STD Adaptive ADXm w/ Floating Levels [Loxx]STD Adaptive ADXm w/ Floating Levels is a standard deviation adaptive ADX indicator with adaptive floating boundary levels
What is the ADX?
Trading in the direction of a strong trend reduces risk and increases profit potential. The average directional index (ADX) is used to determine when the price is trending strongly. In many cases, it is the ultimate trend indicator. After all, the trend may be your friend, but it sure helps to know who your friends are. In this article, we'll examine the value of ADX as a trend strength indicator.
What is the ADXm?
Unlike the traditional ADX indicator, where the ADX itself is plotted in absolute units and detection of the trend direction is hindered, this indicator clearly displays the positive and negative ADX half-waves (displayed as colored on the chart).
Included:
-Toggle on/off bar coloring
-Toggle on/off fill coloring
Stacked EMAsStacked Daily & Weekly EMAs + Labels
Pretty much self-explanatory indicator that shows the current momentum based on the key exponential moving averages.
Three stages of the EMAs:
1. Stacked Positively (Bullish) - EMAs are stacked on top of each other which represents a healthy bullish uptrend (green Label).
2. Stacked Negatively (Bearish) - EMAs are stacked below each other meaning the trend is bearish (red label).
3. Stacked Neutral (Neutral) - EMAs are crossing each other without any clear direction = chop (yellow label).
Hope it helps.
Dynamic ADX - [The Pine Guru]Dynamic ADX by The Pine Guru
What is the Dynamic ADX?
The Dynamic ADX is an indicator created using the regular ADX, Line, and additional ADX Moving Average. This MA allows the script to calculate the ADX differently to the original ADX, providing greater input and accessibility to the user. As the ADX is a volatility indicator, it is communicates to trend strength in the markets. The Dynamic ADX displays these trending Periods through user controlled visualizers like Fills, Background Color, and Bar Color.
How do I use the Dynamic ADX?
This indicator has 4 different "versions" or "conditions" in which it displays trend strength. These are achieved by checking and unchecking ADX, ADX MA and Line. Different combinations of these 3 inputs will result in a change of true condition that the script outputs.
Dynamic ADX Achieved by checking the ADX and ADX MA, results in an ADX similar to an MA Crossover, with the ADX being over the MA indicating a true or strong trend condition.
Regular ADX Achieved by Checking the ADX and Line. Results in the regular calculation of the ADX.
Mixture Achieved by Checking all three sections, which results in the calculation a normal ADX as well as the MA. Provides and extra condition or confluence into the ADX.
MA and Line Achieved by checking the ADX MA and Line. Results in a similar calculation to an original ADX but with a smoother MA.
Recommendations
This indicator will work typically in all markets with high volume and volatility. It is recommended that it is used as a confluence in a trading system, and not as an outright indicator. As always do your own testing before live use with this indicator. Do your own Research and refinements.
Please Leave a like if you enjoy this Indicator
[VDB]TrendScalp-FractalBox-3EMAThere are many indicators with William’s Fractal and Alligator. As many use EMA’s it may be useful to define a 3-EMA ribbon and combining Fractal Levels/Box (filling background between top and bottom fractals) for trend scalping. I searched for this kind of indicator in community – some show fractals, some just levels, some with alligator etc. but couldn't find the one needed. Hence thought of this indicator which may be of interest to other users too.
Key Points:
EMA ribbon is created using 3 EMA’s 35/70/105. Users can change these as per their preference. This is used for trend identification – 1. Bullish bias if Price > EMA1 > EMA2 > EMA3. 2. Bearish bias if Price < EMA1 < EMA2 < EMA3.
Background is marked during crossing of EMA1 and EMA2 to alert possible trend change.
5-bar fractals are used to mark the Fractal levels and background between top and bottom fractals are filled to create a Fractal Box.
Fractal levels are marked only when the fractal formation is complete. Given offset is used this is lagging.
How to Use:
Sloping EMA ribbon is used for identifying the trend.
Fractal box break-out/ break-downs are used to trigger the trade with fractal high/low for entry/SL. Waiting for price contraction towards EMA ribbon resulting in smaller boxes is key to initiate trade. Avoid bigger boxes as SL’s will be big and price may move within. To draw the vertical lines of FractalBox change fractal level0 style to step-line.
This indicator combined with the cycle high/low (overbought/oversold) indicators such as CCI/Stochastic/RSI etc. can make it a good trend scalping setup while trading in the direction of momentum in higher timeframe.
This setup could be used for any timeframes. Do your back-testing before using it in live market.
This indicator was achieved by combing some fractal ideas from “Fractal and Alligator Alerts by JustUncleL”
DISCLAIMER : This indicator has been created for educational reference only and do not constitute investment advice. This indicator should not be relied upon as a substitute for extensive independent market research before making your actual trading decisions. Market data or any other content is subject to change at any time without notice. Liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from use of this indicator is accountability of user using it.
StableF-AdxThe script is ADX-DMI modified verison
-Adx is labeled as Weak trend Below 25 and strong Trend above 25
-Hline is drawn at 25 for better clarification of crossover above 25
-Wait for crossover in +dmi and -dmi and to cross above 25 for any trend clarifcation
-crossover i.e upside cross of +dmi over -dmi is shown buy UP shape
-crossunder i.e downside cross of +dmi over -dmi is Shown buy DN shape
--disclaimer --This is just modified version of Bulit in ADX_DMI indicatior \ NOT advised for buy / Sell purpose
TrendStrength Turbo Bars - Directional TrendsMy interpretation of Danielle Shay's popular SimplerTrading TrendStrength Turbo indicator.
The TrendStrength indicator is based on a Fibonacci-based stacked EMA arrangement using the 5, 8, 13, 21 and 34 EMAs:
-> Green bars indicate an uptrend i.e. when the EMAs are positively stacked - there is more upward pressure than downward pressure in the price;
-> Red bars indicate a downtrend i.e. i.e. when the EMAs are negatively stacked - there is more downward pressure on the price; and
-> Yellow bars indicate no strong directional trend and potential for a reversal.
Volume spikes 50% above average volume are then flagged as dots at the bottom of the chart further confirming price momentum.
This indicator should compliment other popular indicators, as confirmation whether to stay in a position or not.
EM_RSI Gradient Candles
I've missed the beautiful trend visualization of Heiken Ashi candles ever since I first learned they don't play well with other indicators largely due to the method with which they're plotted.
I wanted to color code a gradient onto candles to help visualize trend strength, and the Relative Strength Index was the first thing to come to mind. For coloring, it's possible the new color.from_gradient function would have worked, but I couldn't guarantee a highly customizable indicator with a single gradient so I took a more classic approach.
First, RSI was calculated using Tradingview's built-in RSI code.
Then I broke down the RSI's range of 1-100 into 10 tiers and assigned each a color option with the ability to turn any particular tier off if desired.
I found it to be extremely modular and helpful in visualizing both trend strength and identifying potential trend reversals due to a reduction in strength.
You can use it on every candle to help inform decisions, or keep all but <10 and >90 turned off so that it only changes candle color during the most extreme trends.
Or anything in between!
This is my first self-coded indicator so I'm already proud.
Please let me know what you think, and feel free to suggest improvements for future versions in the comments!
Volume Records + AlertContents
Overall Introduction
Settings menu parameters
Usage
How to use alerts
Limits
Overall Introduction
This indicator is a "volume analysis" tool for confirming the direction and strength of price trend and spotting trend reversals. This tool consists of two parts:
1- The colored graph is a custom volume oscillator which shows the relative changes in volume.
The darkening of the color of the bars is a sign of increasing volume.
2- Triangular labels that show trading volume records over different time periods based on the absolute values of the volume.
By creating an alert, you can be notified of new trading volume records. These records are:
Highest / lowest volume in one year,
Highest / lowest volume in six month
Highest / lowest volume in three month
Highest / lowest volume in one month
Highest / lowest volume in one week
Settings menu parameters
{Short Length} =>
The fast volume MA of the Volume Oscillator.
{Long Length} =>
The slow volume MA of the Volume Oscillator.
{Visual Parameters} =>
Parameters to personalize the appearance of the indicator.
{Alert Conditions Part 01: Highest Records ⏰ } =>
Parameters to customize the alert.
{Alert Conditions Part 02: Lowest Records ⏰ } =>
Parameters to customize the alert.
Usage
This indicator is a "volume analysis" tool for confirming the direction and strength of price trend and spotting trend reversals.
What Is Volume Analysis?
Volume analysis involves examining relative or absolute changes in an asset's trading volume in order to make inferences about future price movements.
A significant price increase along with a significant volume increase, for example, could be a credible sign of a continued bullish trend or a bullish reversal.
The gradual darkening of the bars is a sign of the strength of the trend.
Volume can be an indicator of market strength, as rising markets on increasing volume are typically viewed as strong and healthy.
How to use alerts
Note that by creating an alert, an instance of the indicator, with all your settings, will be activated on the site's server and alerts will be triggered by it.
After that, changing the indicator settings on the chart will no longer affect the alert.
Open the settings window and select the alert conditions as you wish
Click the Create Alert button (or press the A key while holding down the ALT key)
In the Condition section, select the name of the indicator.
Make the rest of the settings as you wish.
Finally, click on the Create button.
It's finished. After a few moments, your alert will be added to the Alerts menu.
Limits
The labels are displayed after the bars close.
Labels are displayed for the last 10,000 bars.