The MA is calculated based on the data of the RSI, the Bollinger displays the channel.
When the RSI is in an overbought area and goes down, while crossing the MA, it is a remarkable sell signal. The buy signal is exactly the opposite. And if there is a divergence between the MA of the price and the MA indicator of the same period, then it is really good. It is recommended to monitor the signal on several timeframes. Preferably D1, Н4, Н1, М5.
The second one is fixed, does not lag on ticks
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/7158
Script for the calculation of the third Elliott wave4 Period MA
Indicates the number of periods for the calculation of the average line.