Friends 1
EdFuk
Added topic EA will not compile
Hi, edit... I have Metatrader 5. Version 5.00 build 4232 11 March 2024 I just made a very small change to my EA code and now it wont compile. I get the following error which I wasn't getting before. I haven't changed this bit of code at all. Code
EdFuk
Added topic Why are bid/ask values missing in symbol manager
Hi, When I retrieve tick data in the symbol manager there are some ticks which have a missing bid or ask value. Why is this? Many thanks
EdFuk
Added topic Should I be able to do this in the strategy tester?
Hi, Should I be able to do this? 1) Create custom symbol and import 1min OHLC bar data. This includes spread values (max value from any tick in bar interval) 2) go to the tester settings 3) Change the spread to a value (1 here) 4) Save the profile 5)
EdFuk
Added topic Custom symbol data still even after deleting from the list.
Well I've just been doing some testing and experienced some very strange behaviour. I was expecting 1 min OHLC and Open Prices to give very similar results as I had created two custom symbols , both with a spread of 1 point. What I got was two curves
EdFuk
Added topic Tester giving identical results even with a factor of 10 difference in spread Why?
In my quest to assess the sensitivity of spread values during testing I can't quite get my head around what it is doing. I created two custom symbols based on AUDCHF specification. I download bar data from tickstory and I modified the spread values
EdFuk
Added topic Variability in results when using different modelling techniques
Hi everyone, I have been testing an EA using  1) Open Prices 2) 1 min OHLC 3) Real Ticks There is similarity between Open Prices and 1 min OHLC however there is a large difference when using real ticks. Well it's about 0.75% which I guess isn't
EdFuk
Added topic Can someone explain this?
I have an expert which I back tested a couple of days and exported the results which included profit, swap and commission etc. Today I made a change to one part the code which shouldn't have affected the results and re ran it and exported the
EdFuk
Added topic Data for backtesting
Hi everyone, I use MT5. I've been trialling the use of tickstory and Tick Data Suite (TDS) for sourcing symbol data for better backtesting.  My trading strategies are based on the close of M15 timeframe and above so I'm not looking at HFT, more
EdFuk
Added topic Curious - can someone explain this?
I'm looking into importing data from tickstory into MT5. I noticed that the OHLC data in the tickstory datafile is specified to 3 digits and the symbol specification in MT5 is 1 digit. When importing the data MT5 appears to round the data to 1 digit
EdFuk
Added topic MT5 Strategy test using custom symbol - problem with commissions.
Hi everyone, I have recently downloaded data from tickstory for a number of symbols and have now successfully loaded it into MT5. Before using it in anger I wanted to verify that the strategy test was giving similar results between the broker
EdFuk
Added topic Symbol Point Value
Morning! Can someone tell me how MT5 calculates the symbol point value using the SYMBOL_POINT enum. For example the result of the following: // GET POINT VALUE OF CURRENT SYMBOL    double symbolPointVal = SymbolInfoDouble (CurrentSymbol
EdFuk
Added topic Backtesting Issue...
Hi, I'm encountering a data loading issue when trying to backtest on UK100 symbol. The errors log from the journal is shown below. Looks like the error is "Cannot add tick event (events' array size is 35782656)" I also encounter the same problem when
EdFuk
Added topic BarsCalculated returning -1 for unknown reason
Can someone tell me why BarsCalculated gives me -1 in the following code when testing in the tester. It appears to work correctly on a live chart but not when in tester. Data goes back to 2007 and I'm testing from 2017 so there should be plenty of
EdFuk
Added topic No history data when using tester
Hi, I am getting the following when trying to run a test. Everything was working  previously. I thought that if it didn't have data then it automatically downloaded it? That is what it has done previously.  The only thing I have done
EdFuk
Added topic iMA indicator Issue with calculated bars
Hi everyone, I have an EA which uses a daily timeframe for trading but also uses a weekly timeframe as a filter. When testing the EA  I noticed that BarsCalculated returns -1 (No data). After playing around for a bit I created the following code
EdFuk
Added topic Strange behaviour when runing MT5 from command line
Hi everyone, I've created a script in python to run MT5 with a number of different config files and expert parameter files. It basically conduts a Walk forward analysis by first running an optimisation then runs a normal test with the selcted
EdFuk
Added topic Running optimisation using command line to open MT5
Hi everyone, I have written a script in python to run MT5 in optimisation mode. It appears to be working some of the time but sometimes it launches MT5 and starts to run the optimisation but finishes almost immediately, I'm guessing crashing out. The
EdFuk
Added topic use of MQLInfoInteger(MQL_OPTIMIZATION)
I'm trying to run some code if in a tester optimization. My code below doesn't seem to work and MQLInfoInteger(MQL_OPTIMIZATION) seems to be false. The function is called from OnTesterPass. Should that make a difference? Cheers E void
EdFuk
Added topic Getting Input parameters
Is there a function that will give me a list of input parameters used for a test? Something similar to FrameInput when running an optimisation? My understanding is that I wont be able to use FrameInput if it's not an optimization run. E
EdFuk
Added topic Saving Deal information from each pass of an MT5 Optimization
Hi, I'm struggling and wondered if someone can help? I'm running MT5 from Python using the command line and a config file. I'd like to be able to read in equity curve data from each pass in the optimization. I'm not familiar with Frames and can't
12