Both VI+ and VI- lines are also drawn. As I use adaptive length calculation in my other scripts (based on the libraries I've developed and published), I have also included the possibility to have an adaptive length here, so if you hate the idea of calculating from VI, you can disable that line and just look at the adaptive Indicator.
Note that as with all my oscillators, all the lines here are renormalized to -1..1 range unlike the original Indicator computation. To do that for VI+ and VI- lines, I subtract 1 from their values. It does not change the shape or the amplitude of the lines.
Adaptation algorithms are roughly subdivided in two categories: classic Length Adaptations and Cycle Estimators (they are also implemented in separate libraries), all are selected in Adaptation dropdown. Length Adaptation used in the Adaptive Moving Averages and the Adaptive Oscillators try to follow price movements and accelerate/decelerate accordingly (usually quite rapidly with a huge range). Cycle Estimators, on the other hand, try to measure the cycle period of the current market, which does not reflect price movement or the (the may also differ depending on the cycle phase, but the cycle period itself usually changes slowly).
- VIDYA - based on algorithm. The period oscillates from the Lower Bound up (slow)
- VIDYA-RS - based on Vitali Apirine's modification of algorithm (he calls it Moving Average). The period oscillates from the Upper Bound down (fast)
- Kaufman Efficiency Scaling - based on Efficiency Ratio calculation originally used in
- Fractal Adaptation - based on by John F.
- MESA Cycle - based on by John F.
- Pearson Autocorrelation* - based on Pearson Autocorrelation Periodogram by John F.
- DFT Cycle* - based on Discrete Fourier Transform Spectrum estimator by John F.
- Phase Accumulation* - based on Dominant Cycle from Phase Accumulation by John F.
Length Adaptation usually take two parameters: Bound From (lower bound) and To (upper bound). These are the limits for Adaptation values. Note that the Cycle Estimators marked with asterisks(*) are very computationally intensive, so the bounds should not be set much higher than 50, otherwise you may receive a timeout error (also, it does not seem to be a useful thing to do, but you may correct me if I'm wrong).
The Cycle Estimators marked with asterisks(*) also have 3 checkboxes: HP (Highpass Filter), SS (Super Smoother) and HW (Hann Window). These enable or disable their internal prefilters, which are recommended by their author - John F. . I do not know, which combination works best, so you can experiment.
If no Adaptation is selected (None option), you can set Length directly. If an Adaptation is selected, then Cycle multiplier can be set.
The oscillator also has the option to configure the internal smoothing function with Window setting. By default, RMA is used (like in calculation). Fast Default option is using half the length for smoothing. Triangle, Hamming and Hann Window algorithms are some better smoothers suggested by John F. .
After the oscillator a Moving Average can be applied. The following Moving Averages are included: , RMA, , , , 2-pole Super Smoother, 3-pole Super Smoother, Filt11, Triangle Window, Hamming Window, Hann Window, Lowpass, DSSS.
Postfilter options are applied last:
- Stochastic -
- Super Smooth Stochastic - Super Smooth (part of MESA ) by John F.
- Inverse Fisher Transform - Inverse
- Noise Elimination Technology - a simplified Kendall correlation algorithm "Noise Elimination Technology" by John F.
- Momentum - momentum (derivative)
Except for Inverse , all Postfilter algorithms can have Length parameter. If it is not specified (set to 0), then the calculated Slow MA Length is used. If Filter/MA Length is less than 2 or Postfilter Length is less than 1, they are calculated as a multiplier of the calculated oscillator length.
More information on the algorithms is given in the code for the libraries used. I am also very grateful to other TradingView community members (they are also mentioned in the library code) without whom this script would not have been possible.
Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.