Forex Candle Color Counter Indicator:
The indicator counts Bull and Bear candles in Bar_Period bars and calculates percent.
When blue line is up to 61.8% and red line is down to 38.2%, the trend is completed. When blue and red lines are near 50%, the trend is started.
Copy and paste the file into the MQL5 Indicators folder of the Metatrader 4 trading platform.
You can access this folder from the top menu as follows:
File > Open Data Folder > MQL5 > Indicators (paste here)