Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Rejoignez notre page de fans
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
- Vues:
- 3138
- Note:
- Publié:
- 2018.07.09 11:07
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur 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
Traduit du russe par MetaQuotes Ltd.
Code original : 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.