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

Murrey_Math_Lv_Arr_r - MetaTrader 5 Script - MT4/MT5 Resource

author EAcpu | 2 reads | 0 comments |

Murrey_Math_Lv_Arr_r - indicator for MetaTrader 5

Murrey_Math_Lv_Arr_r - indicator for MetaTrader 5

The indicator Murray_Math_Lv_Arr limits the computer resources used for calculation and display of the indicator on the chart. A new input variable CountBars has been added to the input block of the indicator to optimize the calculation:

 //+------------------------------------------------------------------------+
//| Indicator input parameters |
//+------------------------------------------------------------------------+
Input integer calculation period = 64 ; //P calculation period
Enter integer back = 0 ; Enter boolean view flag = false ; Enter integer font size = 8 ; // font size
Input type_font FontType=Font7; //Font type
Input String Tag Mr. Name = "Murray_Math_Lv" ; //The first part of the graphic object name
Enter PLOT_DRAW_TYPE_ DrawType=DRAW_ARROW_; //Options to display Murray's level
Input unit arrow = 160 ; //Symbol for Murray level
Input unit arrow size = 1 ; //Murray level symbol size
Input the number of units = 500 ; //Calculate the number of bars of the indicator
Input unit forward bar = 3 ; //Number of bars on the right side of the chart (maximum calculation period)

To replace the value of a character, use the table character .

The indicator uses the library's class to get the font name.mqh (should be copied to terminal_data_folder\MQL5\Include).

The indicator can be displayed as symbols, with default settings:

Murrey_Math_Lv_Arr_r - indicator for MetaTrader 5

Figure 1. Indicator Murrey_Math_Lv_Arr_r and the option to select drawing with symbols

As with traditional lines, the relevant values ​​of the input parameters draw the type :

Murrey_Math_Lv_Arr_r - indicator for MetaTrader 5

Figure 2. Indicator Murrey_Math_Lv_Arr_r and selected option drawn with lines


Attachment download

📎 getfontname.mqh (5.18 KB)

📎 murrey_math_lv_arr_r.mq5 (48.31 KB)

Source: MQL5 #23451

Verification code Refresh