Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Murrey_Math_Lv_Arr_r - indicator for MetaTrader 5

Views:
9590
Rating:
(21)
Published:
2019.02.07 08:54
\MQL5\Include\
GetFontName.mqh (5.18 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Indicator Murrey_Math_Lv_Arr limiting the computer resources used in calculating and displaying the indicator on the chart. The new input variable, CountBars, has been added into the block of the indicator's inputs to optimize the calculations:

//+----------------------------------------------+
//|  INDICATOR INPUT PARAMETERS                  |
//+----------------------------------------------+
input int CalculationPeriod=64;              //P calculation period
input int StepBack=0;
input bool ViewFlag=false;
input int    FontSize=8;                     //font size
input type_font FontType=Font7;              //font type
input string  LableSirname="Murrey_Math_Lv"; //First part of the graphical objects names
input PLOT_DRAW_TYPE_ DrawType=DRAW_ARROW_;  //Option of displaying Murrey levels
input uint Arrow=160;                        //Symbol for Murrey levels
input uint ArrowSize=1;                      //Symbol size for Murrey levels
input uint CountBars=500;                    //number of bars to calculate the indicator
input uint ForwardBars=3;                    //number of bars to the right of the chart (maximum CalculationPeriod)

To replace the values of characters, use table Winglings Characters.

The indicator uses the class of library GetFontName.mqh (should be copied to the terminal_data_folder\MQL5\Include).

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

Fig. 1. Indicator Murrey_Math_Lv_Arr_r with the selected option of drawing it with symbols

Fig. 1. Indicator Murrey_Math_Lv_Arr_r with the selected option of drawing it with symbols

And as traditional lines at the relevant value of input parameter DrawType:

Fig. 2. Indicator Murrey_Math_Lv_Arr_r with the selected option of drawing it with lines

Fig. 2. Indicator Murrey_Math_Lv_Arr_r with the selected option of drawing it with lines

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/23451

Close panel Close panel

A panel to close positions based on class CDialog. Buttons based on class СButton.

AutoSet SL TP AutoSet SL TP

An Expert Advisor for placing Stop Loss and Take Profit.

Bill Williams Bill Williams

An Expert Advisor based on two indicators: iFractals (Fractals) and iAlligator (Alligator).

ColorPEMA_Digit_Trend_x10 ColorPEMA_Digit_Trend_x10

Indicator ColorPEMA_Digit_Trend_x10 displays the directions of the ColorPEMA_Digit indicator signals from ten different timeframes from the bar specified in the indicator inputs