Q - R
Last updated
Last updated
Disclaimer: The information provided on this page is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security. Please see our Risk Disclosure and Performance Disclaimer Statement.
How to access the studies in MotiveWave:
Go to the top menu, choose Study>Study Group>Study Name
or Go to the top menu, choose Study>All Studies> Start typing in the study name until you see it appear in the list> Click on the study name> Click OK.
The QStick was authored by Tushar Chande. It identifies trends by plotting an N-period moving average of the differences between the opening and closing prices. Values greater than 0 indicate the majority of the last ‘N’ days have been up (buying pressure is increasing). The user may change the method (SMA) and period length. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using QStick
No trading signals are calculated for this indicator.
//method = moving average (ma), user defined, default is SMA //period = user defined, default is 20 //diff = difference, index = current bar number
Rahul Mohindar Oscillator (RMO) is a technical analysis tool developed by Rahul Mohindar to determine trend movements and entry and exit points. RMO is often used with the OHLC charts. There are a few components of RMO that are shown in MotiveWave™: the instrument chart (with buy/sell markers), the RMO chart (for identifying long-term trends), and Swing trade lines 2 and 3's crossovers in the RMO chart (for identifying short-term trends and trading signals).
Traders can use the RMO chart to identify major trend directions. Bullish and bearish trends can be recognized when price movements cross above and below the zero line. The buy and sell signals are generated according to the price actions shown in the RMO. Traders should take caution when following the signals in the instrument chart, as the signals might not reflect accurate trading signals and need to be used in conjunction with the RMO.
For short-term trends, users can enable Swing Trade 2, a medium-term line, and Swing Trade 3, a long-term line. The short-term signals can be identified through the crossovers between these two Swing Trade lines.
How to trade using Rahul Mohindar Oscillator (RMO)
The zero line acts as a reference line for buy/sell signs. Movement above the zero line indicates a buy signal, as it presents a bullish trend, in the long term. Meanwhile, movement below the zero line suggests a sell opportunity, as it shows a bearish trend, in the long term. While the buy and sell signals are displayed on the instrument charts, only specific signals should be considered. Only the buy signals that are in a bullish trend ( above the zero line in the RMO chart) are valid, and only the sell signals that are in a bearish trend (below the zero line in the RMO chart) should be taken into account.
The RMO can also suggest short-term trading opportunities using the Swing Trade lines. If the Swing Trade 2 line (medium term) is above the Swing Trade 3 line (long term), and their crossover is on a bullish trend, it indicates a buying opportunity in the short term. Conversely, when the Swing Trade 2 line is below the Swing Trade 3 line, and their crossover point is on a bearish trend, it suggests an opportunity to sell, in the short term.
Rainbow A was authored by Mel Widner in the Stocks and Commodities Magazine 07/1997. It is a colorful display of two smoothed moving averages. A moving average is considered a trend indicator. The user may change the input (close), method (SMA), period length and colors. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using Rainbow A
Rainbow A may be used as a trend indicator in conjunction with other studies. No trading signals are given.
Calculation
//input = price, user defined, default is close //method = moving average = ma, user defined, default is SMA //period = user defined, default is 2
Rainbow B was authored by Mel Widner in the Stocks and Commodities Magazine 07/1997. It is a colorful display of six smoothed moving averages. A moving average is considered a trend indicator. The user may change the input (close), method (SMA), period length and colors. This indicator’s definition is further expressed in the condensed code given in the calculation below
How To Trade Using Rainbow B
Rainbow B may be used as a trend indicator in conjunction with other studies. No trading signals are given.
Calculation
//input = price, user defined, default is close //method = moving average = ma, user defined, default is SMA //period = user defined, default is 2
Rainbow C was authored by Mel Widner in the Stocks and Commodities Magazine 07/1997. It is a colorful display of ten smoothed moving averages. A moving average is considered a trend indicator. The user may change the input (close), method (SMA), period length and colors. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using Rainbow C
Rainbow C may be used as a trend indicator in conjunction with other studies. No trading signals are given.
Calculation
//input = price, user defined, default is close //method = moving average = ma, user defined, default is SMA //period = user defined, default is 2
Rainbow Oscillator by Mel Widner, Stocks and Commodities Mag. 07/1997, is a trend-changing indicator. The user may change the input (close), period length and level number. This indicator’s complex definition is expressed in the condensed code given in the calculation below.
How To Trade Using Rainbow Oscillator
No trading signals are given for this indicator.
Calculation
//input = price, user defined, default is closing price //period = user defined, default is 10 //levels = user defined, default is 2 //index = current bar number
The Rate of Change (ROC) is an oscillator that compares the current closing price with the closing price N periods ago. The result is a line that oscillates above and below zero. The second line is an exponential moving average of the first line. The user may change only the period length. This indicator’s definition is further expressed in the condensed code given in the calculation below
Click here for more information.
How To Trade Using Rate Of Change
Adjust the top and bottom guides to control the quantity and quality of the trading signals. If the ROC crosses above the SIG a sell signal will be generated, Conversely, if the ROC crosses below the SIG a buy signal will be given.
Calculation
//period = user defined, default is 12 //period = user defined, default is 20 //method = moving average (ma), user defined, default is EMA //roc = rate of change //index = current bar number
The Rate Of Change From Start (ROCFS) was authored by Omega Research, 1996. The ROCFS uses the first price and the current price to create its value. The user may change only the input (close). This indicator’s definition is further expressed in the condensed code given in the calculation below.
No trading signals are calculated for this indicator.
Calculation
//input = price, user defined, default is closing price //index = current bar number
The author of the Relative Momentum Alternative Index (RMAIX) is unknown. The RMAIX uses momentum and feedback to create its oscillator value. Adjustable guides are given to fine-tune the signals. The user may change the input (close), method (SMA), period lengths and guide values. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using Relative Momentum Alternative Index
Adjust the top and bottom guides to control the quantity and quality of the trading signals. RMAIX values above 70 to 90 are considered to be overbought and therefore offer an opportunity to sell. DSS values below 30 to 10 are considered oversold and present an opportunity to buy. If the RMAIX peaks above the top guide a sell signal will be generated. Conversely, if the RMAIX troughs below the bottom guide a buy signal will be given. The 50 line divides the bulls above from the bears below.
Calculation
//input = price, user defined, default is closing price //method = moving average (ma), user defined, default is SMA //period = user defined, default is 14 //lookBack = user defined, default is 10 //diff = difference, prev = previous //avg = average, index = current bar number
The Relative Momentum Index was developed by Roger Altman. This index uses momentum and feedback and is somewhat similar to the Relative Strength Index. The user may change the input (close) and period length. This indicator’s definition is further expressed in the condensed code given in the calculation below.
The Relative Momentum Index may be used in conjunction with other studies. No trading signals are given for this indicator.
//input = price (user defined, default is closing price) //period = user defined, default is 20 //prev =previous, index = current bar number //LOE = less or equal, MOE = more or equal
The Relative Vigor Index (RVI) assumes the premise that, in a bull market the closing price is typically above the opening price and vice versa for a bear market. Therefore the vigor (or energy) of the move is established by, where the prices end up at the close. The formula for the RVI = SMA((CLOSE-OPEN)/(HIGH-LOW)). The user may change the period lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.
If the RVI crosses above the SIG a sell signal will be generated, Conversely, if the RVI crosses below the SIG a buy signal will be given.
//period = user defined, default is 10 //period = user defined, default is 4 //sma = simple moving average //wma = weighted moving average //index = current bar number
The Relative Strength Index (RSI) was authored by Welles Wilder. RSI is a Momentum Oscillator that measures the velocity and magnitude of directional price movement by comparing upward and downward movements. Different versions of the RSI exist. The differences are mainly with the Moving Average method used. Wilder used a Smoothed Moving Average (SMMA), others used EMA or SMA (Cutler's version). RSI is a popular indicator that helps in identifying overbought and oversold conditions, as well as trading opportunities. The user may change the input (close), method (SMMA), period length and guide values.
Click here for more information.
How To Trade Using the RSI
Adjust the top and bottom guides to control the quantity and quality of the trading signals. If the RSI crosses above the top guide (above 70), an overbought fill will be generated, and therefore offer an opportunity to sell. Conversely, if the RSI crosses below the bottom guide (below 30), it is considered oversold and present an opportunity to buy. The 50 line divides the bulls above from the bears below.
The RSI can also be used to recognize divergence, thus potential reversals. When the price makes lower lows but the RSI presents higher lows, it indicates a potential reversal to uptrend. When the price makes higher highs but the RSI shows lower highs, it suggests a possible downtrend reversal.
RSI might be used in conjunction with other technical analyses to confirm trends, signals or market volatility , such as moving averages - MACD, EMA, SMA or Stochastic Oscillator.
Calculation
RSI’s definition is further expressed in the condensed code given in the calculation below.
//input = price, user defined, default is closing price //method = moving average (ma), user defined, default is SMMA //period = user defined, default is 14 //index = current bar number
The Relative Volatility Index (RVI) by Donald Dorsey is a confirming indicator that measures the direction of volatility. The RVI is similar to the Relative Strength Index (RSI) except instead of daily price change standard deviation is used. Adjustable guides are given to fine-tune the trading signals. The user may change the input (close), method (SMMA), period lengths and guide values. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using the Relative Volatility Index
Adjust the top and bottom guides to control the quantity and quality of the trading signals. RVI values above 70 to 80 are considered to be overbought and therefore offer an opportunity to sell. RVI values below 30 to 20 are considered oversold and present an opportunity to buy. In addition to the guides, if the RVI peaks while above the top guide, a sell signal will be generated. Conversely, if the RVI troughs below the bottom guide, a buy signal will be given. The 50 line divides the bulls (above) from the bears (below).
//input = price, user defined, default is closing price //method = moving average, user defined, default is SMMA //smoothPeriod = user defined, default is 14 //sdPeriod = user defined, default is 10 //method = moving average, user defined, default is SMMA //standDev = standard deviation //diff = difference //MT = more than //LT = less than //ma = moving average, index = current bar number
Relative Volume (RVOL) compares the volume of the current bar to the average volume of the bars that occurred at the same time on the previous days. This study only works on linear intraday bars. The formula of RVOL is RVOL = Current Volume ÷ Average Volume (in ratio, over a specific time). If the ratio is higher than 1, it indicates the current volume is higher than the average one, over the chosen time, and conversely. A high RVOL indicates a strong price movement or a larger amount of trading activity. Therefore, the higher the RVOL, the better the market to trade in. In contrast, if the RVOL is lower than 1, it suggests that price movements or potential reversals.
How to trade using Relative Volume
Relative Volume helps traders gauge the price trends over a chosen time. A high RVOL reflects market stability while a low RVOL indicates a potential reversal.
The Cumulative RVOL line is included for more information about trend strength and direction.
RSI Bars changes the color of the price bars if the Relative Strength Index (RSI) is above or below a certain value. The RSI was authored by Welles Wilder. RSI is a momentum oscillator that measures the velocity and magnitude of directional price movement by comparing upward and downward movements. The user may change the input (close), method (SMMA), period length and top-bottom values. This indicator’s definition is further expressed in the condensed code given in the calculation below.
Click here for more information.
How To Trade Using RSI Bars
RSI Bars. RSI values below 30 are considered oversold and present an opportunity to buy. If the RSI crosses above the (user-defined) top value a sell signal will be generated. Conversely, if the RSI crosses below the bottom (user-defined) value a buy signal will be given.
Calculation
//input = price, user defined, default is closing price //method = moving average (ma), user defined, default is SMMA //period = user defined, default is 14 //top = user defined, default is 70 //bottom = user defined, default is 30 //MT = more than, LT = less than //index = current bar number
R Squared is part of Standard Error Bands by Jon Anderson, Stocks and Commodities Mag. 09/1996. This study should be used with Standard Error PercentA, Linear Regression Slope and Bollinger Bands®. The user may change the input (close) and period lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using R Squared
Click here for trading information.
//input = price, user defined, default is close //period1 = user defined, default is 21 //period2 = user defined, default is 3 //index = current bar number
The Relative Strength Index (RSI) itself, was authored by J Welles Wilder in 1978. It is a momentum oscillator that measures the velocity and magnitude of the directional price by comparing upward and downward movements. The RSI Divergence refers to the direction of the RSI in relation to the direction of the price. The RSI Divergence will change the price bar color depending upon the type of divergence. Two types of divergence are possible. If the RSI is increasing and the price is decreasing a bullish divergence is occurring. Conversely, if the RSI is decreasing and the price is increasing a bearish divergence is under way. Several options are allowed, including a trend method to smooth the price bar values. A high-low option is also given; it allows the trend to be determined from higher highs and lower lows (as opposed to higher and lower closes, for example). Adjustable guides are also provided to fine-tune the trading signals. The user may change the RSI input (close), RSI period, RSI method (EMA), trend input (close), trend period, trend method option, method (SMA) and guide values. This indicator’s definition is further expressed in the condensed code given in the calculation below.
Click here for more information on the RSI.
Adjust the top and bottom guides to control the quantity and quality of the trading signals. RSI values above 70 are considered overbought and therefore offer an opportunity to sell. RSI values below 30 are considered oversold and present an opportunity to buy. If a bullish divergence is occurring; and the RSI is below the bottom guide, a buy signal will be generated. Conversely, if a bearish divergence is underway; and the RSI is above the top guide, a sell signal will be given.
Calculation
//RSI input=price, user defined, default is closing price //RSI Period = user defined, default is 14 //RSI Method = moving average, user defined, default is EMA //Trend input=price, user defined, default is closing price //Trend Period = user defined, default is 4 //Use Trend Method = user defined, default is false //Trend Method = moving average, user defined, default is SMA
The Reversing MACD (RMACD) was authored by Johnny Dough in the Stocks And Commodities Magazine, January 2012. The MACD itself, the difference of 2 Exponential Moving Averages (EMAs), is a momentum Oscillator authored by Gerald Appel. The RMACD is a reverse engineering of the popular MACD Oscillator. That is, it calculates the price that will cause the MACD to be at a certain value. Three paths, MACD=0, MACD=previous MACD and a signal line (EMA of plot 2) are given. The MACD Indicator is also plotted on a separate graph. The user may change the input (close), method for Moving Average (EMA) and period lengths. This indicator’s definition is further expressed in the condensed code given in the calculation below.
Click here for more information on the MACD
The Reversing MACD may be used in conjunction with other indicators. No trading signals are calculated with this indicator.
//input = price, user defined, default is close //method = moving average, user defined, default is EMA //period1 = user defined, default is 12 //period2 = user defined, default is 26 //signalPeriod = user defined, default is 9 //index = current bar number