Trade Scanner Pro [MarketSignalsPro]
█ OVERVIEW
Trade Scanner Pro is a trade signal generator based on my trend following momentum reversal system. It identifies a pullback and then confirms momentum exhaustion which produces a signal appearing as a set of suggested orders (horizontal lines) on the chart. The goal is to help traders capitalize on price momentum while simplifying decision making and offering a way to gauge expectations. It can be used for any market, any time frame and configured for counter trend signals also.
█ CONCEPT
While markets are highly random, especially on smaller time frames, trends do exist.
Trade Scanner Pro offers a visually structured way to align the user
with price momentum that is relevant to the trend. It accomplishes this by incorporating a unique mix of standard technical formulas to identify a pullback followed by a momentum reversal. The process occurs in 3 steps:
1 — Identifying the trend of the current time frame.
2 — Evaluating the retrace in terms of how far it moves away from the typical price.
3 — Confirming price exhaustion by recognizing a reversal in price momentum.
Once the criteria are met, a signal appears as a blue horizontal line. This is the entry price suggestion (see label). Stop and take profit orders are also calculated simultaneously. These appear as a red line and green line respectively with price labels. The stop and take profit orders are based upon an average of previous price ranges and will be relative to the price action on the chosen time frame. The initial reward/risk ratio is set to 1.5:1, and can be changed in the settings menu.
This system can also be adjusted to cater to the experience level of the trader. For example, more advanced traders can select “counter trend” mode which will only show signals on the opposite side of the trend. A trailing stop can be activated to help stay in a trade after reaching the profit level. There is also a “heads up” mode which colors the candles orange which means a signal is more likely to appear over the next couple of candles. More on these features in the next section.
For best results, time frames of 1 minute and above should be considered. The smaller the time frame, the more signals, but also more noise and stop outs. Knowing your
market and the most active time of day is especially important for smaller time frames.
█ FEATURES
The following features can be found in the settings menu of Trade Scanner Pro.
Show Trend:
The initial setting is “on”. This shows the trend label on the upper right corner of the screen. Trend can be either bullish or bearish. At times there will be a “conflict” label that appears below the trend label. Conflict means the trend MAY be in the process of changing. This occurs when price persists against the prevailing trend for a prolonged amount of time.
Counter Trend:
When selected will ignore signals on the side of the trend and show counter trend signals only. If the “heads up” feature is selected, orange candles will only appear for potential counter trend signals.
Trailing Stop:
When selected, a trailing stop order suggestion (orange line) will appear beginning from the stop loss price (red line) after a few closed candles. The trailing stop line will follow the price upon each new close of the candles until it is touched. This serves as a point of reference to capture larger market movements and skew reward/risk favorably over time.
Heads Up:
When selected will paint orange candles when there is a greater chance a signal will appear. For example, in trend mode it will only evaluate signals on the side of the trend. In counter trend mode it will evaluate counter trend signals only. For advanced users, this “pre signal” can offer potential opportunities to enter a trade before the signal appears.
Reward Ratio:
This is the reward part of the reward/risk formula used to establish the take profit suggestion on the chart. Initially it is set at 1.5 which produces a line on the chart at a 1.5:1 ratio. The user can change this setting to better align with their expectations. For example, if a larger market movement is anticipated, 2 can be entered into the input field and will generate a take profit line 2X farther than the stop loss line (2:1 reward/risk).
█ LIMITATIONS
Markets are HIGHLY random, especially on smaller time frames. No system that is based on public domain formulas can be expected to be HIGHLY accurate. It is reasonable to expect a 50% win rate more often than not. Profitability in such systems depends on the reward/risk rather than win rate.
This is a system based on price momentum which means MOMENTUM must be present for best results especially on very short time frames.
While this system helps to reduce the burden of analysis, the user should have some basic familiarity with technical analysis. Basic knowledge can help to better determine a quality signal over noise.
█ RAMBLINGS
The stop loss orders MUST be respected otherwise the user puts their entire account at risk. Signals can appear at price locations where larger magnitude risk is extremely high. Respecting the stop loss suggestions can help to mitigate this risk.
For best results set up notifications to receive a message on your desktop, smart phone or tablet rather than sitting in front of a computer screen waiting for a signal to appear. Keep in mind a 1 minute chart in a single market can produce 5 or 6 signals throughout the entire daily session and NOT all will be profitable. A 1 hour time frame may produce 1 or 2 throughout the day. The larger the time frame the lower frequency of signals.
█ THANKS
Special thanks to Cryptosnagger for
helping me translate my concept into a pine script reality.
Cerca negli script per "momentum"
GKD-C Composite RSI [Loxx]Giga Kaleidoscope GKD-C Composite RSI is a Confirmation module included in Loxx's "Giga Kaleidoscope Modularized Trading System".
█ What is the Composite RSI?
The Composite Relative Strength Index (Composite RSI) is a sophisticated adaptation of the traditional Relative Strength Index (RSI). This advanced indicator combines the benefits of smoothing techniques with the relative strength index to offer a more detailed perspective of market conditions. To fully comprehend the scope of Composite RSI, it's crucial to first understand the traditional RSI and its limitations.
The Relative Strength Index (RSI) is a widely used momentum oscillator that gauges the speed and change of price movements. Developed by J. Welles Wilder, the RSI is a scale from 0 to 100, with high and low levels typically set at 70 and 30, respectively. When the RSI climbs above 70, the asset is often considered overbought, suggesting a potential price decrease. Conversely, when the RSI falls below 30, the asset is deemed oversold, indicating a potential price increase.
While the RSI is beneficial in various market conditions, it is not without its limitations. One of the main criticisms of the traditional RSI is that it can produce false signals during trending markets. This is primarily due to the fact that the RSI only considers a single timeframe and does not account for volatility in the market.
The Composite RSI aims to address these limitations. This advanced indicator uses smoothing techniques and depth analysis to provide a more nuanced view of the market. As the provided pseudocode suggests, the Composite RSI calculates the Relative Strength (RS) over a given period and a certain depth, incorporating the average upward and downward changes in the price.
By using the Composite RSI, traders can better interpret market conditions and make more informed decisions. Its application of smoothing techniques helps to filter out market noise and reduce the likelihood of false signals. Furthermore, by considering multiple periods (the depth), the Composite RSI provides a more comprehensive view of market momentum.
While the traditional RSI remains a valuable tool in technical analysis, the Composite RSI offers a more nuanced and comprehensive approach to assessing market conditions. By incorporating smoothing techniques and depth analysis, the Composite RSI provides a more reliable and robust measure of market momentum, enhancing the decision-making process for traders and investors alike.
█ Giga Kaleidoscope Modularized Trading System
Core components of an NNFX algorithmic trading strategy
The NNFX algorithm is built on the principles of trend, momentum, and volatility. There are six core components in the NNFX trading algorithm:
1. Volatility - price volatility; e.g., Average True Range, True Range Double, Close-to-Close, etc.
2. Baseline - a moving average to identify price trend
3. Confirmation 1 - a technical indicator used to identify trends
4. Confirmation 2 - a technical indicator used to identify trends
5. Continuation - a technical indicator used to identify trends
6. Volatility/Volume - a technical indicator used to identify volatility/volume breakouts/breakdown
7. Exit - a technical indicator used to determine when a trend is exhausted
What is Volatility in the NNFX trading system?
In the NNFX (No Nonsense Forex) trading system, ATR (Average True Range) is typically used to measure the volatility of an asset. It is used as a part of the system to help determine the appropriate stop loss and take profit levels for a trade. ATR is calculated by taking the average of the true range values over a specified period.
True range is calculated as the maximum of the following values:
-Current high minus the current low
-Absolute value of the current high minus the previous close
-Absolute value of the current low minus the previous close
ATR is a dynamic indicator that changes with changes in volatility. As volatility increases, the value of ATR increases, and as volatility decreases, the value of ATR decreases. By using ATR in NNFX system, traders can adjust their stop loss and take profit levels according to the volatility of the asset being traded. This helps to ensure that the trade is given enough room to move, while also minimizing potential losses.
Other types of volatility include True Range Double (TRD), Close-to-Close, and Garman-Klass
What is a Baseline indicator?
The baseline is essentially a moving average, and is used to determine the overall direction of the market.
The baseline in the NNFX system is used to filter out trades that are not in line with the long-term trend of the market. The baseline is plotted on the chart along with other indicators, such as the Moving Average (MA), the Relative Strength Index (RSI), and the Average True Range (ATR).
Trades are only taken when the price is in the same direction as the baseline. For example, if the baseline is sloping upwards, only long trades are taken, and if the baseline is sloping downwards, only short trades are taken. This approach helps to ensure that trades are in line with the overall trend of the market, and reduces the risk of entering trades that are likely to fail.
By using a baseline in the NNFX system, traders can have a clear reference point for determining the overall trend of the market, and can make more informed trading decisions. The baseline helps to filter out noise and false signals, and ensures that trades are taken in the direction of the long-term trend.
What is a Confirmation indicator?
Confirmation indicators are technical indicators that are used to confirm the signals generated by primary indicators. Primary indicators are the core indicators used in the NNFX system, such as the Average True Range (ATR), the Moving Average (MA), and the Relative Strength Index (RSI).
The purpose of the confirmation indicators is to reduce false signals and improve the accuracy of the trading system. They are designed to confirm the signals generated by the primary indicators by providing additional information about the strength and direction of the trend.
Some examples of confirmation indicators that may be used in the NNFX system include the Bollinger Bands, the MACD (Moving Average Convergence Divergence), and the MACD Oscillator. These indicators can provide information about the volatility, momentum, and trend strength of the market, and can be used to confirm the signals generated by the primary indicators.
In the NNFX system, confirmation indicators are used in combination with primary indicators and other filters to create a trading system that is robust and reliable. By using multiple indicators to confirm trading signals, the system aims to reduce the risk of false signals and improve the overall profitability of the trades.
What is a Continuation indicator?
In the NNFX (No Nonsense Forex) trading system, a continuation indicator is a technical indicator that is used to confirm a current trend and predict that the trend is likely to continue in the same direction. A continuation indicator is typically used in conjunction with other indicators in the system, such as a baseline indicator, to provide a comprehensive trading strategy.
What is a Volatility/Volume indicator?
Volume indicators, such as the On Balance Volume (OBV), the Chaikin Money Flow (CMF), or the Volume Price Trend (VPT), are used to measure the amount of buying and selling activity in a market. They are based on the trading volume of the market, and can provide information about the strength of the trend. In the NNFX system, volume indicators are used to confirm trading signals generated by the Moving Average and the Relative Strength Index. Volatility indicators include Average Direction Index, Waddah Attar, and Volatility Ratio. In the NNFX trading system, volatility is a proxy for volume and vice versa.
By using volume indicators as confirmation tools, the NNFX trading system aims to reduce the risk of false signals and improve the overall profitability of trades. These indicators can provide additional information about the market that is not captured by the primary indicators, and can help traders to make more informed trading decisions. In addition, volume indicators can be used to identify potential changes in market trends and to confirm the strength of price movements.
What is an Exit indicator?
The exit indicator is used in conjunction with other indicators in the system, such as the Moving Average (MA), the Relative Strength Index (RSI), and the Average True Range (ATR), to provide a comprehensive trading strategy.
The exit indicator in the NNFX system can be any technical indicator that is deemed effective at identifying optimal exit points. Examples of exit indicators that are commonly used include the Parabolic SAR, the Average Directional Index (ADX), and the Chandelier Exit.
The purpose of the exit indicator is to identify when a trend is likely to reverse or when the market conditions have changed, signaling the need to exit a trade. By using an exit indicator, traders can manage their risk and prevent significant losses.
In the NNFX system, the exit indicator is used in conjunction with a stop loss and a take profit order to maximize profits and minimize losses. The stop loss order is used to limit the amount of loss that can be incurred if the trade goes against the trader, while the take profit order is used to lock in profits when the trade is moving in the trader's favor.
Overall, the use of an exit indicator in the NNFX trading system is an important component of a comprehensive trading strategy. It allows traders to manage their risk effectively and improve the profitability of their trades by exiting at the right time.
How does Loxx's GKD (Giga Kaleidoscope Modularized Trading System) implement the NNFX algorithm outlined above?
Loxx's GKD v2.0 system has five types of modules (indicators/strategies). These modules are:
1. GKD-BT - Backtesting module (Volatility, Number 1 in the NNFX algorithm)
2. GKD-B - Baseline module (Baseline and Volatility/Volume, Numbers 1 and 2 in the NNFX algorithm)
3. GKD-C - Confirmation 1/2 and Continuation module (Confirmation 1/2 and Continuation, Numbers 3, 4, and 5 in the NNFX algorithm)
4. GKD-V - Volatility/Volume module (Confirmation 1/2, Number 6 in the NNFX algorithm)
5. GKD-E - Exit module (Exit, Number 7 in the NNFX algorithm)
(additional module types will added in future releases)
Each module interacts with every module by passing data to A backtest module wherein the various components of the GKD system are combined to create a trading signal.
That is, the Baseline indicator passes its data to Volatility/Volume. The Volatility/Volume indicator passes its values to the Confirmation 1 indicator. The Confirmation 1 indicator passes its values to the Confirmation 2 indicator. The Confirmation 2 indicator passes its values to the Continuation indicator. The Continuation indicator passes its values to the Exit indicator, and finally, the Exit indicator passes its values to the Backtest strategy.
This chaining of indicators requires that each module conform to Loxx's GKD protocol, therefore allowing for the testing of every possible combination of technical indicators that make up the six components of the NNFX algorithm.
What does the application of the GKD trading system look like?
Example trading system:
Backtest: Full GKD Backtest
Baseline: Hull Moving Average
Volatility/Volume: Hurst Exponent
Confirmation 1: Composite RSI
Confirmation 2: uf2018 as shown
Continuation: Vortex
Exit: Rex Oscillator
Each GKD indicator is denoted with a module identifier of either: GKD-BT, GKD-B, GKD-C, GKD-V, or GKD-E. This allows traders to understand to which module each indicator belongs and where each indicator fits into the GKD system.
█ Giga Kaleidoscope Modularized Trading System Signals
Standard Entry
1. GKD-C Confirmation gives signal
2. Baseline agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Volatility/Volume agrees
1-Candle Standard Entry
1a. GKD-C Confirmation gives signal
2a. Baseline agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
Next Candle
1b. Price retraced
2b. Baseline agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Baseline Entry
1. GKD-B Basline gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Volatility/Volume agrees
7. Confirmation 1 signal was less than 'Maximum Allowable PSBC Bars Back' prior
1-Candle Baseline Entry
1a. GKD-B Baseline gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSBC Bars Back' prior
Next Candle
1b. Price retraced
2b. Baseline agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Volatility/Volume Entry
1. GKD-V Volatility/Volume gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Baseline agrees
7. Confirmation 1 signal was less than 7 candles prior
1-Candle Volatility/Volume Entry
1a. GKD-V Volatility/Volume gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSVVC Bars Back' prior
Next Candle
1b. Price retraced
2b. Volatility/Volume agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Baseline agrees
Confirmation 2 Entry
1. GKD-C Confirmation 2 gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Volatility/Volume agrees
6. Baseline agrees
7. Confirmation 1 signal was less than 7 candles prior
1-Candle Confirmation 2 Entry
1a. GKD-C Confirmation 2 gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSC2C Bars Back' prior
Next Candle
1b. Price retraced
2b. Confirmation 2 agrees
3b. Confirmation 1 agrees
4b. Volatility/Volume agrees
5b. Baseline agrees
PullBack Entry
1a. GKD-B Baseline gives signal
2a. Confirmation 1 agrees
3a. Price is beyond 1.0x Volatility of Baseline
Next Candle
1b. Price inside Goldie Locks Zone Minimum
2b. Price inside Goldie Locks Zone Maximum
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Continuation Entry
1. Standard Entry, 1-Candle Standard Entry, Baseline Entry, 1-Candle Baseline Entry, Volatility/Volume Entry, 1-Candle Volatility/Volume Entry, Confirmation 2 Entry, 1-Candle Confirmation 2 Entry, or Pullback entry triggered previously
2. Baseline hasn't crossed since entry signal trigger
4. Confirmation 1 agrees
5. Baseline agrees
6. Confirmation 2 agrees
█ Connecting to Backtests
All GKD indicators are chained indicators meaning you export the value of the indicators to specialized backtest to create your GKD trading system. Each indicator contains a proprietary signal generation algorithm that only work with GKD backtests. You can find these backtests using the links below.
GKD-BT Giga Confirmation Stack Backtest:
GKD-BT Giga Stacks Backtest:
GKD-BT Full Giga Kaleidoscope Backtest:
GKD-BT Solo Confirmation Super Complex Backtest:
GKD-BT Solo Confirmation Complex Backtest:
GKD-BT Solo Confirmation Simple Backtest:
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.
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!
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.
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.
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.
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.
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.
Traders AID / Warning Dots (use on 1-week timeframe)TradersAID – Warning Dots (use on the 1-week chart)
What It Does
TradersAID – Warning Dots is a technical tool that helps traders spot early signs of momentum shifts, which can sometimes appear before bigger changes in trend. It places visual dots on candles where momentum and price behavior start to act differently — giving you a heads-up to pay closer attention.
Note: This script does not repaint.
Dots are shown within the live candle and stay locked in once the candle closes.
How It Works
The indicator places dots based on three simple ideas:
1. Momentum Mapping Algorithm
It uses a smoothed RSI, filtered by volatility, to measure momentum more clearly. If this momentum moves in an unusual way, it plots a green or red dot to mark that moment.
2. Contextual Signal Filtering
A dot will only appear when that shift in momentum also fits the bigger picture — like during sideways price movement or slowing price action — to avoid noise.
3. Sensitivity Options
You can control how often signals appear:
o Slow – Fewer dots, but stronger shifts
o Regular – A balanced setting for general use
o Fast – More frequent, catches quicker changes
Use Cases
• Spot Divergence – See when price and momentum start to drift apart
• Watch for Trend Fatigue – Detect when a trend might be running out of steam
• Add a Visual Layer – Use dots as simple alerts in your existing chart setup
• Stay Aligned with the Big Picture – Built for longer-term market context
Key Settings
• Timeframe Limitation: Can be used for the 1-week timeframe
• Closed Source: While the code is protected, it’s built from momentum tracking, dynamic thresholds, and contextual filters
Disclaimer
This tool is for educational and informational purposes only. It is not financial advice, does not predict price direction, and makes no guarantees. Use it as a visual support tool alongside your own research and analysis.
Momentum Flow Matrix — VWAP × RSI × ADX × Volume🧠 Momentum Flow Matrix — VWAP × RSI × ADX × Volume
📌 OVERVIEW
The Momentum Flow Matrix is a compact yet powerful multi-factor market diagnosis tool.
It combines institutional-grade price anchoring (VWAP) with momentum and volume analytics (RSI, ADX, volume spikes) and displays the result as a clean dashboard widget on your chart.
You’ll instantly know:
1. Where price is anchored
2. Whether momentum is building or fading
3. Whether volume is supporting the move
4. Whether it’s a high-probability continuation or a risk of mean reversion
🚀 FEATURES
✅ 1. NinjaTrader VWAP Logic (Optional Toggle)
The VWAP calculation can be switched between:
📊 TradingView's native ta.vwap
🧠 Custom NinjaTrader-style VWAP, based on:
VWAP = sum( ((open+close)/2 + (high+low)/2)/2 × volume ) / sum(volume)
This more nuanced formula better reflects institutional execution levels.
⏰ 2. Anchor VWAP to Any Timeframe
Choose your VWAP anchor period from:
Daily, Weekly, Monthly
Intraday (e.g. 60-min, 240-min)
Custom (e.g. 15-min for scalpers)
This makes FlowM suitable for all timeframes and trading styles.
📉 3. RSI Monitoring with Color Zones
Dynamically highlights overbought/oversold conditions
Color-coded (red, green, gray) in the matrix
Can be used alone or combined with other signals
📈 4. ADX & DI Trend Strength Detection
Computes trend strength (ADX) and direction (DI+, DI–)
Classifies price action as:
✅ Bullish trend
🔴 Bearish trend
⚫ Neutral/no trend
🔥 5. Volume Spike Pulse
Flags when current volume exceeds historical average
Helps identify breakouts, panic dumps, or institutional interest
🧮 6. Momentum Score (0–100%)
A weighted combination of all components to produce a single momentum health score:
RSI state
ADX strength
Directional bias (DI)
Volume strength
Color-coded in real time:
🟢 Above 60%: Bullish bias
🔴 Below 40%: Bearish bias
⚪ Between: Neutral / Transition
🧑🏫 HOW TO TRADE WITH IT
📌 Setup Example 1 — Trend Continuation
VWAP rising (anchored to 1H or Daily)
RSI in the 50–60 range (not OB yet)
ADX > 25, DI+ > DI–
Volume spike present
✅ Matrix score > 70%
🟢 Trade idea: Long breakout entry with tight stop just under VWAP
📌 Setup Example 2 — Mean Reversion
Price above VWAP but RSI > 70
ADX < 20
Momentum % < 45%
Vol spike recently happened and faded
🔴 Trade idea: Short pullback into VWAP or fade extreme extension
📌 Setup Example 3 — Reversal Emerging
VWAP flat or down, but price just reclaimed it
RSI rising from oversold
ADX < 25 but DI+ crossing over DI–
Volume starting to rise
⚪ Trade idea: Early entry before full trend confirmation
🖼 VISUAL OUTPUT (Widget Example)
────────────────────────────
- Signal Value
────────────────────────────
- VWAP 45123.75
- RSI 61.2 🔴
- ADX 27.4 🟢 Bull
- Vol Spike 🔥 Yes
- Momentum % 75% 🟢
─────────────────────────────
✅ Positioned in the top-right of your chart
✅ Non-intrusive, always-on, highly visual
⚙️ CUSTOMIZATION OPTIONS
VWAP formula (Ninja vs TV)
Anchor timeframe
RSI, ADX lengths
Volume spike threshold
Toggle widget on/off
Clean and fast performance (optimized for Pine v6)
🧪 Best Use Cases
Intraday scalping (15m VWAP + short RSI/ADX)
Trend confirmation for swing entries (1H–4H anchors)
Momentum scoring for options traders
Exit management when scores begin to fade
🎁 Final Notes
FlowM was built to be intelligent, visually elegant, and truly multidimensional.
Whether you're a scalper, swing trader, or algo developer — this matrix simplifies complex conditions into clean, actionable insight.
👉 Try adding FlowM to your existing chart templates.
👉 Combine it with order flow or liquidity zones for maximum edge.
Please note that this is an educational idea and past performance may not be replicable in the future.
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.
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.