OPEN-SOURCE SCRIPT
Updated

Rolling midpoints

4350
The script made for research purposes which plots these statistics of a given window: Mid-range (max + min)/2, Lower midpoint (mid-range + min)/2, and Higher midpoint (mid-range + max)/2.
This could be interesting when checking periods with sample size <= 0, or checking distros with srs kurtosis values.

Mean & median are also there.
Release Notes
Rolling window minimum & maximum addes

Don't forget to check Log-space if you use logarithmic scale.
Release Notes
The complete version

Now you can choose mid-range, mean or median as basis, will result diving the distance between chosen basis and extremums of rolling window
Release Notes
Trimean L-estimator was added as basis for research purposes (disabled by default)
Release Notes
New:
- All data switch;
- OTF functionality.
Release Notes
New:
- "High & low" option allows to make calculations based on lowest lows and highest highs.

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.