PINE LIBRARY
Updated

Adaptive FoS Library

95
This library provides Adaptive Functions that I use in my scripts. For calculations, I use the max_bars_back function with a fixed length of 200 bars to prevent errors when a script tries to access data beyond its available history. This is a key difference from most other adaptive libraries — if you don’t need it, you don’t have to use it.
Some of the adaptive length functions are normalized. In addition to the adaptive length functions, this library includes various methods for calculating moving averages, normalized differences between fast and slow MA's, as well as several normalized oscillators.
Release Notes
Minor update to VFI function for non repaint purpose
Release Notes
Add standard deviation function
Release Notes
v4 Update VWMA function. minor other updates
Release Notes
Add volume MaxBarsBack for avoid errors
Release Notes
v6 cleanup unused functions

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.