# Barbwire

This indicator looks for where market momentum is waning.
It uses Heikin-Ahi for that.
Heikin-Ashi averages the Open and Close prices, so the entity is not compressed as often as candles.
Using this characteristic, the continued compression of the entity is indicated as a decline in the market.

Settings:
Period - The degree of compression is calculated as a stochastic-like percentage. Specify the period to be used for the calculation.
Level(%) - If it is smaller than this number, it is assumed to be compressed.
Minimum period - The agreement shall be valid if it has been continued for at least this period.

In addition to the calculation using Stochastic, the ranking method is used to calculate and synthesize the results.

• Added an option 'Smallest bar'
• Added an option 'Largest bar'