a sorter class to sort an array based on other arrays.note: empty keys arrays are ignored by the sorter.for example to sort position tickets by position open time (as the only sort...
log4mql(mini) - light header-only version of log4mql that provides standardized logging. installation/usage add log4mqlm.mqh to your include folder. view the sample code to get an...
log4mql(mini) - light header-only version of log4mql that provides standardized logging. installation/usage add log4mqlm.mqh to your include folder. view the sample code to get an...
introduction sqlite locks are coarse-grained file locks. if multiple tables share a database, you need to pay attention to synchronization issues. a. it is not recommended to defin...
this library allow an easy control over multiple currencies, on every update it will check for errors, this way you can use it in your indicator or expert to avoid common error and...
this class loads a licensing file by reading 64bit encrypted account data from a license file into an account array for the purpose of licensing. (256 bit encryption method i last ...
a simple call to this function will return the next opening time and closing time of the asset, if no from time input it will search following the current trade server time.usage:g...
cclock - extension for the datetime installation put clock.mqh into your include folder use one of the samples that shows the usage inputs gmtoffset, int(-23~23) server gmtoffset...
cclock - extend of cfile class to work with the .set installation put fileset.mqh into your include\files folder put test.set into your files\ folder put fileset test.mqh into you...
this is a logging library to quickly add logging capabilities to your code without much hassle. the library's default behavior matches most cases however most of the functionality ...
a collection of useful string manipulation functions immuable strings: all functions in the library will return a modified copy of the source string.the source string is not modifi...
simple class for getting the number of microseconds (µs) elapsed since january 1, 1970.the error of this method is about 0.5 milliseconds. this is due to the temporal discreteness ...
this expert advisor demonstrates how to create and save graphic charts to a .bmp file from the mt5 strategy tester. the graphic.mqh package (include/graphics/) is used. in mt4 this...
radixsort algorithm radixsort sorts numeric data (integers or float) by considering a string of numbers where digit by digit sort starting from least significant digit position to ...
for anyone who does not understand the code provided in this library read the article linked heremultiple dynamic logistic regression challenge the biggest challenge i faced when b...
adds the ability to automatically export the history of deals after running an expert advisor in the strategy tester.the file is saved in the shared terminal folder common/filesor ...
adds the ability to automatically export the history of deals after running an expert advisor in the strategy tester.the file is saved in the shared terminal folder common/filesor ...
utility for copying transactions from one mt5 account or mt4 account to another mt5 account. you can copy positions between netting and hedging accounts in any combination. you can...
adviser-utility for copying transactions from one mt5 account or mt4 account to another mt4 account. you can copy positions between netting and hedging accounts in any combination....
to get only highs or only lows there is an additional input of type ensearchmode:only highs:only lows:both highs and lows in one buffer:it is not restricted to indicator buffers, y...
in the process of developing a program for copying positions between accounts, it was necessary to develop essentially the same code for mt5 and mt4. the differences were only in t...
allows you to determine the occurrence of a new bar event in a multicurrency expert advisor.in a multicurrency expert advisor, the event of a new bar formation can occur at differe...
this is my personal library with lot of functions to easily manipulate positions and receive various infos. i work on it since 2019. hope you like it :)symbolopenpipsmagic -return ...
the attached .mqh files are designed to export orders and trades from one ea and import them into another one (copying trades), which can be run both in the same terminal and in an...
introspective sortintro or introspective sort is a hybrid sorting algorithm that provide fast performance. it is a comparison based sorting algorithm based on three phases. it uses...
original code and description here:modifications:corrected errors that prevent compiling indicators that won't due to errors in the <smoothalgorithms.mqh> file.i've also chan...
xoshiro256** random number generator xoshiro256** (named after its operations: xor, shift, rotate) is a pseudorandom number generator designed by sebastiano vigna in collaboration ...
the include file "benchmark.mqh" has a set of macros to benchmark various functions for their execution speeds to decide which is the fastest one.the library is based on public sou...
1、there is only one class function without additional variables. please declare class ccheck before use2、program variables are used to store corresponding data, while historical ba...
on 01/01/1982 it is wintertime in the usa (dst==0) and the next changeover is on 04/25/1982, which is the last (25th of the month) sunday of april (4). the table is already sorted ...
this library allows you to comfortably work with png graphic files, as well as scale them.there are two ways to upload png images:via file via a resource that is inside your ex5 fi...
this include file provides programmers with a seamless solution for creating martin gale trading strategies effortlessly. the classes gridstrategy and martingalestrategy are derive...
this include file provides programmers with a seamless solution for creating martin gale trading strategies effortlessly. the classes gridstrategy and martingalestrategy are derive...
the strategy tester does not report any memory leaks of mql5 applications like expert advisors, scripts or indicators. and such memory leaks can occur by using the new operator in ...
the provided code is an mql include file and an expert advisor demonstrating how the classes work.it implements a trading strategy based on various technical indicators and trend a...
the provided code is an mql include file and an expert advisor demonstrating how the classes work.it implements a trading strategy based on various technical indicators and trend a...
the marketopenhours.mqh file checks the market open hours against the server time at the broker. its input is only the symbol name as string type. as a result you get a bool, true ...
in this example, you will see complete and operational project, labeled "example ea". this project uses a template obtained from the codebase, which is freely available. i made sev...
function to calculate the cosine distance and the cosine similarity.the cosine distance between 2 vectors a and b is :so 1-cosinesimilarityand the cosine similarity is :in simple t...
timegmt() function returns the gmt, which is calculated taking into account the dst switch by the local time on the computer where the client terminal is running. there are 2 varia...