Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
3743
Rating:
(10)
Published:
2018.06.06 12:35
LR_MACD.mq5 (18.64 KB) view
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

ProfLine ProfLine

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

MAMA + FAMA Multi Timeframe MAMA + FAMA Multi Timeframe

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

HL_MA_Band HL_MA_Band

A trend indicator: High/Low Linear regression band.

SHL_MA_Band SHL_MA_Band

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