I have reinstalled MT5/MQL5. MetaTrader 5, Version 5.00, build 5488. Date: 19th December 2025 I have copied my old indicators to the new installation directories. Its weird this! I can load old FSI_v7.ex5 but if I recompile it it won't load giving error: 2025.12.22 05:38:34.246 Custom Indicator
string currencyNames[] = { "EUR" , "USD" , "GBP" }; double EurBuff[ ], UsdBuff[ ], GbpBuff []; the code above is an example of the variables I need to link in someway to avoid the time wasteful case statement below Like bool SetIndexBuffer ( int index, // buffer index
I created a MT5 indicator. It seems to work but has a problem when reloading MT5 for a higher timeframe than the chart period: above: recompile or drag and drop above: reloading the MT5 application //+------------------------------------------------------------------+ //|
I have a situation where I open a chart and 1 minute Bars for APPL are shown back to August 2019 ~6 months plus of data. Great!! Strategy Tester (ST), only find around 700 bars of 1 Minute time frame? Not Great! The data is obviously available on the brokers server but not being downloaded or made
My code started giving me a error seen in the screen shot below. 1/. I rebooted - same problem 2/. I did RAM and disk checks on my system - no issues reported 3/. reboot and run of sample MACD supplied with MT5 distribution - error similar to the one in my code --- Anyone any ideas where to start
I want to check when I put/pull out a derived CObject from a derived Clist that it is of the correct type: I thought templating somehow but I can't find a reference to it? #include <Arrays\List.mqh> //+------------------------------------------------------------------+ //| List of trendElements
ShutdownTerminal= true Server=ETXCapital-Demo Server Login= 7001248 Password=xxx EnableNews= false Script=batchGenSymbolsData Period =M5 Symbol =SP500_SB Report=ReportSP500_SBM5 ReplaceReport= true I have tried: ShutdownTerminal= 1 ShutdownTerminal= true ShutdownTerminal= True I cannot get the
I have a problem in storing my newer files: when I look at the file I am trying to place in storage it is different but the old file has a > revision number: If I 1/. keep a copy of the files im trying to save as xFileName for FileName (file) 2/. Then delete the files I want to store 3/. Update
I am porting my code to MQL5 I have a requirement to access the brokers group name (System type or the category that a symbol belongs to). The code below works in MT4 - I found it on the web. Anybody know how to get the same information in MQL5
This code executes as it should in normal operation. In strategy tester the value in the print statement for marginRequired is zero. Anything I can do to the system to make it come alive in strategy tester? Metatrader4 version 4 build 1090 19th May 2017 {it is a method of an object}