{"id":100768,"date":"2025-01-15T11:45:08","date_gmt":"2025-01-15T11:45:08","guid":{"rendered":"https:\/\/expforex.com\/templates\/"},"modified":"2025-05-15T04:41:20","modified_gmt":"2025-05-15T04:41:20","slug":"templates","status":"publish","type":"post","link":"https:\/\/expforex.com\/vi\/templates\/","title":{"rendered":"M\u1eabu MQL Ngu\u1ed3n m\u1edf. M\u1eabu \u0111\u1ec3 T\u1ea1o Expert Advisor"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-tom-t\u1eaft\">T\u00f3m t\u1eaft<\/h2>\n\n\n\n<p>Vi\u1ec7c t\u1ea1o <strong>Chuy\u00ean gia c\u1ed1 v\u1ea5n (Expert Advisor \u2013 EA)<\/strong> \u0111\u1ec3 th\u1eed nghi\u1ec7m chi\u1ebfn l\u01b0\u1ee3c c\u1ee7a b\u1ea1n v\u1edbi b\u1ea5t k\u1ef3 <strong>ch\u1ec9 b\u00e1o (Indicator)<\/strong> n\u00e0o th\u1eadt s\u1ef1 c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c \u0111\u01a1n gi\u1ea3n h\u00f3a nh\u1edd c\u00e1c <strong>m\u1eabu (Template)<\/strong> v\u00e0 <strong>ngu\u1ed3n m\u1edf (Open Source)<\/strong>.<\/p>\n\n\n\n<p>D\u01b0\u1edbi \u0111\u00e2y l\u00e0 h\u01b0\u1edbng d\u1eabn t\u1eebng b\u01b0\u1edbc \u0111\u1ec3 b\u1ea1n c\u00f3 th\u1ec3 t\u1ea1o m\u1ed9t EA ch\u1ec9 trong 5 ph\u00fat b\u1eb1ng <strong>Templates MQL Open Source<\/strong> t\u1eeb <a href=\"https:\/\/expforex.com\/vi\" data-language=\"vi\">Expforex.com<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">H\u01b0\u1edbng d\u1eabn t\u1eebng b\u01b0\u1edbc t\u1ea1o EA b\u1eb1ng M\u1eabu Ngu\u1ed3n m\u1edf<\/h3>\n\n\n\n<ol style=\"list-style-type:wp-embed\" class=\"wp-block-list\">\n<li><strong>T\u1ea3i m\u1eabu ngu\u1ed3n m\u1edf<\/strong>:\n\t\n<ul class=\"wp-block-list\">\n<li>Truy c\u1eadp <a href=\"https:\/\/expforex.com\/vi\" data-language=\"vi\">Expforex.com<\/a> v\u00e0 m\u1edf m\u1ee5c <strong>Open Source<\/strong>, n\u01a1i b\u1ea1n s\u1ebd t\u00ecm th\u1ea5y c\u00e1c m\u1eabu MQL cho <strong>MetaTrader 4 (MT4)<\/strong> v\u00e0 <strong>MetaTrader 5 (MT5)<\/strong>.<\/li>\n\n\n\n<li>T\u1ea3i xu\u1ed1ng m\u1eabu EA ph\u00f9 h\u1ee3p v\u1edbi n\u1ec1n t\u1ea3ng c\u1ee7a b\u1ea1n (MT4 ho\u1eb7c MT5) v\u00e0 d\u1ef1a tr\u00ean ch\u1ec9 b\u00e1o b\u1ea1n mu\u1ed1n s\u1eed d\u1ee5ng.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Hi\u1ec3u c\u1ea5u tr\u00fac m\u1eabu<\/strong>:\n\t\n<ul class=\"wp-block-list\">\n<li>M\u1eabu bao g\u1ed3m s\u1eb5n m\u00e3 x\u1eed l\u00fd c\u00e1c ch\u1ee9c n\u0103ng EA quan tr\u1ecdng nh\u01b0 kh\u1edfi t\u1ea1o, m\u1edf v\u00e0 \u0111\u00f3ng l\u1ec7nh d\u1ef1a tr\u00ean t\u00edn hi\u1ec7u c\u1ee7a ch\u1ec9 b\u00e1o.<\/li>\n\n\n\n<li>C\u00e1c th\u00e0nh ph\u1ea7n ch\u00ednh c\u1ee7a m\u1eabu:\n\t\t\n<ul class=\"wp-block-list\">\n<li><strong>OnInit()<\/strong>: Kh\u1edfi t\u1ea1o EA v\u00e0 n\u1ea1p ch\u1ec9 b\u00e1o.<\/li>\n\n\n\n<li><strong>OnTick()<\/strong>: Ki\u1ec3m tra t\u00edn hi\u1ec7u tr\u00ean m\u1ed7i tick gi\u00e1.<\/li>\n\n\n\n<li><strong>H\u00e0m t\u00edch h\u1ee3p ch\u1ec9 b\u00e1o t\u00f9y ch\u1ec9nh<\/strong>: T\u01b0\u01a1ng t\u00e1c v\u1edbi ch\u1ec9 b\u00e1o t\u00f9y ch\u1ec9nh ho\u1eb7c ch\u1ec9 b\u00e1o c\u00f3 s\u1eb5n trong MetaTrader.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>T\u00edch h\u1ee3p ch\u1ec9 b\u00e1o t\u00f9y ch\u1ec9nh c\u1ee7a b\u1ea1n<\/strong>:\n\t\n<ul class=\"wp-block-list\">\n<li>N\u1ebfu b\u1ea1n d\u00f9ng ch\u1ec9 b\u00e1o t\u00f9y ch\u1ec9nh, h\u00e3y l\u1ea5y m\u00e3 MQL ho\u1eb7c t\u1ec7p <code>.ex4\/.ex5<\/code> t\u01b0\u01a1ng \u1ee9ng.<\/li>\n\n\n\n<li>M\u1edf m\u1eabu EA trong <strong>MetaEditor<\/strong> v\u00e0 s\u1eeda m\u00e3 \u0111\u1ec3 g\u1ecdi ch\u1ec9 b\u00e1o c\u1ee7a b\u1ea1n b\u1eb1ng h\u00e0m <code>iCustom()<\/code>, v\u00ed d\u1ee5:<br><code>double signal = iCustom(NULL, 0, \"YourIndicatorName\", IndicatorParameters, 0, 1);<\/code><\/li>\n\n\n\n<li>N\u1ebfu d\u00f9ng ch\u1ec9 b\u00e1o chu\u1ea9n, b\u1ea1n ch\u1ec9 c\u1ea7n thay t\u00ean h\u00e0m t\u01b0\u01a1ng \u1ee9ng, nh\u01b0 <code>iMA()<\/code> cho \u0110\u01b0\u1eddng trung b\u00ecnh \u0111\u1ed9ng hay <code>iRSI()<\/code> cho RSI.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>T\u00f9y bi\u1ebfn logic giao d\u1ecbch<\/strong>:\n\t\n<ul class=\"wp-block-list\">\n<li>B\u00ean trong <code>OnTick()<\/code>, th\u00eam logic giao d\u1ecbch c\u1ee7a b\u1ea1n d\u1ef1a tr\u00ean t\u00edn hi\u1ec7u ch\u1ec9 b\u00e1o. V\u00ed d\u1ee5 m\u1edf l\u1ec7nh mua:<br><code>if (signal &gt; 0) { OrderSend(Symbol(), OP_BUY, 0.1, Ask, 3, 0, 0, \"Buy trade\", MagicNumber, 0, Green); }<\/code><\/li>\n\n\n\n<li>B\u1ea1n c\u0169ng c\u00f3 th\u1ec3 \u0111\u1eb7t \u0111i\u1ec1u ki\u1ec7n \u0111\u00f3ng l\u1ec7nh, c\u1eaft l\u1ed7 (Stop Loss), ch\u1ed1t l\u1eddi (Take Profit) v\u00e0 d\u1eebng k\u00e9o (Trailing Stop).<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-nh-ng-t-ng-t-t-nh-t-cho-metatrader wp-block-embed-nh-ng-t-ng-t-t-nh-t-cho-metatrader\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"fGjSG04Rst\"><a href=\"https:\/\/expforex.com\/vi\/the-x-10-steps-to-program-your-strategy\/\" data-language=\"vi\">Programming your strategy in 10 steps with Universal Expert Advisor and Open Source<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Programming your strategy in 10 steps with Universal Expert Advisor and Open Source&#8221; &#8212; Nh\u1eefng \u00fd t\u01b0\u1edfng t\u1ed1t nh\u1ea5t cho MetaTrader\" src=\"https:\/\/expforex.com\/vi\/the-x-10-steps-to-program-your-strategy\/embed\/#?secret=votfaNd1Dq#?secret=fGjSG04Rst\" data-secret=\"fGjSG04Rst\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<ol style=\"list-style-type:wp-embed\" class=\"wp-block-list\">\n<li><strong>Bi\u00ean d\u1ecbch EA<\/strong>:\n\t\n<ul class=\"wp-block-list\">\n<li>Sau khi ch\u1ec9nh s\u1eeda, l\u01b0u t\u1ec7p v\u00e0 nh\u1ea5n <strong>Compile<\/strong> trong <strong>MetaEditor<\/strong>.<\/li>\n\n\n\n<li>N\u1ebfu c\u00f3 l\u1ed7i, tr\u00ecnh so\u1ea1n th\u1ea3o s\u1ebd b\u00e1o; h\u00e3y s\u1eeda c\u00fa ph\u00e1p v\u00e0 bi\u00ean d\u1ecbch l\u1ea1i.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Backtest EA<\/strong>:\n\t\n<ul class=\"wp-block-list\">\n<li>N\u1ea1p EA v\u1eeba t\u1ea1o v\u00e0o <strong>B\u1ed9 ki\u1ec3m th\u1eed chi\u1ebfn l\u01b0\u1ee3c (Strategy Tester)<\/strong> c\u1ee7a MetaTrader.<\/li>\n\n\n\n<li>Ch\u1ecdn khung th\u1eddi gian, c\u1eb7p ti\u1ec1n v\u00e0 tham s\u1ed1 v\u00e0o ra \u0111\u1ec3 th\u1eed nghi\u1ec7m.<\/li>\n\n\n\n<li>Xem hi\u1ec7u su\u1ea5t EA tr\u00ean d\u1eef li\u1ec7u l\u1ecbch s\u1eed.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-nh-ng-t-ng-t-t-nh-t-cho-metatrader wp-block-embed-nh-ng-t-ng-t-t-nh-t-cho-metatrader\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"l8GZeN7Etr\"><a href=\"https:\/\/expforex.com\/vi\/testing-and-optimization-of-ea\/\" data-language=\"vi\">Ki\u1ec3m th\u1eed v\u00e0 t\u1ed1i \u01b0u h\u00f3a Chuy\u00ean gia t\u01b0 v\u1ea5n (Expert Advisor) trong Tr\u00ecnh ki\u1ec3m th\u1eed chi\u1ebfn l\u01b0\u1ee3c (Strategy Tester)<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Ki\u1ec3m th\u1eed v\u00e0 t\u1ed1i \u01b0u h\u00f3a Chuy\u00ean gia t\u01b0 v\u1ea5n (Expert Advisor) trong Tr\u00ecnh ki\u1ec3m th\u1eed chi\u1ebfn l\u01b0\u1ee3c (Strategy Tester)&#8221; &#8212; Nh\u1eefng \u00fd t\u01b0\u1edfng t\u1ed1t nh\u1ea5t cho MetaTrader\" src=\"https:\/\/expforex.com\/vi\/testing-and-optimization-of-ea\/embed\/#?secret=t0RkAnm4I3#?secret=l8GZeN7Etr\" data-secret=\"l8GZeN7Etr\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<ol style=\"list-style-type:wp-embed\" class=\"wp-block-list\">\n<li><strong>T\u1ed1i \u01b0u &amp; tinh ch\u1ec9nh<\/strong>:\n\t\n<ul class=\"wp-block-list\">\n<li>N\u1ebfu c\u1ea7n, tinh ch\u1ec9nh tham s\u1ed1 v\u00e0 bi\u00ean d\u1ecbch l\u1ea1i EA.<\/li>\n\n\n\n<li>B\u1ea1n c\u00f3 th\u1ec3 d\u00f9ng <strong>c\u00f4ng c\u1ee5 t\u1ed1i \u01b0u ho\u00e1<\/strong> trong MetaTrader \u0111\u1ec3 t\u00ecm b\u1ed9 tham s\u1ed1 t\u1ed1t nh\u1ea5t.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-t\u1ea3i-mi\u1ec5n-phi-cac-m\u1eabu\">T\u1ea3i mi\u1ec5n ph\u00ed c\u00e1c m\u1eabu<\/h2>\n\n\n\n<div class=\"wp-block-essential-blocks-call-to-action nfd-wb-animate nfd-wb-zoom-in nfd-delay-50  root-eb-call-to-action-q1ce34k\"><div class=\"eb-parent-wrapper eb-parent-eb-call-to-action-q1ce34k eb_animation eb___animated eb___flash\"><div class=\"eb-cia-wrapper eb-call-to-action-q1ce34k\" data-icon=\"fas fa-gift\"><div class=\"eb-cia-text-wrapper\"><i class=\"fas fa-gift eb-cia-icon\" icon=\"fas fa-gift\"><\/i><h4 class=\"eb-cia-title\">FULL for FREE!<\/h4><p class=\"eb-cia-description\">This is a FULL FREE version without limits!<br>You can download and install our program for free!<\/p><\/div><div class=\"eb-cia-button-wrapper\"><a href=\"https:\/\/expforex.com\/sdm_downloads\/download-exp-templates\/\" target=\"_blank\" rel=\"noopener\" data-language=\"vi\" data-download-slug=\"download-exp-templates\" data-source=\"local\" data-intent=\"trial\"><div class=\"eb-cia-button is-extra-large hvr-pulse-grow\">I want it for FREE!<\/div><\/a><\/div><\/div><\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">L\u1ee3i \u00edch khi d\u00f9ng M\u1eabu Ngu\u1ed3n m\u1edf Expforex.com<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Ti\u1ebft ki\u1ec7m th\u1eddi gian<\/strong>: M\u1eabu c\u00f3 s\u1eb5n gi\u00fap b\u1ea1n b\u1ecf qua ph\u1ea7n m\u00e3 n\u1ec1n t\u1ea3ng.<\/li>\n\n\n\n<li><strong>Kh\u00f4ng c\u1ea7n chuy\u00ean m\u00f4n l\u1eadp tr\u00ecnh<\/strong>: B\u1ea1n ch\u1ec9 ch\u1ec9nh s\u1eeda logic chi\u1ebfn l\u01b0\u1ee3c c\u1ee7a m\u00ecnh.<\/li>\n\n\n\n<li><strong>D\u1ec5 t\u00f9y bi\u1ebfn<\/strong>: Th\u00eam ch\u1ec9 b\u00e1o, qu\u1ea3n l\u00fd v\u1ed1n, \u0111i\u1ec1u ki\u1ec7n v\u00e0o\/ra linh ho\u1ea1t.<\/li>\n<\/ul>\n\n\n\n<p>V\u1edbi ph\u01b0\u01a1ng ph\u00e1p n\u00e0y, b\u1ea1n c\u00f3 th\u1ec3 t\u1ea1o, th\u1eed nghi\u1ec7m v\u00e0 c\u1ea3i ti\u1ebfn <strong>chi\u1ebfn l\u01b0\u1ee3c Forex<\/strong> c\u1ee7a ri\u00eang m\u00ecnh m\u00e0 kh\u00f4ng c\u1ea7n ki\u1ebfn th\u1ee9c l\u1eadp tr\u00ecnh s\u00e2u.<\/p>\n\n\n\n<p>Khai th\u00e1c <strong>M\u1eabu Ngu\u1ed3n m\u1edf c\u1ee7a Expforex.com<\/strong>, k\u1ec3 c\u1ea3 ng\u01b0\u1eddi m\u1edbi c\u0169ng c\u00f3 th\u1ec3 tri\u1ec3n khai EA ho\u1ea1t \u0111\u1ed9ng trong nh\u00e1y m\u1eaft!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-mo-t\u1ea3\">M\u00f4 t\u1ea3<\/h2>\n\n\n\n<p>N\u1ebfu b\u1ea1n mu\u1ed1n th\u1eed nghi\u1ec7m chi\u1ebfn l\u01b0\u1ee3c b\u1eb1ng c\u00e1c ch\u1ec9 b\u00e1o, h\u00e3y t\u1ea1o m\u1ed9t <strong>Chuy\u00ean gia c\u1ed1 v\u1ea5n (EA)<\/strong> \u0111\u1ec3 giao d\u1ecbch t\u1ef1 \u0111\u1ed9ng.<\/p>\n\n\n\n<p>Tin vui l\u00e0 b\u1ea1n <em>kh\u00f4ng<\/em> c\u1ea7n ki\u1ebfn th\u1ee9c l\u1eadp tr\u00ecnh chuy\u00ean s\u00e2u \u0111\u1ec3 l\u00e0m \u0111i\u1ec1u \u0111\u00f3.<\/p>\n\n\n\n<p>Ch\u1ec9 v\u1edbi v\u00e0i b\u01b0\u1edbc \u0111\u01a1n gi\u1ea3n, b\u1ea1n c\u00f3 th\u1ec3 t\u1ea1o EA d\u1ef1a tr\u00ean b\u1ea5t k\u1ef3 ch\u1ec9 b\u00e1o n\u00e0o trong 5 ph\u00fat.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-b\u1eaft-d\u1ea7u-l\u1eadp-trinh-v\u1edbi-mql-open-source-templates\">B\u1eaft \u0111\u1ea7u l\u1eadp tr\u00ecnh v\u1edbi <strong>MQL Open Source Templates<\/strong><\/h2>\n\n\n\n<p>M\u1edf <strong>MetaTrader 4 (MT4)<\/strong>, ch\u1ecdn c\u1eeda s\u1ed5 &#8220;<strong>Navigator<\/strong>&#8220;.<\/p>\n\n\n\n<p>T\u1ea1i \u0111\u00e2y, click chu\u1ed9t ph\u1ea3i th\u01b0 m\u1ee5c &#8220;<strong>Expert Advisors<\/strong>&#8221; \u2192 &#8220;<strong>Create<\/strong>&#8220;.<\/p>\n\n\n\n<p>Ti\u1ebfp theo, ch\u1ecdn &#8220;<strong>Custom Indicator<\/strong>&#8221; r\u1ed3i ch\u1ecdn ch\u1ec9 b\u00e1o b\u1ea1n mu\u1ed1n d\u00f9ng.<\/p>\n\n\n\n<p>Tu\u1ef3 ch\u1ec9nh EA: <strong>kh\u1ed1i l\u01b0\u1ee3ng lot<\/strong>, <strong>c\u1eaft l\u1ed7 (Stop Loss)<\/strong>, <strong>ch\u1ed1t l\u1eddi (Take Profit)<\/strong>\u2026<\/p>\n\n\n\n<p>B\u1ea1n c\u00f3 th\u1ec3 th\u00eam \u0111i\u1ec1u ki\u1ec7n th\u1eddi gian ho\u1eb7c k\u1ebft h\u1ee3p nhi\u1ec1u ch\u1ec9 b\u00e1o \u0111\u1ec3 m\u1edf\/\u0111\u00f3ng l\u1ec7nh.<\/p>\n\n\n\n<p>L\u01b0u EA, g\u1eafn v\u00e0o bi\u1ec3u \u0111\u1ed3 \u0111\u1ec3 th\u1eed nghi\u1ec7m.<\/p>\n\n\n\n<p>B\u1ea1n c\u0169ng c\u00f3 th\u1ec3 backtest EA b\u1eb1ng <strong>d\u1eef li\u1ec7u l\u1ecbch s\u1eed<\/strong> \u0111\u1ec3 xem hi\u1ec7u su\u1ea5t.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>T\u1ea1o EA l\u00e0 c\u00f4ng c\u1ee5 m\u1ea1nh m\u1ebd \u0111\u1ec3 t\u1ef1 \u0111\u1ed9ng ho\u00e1 chi\u1ebfn l\u01b0\u1ee3c, nh\u01b0ng kh\u00f4ng c\u00f3 chi\u1ebfn l\u01b0\u1ee3c n\u00e0o ho\u00e0n h\u1ea3o.<\/p>\n\n\n\n<p>H\u00e3y lu\u00f4n qu\u1ea3n l\u00fd r\u1ee7i ro \u0111\u00fang c\u00e1ch \u0111\u1ec3 b\u1ea3o v\u1ec7 v\u1ed1n.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"has-text-align-left\"><a href=\"https:\/\/expforex.com\/vi\/functional-features-of-experts-from-www-expforex-com\/\" target=\"_blank\" rel=\"noreferrer noopener\" data-language=\"vi\"><strong>T\u00ednh n\u0103ng c\u1ee7a Expert Advisors t\u1eeb www.expforex.com<\/strong><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-m\u1ee5c-dich-c\u1ee7a-templates\"><strong>M\u1ee5c \u0111\u00edch c\u1ee7a Templates<\/strong><\/h2>\n\n\n\n<p>Nhi\u1ec1u trader g\u1eb7p kh\u00f3 kh\u0103n khi vi\u1ebft <strong>EA<\/strong> c\u1ee7a ri\u00eang m\u00ecnh.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>B\u1eaft \u0111\u1ea7u t\u1eeb \u0111\u00e2u?<\/li>\n\n\n\n<li>L\u00e0m sao \u0111\u1eb7t <strong>ch\u1ed1t l\u1eddi (Take Profit)<\/strong>, <strong>c\u1eaft l\u1ed7 (Stop Loss)<\/strong> hay <strong>d\u1eebng k\u00e9o (Trailing Stop)<\/strong> trong m\u00e3 EA?<\/li>\n\n\n\n<li>L\u00e0m sao ki\u1ec3m tra chi\u1ebfn l\u01b0\u1ee3c ho\u1ea1t \u0111\u1ed9ng?<\/li>\n\n\n\n<li>Kh\u00f4ng mu\u1ed1n tr\u1ea3 ti\u1ec1n cho th\u1ee9 \u0111\u00e3 c\u00f3 s\u1eb5n?<\/li>\n\n\n\n<li>B\u1ea1n t\u00ecm th\u1ea5y chi\u1ebfn l\u01b0\u1ee3c t\u01b0\u01a1ng t\u1ef1 v\u00e0 mu\u1ed1n c\u1ea3i thi\u1ec7n?<\/li>\n<\/ul>\n\n\n\n<p><a href=\"https:\/\/expforex.com\/the-x-10-steps-to-program-your-strategy\/\" target=\"_blank\" rel=\"noreferrer noopener\" data-language=\"vi\"><strong>The X \u2013 L\u1eadp tr\u00ecnh Expert Advisor<\/strong><\/a><\/p>\n\n\n\n<p>Nh\u01b0 m\u1ed9t l\u1eadp tr\u00ecnh vi\u00ean chuy\u00ean vi\u1ebft EA cho c\u00e1c n\u1ec1n t\u1ea3ng giao d\u1ecbch, t\u00f4i nh\u1eadn th\u1ea5y r\u1eb1ng c\u1ee9 ba y\u00eau c\u1ea7u c\u1ee7a kh\u00e1ch h\u00e0ng th\u00ec c\u00f3 m\u1ed9t y\u00eau c\u1ea7u c\u00f3 logic kh\u00e1 gi\u1ed1ng nhau.<\/p>\n\n\n\n<p>\u0110i\u1ec1u n\u00e0y xu\u1ea5t ph\u00e1t t\u1eeb vi\u1ec7c m\u1ed9t s\u1ed1 chi\u1ebfn l\u01b0\u1ee3c giao d\u1ecbch hi\u1ec7u qu\u1ea3 v\u00e0 ph\u1ed5 bi\u1ebfn h\u01a1n, khi\u1ebfn c\u00e1c \u0111\u01a1n \u0111\u1eb7t h\u00e0ng l\u1eb7p l\u1ea1i c\u00f9ng c\u00e1ch ti\u1ebfp c\u1eadn.<\/p>\n\n\n\n<p>Tin vui l\u00e0 c\u00e1c d\u1ef1 \u00e1n \u201ct\u01b0\u01a1ng t\u1ef1\u201d nh\u01b0 v\u1eady th\u01b0\u1eddng r\u1ebb h\u01a1n so v\u1edbi nh\u1eefng EA c\u1ea7n logic ho\u00e0n to\u00e0n m\u1edbi.<\/p>\n\n\n\n<p>\u0110\u1ec3 vi\u1ebft nhanh c\u00e1c EA d\u1ea1ng n\u00e0y, t\u00f4i s\u1eed d\u1ee5ng nhi\u1ec1u <strong>h\u00e0m (Function)<\/strong> v\u00e0 <strong>th\u01b0 vi\u1ec7n (Library)<\/strong> \u0111\u00e3 t\u00edch l\u0169y qua nhi\u1ec1u n\u0103m.<\/p>\n\n\n\n<p>Nh\u1eefng h\u00e0m v\u00e0 th\u01b0 vi\u1ec7n n\u00e0y gi\u00fap r\u00fat ng\u1eafn th\u1eddi gian l\u1eadp tr\u00ecnh, \u0111\u1ed3ng th\u1eddi \u0111\u1ea3m b\u1ea3o EA ho\u1ea1t \u0111\u1ed9ng t\u1ed1i \u01b0u. T\u00f4i s\u1ebd ch\u1ecdn b\u1ed9 h\u00e0m ph\u00f9 h\u1ee3p v\u1edbi t\u1eebng y\u00eau c\u1ea7u c\u1ee5 th\u1ec3.<\/p>\n\n\n\n<p class=\"has-text-align-left\">Nh\u1edd website n\u00e0y, b\u1ea1n c\u00f3 th\u1ec3 t\u00ecm s\u1eb5n m\u1eabu logic t\u01b0\u01a1ng t\u1ef1 khi \u0111\u1eb7t h\u00e0ng, ti\u1ebft ki\u1ec7m c\u1ea3 th\u1eddi gian l\u1eabn chi ph\u00ed.<\/p>\n\n\n\n<p class=\"has-text-align-left\">L\u1eadp tr\u00ecnh <strong>Expert Advisor<\/strong>: www.expforex.com \u00a9 2008-2024<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-m\u1eabu-expert-advisor-1\">M\u1eabu Expert Advisor #1<\/h2>\n\n\n\n<p>M\u1eabu n\u00e0y ph\u1ee5c v\u1ee5 m\u1ee5c \u0111\u00edch chung t\u1ea1o <strong>EA<\/strong>; bao g\u1ed3m nh\u1eefng h\u00e0m quan tr\u1ecdng nh\u1ea5t. C\u00e1c t\u00ednh n\u0103ng:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>B\u1eadt \/ T\u1eaft \u2013 <strong>D\u1eebng l\u1ed7 (Stop Loss)<\/strong> \/ <strong>Ch\u1ed1t l\u1eddi (Take Profit)<\/strong><\/li>\n\n\n\n<li>B\u1eadt \/ T\u1eaft \u2013 <strong>Giao d\u1ecbch theo th\u1eddi gian (Time Trading)<\/strong><\/li>\n\n\n\n<li>B\u1eadt \/ T\u1eaft \u2013 <strong>C\u00f4ng ngh\u1ec7 MarketWatch<\/strong> (ch\u1ec9 d\u00e0nh cho ng\u01b0\u1eddi bi\u1ebft s\u1eed d\u1ee5ng)<\/li>\n\n\n\n<li>B\u1eadt \/ T\u1eaft \u2013 <strong>L\u1ec7nh ch\u1edd (Pending Orders)<\/strong> \/ <strong>L\u1ec7nh th\u1ecb tr\u01b0\u1eddng (Market Positions)<\/strong><\/li>\n\n\n\n<li>B\u1eadt \/ T\u1eaft \u2013 <strong>T\u1ef1 \u0111\u1ed9ng t\u00ednh lot (Autolot)<\/strong> ho\u1eb7c d\u00f9ng lot c\u1ed1 \u0111\u1ecbnh<\/li>\n\n\n\n<li>B\u1eadt \/ T\u1eaft \u2013 \u0110\u00f3ng l\u1ec7nh khi c\u00f3 t\u00edn hi\u1ec7u ng\u01b0\u1ee3c chi\u1ec1u<\/li>\n\n\n\n<li>B\u1eadt \/ T\u1eaft \u2013 <strong>Trailing Stop<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-embed aligncenter is-type-wp-embed is-provider-nh-ng-t-ng-t-t-nh-t-cho-metatrader wp-block-embed-nh-ng-t-ng-t-t-nh-t-cho-metatrader\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"l8GZeN7Etr\"><a href=\"https:\/\/expforex.com\/vi\/testing-and-optimization-of-ea\/\" data-language=\"vi\">Ki\u1ec3m th\u1eed v\u00e0 t\u1ed1i \u01b0u h\u00f3a Chuy\u00ean gia t\u01b0 v\u1ea5n (Expert Advisor) trong Tr\u00ecnh ki\u1ec3m th\u1eed chi\u1ebfn l\u01b0\u1ee3c (Strategy Tester)<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Ki\u1ec3m th\u1eed v\u00e0 t\u1ed1i \u01b0u h\u00f3a Chuy\u00ean gia t\u01b0 v\u1ea5n (Expert Advisor) trong Tr\u00ecnh ki\u1ec3m th\u1eed chi\u1ebfn l\u01b0\u1ee3c (Strategy Tester)&#8221; &#8212; Nh\u1eefng \u00fd t\u01b0\u1edfng t\u1ed1t nh\u1ea5t cho MetaTrader\" src=\"https:\/\/expforex.com\/vi\/testing-and-optimization-of-ea\/embed\/#?secret=t0RkAnm4I3#?secret=l8GZeN7Etr\" data-secret=\"l8GZeN7Etr\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-th\u1ecfa-thu\u1eadn-s\u1eed-d\u1ee5ng-templates-1\">Th\u1ecfa thu\u1eadn s\u1eed d\u1ee5ng \u2013 Templates #1<\/h2>\n\n\n\n<p><strong>Exp \u2013 Templates #1 Software Agreement<\/strong> l\u00e0 th\u1ecfa thu\u1eadn gi\u1eefa b\u1ea1n (ng\u01b0\u1eddi d\u00f9ng cu\u1ed1i) v\u00e0 t\u00e1c gi\u1ea3 v\u1edbi b\u00fat danh <strong>EXPFOREX<\/strong>.<\/p>\n\n\n\n<p>Khi quy\u1ebft \u0111\u1ecbnh mua <strong>Exp \u2013 Templates #1<\/strong>, b\u1ea1n \u0111\u1ed3ng \u00fd tu\u00e2n th\u1ee7 m\u1ecdi \u0111i\u1ec1u kho\u1ea3n.<\/p>\n\n\n\n<p>B\u1ea1n \u0111\u1ed3ng \u00fd tu\u00e2n th\u1ee7 to\u00e0n b\u1ed9 c\u00e1c \u0111i\u1ec1u ki\u1ec7n c\u1ee7a th\u1ecfa thu\u1eadn n\u00e0y.<\/p>\n\n\n\n<ol style=\"list-style-type:wp-embed\" class=\"wp-block-list\">\n<li>T\u00e1c gi\u1ea3 s\u1edf h\u1eefu \u0111\u1ed9c quy\u1ec1n <strong>Exp \u2013 Templates #1<\/strong>. B\u1ea1n ch\u1ec9 \u0111\u01b0\u1ee3c c\u1ea5p quy\u1ec1n s\u1eed d\u1ee5ng; kh\u00f4ng gi\u1edbi h\u1ea1n th\u1eddi gian.<\/li>\n\n\n\n<li>B\u1ea1n ch\u1ec9 c\u00f3 th\u1ec3 mua <strong>Exp \u2013 Templates #1<\/strong> tr\u1ef1c ti\u1ebfp t\u1eeb t\u00e1c gi\u1ea3; c\u00e1c k\u00eanh kh\u00e1c \u0111\u1ec1u b\u1ea5t h\u1ee3p ph\u00e1p.<\/li>\n\n\n\n<li>Ch\u00fang t\u00f4i h\u1ed7 tr\u1ee3 k\u1ef9 thu\u1eadt kh\u00f4ng b\u1ea3o \u0111\u1ea3m; h\u00e3y li\u00ean h\u1ec7 t\u00e1c gi\u1ea3 khi c\u1ea7n.<\/li>\n\n\n\n<li><strong>Exp \u2013 Templates #1<\/strong> kh\u00f4ng gi\u1edbi h\u1ea1n s\u1ed1 m\u00e1y t\u00ednh c\u00e0i \u0111\u1eb7t.<\/li>\n\n\n\n<li>M\u1ecdi quy\u1ec1n kh\u00f4ng \u0111\u1ec1 c\u1eadp \u0111\u1ec1u thu\u1ed9c v\u1ec1 t\u00e1c gi\u1ea3.<\/li>\n\n\n\n<li>Ph\u1ea7n m\u1ec1m cung c\u1ea5p \u201cnguy\u00ean tr\u1ea1ng\u201d; b\u1ea1n t\u1ef1 ch\u1ecbu r\u1ee7i ro khi s\u1eed d\u1ee5ng.<\/li>\n\n\n\n<li>T\u00e1c gi\u1ea3 kh\u00f4ng ch\u1ecbu tr\u00e1ch nhi\u1ec7m v\u1edbi b\u1ea5t k\u1ef3 thi\u1ec7t h\u1ea1i n\u00e0o ph\u00e1t sinh.<\/li>\n\n\n\n<li>T\u00e1c gi\u1ea3 kh\u00f4ng b\u1eaft bu\u1ed9c th\u00f4ng b\u00e1o b\u1ea3n c\u1eadp nh\u1eadt; vui l\u00f2ng theo d\u00f5i website.<\/li>\n\n\n\n<li>Vi\u1ec7c mua ph\u1ea7n m\u1ec1m \u0111\u1ed3ng ngh\u0129a b\u1ea1n ch\u1ea5p nh\u1eadn to\u00e0n b\u1ed9 \u0111i\u1ec1u kho\u1ea3n.<\/li>\n\n\n\n<li>S\u1ed1 ti\u1ec1n \u0111\u00e3 thanh to\u00e1n s\u1ebd kh\u00f4ng ho\u00e0n l\u1ea1i trong m\u1ecdi tr\u01b0\u1eddng h\u1ee3p.<\/li>\n\n\n\n<li>Ch\u1ec9 t\u00e1c gi\u1ea3 m\u1edbi c\u00f3 quy\u1ec1n thay \u0111\u1ed5i v\u0103n b\u1ea3n th\u1ecfa thu\u1eadn n\u00e0y.<\/li>\n<\/ol>\n\n\n\n<p><strong>Expert Advisor<\/strong>, <strong>EA<\/strong>, <strong>Easy-to-Follow Guide<\/strong>, <strong>Create EA<\/strong>, <strong>No Programming Required<\/strong>, <strong>MQL Open Source Templates<\/strong>, <strong>Trading Automation<\/strong>, <strong>Forex Trading<\/strong>, <strong>Automated Trading Systems<\/strong>, <strong>Quick Setup<\/strong>, <strong>User-Friendly Templates<\/strong><\/p>\n\n\n\n<div class=\"wp-block-essential-blocks-infobox  root-eb-infobox-wqb9g\"><div class=\"eb-parent-wrapper eb-parent-eb-infobox-wqb9g eb_animation eb___animated eb___fadeIn\"><div class=\"eb-infobox-wqb9g eb-infobox-wrapper\"><div class=\"infobox-wrapper-inner\"><div class=\"icon-img-wrapper\"><div class=\"eb-infobox-image-wrapper\"><img decoding=\"async\" class=\"eb-infobox-image\" src=\"https:\/\/expforex.com\/wp-content\/uploads\/2023\/12\/Expforex-FAQ.png\" alt=\"\"\/><\/div><\/div><div class=\"contents-wrapper\"><h6 class=\"title\">Our General FAQ<\/h6><p class=\"description\">FAQ Answers to the most popular questions<\/p><div class=\"eb-button-inner-wrapper eb-infobox-btn-wrapper\"><a class=\"eb-button-anchor hvr-pulse infobox-btn  hvr-pulse\" href=\"https:\/\/expforex.com\/vi\/faq\/\" target=\"_blank\" rel=\"noopener\" data-language=\"vi\">Click Me!<\/a><\/div><\/div><\/div><\/div><\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-cau-h\u1ecfi\">C\u00e2u h\u1ecfi?<\/h2>\n\n\n\n<p>N\u1ebfu b\u1ea1n c\u00f3 th\u1eafc m\u1eafc, h\u00e3y \u0111\u1eb7t c\u00e2u h\u1ecfi \u2013 ch\u00fang t\u00f4i kh\u00f4ng b\u00e1n \u201cm\u00e8o trong bao\u201d.<\/p>\n\n\n\n<p>M\u1ed7i s\u1ea3n ph\u1ea9m \u0111\u1ec1u c\u00f3 th\u1ec3 th\u1eed tr\u01b0\u1edbc khi mua.<\/p>\n\n\n\n<p>Ch\u00fang t\u00f4i tr\u00e2n tr\u1ecdng s\u1ef1 quan t\u00e2m v\u00e0 ph\u1ea3n h\u1ed3i c\u1ee7a b\u1ea1n, lu\u00f4n duy tr\u00ec ti\u00eau chu\u1ea9n ch\u1ea5t l\u01b0\u1ee3ng cao.<\/p>\n\n\n\n<p>C\u1ea3m \u01a1n b\u1ea1n \u0111\u00e3 \u0111\u1ed3ng h\u00e0nh!<\/p>\n\n\n\n<div class=\"wp-block-columns has-electric-grass-gradient-background has-background has-medium-font-size is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<p align=\"center\">B\u1ea1n c\u00f3 c\u00e2u h\u1ecfi?<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:1%\"><\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center has-large-font-size is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:49%\">\n<div class=\"wp-block-essential-blocks-icon root-eb-icon-ih3ws  root-eb-icon-dyk6q\"><div class=\"eb-parent-wrapper eb-parent-eb-icon-dyk6q \"><div class=\"eb-icon-wrapper eb-icon-dyk6q eb-icon-view-default\" data-id=\"eb-icon-dyk6q\"><div class=\"eb-icon-container\"><i icon=\"far fa-check-circle\" class=\"far fa-check-circle \"><\/i><\/div><\/div><\/div><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-comments has-white-background-color has-background\">\t<div id=\"respond\" class=\"comment-respond wp-block-post-comments-form\">\n\t\t<h3 id=\"reply-title\" class=\"comment-reply-title\">Leave a Reply <small><a rel=\"nofollow\" id=\"cancel-comment-reply-link\" href=\"\/vi\/wp-json\/wp\/v2\/posts\/100768#respond\" style=\"display:none;\" data-language=\"vi\">Cancel reply<\/a><\/small><\/h3><form action=\"https:\/\/expforex.com\/wp-comments-post.php\" method=\"post\" id=\"commentform\" class=\"comment-form\"><p class=\"comment-notes\"><span id=\"email-notes\">Your email address will not be published.<\/span> <span class=\"required-field-message\">Required fields are marked <span class=\"required\">*<\/span><\/span><\/p><p class=\"comment-form-comment\"><label for=\"comment\">Comment <span class=\"required\">*<\/span><\/label> <textarea id=\"comment\" name=\"comment\" cols=\"45\" rows=\"8\" maxlength=\"65525\" required=\"required\"><\/textarea><\/p><input name=\"wpml_language_code\" type=\"hidden\" value=\"vi\" \/><p class=\"comment-form-author\"><label for=\"author\">Name <span class=\"required\">*<\/span><\/label> <input id=\"author\" name=\"author\" type=\"text\" value=\"\" size=\"30\" maxlength=\"245\" autocomplete=\"name\" required=\"required\" \/><\/p>\n<p class=\"comment-form-email\"><label for=\"email\">Email <span class=\"required\">*<\/span><\/label> <input id=\"email\" name=\"email\" type=\"text\" value=\"\" size=\"30\" maxlength=\"100\" aria-describedby=\"email-notes\" autocomplete=\"email\" required=\"required\" \/><\/p>\n<p class=\"comment-form-url\"><label for=\"url\">Website<\/label> <input id=\"url\" name=\"url\" type=\"text\" value=\"\" size=\"30\" maxlength=\"200\" autocomplete=\"url\" \/><\/p>\n<p class=\"comment-form-cookies-consent\"><input id=\"wp-comment-cookies-consent\" name=\"wp-comment-cookies-consent\" type=\"checkbox\" value=\"yes\" \/> <label for=\"wp-comment-cookies-consent\">Save my name, email, and website in this browser for the next time I comment.<\/label><\/p>\n\t<script>document.addEventListener(\"DOMContentLoaded\", function() { setTimeout(function(){ var e=document.getElementById(\"cf-turnstile-c-23299473\"); if(e&&!e.innerHTML.trim()){turnstile.render(e, {sitekey:\"0x4AAAAAABufDnsNvmIbBbxd\"});} }, 200); });<\/script>\r\n\t<p class=\"form-submit\"><span id=\"cf-turnstile-c-23299473\" class=\"cf-turnstile cf-turnstile-comments\" data-action=\"wordpress-comment\" data-callback=\"\" data-sitekey=\"0x4AAAAAABufDnsNvmIbBbxd\" data-theme=\"light\" data-language=\"auto\" data-appearance=\"always\" data-size=\"normal\" data-retry=\"auto\" data-retry-interval=\"1000\"><\/span><br class=\"cf-turnstile-br cf-turnstile-br-comments\"><input name=\"submit\" type=\"submit\" id=\"submit\" class=\"submit\" value=\"Post Comment\" \/><script type=\"text\/javascript\">document.addEventListener(\"DOMContentLoaded\", function() { document.body.addEventListener(\"click\", function(event) { if (event.target.matches(\".comment-reply-link, #cancel-comment-reply-link\")) { turnstile.reset(\".comment-form .cf-turnstile\"); } }); });<\/script> <input type='hidden' name='comment_post_ID' value='100768' id='comment_post_ID' \/>\n<input type='hidden' name='comment_parent' id='comment_parent' value='0' \/>\n<\/p><\/form>\t<\/div><!-- #respond -->\n\t\n\n\n\n\n\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>T\u00f3m t\u1eaft Vi\u1ec7c t\u1ea1o Chuy\u00ean gia c\u1ed1 v\u1ea5n (Expert Advisor \u2013 EA) \u0111\u1ec3 th\u1eed nghi\u1ec7m chi\u1ebfn l\u01b0\u1ee3c c\u1ee7a b\u1ea1n v\u1edbi b\u1ea5t k\u1ef3 ch\u1ec9 b\u00e1o (Indicator) n\u00e0o th\u1eadt s\u1ef1 c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c \u0111\u01a1n gi\u1ea3n h\u00f3a nh\u1edd c\u00e1c m\u1eabu (Template) v\u00e0 ngu\u1ed3n<span class=\"excerpt-hellip\"> [\u2026]<\/span><\/p>\n","protected":false},"author":2,"featured_media":100770,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_eb_attr":"","_eb_data_table":"","footnotes":""},"categories":[14902],"tags":[4982],"class_list":["post-100768","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-vi","tag-template-ja"],"acf":{"metatrader4":"MT4","metatrader5":"MT5","type":"Template","typebrief":"Open Source","mt4buy":"https:\/\/www.mql5.com\/en\/users\/vladon\/seller#products","mt5buy":"https:\/\/www.mql5.com\/en\/users\/vladon\/seller#products","typefreedemo":"FREE","downloadfreedemo":100798,"DirectDownloadLink":"https:\/\/expforex.com\/?sdm_process_download=1&download_id=4856","versions":"10.999","version_date":"2010 12 12","postanotherid":"0","direct5":"","direct4":"","testimonials_list":"","schema_name":"Templates","schema_description":"","schema_type":"Utilities","schema_ratingValue":"5","schema_ratingCount":"50","schema_highPrice_MT4":"0.00","schema_rentprice_MT4":"0.00","schema_highPrice_MT5":"0.00","schema_rentprice_MT5":"0.00"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>M\u1eabu MQL Ngu\u1ed3n m\u1edf. M\u1eabu \u0111\u1ec3 T\u1ea1o Expert Advisor<\/title>\n<meta name=\"description\" content=\"H\u01b0\u1edbng d\u1eabn d\u1ec5 l\u00e0m theo v\u1ec1 c\u00e1ch t\u1ea1o Expert Advisor (EA) trong 5 ph\u00fat m\u00e0 kh\u00f4ng c\u1ea7n l\u1eadp tr\u00ecnh v\u1edbi M\u1eabu MQL Ngu\u1ed3n m\u1edf c\u1ee7a ch\u00fang t\u00f4i\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/expforex.com\/vi\/templates\/\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"M\u1eabu MQL Ngu\u1ed3n m\u1edf. M\u1eabu \u0111\u1ec3 T\u1ea1o Expert Advisor\" \/>\n<meta property=\"og:description\" content=\"H\u01b0\u1edbng d\u1eabn d\u1ec5 l\u00e0m theo v\u1ec1 c\u00e1ch t\u1ea1o Expert Advisor (EA) trong 5 ph\u00fat m\u00e0 kh\u00f4ng c\u1ea7n l\u1eadp tr\u00ecnh v\u1edbi M\u1eabu MQL Ngu\u1ed3n m\u1edf c\u1ee7a ch\u00fang t\u00f4i\" \/>\n<meta property=\"og:url\" content=\"https:\/\/expforex.com\/vi\/templates\/\" \/>\n<meta property=\"og:site_name\" content=\"Nh\u1eefng \u00fd t\u01b0\u1edfng t\u1ed1t nh\u1ea5t cho MetaTrader\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ExpForex\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ExpForex\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-15T11:45:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-15T04:41:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/expforex.com\/wp-content\/uploads\/2023\/12\/Exp-Templates-1.png?wsr\" \/>\n\t<meta property=\"og:image:width\" content=\"200\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Expforex Vladislav\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Expforex Vladislav\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/templates\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/templates\\\/\"},\"author\":{\"name\":\"Expforex Vladislav\",\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/#\\\/schema\\\/person\\\/0f3104735dd8fd99d5b5ee2e3634b1d5\"},\"headline\":\"M\u1eabu MQL Ngu\u1ed3n m\u1edf. M\u1eabu \u0111\u1ec3 T\u1ea1o Expert Advisor\",\"datePublished\":\"2025-01-15T11:45:08+00:00\",\"dateModified\":\"2025-05-15T04:41:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/templates\\\/\"},\"wordCount\":2155,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/#\\\/schema\\\/person\\\/0f3104735dd8fd99d5b5ee2e3634b1d5\"},\"image\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/templates\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/Exp-Templates-1.png\",\"keywords\":[\"Template\"],\"articleSection\":[\"Ph\u1ea7n m\u1ec1m\"],\"inLanguage\":\"vi-VN\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/expforex.com\\\/vi\\\/templates\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/templates\\\/\",\"url\":\"https:\\\/\\\/expforex.com\\\/vi\\\/templates\\\/\",\"name\":\"M\u1eabu MQL Ngu\u1ed3n m\u1edf. M\u1eabu \u0111\u1ec3 T\u1ea1o Expert Advisor\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/templates\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/templates\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/Exp-Templates-1.png\",\"datePublished\":\"2025-01-15T11:45:08+00:00\",\"dateModified\":\"2025-05-15T04:41:20+00:00\",\"description\":\"H\u01b0\u1edbng d\u1eabn d\u1ec5 l\u00e0m theo v\u1ec1 c\u00e1ch t\u1ea1o Expert Advisor (EA) trong 5 ph\u00fat m\u00e0 kh\u00f4ng c\u1ea7n l\u1eadp tr\u00ecnh v\u1edbi M\u1eabu MQL Ngu\u1ed3n m\u1edf c\u1ee7a ch\u00fang t\u00f4i\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/templates\\\/#breadcrumb\"},\"inLanguage\":\"vi-VN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/expforex.com\\\/vi\\\/templates\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"vi-VN\",\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/templates\\\/#primaryimage\",\"url\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/Exp-Templates-1.png\",\"contentUrl\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/Exp-Templates-1.png\",\"width\":200,\"height\":200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/templates\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Trang ch\u1ee7\",\"item\":\"https:\\\/\\\/expforex.com\\\/vi\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ph\u1ea7n m\u1ec1m\",\"item\":\"https:\\\/\\\/expforex.com\\\/vi\\\/cat\\\/software-vi\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"M\u1eabu MQL Ngu\u1ed3n m\u1edf. M\u1eabu \u0111\u1ec3 T\u1ea1o Expert Advisor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/#website\",\"url\":\"https:\\\/\\\/expforex.com\\\/vi\\\/\",\"name\":\"Nh\u1eefng \u00fd t\u01b0\u1edfng t\u1ed1t nh\u1ea5t cho MetaTrader\",\"description\":\"Kinh nghi\u1ec7m s\u00e2u r\u1ed9ng trong l\u1eadp tr\u00ecnh tr\u1ee3 l\u00fd cho MetaTrader, MQL, Forex, Expert, Indicator, Script, EA, Utilities, VirtualTradePad, Copylot, Ticksniper, Averager, xCustomEA, X, Duplicator, TesterPad, ExtraReportPad, Assistant, Trade, Trader, Scalping\",\"publisher\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/#\\\/schema\\\/person\\\/0f3104735dd8fd99d5b5ee2e3634b1d5\"},\"alternateName\":\"Forex EA\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/expforex.com\\\/vi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"vi-VN\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/expforex.com\\\/vi\\\/#\\\/schema\\\/person\\\/0f3104735dd8fd99d5b5ee2e3634b1d5\",\"name\":\"Expforex Vladislav\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi-VN\",\"@id\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/LOGONEW-2024-2.png\",\"url\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/LOGONEW-2024-2.png\",\"contentUrl\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/LOGONEW-2024-2.png\",\"width\":200,\"height\":200,\"caption\":\"Expforex Vladislav\"},\"logo\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/LOGONEW-2024-2.png\"},\"sameAs\":[\"https:\\\/\\\/www.expforex.com\",\"https:\\\/\\\/www.facebook.com\\\/ExpForex\\\/\",\"https:\\\/\\\/www.youtube.com\\\/Expforex\"],\"publishingPrinciples\":\"https:\\\/\\\/expforex.com\\\/privacy-policy\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"M\u1eabu MQL Ngu\u1ed3n m\u1edf. M\u1eabu \u0111\u1ec3 T\u1ea1o Expert Advisor","description":"H\u01b0\u1edbng d\u1eabn d\u1ec5 l\u00e0m theo v\u1ec1 c\u00e1ch t\u1ea1o Expert Advisor (EA) trong 5 ph\u00fat m\u00e0 kh\u00f4ng c\u1ea7n l\u1eadp tr\u00ecnh v\u1edbi M\u1eabu MQL Ngu\u1ed3n m\u1edf c\u1ee7a ch\u00fang t\u00f4i","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/expforex.com\/vi\/templates\/","og_locale":"vi_VN","og_type":"article","og_title":"M\u1eabu MQL Ngu\u1ed3n m\u1edf. M\u1eabu \u0111\u1ec3 T\u1ea1o Expert Advisor","og_description":"H\u01b0\u1edbng d\u1eabn d\u1ec5 l\u00e0m theo v\u1ec1 c\u00e1ch t\u1ea1o Expert Advisor (EA) trong 5 ph\u00fat m\u00e0 kh\u00f4ng c\u1ea7n l\u1eadp tr\u00ecnh v\u1edbi M\u1eabu MQL Ngu\u1ed3n m\u1edf c\u1ee7a ch\u00fang t\u00f4i","og_url":"https:\/\/expforex.com\/vi\/templates\/","og_site_name":"Nh\u1eefng \u00fd t\u01b0\u1edfng t\u1ed1t nh\u1ea5t cho MetaTrader","article_publisher":"https:\/\/www.facebook.com\/ExpForex\/","article_author":"https:\/\/www.facebook.com\/ExpForex\/","article_published_time":"2025-01-15T11:45:08+00:00","article_modified_time":"2025-05-15T04:41:20+00:00","og_image":[{"width":200,"height":200,"url":"https:\/\/expforex.com\/wp-content\/uploads\/2023\/12\/Exp-Templates-1.png?wsr","type":"image\/png"}],"author":"Expforex Vladislav","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Expforex Vladislav","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/expforex.com\/vi\/templates\/#article","isPartOf":{"@id":"https:\/\/expforex.com\/vi\/templates\/"},"author":{"name":"Expforex Vladislav","@id":"https:\/\/expforex.com\/vi\/#\/schema\/person\/0f3104735dd8fd99d5b5ee2e3634b1d5"},"headline":"M\u1eabu MQL Ngu\u1ed3n m\u1edf. M\u1eabu \u0111\u1ec3 T\u1ea1o Expert Advisor","datePublished":"2025-01-15T11:45:08+00:00","dateModified":"2025-05-15T04:41:20+00:00","mainEntityOfPage":{"@id":"https:\/\/expforex.com\/vi\/templates\/"},"wordCount":2155,"commentCount":0,"publisher":{"@id":"https:\/\/expforex.com\/vi\/#\/schema\/person\/0f3104735dd8fd99d5b5ee2e3634b1d5"},"image":{"@id":"https:\/\/expforex.com\/vi\/templates\/#primaryimage"},"thumbnailUrl":"https:\/\/expforex.com\/wp-content\/uploads\/2023\/12\/Exp-Templates-1.png","keywords":["Template"],"articleSection":["Ph\u1ea7n m\u1ec1m"],"inLanguage":"vi-VN","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/expforex.com\/vi\/templates\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/expforex.com\/vi\/templates\/","url":"https:\/\/expforex.com\/vi\/templates\/","name":"M\u1eabu MQL Ngu\u1ed3n m\u1edf. M\u1eabu \u0111\u1ec3 T\u1ea1o Expert Advisor","isPartOf":{"@id":"https:\/\/expforex.com\/vi\/#website"},"primaryImageOfPage":{"@id":"https:\/\/expforex.com\/vi\/templates\/#primaryimage"},"image":{"@id":"https:\/\/expforex.com\/vi\/templates\/#primaryimage"},"thumbnailUrl":"https:\/\/expforex.com\/wp-content\/uploads\/2023\/12\/Exp-Templates-1.png","datePublished":"2025-01-15T11:45:08+00:00","dateModified":"2025-05-15T04:41:20+00:00","description":"H\u01b0\u1edbng d\u1eabn d\u1ec5 l\u00e0m theo v\u1ec1 c\u00e1ch t\u1ea1o Expert Advisor (EA) trong 5 ph\u00fat m\u00e0 kh\u00f4ng c\u1ea7n l\u1eadp tr\u00ecnh v\u1edbi M\u1eabu MQL Ngu\u1ed3n m\u1edf c\u1ee7a ch\u00fang t\u00f4i","breadcrumb":{"@id":"https:\/\/expforex.com\/vi\/templates\/#breadcrumb"},"inLanguage":"vi-VN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/expforex.com\/vi\/templates\/"]}]},{"@type":"ImageObject","inLanguage":"vi-VN","@id":"https:\/\/expforex.com\/vi\/templates\/#primaryimage","url":"https:\/\/expforex.com\/wp-content\/uploads\/2023\/12\/Exp-Templates-1.png","contentUrl":"https:\/\/expforex.com\/wp-content\/uploads\/2023\/12\/Exp-Templates-1.png","width":200,"height":200},{"@type":"BreadcrumbList","@id":"https:\/\/expforex.com\/vi\/templates\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Trang ch\u1ee7","item":"https:\/\/expforex.com\/vi\/"},{"@type":"ListItem","position":2,"name":"Ph\u1ea7n m\u1ec1m","item":"https:\/\/expforex.com\/vi\/cat\/software-vi\/"},{"@type":"ListItem","position":3,"name":"M\u1eabu MQL Ngu\u1ed3n m\u1edf. M\u1eabu \u0111\u1ec3 T\u1ea1o Expert Advisor"}]},{"@type":"WebSite","@id":"https:\/\/expforex.com\/vi\/#website","url":"https:\/\/expforex.com\/vi\/","name":"Nh\u1eefng \u00fd t\u01b0\u1edfng t\u1ed1t nh\u1ea5t cho MetaTrader","description":"Kinh nghi\u1ec7m s\u00e2u r\u1ed9ng trong l\u1eadp tr\u00ecnh tr\u1ee3 l\u00fd cho MetaTrader, MQL, Forex, Expert, Indicator, Script, EA, Utilities, VirtualTradePad, Copylot, Ticksniper, Averager, xCustomEA, X, Duplicator, TesterPad, ExtraReportPad, Assistant, Trade, Trader, Scalping","publisher":{"@id":"https:\/\/expforex.com\/vi\/#\/schema\/person\/0f3104735dd8fd99d5b5ee2e3634b1d5"},"alternateName":"Forex EA","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/expforex.com\/vi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"vi-VN"},{"@type":["Person","Organization"],"@id":"https:\/\/expforex.com\/vi\/#\/schema\/person\/0f3104735dd8fd99d5b5ee2e3634b1d5","name":"Expforex Vladislav","image":{"@type":"ImageObject","inLanguage":"vi-VN","@id":"https:\/\/expforex.com\/wp-content\/uploads\/2023\/12\/LOGONEW-2024-2.png","url":"https:\/\/expforex.com\/wp-content\/uploads\/2023\/12\/LOGONEW-2024-2.png","contentUrl":"https:\/\/expforex.com\/wp-content\/uploads\/2023\/12\/LOGONEW-2024-2.png","width":200,"height":200,"caption":"Expforex Vladislav"},"logo":{"@id":"https:\/\/expforex.com\/wp-content\/uploads\/2023\/12\/LOGONEW-2024-2.png"},"sameAs":["https:\/\/www.expforex.com","https:\/\/www.facebook.com\/ExpForex\/","https:\/\/www.youtube.com\/Expforex"],"publishingPrinciples":"https:\/\/expforex.com\/privacy-policy\/"}]}},"_links":{"self":[{"href":"https:\/\/expforex.com\/vi\/wp-json\/wp\/v2\/posts\/100768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/expforex.com\/vi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/expforex.com\/vi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/expforex.com\/vi\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/expforex.com\/vi\/wp-json\/wp\/v2\/comments?post=100768"}],"version-history":[{"count":0,"href":"https:\/\/expforex.com\/vi\/wp-json\/wp\/v2\/posts\/100768\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/expforex.com\/vi\/wp-json\/wp\/v2\/media\/100770"}],"wp:attachment":[{"href":"https:\/\/expforex.com\/vi\/wp-json\/wp\/v2\/media?parent=100768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/expforex.com\/vi\/wp-json\/wp\/v2\/categories?post=100768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/expforex.com\/vi\/wp-json\/wp\/v2\/tags?post=100768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}