Momentum-Adjusted Volatility Ratio (MAVR)The Momentum-Adjusted Volatility Ratio (MAVR) indicator is designed to help you understand the strength of price movements relative to the market's volatility. It combines the concepts of rate of change (ROC) and average true range (ATR) and then calculates their ratio, which is then smoothed using an exponential moving average (EMA). Here's a general guide on how to use the MAVR indicator:
Identify the trend: Look for the overall direction of the EMA of the MAVR. When the EMA is above the zero line, it indicates that the momentum is positive and the trend is generally bullish. Conversely, when the EMA is below the zero line, it indicates that the momentum is negative, and the trend is generally bearish.
Assess momentum strength: Pay attention to the distance between the EMA of the MAVR and the zero line. A larger distance indicates a stronger momentum, while a smaller distance suggests weaker momentum. If the EMA of the MAVR moves further away from the zero line, it indicates that the price movement is becoming more robust relative to the market's volatility.
Look for potential entry and exit signals: When the EMA of the MAVR crosses the zero line, it could provide a potential trading signal. For instance, a cross from below to above the zero line may indicate a potential buying opportunity, while a cross from above to below the zero line may signal a potential selling opportunity. Keep in mind that the MAVR indicator should not be used in isolation, and it's essential to combine it with other technical analysis tools and risk management techniques.
Monitor for divergences: Sometimes, the price and the EMA of the MAVR can show divergences. For example, if the price makes a higher high while the EMA of the MAVR makes a lower high, it could signal a bearish divergence, suggesting a potential trend reversal. Similarly, if the price makes a lower low while the EMA of the MAVR makes a higher low, it could indicate a bullish divergence, suggesting a possible trend reversal.
Remember that no indicator is perfect, and the MAVR should be used in conjunction with other technical analysis tools and a solid trading strategy to increase the chances of success. Always use proper risk management techniques to protect your capital.
Komut dosyalarını "momentum" için ara
BullBarbies MoRoll v1.0If you like the TTM Squeeze histogram, this may be your favorite new indicator.
5 customizable timeframe MACD-based oscillators are programmed to give you a heads-up when momentum is rolling over and changing to a new direction by using lower timeframes as a "heads-up" of a potential change. Designed to be used on the 5 minute chart, but can be adapted for higher timeframes as well. Not recommended for charts under 5 minutes. Settings default to those recommended for a 5 in chart: 5, 4, 3, 2, & 1 min oscillators. If using on a higher timeframe, consider starting with the current timeframe and stepping each down from there. Lower timeframe oscillators will begin to roll first. Most multi-timeframe indicators keep watch for conditions on higher timeframes, this one is designed to give you a leg-up in seeing what's happening underneath the price action and squeezes by taking a peak at lower timeframes. Designed to be faster to help you make intra-day day trading decisions.
When all 5 indicators are in color agreement (all red or all green), this indicates strong directional momentum. To catch a shift in momentum, watch for colors to begin shifting red to green or green to red. When you can catch these shifts at support and resistance, it can make for a higher probability trade than trading just support and resistance. The more oscillators in agreement, the more confidence you can have that you are on the right side of the trade.
Pay attention to relative distance from the zero line as well. A trend day will have oscillators spending most of their time to one side or the other of the zero line. Oscillators change colors at the zero line for visual aid. Extremely high or low readings can indicate oversold or overbought conditions.
When the lines are a tangled mess of red and green, this indicates choppy conditions when many daytraders like to avoid.
Works well paired with the TTM squeeze for a more detailed look at your current timeframe.
This indicator has several features:
* 5 Timeframe oscillators that display as lines
* A zero line to show relative distance from the midpoint
* 4 color settings: rising above/below zero; falling above/below zero
I built this indicator because I love using the TTM Squeeze histogram on multiple timeframes to aid in predicting the loss and gain of momentum, but do not want to dedicate the monitor space to 5 charts just for the squeeze histogram. Plotting the histogram as lines allows the display of multiple timeframes. It has become standard on my intraday trading charts.
WVF - OscillatorAnother attempt on making use of CM-Williams-Vix-Fix-Finds-Market-Bottoms from Chris Moody - which is arguably one of the best indicator available on pine and tradingview platform. Every time I revisit this, I get new ideas on applying this method.
I have slightly altered formula to
highest(source)-source/highest(source)
from the original formula
highest(close)-low/highest(close)
Process is simple:
Calculate WVF for OHLC values separately
Calculate momentum on each of the WVF values based on distance from moving average
Plot the candles based on OHLC momentum.
Candle color depends on whether close, open and previous close. If close is higher than open and previous close, we get green coloured candles. If close is lower than previous close and open then we get red coloured candles. In all other cases, we will have silver candles.
High/Low bands are calculated based on median of highest and lowest values of VixFix. We also plot median of close which can be used in some cases.
How to use this to find market bottom. Look for one of the below conditions:
First red candle above high band - which signals momentum of vix fix is about to fall.
First red candle above median line - can be used only if upward momentum of wvf candles are trending well.
Crossunder of wvf candles under high band.
Possible exit scenarios
Green WVF candle formed above WVF high line
Entry is taken on first red candle above median line - but, candles turned green before WVF crossing under median line - may signal our thesis is wrong and price may drop further.
Some examples.
Super D2Momentum Indicator based on previous candle structure over past 40 periods
- Blue is momentum score
- Green = 15 ema
- Red = 50 sma
- orange = 100 sma
The indicator looks at the previous candles differences between open, close, high, and low to determine momentum. A high close relative to open or low indicates very strong momentum for example.
Vol%MAThis study finds buying/selling opportunities on the basis of candlestick and volume percentage changes, prequalified by momentum.
Candlestick percentage changes that are equal to or greater the desired percentage with the momentum range are marked by blue diamonds.
Volume percentage changes that are equal to or greater the desired percentage with the momentum range are marked by red circles.
When candlestick and volume percentage changes aligned with user configurations are under momentum, a buy signal is triggered with BUY ASSET and a black triangle is placed at the bottom of the chart.
When candlestick and volume percentage changes aligned with user configurations are above momentum, a sell signal is triggered with SELL ASSET and a black triangle is placed at the top of the chart.
DepthHouse - Peak DivergenceDepthHouse - Peak Divergence indicator uses the same linear regression calculation as my Peak Momentum Oscillator to help determine and plot peak momentum points.
These peak levels are then plotted by either red or green lines above or below the candle.
Red lines represent a peak in bear momentum while green represents peaks in bull momentum.
These levels are then used to determine momentum divergence in the displayed market.
If divergence is present the bars colors will change represent either bull or bear div.
Important Notes:
If the price crosses a peak line and the bar color does not change; it means momentum has increased/decreased with the price and the divergence has been canceled.
If divergence is present, and then the following candle is not colored then momentum has increased to cancel the previously present divergence.
By default, the look-back period is set to zero , which automatically calculates the distance for the peak levels to look-back. However this number can be set to whatever look-back period you would like.
At time of release this indicator is in its early stages. So please leave feedback on how it can be improved!
MDX Free Version (MA)This is a free version of the MDX Crypto trading "bot". Note that this indicator and the MDX version are based on simple code available on trading view or via google search.
This indicator is using two exponential moving averages. One average is set over 21 bars (fast) and the other is set over 55 bars (slow). When the plots intersect it represents a change in momentum. MDX refers to this as a confirmation.
Also shown on the chart is the "Super Trend" indicator. This is the red and green line with inflection points highlighted by a red or green arrow. These points are changes in uptrends and downtrends. MDX refers to this as a "long buy" when green, and a "short sell" when red. Commonly these are buy/sell signals. When a buysignal (green arrow) occurs followed by a change in momentum toward a downtrend, MDX refers to this as a "confirmed buy". When a sell signal (red arrow) occurs followed by a change in momentum toward a downtrend, MDX refers to this as a "confirmed sell". This can been seen more clearly on the MDS Crypto Free Version (PA) indicator which is also available. This uses the same information as the MA indicator, but formatted for the candle chart.
Usage:
Caution this indicator is not reliable on its own, especially on low time scales. When looking back in time this indicator will almost always show a "confirmed buy" before a large increase in price, but on many occasions you can have a "confirmed buy" which is followed by a dump in price, that will not trigger sell signal in time.
SnakeWhile moving averages are a good way to visualize price action, they are, in general, very poor indicators to trade against. Usually, the lowest prices occur before the cross over of multiple moving averages, while the best profits occur just before the crossunders of the moving averages.
This study captures the buy signals before the cross overs and sells just prior to the cross unders, when prices are lowest and highest respectively.
This is accomplished by treating the moving average as a "snake", specifically looking for the "head" of the snake to turn upwards when buying is most opportunistic. Note the the body must still be trending downward.
For selling, the "snake's head" must be turning down while the body is trending up.
This script uses blue arrows, pointing up, at the bottom, to indicate a buy signal, sending an alert of BUY ASSET.
Blue arrows, point down, at the top, represent sell signals with an alert of SELL ASSET.
The gray bar or strip is momentum. The snake's head must be above momentum for a sell, and below for a buy. This study does NOT work well with stable coins.
The longer the momentum, the more likely weak signals will be weeded out, but also presents less opportunities for buys.
The longer the length of the snake, the more likely cascading down turns will be ignored, but requires a longer trend to identify buy signals.
Hurst-Based Trend Persistence w/Poisson Prediction
---
# **Hurst-Based Trend Persistence w/ Poisson Prediction**
## **Introduction**
The **Hurst-Based Trend Persistence with Poisson Prediction** is a **statistically-driven trend-following oscillator** that provides traders with **a structured approach to identifying trend strength, persistence, and potential reversals**.
This indicator combines:
- **Hurst Exponent Analysis** (to measure how persistent or mean-reverting price action is).
- **Color-Coded Trend Detection** (to highlight bullish and bearish conditions).
- **Poisson-Based Trend Reversal Probability Projection** (to anticipate when a trend is likely to end based on statistical models).
By integrating **fractal market theory (Hurst exponent)** with **Poisson probability distributions**, this indicator gives traders a **probability-weighted view of trend duration** while dynamically adapting to market volatility.
---
## **Simplified Explanation (How to Read the Indicator at a Glance)**
1. **If the oscillator line is going up → The trend is strong.**
2. **If the oscillator line is going down → The trend is weakening.**
3. **If the color shifts from red to green (or vice versa), a trend shift has occurred.**
- **Strong trends can change color without weakening** (meaning a bullish or bearish move can remain powerful even as the trend shifts).
4. **A weakening trend does NOT necessarily mean a reversal is coming.**
- The trend may slow down but continue in the same direction.
5. **A strong trend does NOT guarantee it will last.**
- Even a powerful move can **suddenly reverse**, which is why the **Poisson-based background shading** helps anticipate probabilities of change.
---
## **How to Use the Indicator**
### **1. Understanding the Rolling Hurst-Based Trend Oscillator (Main Line)**
The **oscillator line** is based on the **Hurst exponent (H)**, which quantifies whether price movements are:
- **Trending** (values above 0 → momentum-driven, persistent trends).
- **Mean-reverting** (values below 0 → price action is choppy, likely to revert to the mean).
- **Neutral (Random Walk)** (values around 0 → price behaves like a purely stochastic process).
#### **Interpreting the Oscillator:**
- **H > 0.5 → Persistent Trends:**
- Price moves tend to sustain in one direction for longer periods.
- Example: Strong uptrends in bull markets.
- **H < 0.5 → Mean-Reverting Behavior:**
- Price has a tendency to revert back to its mean.
- Example: Sideways markets or fading momentum.
- **H ≈ 0.5 → Random Walk:**
- No clear trend; price is unpredictable.
A **gray dashed horizontal line at 0** serves as a **baseline**, helping traders quickly assess whether the market is **favoring trends or mean reversion**.
---
### **2. Color-Coded Trend Signal (Visual Confirmation of Trend Shifts)**
The oscillator **changes color** based on **price slope** over the lookback period:
- **🟢 Green → Uptrend (Price Increasing)**
- Price is rising relative to the selected lookback period.
- Suggests sustained bullish pressure.
- **🔴 Red → Downtrend (Price Decreasing)**
- Price is falling relative to the selected lookback period.
- Suggests sustained bearish pressure.
#### **How to Use This in Trading**
✔ **Stay in trends until a color change occurs.**
✔ **Use color changes as confirmation for trend reversals.**
✔ **Avoid counter-trend trades when the oscillator remains strongly colored.**
---
### **3. Poisson-Based Trend Reversal Projection (Anticipating Future Shifts)**
The **shaded orange background** represents a **Poisson-based probability estimation** of when the trend is likely to reverse.
- **Darker Orange = Higher Probability of Trend Reversal**
- **Lighter Orange / No Shade = Low Probability of Immediate Reversal**
💡 **The idea behind this model:**
✔ Trends **don’t last forever**, and their duration follows **statistical patterns**.
✔ By calculating the **average historical trend duration**, the indicator predicts **how likely a trend shift is at any given time**.
✔ The **Poisson probability function** is applied to determine the **expected likelihood of a reversal as time progresses**.
---
## **Mathematical Foundations of the Indicator**
This indicator is based on **two primary statistical models**:
### **1. Hurst Exponent & Trend Persistence (Fractal Market Theory)**
- The **Hurst exponent (H)** measures **autocorrelation** in price movements.
- If past trends **persist**, H will be **above 0.5** (meaning trend-following strategies are favorable).
- If past trends tend to **mean-revert**, H will be **below 0.5** (meaning reversal strategies are more effective).
- The **Rolling Hurst Oscillator** calculates this exponent over a moving window to track real-time trend conditions.
#### **Formula Breakdown (Simplified for Traders)**
The Hurst exponent (H) is derived using the **Rescaled Range (R/S) Analysis**:
\
Where:
- **R** = **Range** (difference between max cumulative deviation and min cumulative deviation).
- **S** = **Standard deviation** of price fluctuations.
- **Lookback** = The number of periods analyzed.
---
### **2. Poisson-Based Trend Reversal Probability (Stochastic Process Modeling)**
The **Poisson process** is a **probabilistic model used for estimating time-based events**, applied here to **predict trend reversals based on past trend durations**.
#### **How It Works**
- The indicator **tracks trend durations** (the time between color changes).
- A **Poisson rate parameter (λ)** is computed as:
\
- The **probability of a reversal at any given time (t)** is estimated using:
\
- **As t increases (trend continues), the probability of reversal rises**.
- The indicator **shades the background based on this probability**, visually displaying the likelihood of a **trend shift**.
---
## **Dynamic Adaptation to Market Conditions**
✔ **Volatility-Adjusted Trend Shifts:**
- A **custom volatility calculation** dynamically adjusts the **minimum trend duration** required before a trend shift is recognized.
- **Higher volatility → Requires longer confirmation before switching trend color.**
- **Lower volatility → Allows faster trend shifts.**
✔ **Adaptive Poisson Weighting:**
- **Recent trends are weighted more heavily** using an exponential decay function:
- **Decay Factor (0.618 by default)** prioritizes **recent intervals** while still considering historical trends.
- This ensures the model adapts to changing market conditions.
---
## **Key Takeaways for Traders**
✅ **Identify Persistent Trends vs. Mean Reversion:**
- Use the oscillator line to determine whether the market favors **trend-following or counter-trend strategies**.
✅ **Visual Trend Confirmation via Color Coding:**
- **Green = Uptrend**, **Red = Downtrend**.
- Trend changes help confirm **entry and exit points**.
✅ **Anticipate Trend Reversals Using Probability Models:**
- The **Poisson projection** provides a **statistical edge** in **timing exits before trends reverse**.
✅ **Adapt to Market Volatility Automatically:**
- Dynamic **volatility scaling** ensures the indicator remains effective in **both high and low volatility environments**.
Happy trading and enjoy!
Coppock Curve with Pivot Points and Divergence The Coppock Curve is a long-term price momentum indicator used primarily to recognize major downturns and upturns in a stock market index. It is calculated as a 10-month weighted moving average of the sum of the 14-month rate of change and the 11-month rate of change for the index. It is also known as the "Coppock Guide."
The Coppock formula was introduced in Barron's in 1962 by Edwin Coppock.
The Coppock Curve is a technical indicator that provides long-term buy and sell signals for major stock indexes and related ETFs based on shifts in momentum.
What Does the Coppock Curve Tell You?
The Coppock Curve was originally implemented as a long-term buy and sell indicator for major indices such as the S&P 500 and the Wilshire 5000. Often, it is used with long-term time series such as a candlestick chart, but where each candle contains a month's worth of price information.
The Difference Between the Coppock Curve and Rate of Relative Strength Index (RSI)?
The relative strength index looks at how the current price compares to prior prices, though it is calculated differently than the rate of change (ROC) indicator used in the Coppock Curve calculation. Therefore, these indicators will provide different trade signals and information.
What are those circles?
-These are Divergences. Red for Regular-Bearish. Orange for Hidden-Bearish. Green for Regular-Bullish. Aqua for Hidden-Bullish.
What are those triangles?
- These are Pivots . They show when the VPT oscillator might reverse, this is important to know because many times the price action follows this move.
Please keep in mind that this indicator is a tool and not a strategy, do not blindly trade signals, do your own research first! Use this indicator in conjunction with other indicators to get multiple confirmations.
Jackrabbit.modulus.MovingAveragesThis is the Moving Averages indicator for the Jackrabbit suite and modulus framework.
This indicator supports differential timeframe analysis and confirmational bias. Dynamic timeframes are supported.
Three different algorithms are supported: Crossover/under, The 37 rule, and momentum. For momentum, the fast line is the upper boundary and the slow line is the lower boundrary. When crosses take place, the maximum and minimum vals are calculated properly in relation to the crossing points.
The main indicatior and the confirmational indicator can both be individually tuned for the fast, and slow moving averages with different and independent lengths and 27 different moving average types:
SMA, Double SMA, Triple SMA,
EMA, Double EMA, Triple EMA,
WMA, Double WMA, Triple WMA,
VWMA, Double VWMA, Triple VWMA,
Hull, Double Hull, Triple Hull,
ZLEMA, Double ZLEMA, Triple ZLEMA,
SWMA, Double SWMA, Triple SWMA,
SSMA, Double SSMA, Triple SSMA,
SMMA,Double SMMA, Triple SMMA
All moving averages can also have their own source input: Open, Close, High, Low, HL2, HLC3, and OHLC4
The Jackrabbit modulus framework is a plug in play paradigm built to operate through TradingView's indicator on indicatior (IoI) functionality. As such, this script receives a signal line from the previous script in the IoI chain, and evaluates the buy/sell signals appropriate to the current analysis. The results are either combined with the signal line, or used as confirmation to the signal line. A new signal line is generated for the next script in the link.
Buy/Sell alerts are produced by the main Jackrabbit script, or the modulus AlertSystem script. This script is not designed or meant to function outside my framework and contains no alert capabilities.
By default, the signal line is visible and the charts are turned off. Signal line visibility is controlled by the Style tab, and the charts display is controlled by the indicator settings tab.
This script is by invitation only. To learn more about accessing this script, please see my signature or send me a PM. Thank you.
Momentum & Williams %R This strategy join 2 power study indicators on the same plot: Willian %R and Momentum.
Willian %R can indicate the good time for you buy or sale. Less than -80 indicate good buying opportunity . Greater than -20 good sale opportunity.
Momentum can indicate the good price for buy or sale, in other words, can indicate the speed the price goes down or goes up.
By Baldasso, March 2019.
Effortless ScalpingEffortless Scalping is an indicator that primarily is used for stock options trading.
Effortless Scalping is based off of momentum. Our script takes into account the price action, volume, and historical data points of a stock to give potential "buy" and "sell" areas.
Effortless Scalping is a protected script because its Buy and Sell signals are based off of custom coded confirmations. This is what makes our script unique. We also have custom coded CHOP Filters in the indicator.
Effortless Scalping has a custom EMA line that flows with the trend of the market. It also changes colors to indicate a bullish or bearish trend . It also will change into a yellow color if the CHOP of the market exceeds your allowance. This EMA line is the only "classic" element of our custom coded script.
You can easily use Effortless Scalping by applying it straight to your chart. You can customize several visual effects in the settings menu.
Effortless Scalping also has two types of signals--RISKY signals and normal signals. Risky signals have a higher risk, but also a higher reward.
Effortless Scalping also features take profit levels based off of ATR levels.
Effortless Scalping also has custom support and resistance lines to better help you analyze the movement of a stock. These levels are based off of pivot levels.
Effortless Scalping can not predict the future move of a stock. Our script uses historical data points to alert POTENTIAL entries. These historical data points by NO MEANS predict the future movement of the market.
Effortless Scalping was created to help me understand the movement of a stock and why it may be moving in that direction. I personally found success using this script. I am sharing it because I am hoping that others find success in this script as well. I also like to trade quite frequently, and several times a day, so I made an indicator that is both accurate and alerts frequently.
This indicator does NOT provide financial advice. It is intended for general use only.
Change of Moving Averages - TableChange of Moving Averages is a companion table that shows the change of the major moving averages rather than the moving averages themselves in order to more easily interpret momentum.
It can be used for an SMA , EMA , TEMA or VWMA averages with an adjustable source, length and time offset. It uses a daily interval but it can be disabled in settings in order to show the selected interval. The number of days used to calculate the change can be adjusted however this may produce unexpected results if the change is calculated across a peak or trough of the moving average.
More interested in the change of the moving averages over time? Check out "Change in Moving Averages - Chart":
Have modification ideas for this indicator? Just let me know and I will gladly consider them!
Change of Moving Averages - ChartChange of Moving Averages charts the change of the major moving averages rather than the moving averages themselves. This is done in a separate panel, rather than being overlaid in order to more easily interpret momentum.
Change of Moving Averages has dual colored lines, in order to better see when the MA has crossed zero(dotted line). It can be used for an SMA , EMA , TEMA or VWMA averages with an adjustable source, length and time offset. It uses a daily interval but it can be disabled in settings in order to show the selected interval. The number of days used to calculate the change can be adjusted however this may produce unexpected results if the change is calculated across a peak or trough of the moving average.
More interested in just the latest change in the moving averages? Check out the "Change in Moving Averages - Table", which is a simple overlay table:
Have modification ideas for this indicator? Just let me know and I will gladly consider them!
Momentum Sentiment Indicator by mattzabThis indicator uses 3 moving averages and includes volume to display sentiment and momentum.
By default, a 5, 8, and 13 SMA is displayed (black lines).
The colored bands are the corresponding volume weighted moving averages.
When the colored band is above the black line, sentiment is bullish.
Think of the color as being a show of volume, and the black lines as support and resistance.
When the lines are trending up, and colors are above the black lines, an uptrend is in progress.
When the colors are mixed above and below, and the lines are intertwined, it is a ranging market.
The lines operate similar to the Williams Alligator.
Correlation Drift📈 Correlation Drift
The Correlation Drift indicator is designed to detect shifts in market momentum by analyzing the relationship between correlation and price lag. It combines the principles of correlation analysis and lag factor measurement to provide a unique perspective on trend alignment and momentum shifts.
🔍 Core Concept:
The indicator calculates the Correlation vs PLF Ratio, which measures the alignment between an asset’s price movement and a chosen benchmark (e.g., BTCUSD). This ratio reflects how well the asset’s momentum matches the market trend while accounting for price lag.
📊 How It Works:
Correlation Calculation:
The script calculates the correlation between the asset and the selected benchmark over a specified period.
A higher correlation indicates that the asset’s price movements are in sync with the benchmark.
Price Lag Factor (PLF) Calculation:
The PLF measures the difference between long-term and short-term price momentum, dynamically scaled by recent volatility.
It highlights potential overextensions or lags in the asset’s price movements.
Combining Correlation and PLF:
The Correlation vs PLF Ratio combines these metrics to detect momentum shifts relative to the trend.
The result is a dynamic, smoothed histogram that visualizes whether the asset is leading or lagging behind the trend.
💡 How to Interpret:
Positive Values (Green/Aqua Bars):
Indicates bullish alignment with the trend.
Aqua: Rising bullish momentum, suggesting continuation.
Teal: Decreasing bullish momentum, signaling caution.
Negative Values (Purple/Fuchsia Bars):
Indicates bearish divergence from the trend.
Fuchsia: Falling bearish momentum, indicating increasing pressure.
Purple: Rising bearish momentum, suggesting potential reversal.
Clipping for Readability:
Values are clipped between -3 and +3 to prevent outliers from compressing the histogram.
This ensures clear visualization of typical momentum shifts while still marking extreme cases.
🚀 Best Practices:
Use Correlation Drift as a confirmation tool in conjunction with trend indicators (e.g., moving averages) to identify momentum alignment or divergence.
Look for transitions from positive to negative (or vice versa) as signals of potential trend shifts.
Combine with volume analysis to strengthen confidence in breakout or breakdown signals.
⚠️ Key Features:
Customizable Settings: Adjust the correlation length, PLF length, and smoothing factor to fine-tune the indicator for different market conditions.
Visual Gradient: The histogram changes color based on the strength and direction of the ratio, making it easy to identify shifts at a glance.
Zero Line Reference: Clearly distinguishes between bullish and bearish momentum zones.
🔧 Recommended Settings:
Correlation Length: 14 (for short to medium-term analysis)
PLF Length: 50 (to smooth out noise while capturing trend shifts)
Smoothing Factor: 3 (for enhanced clarity without excessive lag)
Benchmark Symbol: BTCUSD (or another relevant market indicator)
By providing a quantitative measure of trend alignment while accounting for price lag, the Correlation Drift indicator helps traders make more informed decisions during periods of momentum change. Whether you are trading crypto, forex, or equities, this tool can be a powerful addition to your momentum-based trading strategies.
⚠️ Disclaimer:
The Correlation Drift indicator is a technical analysis tool designed to aid in identifying potential shifts in market momentum and trend alignment. It is intended for informational and educational purposes only and should not be considered as financial advice or a recommendation to buy, sell, or hold any financial instrument.
Trading financial instruments, including cryptocurrencies, involves significant risk and may result in the loss of your capital. Past performance is not indicative of future results. Always conduct thorough research and seek advice from a certified financial professional before making any trading decisions.
The developer (RWCS_LTD) is not responsible for any trading losses or adverse outcomes resulting from the use of this indicator. Users are encouraged to test and validate the indicator in a simulated environment before applying it to live trading. Use at your own risk.
3CRGANG - Histogram (Basic)This indicator provides traders with a unified view of momentum by combining multiple classic oscillators into a single histogram. By aggregating momentum signals into one visual output, it simplifies trend analysis, helping traders identify momentum shifts without managing multiple indicators separately.
What It Does
The 3CRGANG - Histogram (Basic) calculates a momentum-based histogram using a user-selected oscillator (e.g., RSI, MACD, MFI, RVI, Stochastic, Stochastic RSI, or TMASlope). The histogram is plotted with color-coded bars to indicate bullish, bearish, or neutral momentum, alongside predefined alert levels and a trend status table for quick reference.
Why It’s Useful
This script addresses the challenge of monitoring multiple momentum indicators by consolidating them into a single histogram. Each oscillator measures momentum differently (e.g., RSI tracks price strength, MACD focuses on moving average convergence, MFI incorporates volume), but the script normalizes these signals into a unified output. This reduces chart clutter and provides a clear, actionable signal for identifying trend direction, making it easier for traders to focus on key momentum shifts across various market conditions.
How It Works
The script follows these steps to generate the histogram:
Oscillator Selection: Traders choose one oscillator to base the histogram on. For example: RSI measures the speed and change of price movements, MACD tracks the relationship between two exponential moving averages, and MFI combines price and volume to measure buying/selling pressure. The choice of oscillator affects the histogram’s sensitivity to price movements.
Fast Oscillator Calculation: A fast-moving oscillator is computed using the selected method over a user-defined period (default: 8 bars). For instance, RSI calculates the relative strength of price gains versus losses, while MACD computes the difference between short and long EMAs. The result is normalized to a range centered around zero.
Histogram Plotting: The oscillator’s output is adjusted by a modification factor (default: 1) for sensitivity tuning and plotted as a histogram. Positive values indicate bullish momentum, negative values indicate bearish momentum, and values near zero suggest a lack of clear trend.
Color Coding: Bars are colored based on momentum and price direction: green for bullish momentum (price moving upward, histogram value typically positive), red for bearish momentum (price moving downward, histogram value typically negative), and grey for neutral momentum (ranging conditions or unclear trend).
Alert Levels: Predefined buy and sell levels are plotted as dotted lines to mark significant momentum thresholds. For most oscillators, levels are set at 20 (buy) and -20 (sell), representing overbought/oversold conditions based on historical performance. For TMASlope, levels are adjusted to 0.04 and -0.04, as it measures the slope of a triangular moving average relative to the average true range (ATR).
Trend Table: A table in the top-right corner displays the current timeframe’s trend status ("Buy Only," "Sell Only," or "Ranging") based on the histogram value, price direction, and alert levels, along with the histogram’s numerical value.
Underlying Concepts
The script is built on the concept of momentum aggregation, aiming to capture short-term price dynamics while filtering noise. By using a fast-moving oscillator, it emphasizes recent price action, and the histogram format provides a visual summary of momentum strength. The alert levels are derived from typical overbought/oversold thresholds for each oscillator, adjusted to ensure consistency across different methods. The trend table adds a layer of interpretation, helping traders quickly assess whether the momentum aligns with the broader trend.
Use Case
Trending Markets: In a bullish trend, green bars above the buy alert level (e.g., 20) indicate strong upward momentum, suggesting potential long entries. In a bearish trend, red bars below the sell alert level (e.g., -20) suggest short opportunities.
Ranging Markets: Grey bars or values between alert levels indicate a lack of clear momentum, prompting caution or scalping strategies.
Confirmation Tool: Use the histogram to confirm price action signals, such as breakouts or reversals, by ensuring momentum aligns with the direction of the move. For example, a breakout with green bars above the buy level may signal a stronger trend.
Settings
Choose Type: Select the oscillator to use (default: RSI - CLASSIC).
Source: Choose between Close or HL2 price data (default: Close).
Histogram Length: Set the period for oscillator calculation (options: 5, 8, 13; default: 8).
Modification Factor: Adjust the sensitivity of the histogram (default: 1).
Notes
The script supports classic oscillators only and operates on the current timeframe.
If volume data is unavailable for your ticker, MFI calculations may not work; select another oscillator to continue plotting.
Disclaimer
This indicator is a tool for analyzing market trends and does not guarantee trading success. Trading involves risk, and past performance is not indicative of future results. Always use proper risk management.
Prime OscilatorPrime Oscilator is a powerful tool designed to help traders track momentum shifts and confirm trends in volatile markets. This oscillator-based tool integrates advanced market analysis techniques to provide a clear picture of momentum and trend direction, helping traders stay in sync with the prevailing market conditions.
Core Features of Prime Oscilator
Oscillator-Based Momentum Tracking: Prime Oscilator operates as a dynamic oscillator that tracks shifts in market momentum by analyzing the relationship between the A/D line and its signal line. This allows traders to identify potential changes in market direction and confirm trend strength.
Trend Confirmation Filter: Prime Oscilator incorporates a long-term trend filter, using a 50-period Simple Moving Average (SMA) to confirm whether the market is trending upward or downward. This helps traders focus on trades that align with the broader market direction.
Adaptive Signal Line: The oscillator’s signal line adjusts dynamically to reflect short-term momentum changes, allowing traders to react quickly to evolving market conditions. This makes the Prime Oscilator highly responsive to both fast-moving and stable markets.
Color-Coded Oscillator Line: The oscillator line changes color based on the current market conditions, providing a visual cue of momentum shifts. The line remains green during upward momentum and red during downward momentum, giving traders an easy way to gauge the market direction.
How Prime Oscilator Works
Prime Oscilator blends the power of trend analysis with momentum tracking to provide a comprehensive view of market conditions. By analyzing the Accumulation/Distribution (A/D) line and comparing it to a dynamic signal line, traders can monitor momentum shifts and confirm trends.
A/D Line Crossover: The indicator uses the relationship between the A/D line and the signal line to detect potential momentum changes. When the A/D line moves relative to the signal line, it reflects shifts in market momentum, allowing traders to follow the direction of the trend.
Trend Filtering: To ensure that momentum is aligned with the broader market direction, Prime Oscilator uses a 50-period SMA as a trend filter. This confirms whether the market is in an uptrend or downtrend and helps traders avoid focusing on short-term fluctuations that go against the prevailing trend.
Why It's Useful for Traders
Prime Oscilator is especially valuable for traders looking for a reliable way to track momentum shifts while aligning their trades with the overall market trend. This reduces noise and ensures that traders focus on opportunities that are in line with broader market movements.
Momentum-Based Trend Analysis: By tracking momentum changes, Prime Oscilator helps traders stay on top of potential market shifts without the noise that comes from traditional indicators.
Clear Visual Feedback: The color-coded oscillator line provides instant feedback on market conditions, allowing traders to focus on decision-making rather than analyzing multiple indicators.
Flexible Across Markets and Timeframes: Whether you are trading in volatile markets or more stable environments, Prime Oscilator adapts to different market conditions, ensuring you always have a clear picture of momentum and trend.
Prime Oscilator is ideal for traders who:
Scalp or trade intraday: Quickly captures momentum shifts in short timeframes.
Swing traders: Identifies potential trend reversals in higher timeframes while confirming momentum strength.
Trend followers: Ensures your trades are aligned with the prevailing market trend by confirming momentum shifts.
By combining momentum analysis with trend direction, Prime Oscilator offers a dynamic view of the market, helping traders navigate changing conditions with ease.
Why It's Worth Paying For
Prime Oscilator provides several unique advantages that make it a valuable tool for traders:
Clear and Actionable Insights: The oscillator-based momentum tracking gives traders a clear understanding of when the market's momentum is shifting, allowing for more informed trading decisions.
No Lagging: Unlike some trend-following indicators, Prime Oscilator reacts dynamically to market changes, helping traders stay aligned with the current market direction.
Adaptable and Flexible: Whether you trade on shorter timeframes or hold longer positions, Prime Oscilator adapts seamlessly to various market conditions. The trend filter ensures that traders remain aligned with broader market trends.
Visual Simplicity: The color-coded oscillator line and background shading provide an easy-to-read way of monitoring market conditions, enabling faster decision-making.
How to Get Access
To gain access to Prime Oscilator , please send me a direct message on TradingView or follow the provided link to request access. Ensure that access requests are made privately so the comments section remains focused on discussions related to the script’s performance and use.
Risk Disclaimer
While Prime Oscilator offers valuable insights into market momentum and trends, it’s important to note the following:
Past performance is not indicative of future results: Prime Oscilator ’s trend and momentum analysis are based on historical data, and no indicator can predict future price movements with certainty.
Market Conditions: The effectiveness of the Prime Oscilator may vary across different market conditions, and traders should always use proper risk management when trading.
Trading Risks: Like any trading tool, Prime Oscilator should be used as part of a comprehensive trading strategy that includes risk management techniques such as stop-loss orders and position sizing.
Momentum Ghost Machine [ChartPrime]Momentum Ghost Machine (ChartPrime) is designed to be the next generation in momentum/rate of change analysis. This indicator utilizes the properties of one of our favorite filters to create a more accurate and stable momentum oscillator by using a high quality filtered delayed signal to do the momentum comparison.
Traditional momentum/roc uses the raw price data to compare current price to previous price to generate a directional oscillator. This leaves the oscillator prone to false readings and noisy outputs that leave traders unsure of the real likelihood of a future movement. One way to mitigate this issue would be to use some sort of moving average. Unfortunately, this can only go so far because simple moving average algorithms result in a poor reconstruction of the actual shape of the underlying signal.
The windowed sinc low pass filter is a linear phase filter, meaning that it doesn't change the shape or size of the original signal when applied. This results in a faithful reconstruction of the original signal, but without the "high frequency noise". Just like any filter, the process of applying it requires that we have "future" samples resulting in a time delay for real time applications. Fortunately this is a great thing in the context of a momentum oscillator because we need some representation of past price data to compare the current price data to. By using an ideal low pass filter to generate this delayed signal we can super charge the momentum oscillator and fix the majority of issues its predecessors had.
This indicator has a few extra features that other momentum/roc indicators dont have. One major yet simple improvement is the inclusion of a moving average to help gauge the rate of change of this indicator. Since we included a moving average, we thought it would only be appropriate to add a histogram to help visualize the relationship between the signal and its average. To go further with this we have also included linear extrapolation to further help you predict the momentum and direction of this oscillator. Included with this extrapolation we have also added the histogram in the extrapolation to further enhance its visual interpretation. Finally, the inclusion of a candle coloring feature really drives how the utility of the Momentum Machine .
There are three distinct options when using the candle coloring feature: Direct, MA, and Both. With direct the candles will be colored based on the indicators direction and polarity. When it is above zero and moving up, it displays a green color. When it is above zero and moving down it will display a light green color. Conversely, when the indicator is below zero and moving down it displays a red color, and when it it moving up and below zero it will display a light red color. MA coloring will color the candles just like a MACD. If the signal is above its MA and moving up it will display a green color, and when it is above its MA and moving down it will display a light green color.
When the signal is below its MA and moving down it will display a red color, and when its below its ma and moving up it will display a light red color. Both combines the two into a single color scheme providing you with the best of both worlds. If the indicator is above zero it will display the MA colors with a slight twist. When the indicator is moving down and is below its MA it will display a lighter color than before, and when it is below zero and is above its MA it will display a darker color color.
Length of 50 with a smoothing of 100
Length of 50 with a smoothing of 25
By default, the indicator is set to a momentum length of 50, with a post smoothing of 2. We have chosen the longer period for the momentum length to highlight the performance of this indicator compared to its ancestors. A major point to consider with this indicator is that you can only achieve so much smoothing for a chosen delay. This is because more data is required to produce a smoother signal at a specified length. Once you have selected your desired momentum length you can then select your desired momentum smoothing . This is made possible by the use of the windowed sinc low pass algorithm because it includes a frequency cutoff argument. This means that you can have as little or as much smoothing as you please without impacting the period of the indicator. In the provided examples above this paragraph is a visual representation of what is going on under the hood of this indicator. The blue line is the filtered signal being compared to the current closing price. As you can see, the filtered signal is very smooth and accurately represents the underlying price action without noise.
We hope that users can find the same utility as we did in this indicator and that it levels up your analysis utilizing the momentum oscillator or rate of change.
Enjoy
SSL-RF# TrendSync Pro - Premium Multi-Confluence Trading System
## 🎯 **WHAT IT IS**
TrendSync Pro is an advanced trading indicator that combines three powerful technical analysis tools to deliver high-probability trading signals. Unlike basic indicators that rely on single metrics, this system requires multiple confirmations before generating signals, dramatically reducing false positives and improving win rates.
## 🔧 **HOW IT WORKS**
### **Core Components:**
**1. SSL (Support & Resistance Lines)**
- Dynamic support/resistance levels based on moving averages of highs and lows
- GREEN = Bullish trend (price above SSL)
- RED = Bearish trend (price below SSL)
**2. Range Filter**
- Volatility-based filter that eliminates market noise
- Creates dynamic bands that adapt to market conditions
- GREEN = Upward momentum
- RED = Downward momentum
**3. RSI Momentum Analysis**
- Advanced RSI interpretation with multiple key levels (20, 33.33, 40, 60, 66.67, 80)
- Momentum detection for optimal entry timing
- Overbought/oversold analysis with trend context
### **Signal Generation Logic:**
**ENTRY REQUIREMENTS (All Must Align):**
1. **Primary Condition**: SSL and Range Filter must be the same color
2. **RSI Momentum**: Favorable RSI positioning and movement
3. **Recent Momentum**: At least one indicator showing fresh directional change
4. **Volume Confirmation**: Above-average volume supporting the move
5. **Price Action**: Directional candles with significant body size
## ⭐ **QUALITY RATING SYSTEM**
Signals are rated based on how many conditions are met:
- **⭐⭐⭐⭐⭐ PERFECT**: All 5 conditions met - Highest probability trades
- **⭐⭐⭐⭐ STRONG**: 4 conditions met - High-quality setups
- **⭐⭐⭐ GOOD**: 3 conditions met - Solid opportunities
## 📊 **VISUAL FEATURES**
### **On-Chart Elements:**
- **SSL Line**: Green/Red dynamic support/resistance
- **Range Filter**: Colored trend line with upper/lower bands
- **Signal Labels**: Clear LONG/SHORT labels with quality rating
- **Exit Signals**: Automatic exit points based on RSI levels
- **Background Color**: Trend-based background tinting
- **Bar Colors**: SSL-based candle coloring
### **Information Table** (Real-time Status):
- SSL Status (Green/Red)
- Range Filter Direction
- Current RSI Value
- Overall Trend Assessment
- Position Status (In Long/Short/Wait)
- Signal Quality Metrics
### **Separate RSI Pane:**
- Full RSI plot with color-coded levels
- Key horizontal levels (20, 33.33, 40, 60, 66.67, 80)
- Colored zones for easy interpretation
## 🎛️ **CUSTOMIZABLE SETTINGS**
### **RSI Settings:**
- RSI Length (default: 14)
- Show/Hide RSI signals
- Show/Hide RSI plot
### **SSL Settings:**
- SSL Period (default: 60)
- Moving Average Type (SMA, EMA, WMA, HMA)
### **Range Filter Settings:**
- Source (default: Close)
- Sampling Period (default: 100)
- Range Multiplier (default: 3.0)
### **Visual Settings:**
- Background transparency
- Table position (4 corners available)
## ⚡ **SMART TIMEFRAME ADAPTATION**
The indicator automatically adjusts its sensitivity based on timeframe:
**Low Timeframes (1m, 3m, 5m):**
- Requires higher timeframe confirmation
- More selective signal generation
- Faster exit conditions
**Medium Timeframes (15m, 30m, 1h):**
- Balanced approach
- Standard signal requirements
**High Timeframes (4h+):**
- Allows more signals
- Focuses on major trend changes
## 🎯 **TRADING STRATEGY**
### **Long Signals:**
- **Entry**: When SSL and Range Filter both turn green + quality conditions met
- **Exit**: RSI reaches 70 (profit target) OR trend conditions change
### **Short Signals:**
- **Entry**: When SSL and Range Filter both turn red + quality conditions met
- **Exit**: RSI reaches 30 (profit target) OR trend conditions change
### **Risk Management:**
- Built-in signal spacing prevents over-trading
- Quality-based position sizing (higher stars = larger positions)
- Clear exit conditions for risk control
## 🔔 **ALERT SYSTEM**
Comprehensive alert system with different levels:
- **5-Star Signals**: Perfect setups (all conditions met)
- **4-Star Signals**: Strong setups
- **3-Star Signals**: Good setups
- **Exit Alerts**: Position closing notifications
## 🎪 **UNIQUE ADVANTAGES**
1. **Multi-Confluence Approach**: Requires multiple confirmations
2. **Quality Over Quantity**: Fewer but higher-probability signals
3. **Adaptive Intelligence**: Adjusts to different timeframes
4. **Complete Trading System**: Entry, exit, and risk management included
5. **Professional Visualization**: Clean, informative display
6. **Beginner-Friendly**: Clear signals with quality ratings
## 📈 **BEST USED FOR**
- **Swing Trading**: 4H to Daily timeframes
- **Day Trading**: 15m to 1H timeframes
- **Scalping**: 1m to 5m timeframes (with HTF confirmation)
- **All Markets**: Forex, Crypto, Stocks, Indices
- **Trend Following**: Captures major directional moves
- **Mean Reversion**: Quality counter-trend opportunities
## ⚠️ **IMPORTANT NOTES**
- **Not a Holy Grail**: No indicator is 100% accurate
- **Risk Management Essential**: Always use proper position sizing
- **Backtest First**: Test on historical data before live trading
- **Market Conditions**: Works best in trending markets
- **Education Required**: Understanding the logic improves results
## 🚀 **GET STARTED**
1. Add indicator to your chart
2. Adjust settings for your trading style
3. Wait for quality signals (3+ stars recommended)
4. Use proper risk management
5. Track performance and refine approach
---
**This indicator represents hundreds of hours of development and testing. It's designed for serious traders who value quality over quantity and understand that successful trading requires patience, discipline, and proper risk management.**
*Try it today and experience the difference that true multi-confluence analysis can make in your trading results!*
Uptrick: Z-Trend BandsOverview
Uptrick: Z-Trend Bands is a Pine Script overlay crafted to capture high-probability mean-reversion opportunities. It dynamically plots upper and lower statistical bands around an EMA baseline by converting price deviations into z-scores. Once price moves outside these bands and then reenters, the indicator verifies that momentum is genuinely reversing via an EMA-smoothed RSI slope. Signal memory ensures only one entry per momentum swing, and traders receive clear, real-time feedback through customizable bar-coloring modes, a semi-transparent fill highlighting the statistical zone, concise “Up”/“Down” labels, and a live five-metric scoring table.
Introduction
Markets often oscillate between trending and reverting, and simple thresholds or static envelopes frequently misfire when volatility shifts. Standard deviation quantifies how “wide” recent price moves have been, and a z-score transforms each deviation into a measure of how rare it is relative to its own history. By anchoring these bands to an exponential moving average, the script maintains a fluid statistical envelope that adapts instantly to both calm and turbulent regimes. Meanwhile, the Relative Strength Index (RSI) tracks momentum; smoothing RSI with an EMA and observing its slope filters out erratic spikes, ensuring that only genuine momentum flips—upward for longs and downward for shorts—qualify.
Purpose
This indicator is purpose-built for short-term mean-reversion traders operating on lower–timeframe charts. It reveals when price has strayed into the outer 5 percent of its recent range, signaling an increased likelihood of a bounce back toward fair value. Rather than firing on price alone, it demands that momentum follow suit: the smoothed RSI slope must flip in the opposite direction before any trade marker appears. This dual-filter approach dramatically reduces noise-driven, false setups. Traders then see immediate visual confirmation—bar colors that reflect the latest signal and age over time, clear entry labels, and an always-visible table of metric scores—so they can gauge both the validity and freshness of each signal at a glance.
Originality and Uniqueness
Uptrick: Z-Trend Bands stands apart from typical envelope or oscillator tools in four key ways. First, it employs fully normalized z-score bands, meaning ±2 always captures roughly the top and bottom 5 percent of moves, regardless of volatility regime. Second, it insists on two simultaneous conditions—price reentry into the bands and a confirming RSI slope flip—dramatically reducing whipsaw signals. Third, it uses slope-phase memory to lock out duplicate signals until momentum truly reverses again, enforcing disciplined entries. Finally, it offers four distinct bar-coloring schemes (solid reversal, fading reversal, exceeding bands, and classic heatmap) plus a dynamic scoring table, rather than a single, opaque alert, giving traders deep insight into every layer of analysis.
Why Each Component Was Picked
The EMA baseline was chosen for its blend of responsiveness—weighting recent price heavily—and smoothness, which filters market noise. Z-score deviation bands standardize price extremes relative to their own history, adapting automatically to shifting volatility so that “extreme” always means statistically rare. The RSI, smoothed with an EMA before slope calculation, captures true momentum shifts without the false spikes that raw RSI often produces. Slope-phase memory flags prevent repeated alerts within a single swing, curbing over-trading in choppy conditions. Bar-coloring modes provide flexible visual contexts—whether you prefer to track the latest reversal, see signal age, highlight every breakout, or view a continuous gradient—and the scoring table breaks down all five core checks for complete transparency.
Features
This indicator offers a suite of configurable visual and logical tools designed to make reversal signals both robust and transparent:
Dynamic z-score bands that expand or contract in real time to reflect current volatility regimes, ensuring the outer ±zThreshold levels always represent statistically rare extremes.
A smooth EMA baseline that weights recent price more heavily, serving as a fair-value anchor around which deviations are measured.
EMA-smoothed RSI slope confirmation, which filters out erratic momentum spikes by first smoothing raw RSI and then requiring its bar-to-bar slope to flip before any signal is allowed.
Slope-phase memory logic that locks out duplicate buy or sell markers until the RSI slope crosses back through zero, preventing over-trading during choppy swings.
Four distinct bar-coloring modes—Reversal Solid, Reversal Fade, Exceeding Bands, Classic Heat—plus a “None” option, so traders can choose whether to highlight the latest signal, show signal age, emphasize breakout bars, or view a continuous heat gradient within the bands.
A semi-transparent fill between the EMA and the upper/lower bands that visually frames the statistical zone and makes extremes immediately obvious.
Concise “Up” and “Down” labels that plot exactly when price re-enters a band with confirming momentum, keeping chart clutter to a minimum.
A real-time, five-metric scoring table (z-score, RSI slope, price vs. EMA, trend state, re-entry) that updates every two bars, displaying individual +1/–1/0 scores and an averaged Buy/Sell/Neutral verdict for complete transparency.
Calculations
Compute the fair-value EMA over fairLen bars.
Subtract that EMA from current price each bar to derive the raw deviation.
Over zLen bars, calculate the rolling mean and standard deviation of those deviations.
Convert each deviation into a z-score by subtracting the mean and dividing by the standard deviation.
Plot the upper and lower bands at ±zThreshold × standard deviation around the EMA.
Calculate raw RSI over rsiLen bars, then smooth it with an EMA of length rsiEmaLen.
Derive the RSI slope by taking the difference between the current and previous smoothed RSI.
Detect a potential reentry when price exits one of the bands on the prior bar and re-enters on the current bar.
Require that reentry coincide with an RSI slope flip (positive for a lower-band reentry, negative for an upper-band reentry).
On first valid reentry per momentum swing, fire a buy or sell signal and set a memory flag; reset that flag only when the RSI slope crosses back through zero.
For each bar, assign scores of +1, –1, or 0 for the z-score direction, RSI slope, price vs. EMA, trend-state, and reentry status.
Average those five scores; if the result exceeds +0.1, label “Buy,” if below –0.1, label “Sell,” otherwise “Neutral.”
Update bar colors, the semi-transparent fill, reversal labels, and the scoring table every two bars to reflect the latest calculations.
How It Actually Works
On each new candle, the EMA baseline and band widths update to reflect current volatility. The RSI is smoothed and its slope recalculated. The script then looks back one bar to see if price exited either band and forward to see if it reentered. If that reentry coincides with an appropriate RSI slope flip—and no signal has yet been generated in that swing—a concise label appears. Bar colors refresh according to your selected mode, and the scoring table updates to show which of the five conditions passed or failed, along with the overall verdict. This process repeats seamlessly at each bar, giving traders a continuous feed of disciplined, statistically filtered reversal cues.
Inputs
All parameters are fully user-configurable, allowing you to tailor sensitivity, lookbacks, and visuals to your trading style:
EMA length (fairLen): number of bars for the fair-value EMA; higher values smooth more but lag further behind price.
Z-Score lookback (zLen): window for calculating the mean and standard deviation of price deviations; longer lookbacks reduce noise but respond more slowly to new volatility.
Z-Score threshold (zThreshold): number of standard deviations defining the upper and lower bands; common default is 2.0 for roughly the outer 5 percent of moves.
Source (src): choice of price series (close, hl2, etc.) used for EMA, deviation, and RSI calculations.
RSI length (rsiLen): period for raw RSI calculation; shorter values react faster to momentum changes but can be choppier.
RSI EMA length (rsiEmaLen): period for smoothing raw RSI before taking its slope; higher values filter more noise.
Bar coloring mode (colorMode): select from None, Reversal Solid, Reversal Fade, Exceeding Bands, or Classic Heat to control how bars are shaded in relation to signals and band positions.
Show signals (showSignals): toggle on-chart “Up” and “Down” labels for reversal entries.
Show scoring table (enableTable): toggle the display of the five-metric breakdown table.
Table position (tablePos): choose which corner (Top Left, Top Right, Bottom Left, Bottom Right) hosts the scoring table.
Conclusion
By merging a normalized z-score framework, momentum slope confirmation, disciplined signal memory, flexible visuals, and transparent scoring into one Pine Script overlay, Uptrick: Z-Trend Bands offers a powerful yet intuitive tool for intraday mean-reversion trading. Its adaptability to real-time volatility and multi-layered filter logic deliver clear, high-confidence reversal cues without the clutter or confusion of simpler indicators.
Disclaimer
This indicator is provided solely for educational and informational purposes. It does not constitute financial advice. Trading involves substantial risk and may not be suitable for all investors. Past performance is not indicative of future results. Always conduct your own testing and apply careful risk management before trading live.