set of statistical functions which allows you to calculate some values describing timeseries like correlation between two time series, linear regression, standard deviation etc. it...
i've found these small functions very useful when trying to pass datetime through global variables.example:you can use it to save a valueandwhen you want to get the value back....
log4mql is an mql4 (metaquotes metatrader 4 language) library for flexible logging to files and the terminal console. it is modeled after the log4j java library.documentation (gith...
the attached *.mqhfile contains functions for creating objects and changing object properties. it is particularly useful for me when i need to quickly write some test code which cr...
the original mql4-mysql.mqh libraryhad a serious problem with memory management. problems were reported by several users (you can read about it here: ).since i wanted to use librar...
it is a simple but good class for orders management. i know there should have been management of magic numbers and so on, this is just a taste.usage:...
original by metaquotes software corp. modifications by doerk.this file replaces the wndcontainer.mqh original file. one new function and two small modifications prevent the chart f...
dmitry kalyuzhny. fuzzynet project website -unzip the archive into the. the library codes are located in the <terminal_data_folder>\mql5\include\math\fuzzynet\ sample test sc...
dmitry kalyuzhny. fuzzynet project website -unzip the archive into the . the library codes are located in the <terminal_data_folder>\mql4\include\math\fuzzynet\ sample test s...
since metatrader 4 build 880 was released, it's no longer easy to programmatically fill values in login dialog.this library hides the complicated stuff and provides easy to use api...
metaquotes software, bugfixes & enhancements by doerk.when you start to work on a pixel basis with the standard library, you'll soon figure out, that sometimes a pixel here and...
serialization and deserialization of json protocol. the code is ported from a high-speed С++ library.you can show your gratitude by sending examples of implementing mql for working...
the ССomment class was designed to extend the capabilities of the standard function. its purpose is to display a multi-line comment on a panel. methods of this class allow you to s...
the function allows the execution of the specific code in the specified time interval. it is generally used in the expert advisors to set the time interval, in which the ea is allo...
the function returns the lot size, which is calculated based on the stop loss size and the risk specified in the variable. that is, if the risk is set to 2%, and the sl is set to 4...
i decided to publish this class after reading . this topic looks interesting. my approach does not solve every problem as well. therefore, suggest what can be improved.the class us...
have you ever restricted the operation of your ea depending on time? for example, how does one make the ea not perform any trading activities during the night session? or, if you t...
the library is intended to implement the font list in the input parameters. the library contains 208 fonts.the font selection is done using the drop-down list.to get the required f...
csalchartpoints is a class for expanding the capabilities of .advantages of the class:it provides a simpler interface for working with mqlrates. it extends the parameter set of the...
signal based on the indicator developed by the brazilian analyst odir aguiar (didi), consists of 3 moving averages (3,8,20), aka didi's needles, which allows the visualization of r...
library of functions for working with ini-files. includes five functions for reading values from an ini-file: - readiniarrayint(); - readinibool(); - readinidouble(); - readiniinte...
with the help of this library it is possible to implement the ability to maintain positions with a simple trailing stop in any expert advisor. this library is universal and is desi...
the comment2 library expands the capabilities of the standard comment function for comment output and places the str_text comment to the specified str_no line on the chart.this fun...
several functions for working with the holidays:the functionreturns the last sunday 22:00 before dt.the functionreturns the nearest friday 23:00 time after dt.the functionreturns t...
function description:an example of a function call:as you can see, everything is very simple. the function will create a text file with the name 'symbol' and write(overwrite) the '...
the detailed article on the usage of the auto optimizer library and principles of its operation can be found here: the code to insert in your ea:the code to insert in the start() f...
actually, there is nothing more to add to the description. the function is simple, it creates a list of currency pair symbols by iterating over the combinations of the abbreviated ...
this library has two functions: breakeven & trailingstop.breakeven: this is a function to make stoploss==orderopenprice( ) when the condition is met: the difference between pri...
this library has smarttrail trail function that depends on the previous candle.an example:the library first tests if new candle is formed, then in buying positions the trailing sto...
this library made to simplify calculating your stop loss for market execution orders.this library enables you to put your stop loss in points, or you can make atr(true) to calculat...
this library is made for experts that need to calculate stoploss and takeprofit without putting sl/tp points on the trade.because some brokers are market makers and they, of course...
the "" articles describes how you can create a user-friendly interface for your programs. implementation of interactive windows is based on the use of the masterwindows class libra...
set of functions for the yr1 timeframe. ==================1.number of bars in the yr1 timeframe. int ibars_yr1 (string exchange); ibarsyr (currency pair). 2.number of bar by time i...
simpler filter based on the intraday time filter offered by the standard library. instead of binary numbers, you can use strings (10:00 - 16:00) to set your intraday start and end ...
signal based on the indicator gann hilo. there are three operating modes: trigger, continuous and both.in trigger mode, the signal will be generated only when the price crosses the...
functions refer to one-dimensional array as multidimensional.it is possible to change the number of elements in any dimension at will.there are options to monitor the incoming data...
so, decide - what can be riskedin each trade? there are many options, and selecting the correct oneis not always easy. to solve this problem, i made the lot_lib.mqhlibrary usage:- ...
microsoft corporation. source code taken from .note: the library works on the metatrader 5 build 1285 and higher.unzip the archive into the . the library codes are located in the: ...
e.g.: if you want to set stop loss of 50 pips for 5 digit broker, refer to this function by convert it to 500 points for machine to read.if 5 digit broker:stoploss*pipstopointfacto...
the trading signals function is based on the values of the osma indicator.add the function to the ea: #include <signal.mqh>condition if(getsignal()==1) is for buyscondition i...