Join our fan page
- Views:
- 5176
- Rating:
- Published:
- 2018.08.23 13:28
-
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](https://c.mql5.com/i/code/expert.png)
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](https://c.mql5.com/i/code/expert.png)
The EA is based on two iMAs (Moving Average, MA) and iMomentum (Momentum) filter crossing.
![KDJ](https://c.mql5.com/i/code/indicator.png)
KDJ oscillator defines when it is necessary to search for market entry conditions.
![KDJ_Averages](https://c.mql5.com/i/code/indicator.png)
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.