Forum

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: int Lin_Reg_Slope( int diagFileHandle, double

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

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) Run the test 6) repeat 3) and 4) for different

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 that diverged from each other (The red line and

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 in each file to 24 and 200, respectively. For each

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 too bad. It's just more than I was expecting. See the

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 results. When comparing the net equity curves I noticed a

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 swing trading. Based on this fact I'm planning on using

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. I wanted to check that this rounding was being

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 supplied data and the custom data I loaded. So I did a