Levels Of Fear [AstrideUnicorn]

"Buy at the level of maximum fear when everyone is selling." - says a well-known among traders wisdom. If an asset's price declines significantly from the most recent highest value or established range, traders start to worry. The higher the drawdown gets, the more fear market participants experience. During a sell-off, a feedback loop arises, in which the escalating fear and price decline strengthen each other.

The Levels Of Fear indicator helps analyze price declines and find the best times to buy an asset after a sell-off. In finance, volatility is a term that describes the degree of variation of an asset price over time. It is usually denoted by the letter σ (sigma) and estimated as the standard deviation of the asset price or price returns. The Levels Of Fear indicator helps measure the current price decline in the standard deviation units. It plots seven levels at distances of 1, 2, 3, 4, 5, 6, and 7 standard deviations (sigmas) below the base price (the recent highest price or upper bound of the established range). In what follows, we will refer to these levels as levels of fear.


When the price in its decline reaches a certain level of fear, it means that it has declined from its recent highest value by a corresponding number of standard deviations. The indicator helps traders see the minimum levels to which the price may fall and estimate the potential depth of the current decline based on the cause of the actual market shock. Five-seven sigma declines are relatively rare events and correspond to significant market shocks. In the lack of information, 5-7 sigma levels are good for buying an asset. Because when the price falls that deep, it corresponds to the maximum fear and pessimism in the market when most people are selling. In such situations, contrarian logic becomes the best decision.


Window: the averaging window or period of the indicator. The algorithm uses this parameter to calculate the base level and standard deviations. Higher values are better for measuring deeper and longer declines.

Levels Stability: the parameter used in the decline detection. The higher the value is, the more stable and long the fear levels are, but at the same time, the lag increases. The lower it is, the faster the indicator responds to the price changes, but the fear levels are recalculated more frequently and are less stable. This parameter is mostly for fine-tuning. It does not change the overall picture much.

Mode: the parameter that defines the style for the labels. In the Cool Guys Mode, the indicator displays the labels as emojis. In the Serious Guys Mode, labels show the distance from the base level measured in standard deviation units or sigmas.

Our premium trading indicators:

Join our Discord community:
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


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?