Codes

MySQL library for MQL4 with proper memory management for MetaTrader 4

Library provides functions for management of MetaTrader 4 to MySQL database connections. Fixed memory allocation and release problems of the original library

Personal Assistant - The Next Generation for MetaTrader 4

Personal Assistant The Next Generation is there to make your trading easy, basically it does what a real assistant does — provides information and executes your orders

Personal Assistant for MetaTrader 4

Personal assistant is there to provide you with crucial information for making investment decisions and to execute your orders

Forum

Custom symbol creation results in large hcc file

I've been testing some simple code, which creates custom symbol . Code also calculates 300 bars and saves them -> updates rates. Every bar is saved as MqlRates structure, which should hold 60 bytes of data (8 bytes datetime, OHLC 4x8 bytes, tickvolume 8 bytes, spread 4 bytes, real volume 8 bytes)

Problem with incorrect calculation of fractals in the indicator

Hi, I've got a problem with indicator I just wrote and I would be really gratefull for any advice on what the problem is or how to solved it Description of indicator: Function of the Indicator is to display Fractals on different timeframes, not just their own, so for examle: display Fractals M5 on