Forum

MQL compiler for Visual Studio

I want to know if exists a component for Visual Studio that can run MQL code. Something like VS bulit-in classes that can run Visual Basic and other codes from a program, but for MQL. Tell me please, if such thing exists

How to know what does error 127 of a script means?

I've wrote a DLL using Visual C++ 2003 based on a standard DLLSample project. My new function is GetCrossings. But when I try to use the function from a script I get an error: cannot call function 'GetCrossings' from dll 'crossings.dll' ( error 127 ) When I press F1 the help isn't related to the

Call expert by its name

I need to write a script that makes testers fuctionallity not for one expert, symbol or timeframe as a bulit-in one but for a set of them. So I need to call user written experts by it name and receive form them threi results. Tell me please how is it possible to call an expert from a script by name

tpl files XML schema

I need to proceed the template files .tpl and I want to know where can I find it XML schema and other description. As I can see it includes some XML tags and parameters lists enclosed in them

Getting trading information in my program

Tell me please how can I get the trading information that MetaTrader loads in my program. Now I write a program to make graphs with custom possibilities. Now I use loading data from text files generated by MetaTrader script but it's better to make the program to get the trading information itself

How to get current scale?

The screenshots function is documentated the following way bool WindowScreenShot ( string filename, int size_x, int size_y, int start_bar=-1, int chart_scale=-1, int chart_mode=-1) but here I need to use the current scale of screenshoted window. So the question how to get it in the program this one

Does MetaTrader have a debugger?

May be this question is stupid but I've found no answer in all helps. The question is because there is a menu point Add breakpoint. But I've not understand how can I use these breakpoints. If I've just add a breakpoint in MetaEditor and then run the script from MetaTrader the breakpoint makes no