KINSKI RSI/RSX DivergenceThe Relative Strength Index (RSI) is a momentum indicator that measures the magnitude of recent price changes to analyse overbought or oversold conditions. RSI values range from 0 to 100.
The Relative Strength Index (RSI) is calculated using the following formula: RSI = 100 - 100 / (1 + RS) Where RS = average gain of upward phases during the specified time frame / average loss of downward phases during the specified time frame.
An asset price is considered overbought (due for a correction) if the RSI is above 70 and oversold (due for a recovery) if it is below 30. More extreme values (80/20) are also used to avoid false readings.
In a strong uptrend, the RSI often reaches 70 and above for long periods, and downtrends can remain at 30 or below for long periods.
Divergence detection in RSI is one of the important functions of this indicator. The reason is that an RSI divergence is a more reliable signal than the overbought and oversold indicators themselves. You will get overbought and oversold signals all the time. However, the divergence is a rare event.
In general, RSI divergence means that the RSI indicator is moving in the opposite direction compared to the price. So while the price is moving, the RSI is telling us in advance to expect a change in direction.
Positive RSI divergence
A positive RSI divergence is when the price trend has lower lows and lower highs, while the RSI indicator does the opposite - higher highs and higher lows. The price continues to fall while the RSI indicator begins to rise.
Negative RSI divergence
Negative RSI divergence is the opposite of positive divergence. It applies to uptrends where the price reaches higher highs and higher lows. However, the RSI shows lower highs and lower lows - the price goes up but the RSI goes down. The price closes with higher highs and higher lows, while the RSI indicator does the opposite - lower lows and lower highs, confirming a negative divergence. As a result, there is a sharp decline in the price.
RSX Indicator - Base script: SharkCIA by Jaggedsoft (Linked in the source code)
The RSX is the noise-free variant of the more popular RSI oscillator. Typically, any indicator can be smoothed by applying a moving average. However, a major disadvantage of such a method is that there is a time lag between the indicator and the price. RSX Indicator attempts to do this without signal delay.
What distinguishes this indicator from others of this type?
Display of RSI indicator together/alone with RSX and RSI smoothed
display of the RSI indicator (option: "RSI: On/Off")
display of the RSX indicator (option: "RSX: On/Off")
display of the RSI indicator as smoothed version (option: "RSI Smoothed: On/Off")
offers the possibility to choose between different view variants
many settings for additional information, layout and divergence identification
enables completely new comparison possibilities and insights with the additional RSI variants
Karobein
Similarity Search, Karobein and Seasonal Random IndexSimilarity Search, Karobein oscillator (KO) and Seasonal Random Index (SRI)
Description:
This indicator uses dynamic capabilities of Pinescript version 4 coupled with Seasonal Random Index (SRI) and Karobein Oscillator (KO). SRI (green/red areas) is employed to detect trends and KO (black curce) is used to find historical similarities to predict the next bar's direction. The midline arrows are the predictions produced by the similarity search algorithm.
KINSKI Flexible Multi MA (EMA, SMA, RMA, WMA, VWMA, KAMA, HMA)This Multi Moving Average (MA) indicator is more flexible than any other indicator of this type offered so far. You can define up to 10 different Moving Average (MA) lines based on different calculation variants.
The following MA types can be configured.
- EMA: Exponentially Moving Average
- SMA: Small Moving Average
- RMA: Rolling Moving Average
- WMA: Weighted Moving Average
- VWMA: Volume Weighted Moving Average
- KAMA: Kaufman's Adaptive Moving Average
- HMA: Hull Moving Average
Which settings can be made?
- Selection for calculation formula ("Calculation Source"). The default value is "close".
- for each MA line the "Length" and the "Type" can be defined
- furthermore you can make layout adjustments via the "Style" menu
Multifactor Inverse Fisher Strategy (ps4)Best for higher time frames - 30m, 1H, 2H, 3H, 4H, D this strategy uses several factors that are pushed through an Inverse Fisher Transform (IFT). The higher the TF, the better the performance, up to 98%, but the number of deals tends to drop). Middle time frames (5m, 15m) look viable with Scaled Price (Scaled %P) and MFI factors. The factor list can be extended to include cci, stoch, rsi_stoch, emo, macd, cog, dpo, roc, accdist, cctbb, mom, awesome, tva, etc. Some of them need to be rescaled to a 0..100 interval. The IFT produces a value in the -1..1 interval (see: www.mesasoftware.com). This indicator does NOT repaint.
Scaled Normalized Vector Strategy, ver.4.1This modification of the Scaled Normalized Vector Strategy uses trailing stops and is optimized for lower TFs.
Scaled Normalized Vector Strategy, ver.4This is a modification of my Scaled Normalized Vector Strategy.
This mod features some activation functions. Performance remains high. The repainting problem should be tested out.
Scaled Normalized Vector StrategyThis is a scaled Normalized Vector Strategy with a Karobein Oscillator
Original: Drkhodakarami (www.tradingview.com)
Repainting: in general there two types of repainting:
* when the last candle is constantly being redrawn
* when the indicator draws a different configuration after it has been deactivated/reactivated, i.e. refreshed.
The former is a natural behaviour, which presents a constant source of frustration, when a signal directly depends on the current market situation and can be overcome with various indirect techniques like divergence.
The latter suggests a flaw in the indicator design.
Unfortunately, the Normalized Vector Strategy is repainting in the latter sense, although being really promising. Would be nice if our community suggests a solution to this problem ))
As it is this strat should be refreshed each time a decision is being taken.
This strat consistently performs with high accuracy, showing up to 96% scores. Here are some of the best parameters:
TF Lookback Performance (ca.)
1m 13 92%
3m 34 92%
5m 85 92%
15m 210 90%
30m 360 89%
1H 1440, 720 94%, 87%
The Karobein Oscillator has an intrinsic sinusoidal behaviour that helps in determining direction and timing. It does not repaint.
Original: alexgrover (www.tradingview.com)
Rogers & Satchell Volatility EstimationFirst off, a huge thank you to the following people:
theheirophant: www.tradingview.com
alexgrover: www.tradingview.com
NGBaltic: www.tradingview.com
The Rogers & Satchell function is a volatility estimator that outperforms other estimators when the underlying follows a geometric Brownian motion with a drift (historical data mean returns different from zero). As a result, it provides a better volatility estimation when the underlying is trending. However, the Rogers & Satchell estimator does not account for jumps in price (gaps). It assumes no opening jump. The function uses the open, close, high, and low price series in its calculation and it has only one parameter, which is the period to use to estimate the volatility.
This script allows you to transform the volatility reading. The intention of this is to be able to compare volatility across different assets and timeframes. Having a relative reading of volatility also allows you to better gauge volatility within the context of current market conditions.
For the signal lie I chose a repulsion moving average to remove choppy crossovers of the estimator and the signal. This may have been a mistake, so in the near-future I might update so that the MA can be selected. Let me know if you have any opinions either way.
Want to Learn?
If you'd like the opportunity to learn Pine but you have difficulty finding resources to guide you, take a look at this rudimentary list: docs.google.com
The list will be updated in the future as more people share the resources that have helped, or continue to help, them. Follow me on Twitter to keep up-to-date with the growing list of resources.
Suggestions or Questions?
Don't even kinda hesitate to forward them to me. My (metaphorical) door is always open.