Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 8090
- Rating:
- Published:
- 2019.02.07 08:59
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Spread Oscillator displays the spread of values between the two symbols selected
It has four configurable parameters:
- First symbol - first symbol name
- Second symbol - second symbol name
- Fast MA period - fast MA calculation period
- Slow MA period - slow MA calculation period
Calculations:
Spread Oscillator = SlowMA - FastMA
where:
SlowMA = EMA(Ratio, Slow MA period)
FastMA = EMA(Ratio, Fast MA period)
Ratio = (Close(First symbol) / Close(Second symbol))*100.0
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/23526

Indicator Micro Pivots

Indicator Multi timeframes Bill Williams Accelerator Oscillator