ROC (Rate of Change) Refurbished▮ Introduction
The Rate of Change indicator (ROC) is a momentum oscillator.
It was first introduced in the early 1970s by the American technical analyst Welles Wilder.
It calculates the percentage change in price between periods.
ROC takes the current price and compares it to a price 'n' periods (user defined) ago.
The calculated value is then plotted and fluctuates above and below a Zero Line.
A technical analyst may use ROC for:
- trend identification;
- identifying overbought and oversold conditions.
Even though ROC is an oscillator, it is not bounded to a set range.
The reason for this is that there is no limit to how far a security can advance in price but of course there is a limit to how far it can decline.
If price goes to $0, then it obviously will not decline any further.
Because of this, ROC can sometimes appear to be unbalanced.
(TradingView)
▮ Improvements
The following features were added:
1. Eight moving averages for the indicator;
2. Dynamic Zones;
3. Rules for coloring bars/candles.
▮ Motivation
Averages have been added to improve trend identification.
For finer tuning, you can choose the type of averages.
You can hide them if you don't need them.
The Dynamic Zones has been added to make it easier to identify overbought/oversold regions.
Unlike other oscillators like the RSI for example, the ROC does not have a predetermined range of oscillations.
Therefore, a fixed line that defines an overbought/oversold range becomes unfeasible.
It is in this matter that the Dynamic Zone helps.
It dynamically adjusts as the indicator oscillates.
▮ About Dynamic Zones
'Most indicators use a fixed zone for buy and sell signals.
Here's a concept based on zones that are responsive to the past levels of the indicator.'
The concept of Dynamic Zones was described by Leo Zamansky (Ph.D.) and David Stendahl, in the magazine of Stocks & Commodities V15:7 (306-310).
Basically, a statistical calculation is made to define the extreme levels, delimiting a possible overbought/oversold region.
Given user-defined probabilities, the percentile is calculated using the method of Nearest Rank.
It is calculated by taking the difference between the data point and the number of data points below it, then dividing by the total number of data points in the set.
The result is expressed as a percentage.
This provides a measure of how a particular value compares to other values in a data set, identifying outliers or values that are significantly higher or lower than the rest of the data.
▮ Thanks and Credits
- TradingView: for ROC and Moving Averages
- allanster: for Dynamic Zones
ROC
Oscillator ExtremesThe Oscillator Extremes indicator plots the normalized positioning of the selected oscillator versus the Bollinger Bands' upper and lower boundaries. Currently, this indicator has four different oscillators to choose from; RSI, CMO, CCI, and ROC.
When the oscillator pushes towards one extreme, it will bring the value of the prevailing line closer to zero. If the bullish or bearish line crosses the zero line, the oscillator is past the extreme of the Bollinger Band.
Example: If the RSI crosses over the upper boundary of the Bollinger, the bullish(green) line will cross under the zero line.
Crossovers of the bullish and bearish lines can indicate a shift in momentum and are a signal. Where the line crossing under, towards zero, is the prevailing trend. The plotted lines will highlight green(bullish) or red(bearish) to show the prevailing trend. This is similar to a DI+- crossover that is commonly associated with the ADX.
We have included an optional normalized ADX to help validate signals. The ADX will change color based on the slope of the ADX. Purple indicates a positive slope and white for a negative slope.
Rate of Change Candle Standardized (ROCCS)ROCCS is a standardized rate of change oscillator with "error bars". Rate of change helps traders gauge momentum in a market by comparing the current price with the price "n" periods ago. What makes this special is you get to see the momentum of the momentum via the candle view. The candle transformation utilizes a moving average to smooth the signal however this is only used for the close price. The high and low prices are not smoothed. The moving average has an adjustable period, and so does the standardization.
I hope you can find great use in this upgraded roc indicator.
Adaptive Fisherized ROCIntroduction
Hello community, here I applied the Inverse Fisher Transform, Ehlers dominant cycle determination and smoothing methods on a simple Rate of Change (ROC) indicator
You have a lot of options to adjust the indicator.
Usage
The rate of change is most often used to measure the change in a security's price over time.
That's why it is a momentum indicator.
When it is positive, prices are accelerating upward; when negative, downward.
It is useable on every timeframe and could be a potential filter for you your trading system.
IMO it could help you to confirm entries or find exits (e.g. you have a long open, roc goes negative, you exit).
If you use a trend-following strategy, you could maybe look out for red zones in an in uptrend or green zones in a downtrend to confirm your entry on a pullback.
Signals
ROC above 0 => confirms bullish trend
ROC below 0 => confirms bearish trend
ROC hovers near 0 => price is consolidating
Enjoy! 🚀
Clutter Fitler [Loxx]Clutter Fitler is a simple indicator to demonstrate a clutter filter. The purpose of this technique is to filter useless noise.
What is a Clutter Filter?
For our purposes here, this is a filter that compares the slope of the trading filter output to a threshold to determine whether to shift trends. If the slope is up but the slope doesn't exceed the threshold, then the color is gray and this indicates a chop zone. If the slope is down but the slope doesn't exceed the threshold, then the color is gray and this indicates a chop zone. Alternatively if either up or down slope exceeds the threshold then the trend turns green for up and red for down. Fro demonstration purposes, an EMA is used as the moving average. This filtering technique will be used for future indicators.
Included
Bar coloring
HMA Slope Variation [Loxx]HMA Slope Variation is an indicator that uses HMA moving average to calculate a slope that is then weighted to derive a signal.
The center line
The center line changes color depending on the value of the:
Slope
Signal line
Threshold
If the value is above a signal line (it is not visible on the chart) and the threshold is greater than the required, then the main trend becomes up. And reversed for the trend down.
Colors and style of the histogram
The colors and style of the histogram will be drawn if the value is at the right side, if the above described trend "agrees" with the value (above is green or below zero is red) and if the High is higher than the previous High or Low is lower than the previous low, then the according type of histogram is drawn.
What is the Hull Moving Average?
The Hull Moving Average ( HMA ) attempts to minimize the lag of a traditional moving average while retaining the smoothness of the moving average line. Developed by Alan Hull in 2005, this indicator makes use of weighted moving averages to prioritize more recent values and greatly reduce lag.
Included
Alets
Signals
Bar coloring
Loxx's Expanded Source Types
Multi HMA Slopes [Loxx]Multi HMA Slopes is an indicator that checks slopes of 5 (different period) Hull Moving Averages and adds them up to show overall trend. To us this, check for color changes from red to green where there is no red if green is larger than red and there is no red when red is larger than green. When red and green both show up, its a sign of chop.
What is the Hull Moving Average?
The Hull Moving Average (HMA) attempts to minimize the lag of a traditional moving average while retaining the smoothness of the moving average line. Developed by Alan Hull in 2005, this indicator makes use of weighted moving averages to prioritize more recent values and greatly reduce lag.
Included
Signals: long, short, continuation long, continuation short.
Alerts
Bar coloring
Loxx's expanded source types
MomentumThis indicator will give you the momentum readings (rate of change) for five lookback periods (15m, 60m, 4hr, 24hr, 48hr).
This is useful when backtesting or retroactively logging the readings into your trade journal (there is no way to roll back the Forex Factory momentum screener that I know of).
There are lines drawing in the background which are set to 100% transparency by default, so don't be puzzled when you occasionally see the bubbles for the line plots being highlighted on your chart.
Message me with any questions or suggestions.
ROC PercentileRate Of Change Percentile calculates the current ROC (user defined length) as a percentile rank.
We use 2 separate arrays, one for all positive ROC values and one for all negative values within a defined lookback period. Then the current ROC value is compared to those arrays to find it's percentile ranking.
For example, a ranking of 75 means the ROC is in the 75th percentile of all POSITIVE ROC values over the lookback period.
A ranking of -80 is in the 80th percentile of all NEGATIVE ROC values over the lookback period.
Most ROC scripts use raw ROC values (or smoothed or otherwise altered), or have stochastic formula applied to them, I've not seen one that displays ROC as percentile ranking of previous positive/negative values.
What is the advantage?
Raw ROC data only gives half the picture. What we want to do is compare the ROC to previous ROC values, to give a sense of scale. Raw ROC values don't give you that context and you can only compare visually, usually limited to the number of bars you can see on your screen.
Using a percentile ranking gives us the context of current Rate of Change relative to the previous Rate of Change over a large lookback period, and not just visually but mathematically.
Why not using a long stochastic ROC? The problem with stochastics in general is that an outlier data point can ruin the data for the rest of the lookback period.
For example, imagine a huge outlier 8% ROC. The 2nd largest ROC is 4% and the 3rd largest is 2%, with all other values below this.
In this example, a stochastic ROC would display the 8% outlier as 100, the 4% as 50, the 2% as 25 and all other data would be squeezed down between 0-25.
Additionally, a value of 60 may have vastly different meaning depending on whether the lookback period contains a large outlier or not.
With a percentile ranking, that 8% outlier would still have a value of 100. But the 4% and 2% would be 99 and 98 respectively (this assumes 100 data points in the series, in reality values will usually be decimals).
This effectively flattens the curve and gives a more consistent and dependable experience, allowing you to more accurately assess the relative importance of the current ROC.
The line of circles is set at the 50 and -50 values for quick comparison.
Values > 50 represent ROC greater than 50% of previous positive ROC values.
Values < -50 represent ROC greater than 50% of previous negative ROC values.
Percent Rank (ValueRay)The Percent Rank is naturally quite choppy. I therefor placed an EMA(3) over it and make the origin Percent Rank only slightly visible. I also add some boundaries.
Note that the EMA of the Percent Rank looks quite similiar to the Connors RSI.
Use it as the RSI.
Rate Of Change ATRThis is a very basic, but powerful script.
It gives you the ratio between the rate of change of the last x days and the average true range of the last y days.
---> ROC-ATR Ratio = ROC/ATR
Therefore, you can see how much the price has moved relative to the prices in the past.
This is important because (in my opinion) the basic ROC indicator is not very meaningful if you don't look at the average volatility of recent history.
For example, a ROC of 5% over the last 3 days might be very high for Forex but very small for some crypto.
Consequently, this indicator makes it possible to compare (and be used on) every instrument in every industry the same way.
Generally speaking, it makes more sense if the ATR length is larger than the ROC length.
Roc Mean Reversion (ValueRay)This Indicator shows the Absolute Rate of Change in correlation to its Moving Average.
Values over 3 (gray dotted line) can savely be considered as a breakout; values over 4.5 got a high mean-reverting chance (red dotted line).
This Indicator can be used in all timeframes, however, i recommend to use it <30m, when you want search for meaningful Mean-Reverting Signals.
Please like, share and subscribe. With your love, im encouraged to write and publish more Indicators.
% Divergence of RSIA simple script that plots the difference between the %ROC of price vs the %ROC of RSI, AKA the % of divergence. A simple way to analyze how strong a potential divergence is. Top reversals are above 0, bottom reversals are below. A value of 0 means price and RSI are changing by the same % value. So, if oscillator is moving up as price moves up, it means divergence is increasing. If oscillator moves down as price moves up, it means divergence is decreasing.
ROC Between SymbolsThis script is a simple Rate Of Change (ROC) closing price comparison between a "compare" symbol and a "base" symbol over a user-specified period (maximum 200).
When the ROC is greater than zero, >0 (positive), the compare symbol is increasing faster than the base symbol -- the compare symbol has positive comparative momentum. Of course, your compare symbol could be flat and your base symbol could be decreasing, but math-wise these scenarios are equivalent and the compare symbol has positive comparative momentum.
When the ROC is less than zero, <0 (negative), the compare symbol has negative comparative momentum. Again, the base symbol could be increasing and the compare symbol could be flat, but math-wise this is the same scenario and the compare symbol has negative comparative momentum.
This ROC comparison tactic was documented and described on YouTube channel "Figuring Out Money" in an interesting study between Bitcoin and Gold prices on a weekly timeframe.
Rate Of Change Bands [CC]The Rate Of Change Bands were created by Vitali Apirine (Stocks and Commodities March 2021 pg 14) and this indicator is a great method to not only check the momentum but also check the trend strength as well. I have color coded the lines so buy when the line turns green and sell when it turns red.
Let me know if there are any other indicators you want me to publish!
[Lixx] MESA(EMA/SMA) and ROC(ROC/MESA) Take Profit TriggersThis script uses the MESA EMA and SMA as well as the ROC/MESA cross to help find the take profit areas when trading divergences using market cipher or wavetrend. It is inspired by jordanfungs MESA indicator, however this one is different because it is not lagging in the signals.
Hope you enjoy it, and make sure to backtest any strategy before you use it.
RedK_Relative (Dual) Rate Of Change v1 - RROC v1Quick Summary
==============
The Relative Rate of Change (RRoC) is an expanded version of the classic Rate of Change (RoC) indicator - we apply couple of changes to bring additional insights and signals from that classic Technical Analysis concept - which can help us better visualize the "relative speed of change" of a stock (or whatever we trade), and can work specifically as a "breakout finder" .. please read on if this can be valuable to your trading.
First, a quick review of what is the classic Rate of Change (RoC) - The below part is from Investopedia definition of RoC
-----------------------------------------------------------------------------------
www.investopedia.com
What is Rate of Change (ROC)
The rate of change (ROC) is the speed at which a variable changes over a specific period of time.
ROC is often used when speaking about momentum, and it can generally be expressed as a ratio between a change in one variable relative to a corresponding change in another; graphically, the rate of change is represented by the slope of a line.
Understanding Rate of Change (ROC)
Rate of change is used to mathematically describe the percentage change in value over a defined period of time, and it represents the momentum of a variable .
The calculation for ROC is simple in that it takes the current value of a stock or index and divides it by the value from an earlier period.
Subtract one and multiply the resulting number by 100 to give it a percentage representation.
ROC = (current value / previous value - 1) * 100
-------------------------------------------------------------------------------------------------
What changes did we make to the RoC?
====================================
(1) - Per the official definition, the original RoC should provide a "rate of change" - i.e., we should say "the 5-bar average price change for AAPL is x% per bar" - now norice that the formula doesn't divide by the number of bars (length) -- so the reality is, the results is more of "the 5-bar price change for apple is x% for the full 5 bar length"
- what is wrong with that ? nothing really, but it's harder to use that number to set my trade target or exit. i need the indicator to give me a number that represents the "average change per bar" so i can use it to "design my trade target and my exit loss" -- so in the RRoC, we divide the change by the number of bars used in the settings
The updated formula would be : RoC = (current value / previous value -1 ) * 100 / length
(2) - Dual Length: we make the RoC relative, by adding a longer (or slow) RoC
- the idea here is simple - imagine you're driving your car beside a moving train, your car will not "breakout" from the train until your speed (= distance gain per unit of time) is faster than the train - so in reality, your baseline is not 0 speed, it's the speed of that train your racing against -- makes sense?
- so we add a second length that can act as a baseline - when the Fast RoC exceeds the Slow RoC (your car is faster than the train), a breakout would possibly occur - that breakout may fail (if something interrupts it - my car may breakdown if it can't handle the faster speed :) ) or it can fully materialize if the "context" is favorable.
as we can see on the above chart, we can use the RRoC to identify an incoming possible breakout using that simple "relative speed" concept - and that setup happened not once but twice in our example
the interpretation of this for AAPL would be (for example): "AAPL has been making an average change of 0.22% in the past 20 days, but for the last 5 days, the average change was 0.35% - so it looks like AAPL is gaining short term momentum and may break-out soon"
(3) this is another strong feature: Use for broader context:
- we can set the RRoC for a resolution of - for example - a day, while we look at the 1 hour chart - giving us the ability to trade on a smaller timeframe in the context of a larger timeframe .. this is more of an advanced feature but i hope some will be able to leverage it.
Here's a side-by-side comparison of RRoC vs the classic (built-in) RoC indicator
Conclusion:
============
- The (Relative Rate of Change) RRoC expands on the concepts presented by the classic Rate of Change (RoC) indicator and enables additional insights - especially around the discovery of potential price breakout
- leverage the RRoC indicator settings to tweak it to how your trade (fast length, slow length, resolution, smoothing). the defaults should work for any instrument but may not necessarily be the optimal settings
- use in conjunction with other indicators that can show trend and prevailing sentiment / context - to ensure you get proper confirmation and please get very familiar with how the RRoC works before you use it for live trading.
Comments are welcome - Best of luck
-
Roc & Atr
Roc & Atr Orders
My indicator, where I compare the 20 bar change percentage with the 14 bar atr band, I hope it will be useful to everyone. the green zones can be interpreted as BUY and the red zone as SELL zone. In graphs with high motion and low atr, the channel narrowing can be interpreted as BUY and the channel opening as SELL.
No indicator shows you the right way ... The best way is your own thoughts
True Strength Index (TSI)User request. A tuned version of the built-in True Strength Index (TSI) indicator with the following options included:
TSI - Signal Histogram
TSI/Signal Crossovers
TSI/Signal Ribbon
Bands breakouts highlighting
Zero line crossovers background
RS.ROC | Relative Strength - Rate of Changes - 4CR CUPFor completeness of Relative Strength studies, the Relative Strength based on rate of changes (ROC) with weighting is coded and presented as well.
The RS.ROC is similar to the formulation of RS by IBD before rank among all the stocks in the market.
The lookback period is relaxed for customizing. Once you set the total lookback period, representing the 4Q, in the indicator, the other shorter lookback periods will be auto-calculated, namely, 1Q, 2Q, 3Q.
A simple moving average of the RS.ROC is also added for your easier analysis on the trend development of the strength.
To use it later at your charting later,
1. Favorite it;
2. Select from your favorite list.
MA Streak Change ChannelChange Channel is like KC unless it uses percentage changes in price to set channel distance. Midline is zero-lag smoothed ROC with dynamic period based on MA Streak indicator, if MA Streak shows an ongoing trend, midline going strong and break out the channel.
Consider using ▲ green areas as a signal to buy and ▼ red areas as a sell signal. It works best in a flat market. Use in combination with other indicators.
Cyber MomentumThis oscillator is the combination of different settings RSI , RSX , STOCHRSI , MSI ,... in a Stochastic function that can help traders to understand the weakness and strength of momentum in candle sticks in different time frames.
This oscillator organized by three Line , control zone and Divergence Line
1:) Fast Line
2:) Slow Line
3:) Heavy Line
4:) Neutral Zone between Fibo 38.2% & 61.8%
5:) Bullish Control Zone
6:) Bearish Control Zone
7:) Divergence Line
And there are two theories of finding tradable signals behind those parts .
The first and the most simplest theory is the situation that the Fast Line has the possibility to be supported by Slow or Heavy Lines and basically reverse its slope !!
But there are some rules and notes for this theory ... First of all the accuracy and rate of that is variable in three main categories of situation
1:) with or without price action reversal structure like reversal pattern (Head&Shoulder , Quasimodo , .... )
2:) with or without regular divergence
3:) in which control zone ?
So basically the most powerful setup occurs when price action is already in the reversal structure and the potential to have at least one drive of regular divergence exist and also the Fast Line is in the opposite control zone of the current time frame trend .... so obviously if one of those rules will not be satisfied so the signal will be the less value
The second theory is the signals that occur after the reversal, obviously a sign of trend continuation. there are two type of that you can use with this oscillator
The first one happens when price reverses its trend and this oscillator is moving to the neutral zone ... so if at least one drive of hidden divergence exist the neutral zone will have good possibility to reverse the slope of the oscillator obviously this would happen usually after hidden divergence confirmed .
and the second one is basically the first type but after the reversal Subsequently in the outside of the bullish/bearish control zone ... those kinds of signals are NOT the reversal potency signal at all !! they designed for trend continuation... be careful of them and try trade with your old friend trend ! .... also The existence of hidden divergences will be better for trade in this kind of signals .
The idea of this oscillator was inspired by @mrhashem Borjas Tarh Momentum.