What makes some EA's backtest slower?

Jul 01, 2016 at 01:55
515 การดู
4 Replies
เป็นสมาชิกตั้งแต่ Oct 23, 2012   349 โพสต์
Jul 01, 2016 at 01:55
I know calling external indicators will slow it down, but what if the EA is not calling on external indicators what are the other causes?
if you follow the flock like sheep you always end up stepping in shit!
forex_trader_25447
เป็นสมาชิกตั้งแต่ Dec 21, 2010   131 โพสต์
Jul 01, 2016 at 11:29
Try to comment some part of the program,
and find where is the most slow code.
เป็นสมาชิกตั้งแต่ Dec 01, 2013   2 โพสต์
Jul 01, 2016 at 19:32
Во-первых, количество расчетов, которые совершает EA.
Во-вторых, замедление работы EA может быть связано с самим терминалом. В окне 'Обзор рынка' нужно оставлять только те символы, на которых торгуешь, а остальные убирать
เป็นสมาชิกตั้งแต่ Dec 01, 2013   2 โพสต์
Jul 01, 2016 at 19:54
StoneHeart posted:
Try to comment some part of the program,
and find where is the most slow code.
Если есть код, то время работы лучше посмотреть в MetaEditor - Отладка - Начать профилирование.
เป็นสมาชิกตั้งแต่ Nov 12, 2010   174 โพสต์
Aug 22, 2016 at 05:09
The more functions that are called outside the EA, the more time the EA will take to test. More internal variables in place of calling the same function such as getting the OrderOpenPrice() or another value multiple times will greatly speed up the EA.
See my profile or message me for my latest EA
You must be connected to Myfxbook in order to leave a comment
*การใช้งานเชิงพาณิชย์และสแปมจะไม่ได้รับการยอมรับ และอาจส่งผลให้บัญชีถูกยกเลิก
เคล็ดลับ: การโพสต์รูปภาพ/youtube url จะฝังลงในโพสต์ของคุณโดยอัตโนมัติ!
เคล็ดลับ: พิมพ์เครื่องหมาย @ เพื่อป้อนชื่อผู้ใช้ที่เข้าร่วมการสนทนานี้โดยอัตโนมัติ