Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 8573
- Rating:
- Published:
- 2010.09.21 11:23
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator plots the smoothed value of the following experession:
Out[i]=MathLog(Close[i]/Close[i+ExtPeriodAcc]),
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.
Input parameters:
- Acc period – accelerator period;
- MA period – averaging period;
- N History - number of bars to plot.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/192

It plots the bar-averaged price charts (median price).

The script calculates the number of lots to trade using the specified percentage of risk funds.

The indicator plots a price channel using the Hodrick-Prescott Filter.

The indicator shows the position of the current price in a channel.