{"id":52461,"date":"2025-04-22T19:51:29","date_gmt":"2025-04-22T11:51:29","guid":{"rendered":"http:\/\/test.swqi.tw\/?p=52461"},"modified":"2025-12-03T03:43:46","modified_gmt":"2025-12-02T19:43:46","slug":"mt5-ea-backtesting-guide","status":"publish","type":"post","link":"https:\/\/mister.forex\/cn\/mt5-ea-backtesting-guide\/","title":{"rendered":"MT5 \u56de\u6d4b\u6559\u5b66\uff1a\u65b0\u624b\u5982\u4f55\u6d4b\u8bd5 EA \u7b56\u7565\uff1f"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"52461\" class=\"elementor elementor-52461\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-014fb36 e-flex e-con-boxed e-con e-parent\" data-id=\"014fb36\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-29f0771 elementor-widget elementor-widget-html\" data-id=\"29f0771\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<span>\n<h2><strong>MT5 \u5982\u4f55\u56de\u6d4b (Backtesting)\uff1f<\/strong><\/h2>\n\n\u60a8\u53ef\u80fd\u542c\u8bf4\u8fc7\u4e13\u5bb6\u987e\u95ee\uff08EA\uff09\u53ef\u4ee5\u5e2e\u60a8\u81ea\u52a8\u4ea4\u6613\uff0c\u4f46\u60a8\u600e\u4e48\u77e5\u9053\u4e00\u4e2a EA \u7684\u7b56\u7565\u5230\u5e95\u597d\u4e0d\u597d\u5462\uff1f\u5728\u60a8\u7528\u771f\u5b9e\u7684\u94b1\u53bb\u5192\u9669\u4e4b\u524d\uff0c\u6709\u4e00\u4e2a\u65b9\u6cd5\u53ef\u4ee5\u5148\u6d4b\u8bd5\u4e00\u4e0b\uff0c\u8fd9\u5c31\u53eb\u505a\u300c\u56de\u6d4b\u300d(Backtesting)\u3002<br><br>\n\n<h3><strong>\u4ec0\u4e48\u662f MT5 \u56de\u6d4b\uff1f<\/strong><\/h3>\n\n\u7b80\u5355\u6765\u8bf4\uff0c\u56de\u6d4b\u5c31\u662f\u5229\u7528\u8fc7\u53bb\u7684\u5e02\u573a\u5386\u53f2\u6570\u636e\uff0c\u6765\u4eff\u771f\u8fd0\u884c\u60a8\u7684 EA \u7b56\u7565\uff0c\u770b\u770b\u5982\u679c\u5f53\u65f6\u4f7f\u7528\u8fd9\u4e2a\u7b56\u7565\uff0c\u7ed3\u679c\u4f1a\u662f\u8d5a\u94b1\u8fd8\u662f\u4e8f\u94b1\u3002\u8fd9\u5c31\u50cf\u662f\u7ed9\u60a8\u7684 EA \u7b56\u7565\u505a\u4e00\u6b21\u300c\u5386\u53f2\u6a21\u62df\u8003\u300d\uff0c\u5e2e\u52a9\u60a8\u5728\u6295\u5165\u771f\u94b1\u524d\u8bc4\u4f30\u5b83\u7684\u6f5c\u529b\u3002<br><br>\n\nMetaTrader 5 (MT5) \u5e73\u53f0\u5185\u5efa\u4e86\u4e00\u4e2a\u53eb\u505a\u300c\u7b56\u7565\u6d4b\u8bd5\u5668\u300d(Strategy Tester) \u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u5e2e\u60a8\u5b8c\u6210\u56de\u6d4b\u3002<br><br>\n\n<h3><strong>\u5982\u4f55\u5728 MT5 \u4e2d\u8fdb\u884c\u56de\u6d4b\uff1f\uff08\u7b80\u5355\u6b65\u9aa4\uff09<\/strong><\/h3>\n\n<ol>\n  <li>\n    <h4><strong>\u6253\u5f00\u7b56\u7565\u6d4b\u8bd5\u5668\uff1a<\/strong><\/h4>\n    <ul>\n        \n    <img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-57883\" src=\"https:\/\/mister.forex\/wp-content\/uploads\/2025\/09\/mt5-ea-backtest-guide-cn-1.webp\" alt=\"\" width=\"265\" height=\"445\" srcset=\"https:\/\/mister.forex\/wp-content\/uploads\/2025\/09\/mt5-ea-backtest-guide-cn-1.webp 265w, https:\/\/mister.forex\/wp-content\/uploads\/2025\/09\/mt5-ea-backtest-guide-cn-1-179x300.webp 179w, https:\/\/mister.forex\/wp-content\/uploads\/2025\/09\/mt5-ea-backtest-guide-cn-1-7x12.webp 7w\" sizes=\"(max-width: 265px) 100vw, 265px\" \/>\n    \n      <li>\u5728 MT5 \u9009\u5355\u5217\u4e2d\uff0c\u70b9\u51fb\u300c\u67e5\u770b\u300d(View)\u3002<\/li>\n      <li>\u9009\u62e9\u300c\u7b56\u7565\u6d4b\u8bd5\u5668\u300d(Strategy Tester)\u3002<\/li>\n      <li>\u4e5f\u53ef\u4ee5\u76f4\u63a5\u6309\u4e0b <code>Ctrl + R<\/code>\u3002<\/li>\n      <li>\u753b\u9762\u4e0b\u65b9\u5c06\u5f00\u542f\u7b56\u7565\u6d4b\u8bd5\u5668\u9762\u677f\u3002<\/li>\n    <\/ul>\n  <\/li>\n\n  <li>\n    <h4><strong>\u57fa\u672c\u8bbe\u5b9a\uff08\u8bbe\u7f6e\u6807\u7b7e\uff09\uff1a<\/strong><\/h4>\n    \n    <a href=\"https:\/\/mister.forex\/wp-content\/uploads\/2025\/09\/mt5-ea-backtest-guide-cn-2.webp\"><img decoding=\"async\" class=\"alignnone size-full wp-image-57884\" src=\"https:\/\/mister.forex\/wp-content\/uploads\/2025\/09\/mt5-ea-backtest-guide-cn-2.webp\" alt=\"\" width=\"1200\" height=\"430\" srcset=\"https:\/\/mister.forex\/wp-content\/uploads\/2025\/09\/mt5-ea-backtest-guide-cn-2.webp 1200w, https:\/\/mister.forex\/wp-content\/uploads\/2025\/09\/mt5-ea-backtest-guide-cn-2-500x179.webp 500w, https:\/\/mister.forex\/wp-content\/uploads\/2025\/09\/mt5-ea-backtest-guide-cn-2-300x108.webp 300w, https:\/\/mister.forex\/wp-content\/uploads\/2025\/09\/mt5-ea-backtest-guide-cn-2-768x275.webp 768w, https:\/\/mister.forex\/wp-content\/uploads\/2025\/09\/mt5-ea-backtest-guide-cn-2-18x6.webp 18w, https:\/\/mister.forex\/wp-content\/uploads\/2025\/09\/mt5-ea-backtest-guide-cn-2-600x215.webp 600w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a>\n    \n    <ol>\n      <li><strong>\u6d4b\u8bd5\u7c7b\u578b\uff1a<\/strong> \u70b9\u51fb\u300c\u8bbe\u7f6e\u300d(Settings)\u3002<\/li>\n      <li><strong>\u9009\u62e9 EA\uff1a<\/strong> \u4ece\u4e0b\u62c9\u9009\u5355\u4e2d\u9009\u53d6\u60a8\u8981\u6d4b\u8bd5\u7684 EA\u3002<\/li>\n      <li><strong>\u4ea4\u6613\u54c1\u79cd\uff1a<\/strong> \u4f8b\u5982 <code>EURUSD<\/code>\u3002<\/li>\n      <li><strong>\u65f6\u95f4\u5468\u671f\uff1a<\/strong> \u4f8b\u5982 <code>H1<\/code>\uff081 \u5c0f\u65f6\u56fe\uff09\u3002<\/li>\n      <li><strong>\u6d4b\u8bd5\u671f\u95f4\uff1a<\/strong> \u53ef\u9009\u300c\u5168\u90e8\u5386\u53f2\u300d\u6216\u81ea\u5b9a\u4e49\u65e5\u671f\u8303\u56f4\u3002<\/li>\n      <li><strong>\u6a21\u62df\u65b9\u5f0f\uff1a<\/strong>\n        <ul>\n          <li><strong>\u6bcf\u6b21\u62a5\u4ef7 (Every tick)\uff1a<\/strong><\/strong> \u7cbe\u786e\u5ea6\u9ad8\uff0c\u5efa\u8bae\u4f7f\u7528\u3002<\/li>\n          <li><strong>\u6bcf\u6b21\u62a5\u4ef7\u5747\u4ee5\u771f\u5b9e\u62a5\u4ef7 (Every tick based on real ticks)\uff1a<\/strong> \u7cbe\u786e\u5ea6\u6700\u9ad8\uff0c\u5efa\u8bae\u4f7f\u7528\u3002<\/li>\n          <li><strong>\u4ec5\u4f7f\u7528\u5f00\u76d8\u4ef7 (Open prices only)\uff1a<\/strong> \u6d4b\u8bd5\u901f\u5ea6\u5feb\uff0c\u7cbe\u5ea6\u8f83\u4f4e\u3002<\/li>\n        <\/ul>\n      <\/li>\n      <li><strong>\u521d\u59cb\u5b58\u6b3e\uff1a<\/strong> \u4f8b\u5982 <code>10000 USD<\/code>\u3002<\/li>\n      <li><strong>\u6760\u6746\u6bd4\u4f8b\uff1a<\/strong> \u4f8b\u5982 <code>1:100<\/code>\u3002<\/li>\n      <li><strong>\u4f18\u5316\u8bbe\u5b9a (Optimization)\uff1a<\/strong> \u521d\u5b66\u8005\u53ef\u9009\u62e9\u300c\u7981\u7528\u300d\u3002<\/li>\n      <li><strong>\u53ef\u89c6\u5316\u6a21\u5f0f (Visual mode)\uff1a<\/strong> \u82e5\u60f3\u770b\u5230\u56fe\u8868\u4e2d\u4ea4\u6613\u8fc7\u7a0b\u53ef\u52fe\u9009\uff0c\u901f\u5ea6\u4f1a\u8f83\u6162\u3002<\/li>\n    <\/ol>\n  <\/li>\n\n  <li>\n    <h4><strong>\u8bbe\u5b9a EA \u53c2\u6570\uff08\u8f93\u5165\u53c2\u6570\u6807\u7b7e\uff09\uff1a<\/strong><\/h4>\n    <ul>\n      <li>\u70b9\u9009\u300c\u8f93\u5165\u53c2\u6570\u300d(Inputs) \u6807\u7b7e\u3002<\/li>\n      <li>\u4fee\u6539\u5982\u624b\u6570\u3001\u6b62\u635f\u3001\u6280\u672f\u6307\u6807\u7b49\u53c2\u6570\u3002<\/li>\n      <li>\u5982\u4e0d\u786e\u5b9a\u53ef\u4f7f\u7528\u9ed8\u8ba4\u503c\u3002<\/li>\n    <\/ul>\n  <\/li>\n\n  <li>\n    <h4><strong>\u5f00\u59cb\u6d4b\u8bd5\uff1a<\/strong><\/h4>\n    <ul>\n      <li>\u68c0\u67e5\u6240\u6709\u8bbe\u5b9a\u65e0\u8bef\u540e\uff0c\u70b9\u51fb\u7eff\u8272\u300c\u5f00\u59cb\u300d(Start) \u6309\u94ae\u3002<\/li>\n      <li>\u6d4b\u8bd5\u65f6\u95f4\u4f1a\u4f9d\u636e\u6570\u636e\u533a\u95f4\u3001\u6a21\u5f0f\u4e0e\u8ba1\u7b97\u673a\u6548\u80fd\u800c\u5b9a\u3002<\/li>\n    <\/ul>\n  <\/li>\n\n  <li>\n    <h4><strong>\u67e5\u770b\u7ed3\u679c\uff1a<\/strong><\/h4>\n    <ul>\n      <li><strong>\u56de\u6d4b\uff1a<\/strong> \u663e\u793a\u603b\u5229\u6da6\/\u4e8f\u635f\u3001\u4ea4\u6613\u6b21\u6570\u3001\u6700\u5927\u56de\u64a4\u7b49\u7edf\u8ba1\u3002<\/li>\n      <li><strong>\u56fe\u8868\uff1a<\/strong> \u663e\u793a\u8d44\u91d1\u66f2\u7ebf\uff0c\u53ef\u76f4\u89c2\u89c2\u5bdf\u7a33\u5b9a\u6027\u3002<\/li>\n    <\/ul>\n  <\/li>\n<\/ol><br>\n\n<h3><strong>\u65b0\u624b\u56de\u6d4b\u6ce8\u610f\u4e8b\u9879\uff1a<\/strong><\/h3>\n\n<ul>\n  <li><strong>\u7ed3\u679c\u4ec5\u4f9b\u53c2\u8003\uff1a<\/strong> \u8fc7\u53bb\u8868\u73b0\u4e0d\u4ee3\u8868\u672a\u6765\u4e5f\u4f1a\u6210\u529f\u3002<\/li>\n  <li><strong>\u6570\u636e\u8d28\u91cf\u91cd\u8981\uff1a<\/strong> \u8bf7\u4f7f\u7528\u6765\u81ea\u53ef\u9760\u6765\u6e90\u7684\u5b8c\u6574\u5386\u53f2\u6570\u636e\u3002<\/li>\n  <li><strong>\u907f\u514d\u8fc7\u5ea6\u4f18\u5316\uff1a<\/strong> \u907f\u514d\u8ba9\u53c2\u6570\u8fc7\u5ea6\u62df\u5408\u5386\u53f2\u8d70\u52bf\u3002<\/li>\n  <li><strong>\u5148\u8dd1\u6a21\u62df\u8d26\u6237\uff1a<\/strong> \u56de\u6d4b\u540e\u52a1\u5fc5\u7528\u6a21\u62df\u8d26\u6237\u8bd5\u8dd1\u518d\u5b9e\u76d8\u4f7f\u7528\u3002<\/li>\n<\/ul><br>\n\n\u56de\u6d4b\u662f\u8bc4\u4f30 EA \u7b56\u7565\u7684\u4e00\u4e2a\u975e\u5e38\u6709\u7528\u7684\u5de5\u5177\uff0c\u7279\u522b\u662f\u5bf9\u4e8e\u5bb3\u6015\u4e00\u5f00\u59cb\u5c31\u4e8f\u635f\u7684\u65b0\u624b\u3002\u900f\u8fc7 MT5 \u7684\u7b56\u7565\u6d4b\u8bd5\u5668\uff0c\u60a8\u53ef\u4ee5\u6bd4\u8f83\u6709\u4fe1\u5fc3\u5730\u53bb\u4e86\u89e3\u4e00\u4e2a EA \u7684\u6f5c\u5728\u8868\u73b0\u548c\u98ce\u9669\u3002<br>\n\n<\/span>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9e5de2a elementor-widget elementor-widget-template\" data-id=\"9e5de2a\" data-element_type=\"widget\" data-widget_type=\"template.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-template\">\n\t\t\t\t\t<div data-elementor-type=\"container\" data-elementor-id=\"49848\" class=\"elementor elementor-49848\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t<div class=\"elementor-element elementor-element-43b58eaa e-flex e-con-boxed e-con e-parent\" data-id=\"43b58eaa\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-83f27ac elementor-widget elementor-widget-html translation-block\" data-id=\"83f27ac\" data-element_type=\"widget\" data-widget_type=\"html.default\"><span>\n<strong style=\"font-size: 1.2em\">\nHi, \u6211\u4eec\u662f <a href=\"https:\/\/mister.forex\/cn\/about-us\/\" target=\"_blank\" style=\"text-decoration: underline\">Mr.Forex \u7814\u7a76\u56e2\u961f<\/a><\/strong><br>\n\n\u4ea4\u6613\u4e0d\u4ec5\u9700\u8981\u6b63\u786e\u7684\u5fc3\u6001\uff0c\u66f4\u9700\u8981\u6709\u7528\u7684\u5de5\u5177\u4e0e\u6d1e\u5bdf\u3002\u8fd9\u91cc\u4e13\u6ce8\u4e8e\u5168\u7403\u7ecf\u7eaa\u5546\u8bc4\u6d4b\u3001\u4ea4\u6613\u7cfb\u7edf\u5efa\u7f6e (MT4 \/ MT5\u3001EA\u3001VPS) \u4e0e\u5916\u6c47\u5b9e\u6218\u57fa\u7840\u3002\u4eb2\u81ea\u6559\u4f60\u638c\u63e1\u91d1\u878d\u5e02\u573a\u7684\u201c\u64cd\u4f5c\u8bf4\u660e\u4e66\u201d\uff0c\u4ece\u96f6\u6253\u9020\u4e13\u4e1a\u7684\u4ea4\u6613\u73af\u5883\u3002<br>\n<br>\n\n<strong>\u5982\u679c\u4f60\u60f3\u4ece\u7406\u8bba\u8fc8\u5411\u5b9e\u6218\uff1a<\/strong><br>\n1. \u5e2e\u5fd9\u5206\u4eab\u8fd9\u7bc7\u6587\u7ae0\uff0c\u8ba9\u66f4\u591a\u4ea4\u6613\u8005\u770b\u89c1\u771f\u76f8\u3002<br>\n2. \u9605\u8bfb\u66f4\u591a\u4e0e <a href=\"https:\/\/mister.forex\/cn\/category\/learn-forex\/\" target=\"_blank\">\u5916\u6c47\u6559\u5b66<\/a> \u76f8\u5173\u6587\u7ae0\u3002\n<\/span><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>\u60f3\u5728\u4e0d\u5192\u771f\u91d1\u98ce\u9669\u4e0b\u9a8c\u8bc1\u81ea\u52a8\u4ea4\u6613\u7b56\u7565\uff1f\u672c\u7bc7\u5b8c\u6574\u6559\u4f60\u5982\u4f55\u7528 MT5 \u7b56\u7565\u6d4b\u8bd5\u5668\u8fdb\u884c EA \u56de\u6d4b\uff0c\u4ece\u8bbe\u5b9a\u53c2\u6570\u5230\u5206\u6790\u7ed3\u679c\uff0c\u5e2e\u52a9\u4f60\u5728\u5b9e\u76d8\u524d\u505a\u597d\u51c6\u5907\u3002<\/p>","protected":false},"author":1,"featured_media":44856,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[83,100,127],"tags":[128],"class_list":["post-52461","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learn-forex","category-expert-advisor","category-operation-tutorial","tag-no-google"],"_links":{"self":[{"href":"https:\/\/mister.forex\/cn\/wp-json\/wp\/v2\/posts\/52461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mister.forex\/cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mister.forex\/cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mister.forex\/cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mister.forex\/cn\/wp-json\/wp\/v2\/comments?post=52461"}],"version-history":[{"count":0,"href":"https:\/\/mister.forex\/cn\/wp-json\/wp\/v2\/posts\/52461\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mister.forex\/cn\/wp-json\/wp\/v2\/media\/44856"}],"wp:attachment":[{"href":"https:\/\/mister.forex\/cn\/wp-json\/wp\/v2\/media?parent=52461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mister.forex\/cn\/wp-json\/wp\/v2\/categories?post=52461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mister.forex\/cn\/wp-json\/wp\/v2\/tags?post=52461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}