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
- Visualizzazioni:
- 3696
- Valutazioni:
- Pubblicato:
- 2018.07.13 15:34
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
Oscillator MM (Market Mode) allows assessing the market state: In trend state or in cyclic state.
It has three configurable parameters:
- Period - calculation period;
- Delta - coefficient to calculate market waves;
- Fraction - half-width of the channel.
Calculations:
Mode = SMA(BP, Period2) Peak = Fraction * SMA(FPeak, 50) Valley = Fraction * SMA(FValley, 50)
where:
BP = 0.25 * (1-Alpha) * (High + Low - High[2] - Low[2]) + Beta * (1+Alpha) * PrevBP - Alpha * BP[2]
If PrevBP > BP and PrevBP > BP[2]:
FPeak = PrevBP
otherwise:
FPeak = PrevFPeak
If PrevBP < BP and PrevBP < BP[2]:
FValley = PrevBP
otherwise:
FValley = PrevFValley
Period2 = 2*Period + 5 Alpha = Gamma - Sqrt(Gamma*Gamma - 1), Gamma = 1/cos(4*Pi*Delta/Period), Beta = cos(2*Pi/Period)
Tradotto dal russo da MetaQuotes Ltd.
Codice originale https://www.mql5.com/ru/code/21240
![FIR](https://c.mql5.com/i/code/indicator.png)
Indicator FIR is a symmetrically weighted filter (Finite Impulse Response Filter).
![EURX](https://c.mql5.com/i/code/indicator.png)
Indicator EURX displays index EUR.
![MV_OBV](https://c.mql5.com/i/code/indicator.png)
Unlike standard On Balance Volume calculated on Close prices only, and indicator MultiVote OBV is calculated on HLC prices, which resulted in its higher sensitivity.
![Rj_SlidingRange_HTF](https://c.mql5.com/i/code/indicator.png)
Indicator Rj_SlidingRange with the possibility to change the indicator timeframe in its input parameters.