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

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

author EAcpu | 4 reads | 0 comments |

Round_Levels_XN - indicator for MetaTrader 5

The indicator Round_Levels_XN draws multiple "round" levels above and below it that are closest to the current price.

 //+------------------------------------------------+
//|Indicator input parameters |
//+------------------------------------------------+
Input unit zero count = 2 ; //Number of zeros to round off
Enter string level_Mr. Name = "Price_Level_1" ; //Level label
Input unit XN count = 3 ; //Number of iterations for the entire set of lines
//----
Input color upper layer color 2 = clear blue ; //The color of the second upper layer
Input style Up_level_style2=SOLID_; //The style of the upper second layer
Enter ENUM_WIDTH Up_level_width2=w_3; //The width of the second layer of the upper layer
//----
Input color upper layer color 1 = Clelem ; //The color of the first upper layer
Input style Up_level_style1=SOLID_; //The first upper-level style
Enter ENUM_WIDTH Up_level_width1=w_3; //The width of the first layer of the upper layer
//----
Input color DN_level_color1= red blood cells ; //The color of the first lower level
Input style Dn_level_style1=SOLID_; //The next level style
Input ENUM_WIDTH Dn_level_width1=w_3; //The width of the next layer
//----
Input color DN_level_color2= magenta ; //Second lower level color
Input style Dn_level_style2=SOLID_; //The style of the second lower layer
Enter ENUM_WIDTH Dn_level_width2=w_3; //Width of the second layer

The indicator was first implemented in MQL4 and published in the code base of mql4.com on March 29, 2008.

Round_Levels_XN - indicator for MetaTrader 5

Figure 1. Indicator Round_Levels_XN


Attachment download

📎 round_levels_xn.mq5 (16.89 KB)

Source: MQL5 #22806

Verification code Refresh