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:
- 4765
- Rating:
- Published:
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator draws a moving average line calculated based in the low and high prices over the given interval of bars.
Calculation formula
MinMaxMA[i] = (Min + Max)/2
where Min, Max are the lowest and the highest prices in the range between (i-Period + 1) and (i).
It has two parameters:
- Period - calculation period;
- Applied price - price used for calculations.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/19958
MACD_Signal_Divergence
The indicator searches for divergences and displays them on the chart of the signal line of the custom MACD indicator.
MACD_Divergence
The indicator searches for divergences and displays them on the chart of the custom MACD indicator.
Other_Candles
The indicator draws candlesticks in a separate window in the form of a histogram from the zero line.
Patterns
A set of thirty popular candlestick patterns.