Codes

Hash functions library for MetaTrader 5

The library contains the following hash functions: adler32, CRC-32, MaHash8v64. Also it has functions for radix conversion of a number

Professional ZigZag for MetaTrader 5

The improved version of the ZigZag indicator

Articles

Implementation of Indicators as Classes by Examples of Zigzag and ATR for MetaTrader 5

Debate about an optimal way of calculating indicators is endless. Where should we calculate the indicator values - in the indicator itself or embed the entire logic in a Expert Advisor that uses it? The article describes one of the variants of moving the source code of a custom indicator iCustom

Forum

How do you calculate the length of a line from the coordinates?

How do you get the zigzag line length (wavelength in essence) in any units, knowing the coordinates of two points? Needed to compare the wavelengths of the two as a percentage === edit=== Respected sergeev on page 9 gave the code, I tweaked it to suit my task: Important note: when rewinding

Psychological pressure of the deposit amount

Good afternoon to all! I am trading lately with following scheme: deposit 200-300$, earn 50-100$ a day with lots 0.1-0.2 and withdraw 50-100$ at the end of the day. I tried it earlier with deposit of $1000-2000. There is very strong pressure on this amount. I cannot psychologically watch how the