Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Unisciti alla nostra fan page
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
- Visualizzazioni:
- 3137
- Valutazioni:
- Pubblicato:
- 2018.07.09 11:07
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
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
//+----------------------------------------------+ //| INDICATOR INPUT PARAMETERS | //+----------------------------------------------+ input ENUM_TIMEFRAMES TimeFrame1=PERIOD_H1;//Chart timeframe input ENUM_TIMEFRAMES TimeFrame2=PERIOD_H4;//Chart timeframe //+----------------------------------------------+ //| INDICATOR INPUT PARAMETERS | //+----------------------------------------------+ input uint Length=7; // smoothing depth input Applied_price_ IPC=PRICE_CLOSE_;//Price constant input int Shift=0; // horizontal shift in bars input int PriceShift=0; // vertical shift in points
For the indicator to operate, the AbsolutelyNoLagLwma.ex5 indicator must be added to the <terminal_data_directory>\MQL5\Indicators folder.
Fig 1. Indicator AbsolutelyNoLagLwma_x2_cloud_HTF
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/20998
![ColorXDerivative](https://c.mql5.com/i/code/indicator.png)
Indicator Derivative additionally smoothed and made as a color histogram
![AbsolutelyNoLagLwma_Digit](https://c.mql5.com/i/code/indicator.png)
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.