Compression MA is an experimental indicator which modifies Mean Reversion MA with a twist: it instead tracks the most compressed period on a given timeframe as a target for eventual mean reversion. This is a twist on the logic for trading volatility mean reversions in that here we work from the assumption that a period of compression means that there's volatility overhead that should provide resistance to a breakout. The compression MA should therefore help define range-bound areas and help predict intermediate resistances.
This required some tweaking of Mean Reversion MA rather than just making a modification to enable more features on that script, but much of the logic and settings are similar. I've also added an option on this script to turn off tracking and just give the current most compressed period, if any, which creates an entirely different chart and is great for identifying and defining areas of sideways, strongly range-bound compression, which should be scalpable.
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