RSI SMA Crossover StrategyOverview
RSI SMA Crossover Strategy works the same way as traditional MA crossover strategies, but using RSI instead of price. When RSI crosses over the SMA, a long position is opened (buy). When RSI crosses under the SMA, the long position is closed (sell).
This strategy can be very effective when the right inputs are used (see below). Be sure to use the backtesting tool to determine the optimal parameters for a given asset/timeframe.
Inputs/Parameters
RSI Length: length for RSI calculation (default = 50)
SMA Length: length for SMA calculation (default = 25)
Strategy Properties
Initial Capital = $1000
No default properties are defined for Slippage, Commission, etc, so be sure to set these values to get accurate backtesting results. This script is being published open-source for a reason - save yourself a copy and adjust the settings as you like!
Backtesting Results
Testing on Bitcoin (all time index) 1D chart, with all default parameters.
$1,000 initial investment on 10/07/2010 turns into almost $2.5 billion as of 08/30/2022 (compared to $334 million if the initial investment was held over the same period)
Remember, results can vary greatly based on the variables mentioned above, so always be sure to backtest.
Relative Strength Index (RSI)
RSI ModifiedThe RSI is an excellent indicator for determining when equities are overbought/oversold. Though I believe there is a shortcoming in using the 70/30 levels since they are static and do not adjust for when an equity is trending. It stands to reason that in a downtrend, the overbought might be less than 70 and the oversold less than 30—Vice versa for a bull trend. Using the built-in function of pivots, I have attempted to create overbought/oversold lines that adjust with the trend. Leaving the 70/30 lines on the indicator also helps visualize the equity trend. All pivot settings are adjustable in the input menu. The pivot limits serve as a filter for recording pivot points. For example, with an upper pivot limit of 60, only pivots greater than 60 will be recorded into the array used to determine overbought. The crosses represent which values are used to determine overbought/oversold and do not provide timely indications.
Visual RSI {bebaps}Visual RSI
This script provides a visual way to view RSI data. Sometimes it may be useful to view RSI data on the price chart instead of in a separate pane. This script enables the following configurable options:
Plot shapes on the chart during key RSI events such as: crossing above or below the overbought or oversold level
Color bars based upon the current value of the RSI, such as: RSI currently oversold, or RSI currently between overbought and 50
All options are configurable. This is not meant to serve as a replacement for having the RSI on your chart, but it will make it easier to highlight key data points in real time.
smoothed_rsi
Description:
A well-known and vastly used momentum indicator, a Relative Strength Index (RSI) by J. Welles Wilder Jr., aims to evaluate the current price to its oversold/overbought area while giving an overview of bearish/bullish momentum. In this indicator, simply adding the super-smoother function (John F. Ehlers) was applied to the RSI line to create a more smoothed line and reduce its noise.
RSI:
RSI = 100 - 100/(1+RS)
RS = AvgUp/AvgDown
super_smoother(rsi)
Notes:
RSI > 70 indicates overbought
RSI < 30 indicates oversold
direction of the RSI line
Juirk-Filtered QQE Histogram [Loxx]Juirk-Filtered QQE Histogram is a QQE indicator with 7 different RSI types, Jurik-Filtering with the option of double filtering. 2 types of signals, and Loxx's Expanded Source types. These additions are useful to filter out noise.
What is Qualitative Quantitative Estimation (QQE)?
The Qualitative Quantitative Estimation (QQE) indicator works like a smoother version of the popular Relative Strength Index ( RSI ) indicator. QQE expands on RSI by adding two volatility based trailing stop lines. These trailing stop lines are composed of a fast and a slow moving Average True Range (ATR).
There are many indicators for many purposes. Some of them are complex and some are comparatively easy to handle. The QQE indicator is a really useful analytical tool and one of the most accurate indicators. It offers numerous strategies for using the buy and sell signals. Essentially, it can help detect trend reversal and enter the trade at the most optimal positions.
What is Jurik Volty used in the Juirk Filter?
One of the lesser known qualities of Juirk smoothing is that the Jurik smoothing process is adaptive. "Jurik Volty" (a sort of market volatility ) is what makes Jurik smoothing adaptive. The Jurik Volty calculation can be used as both a standalone indicator and to smooth other indicators that you wish to make adaptive.
What is the Jurik Moving Average?
Have you noticed how moving averages add some lag (delay) to your signals? ... especially when price gaps up or down in a big move, and you are waiting for your moving average to catch up? Wait no more! JMA eliminates this problem forever and gives you the best of both worlds: low lag and smooth lines.
Ideally, you would like a filtered signal to be both smooth and lag-free. Lag causes delays in your trades, and increasing lag in your indicators typically result in lower profits. In other words, late comers get what's left on the table after the feast has already begun.
Included:
Loxx's Expanded Source Types
Alerts
Signals
Bar coloring
Included Libraries
Loxx's Variety RSI
Loxx's Jurik Tools
Loxx's Expanded Source Types
Related indicators:
Natural Market Mirror (NMM) and NMAs w/ Dynamic Zones
RSI/RSX QQE Histogram w/ Discontinued Signal Line
Jurik CFB Adaptive QQE
Adaptive Qualitative Quantitative Estimation (QQE)
Bitfinex Shorts StratOverview
This strat applies the data from BITFINEX:USDSHORTS to the RSI indicator in order to provide SHORT/LONG entries as the number of contracts goes up and down. Although Bitfinex has lost relevance over the years its generally considered an exchange dominated by smart money rather than retail. I'd like to see if any insights can be gained by following their trading behaviour.
How to use
Select the underlying security you wish to trade and load the indicator. Select the appropriate short security by searching in the Bitfinex Short Symbol. RSI settings apply to short symbol not the actual asset. Strategy shorts the underlying asset when shorts rise and longs when they drop. The shorts symbol will follow the value of the loaded chart. Works best on 4 hour chart.
Why use shorts only rather than both long/shorts?
Bitfinex longs seem to be on a long-term uptrend accounting for 25x the number of shorts. Might be enormous confidence on part of the whales, but more likely reflects selling spot and buying perp. Given the size disparity and price action I don't think longs info is adding much.
Problems with script:
a) We don't really know the intentions of short players (e.g. speculation or hedging spot)
b) The script uses a decline in shorts as a long signal
c) RSI is a blunt tool there are probably better options for calculating high/lows in shorts
d) Shorts are accumulated both at highs and also when BTC price is already heavily trending down. This suggests some are speculative (at the highs) or protective/hedging during a decline
Takeaways:
Based on this strat Bitfinex whales are more wrong than right.
Results don't carry across well into altcoins using the accompanying short symbol. However, what is interesting is that applying the BITFINEX:BTCUSDSHORTS to altcoin charts does work pretty well.
Strat needs some refinement to control for entries under different circumstances.
Probably not a great idea to use this as a strategy in isolation, but highlights how Bitfinex whale behaviour is a good gauge to follow.
Crypto Force IndexIntroduction
The Crypto Force Index (CFI) indicator helps us understand the current strength and weakness of the price. It is very useful when used on high timeframes for investment purposes and not for short term trading.
To determine the strength and weakness of the price, a level grid based on the RSI indicator is used.
Based on the RSI value, red circles (oversold condition) and green circles (overbought condition) appear under the price candles. The more intense the color of the circles, the more that the current price is in an overbought or oversold condition.
The signal levels are all configurable to adapt the indicator across multiple instruments and markets.
The default configuration have been designed to obtain more accurate signals on Ethereum and Bitcoin, using the weekly timeframe.
Why Crypto Force Index?
The Crypto Force Index (CFI) is the consequence of my study of investments based on the accumulation plan. I wanted to demonstrate that I am improving the returns of the classic DCA ( dollar cost averaging ) and VA ( value averaging ).
After finding my own model of an accumulation plan, I decided to create the Crypto Force Index to help me visually enter the market.
The formulas of the indicator are very simple, but my studies confirm the power of this tool.
How are the signals to be interpreted?
The Crypto Force Index helps us to highlight the overbought and oversold areas, with the use of circles under the price of candles and with a thermometer inserted at the base of the graph, where all the phases of strength and weakness are highlighted.
As soon as the red circles start to appear on the chart, that may be a good time to enter LONG to the market and start accumulating. If the circles are green, we can consider decreasing the current exposure by selling part of your portfolio, or decide to stay flat.
I personally use these signals on the weekly timeframe, to decide to feed my accumulation plan at the beginning of each month.
I hope it can be of help to you! Please help me improve the Crypto Force Index! :)
RSI based support resistance levelsThis indicator draws support line and resistance lines in the price chart.
How ?
For drawing the support/resistance line we need to first determine the demand and supply.
We are using too-familiar indicator RSI to determine when the script is oversold and overbought.
Now oversold (in RSI) is not a point, it’s a zone. The RSI indicator comes below 30, stays there and goes up above 30. Similarly for overbought.
Now if you carefully look at the oversold region – the lowest point of the oversold region is the place where the demand came (for surety) and push the indicator (and price) up.
Similarly: the highest point of overbought is the place where (for surety) the supply came and push the indicator (and price) down.
So that’ the supply / demand line (for surety).
In this indicator, based on the RSI we are just drawing support and resistance lines in the chat. That’s all.
What is unique ?
Trendline concept is not new. RSI is not new. RSI overbought/oversold is not new.
There are indicators exist to draw trendlines. Some of them works beautifully.
However, none of these, we are aware of, uses RSI to determine it. And, we believe, the most logical way to determine support/resistance is RSI.
Note: We are not responsible for any trading/investment decision you are taking out of the outcome of this indicator.
Simple Buy Sell SignalsIt is a simple indicator that provides buy or sell signals based on the intersection of two EMAs and a simple moving average (SMA). once the Relative Strength Index has confirmed it. For greater accuracy, add additional indicators like stochastic RSI, MACD, etc. Use only for intraday trading, Not for Positional Trading
RSI OS/OS Levels MTFThis plots the overbought and oversold (70 and 30) levels from RSI on price, there are often levels where a market will bounce or retrace/reverse.
By default it shows 15 min, 60 min and 4 hour levels but I intend to make these configurable along with some other stuff. For now it works how I use it, nice and simple
Range Strat - MACD/RSIThis strategy uses a trend based indicator (MACD) for entry/exit signals with a momentum oscillator (RSI) to act as confirmation. Although relying on a trend based indicator this has been created for range bound crypto markets, which have been in a period of chop since June 2022.
Long/Short signals are generated from MACD with the RSI oscillator thresholds suppressing entries at price extremes. This is not a mean reversion RSI strategy! As the indicators are contrary to each other you will need to be generous with the RSI settings in order for signals to trigger.
Strategy is designed for use on the 4h timeframe, it may work well on higher timeframes, but lower time frames will lead to false signals. Use fixed percentage of equity for order size to capture the compounding effect. As a reversal strategy bear in mind that should market trend strongly in either direction stops will be required.
The RSI thresholds can be tailored to provide higher frequency or safer signals. Similarly tweaking MACD settings will provide earlier/more frequent or safer signals. As this is intended to enter near range high / low you should check the visual cues to ensure a ping-pong effect is observed, so that peaks and troughs are captured. Once an observable range is established the strategy works well across a range of crypto markets,
The script is open source, so feel free to amend as you wish. Using a different momentum oscillator may provide better results. I have prior coding experience, but first time using PineScript was last night, so it's not very tidy. I will update this with some additional customisation and TP/SL in the near future.
Usage: Range bound markets
Markets: Cryptocurrency Alts/BTC/ETH
Timeframe: 4h
Take Profit On Trend v2 (by BHD_Trade_Bot)The purpose of strategy is to detect long-term uptrend and short-term downtrend so that you can easy to take profit.
The strategy also using BHD unit to detect how big you win and lose, so that you can use this strategy for all coins without worry about it have different percentage of price change.
ENTRY
The buy order is placed on assets that have long-term uptrend and short-term downtrend:
- Long-term uptrend condition: ema200 is going up
- Short-term downtrend condition: 2 last candles are down price (use candlestick for less delay)
CLOSE
The sell order is placed when take profit or stop loss:
- Take profit: price increase 2 BHD unit
- Stop loss: price decrease 3 BHD unit
The strategy use $1000 for initial capital and trading fee is 0.1% for each order.
Pro tip: The 1-hour time frame for ETH/USDT has the best results on average.
RSI TrendRSI Hull Trend is a hybrid indicator with RSI of HULL Signal. The Hull MA is combined with RSI to see if the Hull MA Buy/Sell Signal is in overbought or oversold condition. Buy Sell Signals are plotted based on settings of OB/OS or RSI. This indicator is very useful to see if the Trend is in Exhaustion or Beginning of a Trend. Entry and Exit conditions can be more precise based on OB/OS condition of price action. In addition normal RSI trend is plotted with trend color from Hull MA. Best Performance with Heiken Ashi Candles.
OB/OS Settings provided
Hull Buy/Sell Signals plotted
Double RSI FAST and DEFAULT signal with crossover
Bar Color applied based on Hull RSI Trend
Hull Trend + RSI + Price Action
Triple RSI strategyThis strategy is commonly used both in forex and stock markets for reversal trading. when the rsi line reaches and crosses simultaneously at 3 rsi setups i.e at 7, 14, and 21, a signal is generated.
This strategy works best in 1-hour timeframe. It provides over 60 to 80 percent accuracy in 1-hour timeframe.
In the stock market, this strategy provides an excellent entry point, if one is seeking small profits.
One can expect to make around 10 to 50 pips in the forex market easily. However, I advise seeking support from price action from the lower timeframe in the forex market.
I hope you like it.
Follow for more strategies and scripts like this.
Dr. Mahdi Kazempour - Crypto Trade Dashboard and Indicator PanelA great panel for crypto traders all in one table:
Price, Volume, RSI, MACD, ADI, MOM
1) current symbol
2) BTCUSDT
3) NASDAQ
4) ETHUSDT
5) TOTAL2
BTMM|TDIThis is the trader's dynamic index inspired by Steve Mauro's BTMM strategy.
In addition to the RSI, Trendline, Baseline, Volatility Bands I have also included additional trend biases that are painted in the background to provide more confluence when the markets break out in either direction.
For convenience, a position size calculator is included for all users to quickly calculate lot sizes on forex pairs with difference account balance currencies. The calculator works accurately on forex pairs. DO NOT USE for crypto or indices as some brokers have unique contract sizes that could not be fully incorporated into the tool.
There is also data table that displays historical values of the RSI, Trendline, Baseline, and an EMA vs Price scoring procedure that covers the current candle (t0) and up to 3 candles back. The table is meant to provide a snapshot view of either bullish or bearish dominance that can be deciphered with a quick glance.
Rsi/W%R/Stoch/Mfi: HTF overlay mini-plotsOverlay mini-plots for various indicators. Shows current timeframe; and option to plot 2x higher timeframes (i.e. 15min and 60min on the 5min chart above).
The idea is to de-clutter chart when you just want real-time snippets for an indicator.
Useful for gauging overbought/oversold, across timeframes, at a glance.
~~Indicators~~
~RSI: Relative strength index
~W%R: Williams percent range
~Stochastic
~MFI: Money flow index
~~Inputs~~
~indicator length (NB default is set to 12, NOT the standard 14)
~choose 2x HTFs, show/hide HTF plots
~choose number of bars to show (current timeframe only; HTF plots show only 6 bars)
~horizontal position: offset (bars); shift plots right or left. Can be negative
~vertical position: top/middle/bottom
~other formatting options (color, line thickness, show/hide labels, 70/30 lines, 80/20 lines)
~~tips~~
~should be relatively easy to add further indicators, so long as they are 0-100 based; by editing lines 9 and 11
~change the vertical compression of the plots by playing around with the numbers (+100, -400, etc) in lines 24 and 25
Normalized MACD with RSI [bkeevil]This indicator normalizes the MACD and RSI indicators to a range between -1.0 and 1.0 so they can be displayed together on the same chart to save screen real-estate.
While the MACD is a good indicator to detect trend changes, in some circumstances (such as a sideways range market) it can give false signals. The MACD is more likely to give a false signal when the RSI indicator is close to the centerline than if the RSI is signaling an overbought or oversold condition. Thus the RSI indicator and MACD indicator are commonly used together.
I have included a few features found in other MACD indicators that I have found helpful:
MACD line changes color if it is rising or falling
Dots at the MACD line to signal crossovers
The MACD signal line is hidden it by default as the information it contains is redundant. Hiding the signal line makes the indicator less busy.
Short Term RSI and SMA Percentage ChangeThis strategy utilises common indicators like RSI and moving averages in order to enter and exit trades. The Relative Strength Index (RSI) is a momentum indicator that has a value between 0 and 100, where a value greater than 70 is considered overbought and a value less than 30 is oversold. If the RSI value is above or below these values, then it can signal a possible trend reversal.
The second indicator used in this strategy is the Simple Moving Average (SMA). A SMA is an arithmetic moving average calculated by adding recent prices and then dividing that figure by the number of time periods in the calculation average. For example, one could add the closing price of a coin for a number of time periods and then divide this total by that same number of periods. Short-term averages respond quickly to changes in the price of the underlying coin, while long-term averages are slower to react.
Long/Exit orders are placed when three basic signals are triggered.
Long Position:
RSI is greater than 50
MA9 is greater than MA100
MA9 increases by 6%
Exit Position:
Price increases 5% trailing
Price decreases 5% trailing
The script is backtested from 1 May 2022 and provides good returns.
A trading fee of 0.1% is also taken into account and is aligned to the base fee applied on Binance.
This script also works well on AVAX 45m/1h, MATIC 15m/45m/1h and ETH 4h.
PrevHighLow Trend IndicatorPrevHighLow Trend Indicator which is calculated by using prev lowest and highest of p1 -period and p2 -period for two MAs.
First MA is made of prev highest of p1-period / prev lowest of p1-period.
Second MA is faster, made up of p2(<p1)- period(same formula).
Can be used in the next way: slower MA(straight line) shows main trend, faster shows temporary trend.
BUY, when first MA and second MA are green; Exit: second MA changes from green to red.
SELL, when first MA and second MA are red; Exit: second MA changes from red to green.
RSI Assistant basically filtres signals in the way, when signals from RSI and Faster MA are similar? it signals about it with labels: BUY for long, SELL for short. You can either enable or disable it. Also customizable so you can find your setup. RSI Assistant, depending on you customize it, can help you either follow trend or show reversals. Just find your own setup and watch things happen!
Feel free to leave valuable feedback and your setups which you consider to be good.
Hope you PHLTI usefull. Good luck!
Ultimate RSI - Divergence + S/R + Reverse RSIThis is a modification of the TradingView RSI with some of my favourite RSI features added.
This includes Divergence indicators. EMA with colour change on cross, Support and resistance lines and reverse RSI.
A reverse calc has also been added. This will allow you to input 3 different RSI values for a price prediction. This is good to use with the support and resistance lines and can give you key areas on the chart where the price may bounce/reject.
All colours and modifications can be turned on/off.
Enjoy! :)
PlanB Quant Investing 101 v2This script has been Inspired by PlanB Article Quant Investing 101.
With this script, I implemented Plan B strategy outlined in that article, trying to reproduce his findings independently and allowing TradeView Users to do the same.
PlabB is aware of this effort, and he's positive about it, via Twitter commenting, liking and sharing of this resource .
Trading Idea:
This script uses RSI index to determine the Buy And Sell signal.
As per the original PlanB article:
IF ( RSI was above 90% last six months AND drops below 65%) THEN sell,
IF ( RSI was below 50% last six months AND jumps +2% from the low) THEN buy, ELSE hold
My simple code is aimed at replicating his study in Pine so that every TV user can check his signal.
Multi Type RSI [Misu]█ This Indicator is based on RSI ( Relative Strength Index ) & multiple type of MA (Moving Average) to show different variations of RSI.
The relative strength index (RSI) is a momentum indicator used in technical analysis to evaluate overvalued or undervalued conditions in the price of that security.
█ Usages:
The purpose of this indicator is to obtain the RSI calculated with different MAs modes instead of the classic RMA.
The red and green zones indicate the oversold and overbought zones.
Buy or sell signals are marked by the green and red circles
We have 2 different signal modes : when the different size RSIs cross and when the fast RSI crosses the extreme bands.
Alerts are setup.
█ Parameters:
Lenght RSI: The lenght of the RSI. (14 by default)
RSI MA Type: The type of MA with which the rsi will be calculated. ("SMA", "EMA", "SMMA (RMA)", "WMA", "VWMA")
Fast Lenght MA: The fast lenght smoothing MA.
Slow Lenght MA: The Slow lenght smoothing MA.
Lower Band: The lenght of the lower band. (25 by default)
Upper Band: The lenght of the upper band. (75 by default)
Signal Type: The mode with which buy and sell signals are triggered. ("Cross 2 Mas", "Cross Ma/Bands")