Vertical Horizontal Moving Average [AneoPsy & alexgrover] Moving average adapting to the strength of the trend, this is made possible by using the square of the vertical-horizontal filter as a smoothing factor. Alerts are included with two different types of conditions available to the user.
Settings
Length : Period of the moving average
Src : Input data for the indicator
Alerts : Types of conditions to be used in the alerts, when set to "VHMA Direction Change" alerts are triggered once the VHMA is either rising or declining, else the alerts are based on the crosses between Src and the VHMA
Usage
The VHMA can be used as a fast or slow-moving average in a moving average crossover system, or as input for other indicators.
VHMA of with length = 25 and sma with length = 200.
VHMA with length = 25 used as input for the RSI with length = 14.
Details
The vertical-horizontal filter is a measure of the strength of the trend and lay in a (0,1) range, to calculate it you just need to divide the rolling range over with the rolling sum of the absolute price changes, squaring the result allow to get lower results with higher values of length .
Squared vertical horizontal filter with length = 50, the value is low when the market is ranging and high when trending.
To set the alerts go in the alert panel, click on create alert, and select VHMA in "condition", choose between the buy or sell alert. If Src = closing price or another indicator dependant on the closing price select in options "once per bar close", if the indicator using the opening or lagged closing prices values as input select "One per bar" instead.
Thanks
Thanks to AneoPsy for adding the color change, the idea to use two kinds of conditions for the alert, and for its feedback, you can follow him
www.tradingview.com
and finally thanks to you for reading and for your support, only one last script left for the month, then we'll start July with some pretty interesting indicators, I hope you'll like them ^^/
Adaptive Moving Average (AMA)
The V_Wave: Volatility Adaptive Moving AverageThis is work in progress - but i wanted to see if there's interest to use or test it - or if someone finds it useful. there's already a crowd of great moving averages out there :)
This is a different type of zero-lag weighted moving average - and it's a concept that i have been working on for a while now. Given that this is WIP, i decided to keep the code protected for now.
The idea is to create a moving average that responds faster to the changes in the underlying data - which is the case with other zero-lag moving averages - but in this case, i also wanted to make it adaptive, so it accelerate when the volatility increases and at the same time, maintain limited lag and reasonable smoothing, even at longer length.
How Does it Compare to other MA's
==============================
in the chart, we can see a comparison between the V_Wave (thick yellow line) and the 3 common MAs, Hull Moving Average (HMA, aqua), a Weighted Moving Average (WMA, brown) and an Exponential Moving Average (EMA, grey)
the most important advantage in V_Wave, is because of the way the algorithm works, and that it maintains direct association with the underlying data and the given length, the V_Wave will have less overshoot when compared to other moving averages - i.e, it stays closer to the underlying data points at times of quick reversals or big changes - like the V reversal on the right of the chart. You can also test it against other MAs you may be already using and share your findings back with me.
settings:
=========
- the settings provide the ability to choose the source data (close vs hl2, ..etc), the length, and the ability to adjust the "aggressiveness" of the line (Accelerator) ..
- this accelerator is the factor that tells the V_Wave how fast to respond to the volatility changes. when you increase the accelerator, the V_Wave is more aggressive, and will respond faster to changes in volatility -- it becomes more responsive to changes in the trend, but that will sacrifice the smoothness of the line.
- i capped this value to 7, because beyond that, the accelerator will have a diminished effect.
- Also note that due to association with volatility, the V_Wave will behave differently at lower time frames -- and becomes closer to an EMA but better (in responsiveness) than a WMA.
- the smoothing is built-in for now, and will adjust based on the length, in a way similar to how HMA smoothing works (see my previous post on Evolving the Zero Lag MA for details on that) - in future versions, i may make it a manual entry or a selection between manual/automatic
Usage:
=======
Use the V_Wave as you use other moving averages - once you get to know how it behaves and adapts to underlying data changes.
you can use it as a filter to generate signals once it crosses other MAs, or another V_Wave of a different length / acceleration.
will be great if you share your test results and your use cases to help me improve how the V_Wave works.
best of luck!
Moving Average Adaptive QThe Moving Average Adaptive Q (MAAQ) was authored by Perry Kaufman in the Stocks and Commodities Magazine 06/1995
This is similar to his Kaufman Adaptive Moving Average with a few changes. This is a pretty close moving average which I like quite a bit. Try it and let me know what you think.
Send me a message and let me know what other indicators you would like to see!
AMA_L/S_Sig- Fast EMA, Slow EMA Cross Strategy
- Use AMA for Slow
- Fast is expressed in some smoothing ways
- Hyper parameters not tuned
- For reference purposes
Minkowski Distance Factor Adaptive Period MACDHi, this script comes from the idea that Ricardo Santos' Minkovski Distance Function is transferred to the period as a factor.
Minkowski distance is used as a percentage factor with the help of Relative Strength Index function.
Minkowski Distance Function Script :
And thus an adaptive MACD was created.
This script can give much better results in more optimized larger periods.
I leave the decision to determine the periods and weights.
I used the weights of 9,12,26 and periods created with multiplied by factor.
Regards.
Deviation Scaled Moving Average [ChuckBanger]This is a deviation scaled moving average original designed by John Ehlers. It is a new adaptive moving average that has the ability to rapidly adapt to volatility in price movement with minimal lag. Because it is so smooth and adapts to the volatility of the market it is by far a really great tool for spotting trend changes
MTF IQ IFM Moving AverageMTF ready adaptive MA using Ehler's IQ IFM ( In Phase - Quadrature Instantaneous Frequency Measurement ).
Ehler's formula is a method of quantitatively measuring the length of a market cycle. In this case it is used to calculate the "optimal" adaptive EMA.
Theoretically the length generated by Ehler's formula could be used in many indicators and it's been placed within it's own function so you should be able to simply copy/paste it. HOWEVER pine will not accept series variables for the length input used in built-in functions. You will have to manually code (or find) a version of your indicator that doesn't use the pine built in.
Options :
type : optionally add volume weighting
range : historical range used in IQ IFM
cycle length mult : method to create faster/slower MAs. eg 0.5 is half the length of a cycle and a faster EMA ie EMA10 vs EMA20
low sat fix : some cryptocurrencies with low satoshi values cause an issue with the calculation, if you get no/nonsensical lines, enable this. Shouldn't affect other instruments, but can be disabled just in case.
MTF options: run the calculation on an alternative timeframe
--------------------------------------
If you find it useful please consider a tip/donation :
BTC - 3BMEXEDyWJ58eXUEALYPadbn1wwWKmf6sA
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
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 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 !
[CS] AMA Strategy - Channel Break-Out"There are various ways to detect trends with moving averages. The moving average is a rolling filter and uptrends are detected when either the price is above the moving average or when the moving average’s slope is positive.
Given that an SMA can be well approximated by a constant-α AMA, it makes a lot of sense to adopt the AMA as the principal representative of this family of indicators. Not only it is potentially flexible in the definition of its effective lookback but it is also recursive. The ability to compute indicators recursively is a very big positive in latency-sensitive applications like high-frequency trading and market-making. From the definition of the AMA, it is easy to derive that AMA > 0 if P(i) > AMA(i-1). This means that the position of the price relative to an AMA dictates its slope and provides a way to determine whether the market is in an uptrend or a downtrend."
You can find this and other very efficient strategies from the same author here:
www.amazon.com
In the following repository you can find this system implemented in lisp:
github.com
To formalize, define the upside and downside deviations as the same sensitivity moving averages of relative price appreciations and depreciations
from one observation to another:
D+(0) = 0 D+(t) = α(t − 1)max((P(t) − P(t − 1))/P(t − 1)) , 0) + (1 − α(t − 1))D+(t − 1)
D−(0) = 0 D−(t) = −α(t − 1)min((P(t) − P(t − 1))/P(t − 1)) , 0)+ (1 − α(t − 1))D−(t − 1)
The AMA is computed by
AMA(0) = P(0) AMA(t) = α(t − 1)P(t) + (1 − α(t − 1))AMA(t − 1)
And the channels
H(t) = (1 + βH(t − 1))AMA(t) L(t) = (1 − βL(t − 1))AMA(t)
For a scale constant β, the upper and lower channels are defined to be
βH(t) = β D− βL(t) = β D+
The signal-to-noise ratio calculations are state dependent:
SNR(t) = ((P(t) − AMA(t − 1))/AMA(t − 1)) / β D−(t) IfP(t) > H(t)
SNR(t) = −((P(t) − AMA(t − 1))/AMA(t − 1)) / β D−(t) IfP(t) < L(t)
SNR(t) = 0 otherwise.
Finally the overall sensitivity α(t) is determined via the following func-
tion of SNR(t):
α(t) = αmin + (αmax − αmin) ∗ Arctan(γ SNR(t))
Note: I added a moving average to α(t) that could add some lag. You can optimize the indicator by eventually removing it from the computation.
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
Dynamically Adjustable Moving AverageIntroduction
The Dynamically Adjustable Moving Average (AMA) is an adaptive moving average proposed by Jacinta Chan Phooi M’ng (1) originally provided to forecast Asian Tiger's futures markets. AMA adjust to market condition in order to avoid whipsaw trades as well as entering the trending market earlier. This moving average showed better results than classical methods (SMA20, EMA20, MAC, MACD, KAMA, OptSMA) using a classical crossover/under strategy in Asian Tiger's futures from 2014 to 2015.
Dynamically Adjustable Moving Average
AMA adjust to market condition using a non-exponential method, which in itself is not common, AMA is described as follow :
1/v * sum(close,v)
where v = σ/√σ
σ is the price standard deviation.
v is defined as the Efficacy Ratio (not be confounded with the Efficiency Ratio) . As you can see v determine the moving average period, you could resume the formula in pine with sma(close,v) but in pine its not possible to use the function sma with variables for length, however you can derive sma using cumulation.
sma ≈ d/length where d = c - c_length and c = cum(close)
So a moving average can be expressed as the difference of the cumulated price by the cumulated price length period back, this difference is then divided by length. The length period of the indicator should be short since rounded version of v tend to become less variables thus providing less adaptive results.
AMA in Forex Market
In 2014/2015 Major Forex currencies where more persistent than Asian Tiger's Futures (2) , also most traded currency pairs tend to have a strong long-term positive autocorrelation so AMA could have in theory provided good results if we only focus on the long term dependency. AMA has been tested with ASEAN-5 Currencies (3) and still showed good results, however forex is still a tricky market, also there is zero proof that switching to a long term moving average during ranging market avoid whipsaw trades (if you have a paper who prove it please pm me) .
Conclusion
An interesting indicator, however the idea behind it is far from being optimal, so far most adaptive methods tend to focus more in adapting themselves to market complexity than volatility. An interesting approach would have been to determine the validity of a signal by checking the efficacy ratio at time t . Backtesting could be a good way to see if the indicator is still performing well.
References
(1) J.C.P. M’ng, Dynamically adjustable moving average (AMA’) technical
analysis indicator to forecast Asian Tigers’ futures markets, Physica A (2018),
doi.org
(2) www.researchgate.net
(3) www.ncbi.nlm.nih.gov
ACAT Period Tracker (2000-4000 Std-Res) [acatwithcharts]This is the corresponding period length tracker for ACAT (2000-4000 Std-Res). The constraints of Pinescript make it necessary to plot a separate indicator in a separate window to actually read out the period numbers without massively skewing the chart by default.
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 release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. 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 (2000-4000 Std-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.
The best solution I've managed to find to the variable count limits in Pinescript is to split the indicator into two that cover different ranges - and that aspect also theoretically allows for some other variations.
I've had difficulty increasing the resolution much without needing a huge number of individual indicators and running into constant Pinescript timeout issues. One thing that I can do, however, is extend the range further out.
Note that "Std-Res" here for this higher range was decided mostly based on, "What do I think I can get to work for higher than 2000 about as often as the existing 600-2000 indicator?" and is semi-arbitrary. At higher period lengths, the spread between different MAs decreases so less resolution is needed, while the calculation times increase dramatically, so this script is necessarily a lot less dense than the lower lengths. Sometimes this will load much faster as a result. I'm generally finding both struggle on shorter timeframes.
Keep in mind some caveats: resolution at these lengths is lower and finding relevant period lengths this far out necessarily means you should be trading them on higher timeframes. If you see something on the 3000 period on the 4h, you're talking about events happening near W benchmark length moving averages. If you see something in these periods lengths on the D timeframe as with some parabolic bubbles/crashes, you're looking at very macro pivots and targets happening near M benchmark length moving averages.
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 release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. 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 (600-2000 Std-Res) [acatwithcharts](This is a reupload to help standardize the names in the invite-only indicators listing, which was otherwise doomed to be forever confusing.)
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.
The best solution I've managed to find to the variable count limits in Pinescript is to split the indicator into two that cover different ranges. This version covers period lengths from 600-2000 at the same resolution seen in Mean Reversion MA and Compression MA. I've then added a toggle-able feature to hide the lower indicator's plot while it's maxed out which makes them look roughly stitched together and has a nice added benefit that it require less work by the higher period script so it loads more quickly.
The hope is to replace several indicators that have periodic issues timing out with fewer, which should be substantially more convenient to use and on average mean dealing with fewer refreshes.
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 release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. 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-600 Std-Res) [acatwithcharts]
(This is a reupload to help standardize the names in the invite-only indicators listing, which was otherwise doomed to be forever confusing.)
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.
The best solution I've managed to find to the variable count limits in Pinescript is to split the indicator into two that cover different ranges. This version covers period lengths from 14-600 at the same resolution seen in the "600 Max" versions of Mean Reversion MA and Compression MA. I've then added a toggle-able feature to hide the lower indicator's plot while it's maxed out which makes them look roughly stitched together and has a nice added benefit that it require less work by the higher period script so it loads more quickly.
The hope is to replace several indicators that have periodic issues timing out with fewer, which should be substantially more convenient to use and on average mean dealing with fewer refreshes.
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 release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. 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 Period Tracker (14-2000 Half-Res) [acatwithcharts]This is the corresponding period length tracker for ACAT (14-2000 Half-Res). The constraints of Pinescript make it necessary to plot a separate indicator in a separate window to actually read out the period numbers without massively skewing the chart by default.
Taking some lessons from how subscribers ended up making best use of the period length trackers for my prior scripts, I've set the default line widths wide so that it pairs well on the same window as 3D WAVE-PM. Notably, you would need to use both standard range coverage of 3D WAVE-PM and the Hi-Res 605-2000 period version to pair with this higher tracking range in that setup.
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 release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. 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 Period Tracker (14-600 Std-Res) [acatwithcharts]This is the corresponding period length tracker for ACAT (14-600 Std-Res). The constraints of Pinescript make it necessary to plot a separate indicator in a separate window to actually read out the period numbers without massively skewing the chart by default.
Taking some lessons from how subscribers ended up making best use of the period length trackers for my prior scripts, I've set the default line widths wide so that it pairs well on the same window as 3D WAVE-PM.
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 release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. 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 Period Tracker (600-2000 Std-Res) [acatwithcharts]This is the corresponding period length tracker for ACAT (600-2000 Std-Res). The constraints of Pinescript make it necessary to plot a separate indicator in a separate window to actually read out the period numbers without massively skewing the chart by default.
Taking some lessons from how subscribers ended up making best use of the period length trackers for my prior scripts, I've set the default line widths wide so that it pairs well on the same window as 3D WAVE-PM. Notably, you would need to use the Hi-Res 605-2000 period version to pair with this higher tracking range in that setup.
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 release a video explaining how to use this indicator coinciding with launch, as there's a lot to talk about. 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