acatwithcharts

Compression Period Tracker (600 Max) [SharkCharts.live]

Compression Period Tracker is the companion script to Compression MA to read out the period length that is actually being tracked. It is analogous to Mean Reversion Period Tracker, and makes sense to use in the same indicator window when using the two sets of indicators together on the same chart.

This version caps the maximum period length at 600, an empirically-chosen number based on some testing of Mean Reversion MA to try to avoid picking overly distant targets and which dramatically improves stability. In practice, it should be extraordinarily rare for compression MA to need to track something longer than 600, small TFs notwithstanding.




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
Release Notes:
General refinements ahead of formal release. Adds a separate function with a different color scheme for displaying the current longest overexpanded period.
Release Notes:
Minor visual change in how bands are handled where a period is not being tracked.
Release Notes:
I accidentally published Compression MA (600 Max) over this script. Reverted.
Release Notes:
Increased default line thickness as it's becoming popular among subscribers to overlay the period tracker scripts over 3D WAVE-PM in the same window, for which the increased thickness is very helpful in visually distinguishing the indicator.

My volatility-based indicators are available for sale at SharkCharts.live

Feel free to reach out to me with any questions; more information is available on the SharkCharts website and the SharkCharts discord discord.gg/YVpTeSK
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact acatwithcharts for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

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.

Want to use this script on a chart?

Warning: please read before requesting access.