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

BrainTrend2_V2_x10 - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

BrainTrend2_V2_x10 - indicator for MetaTrader 5

The indicator BrainTrend2_V2x10 displays the BrainTrend2_V2 indicator candlesticks from ten different timeframes of the bars defined in the indicator input parameters.

//+------------------------------------------------------------------------+
//|Indicator input parameters |
//+------------------------------------------------------------------------+
Input ENUM_TIMEFRAMES time range 0= PERIOD_H1 ; //Chart 1 period
Input ENUM_TIMEFRAMES time range 1= PERIOD_H2 ; //Figure 2 period
Input ENUM_TIMEFRAMES time range 2= PERIOD_H3 ; //Figure 3 period
Input ENUM_TIMEFRAMES time range 3= PERIOD_H4 ; //Figure 4 period
Input ENUM_TIMEFRAMES time range 4= PERIOD_H6 ; //Figure 5 period
Input ENUM_TIMEFRAMES time range 5= PERIOD_H8 ; //Figure 6 period
Input ENUM_TIMEFRAMES time range 6= PERIOD_H12 ; //Figure 7 period
Input ENUM_TIMEFRAMES time range 7= PERIOD_D1 ; //Figure 8 period
Input ENUM_TIMEFRAMES time range 8= PERIOD_W1 ; //Figure 9 period
Input ENUM_TIMEFRAMES time range 9= PERIOD_MN1 ; //Chart 10 periods
Input unit signal field = 1 ; //Number of bars to receive signal (0 - current bar)
//----BrainTrend2_V2 parameters
Input unit ATR_period = 7 ; //---- indicator drawing parameters
Input color CP color = clr blue-violet ; //Indicator name color
Input Color Up Color = Lime Green ; //Color of growth trend and growth candlestick
Input Color Upward Dn Color = Cyan ; //Color of uptrend and downtrend candlesticks
Input color zirconium color = gray gray ; //The color does not change
Input color DnUp color = maroon ; //Color of downtrend and uptrend candlesticks
Input color DnDn color = magenta ; //Color of downtrend and down candlesticks
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

In order for this indicator to work, the BrainTrend2_V2.ex5 indicator must be added to \MQL5\Indicators folder.

BrainTrend2_V2_x10 - indicator for MetaTrader 5

Figure 1. Indicator BrainTrend2_V2_x10


Attachment download

📎 getfontname.mqh (5.18 KB)

📎 braintrend2_v2.mq5 (28.27 KB)

📎 braintrend2_v2_x10.mq5 (23.16 KB)

Source: MQL5 #20874

Verification code Refresh