forex software

Create and Test Forex Strategies

forex software

Skip to forum content

Forex Software

Create and Test Forex Strategies

You are not logged in. Please login or register.


Forex Software → Help and Support → Invalid pointer access

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 9

Topic: Invalid pointer access

Hello All,

I am trying to create a simple strategy and export it to MT4 and it simply gives me back this error.

2016.06.29 01:01:32.300    GBPUSD,M5: 1 tick events (75272 bars, 22615432 bar states) processed in 0:00:00.047 (total time 0:00:04.462)
2016.06.29 01:01:32.300    2015.01.02 09:00  GBPUSDM5 GBPUSD,M5: not initialized
2016.06.29 01:01:32.300    2015.01.02 09:00  GBPUSDM5 GBPUSD,M5: invalid pointer access in 'GBPUSDM5.mq4' (2940,22)
2016.06.29 01:01:32.300    2015.01.02 09:00  GBPUSDM5 GBPUSD,M5: GBPUSDM5 loaded.

What am I missing? This is strategy is too simple

Post's attachments

strategybuilder.png 112.75 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Re: Invalid pointer access

The reason can be low number of bars in the MT tester.

Open the GBPUSD M5 chart in MT and hold the Home key until MT stops loading older bars.
Open the tester and set "Use date" of the MT tester to ensure that it will have more bars.

http://s32.postimg.org/rd31bb2rp/screenshot_1873.png

Check for some messages on the MT chart and in the Experts output.

If the problem i snot fixed, please attach the strategy.

Re: Invalid pointer access

Thx for your answer mr. Popov

Actually the answer is the same(same line)  if I use a larger time range or if I disable date tick!

Strategy attached

Post's attachments

GBPUSDM5.mq4 221.45 kb, 12 downloads since 2016-06-29 

You don't have the permssions to download the attachments of this post.

Re: Invalid pointer access

This is not an expert that is exported from FSB Pro. This a row file without a strategy and indicators.

Use the Export button to produce a working expert advisor.

http://s32.postimg.org/4ki8diwn9/screenshot_1876.png

Re: Invalid pointer access

2016.06.29 10:47:27.137    GBPUSD,M5: 1 tick events (1286664 bars, 141166592 bar states) processed in 0:00:00.062 (total time 0:01:15.031)
2016.06.29 10:47:27.137    1993.09.29 00:00  GBPUSDM5 GBPUSD,M5: not initialized
2016.06.29 10:47:27.135    1993.09.29 00:00  GBPUSDM5 GBPUSD,M5: invalid pointer access in 'GBPUSDM5.mq4' (2940,22)
2016.06.29 10:47:27.135    1993.09.29 00:00  GBPUSDM5 GBPUSD,M5: GBPUSDM5 loaded.
2016.06.29 10:47:26.945    1970.01.01 00:00  GBPUSDM5 inputs: Entry_Amount=0.01; Maximum_Amount=0.1; Adding_Amount=1; Reducing_Amount=1; Stop_Loss=77705; Take_Profit=77706; Break_Even=77707; Martingale_Multiplier=77708; Expert_Magic=2211429; Protection_Min_Account=0; Protection_Max_StopLoss=0; Bar_Close_Advance=15; Write_Log_File=0;
2016.06.29 10:47:26.841    TestGenerator: there are 21 generating errors
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.317    TestGenerator: unmatched data error (volume limit 485 at 2016.06.29 16:45 exceeded)
2016.06.29 10:47:26.111    TestGenerator: unmatched data error (volume limit 2380 at 2016.06.27 16:50 exceeded)
2016.06.29 10:46:12.130    TestGenerator: current spread 24 used

Post's attachments

d1d1d1.png 108.75 kb, 1 downloads since 2016-06-29 

You don't have the permssions to download the attachments of this post.

Re: Invalid pointer access

Here's the MQ4 generated in accordance with your instructions

Post's attachments

GBPUSDM5.mq4 221.45 kb, 7 downloads since 2016-06-29 

You don't have the permssions to download the attachments of this post.

Re: Invalid pointer access

This expert is not exported from FSB Pro.

As you can see on your screenshot the EA is export directly to MT.
Please find the exported EA in your MT's Experts folder.

http://s32.postimg.org/3mh12l29x/screenshot_1879.png

Re: Invalid pointer access

Hello mr Popov,

The file I have attached is exported directly from FSB Pro to MT, yes. Kindly enlighten me with you what you you want me to do? Not export directly? Here's the file not exported directly.

Post's attachments

GBPUSDM5.mq4 221.45 kb, 8 downloads since 2016-06-29 

You don't have the permssions to download the attachments of this post.

Re: Invalid pointer access

What version of FSB Pro do you use?

Posts: 9

Pages 1

You must login or register to post a reply

Forex Software → Help and Support → Invalid pointer access

Similar topics in this forum