Guarda come scaricare robot di trading gratuitamente
Ci trovi su Facebook!
Unisciti alla nostra fan page
Unisciti alla nostra fan page
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
VolatilityMA - indicatore per MetaTrader 5
- Visualizzazioni:
- 3193
- Valutazioni:
- Pubblicato:
- 2018.07.09 11:06
- Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
The indicator represents a moving average that resets its calculation period, as soon as the current standard deviation exceeds the previous one twice or more when the bar is closing.
It is useful for detecting the trade direction.
There are three adjustable parameters:
- Period - calculation period
- Barrier - if this barrier is exceeded, the period calculation is reset to the minimum
- Applied price - calculation price
VolMA = SMA(Price, Length)
where:
Price = Applied price PrevPrice = previous Applied price
If Abs(sDevNow) > Barrier Length = 1 otherwise Length = PrevLength+1
sDevNow = RAW / Price * sDev sDev = SQRT(VAR / Period)
VAR = POW(RAW[Period] + RawAVG
RAW = (Price - PrevPrice) / Price RawAVG = SMA(RAW, Period)
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/20994