{"id":1213,"date":"2021-06-06T12:08:09","date_gmt":"2021-06-06T03:08:09","guid":{"rendered":"https:\/\/www.typea.info\/blog\/?p=1213"},"modified":"2021-06-06T12:12:06","modified_gmt":"2021-06-06T03:12:06","slug":"mt4_dev_mac_vscode_method","status":"publish","type":"post","link":"https:\/\/www.typea.info\/blog\/index.php\/2021\/06\/06\/mt4_dev_mac_vscode_method\/","title":{"rendered":"MetaTrader4 \u958b\u767a\u3092Mac\u3068Visual Studio Code\u3067\u884c\u3046\u624b\u9806"},"content":{"rendered":"<p>\u00a0<\/p>\n<p>MetaTrader4 \u7528\u306e\u958b\u767a\u74b0\u5883\u306emetaeditor\u3001\u30ad\u30fc\u30d0\u30a4\u30f3\u30c9\u3084\u3001Git\u3092\u4f7f\u3063\u305f\u308a\u3057\u3088\u3046\u3068\u601d\u3046\u3068\u5c11\u3057\u7269\u8db3\u308a\u306a\u3044\u3002\u4eca\u6642\u306e\u30c4\u30fc\u30eb\u304c\u4f7f\u3048\u308b\u3068\u5b09\u3057\u3044\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"metaeditor.png\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/2021\/06\/metaeditor.png\" alt=\"metaeditor\" width=\"506\" height=\"279\" border=\"0\" \/><\/p>\n<p>Visual Studio Code \u306b\u62e1\u5f35\u6a5f\u80fd\u304c\u3042\u308a\u3001Windows\u3067\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u307e\u3067\u7c21\u5358\u306b\u5229\u7528\u3067\u304d\u308b\u306e\u3060\u304c\u3001Mac\u3067\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u65b9\u6cd5\u3092\u8efd\u304f\u30b0\u30b0\u3063\u3066\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u65ad\u5ff5\u3057\u3066\u3044\u305f\u306e\u3060\u304c\u3001\u306a\u3093\u3068\u304b\u3057\u3066\u307f\u3066\u3067\u304d\u305f\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304f\u3002(\u30b7\u30f3\u30bf\u30c3\u30af\u30b9\u30cf\u30a4\u30e9\u30a4\u30c8\u307e\u3067\u306a\u3089\u62e1\u5f35\u6a5f\u80fd\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3060\u3051\u3067\u3067\u304d\u308b\u3002)<\/p>\n<p><a href=\"https:\/\/www.typea.info\/tips_\/index.php\/MT4#Visual_Studio_Code\">MT4 &#8211; MyMemoWiki (typea.info)<\/a><\/p>\n<p>\u57fa\u672c\u7684\u306b\u306f\u3001Mac\u3067\u3082\u3001metaeditor.exe \u3068\u3044\u3046Windows\u306eEXE\u3092\u4f7f\u3063\u3066\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u3044\u308b\u3068\u601d\u308f\u308c\u308b\u3002<a href=\"https:\/\/ja.wikipedia.org\/wiki\/Wine\">Wine<\/a>\u3068\u3044\u3046\u3001Windows\u30a2\u30d7\u30ea\u3092Mac\u306a\u3069\u3067\u5b9f\u884c\u3059\u308b\u4ed5\u7d44\u307f\u304c\u3001MetaTrader4\u306b\u542b\u307e\u308c\u3066\u3044\u3066\u305d\u308c\u3092\u4f7f\u3063\u3066\u8d77\u52d5\u3057\u3066\u3044\u308b\u3068\u601d\u308f\u308c\u308b\u306e\u3060\u304c\u3001\u4eca\u56de\u306f\u3001<\/p>\n<ol>\n<li>Wine\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li>Visual Studio Code\u62e1\u5f35\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li>metaeditor\u3092\u30b3\u30f3\u30d1\u30a4\u30e9\u306b\u6307\u5b9a<\/li>\n<\/ol>\n<p>\u3057\u3066\u3044\u304f\u3002<\/p>\n<h2>1.<a href=\"https:\/\/brew.sh\/index_ja\">Homebrew<\/a>\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u307e\u305a\u3001Mac\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3067\u3042\u308b\u3001Homebrew\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3051\u308c\u3070\u3001\u4ee5\u4e0b\u306e\u30b5\u30a4\u30c8\u306e\u624b\u9806\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p><a href=\"https:\/\/brew.sh\/index_ja\">https:\/\/brew.sh\/index_ja<\/a><\/p>\n<pre class=\"prettyprint\">\/bin\/bash -c \"<span class=\"math\">\\((curl -fsSL https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh)\"<\/span><\/pre>\n<h2>2.<a href=\"https:\/\/ja.wikipedia.org\/wiki\/Wine\">Wine<\/a>\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p><a href=\"https:\/\/www.winehq.org\/\">https:\/\/www.winehq.org\/<\/a><\/p>\n<p>Mac\u3067Windows\u30a2\u30d7\u30ea\u3092\u52d5\u304b\u3059Wine\u3092\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u53e9\u3044\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"prettyprint\">$ brew install \u2013cask wine-stable<\/pre>\n<h2>3.<a href=\"https:\/\/www.typea.info\/tips_\/index.php\/Visual_Studio_Code\">Visual Studio Code<\/a>\u00a0\u306b\u62e1\u5f35\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<ol>\n<li>\u62e1\u5f35\u6a5f\u80fd\u3092\u9078\u629e<\/li>\n<li>MQL4\u3067\u691c\u7d22<\/li>\n<li>MQL4 Syntax Highlight \u304a\u3088\u3073 compilemql4 \u62e1\u5f35\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<li>compilemql4 \u306e\u6b6f\u8eca\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3001extension settings<\/li>\n<ol>\n<li>Compilemql4:\u00a0Metaeditor Dir \u306b wine \u304a\u3088\u3073 metaeditor(\u5f8c\u8ff03.1)\u306e\u30d1\u30b9\u3092\u8a2d\u5b9a<\/li>\n<li>Compilemql4:\u00a0Compile After Save \u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u3001\u4fdd\u5b58\u6642\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u306b\u8a2d\u5b9a<\/li>\n<\/ol>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"mac_mt4_vscode_wine_path.png\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/2021\/06\/mac_mt4_vscode_wine_path-2.png\" alt=\"mac_mt4_vscode_wine_path\" width=\"768\" height=\"433\" border=\"0\" \/>\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"mac_mt4_vscode_compile_when_edit.png\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/2021\/06\/mac_mt4_vscode_compile_when_edit.png\" alt=\"mac_mt4_vscode_compile_when_edit\" width=\"597\" height=\"190\" border=\"0\" \/><\/p>\n<h3>3.1 Compilemql4:\u00a0Metaeditor Dir\u00a0<\/h3>\n<p>\u81ea\u5206\u306e\u74b0\u5883\u3060\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5024\u3092\u8a2d\u5b9a\u3002<\/p>\n<pre class=\"prettyprint\">wine64 \/Applications\/MetaTrader\\ 4.app\/Contents\/SharedSupport\/metatrader4\/support\/metatrader4\/drive_c\/Program\\ Files\/MetaTrader\\ 4\/metaeditor.exe<\/pre>\n<ul>\n<li>\u4e0a\u8a18\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3001wine64\u3092\u6307\u5b9a\u3057\u3001\u5f15\u6570\u3068\u3057\u3066\u3001metaeditor.exe \u306e\u30d1\u30b9\u3092\u6307\u5b9a<\/li>\n<li>metaeditor\u306e\u30d1\u30b9\u306b\u30d6\u30e9\u30f3\u30af\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u3001\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5\u3067\u30a8\u30b9\u30b1\u30fc\u30d7\u3059\u308b\u3002<\/li>\n<\/ul>\n<h2>4.Visual Studio Code\u3067\u7de8\u96c6\u3057\u3066\u307f\u308b<\/h2>\n<ul>\n<li>EA\u306e\u30b3\u30fc\u30c9\u304c\u30b7\u30f3\u30bf\u30c3\u30af\u30b9\u30cf\u30a4\u30e9\u30a4\u30c8\u3055\u308c\u3066\u3044\u308b<\/li>\n<li>\u7de8\u96c6\u3057\u3066\u4fdd\u5b58\u3067\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u5b9f\u884c\u3055\u308c\u3001\u30a8\u30e9\u30fc\u3082\u8b66\u544a\u3082\u306a\u3057<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"mac_mt4_vscode_compile.png\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/2021\/06\/mac_mt4_vscode_compile.png\" alt=\"mac_mt4_vscode_compile\" width=\"600\" height=\"338\" border=\"0\" \/><\/p>\n<p>\u30d0\u30c3\u30af\u30c6\u30b9\u30c8\u5b9f\u884c\u3067\u554f\u984c\u306a\u304f\u52d5\u4f5c<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"mt4_mac_vss_dev.png\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/2021\/06\/mt4_mac_vss_dev.png\" alt=\"mt4_mac_vss_dev\" width=\"714\" height=\"446\" border=\"0\" \/><\/p>\n<p>\u4ee5\u4e0b\u306e\u66f8\u7c4d\u3001<a href=\"https:\/\/amzn.to\/3im0PCY\">Kindle<\/a>\u7248\u304c\u7d19\u306b\u6bd4\u3079\u3066\u4fa1\u683c\u5dee\u304c\u5927\u304d\u304f\u3066\u304a\u5f97\u3067\u308f\u304b\u308a\u3084\u3059\u304b\u3063\u305f\u3002<\/p>\n<p><a href=\"https:\/\/www.amazon.co.jp\/%E6%96%B0MT4%E5%AF%BE%E5%BF%9C-FX%E3%83%A1%E3%82%BF%E3%83%88%E3%83%AC%E3%83%BC%E3%83%80%E3%83%BC%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E5%85%A5%E9%96%80-%E8%B1%8A%E5%B6%8B-%E4%B9%85%E9%81%93-ebook\/dp\/B017HFIIEA?__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;dchild=1&amp;keywords=mt4&amp;qid=1622946434&amp;sr=8-3&amp;linkCode=li2&amp;tag=typea09-22&amp;linkId=a47fcf6adc9f503c2aac8671defa3043&amp;language=ja_JP&amp;ref_=as_li_ss_il\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"\/\/ws-fe.amazon-adsystem.com\/widgets\/q?_encoding=UTF8&amp;ASIN=B017HFIIEA&amp;Format=_SL160_&amp;ID=AsinImage&amp;MarketPlace=JP&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=typea09-22&amp;language=ja_JP\" border=\"0\" \/><\/a><img loading=\"lazy\" decoding=\"async\" style=\"border: none !important; margin: 0px !important;\" src=\"https:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;language=ja_JP&amp;l=li2&amp;o=9&amp;a=B017HFIIEA\" alt=\"\" width=\"1\" height=\"1\" border=\"0\" \/><\/p>\n<p><a href=\"https:\/\/www.amazon.co.jp\/FX%E3%83%A1%E3%82%BF%E3%83%88%E3%83%AC%E3%83%BC%E3%83%80%E3%83%BC4-MQL%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0-%E7%8F%BE%E4%BB%A3%E3%81%AE%E9%8C%AC%E9%87%91%E8%A1%93%E5%B8%AB%E3%82%B7%E3%83%AA%E3%83%BC%E3%82%BA-ebook\/dp\/B00DWV91A4?__mk_ja_JP=%E3%82%AB%E3%82%BF%E3%82%AB%E3%83%8A&amp;dchild=1&amp;keywords=mt4&amp;qid=1622946434&amp;sr=8-9&amp;linkCode=li2&amp;tag=typea09-22&amp;linkId=8900dd8ac78255d68ed126dbbfb31237&amp;language=ja_JP&amp;ref_=as_li_ss_il\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"\/\/ws-fe.amazon-adsystem.com\/widgets\/q?_encoding=UTF8&amp;ASIN=B00DWV91A4&amp;Format=_SL160_&amp;ID=AsinImage&amp;MarketPlace=JP&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=typea09-22&amp;language=ja_JP\" border=\"0\" \/><\/a><img loading=\"lazy\" decoding=\"async\" style=\"border: none !important; margin: 0px !important;\" src=\"https:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;language=ja_JP&amp;l=li2&amp;o=9&amp;a=B00DWV91A4\" alt=\"\" width=\"1\" height=\"1\" border=\"0\" \/><\/p>\n<p>Kindle\u3068\u3044\u3048\u3070\u3001<a href=\"https:\/\/amzn.to\/3im0PCY\">\u65e5\u66ff\u308f\u308a\u30bb\u30fc\u30eb\u306b\u304a\u5f97\u306a\u3082\u306e\u304c\u7d50\u69cb\u51fa\u308b\u306e\u3067\u3001\u6bce\u65e5\u30c1\u30a7\u30c3\u30af\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u30ec\u30d9\u30eb<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 MetaTrader4 \u7528\u306e\u958b\u767a\u74b0\u5883\u306emetaeditor\u3001\u30ad\u30fc\u30d0\u30a4\u30f3\u30c9\u3084\u3001Git\u3092\u4f7f\u3063\u305f\u308a\u3057\u3088\u3046\u3068\u601d\u3046\u3068\u5c11\u3057\u7269\u8db3\u308a\u306a\u3044\u3002\u4eca\u6642\u306e\u30c4\u30fc\u30eb\u304c\u4f7f\u3048\u308b\u3068\u5b09\u3057\u3044\u3002 Visual Studio Code \u306b\u62e1\u5f35\u6a5f\u80fd\u304c\u3042\u308a\u3001Win [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1212,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[96],"tags":[156,155],"class_list":["post-1213","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio-code","tag-metatrader4","tag-visual-studio-code"],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1213"}],"version-history":[{"count":2,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1213\/revisions"}],"predecessor-version":[{"id":1215,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1213\/revisions\/1215"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/media\/1212"}],"wp:attachment":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}