Backtesting/Optimization - page 49

 
Linuxser:
Reduce the max bars in chart. In this example you could change 65000 to 6500.

Thanks!!! It solved my problem.

 

History Data Holes in MT4 can not be cleaned?

Hi People,

i don't can load M1 data in Metatrader 4. Here by the currency-pair

GBPUSD M1. (Picture attached)

On this Site=

History Center for MetaTrader 4

...come by downloading the Error "Forbidden"

I have two expert advisors for detecting data holes, but all two are not

working!?

The Expert Advisors are in the attachmen

Can one here help me

Thank You!

---------

The Rock

---------

 
The Rock:
Hi People,

i don't can load M1 data in Metatrader 4. Here by the currency-pair

GBPUSD M1. (Picture attached)

On this Site=

History Center for MetaTrader 4

...come by downloading the Error "Forbidden"

I have two expert advisors for detecting data holes, but all two are not

working!?

The Expert Advisors are in the attachmen

Can one here help me

Thank You!

---------

The Rock

---------

Alpari Data Center often does not work.

And about holes you could read this article: "Free-of-Holes" Charts - MQL4 Articles

 

The ol' error #130

Does anyone know why I would be getting the following sequence when using the MT4 system tester? The sell stop orders never have an error. Would errors happen with forward testing?

Thanks for any help you may have!

first

00:17:49 2008.11.11 10:20 EA v2_1 EURJPY,M5: Buy Stop Order Sent @ 125.03 EA v2_1

00:17:49 2008.11.11 10:20 EA v2_1 EURJPY,M5: OrderSend ( EA v2_1) failed with error #130

00:17:49 2008.11.11 10:20 EA v2_1 EURJPY,M5: OrderSend error 130

00:17:49 2008.11.11 10:20 EA v2_1 EURJPY,M5: Buy Stop Order Sent @ 125.03 EA v2_1

00:17:49 2008.11.11 10:20 EA v2_1 EURJPY,M5: OrderSend ( EA v2_1) failed with error #130

00:17:49 2008.11.11 10:20 EA v2_1 EURJPY,M5: open #2 buy stop 0.10 EURJPY at 125.03 sl: 124.53 tp: 125.23 ok

00:17:49 2008.11.11 10:20 EA v2_1 EURJPY,M5: Buy Stop Order Sent @ 125.03 EA v2_1

00:17:49 2008.11.11 10:20 Tester: order #2, buy 0.10 EURJPY is opened at 125.03

00:17:50 2008.11.11 10:31 Tester: stop loss #2 at 124.53 (124.52 / 124.62)

00:17:57 2008.11.11 10:35 EA v2_1 EURJPY,M5: open #3 sell stop 0.10 EURJPY at 124.46 sl: 124.96 tp: 124.26 ok

00:17:57 2008.11.11 10:35 EA v2_1 EURJPY,M5: Sell Stop Order Sent @ 124.46 EA v2_1

00:18:02 2008.11.11 10:42 Tester: order #3, sell 0.10 EURJPY is opened at 124.46

last

 

OrderSend and OrderModify errors.....

Hi all,

I have been testing EAs for several weeks now. I have testing,forward and back, several EAs. However, I have severals that caused me troubles. My troubles are mostly ordersend n ordermodify errors. I am testing for 1 lot instead of 0.1 or any micro or nano contract.

I have changed the lot size, before testing. Knowing this, I open the documentation and found this error can be caused from lot volume. Please let me know how to solve this... Thank you very much for all your attention and help. I appreciate them tremendously.

 

why can't run optimization ?

i tick the box at stratrgy tester

but get it didn't run

it said

2008.12.10 19:09:37 There were 1 passes done during optimization, 1 results have been discarded as insignificant

2008.12.10 20:08:44 There were 0 passes done during optimization

what can i do to correct it?

https://www.mql5.com/en/articles/1417

THANKS

 
 
siscop:
Hello,

I have a little problem with MT4.

When I test my EA on a 4h TF on MT4 from 01.2007 to 12.2007 the history just goes back to may2006. with the Print command I see that the Bars also just go back to May 2006.

I test offline and my offline historydatabase goes back to 2004. My EA needs this history of several years back. -the longer the better. This EA learns from the past and without past it can’t learn…

How do I tell MT4 to load the entire history bank? With Extra->option->diagram I already placed the max on chart and history to 99999999999 but this didn’t influence the EA history.

I hope someone can help me on this.

Tester will start from oldest value unless you've told something different (use date option).

Also, go to Options --> Charts --> MAx Bars in history and change it

Amounts of Bars in History and in Charts

Bars stored in history and those shown in charts differ from each other. This difference is determined by the fact that any amount of bars can be kept in the hard disk provided that it has enough space. But the amount of bars shown in the chart is limited by the computer resources. To calculate values of technical and custom indicators, bars shown in the chart are used, as well. When a great amount of indicators and data to be shown are used simultaneously, computer free resources (central processor load and free RAM) can exhaust very soon. To avoid such problems, one can specify the amount of data shown in the charts independently. To do so, one must choose the suitable value from the pop-up list or enter it manually in the "Max bars in chart" field. The amount of bars to be stored in the hard disk is specified in the "Max bars in history" field. In future, this value will be used for testing of expert advisors. Any amount of bars can be specified here.

 

How do I use a .set file for optimization?

 
increase:
How do I use a .set file for optimization?

Just load it and the EA will take .set parameters.