Guarda come scaricare robot di trading gratuitamente
Ci trovi su Telegram!
Unisciti alla nostra fan page
Unisciti alla nostra fan page
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
- Visualizzazioni:
- 11076
- Valutazioni:
- Pubblicato:
- 2011.09.05 16:14
- Aggiornato:
- 2023.03.29 13:43
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
This indicator is calculated the following way:
LRMA[bar] = 3.0 * LWMA(Price[bar]) - 2.0 * SMA(Price[bar])
where:
- LWMA() - linearly weighted smoothing;
- SMA() - simple smoothing;
- PRICE[] - price series value;
- bar - current bar index.
This indicator clearly shows market trends dividing a price chart into two sectors. If a price is above the indicator line, the trend is going upwards. If a price is below the indicator line, the trend is going downwards.
The indicator uses the classes from the SmoothAlgorithms.mqh and IndicatorsAlgorithms.mqh libraries (they must be placed to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly descirbed in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/429