OPEN-SOURCE SCRIPT

Mora's Compression Indicator

Introducing Mora's Price Compression indicator.

One of the biggest challenges in trading strategies is to differentiate between zones in which price is consolidated (so called squeezed) and zones of price expansion. Zones of consolidation can indicate traders' indecision or the creation of order blocks, but regardless of their mechanism, most indicators behave differently in those areas as oppose to times when price is trending.

A traditional indicator of consolidation zones is the so call Squeeze, which combines Bollinger Bands and Keltner’s Channels.. although broadly used, its interpretation is not quite straightforward.

Here a new indicator is introduced to identify areas of consolidation or expansion based on current and historical volatility.

Ultimately we know the price is consolidated (current volatility) when it starts raging within a narrower band that we are use to see (Historical volatility), so the ratio of the current to historical volatility becomes a straightforward identification of consolidation zones and that is what this indicator provides.

The indicator is scaled such that values near zero mean price is compressed and values near 100 price is over-extended. The indicators is designed to allow different time-frames, while avoiding repainting.

Bands and ChannelssqueezevolatilidadVolatility

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור