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:
- 11768
- Rating:
- Published:
- 2011.09.20 11:27
- Updated:
- 2023.03.29 13:43
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator is a combination of the FATL digital filter and analogue JMA adaptive smoothing.
The average is calculated the following way:
JFATL[bar] = JMA(FATL(PRICE[bar]))
where:
- FATL() - FATL digital filter value;
- JMA() - JMA adaptive smoothing algorithm;
- PRICE[] - price series value;
- bar - current bar index.
Additional JMA smoothing is used to prevent the indicator activation at each occasional market move.
ColorJFatl and JFatl indicators use the CJJMA class of the SmoothAlgorithms.mqh library. The use of the class was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Additional Buffers".
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/430