Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/7439
The BW2 - WiseMan 1 indicator. Based on the book by Bill Williams - Trading Chaos Second Edition.TMA
Here, the focus is on the middle part of the price series. In fact, they are double-smoothed simple moving averages. The simple Moving Averages' length depends on evenness or oddness of the chosen number of periods.