Advanced ADX [CryptoSea]The Advanced ADX Analysis is a sophisticated tool designed to enhance market analysis through detailed ADX calculations. This tool is built for traders who seek to identify market trends, strength, and potential reversals with higher accuracy. By leveraging the Average Directional Index (ADX), Directional Indicator Plus (DI+), and Directional Indicator Minus (DI-), this indicator offers a comprehensive view of market dynamics.
New Overlay Feature: This script uses the new 'force overlay' feature which lets you plot on the chart as well as plotting in an oscillator pane at the same time.
force_overlay=true
Key Features
Comprehensive ADX Tracking: Tracks ADX values along with DI+ and DI- to provide a complete view of market trend strength and direction. The ADX measures the strength of the trend, while DI+ and DI- indicate the trend direction. This combined analysis helps traders identify strong and weak trends with precision.
Trend Duration Monitoring: Monitors the duration of strong and weak trends, offering insights into trend persistence and potential reversals. By keeping track of how long the ADX has been above or below a certain threshold, traders can gauge the sustainability of the current trend.
Customizable Alerts: Features multiple alert options for strong trends, weak trends, and DI crossovers, ensuring traders are notified of significant market events. These alerts can be tailored to notify traders when certain conditions are met, such as when the ADX crosses a threshold or when DI+ crosses DI-.
Adaptive Display Options: Includes customizable background color settings and extended statistics display for in-depth market analysis. Users can choose to highlight strong or weak trends on the chart background, making it easier to visualize market conditions at a glance.
In the example below, we have a bullish scenario play out where the DI+ has been above the DI- for 11 candles and our dashboard shows the average is 10.48 candles. With the ADX above its threshold this would be a bullish signal.
This ended up in a 20%+ move to the upside. The dashboard will help point out things to consider when looking to exit the position, the DI+ getting close to the max DI+ duration would be a sign that momentum is weakening and that price may cool off or even reverse.
How it Works
ADX Calculation: Computes the ADX, DI+, and DI- values using a user-defined period. The ADX is derived from the smoothed average of the absolute difference between DI+ and DI-. This calculation helps determine the strength of a trend without considering its direction.
Trend Duration Analysis: Tracks and calculates the duration of strong and weak trends, as well as DI+ and DI- durations. This analysis provides a detailed view of how long a trend has been in place, helping traders assess the reliability of the trend.
Alert System: Provides a robust alert system that triggers notifications for strong trends, weak trends, and DI crossovers. The alerts are based on specific conditions such as the duration of the trend or the crossover of directional indicators, ensuring traders are informed about critical market movements.
Visual Enhancements: Utilizes color gradients and background settings to visually represent trend strength and duration. This feature enhances the visual analysis of trends, making it easier for traders to identify significant market changes at a glance.
In the example below, we see the ADX weakening after we have just had a move up, if you are looking to get into this position you want to see the ADX growing with either the DI+ or DI- breaking their average durations.
As you can see below, although the ADX manages to move above the threshold, there are no DI+/- breaks which is shown by price moving sideways. Not something most traders would be interested in.
Application
Strategic Decision-Making: Assists traders in making informed decisions by providing detailed analysis of ADX movements and trend durations. By understanding the strength and direction of trends, traders can better time their entries and exits.
Trend Confirmation: Reinforces trading strategies by confirming potential reversals and trend strength through ADX and DI analysis. This confirmation helps traders validate their trading signals, reducing the risk of false signals.
Customized Analysis: Adapts to various trading styles with extensive input settings that control the display and sensitivity of trend data. Traders can customize the indicator to suit their specific needs, making it a versatile tool for different trading strategies.
The Advanced ADX Analysis by is an invaluable addition to a trader's toolkit, offering depth and precision in market trend analysis to navigate complex market conditions effectively. With its comprehensive tracking, alert system, and customizable display options, this indicator provides traders with the tools they need to stay ahead of the market.
M-oscillator
Auto Fitting GARCH OscillatorOverview
The Auto Fitting GARCH Oscillator is a sophisticated volatility indicator that dynamically fits GARCH (Generalized Autoregressive Conditional Heteroskedasticity) models to the price data. It optimizes the parameters of the GARCH model to provide a reliable measure of volatility, which is then normalized to fit within a 0-100 range, making it easy to interpret as an oscillator. This indicator helps traders identify periods of high and low volatility, which can be crucial for making informed trading decisions.
Key Features
Dynamic GARCH(p, q) Fitting: Automatically optimizes the GARCH model parameters for the best fit.
Volatility Oscillator: Normalizes the volatility measure to a 0-100 range, indicating overbought and oversold conditions.
Customizable Timeframes: Adapts to various chart timeframes, from intraday to monthly data.
Projected Volatility: Provides options for projecting future volatility based on the optimized GARCH model.
User-friendly Visualization: Displays the oscillator with clear overbought and oversold levels.
Concepts Underlying the Calculations
The indicator leverages the GARCH model, which is widely used in financial time series analysis to model volatility clustering. The GARCH model considers past variances and returns to predict future volatility. This indicator dynamically adjusts the p and q parameters of the GARCH model within a specified range to find the optimal fit, minimizing the sum of squared errors (SSE).
How It Works
Data Preparation: Calculates the logarithmic returns and lagged variances from the price data.
SSE Optimization: Iterates through different p and q values to find the best GARCH parameters that minimize the SSE.
GARCH Calculation: Uses the optimized parameters to calculate the GARCH-based volatility.
Normalization: Normalizes the calculated volatility to a 0-100 range to form an oscillator.
Visualization: Plots the oscillator with overbought (70) and oversold (30) levels for easy interpretation.
How Traders Can Use It
Volatility Analysis: Identify periods of high and low volatility to adjust trading strategies accordingly.
Overbought/Oversold Conditions: Use the oscillator levels to identify potential reversal points in the market.
Risk Management: Incorporate volatility measures into risk management strategies to avoid trades during highly volatile periods.
Projection: Use the projected volatility feature to anticipate future market conditions.
Example Usage Instructions
Add the Indicator: Apply the "Auto Fitting GARCH Oscillator" to your chart from the Pine Script editor or TradingView library.
Customize Parameters: Adjust the maxP and maxQ values to set the range for GARCH model optimization.
Select Data Type: Choose between "Projected Variance in %" or "Projected Deviation in %" based on your analysis preference.
Set Projection Periods: Use the perForward input to specify how many periods forward you want to project the volatility.
Interpret the Oscillator: Observe the oscillator line and the overbought/oversold levels to make informed trading decisions.
Efficiency Weighted OrderFlow [AlgoAlpha]Introducing the Efficiency Weighted Orderflow Indicator by AlgoAlpha! 📈✨
Elevate your trading game with our cutting-edge Efficiency Weighted Orderflow Indicator, designed to provide clear insights into market trends and potential reversals. This tool is perfect for traders seeking to understand the underlying market dynamics through efficiency-weighted volume calculations.
🌟 Key Features 🌟
✨ Smooth OrderFlow Calculation : Option to smooth order flow data for more consistent signals.
🔧 Customizable Parameters : Adjust the Order Flow Period and HMA Smoothing Length to fit your trading strategy.
🔍 Visual Clarity : Easily distinguish between bullish and bearish trends with customizable colors.
📊 Standard Deviation Normalization : Keeps order flow values normalized for better comparison across different market conditions.
🔔 Trend Reversal Alerts : Stay ahead with built-in alert conditions for significant order flow changes.
🚀 Quick Guide to Using the Efficiency Weighted Orderflow Indicator
🛠 Add the Indicator: Search for "Efficiency Weighted Orderflow " in TradingView's Indicators & Strategies. Customize settings like smoothing and order flow period to fit your trading style.
📊 Market Analysis: Watch for trend reversal alerts to capture trading opportunities by studying the behaviour of the indicator.
🔔 Alerts: Enable notifications for significant order flow changes to stay updated on market trends.
🔍 How It Works
The Efficiency Weighted Orderflow Indicator starts by calculating the efficiency of price movements using the absolute difference between the close and open prices, divided by volume. The order flow is then computed by summing these efficiency-weighted volumes over a specified period, with an option to apply Hull Moving Average (HMA) smoothing for enhanced signal stability. To ensure robust comparison, the order flow is normalized using standard deviation. The indicator plots these values as columns, with distinct colors representing bullish and bearish trends. Customizable parameters for period length and smoothing allow traders to tailor the indicator to their strategies. Additionally, visual cues and alert conditions for trend reversals and significant order flow changes keep traders informed and ready to act. This indicator improves on the Orderflow aspect of our Standardized Orderflow indicator. The Efficiency Weighted Orderflow is less susceptible to noise and is also quicker at detecting trend changes.
Moving Average Z-Score Suite [BackQuant]Moving Average Z-Score Suite
1. What is this indicator
The Moving Average Z-Score Suite is a versatile indicator designed to help traders identify and capitalize on market trends by utilizing a variety of moving averages. This indicator transforms selected moving averages into a Z-Score oscillator, providing clear signals for potential buy and sell opportunities. The indicator includes options to choose from eleven different moving average types, each offering unique benefits and characteristics. It also provides additional features such as standard deviation levels, extreme levels, and divergence detection, enhancing its utility in various market conditions.
2. What is a Z-Score
A Z-Score is a statistical measurement that describes a value's relationship to the mean of a group of values. It is measured in terms of standard deviations from the mean. For instance, a Z-Score of 1.0 means the value is one standard deviation above the mean, while a Z-Score of -1.0 indicates it is one standard deviation below the mean. In the context of financial markets, Z-Scores can be used to identify overbought or oversold conditions by determining how far a particular value (such as a moving average) deviates from its historical mean.
3. What moving averages can be used
The Moving Average Z-Score Suite allows users to select from the following eleven moving averages:
Simple Moving Average (SMA)
Hull Moving Average (HMA)
Exponential Moving Average (EMA)
Weighted Moving Average (WMA)
Double Exponential Moving Average (DEMA)
Running Moving Average (RMA)
Linear Regression Curve (LINREG) (This script can be found standalone )
Triple Exponential Moving Average (TEMA)
Arnaud Legoux Moving Average (ALMA)
Kalman Hull Moving Average (KHMA)
T3 Moving Average
Each of these moving averages has distinct properties and reacts differently to price changes, allowing traders to select the one that best fits their trading style and market conditions.
4. Why Turning a Moving Average into a Z-Score is Innovative and Its Benefits
Transforming a moving average into a Z-Score is an innovative approach because it normalizes the moving average values, making them more comparable across different periods and instruments. This normalization process helps in identifying extreme price movements and mean-reversion opportunities more effectively. By converting the moving average into a Z-Score, traders can better gauge the relative strength or weakness of a trend and detect potential reversals. This method enhances the traditional moving average analysis by adding a statistical perspective, providing clearer and more objective trading signals.
5. How It Can Be Used in the Context of a Trading System
In a trading system, it can be used to generate buy and sell signals based on the Z-Score values. When the Z-Score crosses above zero, it indicates a potential buying opportunity, suggesting that the price is above its mean and possibly trending upward. Conversely, a Z-Score crossing below zero signals a potential selling opportunity, indicating that the price is below its mean and might be trending downward. Additionally, the indicator's ability to show standard deviation levels and extreme levels helps traders set profit targets and stop-loss levels, improving risk management and trade planning.
6. How It Can Be Used for Trend Following
For trend-following strategies, it can be particularly useful. The Z-Score oscillator helps traders identify the strength and direction of a trend. By monitoring the Z-Score and its rate of change, traders can confirm the persistence of a trend and make informed decisions to enter or exit trades. The indicator's divergence detection feature further enhances trend-following by identifying potential reversals before they occur, allowing traders to capitalize on trend shifts. By providing a clear and quantifiable measure of trend strength, this indicator supports disciplined and systematic trend-following strategies.
No backtests for this indicator due to the many options and ways it can be used,
Enjoy
FX Index Curve Oscillator (FICO)We can approximate the TVC:DXY with simple multiplication, rather than using geometric weighted averages; the values will be different, but the charts will look almost the same. Because we can make a "good enough" version of DXY, we can also extend this concept to the other major currencies:
AUD - Yellow
CAD - Red
CHF - Orange
EUR - Purple
GBP - Green
JPY - White
NZD - Lime green
USD - Blue
This indicator works by constructing an "index" for each currency, performing a lookback to figure out the rate of change, and then smoothing the values. These values are fed through an oscillator to normalize them between -1.00 and +1.00, before finally being smoothed again. Interestingly, using HMA to smooth them the second time will cause the values to leak past 1.00, which we can also use as a signal.
If you want to change the values, I find that the biggest difference comes from the lookback and oscillator settings; the MA/smoothing is probably good enough. The default settings are for doing forex trades on the daily chart. Other timeframes are possible, but I could not find any settings that work. It might also be possible to use a similar approach on other assets (crypto, metals, indexes, etc) but I have not tried yet.
In my own testing, what I found to be a good approach is to look for a currency to be above +1 and another to be below -1, and then look for color changes; ideally this will happen on the same bar/candle.
You can also consider two line crosses, breaking above or below 1, etc as other entry signals. I find that price will either move immediately, or take a candle or two to retrace and then start moving.
Happy trading!
Unfortunately, the indicator pane can get quite crowded; if you're testing for a single currency pair, you may want to disable some of the plotted lines:
Biquad MACDThis indicator reimagines the traditional MACD by incorporating a biquad band pass filter, offering a refined approach to identifying momentum and trend changes in price data. The standard MACD is essentially a band pass filter, but often it lacks precision. The biquad band pass filter addresses this limitation by providing a more focused frequency range, enhancing the quality of signals.
The MACD Length parameter determines the length of the band pass filter, influencing the frequency range that is isolated. Adjusting this length allows you to focus on different parts of the price movement spectrum.
The Bandwidth (BW) setting controls the width of the frequency band in octaves. It affects the smoothness of the MACD line. A larger bandwidth results in less smooth output, capturing a broader range of frequencies, while a smaller bandwidth focuses on a narrower range, providing a smoother signal.
The Signal Length parameter sets the period for the exponential moving average of the MACD line, which acts as a signal line to identify potential buy and sell points.
Key Features of the Biquad MACD
The MACD is a well-known momentum indicator used to identify changes in the strength, direction, momentum, and duration of a trend in a stock's price. By applying a biquad band pass filter, this version of the MACD provides a more refined and accurate representation of price movements.
The biquad filter offers smooth response and minimal phase distortion, making it ideal for technical analysis. The customizable MACD length and bandwidth allow for flexible adaptation to different trading strategies and market conditions. The signal line smooths the MACD values, providing clear crossover points to indicate potential market entry and exit signals.
The histogram visually represents the difference between the MACD and the signal line, changing colors to indicate rising or falling momentum, which helps in quickly identifying trend changes.
By incorporating the Biquad MACD into your trading toolkit, you can enhance your chart analysis with clearer insights into momentum and trend changes, leading to more informed trading decisions.
Biquad Band Pass FilterThis indicator utilizes a biquad band pass filter to isolate and highlight a specific frequency band in price data, helping traders focus on price movements within a targeted frequency range.
The Length parameter determines the center frequency of the filter, affecting which frequency band is isolated. Adjusting this parameter allows you to focus on different parts of the price movement spectrum.
The Bandwidth (BW) controls the width of the frequency band in octaves. It represents the bandwidth between -3 dB frequencies for the band pass filter. A narrower bandwidth results in a more focused filtering effect, isolating a tighter range of frequencies.
Key Features of Biquad Filters
Biquad filters are a type of digital filter that provides a combination of low-pass, high-pass, band-pass, and notch filtering capabilities. In this implementation, the biquad filter is configured as a band pass filter, which allows frequencies within a specified band to pass while attenuating frequencies outside this band. This is particularly useful in trading to isolate specific price movements, making it easier to detect patterns and trends within a targeted frequency range.
Biquad filters are known for their smooth response and minimal phase distortion, making them ideal for technical analysis. The customizable length and bandwidth allow for flexible adaptation to different trading strategies and market conditions. Designed for real-time charting, the biquad filter operates efficiently without significant lag, ensuring timely analysis.
By incorporating this biquad band pass filter into your trading toolkit, you can enhance your chart analysis with clearer insights into specific frequency bands of price movements, leading to more informed trading decisions.
Biquad High Pass FilterThis indicator utilizes a biquad high pass filter to filter out low-frequency components from price data, helping traders focus on high-frequency movements and detect rapid changes in trends.
The Length parameter determines the cutoff frequency of the filter, affecting how quickly the filter responds to changes in price. A shorter length allows the filter to react more quickly to high-frequency movements.
The Q Factor controls the sharpness of the filter. A higher Q value results in a more precise filtering effect by narrowing the frequency band. However, be cautious when setting the Q factor too high, as it can induce resonance, amplifying certain frequencies and potentially making the filter less effective by introducing unwanted noise.
Key Features of Biquad Filters
Biquad filters are a type of digital filter that provides a combination of low-pass, high-pass, band-pass, and notch filtering capabilities. In this implementation, the biquad filter is configured as a high pass filter, which allows high-frequency signals to pass while attenuating lower-frequency components. This is particularly useful in trading to highlight rapid price movements, making it easier to spot short-term trends and patterns.
Biquad filters are known for their smooth response and minimal phase distortion, making them ideal for technical analysis. The customizable length and Q factor allow for flexible adaptation to different trading strategies and market conditions. Designed for real-time charting, the biquad filter operates efficiently without significant lag, ensuring timely analysis.
By incorporating this biquad high pass filter into your trading toolkit, you can enhance your chart analysis with clearer insights into rapid price movements, leading to more informed trading decisions.
Internal Bar Strength IBS [Anan]This indicator calculates and displays the Internal Bar Strength (IBS) along with its moving average. The IBS is a measure that represents where the closing price is relative to the high-low range of a given period.
█ Main Formula
The core of this indicator is the Internal Bar Strength (IBS) calculation. The basic IBS formula is:
ibs = (close - low) / (high - low)
I enhanced the original formula by incorporating a user-defined length parameter. This modification allows for greater flexibility in analysis and interpretation. The extended version enables users to adjust the indicator's length according to their specific needs or market conditions. Notably, setting the length parameter to 1 reproduces the behavior of the original formula, maintaining backward compatibility while offering expanded functionality:
ibs = (close - ta.lowest(low, ibs_length)) / (ta.highest(high, ibs_length) - ta.lowest(low, ibs_length))
Where:
- `close` is the closing price of the current bar
- `lowest low` is the lowest low price over the specified IBS length
- `highest high` is the highest high price over the specified IBS length
█ Key Features
- Calculates IBS using a user-defined length
- Applies a moving average to the IBS values
- Offers multiple moving average types
- Includes optional Bollinger Bands or Donchian Channel overlays
- Visualizes bull and bear areas
█ Inputs
- IBS Length: The period used for IBS calculation
- MA Type: The type of moving average applied to IBS (options: SMA, EMA, SMMA, WMA, VWMA, Bollinger Bands, Donchian)
- MA Length: The period used for the moving average calculation
- BB StdDev: Standard deviation multiplier for Bollinger Bands
█ How to Use and Interpret
1. IBS Line Interpretation:
- IBS values range from 0 to 1
- Values close to 1 indicate the close was near the high, suggesting a bullish sentiment
- Values close to 0 indicate the close was near the low, suggesting a bearish sentiment
- Values around 0.5 suggest the close was near the middle of the range
2. Overbought/Oversold Conditions:
- IBS values above 0.8 (teal zone) may indicate overbought conditions
- IBS values below 0.2 (red zone) may indicate oversold conditions
- These zones can be used to identify potential reversal points
3. Trend Identification:
- Consistent IBS values above 0.5 may indicate an uptrend
- Consistent IBS values below 0.5 may indicate a downtrend
4. Using Moving Averages:
- The yellow MA line can help smooth out IBS fluctuations
- Crossovers between the IBS and its MA can signal potential trend changes
5. Bollinger Bands/Donchian Channel:
- When enabled, these can provide additional context for overbought/oversold conditions
- IBS touching or exceeding the upper band may indicate overbought conditions
- IBS touching or falling below the lower band may indicate oversold conditions
Remember that no single indicator should be used in isolation. Always combine IBS analysis with other technical indicators, price action analysis, and broader market context for more reliable trading decisions.
MTF-Colored EMA Difference and Stochastic indicatorThis indicator combines two popular technical analysis tools: the Exponential Moving Average (EMA) and the Stochastic Oscillator, with the added flexibility of analyzing them across multiple time frames. It visually represents the difference between two EMAs and the crossover signals from the Stochastic Oscillator, providing a comprehensive view of the market conditions.
Components:
EMA Difference Histogram :
EMA Calculation : The indicator calculates two EMAs (EMA1 and EMA2) for the selected time frame.
EMA Difference : The difference between EMA1 and EMA2 is plotted as a 4 coloured histogram.
Stochastic Oscillato r:
Calculation : The %K and %D lines of the Stochastic Oscillator are calculated for the selected time frame.
Additional Confirmation via Colors :
Green: %K is above %D, indicating a bullish signal.
Red: %K is below %D, indicating a bearish signal.
Entry and Exit Strategies
Entry Strategy :
Bullish Entry :
Condition 1: The histogram is Dark green (indicating a strong upward trend).
Condition 2: The Stochastic colour is green (%K is above %D).
Bearish Entry :
Condition 1: The histogram is Dark Red (indicating a strong downward trend).
Condition 2: The Stochastic colour is red (%K is below %D).
Exit Strategy:
Bullish Exit:
Condition: The Stochastic colour turns red (%K crosses below %D).
Bearish Exit:
Condition: The Stochastic colour turns green (%K crosses above %D).
Additional Considerations:
Time Frame Selection : The chosen time frame for both the EMA and Stochastic calculations should align with the trader’s strategy (e.g., daily for swing trading, hourly for intraday trading).
Risk Management : Implement stop-loss orders to manage risk effectively. The stop-loss can be placed below the recent swing low for long positions and above the recent swing high for short positions.
Confirmation : Consider using this indicator in conjunction with other technical analysis tools to confirm signals and reduce the likelihood of false entries and exits.
Nebula SAR Echo📈 Overview:
The "Nebula SAR Echo" is a sophisticated technical analysis tool designed for traders seeking enhanced trend detection. This indicator combines the robust Parabolic SAR mechanism with gradient color coding to provide clear visual insights into market trends.
🎯 Key Features:
Advanced Parabolic SAR Calculation:
Utilizes dynamic coefficients for more responsive and accurate trend detection.
Highlights trend reversals with visual markers for immediate identification.
Gradient Color Coding:
Gradient colors dynamically reflect the strength and direction of the trend.
Bullish trends are represented in shades of green, while bearish trends are shown in shades of red.
User-Friendly Customization:
Easily adjustable parameters for acceleration factors and gradient color use.
💡 Benefits:
Enhanced Decision Making:
Combines real-time trend analysis to assist traders in making more informed decisions.
Visual Clarity:
Clear visual markers and gradient color coding simplify the interpretation of market trends.
Helps traders quickly identify key turning points and potential future price paths.
🔍 Use Cases:
Trend Identification:
Ideal for identifying ongoing trends and potential reversals in various market conditions.
Useful for both short-term trading strategies and long-term investment planning.
Risk Management:
Gradient color coding aids in assessing trend strength and potential volatility.
Traders can set more precise stop-loss and take-profit levels based on the trend strength.
⚙️ How to Use:
1. Parameter Setup:
Set the desired acceleration factors (start, increment, and max) for the Parabolic SAR.
Enable or disable gradient colors based on personal preference.
2. Interpretation:
Use the SAR values and gradient colors to gauge current market trends.
3. Alerts:
Set up alert conditions for bullish and bearish reversals to stay notified of significant market changes.
🔹 Conclusion:
The "Nebula SAR Echo" is a versatile and powerful tool for traders who require an in-depth analysis of market trends. By leveraging the advanced Parabolic SAR calculation and gradient color coding, this indicator provides a comprehensive view of market conditions, making it an indispensable addition to any trader's toolkit.
Consecutive Closes Above/Below 3 SMA with Z-Score BandsA simple indicator that measures consecutive closes above & below the 3-period simple moving average. An upper and lower Z-score has been calculated to indicate where the 4 standard deviations of the last 60 bars sits.
Useful for identifying directional runs in price.
HRC - Hash Rate Capitulation [Da_Prof]The HRC (Hash Rate Capitulation) indicator is a measure of hash rate trend strength. It is the fractional difference between a long and a short simple moving average (SMA) of the bitcoin hash rate. Historically, the 21-day and 105-day SMA work well for this indicator. The hash rate generally increases over time, but when the short SMA crosses below the longer-term SMA, it shows that miners are removing significant hash from the system. This state can be considered a miner "capitulation". Historically, this has marked depressed BTC prices and has led to higher prices within some months. Shout out to foosmoo, the hash rate oscillator indicator prompted this presentation.
Flush Percent RangeFans of Woodies CCI may recognize the approach to this one. This is my attempt at using the same methods but for taking the highs and lows into account without the standard deviation of the CCI. The smoothness of other oscillators may not be ideal however the Williams Percent Range is a fast stochastic that also operates within a channel. This provides an alternative yet still complex view for the virtuoso. A unique feature is total utilization of the weighted moving average, from the standard to the more complex. A fun fact is the Hull Moving Average is actually calculated using weighted moving averages.
How to use:
The base length is for accuracy, the fast length is for catching all the moves(even the wrong ones sometimes.)
The bars back option will not flip the histogram/base trend to its bullish/bearish alternative until the base plot remains on the latter half of the oscillator for a certain number of bars. This can be set to zero if desired.
The factor controls the chop on the various levels. A higher number will increase it.
The oscillator levels are measuring slope, price relative to the average, and a summation of percent changes between the two. Both the baseline/histogram and the levels have color coding for bullishness, bearishness, and indecision(depending on the factor.) The fast line matches the indecision color by default. This is all customizable.
There are many potential ways to trade with this indicator. From hooks back toward the trend and range line crossovers to divergence and reversals. It's important to note the current performance of the oscillator levels. Time cycles may come in handy along with other forecasting tools.
Lastly, there are optional linear regression lines plotted on the chart. They're synchronized to the lengths in the oscillator. This is an additional visual aid to provide context to the direction of the channel.
Overall the Flush Percent Range is for analyzing multiple regression models within a single price channel. No smoothing, fast averages, and specified timeframes of highs/lows. Credit to Larry Williams for the original calculation and Ken Woods for design/methodology inspiration.
ADX with Donchian Channels
The "ADX with Donchian Channels" indicator combines the Average Directional Index (ADX) with Donchian Channels to provide traders with a powerful tool for identifying trends and potential breakouts.
Features:
Average Directional Index (ADX):
The ADX is used to quantify the strength of a trend. It helps traders determine whether a market is trending or ranging.
Adjustable parameters for ADX smoothing and DI length allow traders to fine-tune the sensitivity of the trend strength measurement.
Donchian Channels on ADX:
Donchian Channels are applied directly to the ADX values to highlight the highest high and lowest low of the ADX over a specified period.
The upper and lower Donchian Channels can signal potential trend breakouts when the ADX value moves outside these bounds.
The middle Donchian Channel provides a reference for the average trend strength.
Visualization:
The indicator plots the ADX line in red to clearly display the trend strength.
The upper and lower Donchian Channels are plotted in blue, with a green middle line to represent the average.
The area between the upper and lower Donchian Channels is filled with a blue shade to visually emphasize the range of ADX values.
Default Settings for Scalping:
Donchian Channel Length: 10
Standard Deviation Multiplier: 1.58
ADX Length: 2
ADX Smoothing Length: 2
These default settings are optimized for scalping, offering a quick response to changes in trend strength and potential breakout signals. However, traders can adjust these settings to suit different trading styles and market conditions.
How to Use:
Trend Strength Identification: Use the ADX line to identify the strength of the current trend. Higher ADX values indicate stronger trends.
Breakout Signals: Monitor the ADX value in relation to the Donchian Channels. A breakout above the upper channel or below the lower channel can signal a potential trend continuation or reversal.
Range Identification: The filled area between the Donchian Channels provides a visual representation of the ADX range, helping traders identify when the market is ranging or trending.
This indicator is designed to enhance your trading strategy by combining trend strength measurement with breakout signals, making it a versatile tool for various market conditions.
Glitch IndexGlitch Index is an oscillator from an unknown origin that is discovered in 2013 as a lua indicator taken from MetaStock days and we are not really sure how far back the original idea goes.
How it Works?
As I found this indicator and looking at it's code in different platform I can see it comes back from a basic idea of getting a price value, calculating it's smoothed average with a set multiplier and getting the difference then presenting it on a simplified scale. It appears to be another interpretation of figuring out price acceleration and velocity. The main logic is calculated as below:
price = priceSet(priceType)
_ma = getAverageName(price, MaMethod, MaPeriod)
rocma = ((_ma - _ma ) * 0.1) + 1
maMul = _ma * rocma
diff = price - maMul
gli_ind = (diff / price) * -10
How to Use?
Glitch Index can be used based on different implementations and along with your already existing trading system as a confirmation. Yoıu can use it as a Long signal when the histogram crosses inner levels or you can use it as an overbough and oversold signals when the histogram crosses above outter levels and gets back in the range between outter and inner levels.
You can customise the settings and set your prefered inner and outter levels in indicator settings along with gradient or static based coloring and modify the code as you see fit. The coloring code is set below:
gli_col = gli_ind > outterLevel ? color.green : gli_ind < -outterLevel ? color.red : gli_ind > innerLevel ? color.rgb(106, 185, 109, 57) : gli_ind < -innerLevel ? color.rgb(233, 111, 111, 40) : color.new(color.yellow, 60)
gradcol = color.from_gradient(gli_ind, -outterLevel, outterLevel, color.red, color.green)
colorSelect = colorType == "Gradient" ? gradcol : gli_col
Cosine smoothed stochasticDescription
The "Cosine Smoothed Stochastic" indicator leverages advanced Fourier Transform techniques to smooth the traditional Stochastic Oscillator. This approach enhances the signal's reliability and reduces noise, providing traders with a more refined and actionable indicator.
The Stochastic Oscillator is a popular momentum indicator that measures the current price relative to the high-low range over a specified period. It helps identify overbought and oversold conditions, signaling potential trend reversals. By smoothing this indicator with Fourier Transform techniques, we aim to reduce false signals and improve its effectiveness.
The indicator comprises three main components:
Cosine Function: A custom function to compute the cosine of an input scaled by a frequency tuner.
Kernel Function: Utilizes the cosine function to create a smooth kernel, constrained to positive values within a specific range.
Kernel Regression and Multi Cosine: Perform kernel regression over a lookback period, with the multi cosine function summing these regressions at varying frequencies for a composite smooth signal.
Additionally, the indicator includes a volume oscillator to complement the smoothed stochastic signals, providing insights into market volume trends.
Features
Fourier Transform Smoothing: Advanced smoothing technique to reduce noise.
Volume Oscillator: Dynamic volume-based oscillator for additional market insights.
Customizable Inputs: Users can configure key parameters like regression lookback period, tuning coefficient, and smoothing length.
Visual Alerts: Buy and sell signals based on smoothed stochastic crossovers.
Usage
The indicator is designed for trend-following and momentum-based trading strategies . It helps identify overbought and oversold conditions, trend reversals, and potential entry and exit points based on smoothed stochastic values and volume trends.
Inputs
Cosine Kernel Setup:
varient: Choose between "Tuneable" and "Stepped" regression types.
lookbackR: Lookback period for regression.
tuning: Tuning coefficient for frequency adjustment.
Stochastic Calculation:
volshow: Toggle to show the volume oscillator.
emalength: Smoothing period for the Stochastic Oscillator.
lookback_period, m1, m2: Parameters for the Stochastic Oscillator lookback and moving averages.
How It Works
Stochastic Oscillator:
Computes the stochastic %K and smoothes it with an EMA.
Further smoothes %K using the multi cosine function.
Volume Oscillator:
Calculates short and long EMAs of volume and derives the oscillator as the percentage difference.
Plots volume oscillator columns with dynamic coloring based on the oscillator's value and change.
Visual Representation:
Plots smoothed stochastic lines with colors indicating bullish, bearish, overbought, and oversold conditions.
Uses plotchar to mark crossovers between current and previous values of d.
Displays overbought and oversold levels with filled regions between them.
Chart Example
To understand the indicator better, refer to the clean and annotated chart provided. The script is used without additional scripts to maintain clarity. The chart includes:
Smoothed Stochastic Lines: Colored according to trend conditions.
Volume Oscillator: Plotted as columns for visual volume trend analysis.
Overbought/Oversold Levels: Clearly marked levels with filled regions between them.
Alert Conditions
The indicator sets up alerts for buy and sell signals when the smoothed stochastic crosses over or under its previous value. These alerts can be used for automated trading systems or manual trading signals.
breakthrough of the indicators method :
Initialization and Inputs:
The indicator starts by defining necessary inputs, such as the lookback period for regression, tuning coefficient, and smoothing parameters for the Stochastic Oscillator and volume oscillator.
Cosine Function and Kernel Creation:
The cosine function is defined to compute the cosine of an input scaled by a frequency tuner.
The kernel function utilizes this cosine function to create a smoothing kernel, which is constrained to positive values within a specific range.
Kernel Regression:
The kernel regression function iterates over the lookback period, calculating weighted sums of the source values using the kernel function. This produces a smoothed value by dividing the accumulated weighted values by the total weights.
Multi Cosine Smoothing:
The multi cosine function combines multiple kernel regressions at different frequencies, summing these results and averaging them to achieve a composite smoothed value.
Stochastic Calculation and Smoothing:
The traditional Stochastic Oscillator is calculated, and its %K value is smoothed using an EMA.
The smoothed %K is further refined using the multi cosine function, resulting in a more reliable and less noisy signal.
Volume Oscillator Calculation:
The volume oscillator calculates short and long EMAs of the volume and derives the oscillator as the percentage difference between these EMAs. The result is plotted with dynamic coloring to indicate volume trends.
Plotting and Alerts:
The indicator plots the smoothed stochastic lines , overbought/oversold levels, and volume oscillator on the chart.
Buy and sell alerts are set up based on crossovers of the smoothed stochastic values, providing traders with actionable signals.
MTF WaveTrend [CryptoSea]The MTF WaveTrend Indicator is a sophisticated tool designed to enhance market analysis through multi-timeframe WaveTrend calculations. This tool is built for traders who seek to identify market momentum and potential reversals with higher accuracy.
In the example below, we can see all the choosen timeframes agree on bearish momentum.
Key Features
Multi-Timeframe WaveTrend Analysis: Tracks WaveTrend values across multiple timeframes to provide a comprehensive view of market momentum.
Customizable Colour Rules: Offers three different colour rules (Traditional, WT1 0 Rule, WT1 & WT2 0 Rule) to suit various trading strategies.
Timeframe Visibility Control: Allows users to enable or disable specific timeframes, providing flexibility in analysis.
Clear Visual Indicators: Uses color-coded squares and labels to clearly display WaveTrend status across different timeframes.
Candle Colouring Option: Includes a setting for neutral candle coloring to enhance chart readability.
This example shows what can happen when all timeframes start alligning with eachother.
How it Works
WaveTrend Calculation: Computes the WaveTrend oscillator by applying a series of exponential moving averages and scaling calculations.
Multi-Timeframe Data Aggregation: Utilizes the `request.security` function to gather and display WaveTrend values from various timeframes without repainting issues.
Conditional Plotting: Displays visual cues only when higher timeframes align with the selected timeframe, ensuring relevant and reliable signals.
Dynamic Colour Rules: Adjusts the indicator colors based on the chosen rule, whether it's a traditional crossover, WT1 crossing zero, or both WT1 & WT2 crossing zero.
Traditional: Colors are determined by the relationship between WT1 and WT2. If WT1 is greater than WT2, it is bullish (bullColour), otherwise bearish (bearColour).
WT1 0 Rule: Colors are based on whether WT1 is above or below zero. WT1 above zero is bullish (bullColour), below zero is bearish (bearColour).
WT1 & WT2 0 Rule: A more complex rule where both WT1 and WT2 need to be above zero for a bullish signal (bullColour) or both below zero for a bearish signal (bearColour). If WT1 and WT2 are not in agreement, a neutral color (neutralColour) is displayed.
This indicator will make sure that the lowest timeframe you can see data from will be the timeframe you are on. This is to avoid false signals as you cannot display 3 x 5 minute candles whilst looking at the 15 minute candle.
Application
Strategic Decision-Making: Assists traders in making informed decisions by providing detailed analysis of WaveTrend movements across different timeframes.
Trend Confirmation: Reinforces trading strategies by confirming potential reversals with multi-timeframe WaveTrend analysis.
Customized Analysis: Adapts to various trading styles with extensive input settings that control the display and sensitivity of WaveTrend data.
The MTF WaveTrend Indicator by is an invaluable addition to a trader's toolkit, offering depth and precision in market trend analysis to navigate complex market conditions effectively.
KNN OscillatorOverview
The KNN Oscillator is an advanced technical analysis tool designed to help traders identify potential trend reversals and market momentum. Using the K-Nearest Neighbors (KNN) algorithm, this oscillator normalizes KNN values to create a dynamic and responsive indicator. The oscillator line changes color to reflect the market sentiment, providing clear visual cues for trading decisions.
Key Features
Dynamic Color Oscillator: The line changes color based on the oscillator value – green for positive, red for negative, and grey for neutral.
Advanced KNN Algorithm: Utilizes the K-Nearest Neighbors algorithm for precise trend detection.
Normalized Values: Ensures the oscillator values are normalized to align with the stock price range, making it applicable to various assets.
Easy Integration: Can be easily added to any TradingView chart for enhanced analysis.
How It Works
The KNN Oscillator leverages the K-Nearest Neighbors algorithm to calculate the average distance of the nearest neighbors over a specified period. These values are then normalized to match the stock price range, ensuring they are comparable across different assets. The oscillator value is derived by taking the difference between the normalized KNN values and the source price. The line's color changes dynamically to provide an immediate visual indication of the market's state:
Green: Positive values indicate upward momentum.
Red: Negative values indicate downward momentum.
Grey: Neutral values indicate a stable or consolidating market.
Usage Instructions
Trend Reversal Detection: Use the color changes to identify potential trend reversals. A shift from red to green suggests a bullish reversal, while a shift from green to red indicates a bearish reversal.
Momentum Analysis: The oscillator's value and color help gauge market momentum. Strong positive values (green) indicate strong upward momentum, while strong negative values (red) indicate strong downward momentum.
Market Sentiment: The dynamic color changes provide an easy-to-understand visual representation of market sentiment, helping traders make informed decisions quickly.
Confirmation Tool: Use the KNN Oscillator in conjunction with other technical indicators to confirm signals and improve the accuracy of your trades.
Scalability: Applicable to various timeframes and asset classes, making it a versatile tool for all types of traders.
DeQuex Algo BISTIntroduction:
The DeQuex Algo is an advanced technical analysis tool designed to help traders identify high-probability entry and exit points in the Borsa Istanbul (BIST) market. This updated version incorporates an adaptive MACD to reduce false signals and improve the overall reliability of the indicator.
Key Features:
1. Adaptive MACD: The script utilizes an adaptive MACD that dynamically adjusts to market volatility, reducing the occurrence of false signals often associated with traditional MACD implementations.
2. RSI Confirmation: In addition to the adaptive MACD, the DeQuex Algo also considers RSI readings to provide stronger confirmation for buy and sell signals.
3. Signal Types:
- Buy Signal: Triggered when the adaptive MACD crosses above its signal line.
- Sell Signal: Triggered when the adaptive MACD crosses below its signal line.
- Strong Buy Signal: Triggered when both the adaptive MACD and RSI cross above their respective thresholds, indicating a high-probability bullish setup.
- Strong Sell Signal: Triggered when both the adaptive MACD and RSI cross below their respective thresholds, indicating a high-probability bearish setup.
4. Price Bar Highlighting: The script color-codes price bars to provide a visual representation of the current trend. Green bars indicate an uptrend, red bars indicate a downtrend, and purple bars signify a period of consolidation or uncertainty. This feature allows traders to quickly assess the market context at a glance.
5. Customizable Alerts: Users can enable alerts for each signal type, ensuring they never miss a potential trading opportunity.
6. Dynamic Support and Resistance: The DeQuex Algo incorporates dynamic support and resistance levels based on market volatility. These levels are plotted using an innovative approach that combines Donchian channels with a Kalman filter for smoother, more reliable zones.
7. User-Friendly Inputs: The script provides a range of input parameters, allowing traders to fine-tune the indicator's sensitivity and adapt it to their preferred trading style and timeframe.
How to Use:
1. Add the DeQuex Algo indicator to your TradingView chart.
2. Customize the input parameters as desired, or use the default settings.
3. Enable alerts for your preferred signal types.
4. Look for buy and sell signals based on the adaptive MACD and RSI readings, paying attention to the color-coded price bars for additional context.
5. Consider the dynamic support and resistance levels when planning your entries, exits, and stop-loss placements.
Please note that while the DeQuex Algo is designed to identify high-probability setups, no indicator is perfect, and false signals may still occur. Always use proper risk management and consider other factors, such as market sentiment and fundamental analysis, when making trading decisions.
We hope that the DeQuex Algo will be a valuable addition to your trading toolbox, and we welcome any feedback or suggestions for further improvement.
Best regards,
BrandonJames1337
TR:
İşte güncellenmiş DeQuex Algo göstergeniz için önerilen bir açıklama:
Giriş:
DeQuex Algo, yatırımcıların Borsa İstanbul (BIST) piyasasında yüksek olasılıklı giriş ve çıkış noktalarını belirlemelerine yardımcı olmak için tasarlanmış gelişmiş bir teknik analiz aracıdır. Bu güncellenmiş sürüm, yanlış sinyalleri azaltmak ve göstergenin genel güvenilirliğini artırmak için uyarlanabilir bir MACD içerir.
Temel Özellikler:
1. Uyarlanabilir MACD: Komut dosyası, piyasa oynaklığına dinamik olarak ayarlanan ve genellikle geleneksel MACD uygulamalarıyla ilişkili yanlış sinyallerin oluşumunu azaltan uyarlanabilir bir MACD kullanır.
2. RSI Onayı: Uyarlanabilir MACD'ye ek olarak DeQuex Algo, alım ve satım sinyalleri için daha güçlü onay sağlamak üzere RSI okumalarını da dikkate alır.
3. Sinyal Türleri:
- Alış Sinyali: Uyarlanabilir MACD sinyal çizgisinin üzerine çıktığında tetiklenir.
- Satış Sinyali: Uyarlanabilir MACD sinyal çizgisinin altından geçtiğinde tetiklenir.
- Güçlü Alış Sinyali: Hem uyarlanabilir MACD hem de RSI kendi eşiklerinin üzerine çıktığında tetiklenir ve yüksek olasılıklı bir yükseliş düzenine işaret eder.
- Güçlü Satış Sinyali: Hem uyarlanabilir MACD hem de RSI kendi eşiklerinin altına düştüğünde tetiklenir ve yüksek olasılıklı bir düşüş düzenine işaret eder.
4. Fiyat Çubuğu Vurgulama: Komut dosyası, mevcut eğilimin görsel bir temsilini sağlamak için fiyat çubuklarını renk kodlarıyla kodlar. Yeşil çubuklar yükseliş trendini, kırmızı çubuklar düşüş trendini ve mor çubuklar ise konsolidasyon veya belirsizlik dönemini gösterir. Bu özellik, yatırımcıların piyasa bağlamını bir bakışta hızlı bir şekilde değerlendirmelerine olanak tanır.
5. Özelleştirilebilir Uyarılar: Kullanıcılar her sinyal türü için uyarıları etkinleştirerek potansiyel bir alım satım fırsatını asla kaçırmamalarını sağlayabilir.
6. Dinamik Destek ve Direnç: DeQuex Algo, piyasa oynaklığına dayalı dinamik destek ve direnç seviyeleri içerir. Bu seviyeler, daha yumuşak ve daha güvenilir bölgeler için Donchian kanallarını Kalman filtresiyle birleştiren yenilikçi bir yaklaşım kullanılarak çizilir.
7. Kullanıcı Dostu Girişler: Komut dosyası, yatırımcıların göstergenin hassasiyetini ince ayarlamalarına ve tercih ettikleri ticaret tarzına ve zaman dilimine uyarlamalarına olanak tanıyan bir dizi giriş parametresi sağlar.
Nasıl Kullanılır:
1. DeQuex Algo göstergesini TradingView grafiğinize ekleyin.
2. Giriş parametrelerini istediğiniz gibi özelleştirin veya varsayılan ayarları kullanın.
3. Tercih ettiğiniz sinyal türleri için uyarıları etkinleştirin.
4. Ek bağlam için renk kodlu fiyat çubuklarına dikkat ederek uyarlanabilir MACD ve RSI okumalarına dayalı alım ve satım sinyallerini arayın.
5. Girişlerinizi, çıkışlarınızı ve stop-loss yerleşimlerinizi planlarken dinamik destek ve direnç seviyelerini göz önünde bulundurun.
DeQuex Algo yüksek olasılıklı kurulumları belirlemek için tasarlanmış olsa da, hiçbir göstergenin mükemmel olmadığını ve yine de yanlış sinyallerin oluşabileceğini lütfen unutmayın. Alım satım kararları verirken her zaman uygun risk yönetimini kullanın ve piyasa duyarlılığı ve temel analiz gibi diğer faktörleri göz önünde bulundurun.
DeQuex Algo'nun ticaret araç kutunuza değerli bir katkı sağlayacağını umuyor ve daha fazla iyileştirme için her türlü geri bildirim veya öneriyi memnuniyetle karşılıyoruz.
Saygılarımla,
BrandonJames1337
Modern Trend IdentifierThis is an update by Lightangel112 to Trendilo (Open-Source).
Thanks @ Lightangel112
The Modern Trend Identifier (MTI) is a sophisticated technical analysis tool designed for traders and analysts seeking to accurately determine market trends. This indicator leverages the Arnaud Legoux Moving Average (ALMA) to smooth price data and calculate percentage changes, providing a clearer and more responsive trend analysis. MTI is engineered to highlight trend direction with visual cues, fill areas between the indicator and its bands, and color bars based on trend direction, making it a powerful tool for identifying market momentum and potential reversals.
Capabilities
Smoothing and Trend Calculation:
Utilizes ALMA to smooth price data, reducing noise and providing a clearer view of the trend.
Calculates percentage changes in price over a user-defined lookback period.
Dynamic Range Adjustment:
Normalizes the ALMA percentage change values to ensure they stay within a -100 to 100 range.
Uses a combination of linear and smoothstep compression to handle extreme values without losing sensitivity.
Trend Direction and Highlighting:
Determines the trend direction based on the relationship between the smoothed ALMA percentage change and dynamically adjusted RMS (Root Mean Square) bands.
Colors the trend line to visually indicate whether the market is in an uptrend, downtrend, or neutral state.
Dynamic Threshold Calculation:
Calculates dynamic thresholds using percentile ranks to adapt to changing market conditions.
Visualization Enhancements:
Fills areas between the ALMA percentage change line and its RMS bands to provide a clear visual indication of the trend strength.
Offers the option to color price bars based on the identified trend direction.
Customizable Settings:
Provides extensive customization options for lookback periods, smoothing parameters, ALMA settings, band multipliers, and more.
Allows users to enable or disable various visual enhancements and customize their appearance.
Use Cases
Trend Identification:
MTI helps traders identify the current market trend, whether it's bullish, bearish, or neutral. This can be particularly useful for trend-following strategies.
Momentum Analysis:
By highlighting areas of strong momentum, MTI enables traders to spot potential breakouts or breakdowns. This can be useful for both entry and exit decisions.
Support and Resistance Levels:
The dynamic threshold bands can act as support and resistance levels. Traders can use these levels to set stop-loss and take-profit orders.
Divergence Detection:
MTI can help in identifying divergences between price and the indicator, which can signal potential trend reversals. This is useful for traders looking to capitalize on trend changes.
Risk Management:
The fill areas and colored bars provide clear visual cues about trend strength and direction, aiding in better risk management. Traders can adjust their positions based on the strength of the trend.
Backtesting:
The extensive customization options allow traders to backtest different settings and parameters to optimize their trading strategies for various market conditions.
Multiple Timeframes:
MTI can be applied to multiple timeframes, from intraday charts to daily, weekly, or monthly charts, making it a versatile tool for traders with different trading styles.
Example Scenarios
Day Trading:
A day trader can use MTI on a 5-minute chart to identify intraday trends. By adjusting the lookback period and smoothing parameters, the trader can quickly spot potential entry and exit points based on short-term momentum changes.
Swing Trading:
A swing trader might apply MTI to a 4-hour chart to identify medium-term trends. The dynamic thresholds can help in setting appropriate stop-loss levels, while the trend direction highlighting aids in making informed decisions about holding or exiting positions.
Position Trading:
For a position trader using a daily chart, MTI can help identify the overarching trend. The trader can use the fill areas and bar coloring to assess the strength of the trend and make decisions about entering or exiting long-term positions.
Market Analysis:
An analyst could use MTI to study historical price movements and identify patterns. By examining how the indicator reacted to past market conditions, the analyst can gain insights into potential future price movements.
In summary, the Modern Trend Identifier (MTI) is a versatile and powerful tool that enhances trend analysis with advanced smoothing techniques, dynamic adjustments, and comprehensive visual cues. It is designed to meet the needs of traders and analysts across various trading styles and timeframes, providing clear and actionable insights into market trends and momentum.
Updated with the following:
Additions and Enhancements in MTI
Grouped Inputs with Descriptive Tooltips:
Inputs are organized into groups for better clarity.
Each input parameter includes a descriptive tooltip.
Dynamic Threshold Calculation:
Added dynamic threshold calculation using percentile ranks to adapt to changing market conditions.
Normalization and Compression:
Added normalization factor to ensure plots are within -100 to 100 range.
Introduced smoothstep function for smooth transition and selectively applied linear and smoothstep compression to values outside -80 to 100 range.
Enhanced Visualization:
Highlighted trend direction with RGB colors.
Enhanced fill areas between the ALMA percentage change line and its RMS bands.
Colored price bars based on the identified trend direction.
RMS Lines Adjustment:
Dynamically adjusted RMS calculation without strict capping.
Ensured RMS lines stay below fill areas to maintain clarity.
Descriptive and Organized Code:
Enhanced code clarity with detailed comments.
Organized code into logical sections for better readability and maintenance.
Key Differences and Improvements.
Input Customization:
Trendilo: Inputs are simple and ungrouped.
MTI: Inputs are grouped and include tooltips for better user guidance.
Trend Calculation:
Trendilo: Uses ALMA and calculates percentage change.
MTI: Enhanced with normalization, compression, and dynamic threshold calculation.
Normalization and Compression:
Trendilo: No normalization or compression applied.
MTI: Normalizes values to -100 to 100 range and applies smoothstep compression to handle extreme values.
Dynamic RMS Adjustment:
Trendilo: Simple RMS calculation.
MTI: Dynamically adjusted RMS calculation to ensure clarity in visualization.
Visual Enhancements:
Trendilo: Basic trend highlighting and filling.
MTI: Enhanced visual cues with RGB colors, dynamic threshold bands, and improved fill areas.
Code Clarity:
Trendilo: Functional but lacks detailed comments and organization.
MTI: Well-organized, extensively commented code for better readability and maintainability.
Chande Momentum Oscillator (CMO) Buy Sell Strategy [TradeDots]The "Chande Momentum Oscillator (CMO) Buy Sell Strategy" leverages the CMO indicator to identify short-term buy and sell opportunities.
HOW DOES IT WORK
The standard CMO indicator measures the difference between recent gains and losses, divided by the total price movement over the same period. However, this version of the CMO has some limitations.
The primary disadvantage of the original CMO is its responsiveness to short-term volatility, making the signals less smooth and more erratic, especially in fluctuating markets. This instability can lead to misleading buy or sell signals.
To address this, we integrated the concept from the Moving Average Convergence Divergence (MACD) indicator. By applying a 9-period exponential moving average (EMA) to the CMO line, we obtained a smoothed signal line. This line acts as a filter, identifying confirmed overbought or oversold states, thereby reducing the number of false signals.
Similar to the MACD histogram, we generate columns representing the difference between the CMO and its signal line, reflecting market momentum. We use this momentum indicator as a criterion for entry and exit points. Trades are executed when there's a convergence of CMO and signal lines during an oversold state, and they are closed when the CMO line diverges from the signal line, indicating increased selling pressure.
APPLICATION
Since the 9-period EMA smooths the CMO line, it's less susceptible to extreme price fluctuations. However, this smoothing also makes it more challenging to breach the original +50 and -50 benchmarks.
To increase trading opportunities, we've tightened the boundary ranges. Users can customize the target benchmark lines in the settings to adjust for the volatility of the underlying asset.
The 'cool down period' is essentially the number of bars that await before the next signal generation. This feature is employed to dodge the occurrence of multiple signals in a short period.
DEFAULT SETUP
Commission: 0.01%
Initial Capital: $10,000
Equity per Trade: 80%
Signal Cool Down Period: 5
RISK DISCLAIMER
Trading entails substantial risk, and most day traders incur losses. All content, tools, scripts, articles, and education provided by TradeDots serve purely informational and educational purposes. Past performances are not definitive predictors of future results.
Custom Signal Oscillator StrategyThe CSO is made to help traders easily test their theories by subtracting the difference between two customizable plots(indicators) without having to search for strategies. The general purpose is to provide a tool to users without coding knowledge.
How to use :
Apply the indicator(s) to test
Go to the CSO strategy input settings and select the desired plots from the added indicators. (The back test will enter long or short depending on the fast signal crosses on the slow signal)
Pull up the strategy tester
Adjust the input settings on the selected indicator(s) to back test
For example, the published strategy is using the basis lines from two Donchian channels with varying length. This can be utilized with multiple overlays on the chart and oscillators that are operating on the same scale with each other. Since chart glows aren't extremely common, a glow option is included to stand out on the chart as the chain operator. A long only option for is also included for versatility.