Forum

Is there any IDE that parse / index MQL5 properly, thus supports refactor features?

MetaEditor kind of works, but I can't refactor symbols, also have hard times with auto complete static members , etc. So far I tried Visual Studio Code, but it still parses code mostly as text, instead of symbols

Why CopyBuffer fails with multiple indicators (error 4806)?

I just created a simple indicator with two moving averages , but CopyBuffer for the second indicator keep failing, so the terminal shows only the first moving average line instead of both. The code is pretty simple textbook example: // Configuration. #property copyright "<COPYRIGHT>" #property link

How to reload command line compiled scripts in Trading Terminal?

When I use Meta Editor IDE, as soon as compilation finishes, the scripts gets removed / reloaded immediately in Trading Terminal. How can I achieve the same behaviour (reload / reinit scripts), when using command line compilation ? I can nicely compile the scripts using command line compilation, but

Align label to top right of chart?

How can I align a label to the top right? I made this helper class, using the Standard Library . I do set the Anchor property (using https://www.mql5.com/en/docs/standardlibrary/chart_object_classes/obj_controls/cchartobjecttext/cchartobjecttextanchor ), but it has no effect. The label is

Run script without attach to any chart?

Hi, just want to create a script that saves quotes of a couple of pairs. My intuition is that it should not be attached to any chart, should not be even an EA, just a simple Script. What is the preferred way to do this in MQL4