RSI with Self-Adjusting Linear Regression Bands (Expo)RSI with Self-Adjusting Linear Regression Bands (Expo) makes use of RSI and Linear Regression to create an RSI that follows the current trend. The indicator has an upper and lower self-adjusting Linear Regression Band that act as RSI boundaries.
HOW TO USE
The indicator can be used in multiple ways, for instance, to find overbought and oversold areas. Or to identify trends as well as pullbacks in trends.
INDICATOR IN ACTION
This indicator is a modification of RafaelZioni's work "Linear Regression Trend bands"
Credit to: RafaelZioni
I hope you find this indicator useful , and please comment or contact me if you like the script or have any questions/suggestions for future improvements. Thanks!
I will continually work on this indicator, so please share your experience and feedback as it will enable me to make even better improvements. Thanks to everyone that has already contacted me regarding my scripts. Your feedback is valuable for future developments!
-----------------
Disclaimer
Copyright by Zeiierman.
The information contained in my scripts/indicators/ideas does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, or individual’s trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My scripts/indicators/ideas are only for educational purposes!
Oversold
L1 Bottomline Reversal IndicatorLevel: 1
Background
Identify the trend - By filtering the trend, traders can select entry points using overbought and overbought signals In an uptrend, for example, traders filter for oversold signals as “long entry” points that correlate with the direction of the trend.
Function
L1 Bottomline Reversal Indicator utilizes three levels of support moving averages as detector of oversold behavior. Once the close breakout the 3rd level, it indicates bottom line appear and long entry there is commonly safe.
Key Signal
sma13 --> typical price trend
lifeline --> bull life line. if close is above lifeline, it indicates bullish state.
costline --> the 1st level of support which may have rebounce once the price drop on it for the first time.
lowbuy --> the 2nd level of support, which indicates oversold starts.
bottomline --> the 3rd level of support, which indicate extreme oversold, long entry there is safe in common sense.
Pros and Cons
Pros:
1. mid-long term trading guide
2. helpful for large time frame e.g. day or week
Cons:
1. Not so stable for small time frame
2. No exit scheme is disclosed.
Remarks
NA
Readme
In real life, I am a prolific inventor. I have successfully applied for more than 60 international and regional patents in the past 12 years. But in the past two years or so, I have tried to transfer my creativity to the development of trading strategies. Tradingview is the ideal platform for me. I am selecting and contributing some of the hundreds of scripts to publish in Tradingview community. Welcome everyone to interact with me to discuss these interesting pine scripts.
The scripts posted are categorized into 5 levels according to my efforts or manhours put into these works.
Level 1 : interesting script snippets or distinctive improvement from classic indicators or strategy. Level 1 scripts can usually appear in more complex indicators as a function module or element.
Level 2 : composite indicator/strategy. By selecting or combining several independent or dependent functions or sub indicators in proper way, the composite script exhibits a resonance phenomenon which can filter out noise or fake trading signal to enhance trading confidence level.
Level 3 : comprehensive indicator/strategy. They are simple trading systems based on my strategies. They are commonly containing several or all of entry signal, close signal, stop loss, take profit, re-entry, risk management, and position sizing techniques. Even some interesting fundamental and mass psychological aspects are incorporated.
Level 4 : script snippets or functions that do not disclose source code. Interesting element that can reveal market laws and work as raw material for indicators and strategies. If you find Level 1~2 scripts are helpful, Level 4 is a private version that took me far more efforts to develop.
Level 5 : indicator/strategy that do not disclose source code. private version of Level 3 script with my accumulated script processing skills or a large number of custom functions. I had a private function library built in past two years. Level 5 scripts use many of them to achieve private trading strategy.
MTF Stoch RSI ScreenerDisplays when multiple timeframes of Stochastic RSI are overbought/oversold. Multiple consecutive timeframes being overbought/oversold can signify a short term top or bottom.
Thanks to Micse in Pinescripters telegram who helped remove a few errors from this.
Percentage Price Over SMAReturn the percentage of closing prices greater than SMA's with periods within a user-selected range. An exponential moving average applied to these results is also displayed (in orange).
Settings
Min : Minimum period of the SMA in the range
Max : Maximum period of the SMA in the range
Smooth : Period of the EMA
Src : Input series of the indicator
Usage
The indicator is a normalized oscillator. A value of 100 indicates that 100% of the current closing price is over SMA's with periods ranging from min to max , this indicates a bullish market, while a value of 0 would indicate a bearish market.
In this image the indicator use min = 50 and max = 200, here AMD has been strongly bullish at the start, and ended being strongly bearish at the end, during this bullish period the indicator is over its overbought level, while it is under its oversold level during the bearish period.
In case the market is ranging we can expect the indicator to be around 50%, using the smoothed result might be more useful to detect ranging markets with this indicator.
If the smoothed result is within the overbought/oversold levels, then we can say that the market is either ranging or transitioning from a bullish/bearish market to an opposite one.
Hybrid Overbought/Oversold Detector + Put/Call SignalsThere are many indicators of overbought/oversold conditions out there. Some of more common ones are:
- Bollinger Bands %B
- Money Flow Index (MFI)
- Relative Strength Index (RSI)
- Stochastic
This script uses a combination of these 4 oscillators to confirm overbought/oversold and filter the signals of market reverse which could be used for trading binary options.
You may select which oscillators you want to apply and of course change the source, the length of the calculations and the overbought/oversold levels.
Also the script will draw a combined graph which is the average of the selected oscillators in the options.
Send me your ideas!
Price Distance to its MA by DGTPrices high above the moving average (MA) or low below it are likely to be remedied in the future by a reverse price movement as stated in an Article by Denis Alajbeg, Zoran Bubas and Dina Vasic published in International Journal of Economics, Commerce and Management
Here comes a study to indicate the idea of this article, Price Distance to its Moving Averages (P/MA Ratio)
The analysis expressed in the paper indicates that there is a connection between the distance of the prices to moving averages and subsequent returns : portfolios of stocks with lower prices to moving averages generally outperformed portfolios of stocks with higher prices to moving averages. This “overextended” effect is more pronounced when using shorter moving averages of 20 and 50 days, and is especially strong in short-term holding periods like one and two weeks. The highest annual returns are recorded when buying in the range of 0-5% below shorter moving averages of 20/50 days, and 0-10% below longer moving averages of 100/200 days. However, buying very far below almost all moving averages on almost all holding periods produces the lowest returns.
The concept of this study recognizes three different modes of action.
In a clearly established upward trend traders should be buying when prices are near or below the MA line and selling when prices move too far above the MA.
Conversely, in downward trend stocks should be shorted when reaching or going above the moving average and covered when they drop too far below the MA line.
In a sideways movement traders are advised to buy if the price is too low below the moving average and sell when it goes too far above it
Short-term traders can expect to outperform in a one or two week time window if buying stocks with lower prices compared to their 20 and 50 SMA/EMA, one to two-week holding periods is quite high, ranging from 72,09% to 90,61% for the SMA(20, 50) and 85,03% to 87,5% for the EMA(20, 50). The best results for the SMA 20 and 50, on average, are concentrated in the region of 0-5% below the MA for the majority of holding periods. Buying very far below almost all MA in almost all holding periods turns out to be the worst possible option
Candle patterns, momentum could be used in conjunction with this indicator for better results. Try Colored DMI and Ichimoku colored SuperTrend by DGT
RSI Multicolor editableEN:
RSI with overbought and oversold area in color and editable level. visually more interesting than the basic version the overbought and oversold areas catch the eye quickly. Depending on the strategies and your personal use of the RSI, you can modify all the lines and add colors to each defined zone.
overbought zone, oversold and editable noise zone
I wanted to have a modifiable RSI like some trading platforms.
please excuse me for my english and my code, i'm just getting started.
FR:
RSI avec zone de surachat et survente en couleur et niveau éditable. visuellement plus intéressant que la version basique les zones de surachat et survente attirent l’œil rapidement. Selon les stratégies et l'utilisation personnel que vous faite du RSI, vous pouvez modifier toutes les lignes et ajouter des couleurs à chaque zone défini.
zone de surachat, survente et zone de bruit éditable
je souhaitais avoir un RSI modifiable comme certaines plateforme de trading.
veuillez m'excuser pour mon anglais et mon code, je débute.
B3 Stochastic Full w/BarColorNow with Bar Color!
The simplest upgrade to the classic indicator, old script:
B3 Stochastic Full
Also, if you like this one you may appreciate my personally modified take on the stochastic readings:
B3 Extended Stochastics
VWAP Gap [AR]This simple indicator measure the difference between price and VWAP line
The VWAP Gap indicator works best on intraday charts
SET-UP INFO
1. Add VWAP to your chart and set it up
2. Open "VWAP Gap Indicator" settings
3. Change source to "VWAP"
Enjoy!
Alex R.
RSI Call-outs [BigBitsIO]This is a simple RSI indicator that overlays the current chart to show labels for specified oversold and overbought areas defined with inputs.
It will delete any labels of the same kind within the last 3 candles so you don't see as many labels as you would otherwise.
Red labels with white text represent overbought RSI levels as defined by the user.
Green labels with black test represent oversold RSI levels as defined by the user.
This RSI overlay help easily call-out overbought and oversold candles on a chart without sacrificing screen space for a traditional RSI indicator that is not overlayed on the chart.
RSI ChannelHello All. For a while this idea (showing RSI levels on the chart as a channel) was in my mind and finally today I developed the script. I hope it will be usefull for all.
Enjoy!
Dynamic RSIThe Dynamic RSI indicator is a kind of exponential RSI. The overbought and oversold levels (respectively HiLine and LoLine) are calculated according to the recent highest and lowest values of the Dynamic RSI line.
RSI channel ob/os breakout [ChuckBanger]This is a breakout signal script based on reverse engineering of RSI. It shows a channel of overbought and oversold readings that the trader can sett in settings. When low crosses under lower line it shows bullish signal and when high is crossing upper line it shows a bearish signal. The script also has wilder's moving average as filter instead of high/low.
Good luck traders!
[PX] RSI BarcolorThis script simply colors the candles based on the defined "overbought" and "oversold" RSI-levels set in the input section of the indicator.
If the price is below the oversold level, the candle is colored in yellow.
If the price is above the overbought level, the candle is colored in aqua.
If the price moves back between both levels, no color will be applied.
Might be useful for some of you ;)
RSI Oversold/Overbought IndicatorThis is a very simple but quite powerful indicator which looks at the RSI simultaneously over the 4h, Daily and Weekly timeframes, and places bands on the chart when one or more timeframes move into oversold/overbought territory. For further filtering I use the 200 day SMA to determine if we are in a Bull or Bear market, which puts a bias on the RSI (30/80 in a Bull market and 20/70 in a Bear market).
The deeper the colour, the more oversold the market is. The weekly RSI can be used as an early warning sign, with the Daily/ 4h RSI useful to identify local peaks.
WaveTrend Oscillator + Divergence + Direction Detection +AlertsMake this version of the famous WaveTrend indicator has the following characteristics:
- WaveTrend direction detection
- Customizable overbought and oversold level (set by default just like the original version)
- Possibility to modify the length of the channel (set by default same as the original version)
- Possibility of modifying mobile period (set by default same as the original version)
- Show ONLY overbought sales.
- Show all sales.
- Show ONLY purchases in oversold.
- Show all purchases.
- See histogram.
- See half signal.
- Paint Bars.
- Modification of colors.
Alerts:
The indicator has the following alerts:
- Sales in oversold
- All Sales
- Purchases in oversold
- All Purchases
- Purchases / Overbought sales / Sales
- All Sales / Purchases
- Change WT Direction
NOTE: This single indicator should not be taken as a trading strategy is only a tool for the trader that gives a sense of depth market and potential opportunities for purchase / sale which must be evaluated in the context generally used this indicator to look for positions in areas of overbought / sell, also for detecting differences, other aspects such as the direction of Wavetrend, levels, histogram, etc, also provide useful information.
Release Notes: Add a field to change reaction and color change direction WT, is set to 1 as fast (default), better greater number address filter but is slower.
Release Notes: Add a Hidden Divergences detector and Regulars (bulls and the bears), from setup can activate them, also can turn off the labels and leave only the lines, configure it to your liking.
NOTE: SCRIPT IN SPANISH
Modified Stochastic MACD Oscillator - Vitali ApirineFor all MACD enthusiasts out there, hot off the press, I present this next generation "Modified Stochastic MACD Oscillator" employing PSv4.0, originally formulated by Vitali Apirine for TASC - November 2019 Traders Tips. Just when you may have thought it was the end of the evolutionary line for MACD technology, it's not! Basically it's a NEW hybridization of a MACD and stochastic rolled into one, maintaining scale symmetry to support overbought/oversold defined levels across time frames and assets, unlike the ordinary MACD. On the ordinary MACD, this is virtually impossible to do properly, and trust me, I have tried with zero success. My less than 40 line implementation, at initial release, is a heavily modified version of the original indicator using novel techniques, surpassing not only Apirine's original intended design, but also the "contemporary MACD" provided by TV, visible on the bottom of the chart.
Utilizing the "Power of Pine", I included the maximum amount of features I could surmise in an ultra small yet powerful package. I provided an abundance of control over each feature as an attempt to create another heavenly MACD experience in an open source package, only rivaled by my "Ultimate MACD Super Pack". Configurations are displayed above in multiple scenarios that should be suitable for most traders. Of notable mention, I rescaled the oscillator more towards a zero mean unity scale, while still leaving the waveforms completely intact.
Features List Includes:
Dark Background - Easily disabled in indicator Settings->Style for "Light" charts or with Pine commenting
AND much, much more... you have the source!
For those of you who are new to Pine Script, this script also may help you understand advanced programming techniques in Pine and how they may be utilized in a most effective manner. I would like to see Tradingview become the go to platform for the best MACD indicators attainable with this contribution to the TV community. This is commonly what my dense intricate code looks like behind the veil, and if you are wondering why there is no notes, that's because the notation is in the variable naming. If you wish to contribute additional ideas, please do so below in the comments about all things MACD in Pine.
NOTICE: Copy pasting bandits who may be having nefarious thoughts, DO NOT attempt this, because this may violate Tradingview's terms, conditions and/or house rules. "WE" are always watching the TV community vigilantly for mischievous behaviors and actions that exploit well intended authors for the purpose of unscrupulously increasing brownie points in reputation scores. Hiding behind a "protected" wall may not protect you from investigation and account penalization by TV staff. Be respectful, and don't just throw a meaningless feature in there branding it as "your" gizmo. Fair enough? Alrighty then... I firmly believe in "innovating" future state-of-the-art indicators, and please contact me if you wish to do so.
The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... regarding only this indicator, not others. When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section if you do have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members, I may implement more ideas when they present themselves as worthy additions. As always, "Like" it if you simply just like it with a proper thumbs up, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
MS MONEY CCI SQUEEZEAbout
I have used this indicator to find many lucrative opportunities. This indicator takes the moving average of CCI in custom, volatility-specific conditions. CCI measures "overbought" in the red-shaded region and "Oversold" in the green-shaded region. The shaded regions do not constitute a buy/sell signal alone, the MS CCI Squeeze is best used when market conditions agree and is best used when the user has fundamental reasoning for "reversal-like" situations to align. The MS CCI Squeeze will soon have a synergistic partner called "MS RSI Squeeze" indicator that will look similar to help better measure volatility and strength trend.
About the Commodity Channel Index (CCI)
The commodity channel index (CCI) is an oscillator originally introduced by Donald Lambert in 1980. Since its introduction, the indicator has grown in popularity and is now a very common tool for traders in identifying cyclical trends not only in commodities, but also equities (stocks) and currency trading.
How to set an Alert
If the user wants to set an alert , click on one of the support/ resistance lines (black-dashed) near the zero mark. Clicking on the horizontal line above or below the zero line will populate a yellow arrow which will allow you to set alerts when wanted.
Please Read For Better Efficiency
When using this indicator, keep an eye out for harmonic patterns, both bullish and bearish head and shoulders patterns for "HIDDEN" breakout opportunities.
Please like, follow and share and I will continue building better indicators.
RSI [Gu5]Highlights Oversold and Overbought
Show Cross Line when the momentum ends
Same design of my previous indicators
Setting recommended for EURUSD:
Length = 14
Oversold = 68
Overbought = 32
Other markets try:
Length = 14
Oversold = 70
Overbought =30
--
El indicador destaca cuando el mercado esta en sobre-compra o sobre-venta
Para una mejor visualización, marca con un cruce cuando finaliza el movimiento
Continuando con el mismo estilo de diseño de mis anteriores indicadores
--
If any of my indicators were useful, you can buy me a beer ;)
Si alguno de mis indicadores te fue útil, puedes comprarme una cerveza ;)
BTC: 1MbHMN63WnsFYEavsGK4nMWSUoEiuiScny
Paypal: www.paypal.me
How To Use Dynamic ZonesExample of how to apply and use Dynamic Zones with an indicator by injecting it's source into my adaptation of the original idea by Leo Zamansky, Ph.D., and David Stendahl.
• Load your desired oscillating indicator on your chart (CCI, RSI, etc).
• Load my "How To Use Dynamic Zones" indicator on your chart.
• In the "How To Use Dynamic Zones" indicator settings choose your desired oscillating indicator as the Oscillator Source.
You will now have dynamic overbought and oversold levels. I have also included alerts which may be used to indicate when these conditions occur.
If desired you may repeat the above process by loading additional indicators along with additional copies of my indicator to use with each oscillator.
Oscillator Source: CLOSE uses your chosen indicator as a source or you may use price as a source
Sample Length: 70 uses number of previous values for evaluating
Hi is Above X% of Sample: 88 sets overbought zone
Lo is Below X% of Sample: 88 sets oversold zone
The simplest explanation of what these default settings are doing is that they take 70 previous values of your chosen indicator, then create an overbought level that is above 88% of those previous values and an oversold level that is below 88% of those previous values. As new bars form the levels are dynamically reevaluated and updated.
---
"This investing style follows a very simple form of logic: Enter the market only when an oscillator has moved far above or below traditional trading levels. However, these oscillator driven systems lack the ability to evolve with the market because they use fixed buy and sell zones. Traders typically use one set of buy and sell zones for a bull market and substantially different zones for a bear market. And therein lies the problem.
Once traders begin introducing their market opinions into trading equations, by changing the zones, they negate the system’s mechanical nature. The objective is to have a system automatically define its own buy and sell zones and thereby profitably trade in any market — bull or bear. Dynamic zones offer a solution to the problem of fixed buy and sell zones for any oscillator-driven system."
Reference: Stocks & Commodities V15:7 (306-310): Dynamic Zones by Leo Zamansky, Ph.D., and David Stendahl
---
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Function : Stochastic Oscillator Here is the Stochastic Oscillator function.
Now you can easily use length with mutable variables !!
Function : Relative Strength Index The relative strength index function is defined.
Now you can easily use length with mutable variables !!
Stochastic [Gu5]To know if we are in range, I recommend my other indicator "Trend Channel Gu5"
Stochastic shows overbought / oversold
--
Para saber cuando no hay tendencia y estamos en rango, recomiendo usar mi indicador "Trend Channel Gu5"
El cruce de K & D nos muestra cundo el mercado esta en sobre-compra o sobre-venta
Las alertas con banderas ayudan a visualizar mas claramente, evitando las alertas duplicadas