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
Candle_Ratio - indicator for MetaTrader 5
- Views:
- 3968
- Rating:
- Published:
- 2018.06.06 13:08
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The indicator shows the ratio between bullish and bearish candlesticks over the specified period.
The indicator has three input parameters:
- Period - calculation period
- Smoothing period - the period of smoothing
- Method - the method of smoothing
Calculation formula:
Up CandleUp=close-open; Down =0;
Down CandleDown=open-close; Up = 0;
Ratio = Sum(Up) / Sum (Down);
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20330