The indicator plots the smoothed value of the following experession:
where ExtPeriodAcc is the accelerator period, defined by "Acc period" input parameter.
The smoothing is carried out by four-pass EMA with period, specified in the "MA period" input parameter.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/192
It plots the bar-averaged price charts (median price).ytg_Percent_Lot
The script calculates the number of lots to trade using the specified percentage of risk funds.