Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
3153
Rating:
(9)
Published:
2018.06.06 13:10
Drive.mq5 (13.34 KB) view
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 DMA

Dynamic Moving Average

Candle_Ratio Candle_Ratio

The ratio of bullish to bearish candlesticks over the selected period

EVWMA EVWMA

Elastic Volume Weighted MA

LWPI LWPI

Larry Commerical Proxy Index