Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

votes: 25
2011.01.27 13:00
2016.11.22 07:32

General purpose hash functions:

  • adler32
  • CRC-32 (fast, table implementation)
  • MaHash8v64 (fast, table implementation)

All three functions are adapted for MQL5 Unicode strings. The results has been verified with Fsum Frontend

Radix Conversion:

  • from decimal (ulong) to Base radix
  • inverse transformation

The radix conversion is based on the following sequence of chars: 10 [0..9] + 26 [A..Z] + 26 [a..z] + 33 [А..Я] + 33 [а..я].  The "0-9" digits and "A-Z" english letters are used up to base 36.

The possible practical use of the other radix may be the compact form of string representation of a number in names of graphic objects. For example, 64-bit number generally has the following number of chars:

  • decimal: 20 chars (ULONG_MAX)
  • hexadecimal: 16 chars
  • base 36: 11 chars
  • base 128: 10 chars

the optimal is the base 36 radix.

Translated from Russian by MetaQuotes Software Corp.
Original code:

Synchronized Charts Synchronized Charts

This Expert Advisor performs the synchronization of charts.

Export Indicator's Values Export Indicator's Values

This script exports indicator's values to CSV file.

A la "Bobsley" Expert Advisor A la "Bobsley" Expert Advisor

The Expert Advisor uses the Moving Average and Stochastic indicators.

Nonparametric Zig Zag, A-la Clyde Lee Patterns Nonparametric Zig Zag, A-la Clyde Lee Patterns

Nonparametric ZigZag, based on the "a-la Clyde Lee Patterns".