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:
- 4252
- Rating:
- Published:
- 2018.06.06 12:35
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The MACD indicator, calculated based on a Moving Average which is constructed by the Linear Regression method (LSMA Linear regression MA).
It has five input parameters:
- Fast LSMA period - fast LSMA calculation period;
- Slow LSMA period - slow LSMA calculation period;
- Signal period - period of MACD signal line;
- Signal method - the smoothing method for the MACD signal line;
- Signal applied price - price used for the calculation of the MACD signal line.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20260

The script draws horizontal lines representing BUY (blue) and SELL (red) orders.

The MESA Adaptive Moving Average (MAMA) and the Following Adaptive Moving Average (FAMA) combination made to be multi timeframe.

A trend indicator: High/Low Linear regression band.

A trend indicator: Smoothed High/Low Linear regression band.