{"id":14853,"date":"2024-05-24T13:41:32","date_gmt":"2024-05-24T09:41:32","guid":{"rendered":"https:\/\/fxglory.com\/helpdesk\/docs\/knowledgebase\/metatrader-4-mt4\/expert-advisors-in-metatrader-4\/"},"modified":"2024-07-11T16:39:14","modified_gmt":"2024-07-11T12:39:14","slug":"expert-advisors-in-metatrader-4","status":"publish","type":"docs","link":"https:\/\/fxglory.com\/helpdesk\/docs\/knowledgebase\/metatrader-4-mt4\/expert-advisors-in-metatrader-4\/","title":{"rendered":"Expert Advisors in MetaTrader 4"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"14853\" class=\"elementor elementor-14853\" data-elementor-post-type=\"docs\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-945d937 elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"945d937\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6c4e889\" data-id=\"6c4e889\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1e89e7c elementor-widget elementor-widget-text-editor\" data-id=\"1e89e7c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>An Expert Advisor (EA) is a program specifically written for the MetaTrader platform using the MetaQuotes Language Version 4 (MQL4). An expert advisor can execute trades based on a specific strategy automatically.<\/p><p>In other words, an EA allows a trader to automate trading strategies, eliminating the need to monitor the market constantly. Unlike human traders, it operates without emotions, such as greed or fear, enabling logical and consistent trade execution.<\/p><h2>Accessing Expert Advisors:<\/h2><p>Some expert advisors are already integrated into the MetaTrader 4 terminal. They are available in the <strong>&#8220;Navigator&#8221;<\/strong> window on the left side of your platform.<\/p><p>To access them, click on the <strong>&#8220;Expert Advisors&#8221;<\/strong> item (e.g., MACD Sample EA).<\/p><p>If the <strong>&#8220;Navigator&#8221;<\/strong> window is not displayed, click on the <img decoding=\"async\" class=\"inline-icon-image aligncenter wp-image-14859 size-full\" src=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-01.jpg\" alt=\"expert advisors in metatrader 4 step 01\" width=\"40\" height=\"40\" srcset=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-01.jpg 40w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-01-16x16.jpg 16w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-01-18x18.jpg 18w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-01-20x20.jpg 20w\" sizes=\"(max-width: 40px) 100vw, 40px\" \/> button from the standard toolbar or use the shortcut keys &lt;Ctrl+N&gt;.<\/p><p><a href=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-02.webp\"><img fetchpriority=\"high\" decoding=\"async\" class=\"doc-rounded-image aligncenter wp-image-14860 size-full\" src=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-02.webp\" alt=\"on the &quot;Navigator&quot; section, choose a Expert Advisor\" width=\"909\" height=\"548\" srcset=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-02.webp 909w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-02-300x181.webp 300w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-02-768x463.webp 768w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-02-570x345.webp 570w\" sizes=\"(max-width: 909px) 100vw, 909px\" \/><\/a><\/p><h2>Running an Expert Advisor:<\/h2><p>Drag and drop the desired expert advisor onto the chart. Note that some EAs may not work efficiently on all currency pairs.<\/p><p>When you run an EA, a window with the tabs <strong>&#8220;About&#8221;<\/strong>, <strong>&#8220;Common&#8221;<\/strong>, and <strong>&#8220;Inputs&#8221;<\/strong> will appear, where you can configure settings for the EA.<\/p><p><a href=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-03.webp\"><img decoding=\"async\" class=\"doc-rounded-image alignnone wp-image-14862\" src=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-03.webp\" alt=\"you can change the settings of the EA\" width=\"500\" height=\"249\" srcset=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-03.webp 603w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-03-300x149.webp 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><\/p><p>When an EA is running, its name will be displayed in the top-right corner of the chart with a smiley icon.<\/p><h2>Managing Expert Advisors:<\/h2><p>Right-click on the chart to manage your EA through the <strong>&#8220;Properties&#8230;&#8221;<\/strong> option.<br \/>To remove the EA, choose <strong>&#8220;Remove&#8221;<\/strong>.<\/p><p><a href=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-04.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"doc-rounded-image aligncenter wp-image-14863 size-large\" src=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-04-1024x671.webp\" alt=\"right click on the chart, choose the &quot;Expert Advisor&quot; and click on the &quot;Properties...&quot;\" width=\"1024\" height=\"671\" srcset=\"https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-04-1024x671.webp 1024w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-04-300x196.webp 300w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-04-768x503.webp 768w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-04-60x40.webp 60w, https:\/\/fxglory.com\/helpdesk\/wp-content\/uploads\/2024\/05\/expert-advisors-in-metatrader-4-step-04.webp 1049w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p><p>There are many EAs available, but not all are suitable for every trading system. Traders may need to create their own EAs using the MQL4 programming language or purchase new ones that fit their trading strategies.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>An Expert Advisor (EA) is a program specifically written for the MetaTrader platform using the MetaQuotes Language Version 4 (MQL4). An expert advisor can execute trades based on a specific strategy automatically. In other words, an EA allows a trader to automate trading strategies, eliminating the need to monitor the market constantly. Unlike human traders, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":9528,"menu_order":71,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-14853","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"_links":{"self":[{"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/docs\/14853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/comments?post=14853"}],"version-history":[{"count":16,"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/docs\/14853\/revisions"}],"predecessor-version":[{"id":15026,"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/docs\/14853\/revisions\/15026"}],"up":[{"embeddable":true,"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/docs\/9528"}],"wp:attachment":[{"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/media?parent=14853"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/fxglory.com\/helpdesk\/wp-json\/wp\/v2\/doc_tag?post=14853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}