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

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

author EAcpu | 2 reads | 0 comments |

SilverTrend_x10 - indicator for MetaTrader 5

The SilverTrend_x10 indicator shows the silver trend from indicator candlesticks on ten different timeframes of the bars defined in the indicator input parameters. Trend continuations are shown as squares, while trend changes are shown as circles.

//+------------------------------------------------------------------------+
//|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)
//----SilverTrend parameters
Enter integer SSP = 9 ; Enter integer risk = 3 ; //Risk level
//----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 = clr purple ; //Color of downtrend and uptrend candlesticks
Input color DnDn color = red blood cell ; //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 run, the braintrend.ex5 indicator must be added to \MQL5\Indicators folder.

SilverTrend_x10 - indicator for MetaTrader 5

Figure 1. Indicator SilverTrend_x10


Attachment download

📎 getfontname.mqh (5.18 KB)

📎 silvertrend.mq5 (23.72 KB)

📎 silvertrend_x10.mq5 (26.68 KB)

Source: MQL5 #20951

Verification code Refresh