Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
Pivot_Oscillator - indicator for MetaTrader 5
- Views:
- 7520
- Rating:
- Published:
- 2019.01.02 14:28
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Pivot Oscillator is based on three oscillators of average differences in typical prices.
There are four input parameters:
- Fast MA period - fast moving average period
- Medium MA period - medium moving average period
- Slow MA period - slow moving average period
- MA method - moving average calculation method
Calculation:
Pivot oscillator = (Diff1 + Diff2 + Diff3) / Typical Price
where:
Diff1 = FMA - SMA
Diff2 = MMA - SMA
Diff3 = FMA - MMA
FMA = MA(Typical Price, Fast MA period, MA method)
MMA = MA(Typical Price, Medium MA period, MA method)
MMA = MA(Typical Price, Slow MA period, MA method)
Typical Price = (Close + High + Low) / 3.0
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/22943