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
Drive - indicator for MetaTrader 5
- Views:
- 3356
- Rating:
- Published:
- 2018.06.06 13:10
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The oscillator indicator shows a ratio between bullish and bearish candlesticks over the selected period.
It has two parameters:
- Period - calculation period
- Method - the method of smoothing
Indicator calculation:
Up (Green) = ((High - Open) + (Close - Low))/2, the average value over the selected period;Down (Red) = ((Open - Low) + (High - Close))/2, the average value over the selected period.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20333
DMA
Dynamic Moving Average
Candle_RatioThe ratio of bullish to bearish candlesticks over the selected period