🧬Dynamic RSI Zones v1.0 by Cryptorhythms🧬Dynamic RSI Zones v1.0 by Cryptorhythms
Intro
There are a few adaptive RSI indicators already out there, and they got me thinking. They didn't really do what I desired, or do it profitably. So I had some hunches on how I could create my own and here it is!
Description
It is setup for all major timeframes, though for now its best on 30m or higher. Supported timeframes include: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 12h, and daily. I am working on settings for 2 day, 3 day and weekly as well for a future update.
This way no more entering settings when changing timeframes, which can mean a lot when seconds matter.
You can however disable the automatic settings if you wish to experiment on a different timeframe or coin/market.
Instructions
Detailed instructions will follow in a separate post for brevity.
Future Updates
There will be many upcoming updates and improvements. These will include some graphical improvements, better performance on lower timeframes, additional timeframes added for XBTUSD, support for additional coins (ETH, LTC, XRP, etc are all coming).
Remember the settings are currently adapted for XBTUSD only!
👍 Enjoying this indicator or find it useful? Please give me a like and follow! I post crypto analysis, price action strategies and free indicators regularly.
💬 Questions? Comments? Want to get access to an entire suite of proven trading indicators? Come visit us on telegram and chat. We make timely posts about the market, news, and strategy everyday. Our community isn't open only to subscribers - everyone is welcome to join.
Adaptive
Daily Progressive Donchian ChannelsThis is the first script that I publish.
His main goal is to help identify the extreme of the day and to compare the VWAP with the average DPDC to find meaningful resistance and support.
Price-Line Channel - A Friendly Support And Resistance IndicatorIntroduction
Lines are the most widely used figures in technical analysis, this is due to the linear trends that some securities posses (daily log SP500 for example), support and resistances are also responsible for the uses of lines, basically linear support and resistances are made with the assumption that the line connecting two local maximas or minimas will help the user detect a new local maxima or minima when the price will cross the line.
Technical indicators attempting to output lines have always been a concern in technical analysis, the mostly know certainly being the linear regression, however any linear models would fit in this category. In general those indicators always reevaluate their outputs values (repainting), others non repainting indicators returning lines are sometimes to impractical to set-up. This is what has encouraged me to make a simpler indicator based on the framework used in the recursive bands indicator that i published.
The proposed indicator aim to be extremely flexible and easy to use while returning linear support and resistances, an option that allow readjustment is also introduced, thus allowing for a "smarter" indicator.
The Indicator
The indicator return two extremities, the upper one aim to detect resistance points while the lower one aim to detect support points. The length setting control the steepness of the line, with higher values of length involving a lower slope, this make the indicator less reactive and interact with the price less often.
The name "price-line" comes from the fact that the channel is dependent on its own interaction with the price, therefore a breakout methodology can also be used, where price is up-trending when crossing with the upper extremity and down trending when crossing with the lower one.
Readjusted Option
The line steepness can be readjusted based on the market volatility, it make more sense for the line to be more steep when the market is more volatile, thus making it converge faster toward the price, this of course is done at the cost of some linearity. This is achieved by checking the "readjustment" option. The effects can be shown on BTCUSD, below the indicator without the readjusted option :
when the "readjustment" option is checked we have the following results :
The volatile down movement on BTCUSd make the upper extremity converge faster toward the price, this option can be great for volatile markets.
Conclusion
The recursive bands indicator prove to be an excellent framework that allow for the creation of lots of indicators, the proposed indicator is extremely efficient and provide an easy solution for returning linear support and resistances without much drawbacks, the readjusted option allow the indicator to adapt to the market volatility at the cost of linearity.
The performance of the indicator is relative to the motion of the price, however the indicator show signs of returning accurate support and resistances points. I hope the indicator find its use in the community.
Thanks for reading !
Note
Respect the house rules, always request permission before publishing open source code. This is an original work, requesting permission is the least you can do.
MAMA FAMA KAMA.. chameleon 🎵
Uses Kaufmann's Efficiency Ratio to generate adaptive inputs for Ehler's MAMA/FAMA. Alphas from the Hilbert transform are then used in place for the KAMA calculation.
Original MAMA/FAMA by everget : link
--------------------------------------
If you find it useful please consider a tip/donation :
BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA
Silicone Re-calibrate ATRInspired by @bitmexstorm study Volatility-calibrated ATR
This study features two different ATR trail derivative concepts-Default one is called- "Silicone", and the alternative is called- "Mercurial. To decrease confusion during backtesting, trails plots with distinct color palette.
Options include the ability to apply a smoothening filter that affects both modes as well as an adaptive/fixed mode for the "Silicone" trail.
Parameters for trail dynamics/behavior is unlocked(!Parameters in publish version is far from optimized! Need serious testing! )
Candle Coloring reflects trail direction.
Feedback on optimal periods and multipliers is needed and appreciated
EQma - Adaptive Smoothing Based On Optimal Markets DetectionIntroduction
"You don’t put sunscreen when there is no sun, you don’t use an umbrella when there is no rain, you don’t use a kite when there is no wind, so why would you use a trend following strategy when there is no trend ?"
This is how i start my 4th paper "A New Technical Indicator For Optimal Markets Detection" where i present two new technical indicators. We talked about the first one, running equity, which aim to detect the best moment to enter trades, based on this new metric i made an adaptive moving average.
You can see the full paper here figshare.com
The Indicator
The moving average is based on exponential averaging and use a smoothing variable alpha based on the running equity metric, in order to calculate alpha the running equity is divided by the optimal equity which show the best returns possible for the conditions used. Basically the indicator work as follow :
When the running equity is close to the optimal equity it means that the price need no/little filtering since it does not contain information that need to be filtered, therefore alpha is high, however when the running equity is far from the optimal equity this mean that the price posses malign information that need to be removed.
This is why the indicator will be closer to the price when length is high :
See the full paper for an explanation on how this work.
I added various options for the indicator, one will reduce the lag by squaring alpha, thus giving for length = 14 :
The efficient option will make use of recursion to provide a more efficient indicator :
In green the efficient version, note how this option can allow a better fit with the price.
Conclusion
This is an indicator but at its core its rather a framework, if you have read the paper you'll see that the conditions are just 1 and -1 that changes with time, basically its like making a strategy with :
Condition = if buy then 1 else if sell then -1 else Precedent value of condition.
So those two indicators allow to give useful and usable information about your strategy. I hope it can be of use for anyone here, if so don't hesitate to send me what you made using the proposed indicator (and with all my indicators in general). If you are writing a paper and you think this indicator could fit in your work then let me know so i can be aware of it :)
Thanks for reading !
Acknowledgement
My papers are quite ridiculous but they still manage to get some views, some researchers don't even reach those number in so little time which is quite unfortunate but also really motivating for me, so thanks to those who take time to read them and give me some feedback :)
Kaufman Adaptive Least Squares Moving AverageIntroduction
It is possible to use a wide variety of filters for the estimation of a least squares moving average, one of the them being the Kaufman adaptive moving average (KAMA) which adapt to the market trend strength, by using KAMA in an lsma we therefore allow for an adaptive low lag filter which might provide a smarter way to remove noise while preserving reactivity.
The Indicator
The lsma aim to minimize the sum of the squared residuals, paired with KAMA we obtain a great adaptive solution for smoothing while conserving reactivity. Length control the period of the efficiency ratio used in KAMA, higher values of length allow for overall smoother results. The pre-filtering option allow for even smoother results by using KAMA as input instead of the raw price.
The proposed indicator without pre-filtering in green, a simple moving average in orange, and a lsma with all of them length = 200. The proposed filter allow for fast and precise crosses with the moving average while eliminating major whipsaws.
Same setup with the pre-filtering option, the result are overall smoother.
Conclusion
The provided code allow for the implementation of any filter instead of KAMA, try using your own filters. Thanks for reading :)
Kaufman Adaptive Correlation OscillatorIntroduction
The correlation oscillator is a technical indicator that measure the linear relationship between the market closing price and a simple increasing line, the indicator is in a (-1,1) range and rise when price is up-trending and fall when price is down-trending. Another characteristic of the indicator is its inherent smoothing which provide a noise free (to some extent) oscillator.
Such indicator use simple moving averages as well as estimates of the standard deviation for its calculation, but we can easily make it adaptive, this is why i propose this new technical indicator that create an adaptive correlation oscillator based on the Kaufman adaptive moving average.
The Indicator
The length parameter control the period window of the moving average, larger periods return smoother results while having a low kurtosis, which mean that values will remain around 1 or -1 a longer period of time. Pre-filtering apply a Kaufman adaptive moving average to the input, which allow for a smoother output.
No pre-filtering in orange, pre-filtering in yellow, period = 100 for both oscillators.
If you are not aware of the Kaufman adaptive moving average, such moving average return more reactive results when price is trending and smoother results when price is ranging, this also apply for the proposed indicator.
Conclusion
Classical correlation coefficients could use this approach, therefore the linear relationships between any variables could be measured. The fact that the indicator is adaptive add a certain potential, however such combination make the indicator have the drawback of kama + the correlation oscillator, which might appear at certain points.
Thanks for reading !
Adaptive Fisher This fisher provides:
* Fixed and adaptive calculation lengths
* Adaptive overbought / oversold levels
* Fixed overbought / oversold levels derived from analysis of fisher over 20k bars.
* Automatic divergence detection with two different calculation lengths.
* Automatic momentum shift detection.
* 3 different visual modes.
Powered Kaufman Adaptive Moving AverageIntroduction
The ability the Kaufman adaptive moving average (KAMA) has to be flat during ranging markets and close to the price during trending markets is what make this moving average one of the most useful in technical analysis. KAMA is calculated by using exponential averaging using the efficiency ratio (ER) as smoothing variable where 1 > ER > 0 . An increasing efficiency ratio indicate a trending market. Based on one of my latest indicator (see Kaufman Adaptive Bands) i propose this modified KAMA that allow to emphasis the abilities of KAMA by powering the efficiency ratio. I also added a new option that allow for even more adaptivity.
The Indicator
The indicator is a simple KAMA of period length that use a powered ER with exponent factor .
When factor = 1 the indicator is a simple KAMA, however when factor > 1 there can be more emphasis on the flattening effect of KAMA.
You can also restrain this effect by using 1 > factor > 0
Note that when the exponent is lower than 1 and greater than 0 you are basically applying a nth square root to the value, for example pow(2,0.5) = sqrt(2) because 1/0.5 = 2, in our case :
pow(ER,factor > 1) < ER and pow(ER,1 > factor > 0) > ER
Self Powered P-KAMA
When the self powered option is checked you are basically powering ER with the reciprocal of ER as exponent, however factor does no longer change anything. This can give interesting results since the exponent depend on the market trend strength.
In orange the self powered KAMA of period length = 50 and in blue a basic powered KAMA with a factor of 3 and a period of length = 50.
Conclusion
Applying basic math to indicators is always fun and easy to do, if you have adaptive moving averages using exponential averaging try powering your smoothing variable in order to see interesting results. I hope you like this indicator. Thanks for reading !
Kaufman Adaptive BandsIntroduction
Bands are quite efficient in technical analysis, they can provide support and resistance levels, provide breakouts points, trailing stop loss/take profits positions and can show the current market volatility to the user. Most of the time bands are made from a central tendency estimator like a moving average plus/minus a volatility indicator. Therefore bands can be made out of pretty much everything thus allowing for any kind of flavors.
So i propose a band indicator made from a Kaufman adaptive moving average using an estimate of the standard deviation.
Construction
The Kaufman moving average is an exponential averager using the efficiency ratio as smoothing variable, length control the period of kama and in order to provide more smoothness a power parameter has been introduced, higher values of power will return smoother results.
The volatility indicator is made from a biased estimation of the standard deviation by using the square root of the mean of the square minus the square of the mean method, except that we use kama instead of a mean.
The bands are made by adding/subtracting this volatility indicator with kama.
How To Use
The ability of the indicator to adapt to the current market state is what makes him a great tool for avoiding major exposition during ranging market, therefore the indicator will have a greater motion during trending market, or more simply the bands will move during trending markets while staying "flat" during ranging ones. Therefore the indicator might be more suited to breakouts, even if some cases will return what where turning points, this is particularly true during ranging markets.
Of course the efficiency ratio is not an "unbiased" trend metric indicator, it can consider high volatility markets as trending markets. Its one of his downsides.
High values of power will create smoother bands.
When using a low power parameter use an higher mult. In general using a low power value will make the bands move more freely as well as making them closer to each others.
Conclusion
At least the indicator is really nice to the eyes when using high power values, its ability to adapt to the market is a great addition to other more classical bands indicators, i also introduced a volatility estimator based on kama, some might have used the following estimation : kama(abs(price - kama)) which would have created a slower result. A trailing stop might be made from it if i see request about such addition.
If you are curious here are some more images of the indicator performing on different markets. Thanks for reading !
Adaptive Trailing StopIntroduction
The ability to adapt to possible markets states is important in technical analysis, this is why making adaptive indicator might help get better results. I propose a trailing stop indicator using recursion that can adapt to the efficiency ratio. I have added alerts since it's a often requested feature.
The Indicator
Its quite classical, bands are firstly made then a trailing stop is built around them. The bands are recursive, this allow for faster calculations in general but it also allow for a faster adaptivity. An higher length or factor will make the indicator detect longer term trends, factor determine the raising power of the efficiency ratio.
When smooth is checked the trailing stop will appear smoother.
When adaptive is unchecked the indicator will still act as a trailing stop but might be more affected to ranging markets.
Set a static/trailing stop loss :
You can set your stop loss based on the indicator, a static stop loss can be set at the value of the trailing stop when you enter the market. You can also set it as trailing stop, the indicator will follow the trend thus allowing for potential profits to grow's.
Determine The Trend Direction :
You can generate buy sell signals based on the indicator position relative to the price, when the indicator is lower than the price this indicate a up trending market, when the indicator is higher than the price this indicate a down trending market. If the trailing stop move this indicate a strong current trend.
False signals with trailing stops can happen, the price might go toward the trailing stop making it generate another signal, when market is ranging and exhibiting cyclical behaviour this can affect the indicator and the user might get stuck in a series of false signals, higher length/factor values can fix that at the cost of less early signals.
Identification Of Support And Resistance
Bands during low volatility/ranging markets can return potential reversal points when crossing with the price. The indicator can also do it, even if high/low crosses are better suited to determine support and resistance levels when using a trailing stop. You can use support/resistance identification in conjonction of the current trend detected by the indicator.
Conclusion
The indicator is fully operational in fixed mode while having potential down points in adaptive mode. As you can see the code that return the bands is fully recursive and might provide a great way to create adaptive bands in the future.
I have been asked to give more detail about the indicator uses rather than the construction, i hope the showcased uses are convenient.
Note that the showcased uses can be applied to any trailing stop.
Thanks for reading.
SVAMA - A Non Parametric Adaptive Moving Average Based On VolumeIntroduction
Technical indicators often have parameters settings that the user must enter, those are inconvenient when the user must design a strategy because such settings must be optimized, it must also been noted that the optimal settings at time t could change at time t+n , this is why non parametric indicators are more efficient. Today i propose a moving average adapting to the market volume without using parameters affecting the smoothing.
The Indicator
The volume is rescaled in a range of (1,0) by using max or min normalization. Exponential averaging is used to provide the moving average.
When using max normalization the moving average react faster when the volume is closer to its all time high, when using min normalization the moving average react faster when the volume is closer to its all time low. You can select the method (max or min) from the "Method" parameter.
Volume tend to be higher and more periodic with higher time-frames, this is why lower time-frames might return smoother results when using the Max method. It is recommended to use the Max method when we want a faster moving average while the Min method is more suited to get a slower moving average.
Both methods can provide an interesting MA-Cross system when used on higher time frames.
Conclusion
There should be more non parametric indicators, this would allow for faster and easier optimization processes when creating a strategy, in theory any indicator using a moving average or highest/lowest could be made non parametric by using a running mean or running max/min but the indicator might loose important information.
This is one of my main focus right now since such indicators could also allow for improvements when used with artificial intelligence. I hope you find an use to it, don't hesitate to send me your suggestions.
Thanks for reading !
ACAT (450-600 Hi-Res) [acatwithcharts]Adaptive Comprehensive Average Tracker is a 2 in 1 version of Mean Reversion MA and Compression MA. The slightly odd name is a backronym that spells "ACAT" - suffice it to say, I'm pretty proud of what these two indicators have developed into.
This is 4 of 4 in a series of Hi-Res indicators from 14-600 that are intended to be used in concert weaved together. Some of the default display settings are slightly tweaked to account for the assumption that they would not be used by themselves individual. The labels are intended to weave with the other instances of ACAT, which is very obviously not something that was designed for in the v4 labeling code and works about as passably well as I could get it, noting that coming up with a method for setting variable distances that always looks sharp across instruments and timeframes is near-impossible.
Compared to what subscribers will be used to from using standard resolution ACAT, this should greatly sharpen the borders of the compression bands in particular. A key caveat to be aware of is that dividing the range into multiple instances like this means that there can be tracking of several distributions at the same time if different indicators are triggering independently after being reset on different ranges - which in some cases means more relevant periods are being identified but often times can mean a mess of information with some less important periods being overlaid as if they were of equal importance to the longest period lengths.
My volatility indicators are available by subscription in several packages through SharkCharts.live - and this is planned to be the first new one ready to add. I plan to on totally overhauling my explanation videos on ACAT since the indicator just does so much more than it used to when the previous videos were recorded, but as of the time of this writing the videos on Mean Reversion MA, Compression MA, and my livestream with DadShark do cover most parts of it. These videos and videos on my other indicators are currently hosted on DadShark's YouTube channel.
Current pricing and subscription details will be kept up-to-date on SharkCharts.live
ACAT (300-450 Hi-Res) [acatwithcharts]Adaptive Comprehensive Average Tracker is a 2 in 1 version of Mean Reversion MA and Compression MA. The slightly odd name is a backronym that spells "ACAT" - suffice it to say, I'm pretty proud of what these two indicators have developed into.
This is 3 of 4 in a series of Hi-Res indicators from 14-600 that are intended to be used in concert weaved together. Some of the default display settings are slightly tweaked to account for the assumption that they would not be used by themselves individual. The labels are intended to weave with the other instances of ACAT, which is very obviously not something that was designed for in the v4 labeling code and works about as passably well as I could get it, noting that coming up with a method for setting variable distances that always looks sharp across instruments and timeframes is near-impossible.
Compared to what subscribers will be used to from using standard resolution ACAT, this should greatly sharpen the borders of the compression bands in particular. A key caveat to be aware of is that dividing the range into multiple instances like this means that there can be tracking of several distributions at the same time if different indicators are triggering independently after being reset on different ranges - which in some cases means more relevant periods are being identified but often times can mean a mess of information with some less important periods being overlaid as if they were of equal importance to the longest period lengths.
My volatility indicators are available by subscription in several packages through SharkCharts.live - and this is planned to be the first new one ready to add. I plan to on totally overhauling my explanation videos on ACAT since the indicator just does so much more than it used to when the previous videos were recorded, but as of the time of this writing the videos on Mean Reversion MA, Compression MA, and my livestream with DadShark do cover most parts of it. These videos and videos on my other indicators are currently hosted on DadShark's YouTube channel.
Current pricing and subscription details will be kept up-to-date on SharkCharts.live
ACAT (150-300 Hi-Res) [acatwithcharts]Adaptive Comprehensive Average Tracker is a 2 in 1 version of Mean Reversion MA and Compression MA. The slightly odd name is a backronym that spells "ACAT" - suffice it to say, I'm pretty proud of what these two indicators have developed into.
This is 2 of 4 in a series of Hi-Res indicators from 14-600 that are intended to be used in concert weaved together. Some of the default display settings are slightly tweaked to account for the assumption that they would not be used by themselves individual. The labels are intended to weave with the other instances of ACAT, which is very obviously not something that was designed for in the v4 labeling code and works about as passably well as I could get it, noting that coming up with a method for setting variable distances that always looks sharp across instruments and timeframes is near-impossible.
Compared to what subscribers will be used to from using standard resolution ACAT, this should greatly sharpen the borders of the compression bands in particular. A key caveat to be aware of is that dividing the range into multiple instances like this means that there can be tracking of several distributions at the same time if different indicators are triggering independently after being reset on different ranges - which in some cases means more relevant periods are being identified but often times can mean a mess of information with some less important periods being overlaid as if they were of equal importance to the longest period lengths.
My volatility indicators are available by subscription in several packages through SharkCharts.live - and this is planned to be the first new one ready to add. I plan to on totally overhauling my explanation videos on ACAT since the indicator just does so much more than it used to when the previous videos were recorded, but as of the time of this writing the videos on Mean Reversion MA, Compression MA, and my livestream with DadShark do cover most parts of it. These videos and videos on my other indicators are currently hosted on DadShark's YouTube channel.
Current pricing and subscription details will be kept up-to-date on SharkCharts.live
ACAT (14-150 Hi-Res) [acatwithcharts]Adaptive Comprehensive Average Tracker is a 2 in 1 version of Mean Reversion MA and Compression MA. The slightly odd name is a backronym that spells "ACAT" - suffice it to say, I'm pretty proud of what these two indicators have developed into.
This is 1 of 4 in a series of Hi-Res indicators from 14-600 that are intended to be used in concert weaved together. Some of the default display settings are slightly tweaked to account for the assumption that they would not be used by themselves individual. The labels are intended to weave with the other instances of ACAT, which is very obviously not something that was designed for in the v4 labeling code and works about as passably well as I could get it, noting that coming up with a method for setting variable distances that always looks sharp across instruments and timeframes is near-impossible.
Compared to what subscribers will be used to from using standard resolution ACAT, this should greatly sharpen the borders of the compression bands in particular. A key caveat to be aware of is that dividing the range into multiple instances like this means that there can be tracking of several distributions at the same time if different indicators are triggering independently after being reset on different ranges - which in some cases means more relevant periods are being identified but often times can mean a mess of information with some less important periods being overlaid as if they were of equal importance to the longest period lengths.
My volatility indicators are available by subscription in several packages through SharkCharts.live - and this is planned to be the first new one ready to add. I plan to on totally overhauling my explanation videos on ACAT since the indicator just does so much more than it used to when the previous videos were recorded, but as of the time of this writing the videos on Mean Reversion MA, Compression MA, and my livestream with DadShark do cover most parts of it. These videos and videos on my other indicators are currently hosted on DadShark's YouTube channel.
Current pricing and subscription details will be kept up-to-date on SharkCharts.live
Variable Adaptive Moving AverageAbout This Indicator
This was one of my first indicators, its also the first indicator i made a preprint paper about, i strongly encourage you to read the paper i made here : hal.archives-ouvertes.fr
Dont be triggered by the lack of quality of the paper, i only did it for fun. I might further develop this preprint thus ending with something more readable.
Adaptive Autonomous Recursive Trailing StopIntroduction
Trailing stop are important indicators in technical analysis, today i propose a new trailing stop A2RTS based on my last published indicator A2RMA (1), this last indicator directly used an error measurement thus providing a way to create enveloppes, which provide a direct way to create trailing stops based on highest/lowest rules.
The Indicator
If you need a more detailed explanation of this indicator i encourage you to check the A2RMA indicator post i made, parameters does not differ from the supertrend, thus having a length parameter and a factor parameter who is here described as gamma , gamma control how far away are the bands from each others thus spotting longer terms trends when gamma is higher.
On BTCUSD
Something worth mentioning is that the indicator sometimes behave like my MTA trailing stop indicator (2) who is closer to the price when a trend persist thus providing early exit points, however A2RTS behave a bit better.
Price can sometimes break the trailing stop, this can be interpreted as a support/resistance or just as an exit point, the support resistance methodology on trailing stop is not the most recommended.
Sometimes it is recommended to have an higher length rather than an high gamma like in this case for INTEL CORP, below gamma = 3 and length = 20
The microprocessor market like to use higher length's instead of higher gamma's , A2RMA is a non-linear filter, this would explain such behaviour.
Conclusion
Trailing stops might not suffer as much from whipsaw trades than MA crossovers but they still remain inefficient when market is not trending, results of the proposed indicator on major forex pairs are more than disappointing, but i hope this will serve as basis for other trailing stops that might act a little bit better. I conclude this post by thanking everyone who support my work and i encourage you to modify this indicator and share it with the community.
Thanks for reading !
Cited Articles
Adaptive Autonomous Recursive Moving AverageIntroduction
Using conditions in filters is a way to make them adapt to those, i already used this methodology in one of my proposed indicators ARMA which gave a really promising adaptive filter, ARMA tried to have a flat response when dealing with ranging market while following the price when the market where trending or exhibiting volatile movements, the filter was terribly simple which is one of its plus points but its down points where clearly affecting its performance thus making it almost impractical.
Today i propose a new filter A2ARMA which aim to correct all the bad behaviours of ARMA while having a good performance on various markets thanks to the added adaptivity.
Fixes And Changes
ARMA was dealing with terribles over/under-shoots which affected its performance, adding a zero-lag option made the thing even worse, in order to fix those mistakes i first cleaned the code, then i removed the offset for src in d , this choice is optional but the filter is sometimes more accurate this way.
The major change is the use of an adaptive moving average instead of the triangular moving average that smoothed the output, this adaptive moving average is calculated using exponential averaging while using the efficiency ratio as smoothing variable, this choice surprisingly removed the majority of overshoots while adding more adaptivity to the filter.
The Indicator
The Indicator work the same way as ARMA, not reacting during flat market periods while following the price when this one is volatile or trending. length control the smoothing amount while gamma determine how the filter is affected during flat market periods, gamma = 0 is just a double smoothed adaptive moving average, higher values of gamma will filter flat markets with a certain degree.
On Intel Corp with gamma = 0, i want to filter the flat period starting at July 10, gamma = 3 will certainly help us on this task.
Hooray, the problem appear to be solved ! Lower values of gamma also produce desirable effect as shown below :
gamma = 2
So far so good, but gamma or length might have different optimal values depending on the market, also problems still exists as shown here :
Seagate is tricky, gamma at 2.4 might help
The relationship between length and gamma is somewhat complicated.
On Different Markets
While some filters will process market price the same way no matter the market they are affected, A2ARMA will change drastically depending of the market.
On AMD
On EURUSD
On BTCUSD
Comparison With ARMA
ARMA with parameters roughly matching A2RMA, overall most of the problems i wanted to fix where indeed fixed.
Conclusion
A huge thanks for the support i received during this "Blank Page" period i'am suffering, ARMA was an indicator i really wanted to further develop without giving up on the code simplicity and i think this version might provide useful results, we can also notice that the decision making is easier with this version of the indicator thanks to the added coloring (which would have been impossible with ARMA).
My work don't have license attached to it, feel free to modify and share your findings, mentioning is appreciated :)
Thanks for reading !
Adaptive BB Triple Layer Adaptive BB SD
Band based pullback and pivoting signals ♘♝
Macro Trend sentiment - Outer deviations coloring
Micro trend - Mean Value and normal +/- st.dev colors
Candle Colors - Median Trend
Col Coded Primitive(Basic) Squeeze detection
Sensitive micro break out/down signals derived from basic Mean line crossing (Added some Whipsaw Protection)
Basic Squeeze
Extreme deviations can be turned off for "compact" view
Basic break out/down signals
Indicator needs TESTING
Signal sensitivity and trend recognition need testing/tuning before even considering to use this BB for trading purposes
Ehlers Ideal RSIThis script has been updated to Pine v4. Original script by JustUncleL (link in code)