Moving average, as well as any other indicator, may be calculated on the basis of 7 price constants only. The proposed modification of moving average will allow to calculate the indicator on the basis of any combination of 4 basic prices (close, open, high, low).
So, the trader may draw moving average by any combination of 4 basic prices. In case if coefficient will be balow or equel zero, the appropriate price will not be used for calculation of individual price constant.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/10861
This set of scripts has been designed to scale-in your trades as price action runs in your favor. This will maximize profits due to proper pyramiding, decrease the impact of unprofitable trading decisions and in general, make your life easier.VR---ORDERS
Indicator displays information about the current positions