Join our fan page
- Views:
- 5885
- Rating:
- Published:
- 2018.11.20 12:53
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
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 Ltd.
Original code: https://www.mql5.com/ru/code/22940

Slope Direction Line / Moving Average confirmation candles indicator

Slope Direction Line / Moving Average confirmation bars indicator