Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

CandleTrend - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author blogger | 512 reads | 0 comments |

CandleTrend - indicator for MetaTrader 5

The CandleTrend indicator shows the direction of price movement in six different time frames: H4, H8, H12, Daily, Weekly, Monthly. Squares are drawn in red for downtrends and green for uptrends.

Indicator input parameters:

 //+------------------------------------------------------------------------+
//|Indicator input parameters |
//+------------------------------------------------------------------------+
Input color UpColor=lime green; // currency uptrend color
Input color DnColor=red; // Currency downtrend color
Input color Zr color = gray; // Do not change color
Input integer font size = 11 ; // font size
Input type_font FontType=Font14; // Font type
Input ENUM_BASE_CORNER what corner = corner lower left corner ; // position corner
Input unit Y_= 20 ; // vertical position
Input unit X_= 5 ; // Horizontal position 

CandleTrend - indicator for MetaTrader 5

Figure 1 Candle Trend Indicator

Copy the .mqh library file where the font name is obtained to the "terminal_directory\MQL5\Include" folder.


Attachment download

📎 getfontname.mqh (5.09 KB)

📎 candletrend.mq5 (10.76 KB)

Source: MQL5 #1028

Refresh