Multi-Kernel CCI [BackQuant]Multi-Kernel CCI
Conceptual Foundation and Innovation
It offers a fresh take on the Commodity Channel Index (CCI) by integrating three distinct kernel functions—Exponential Decay, Gaussian Decay, and Cosine Decay—to create a more robust and adaptive momentum indicator. The use of these kernel functions allows the CCI calculation to be more responsive to price changes while smoothing out noise, providing traders with clearer trend signals and reducing false alerts in varying market conditions.
Technical Composition and Calculation
The core of this indicator is a multi-kernel approach to calculating the CCI, where three different decay kernels are applied to the price source. Each kernel provides a unique weighting mechanism for price data over a user-defined lookback period. The result is an average of these three kernel calculations, which serves as the foundation for the CCI calculation. This innovative approach makes the Multi-Kernel CCI more adaptive to different market conditions compared to traditional CCI calculations.
Exponential Decay Kernel: Applies an exponential weighting to recent price data, giving more importance to recent values while smoothing out older data.
Gaussian Decay Kernel: Weights data using a Gaussian function, ensuring smooth transitions between price points and reducing outliers' impact.
Cosine Decay Kernel: Utilizes a cosine function to apply a unique oscillating weight to the data, capturing cyclical market movements more effectively.
Adaptive Thresholding: Like the Adaptive Momentum Oscillator, this indicator adjusts its long and short thresholds dynamically using percentile-based calculations over historical CCI values.
Features and User Inputs The Multi-Kernel CCI offers a wide range of customization options for traders:
Kernel Calculation Length & Alpha: Traders can fine-tune the sensitivity of the CCI by adjusting the length of the kernel calculation and the alpha parameter for the Exponential Decay Kernel.
Adaptive Thresholds: The indicator provides percentile-based thresholds for both long and short signals, allowing traders to dynamically adjust their signals based on historical data.
Extreme Value Detection: This feature highlights extreme overbought and oversold conditions with customizable thresholds and background hues, visually aiding in identifying high-probability reversal zones.
Divergence Detection: The script includes a divergence detection feature, identifying regular and hidden bullish or bearish divergences to help traders spot potential trend reversals.
Practical Applications The Multi-Kernel CCI excels in markets where adaptive trend detection and momentum confirmation are critical. Traders can leverage this tool in several ways:
Adaptive Trend Following: The dynamically adjusting thresholds allow traders to capture trends more effectively while avoiding false signals during consolidations or choppy markets.
Reversal Detection: The multi-kernel approach ensures that reversals are detected with greater precision, particularly in volatile markets where traditional indicators might fail.
Divergence Identification: With built-in divergence detection, the indicator provides traders with an early warning of potential trend reversals, helping to time their entries and exits more effectively.
Advantages and Strategic Value The Multi-Kernel CCI offers several strategic advantages over traditional CCI indicators:
Multi-Kernel Smoothing:
By using multiple decay kernels, this CCI calculation is better suited to detect subtle changes in market momentum, reducing the impact of noise and providing clearer trend signals.
Dynamic Thresholds:
The adaptive percentile-based thresholds ensure that the indicator remains relevant across different market conditions, enhancing signal accuracy.
Visual and Analytical Aids:
With features like extreme value detection and divergence spotting, this indicator equips traders with powerful tools to confirm trend strength and identify potential reversals.
Summary and Usage Tips
The Multi-Kernel CCI is a highly versatile tool for traders seeking a more adaptive and robust momentum indicator. Its multi-kernel foundation provides smoother, more reliable signals, while the adaptive thresholds and divergence detection features help traders refine their entries and exits. The dynamic nature of this indicator makes it ideal for both trend-following and reversal strategies in volatile markets.
Traders should experiment with the kernel calculation length and alpha parameter to align the indicator's sensitivity with their specific trading style and market conditions. Additionally, the adaptive thresholds can be fine-tuned to ensure the CCI captures the most significant trend changes without being overly reactive to short-term fluctuations.
Thus following all of the key points here are some sample backtests on the 1D Chart
Disclaimer: Backtests are based off past results, and are not indicative of the future.
INDEX:BTCUSD
INDEX:ETHUSD
BINANCE:SOLUSD
FAST
Neo's %KIn my opinion the %K is the only part of the stochastic that you actually need. It's the fast RSI, so it responds much better to large price movements and reveals divergence a lot sooner than %D. The %D has no real confluence with the rest of my strategy so, I only use %K.
Divergence Macd+RSI Fast[RSU] -- No RepaintThis indicator combines the divergence of rsi and macd and displays it on the candlestick chart.
RSI:
1. When rsi is at a high point, once it falls by 1 k line, it will detect the divergence from the previous high point. This can quickly find the divergence that has taken effect and help you quickly capture the trend before a sharp decline or rise.
The difference between other RSI divergence indicators: the official divergence indicator is to detect the 5 and the k line, which may lead to a large amount of decline.
2. This indicator detects the previous high and the previous low of 5, 10, 20 lengths at the same time, instead of only detecting a fixed length, so that more deviations can be found.
MACD:
1. When MACD-diff line(orange color) is at a high point, once it falls by 1 k line, it will detect the divergence from the previous high point. This can quickly find the divergence that has taken effect and help you quickly capture the trend before a sharp decline or rise.
2. This indicator detects the previous high and the previous low of 5, 10, 20, 40 , 60 lengths at the same time, instead of only detecting a fixed length, so that more divergences can be found.
Notice:
Because it is a quick divergence detection, it is recommended to confirm that the divergence takes effect after the current k is completely closed first. I have identified this state in the indicator as "k not end".
Disadvantages and Risks:
Since it is a quick discovery, there will be error identification. Error divergences will recolor to grey.
Suggestion:
Use Alert catching divergence occurrences.
Please do not:
Don't go short in the uptrend, don't go long in the downtrend.
Top divergences that occur because of a strong uptrend are usually only temporary pullbacks. Bottom divergences in persistent declines are also temporary rallies. Do not attempt to trade such low-return trades.
It is recommended to use the divergence indicator when the stock price has made a new high and retraced, and once again made a new high, because this often leads to the end of the trend.
Divergence how to use:
1. After the previous candlestick was completely closed, a bottom divergence was found.
2. Open an long order at the beginning of the second bar, or as close to the bottom as possible (because the stop loss will be smaller).
3. Break the stop loss price below the previous low where the divergence occurred, which already means that the divergence is wrong.
MACD Divergence Fast by RSUAdvantages:
1. When MACD-diff line(orange color) is at a high point, once it falls by 1 k line, it will detect the divergence from the previous high point. This can quickly find the divergence that has taken effect and help you quickly capture the trend before a sharp decline or rise.
2. This indicator detects the previous high and the previous low of 5, 10, 20, 40, 60 lengths at the same time, instead of only detecting a fixed length, so that more divergences can be found.
Notice:
Because it is a quick divergence detection, it is recommended to confirm that the divergence takes effect after the current k is completely closed first. I have identified this state in the indicator as "k not end".
Disadvantages and Risks:
Since it is a quick discovery, there will be error identification. Error divergences will recolor to grey.
Suggestion:
Use “RSI Divergence Fast by RSU” at the same time, because RSI divergence usually occurs before macd, if the position diverges at the same time, the probability of success will increase.
Please do not:
Don't go short in the uptrend, don't go long in the downtrend.
Top divergences that occur because of a strong uptrend are usually only temporary pullbacks. Bottom divergences in persistent declines are also temporary rallies. Do not attempt to trade such low-return trades.
It is recommended to use the divergence indicator when the stock price has made a new high and retraced, and once again made a new high, because this often leads to the end of the trend.
Divergence how to use:
1. After the previous K line was completely closed, a bottom divergence was found.
2. Open an long order at the beginning of the second bar, or as close to the bottom as possible (because the stop loss will be smaller).
3. Break the stop loss price below the previous low where the divergence occurred, which already means that the divergence is wrong.
RSI Divergence Fast by RSUAdvantages:
1. When rsi is at a high point, once it falls by 1 k line, it will detect the divergence from the previous high point. This can quickly find the divergence that has taken effect and help you quickly capture the trend before a sharp decline or rise.
The difference between other RSI divergence indicators: the official divergence indicator is to detect the 5 and the k line, which may lead to a large amount of decline.
2. This indicator detects the previous high and the previous low of 5, 10, 20 lengths at the same time, instead of only detecting a fixed length, so that more deviations can be found.
Notice:
Because it is a quick divergence detection, it is recommended to confirm that the divergence takes effect after the current k is completely closed first. I have identified this state in the indicator as "k not end"
Disadvantages and Risks
Since it is a quick discovery, there will be error identification. I listed the difference between the two indicators when deleting errors. The indicator turns off the "delete error" option by default.
Please do not:
Don't go short in the uptrend, don't go long in the downtrend.
Top divergences that occur because of a strong uptrend are usually only temporary pullbacks. Bottom divergences in persistent declines are also temporary rallies. Do not attempt to trade such low-return trades.
It is recommended to use the divergence indicator when the stock price has made a new high and retraced, and once again made a new high, because this often leads to the end of the trend.
Divergence how to use:
1. After the previous K line was completely closed, a bottom divergence was found.
2. Open an long order at the beginning of the second bar, or as close to the bottom as possible (because the stop loss will be smaller).
3. Break the stop loss price below the previous low where the divergence occurred, which already means that the divergence is wrong.
RSI usage:
1. RSI is above the 50 line, in an uptrend, below 50 in a downtrend.
2. Above 70 is overbought, falling below the oversold zone may mean the end of the uptrend.
Below 30 is oversold, above the oversold zone may mean the end of the downtrend.
Buff Averages [CC]The Buff Averages were created by Buff Dormeier (Stocks and Commodities Feb 2001) and this is another hidden gem that is a combo of a volume weighted indicator and a moving average crossover system. It uses a special method to calculate the weighting based on volume. The colored line (fast buff) will follow the price closely and you use the other line to act as a trend confirmation. I have included strong buy and sell signals in addition to normal ones so strong signals are darker in color and normal signals are lighter in color. Buy when the line turns green and sell when it turns red.
Let me know if there are any other indicators or scripts you would like to see me publish!
RSI Cross [xaurr]This is simple but profitable rsi cross strategy, to find optimal values you can change rsi and ema periods.
Good Luck!
LSMA Wave RiderThe LSMA Wave Rider uses Least Squares Moving Average to make a fast oscillator ideal for scalping lower timeframe charts. Upper and lower bands contract during pullback and expand as it "booms". The perfect entry is the first crossover after bands expand. This is a great tool for entering trades.
The above image shows two examples of perfect entries:
1. The upper and lower bands contract getting tighter as it pulls back.
2. The upper and lower bands then begin to expand as it gets ready to fly.
3. The oscillator crosses over showing entry point.
* Please note that this strategy may not work during major downtrends. *
Oscillator 2 is used to detect diversions. Reduce the number to pick up shorter diversions and increase to 200 to pickup larger diversions.
Mix signal-rileksdevMix Signal Indicator by rileksdev
Indikator ini mengandungi
-3 line bewarna hjau,merah,biru
-1 indikator MACD yang sudah diubahsuai supaya boleh mengesan pergerakan awal harga akan turun atau naik.
-Support & Resistance sudah tersedia pada chart,jadi tidak perlu susah payah cari sendiri
-Buy signal & Sell signal yang keluar apabila harga akan membuat kenaikan atau penurunan
Cara guna:
Line biru: digunakan untuk intraday timetrame 5minit.
Line hijau & merah digunakan untuk Intraday pada timeframe 15minit timeframe 30minit untuk swing short term atau midterm.
MACD MOD untuk mengesan pergerakan awal harga akan turun atau naik.
Garis bintik hijau(Support) & Garis bintik merah (Resistance) yang sudah tersedia pada Chart
Buy signal apabila harga akan membuat kenaikan
Sell signal apabila harga akan membuat penurunan
Double Stochastic in one_PAYDARDouble Stochastic in one_PAYDAR
Hello dear friends;
Double Stochastic in one_PAYDAR function:
It actually means that I have used two stochastic oscillators in one oscillator with several lines in different degrees,
First Stochastic: or "Fast Stochastic", as its name implies, is a stochastic oscillator with fast parameters and is capable of detecting small oscillations and small trends.
Second Stochastic : or "slow stochastic" means a stochastic oscillator with slow parameters and is capable of detecting slightly larger fluctuations and trends.
(Of course, here I just put parameter D, because I did not want it to be crowded.)
*** This system just Suggests you for points. ***
_____________________________________________________________________________
How to use this system ( just Suggests you) :
Buy: Whenever the first stochastic (fast stochastic ) crosses in the range of 20 or below and moves upwards, and at the same time the second stochastic (slow stochastic ) moves or crosses the green 30 line, a good time To buy or take a long position.
Sell: Whenever the first stochastic (fast stochastic ) crosses in the range of 80 or above and moves down, and at the same time the second stochastic (slow stochastic ) moves or crosses the red 70 line, a good time For sale or short position.
_____________________________________________________________________________
*** This system just Suggests you for points. ***
My suggestion is not to use this system alone and conclude about entry and exit points according to charts, news, market fluctuations and trend direction.
This system was created by Stochastic Oscillator, which is public and open source on the TradingView site.
***I used the Stochastic Oscillator as a public domain and open source on the TradingView site***
In fast stochastics the values of the parameters are set as fast motion and in slow stochastics the values of the parameters are set as slow motion. In fact, these values of the parameters according to the function and price movement in the candles are fast and slow, and I have determined these values at my suggestion, which, of course, I have consulted with several people.
For easier use and personalization for each person, I have left access to the parameters in this system and you can easily change the parameters as you like and use it optimally for yourself.
Of course, my suggestion is to use the numbers and values of the parameters I have written.
I have put different values, which I think will be very useful for trading swings and even below the daily, but you can change the values of different parameters to your liking.
This oscillator is made of a stochastic oscillator that is open source and public on the TradingView site , of course, due to the changes I have made in the parameter values and the inclusion of two stochastics in one oscillator.
*** In this system, the main and basic oscillators is used, It is available as open source and public on the TradingView site ***
Please comment on the use of this oscillator as well as how to use it and your experiences, I will definitely welcome comments and criticisms.
I am very grateful and very loyal to TradingView ,
Be successful and profitable.
Doble stochastic oscillator fast and slowThis is a two stochastic in one indicator :
We have a normal stochastic, and a slower one in order to identify changes in the price movement.
At the same time I added more levels, so its easier visually to identify in each scenario we are.
The slower oscillator, also change color based on direction it has.
Green color = long direction - > buy
Red color = short direction - > sell
[astropark] Volatility IndicatorDear Followers,
today another interesting script: Volatility Indicator .
This indicator measures the volatility of the market you see in the timeframe you see, in a scale between 0 and 1.
It works on cryptocurrencies, commodities, stocks, indexes and forex.
You will see 2 volatility waves:
a black one (with green and blue shadow for increasing and decreasing mode), which is the "faster" one
a red one (with orange and purple shadow for increasing and decreasing mode), which is the "slower" one
The indicator highlights high volatility when it's near the top (1), while low volatility when near the bottom (0).
You can combine this indicator with your own strategy and indicators to validate them :
on low volatility it often happens that a signal fails to be profitable, as it lacks fuel
while it's better if volatility is over low level as price has more room to run while volatility increasing to the top
This indicator also lets you set alerts when volatility exceeds high level or low level.
This is a premium indicator , so send me a private message in order to get access to this script.
Fractal Adaptive Entry IndicatorThis entry indicator was inspired by John Ehle'rs "Fractal Adaptive Moving Average"
It's a very sensitive entry indicator that must be paired with a long-term trend detector in order to filter false positives.
Warning I have not backtested this indicator and will not make any claims to its performance.
Visually, it looks promising, however, backtesting and statistical analysis takes time.
Happy trading
<3
Dow Factor Stoch RSIThe indicator was generated by adding the Dow Factor to the Stochastic Relative Strength Index.( Stoch RSI )
The Dow factor is the effect of the correlation coefficient, which determines the relationship between volume and price, on the existing indicators.
With these codes we are able to integrate them numerically into the indicators.
For more information on the Dow factor, please see my indicator:
This code is open source under the MIT license. ( github.com )
My dow factor updates will continue.We adapted the indicators and saw successful results, now it is time to examine and develop the factor itself.
Stay tuned , best regards.
Turbo Scaler - The Art Of Being (too) EarlyIntroduction
Fast smooth indicators that produce early signals can sound utopic but mathematically its not a huge deal, the effect of early outputs based on smooth inputs can be seen on differentiators crosses, this is why i propose this indicator that aim to return extra fast signals based on a slightly modified max-min normalization method. The indicator introduce inherent smoothing without having an huge impact on the indicator reactivity.
The Indicator
The indicator is based on max-min normalization (like the stochastic oscillator) however instead of using the highest/lowest of the input we use the highest and lowest of the moving average of the input. This process using as input the closing price and the moving average closing price will return two lines, and because of the nature of max-min normalization we can see that the trigger line (in orange) produce earlier crosses. length control the highest/lowest period while smooth control the output lines smoothness (50 by default).
alpha control the scaling amount, with higher values of alpha creating more constrained scale, when alpha = 1 the scale is in a range of (0,1) while lower values of alpha can make the output move more freely.
alpha = 0.25
alpha = 1
Higher values of alpha create earlier signals.
Downsides Of Early Crosses
Of course such indicator make us exposed to the trend as seen below.
We can nonetheless protect ourselves against such cases scenarios by lowering alpha.
lowering alpha allow to catch movements of the trend without loosing much reactivity at the cost of an increased umber of trades.
Possible Uses
The proposed indicator allow for an high number of uses because of its scale, reactive nature...etc. A method that allow us to go with the main trend is by taking into account the crosses between the lines and the sign of the lines, for example :
The first signal (green) happen when the main line (in blue) crossover the trigger (orange) while both are > 0, the same happen with the second signal however both lines are < 0. This method can use certain levels instead of the sign (main line crossover trigger while both > 0.7...etc).
This method is great for the indicator because such cases scenarios does not happen a lot with ranging markets, we can clearly that when trending the trigger can have the tendency to be flat and higher than 0 thus allowing for the main line to produce those signals.
Conclusion
I have presented a super reactive crosses indicator based on max-min normalization with the ability to both be smooth and produce early entries/exits signals, different methods have been presented in order to allow for different setups using this indicator.
The introduction of the alpha parameter allow for more control which is what those kind of indicators needs. I hope you find an use to it :)
Support Me
Making indicators sure is hard, it takes time and it can be quite lonely to, so i would love talking with you guys while making them :) There isn't better support than the one provided by your friends so drop me a message.
Adaptive StochasticAdapt To The Right Situation
There are already some Adaptive Stochastic scripts out there, but i didn't see the concept of using different periods highest/lowest for their calculations. What we want
for such oscillator is to be active when price is trending and silent during range periods. Like that the information we will see will be clear and easy to use.
Switching between a long term highest/lowest during range periods and a short term highest/lowest during trending periods is what will create the adaptive stochastic.
The switching is made thanks to the Efficiency Ratio , the period of the efficiency ratio is determined by the length parameter.
The period of the highest and lowest will depend on the slow and fast parameters, if our efficiency ratio is close to one (trending market) then the indicator will use highest and lowest of period fast , making the indicator more reactive, if our efficiency ratio is low (ranging market) then the indicator will use highest and lowest of period slow , making the indicator less reactive.
The source of the indicator is a running line ( lsma ) of period slow-fast .
it is also possible to switch the parameters values, making the indicator reactive during ranging market and less reactive during trending ones.
Hope you enjoy
For any questions/demands feel free to pm me, i would be happy to help you
Mean Reversion Short / Long Oscillating strategy that does pretty well on 1M forex markets and gets you a lot of signals. Better to use after an exhaustive move or in a consolidation phase.
[RS][JR]RSI Ribbon + CandleRSI Ribbon + Candle
By Ricardo Santos and JR
In this chart rendering we are combining RSI and Moving Averages. For an added features we included colors to the candles and ribbons. Lime and green displays a strong bullish trend, yellow is caution or no trade, red and maroon are bearish trends. You can also find divergences using the ribbon.
Divergence