Forum

what about test driven development?

Hi Folks, I'm starting with MQL and I wanna know how can I get a good cycle to develop my EA's. I've been using TDD(test driven development) and BDD(behaviour driven development) methods on Ruby and Java. Using tools like JUnit, Cucumber, RSpec. How can I work with tests on MQL? I'm trying to create

DLL differences

Hi, I'm trying to work with DLL's on MQL5. I use these just a little and I have some doubts about: Whatever DLL works with MQL5? Is there any difference between DLL's writed in C++ or .NET for MQL5. If yes, how it works? Is there any kind of special complilation to use one DLL to work with a

FIX Protocol

Is there a kind of special library to work with FIX Protocol on MQL5

Signal with CiMA getting MAX_DBL

Hi, I'm creating my first signal with CiMA and every bar I'm getting 1.#INF because the ma.Main(i) is returning 1.797693134862316e+308 My Code is here: ma = new CiMA; ma.Create( _Symbol , Period (), 10 , 0 , MODE_EMA , PRICE_CLOSE ); and I'm trying to use: ma.Main(i) where i is the common

iCustom function

Hi, I'm getting a problem that only on my machine with iCustom is reloading every time and logging it a lot. How can I suppress this logging? There's a kind of configuration/parameter to disable it

about csv, arrays and best practices

Hi! I'm creating a csv parser that will be used every time. I'm thinking about read it once and after that just work on the memory. How can I declare this like a TimeSeries? I'm trying something like: datetime ExtractDataFromParser()[] { } But it doesn't work. What's the best way to do it

Function to get the current dir from MetaTrader Installation

Hi, I'm trying to call an external function and I need to know about the current directory. The directory from MetaTrader installation. Is there a function to get it? Thanks

the common error when send order: 130 -> ERR_INVALID_STOPS

Hi, I'm trying to handle 130 code error. I saw about MarketInfo(Symbol(),MODE_STOPLEVEL); but it's returning 0 for me. I'm facing this problem just on MIG Bank Platform. How it's working? How can I handle this situation

Code 33 using WinExec

Hi. I'm trying to call a ruby script using WinExec external function . I set all parameters that allows it to use external parameters. I'm getting the error 33. I can't find a useful answer about this question. My code: Comment ( "Resulting: " , WinExec( "c:\ruby192\bin\ruby.exe c:\myfile.rb" ));

EA doubt

Hi! We're building an EA that uses two custom indicators . One indicator is running using D1 and Another together the EA is running on M30. The problem is that we are getting signals from D1 and searching for good points with M30. When we try to get the value using: [code] iCustom(Symbol()