Classical MACD Sample
Translated from Russian by MetaQuotes Ltd.
Original code: /ru/code/7150
TesterSafeLots - risk lot size that stays correct in the MT4 Strategy Tester
Risk-based lot size for MQL4 that does not depend on MODE_TICKVALUE in the Strategy Tester, so backtests of USDJPY, USDCHF or USDCAD on a USD account risk what the input says. Includes a test EA that measures the error.
AesHmac: AES-256 encryption with tamper check and password keys for MQL4
One include file that encrypts texts and bytes so only a program with the same key can read them. A wrong key or a changed message is refused instead of read as garbage, keys can come from a password, and the code is checked against the official NIST and RFC test vectors.
Three Colors
Example: Moving Average indicator filling by different colors
Rotating text
Easy example working with object: object creation, modification properties, redraw chart.