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

CandlesticksBW_x10 - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 4 reads | 0 comments |

CandlesticksBW_x10 - indicator for MetaTrader 5

Indicator CandlesticksBWx10 displays the color of the candlesticks BW 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)
//----Indicator drawing parameters
Input color CP color = clr blue-violet ; //Indicator name color
Input color Up color = clr dark sky blue ; //Color of growth trend and growth candlestick
Input Color Upward Dn Color = Clear Blue ; //Color of uptrend and downtrend candlesticks
Input color uncolored = cyan ; //Color of no trend and falling candlesticks
Input color non-Dn color = red blood cell ; // Color of candlestick without trend and growth
Input color DnUp color = clr purple ; //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 the indicator to work, the candlestick BW.ex5 indicator must be added to \MQL5\Indicators folder.

CandlesticksBW_x10 - indicator for MetaTrader 5

Figure 1. Indicator Candlestick BW_x10


Attachment download

📎 getfontname.mqh (5.18 KB)

📎 candlesticksbw.mq5 (6.73 KB)

📎 candlesticksbw_x10.mq5 (23.25 KB)

Source: MQL5 #20903

Verification code Refresh