MetaTrader MTall Library Source Code Downloads - Page 9

Showing 485 results
multi sort - sorting algorithm library MT5
MetaTrader 5 library

multi sort - sorting algorithm

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) mt4 library MT4
MetaTrader 4 library

log4mql(mini) mt4

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) mt5 library MT5
MetaTrader 5 library

log4mql(mini) mt5

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...
database wrapper library MT5
MetaTrader 5 library

database wrapper

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...
multi currency library library MT5
MetaTrader 5 library

multi currency library

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...
clock library MT4
MetaTrader 4 library

clock

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...
cfile set library MT5
MetaTrader 5 library

cfile set

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...
logging library for mql4 library MT4
MetaTrader 4 library

logging library for mql4

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 ...
string manipulation functions library MT5
MetaTrader 5 library

string manipulation functions

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...
time in microseconds (µs) since 01/01/1970 library MT5
MetaTrader 5 library

time in microseconds (µs) since 01/01/1970

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 ...
radix sort (the fastest numeric sort) library MT5
MetaTrader 5 library

radix sort (the fastest numeric sort)

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 ...
expert history export library MT5
MetaTrader 5 library

expert history export

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 ...
expert history export library MT4
MetaTrader 4 library

expert history export

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 ...
real trade copy mt5 library MT5
MetaTrader 5 library

real trade copy mt5

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...
real trade copy mt4 library MT4
MetaTrader 4 library

real trade copy mt4

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....
zig zag extrema on array library MT5
MetaTrader 5 library

zig zag extrema on array

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...
trade classes from mt5 for mt4 library MT4
MetaTrader 4 library

trade classes from mt5 for mt4

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...
new bar event library MT5
MetaTrader 5 library

new bar event

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...
symbol trade made simple with functions library MT5
MetaTrader 5 library

symbol trade made simple with functions

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 ...
grat order exchange library MT5
MetaTrader 5 library

grat order exchange

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...
introsort (introspective sort) library MT5
MetaTrader 5 library

introsort (introspective sort)

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...
smooth algorithms - corrected/modified library MT5
MetaTrader 5 library

smooth algorithms - corrected/modified

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 library MT5
MetaTrader 5 library

xoshiro256 random number generator

xoshiro256** random number generator xoshiro256** (named after its operations: xor, shift, rotate) is a pseudorandom number generator designed by sebastiano vigna in collaboration ...
benchmark library MT5
MetaTrader 5 library

benchmark

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...
check if there are any new bar library MT5
MetaTrader 5 library

check if there are any new bar

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...
dealing with time (2) functions library MT5
MetaTrader 5 library

dealing with time (2) functions

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 ...
pn g library MT5
MetaTrader 5 library

pn g

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...
grid and martin gale include file library MT4
MetaTrader 4 library

grid and martin gale include file

this include file provides programmers with a seamless solution for creating martin gale trading strategies effortlessly. the classes gridstrategy and martingalestrategy are derive...
grid, martin gale include file library MT5
MetaTrader 5 library

grid, martin gale include file

this include file provides programmers with a seamless solution for creating martin gale trading strategies effortlessly. the classes gridstrategy and martingalestrategy are derive...
reporting memory leaks in strategy tester library MT5
MetaTrader 5 library

reporting memory leaks in strategy tester

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 ...
signals and probability class library MT5
MetaTrader 5 library

signals and probability class

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...
probability and signals class library MT4
MetaTrader 4 library

probability and signals class

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...
check for market open hours library MT5
MetaTrader 5 library

check for market open hours

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 ...
cosine distance and cosine similarity library MT5
MetaTrader 5 library

cosine distance and cosine similarity

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...
time gm t library for the strategy tester library MT5
MetaTrader 5 library

time gm t library for the strategy tester

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...
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.