Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | CandleTrend

The CandleTrend indicator displays price movement directions from six different timeframes: H4, H8, H12, Daily, Weekly, Monthly. Downtrend paints squares in red, uptrend - in green.

Indicator input parameters:

//+----------------------------------------------+
//| Indicator input parameters                   |
//+----------------------------------------------+
input color  UpColor=LimeGreen;  // currency uptrend color
input color  DnColor=Red;        // currency downtrend color
input color  ZrColor=Gray;       // no change color
input int    FontSize=11;        // font size
input type_font FontType=Font14; // font type
input ENUM_BASE_CORNER  WhatCorner=CORNER_LEFT_LOWER; // location corner
input uint Y_=20;                                     // vertical location
input uint X_=5;                                      // horizontal location

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.1 The CandleTrend Indicator

Place GetFontName.mqh library file to the 'terminal_directory\MQL5\Include' folder.

1028

Best MetaTrader Indicators + Profitable Expert Advisors