Join our fan page
- Views:
- 68413
- Rating:
- Published:
- Updated:
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Example: Moving Average indicator filling by different colors

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/7159
MACD Sample
Classical MACD Sample.
QCL Smoothed Heikin Ashi
QCL Smoothed Heikin Ashi for MT4 applies two-stage smoothing to Heikin Ashi candles, helping traders reduce visual price noise and identify trend direction. It features independent smoothing periods, four moving average methods (SMA, EMA, SMMA, and LWMA), and customizable bullish, bearish, and neutral candle colors. Smoothed candles appear directly on the main chart. Candle values are calculated and do not represent actual market prices. The current candle may change until the bar closes.
Rotating text
Easy example working with object: object creation, modification properties, redraw chart.
StringsQuickSort
Example of file read and write operations