Join our fan page
- Views:
- 2674
- Rating:
- Published:
- 2018.07.09 11:08
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Moving average AbsolutelyNoLagLwma displaying the most recent values as a price label, with the possibility to round the indicator levels to a required number of digits. The number of digits to round is defined by the indicator's input variable Digit:
input uint Digit=3; //Number of digits to round to
If the close price is above the moving average, then the price color is green; if it is below that, then it is red.
Fig 1. Indicator AbsolutelyNoLagLwma_Digit
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21000
![ColorXDerivative](https://c.mql5.com/i/code/indicator.png)
Indicator Derivative additionally smoothed and made as a color histogram
![AbsolutelyNoLagLwma_x2_cloud_HTF](https://c.mql5.com/i/code/indicator.png)
Two indicators AbsolutelyNoLagLwma from different timeframes, the area between lines being filled with a cloud, the color of which corresponds with the trend direction on the market
![Exp_ColorX2MA_X2](https://c.mql5.com/i/code/expert.png)
Trend-following trading system Exp_ColorX2MA_X2 based on the signals of two indicators ColorX2MA
![ColorX2MA_HTF](https://c.mql5.com/i/code/indicator.png)
Indicator ColorX2MA with the timeframe selection option available in the input parameters