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:
5066
Rating:
(9)
Published:
2018.08.23 13:28
IdeaTrend.mq5 (10.79 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

IdeaTrend is meant for checking a trend defining idea.

The indicator has three input parameters:

  • Period - calculation period;
  • Method - calculation method;
  • Threshold - trend direction threshold.

Calculation:

Idea = (MAH - MAC) / (MAC - MAL)

where:

MAH = MA(High, Period, Method)
MAL = MA(Low, Period, Method)
MAC = MA(Close, Period, Method)
  • If the indicator histogram exceeds the Threshold line, the trend is considered downwards and the histogram columns are colored in red;
  • If the indicator histogram is below the Threshold line, the trend is considered upwards and the histogram columns are colored in green.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21528

Separate Trade Separate Trade

iATR (Average True Range, ATR) and iStdDev (Standard Deviation, StdDev) indicators are configured for crossing of the two iMAs (Moving Average, MA) plus for Buy and Sell separately.

Crossing Moving Average Crossing Moving Average

The EA is based on two iMAs (Moving Average, MA) and iMomentum (Momentum) filter crossing.

KDJ KDJ

KDJ oscillator defines when it is necessary to search for market entry conditions.

KDJ_Averages KDJ_Averages

KDJ Averages oscillator defines when it is necessary to search for market entry conditions. Unlike KDJ, it is calculated using standard smoothing methods. In case of the default settings, its J line is slightly faster.