Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


Moving Average applied price - indicator for MetaTrader 5

Vladimir Karputov | English Русский 中文 Español Deutsch 日本語

votes: 9
2018.11.20 12:53

Why was there a need to improve the standard indicator? I wanted to test Moving Average indicator ([data folder]Indicators\Examples\Custom Moving Average.mq5) in the tetser, since this gives an idea of the connection between bars formation and the indicator. But as it turned out, you cannot select a price type from the ENUM_APPLIED_PRICE enumeration for the standard Moving Average during a test.

Therefore, the Type of price parameter has been added. Now, it is possible to set a price type when testing for Moving Average:

Translated from Russian by MetaQuotes Software Corp.
Original code:

Slope_MA_Confirmation Slope_MA_Confirmation

Slope Direction Line / Moving Average confirmation candles indicator

Slope_Direction_Line_Bar Slope_Direction_Line_Bar

Slope Direction Line / Moving Average confirmation bars indicator

Mean_Indicator Mean_Indicator

Mean Indicator indicator

Candle_Range_Envelop Candle_Range_Envelop

Candle Range Envelop indicator