This DLL library covers important math functions and binary operations for several trading platforms.
This add-on covers missing trading development functions. Admittedly, the current library is small, but we plan to expand it soon. Please send us your favorite mathematical functions, and we’ll try to incorporate them into newer versions.
ExcelLink is a
freeware so users can embed it anywhere. NO CHARGE.
Installation may vary by application. DLL files must be placed in an application’s DLL include
path or the Windows’ DLL include path; for example, the 64-bit shared library include path
%windir%\SysWOW64. In MetaTrader4 (builds 0600 and below), the library path
%MetaTrader4%\experts\libraries. In TradeStation, the include path is
You may need to enable DLL execution because it's sometimes disabled by default (for security reasons). This tool was released as a DLL, so you’ll need to enable DLL Execution.
This function converts binary values to decimal values
Converts decimal to binary
Converts decimal to hex
Converts hex to decimal
These two functions handle binary with AND or OR integer values. Results are returned accordingly.
To determine whether a bit is either 1 or 0, use the BinaryAND operation; for example,to determine whether the sixth bit of 1001011101, you have to BinaryAND 1001011101 as well as 0000100000 to search for the value. If the value is greater than zero, then the sixth bit is 1 (0 if it’s not). This function simplifies everything. .
Returns to a previous version of an add-on. Can be used to identify different versions and to report bugs.
This DLL can be used with any language. You simply need to instruct the software on how to import the library. To help you do this, we've created a How-To Guide for TradeStation and MetaTrader on importing libraries. See below:
Working with binary and hexdecimal values:
Please note that the decimal value 132777012 is the same as both the binary value
111111010100000010000110100 and the hexadecimal value 7EA0434. Since binary values can
too long (in integer scope) and hexadecimal values can have characters beside digits, we
must convert those hex and binary values
into usable strings. Binary string values contain only
zeroes and ones. Hexadecimal string values contain only a combination of letters and numbers
(e.g., 0123456789abcdef). Hexadecimal string values are also