Page 1 of 2
Posted: Wed Sep 06, 2017 6:08 am
I downloaded tick data for GOLD (attached parameters)
But in backtesting i see that 0.01 lot are too big ...
Is there any problem about lot size ?
Thanks and regards!
Posted: Wed Sep 06, 2017 6:53 am
For GOLD, kindly use the method described here to get your broker settings:
The reason for this is that TickstoryExpertEA (or more specifically, MQL) cannot acquire certain information for "special" (non-Forex) symbols. In this case, the above-described method will get all the correct information. This will ensure you have the correct Lot Size parameter as per your broker.
Posted: Mon Sep 11, 2017 10:36 am
I have tried with the method described ....
But when I use DAX30 .... I got an error : "zero divide"..... ?
I tried with several EA , i got always same error
Posted: Mon Sep 11, 2017 3:51 pm
The zero divide error is being generated by your EA. As per the logs, check line 987 of your EA code to see what value/variable is zero and work from there. If you have exported the correct settings as described above, then you should correct the error as it could theoretically the zero value could occur in a live environment.
Posted: Tue Sep 12, 2017 6:13 am
I tried using the same Ea, same parameters with MT4 "standard" tickbytick data (not with Tickstory) and it all works.
So i guess there is some mistake in the tickstory downloaded data...
(Got the same Error zero divide also with othet "working" EA ...while using index )
Posted: Tue Sep 12, 2017 7:01 am
If you believe it's the data, you are best off re-checking to make sure you have exported your GOLD settings correctly by comparing with your broker's. Assuming you know a little about MQL & programming, the easier way would be to look at the code and see what value is zero and work back from there. If you look at line 987, column 92 in the code, the variable name might give you some hints as to which field is incorrect (for example, it might be called 'Lot size' which would indicate that you have exported your 'Lot size' variable incorrectly).
Hope this helps.
Posted: Wed Sep 13, 2017 3:52 pm
I was trying to test gold but got the error as attached. All the forex pairs do not have this problem . Can this be solved by using the correct broker settings as mentioned above? I am referring to post #2 in https://tickstory.com/forum/viewtopic.php?f=2&t=809
Posted: Wed Sep 13, 2017 9:23 pm
Yes, incorrect MT4 settings could be one of the causes of this error. For a complete list of possible reasons for this error, please refer to this post:
https://tickstory.com/forum/viewtopic.p ... t=20#p5382
Posted: Fri Sep 15, 2017 4:37 am
I am trying to get the right settings for gold using the method mentioned in https://tickstory.com/forum/viewtopic.php?f=2&t=809
What date range should I use for the backtest in step 2?
If I choose 1-Jan 2017 to 13-Sep 2017, I get only 1 trade and the unmatched data error .
If I choose 1-Jan 2017 to 11-Sep 2017, I get the no ticks generated error .
Posted: Fri Sep 15, 2017 7:49 am
If you are getting "data mistmatched" messages it means your exported data is not being used. Are you sure you have mapped to your MT4 symbol correctly (eg. "XAUUSD" -> "GOLD")?