{"id":65718,"date":"2026-03-15T03:27:03","date_gmt":"2026-03-14T18:27:03","guid":{"rendered":"https:\/\/sys-tre.com\/blog\/?p=65718"},"modified":"2026-10-30T00:25:43","modified_gmt":"2026-10-29T15:25:43","slug":"mql4-array-functions","status":"publish","type":"post","link":"https:\/\/sys-tre.com\/blog\/mql4-array-functions\/","title":{"rendered":"MQL4 \u914d\u5217\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5cArrayResize\u30fbArrayCopy\u30fbArraySort\u30fb\u6642\u7cfb\u5217\u914d\u5217"},"content":{"rendered":"\n<p class=\"is-style-icon_info wp-block-paragraph\">MQL4\u306e\u914d\u5217\u95a2\u6570\u306f\u3001\u516c\u5f0f\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306e\u7d22\u5f15\u306b19\u500b\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001ArrayResize\u30fbArrayCopy\u30fbArraySort\u30fbArrayMaximum\u306a\u3069\u306e\u5f15\u6570\u3068\u623b\u308a\u5024\u3092<a href=\"https:\/\/docs.mql4.com\/array\">\u516c\u5f0f\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9<\/a>\u3067\u78ba\u304b\u3081\u3001\u30b5\u30f3\u30d7\u30eb7\u672c\u3092MT4\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u5b9f\u884c\u3057\u307e\u3057\u305f\u30027\u672c\u3068\u3082\u30b3\u30f3\u30d1\u30a4\u30eb\u306f\u30a8\u30e9\u30fc0\u30fb\u8b66\u544a0\u3067\u3057\u305f\u3002\u914d\u5217\u30921\u8981\u7d20\u305a\u306410\u4e07\u56de\u5897\u3084\u3059\u6642\u9593\u306f\u3001\u4e88\u7d04\u30b5\u30a4\u30ba\u306a\u3057\u306e\u4e2d\u592e\u5024\u304c909.2\u30df\u30ea\u79d2\u3001\u4e88\u7d04\u30b5\u30a4\u30ba\u3042\u308a\u304c1.38\u30df\u30ea\u79d2\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading is-style-big_icon_point\">MQL4 \u914d\u5217\u95a2\u6570\u306e\u4e00\u89a7\uff5c19\u500b\u306e\u95a2\u6570\u3068\u9759\u7684\u914d\u5217\u30fb\u52d5\u7684\u914d\u5217<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"650\" height=\"546\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-list-2026.webp\" alt=\"MQL4\u306e\u914d\u5217\u95a2\u657019\u500b\u3092\u3001\u30b5\u30a4\u30ba\u30fb\u7a2e\u985e\u3068\u5411\u304d\u30fb\u5165\u308c\u308b\u5199\u3059\u30fb\u4e26\u3079\u308b\u63a2\u3059\u30fb\u6bd4\u3079\u308b\u306e5\u3064\u306b\u5206\u3051\u3066\u95a2\u6570\u540d\u3092\u4e26\u3079\u305f\u8868\" class=\"wp-image-77603\" srcset=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-list-2026.webp 650w, https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-list-2026-300x252.webp 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><figcaption class=\"wp-element-caption\">\u51fa\u5178: MQL4\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306e\u914d\u5217\u95a2\u6570\u306e\u7d22\u5f15\uff08docs.mql4.com\/array\uff09\u30012026\u5e7410\u6708\u306b\u78ba\u8a8d\u300219\u500b\u30925\u3064\u306b\u5206\u3051\u305f\u8868\u3002<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u914d\u5217\u95a2\u657019\u500b\u306e\u5206\u985e<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u6570\u3048\u305f\u306e\u306f\u3001\u516c\u5f0f\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306e\u914d\u5217\u306e\u7d22\u5f15\u30da\u30fc\u30b8\uff08<a href=\"https:\/\/docs.mql4.com\/array\">docs.mql4.com\/array<\/a>\uff09\u306b\u8f09\u3063\u3066\u3044\u308b\u95a2\u6570\u3067\u3059\u30022026\u5e7410\u6708\u306b\u78ba\u8a8d\u3057\u3066\u300119\u500b\u3042\u308a\u307e\u3057\u305f\u3002\u56f3\u3067\u306f\u3001\u4f7f\u3044\u65b9\u30675\u3064\u306b\u5206\u3051\u3066\u3044\u307e\u3059\u3002\u30b5\u30a4\u30ba\u3092\u6271\u3046\u95a2\u6570\u304c5\u500b\u3001\u7a2e\u985e\u3068\u5411\u304d\u3092\u8abf\u3079\u305f\u308a\u5909\u3048\u305f\u308a\u3059\u308b\u95a2\u6570\u304c4\u500b\u3001\u5165\u308c\u308b\u30fb\u5199\u3059\u95a2\u6570\u304c5\u500b\u3001\u4e26\u3079\u308b\u30fb\u63a2\u3059\u95a2\u6570\u304c4\u500b\u3001\u6bd4\u3079\u308b\u95a2\u6570\u304c1\u500b\u3067\u3001\u5408\u308f\u305b\u306619\u500b\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u306f\u3001\u4f7f\u3046\u6a5f\u4f1a\u306e\u591a\u3044\u95a2\u6570\u304b\u3089\u9806\u306b\u3001\u5f15\u6570\u3068\u623b\u308a\u5024\u3092\u516c\u5f0f\u306e\u8aac\u660e\u3068\u624b\u5143\u306e\u5b9f\u884c\u7d50\u679c\u3067\u4e26\u3079\u3066\u3044\u304d\u307e\u3059\u3002\u516c\u5f0f\u306e\u8aac\u660e\u3068\u624b\u5143\u306e\u52d5\u304d\u304c\u9055\u3063\u305f\u70b9\u306f\u3001\u305d\u306e\u3064\u3069\u66f8\u304d\u5206\u3051\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u9759\u7684\u914d\u5217\u3068\u52d5\u7684\u914d\u5217<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">MQL4\u306e\u914d\u5217\u306b\u306f\u3001\u5927\u304d\u3055\u304c\u6c7a\u307e\u3063\u3066\u3044\u308b\u9759\u7684\u914d\u5217\u3068\u3001\u3042\u3068\u304b\u3089\u5927\u304d\u3055\u3092\u5909\u3048\u3089\u308c\u308b\u52d5\u7684\u914d\u5217\u304c\u3042\u308a\u307e\u3059\u3002<code>double a[100];<\/code> \u306e\u3088\u3046\u306b\u5927\u304d\u3055\u3092\u66f8\u304f\u3068\u9759\u7684\u914d\u5217\u3001<code>double b[];<\/code> \u306e\u3088\u3046\u306b\u5927\u304d\u3055\u3092\u66f8\u304b\u306a\u3044\u3068\u52d5\u7684\u914d\u5217\u3067\u3059\u3002\u5927\u304d\u3055\u3092\u5909\u3048\u308b <a href=\"https:\/\/docs.mql4.com\/array\/arrayresize\">ArrayResize<\/a> \u306f\u3001\u516c\u5f0f\u306e\u8aac\u660e\u3067\u306f\u52d5\u7684\u914d\u5217\u306e\u305f\u3081\u306e\u95a2\u6570\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u914d\u5217\u304c\u52d5\u7684\u304b\u3069\u3046\u304b\u306f\u3001<a href=\"https:\/\/docs.mql4.com\/array\/arrayisdynamic\">ArrayIsDynamic<\/a> \u3067\u8abf\u3079\u3089\u308c\u307e\u3059\u3002\u8981\u7d20\u6570\u306f <a href=\"https:\/\/docs.mql4.com\/array\/arraysize\">ArraySize<\/a> \u3067\u53d6\u308c\u307e\u3059\u3002\u6b21\u5143\u304c2\u3064\u4ee5\u4e0a\u306e\u914d\u5217\u3067\u306f\u3001\u6b21\u5143\u306e\u6570\u3092 <a href=\"https:\/\/docs.mql4.com\/array\/arraydimension\">ArrayDimension<\/a>\u3001\u6307\u5b9a\u3057\u305f\u6b21\u5143\u306e\u8981\u7d20\u6570\u3092 <a href=\"https:\/\/docs.mql4.com\/array\/arrayrange\">ArrayRange<\/a> \u3067\u8abf\u3079\u307e\u3059\u3002\u4f7f\u3044\u65b9\u306f3\u3064\u3081\u306e\u7bc0\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u78ba\u304b\u3081\u307e\u3057\u305f\u3002<\/p>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"yellow\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2025\/11\/tremaru8-150x150.png\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30a2\u30c9\u30d0\u30a4\u30b9<\/span><\/div><div class=\"c-balloon__body -speaking -border-on\"><div class=\"c-balloon__text\">\n<p>\u914d\u5217\u306e\u95a2\u6570\u306f19\u500b\u3002\u307e\u305a\u3001\u30b5\u30a4\u30ba\u30fb\u5411\u304d\u30fb\u5165\u308c\u308b\u5199\u3059\u30fb\u4e26\u3079\u308b\u63a2\u3059\u30fb\u6bd4\u3079\u308b\u306e5\u3064\u306b\u5206\u3051\u3066\u898b\u308b\u3068\u63a2\u3057\u3084\u3059\u3044\u3088\u3002<\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading is-style-big_icon_point\">MQL4 \u914d\u5217\u95a2\u6570 ArrayResize\u30fbArrayFree\uff5c\u30b5\u30a4\u30ba\u3092\u5909\u3048\u308b<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"650\" height=\"551\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-reserve-2026.webp\" alt=\"ArrayResize\u3067\u8981\u7d20\u30921\u3064\u305a\u3064\u5897\u3084\u3059\u6642\u9593\u3092\u3001\u4e88\u7d04\u30b5\u30a4\u30ba\u306a\u3057\u3068\u3042\u308a\u30671\u4e07\u30fb3\u4e07\u30fb10\u4e07\u8981\u7d20\u3054\u3068\u306b\u4e26\u3079\u305f\u5bfe\u6570\u76ee\u76db\u306e\u68d2\u30b0\u30e9\u30d5\" class=\"wp-image-77606\" srcset=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-reserve-2026.webp 650w, https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-reserve-2026-300x254.webp 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><figcaption class=\"wp-element-caption\">\u51fa\u5178: \u624b\u5143\u306eMT4\uff08XMTrading\u3001\u30d3\u30eb\u30c91492\uff09\u3067\u5b9f\u884c\u3057\u305f\u7d50\u679c\u30012026\u5e7410\u6708\u30021\u3064\u305a\u3064\u5897\u3084\u3059\u6642\u9593\u306e\u4e2d\u592e\u5024\u3002<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">ArrayResize\u306e\u5f15\u6570\u3068\u623b\u308a\u5024<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5ba3\u8a00\u306f <code>int ArrayResize(void&amp; array[], int new_size, int reserve_size=0)<\/code> \u3067\u3059\u3002<a href=\"https:\/\/docs.mql4.com\/array\/arrayresize\">\u516c\u5f0f\u306e\u8aac\u660e<\/a>\u3067\u306f\u3001\u623b\u308a\u5024\u306f\u5909\u66f4\u5f8c\u306e\u8981\u7d20\u6570\u3067\u3001\u5931\u6557\u3057\u305f\u3068\u304d\u306f-1\u3067\u3059\u3002\u7b2c3\u5f15\u6570\u306e\u4e88\u7d04\u30b5\u30a4\u30ba\u306f\u3001\u914d\u5217\u306e\u30e1\u30e2\u30ea\u3092\u5b9f\u969b\u306b\u53d6\u308a\u76f4\u3059\u3068\u304d\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b21\u306e\u30b5\u30f3\u30d7\u30eb\u306f\u3001\u52d5\u7684\u914d\u5217\u30921\u3064\u305a\u3064\u5897\u3084\u3057\u3066\u76f4\u8fd15\u672c\u306e\u7d42\u5024\u3092\u5165\u308c\u3001\u7e2e\u3081\u3066\u3001\u89e3\u653e\u3059\u308b\u307e\u3067\u306e\u6d41\u308c\u3067\u3059\u3002MT4\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3057\u3066\u3001EURUSD\u306e15\u5206\u8db3\u306e\u30c1\u30e3\u30fc\u30c8\u3067\u5b9f\u884c\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-file=\"arr_resize.mq4\" data-lang=\"C++\"><code>#property strict\n\n\/\/ \u52d5\u7684\u914d\u5217\u3092 1 \u3064\u305a\u3064\u5897\u3084\u3057\u3001\u76f4\u8fd1 5 \u672c\u306e\u7d42\u5024\u3092\u5165\u308c\u308b\nvoid OnStart()\n\t{\n\tdouble prices[];\t\t\t\t\t\t\t\t\t\/\/ \u52d5\u7684\u914d\u5217\uff08\u30b5\u30a4\u30ba\u672a\u6307\u5b9a\uff09\n\tint size = ArrayResize(prices, 0);\t\t\t\/\/ \u623b\u308a\u5024\u306f\u5909\u66f4\u5f8c\u306e\u8981\u7d20\u6570\n\tPrint(\"\u7a7a\u306b\u3057\u305f: \u623b\u308a\u5024=\", size, \" ArraySize=\", ArraySize(prices));\n\n\tfor(int i = 0; i &lt; 5; i++)\n\t{\n\t\tsize = ArrayResize(prices, i + 1);\n\t\tprices[size - 1] = Close[i];\n\t}\n\tPrint(\"5 \u672c\u8ffd\u52a0: ArraySize=\", ArraySize(prices),\n\t\t\t\" prices[0]==Close[0]: \", prices[0] == Close[0],\n\t\t\t\" prices[4]==Close[4]: \", prices[4] == Close[4]);\n\n\tArrayResize(prices, 3);\t\t\t\t\t\t\t\/\/ \u7e2e\u3081\u308b\u3068\u5148\u982d 3 \u3064\u306f\u6b8b\u308b\n\tPrint(\"3 \u306b\u7e2e\u3081\u305f: ArraySize=\", ArraySize(prices),\n\t\t\t\" prices[2]==Close[2]: \", prices[2] == Close[2]);\n\n\tArrayFree(prices);\t\t\t\t\t\t\t\t\t\/\/ \u30d0\u30c3\u30d5\u30a1\u3092\u89e3\u653e\u3057\u3001\u8981\u7d20\u6570\u306f 0\n\tPrint(\"ArrayFree \u5f8c: ArraySize=\", ArraySize(prices));\n\n\tdouble fixedArr[10];\t\t\t\t\t\t\t\t\/\/ \u9759\u7684\u914d\u5217\n\tint r = ArrayResize(fixedArr, 20);\t\t\t\/\/ \u9759\u7684\u914d\u5217\u306b\u4f7f\u3046\u3068\n\tPrint(\"\u9759\u7684\u914d\u5217\u306b ArrayResize: \u623b\u308a\u5024=\", r, \" ArraySize=\", ArraySize(fixedArr),\n\t\t\t\" ArrayIsDynamic=\", ArrayIsDynamic(fixedArr));\n\n\tdouble buf[100];\n\tint n = ArrayInitialize(buf, EMPTY_VALUE);\t\/\/ \u5168\u8981\u7d20\u3092\u540c\u3058\u5024\u306b\u3059\u308b\n\tPrint(\"ArrayInitialize \u306e\u623b\u308a\u5024=\", n, \" buf[99]==EMPTY_VALUE: \", buf[99] == EMPTY_VALUE);\n\t}<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u7d50\u679c\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<code>ArrayResize(prices, 0)<\/code> \u306e\u623b\u308a\u5024\u306f0\u3067\u3057\u305f\u30025\u3064\u306b\u5897\u3084\u3059\u3068 ArraySize \u304c5\u306b\u306a\u308a\u3001<code>prices[0]==Close[0]<\/code> \u3068 <code>prices[4]==Close[4]<\/code> \u304c\u3069\u3061\u3089\u3082 true \u3067\u3057\u305f\u30023\u3064\u306b\u7e2e\u3081\u3066\u3082\u3001\u5148\u982d\u306e3\u3064\u306f\u6b8b\u308a\u3001<code>prices[2]==Close[2]<\/code> \u306f true \u3067\u3057\u305f\u3002<a href=\"https:\/\/docs.mql4.com\/array\/arrayfree\">ArrayFree<\/a> \u306e\u3042\u3068\u306f ArraySize \u304c0\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9759\u7684\u914d\u5217 <code>double fixedArr[10]<\/code> \u306b <code>ArrayResize(fixedArr, 20)<\/code> \u3092\u547c\u3076\u3068\u3001\u624b\u5143\u306e\u30d3\u30eb\u30c91492\u3067\u306f\u623b\u308a\u5024\u304c20\u3067\u3001ArraySize \u308220\u3001ArrayIsDynamic \u306f true \u306b\u306a\u308a\u307e\u3057\u305f\u3002\u516c\u5f0f\u306e\u8aac\u660e\u306f\u52d5\u7684\u914d\u5217\u5411\u3051\u306a\u306e\u3067\u3001\u3053\u306e\u52d5\u304d\u306f\u516c\u5f0f\u306b\u306a\u3044\u6319\u52d5\u3067\u3059\u3002\u9759\u7684\u914d\u5217\u306b\u306f\u4f7f\u308f\u305a\u3001\u5927\u304d\u3055\u3092\u5909\u3048\u305f\u3044\u914d\u5217\u306f\u3001\u6700\u521d\u304b\u3089\u52d5\u7684\u914d\u5217\u3067\u5ba3\u8a00\u3059\u308b\u306e\u304c\u5b89\u5168\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e88\u7d04\u30b5\u30a4\u30ba\u3067\u5897\u3084\u3059\u6642\u9593\u3092\u6e2c\u3063\u305f\u7d50\u679c<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8981\u7d20\u30921\u3064\u305a\u3064\u5897\u3084\u3059\u305f\u3073\u306b\u3001\u30e1\u30e2\u30ea\u3092\u53d6\u308a\u76f4\u3059\u3068\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002\u305d\u3053\u3067\u3001<code>ArrayResize(a, i)<\/code> \u3092 i=1 \u304b\u3089 n \u307e\u3067\u7e70\u308a\u8fd4\u3059\u300c\u4e88\u7d04\u306a\u3057\u300d\u3068\u3001<code>ArrayResize(b, i, n)<\/code> \u3092\u540c\u3058\u56de\u6570\u7e70\u308a\u8fd4\u3059\u300c\u4e88\u7d04\u3042\u308a\u300d\u3092\u6bd4\u3079\u307e\u3057\u305f\u3002n \u306f1\u4e07\u30fb3\u4e07\u30fb10\u4e07\u306e3\u901a\u308a\u3067\u3001\u5404 n \u30925\u56de\u305a\u3064\u5b9f\u884c\u3057\u3001<code>GetMicrosecondCount<\/code> \u3067\u6e2c\u3063\u305f\u6642\u9593\u306e\u4e2d\u592e\u5024\u3092\u51fa\u3057\u3066\u3044\u307e\u3059\u30021\u56de\u306e\u6e2c\u5b9a\u306f\u3001n \u8981\u7d20\u307e\u3067\u5897\u3084\u3057\u7d42\u3048\u308b\u307e\u3067\u306e\u6642\u9593\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-file=\"arr_reserve.mq4\" data-lang=\"C++\"><code>#property strict\n\n\/\/ \u4e88\u7d04\u30b5\u30a4\u30ba\u306a\u3057\u3068\u3001\u4e88\u7d04\u30b5\u30a4\u30ba\u3042\u308a\u3067\u3001\u914d\u5217\u3092 1 \u8981\u7d20\u305a\u3064\u5897\u3084\u3059\u6642\u9593\u3092\u6bd4\u3079\u308b\nvoid OnStart()\n\t{\n\tint sizes[3] = {10000, 30000, 100000};\n\tint handle = FileOpen(\"arr_reserve.csv\", FILE_WRITE | FILE_CSV | FILE_ANSI, ',');\n\tFileWrite(handle, \"n\", \"run\", \"no_reserve_us\", \"reserve_us\");\n\tfor(int k = 0; k &lt; 3; k++)\n\t{\n\t\tint n = sizes[k];\n\t\tfor(int run = 1; run &lt;= 5; run++)\n\t\t{\n\t\t\tdouble a[], b[];\n\t\t\tulong t0 = GetMicrosecondCount();\n\t\t\tfor(int i = 1; i &lt;= n; i++)\n\t\t\t\tArrayResize(a, i);\t\t\t\t\t\/\/ \u4e88\u7d04\u306a\u3057\n\t\t\tulong t1 = GetMicrosecondCount();\n\t\t\tfor(int j = 1; j &lt;= n; j++)\n\t\t\t\tArrayResize(b, j, n);\t\t\t\t\/\/ \u4e88\u7d04\u30b5\u30a4\u30ba n\n\t\t\tulong t2 = GetMicrosecondCount();\n\t\t\tFileWrite(handle, n, run, t1 - t0, t2 - t1);\n\t\t\tArrayFree(a);\n\t\t\tArrayFree(b);\n\t\t}\n\t}\n\tFileClose(handle);\n\tPrint(\"arr_reserve done\");\n\t}<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e2d\u592e\u5024\u306f\u3001n \u304c1\u4e07\u306e\u3068\u304d\u3001\u4e88\u7d04\u306a\u3057\u304c8.5\u30df\u30ea\u79d2\u3001\u4e88\u7d04\u3042\u308a\u304c0.14\u30df\u30ea\u79d2\u3067\u3057\u305f\u30023\u4e07\u306e\u3068\u304d\u300185.0\u30df\u30ea\u79d2\u30680.38\u30df\u30ea\u79d2\u3067\u3057\u305f\u300210\u4e07\u306e\u3068\u304d\u3001909.2\u30df\u30ea\u79d2\u30681.38\u30df\u30ea\u79d2\u3067\u3059\u3002\u4e88\u7d04\u3042\u308a\u306e\u307b\u3046\u304c\u3001\u7d0462\u500d\u3001\u7d04224\u500d\u3001\u7d04658\u500d\u77ed\u3044\u7d50\u679c\u3067\u3057\u305f\u300210\u4e07\u8981\u7d20\u306e5\u56de\u306e\u7bc4\u56f2\u306f\u3001\u4e88\u7d04\u306a\u3057\u304c888.4\u301c966.8\u30df\u30ea\u79d2\u3001\u4e88\u7d04\u3042\u308a\u304c0.87\u301c1.71\u30df\u30ea\u79d2\u3067\u3001\u4e88\u7d04\u306a\u3057\u306e\u6700\u77ed\u3088\u308a\u4e88\u7d04\u3042\u308a\u306e\u6700\u9577\u306e\u307b\u3046\u304c\u5c0f\u3055\u3044\u5024\u3067\u3057\u305f\u3002<\/p>\n\n\n<div class=\"c-scrollHint sp_\"><span>\u30b9\u30af\u30ed\u30fc\u30eb\u3067\u304d\u307e\u3059 <i class=\"icon-more_arrow\"><\/i><\/span><\/div>\n<figure data-table-scrollable=\"sp\" data-cell1-fixed=\"sp\" class=\"wp-block-table\"><table style=\"--table-width:420px;--swl-cell1-width:7em;\"><thead><tr><th>\u8981\u7d20\u6570 n<\/th><th>\u4e88\u7d04\u306a\u3057<\/th><th>\u4e88\u7d04\u3042\u308a<\/th><th>\u500d\u7387<\/th><\/tr><\/thead><tbody><tr><td>1\u4e07<\/td><td>8.5<\/td><td>0.14<\/td><td>\u7d0462\u500d<\/td><\/tr><tr><td>3\u4e07<\/td><td>85.0<\/td><td>0.38<\/td><td>\u7d04224\u500d<\/td><\/tr><tr><td>10\u4e07<\/td><td>909.2<\/td><td>1.38<\/td><td>\u7d04658\u500d<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u8868\u306e\u300c\u4e88\u7d04\u306a\u3057\u300d\u300c\u4e88\u7d04\u3042\u308a\u300d\u306f\u30015\u56de\u306e\u4e2d\u592e\u5024\uff08\u5358\u4f4d\u306f\u30df\u30ea\u79d2\uff09\u3067\u3059\u3002\u300c\u500d\u7387\u300d\u306f\u3001\u4e88\u7d04\u306a\u3057\u306e\u4e2d\u592e\u5024\u3092\u4e88\u7d04\u3042\u308a\u306e\u4e2d\u592e\u5024\u3067\u5272\u3063\u305f\u5024\u3067\u3059\u3002\u6e2c\u5b9a\u6761\u4ef6\u306f\u3001XMTrading\u306e\u30c7\u30e2\u53e3\u5ea7\u306eMT4\uff08\u30d3\u30eb\u30c91492\uff09\u3067\u3001EURUSD\u306e15\u5206\u8db3\u306e\u30c1\u30e3\u30fc\u30c8\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8f09\u305b\u3066\u5b9f\u884c\u3057\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u7d50\u679c\u306f\u3001\u624b\u5143\u306e1\u53f0\u306ePC\u3067\u3001\u30c7\u30e2\u53e3\u5ea7\u306eMT4\u3092\u52d5\u304b\u3057\u305f\u3068\u304d\u306e\u5024\u3067\u3059\u3002\u307b\u304b\u306e\u74b0\u5883\u3067\u540c\u3058\u500d\u7387\u306b\u306a\u308b\u3068\u306f\u9650\u308a\u307e\u305b\u3093\u3002\u4f7f\u3046\u30e1\u30e2\u30ea\u306e\u91cf\u3082\u6e2c\u3063\u3066\u3044\u307e\u305b\u3093\u3002\u4e88\u7d04\u30b5\u30a4\u30ba\u306f\u3001\u5897\u3084\u3059\u56de\u6570\u304c\u5148\u306b\u5206\u304b\u3063\u3066\u3044\u308b\u3068\u304d\u306b\u3001n \u3068\u540c\u3058\u5024\u304b\u305d\u308c\u4ee5\u4e0a\u3092\u6e21\u3059\u4f7f\u3044\u65b9\u306b\u306a\u308a\u307e\u3059\u3002\u516c\u5f0f\u306e\u8aac\u660e\u306e\u30b5\u30f3\u30d7\u30eb\u306b\u3082\u3001\u4e88\u7d04\u30b5\u30a4\u30ba\u3067\u901f\u304f\u306a\u308b\u4f8b\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"yellow\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2025\/11\/tremaru8-150x150.png\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30a2\u30c9\u30d0\u30a4\u30b9<\/span><\/div><div class=\"c-balloon__body -speaking -border-on\"><div class=\"c-balloon__text\">\n<p>\u5897\u3084\u3059\u56de\u6570\u304c\u5148\u306b\u5206\u304b\u3063\u3066\u3044\u308b\u306a\u3089\u3001\u7b2c3\u5f15\u6570\u306b\u4e88\u7d04\u30b5\u30a4\u30ba\u3092\u5165\u308c\u3088\u3046\u300210\u4e07\u56de\u5897\u3084\u3059\u4f8b\u3067\u306f\u3001909.2\u30df\u30ea\u79d2\u304c1.38\u30df\u30ea\u79d2\u306b\u306a\u3063\u305f\u3088\u3002<\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading is-style-big_icon_point\">MQL4 \u914d\u5217\u95a2\u6570 ArrayCopy\u30fbArrayInitialize\uff5c\u30b3\u30d4\u30fc\u30fb\u521d\u671f\u5316\u30fb\u6bd4\u8f03<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"650\" height=\"426\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-copy-2026.webp\" alt=\"ArrayCopy\u306e4\u3064\u306e\u547c\u3073\u51fa\u3057\u306b\u3064\u3044\u3066\u3001\u623b\u308a\u5024\u3068\u30b3\u30d4\u30fc\u5148\u306e\u4e2d\u8eab\u3092\u4e26\u3079\u305f\u8868\" class=\"wp-image-77602\" srcset=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-copy-2026.webp 650w, https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-copy-2026-300x197.webp 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><figcaption class=\"wp-element-caption\">\u51fa\u5178: \u624b\u5143\u306eMT4\uff08XMTrading\u3001\u30d3\u30eb\u30c91492\uff09\u3067\u5b9f\u884c\u3057\u305f\u7d50\u679c\u30012026\u5e7410\u6708\u3002ArrayCopy\u306e4\u3064\u306e\u547c\u3073\u51fa\u3057\u3002<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">ArrayCopy\u306e\u5f15\u6570\u3068\u623b\u308a\u5024<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5ba3\u8a00\u306f <code>int ArrayCopy(dst_array[], src_array[], int dst_start=0, int src_start=0, int count=WHOLE_ARRAY)<\/code> \u3067\u3059\u3002<a href=\"https:\/\/docs.mql4.com\/array\/arraycopy\">\u516c\u5f0f\u306e\u8aac\u660e<\/a>\u3067\u306f\u3001\u623b\u308a\u5024\u306f\u30b3\u30d4\u30fc\u3057\u305f\u8981\u7d20\u6570\u3067\u3001\u30b3\u30d4\u30fc\u5148\u306e\u914d\u5217\u306f\u8db3\u308a\u306a\u3051\u308c\u3070\u81ea\u52d5\u3067\u5e83\u304c\u308a\u307e\u3059\u3002\u540c\u3058\u914d\u5217\u3092\u3001\u30b3\u30d4\u30fc\u5143\u3068\u30b3\u30d4\u30fc\u5148\u306e\u4e21\u65b9\u306b\u6307\u5b9a\u3059\u308b\u3068\u3001\u7d50\u679c\u306f\u6c7a\u307e\u3063\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-file=\"arr_copy.mq4\" data-lang=\"C++\"><code>#property strict\n\nvoid OnStart()\n\t{\n\tdouble source[] = {1.0, 2.0, 3.0, 4.0, 5.0};\n\n\tdouble dest[];\t\t\t\t\t\t\t\t\t\t\t\/\/ \u30b5\u30a4\u30ba\u3092\u6c7a\u3081\u3066\u3044\u306a\u3044\u52d5\u7684\u914d\u5217\n\tint c1 = ArrayCopy(dest, source);\t\t\t\t\t\/\/ \u5168\u8981\u7d20\u3002\u30b3\u30d4\u30fc\u5148\u306f\u81ea\u52d5\u3067\u5e83\u304c\u308b\n\tPrint(\"\u5168\u90e8: \u623b\u308a\u5024=\", c1, \" ArraySize(dest)=\", ArraySize(dest));\n\n\tdouble partial[];\n\tint c2 = ArrayCopy(partial, source, 0, 2, 2);\t\/\/ dst_start=0, src_start=2, count=2\n\tPrint(\"\u90e8\u5206: \u623b\u308a\u5024=\", c2, \" partial[0]=\", partial[0], \" partial[1]=\", partial[1]);\n\n\tdouble recent[];\n\tint c3 = ArrayCopy(recent, Close, 0, 0, 3);\t\t\/\/ \u6642\u7cfb\u5217\u306e Close \u304b\u3089 3 \u672c\n\tPrint(\"Close: \u623b\u308a\u5024=\", c3, \" recent[0]==Close[0]: \", recent[0] == Close[0],\n\t\t\t\" recent[2]==Close[2]: \", recent[2] == Close[2]);\n\n\tint c4 = ArrayCopy(recent, source, 3, 0, 2);\t\/\/ \u30b3\u30d4\u30fc\u5148\u306e 3 \u756a\u76ee\u304b\u3089 2 \u8981\u7d20\n\tPrint(\"\u5f8c\u308d\u3078\u8db3\u3059: \u623b\u308a\u5024=\", c4, \" ArraySize(recent)=\", ArraySize(recent),\n\t\t\t\" recent[3]=\", recent[3], \" recent[4]=\", recent[4]);\n\t}<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u56f3\u306e4\u3064\u304c\u3001\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u306e\u7d50\u679c\u3067\u3059\u3002\u5168\u90e8\u3092\u30b3\u30d4\u30fc\u3059\u308b\u3068\u623b\u308a\u5024\u306f5\u3067\u3001\u30b3\u30d4\u30fc\u5148\u306f5\u8981\u7d20\u306b\u5e83\u304c\u308a\u307e\u3057\u305f\u3002<code>ArrayCopy(partial, source, 0, 2, 2)<\/code> \u306f\u3001\u30b3\u30d4\u30fc\u5143\u306e2\u756a\u76ee\u304b\u30892\u500b\u3092\u3001\u30b3\u30d4\u30fc\u5148\u306e\u5148\u982d\u3078\u5165\u308c\u308b\u306e\u3067\u3001{3.0, 4.0} \u306b\u306a\u308a\u307e\u3059\u3002\u6642\u7cfb\u5217\u306e Close \u304b\u30893\u672c\u3092\u30b3\u30d4\u30fc\u3059\u308b\u3068\u3001\u623b\u308a\u5024\u306f3\u3067\u3001<code>recent[0]==Close[0]<\/code> \u3068 <code>recent[2]==Close[2]<\/code> \u304c\u3069\u3061\u3089\u3082 true \u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u5f8c\u306e\u547c\u3073\u51fa\u3057\u306f\u3001\u30b3\u30d4\u30fc\u5148\u306e3\u756a\u76ee\u304b\u30892\u500b\u3092\u8db3\u3059\u5f62\u3067\u3059\u3002\u623b\u308a\u5024\u306f2\u3067\u3001ArraySize \u306f5\u306b\u306a\u308a\u3001<code>recent[3]<\/code> \u304c1.0\u3001<code>recent[4]<\/code> \u304c2.0\u3067\u3057\u305f\u3002\u30b3\u30d4\u30fc\u5148\u306e\u958b\u59cb\u4f4d\u7f6e\u3092\u3001\u3044\u307e\u306e\u8981\u7d20\u6570\u306b\u305d\u308d\u3048\u308b\u3068\u3001\u5f8c\u308d\u3078\u8db3\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">ArrayInitialize\u3068ArrayFill<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/docs.mql4.com\/array\/arrayinitialize\">ArrayInitialize<\/a> \u306f\u3001\u914d\u5217\u306e\u5168\u8981\u7d20\u3092\u540c\u3058\u5024\u306b\u3057\u307e\u3059\u3002\u516c\u5f0f\u306e\u8aac\u660e\u306b\u306f\u623b\u308a\u5024\u306e\u8a18\u8f09\u304c\u306a\u304f\u3001No return value \u3068\u3042\u308a\u307e\u3059\u3002\u3068\u3053\u308d\u304c\u3001\u624b\u5143\u306e\u30d3\u30eb\u30c91492\u3067\u306f\u3001<code>double buf[100]<\/code> \u306b <code>ArrayInitialize(buf, EMPTY_VALUE)<\/code> \u3092\u547c\u3076\u3068\u623b\u308a\u5024\u304c100\u3067\u3001<code>buf[99]==EMPTY_VALUE<\/code> \u306f true \u3067\u3057\u305f\u3002\u623b\u308a\u5024\u306f\u5f53\u3066\u306b\u305b\u305a\u3001\u521d\u671f\u5316\u3060\u3051\u306b\u4f7f\u3046\u3068\u6c7a\u3081\u3066\u304a\u304f\u3068\u5b89\u5168\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u914d\u5217\u306e\u4e00\u90e8\u3060\u3051\u3092\u540c\u3058\u5024\u306b\u3057\u305f\u3044\u3068\u304d\u306f\u3001<a href=\"https:\/\/docs.mql4.com\/array\/arrayfill\">ArrayFill<\/a>\uff08<code>void ArrayFill(array[], int start, int count, value)<\/code>\uff09\u3092\u4f7f\u3044\u307e\u3059\u3002\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u300110\u8981\u7d20\u306e\u914d\u5217\u306b\u30010\u756a\u76ee\u304b\u30895\u500b\u3092123\u30015\u756a\u76ee\u304b\u30895\u500b\u3092456\u306b\u3057\u3066\u3001<code>a[0]<\/code> \u3068 <code>a[4]<\/code> \u304c123\u3001<code>a[5]<\/code> \u3068 <code>a[9]<\/code> \u304c456\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">ArrayRange\u30fbArrayDimension\u30fbArrayCompare<\/h3>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-file=\"arr_misc.mq4\" data-lang=\"C++\"><code>#property strict\n\nvoid OnStart()\n\t{\n\tdouble grid[][3];\t\t\t\t\t\t\t\t\t\t\t\/\/ 2 \u6b21\u5143\u306e\u52d5\u7684\u914d\u5217\uff08\u6700\u521d\u306e\u6b21\u5143\u3060\u3051\u53ef\u5909\uff09\n\tArrayResize(grid, 4);\t\t\t\t\t\t\t\t\t\t\/\/ \u6700\u521d\u306e\u6b21\u5143\u3092 4 \u306b\u3059\u308b\n\tPrint(\"ArraySize=\", ArraySize(grid), \" ArrayRange(0)=\", ArrayRange(grid, 0),\n\t\t\t\" ArrayRange(1)=\", ArrayRange(grid, 1), \" ArrayDimension=\", ArrayDimension(grid));\n\n\tint a[];\n\tArrayResize(a, 10);\n\tArrayFill(a, 0, 5, 123);\t\t\t\t\t\t\t\t\t\/\/ 0 \u756a\u76ee\u304b\u3089 5 \u500b\u3092 123 \u306b\n\tArrayFill(a, 5, 5, 456);\t\t\t\t\t\t\t\t\t\/\/ 5 \u756a\u76ee\u304b\u3089 5 \u500b\u3092 456 \u306b\n\tPrint(\"ArrayFill: a[0]=\", a[0], \" a[4]=\", a[4], \" a[5]=\", a[5], \" a[9]=\", a[9]);\n\n\tint x[] = {1, 2, 3};\n\tint y[] = {1, 2, 4};\n\tint z[] = {1, 2, 3};\n\tPrint(\"ArrayCompare(x,y)=\", ArrayCompare(x, y), \" (y,x)=\", ArrayCompare(y, x),\n\t\t\t\" (x,z)=\", ArrayCompare(x, z), \" (x,y,0,0,2)=\", ArrayCompare(x, y, 0, 0, 2));\n\t}<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">2\u6b21\u5143\u306e\u52d5\u7684\u914d\u5217 <code>double grid[][3]<\/code> \u306e\u6700\u521d\u306e\u6b21\u5143\u30924\u306b\u3059\u308b\u3068\u3001ArraySize \u306f12\u3001<code>ArrayRange(grid, 0)<\/code> \u306f4\u3001<code>ArrayRange(grid, 1)<\/code> \u306f3\u3001<a href=\"https:\/\/docs.mql4.com\/array\/arraydimension\">ArrayDimension<\/a> \u306f2\u3067\u3057\u305f\u3002ArrayRange \u306f\u3001\u6b21\u5143\u3054\u3068\u306e\u8981\u7d20\u6570\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/docs.mql4.com\/array\/arraycompare\">ArrayCompare<\/a> \u306f\u30012\u3064\u306e\u914d\u5217\u306e\u4e2d\u8eab\u3092\u6bd4\u3079\u307e\u3059\u3002\u516c\u5f0f\u306e\u8aac\u660e\u3067\u306f\u3001\u623b\u308a\u5024\u306f\u3001\u540c\u3058\u306a\u30890\u30011\u3064\u3081\u304c\u5c0f\u3055\u3051\u308c\u3070-1\u3001\u5927\u304d\u3051\u308c\u30701\u3067\u3001\u30a8\u30e9\u30fc\u306e\u3068\u304d\u306f-2\u3067\u3059\u3002\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u3001{1,2,3} \u3068 {1,2,4} \u306e\u6bd4\u8f03\u304c-1\u3001\u9006\u9806\u304c1\u3001{1,2,3} \u3069\u3046\u3057\u304c0\u3067\u3057\u305f\u3002\u6bd4\u3079\u308b\u500b\u6570\u30922\u306b\u3059\u308b\u3068\u3001{1,2,3} \u3068 {1,2,4} \u30820\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"yellow\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2025\/11\/tremaru8-150x150.png\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30a2\u30c9\u30d0\u30a4\u30b9<\/span><\/div><div class=\"c-balloon__body -speaking -border-on\"><div class=\"c-balloon__text\">\n<p>ArrayCopy\u306e\u623b\u308a\u5024\u306f\u3001\u30b3\u30d4\u30fc\u3057\u305f\u8981\u7d20\u6570\u3002\u5f8c\u308d\u3078\u8db3\u3057\u305f\u3044\u3068\u304d\u306f\u3001\u30b3\u30d4\u30fc\u5148\u306e\u958b\u59cb\u4f4d\u7f6e\u3092\u3044\u307e\u306e\u8981\u7d20\u6570\u306b\u305d\u308d\u3048\u3088\u3046\u306d\u3002<\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading is-style-big_icon_point\">MQL4 \u914d\u5217\u95a2\u6570 ArraySort\u30fbArrayBsearch\uff5c\u4e26\u3079\u66ff\u3048\u3068\u63a2\u7d22<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"650\" height=\"401\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-sort-2026.webp\" alt=\"ArraySort\u306e4\u3064\u306e\u547c\u3073\u51fa\u3057\u306b\u3064\u3044\u3066\u3001\u6607\u9806\u30fb\u964d\u9806\u30fb\u4e00\u90e8\u3060\u3051\u30fb\u6642\u7cfb\u5217\u914d\u5217\u306b\u3057\u305f\u3068\u304d\u306e\u4e26\u3079\u66ff\u3048\u7d50\u679c\u3092\u4e26\u3079\u305f\u8868\" class=\"wp-image-77608\" srcset=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-sort-2026.webp 650w, https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-sort-2026-300x185.webp 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><figcaption class=\"wp-element-caption\">\u51fa\u5178: \u624b\u5143\u306eMT4\uff08XMTrading\u3001\u30d3\u30eb\u30c91492\uff09\u3067\u5b9f\u884c\u3057\u305f\u7d50\u679c\u30012026\u5e7410\u6708\u3002ArraySort\u3067\u4e26\u3079\u66ff\u3048\u305f\u7d50\u679c\u3002<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">ArraySort\u306e\u5f15\u6570\u3068\u7d50\u679c<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5ba3\u8a00\u306f <code>bool ArraySort(array[], int count=WHOLE_ARRAY, int start=0, int direction=MODE_ASCEND)<\/code> \u3067\u3059\u3002<a href=\"https:\/\/docs.mql4.com\/array\/arraysort\">\u516c\u5f0f\u306e\u8aac\u660e<\/a>\u3067\u306f\u3001\u914d\u5217\u306e\u6642\u7cfb\u5217\u306e\u5411\u304d\u3082\u8003\u3048\u3066\u4e26\u3079\u66ff\u3048\u307e\u3059\u3002\u7b2c2\u5f15\u6570\u304c\u500b\u6570\u3001\u7b2c3\u5f15\u6570\u304c\u958b\u59cb\u4f4d\u7f6e\u3001\u7b2c4\u5f15\u6570\u304c\u6607\u9806\u304b\u964d\u9806\u304b\u306e\u6307\u5b9a\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-file=\"arr_sort.mq4\" data-lang=\"C++\"><code>#property strict\n\nstring Join(const double &amp;a[])\n\t{\n\tstring s = \"\";\n\tfor(int i = 0; i &lt; ArraySize(a); i++)\n\t\ts += (i &gt; 0 ? \",\" : \"\") + DoubleToString(a[i], 0);\n\treturn s;\n\t}\n\nvoid OnStart()\n\t{\n\tdouble values[] = {5, 2, 8, 1, 9, 3};\n\tArraySort(values);\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u6607\u9806\uff08\u65e2\u5b9a\uff09\n\tPrint(\"\u6607\u9806: \", Join(values));\n\tArraySort(values, WHOLE_ARRAY, 0, MODE_DESCEND);\t\t\/\/ \u964d\u9806\n\tPrint(\"\u964d\u9806: \", Join(values));\n\n\tdouble part[] = {5, 2, 8, 1, 9, 3};\n\tArraySort(part, 3, 1);\t\t\t\t\t\t\t\t\t\t\t\/\/ count=3, start=1: [1]\u301c[3] \u3060\u3051\n\tPrint(\"\u4e00\u90e8\u3060\u3051: \", Join(part));\n\n\tdouble s[];\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u6642\u7cfb\u5217\u306b\u3057\u305f\u914d\u5217\n\tArrayResize(s, 4);\n\ts[0] = 3; s[1] = 1; s[2] = 4; s[3] = 2;\n\tArraySetAsSeries(s, true);\n\tArraySort(s);\t\t\t\t\t\t\t\t\t\t\t\t\t\t\/\/ \u6607\u9806\u3092\u6307\u5b9a\n\tPrint(\"\u6642\u7cfb\u5217\u306e\u307e\u307e\u6607\u9806: s[0]=\", s[0], \" s[3]=\", s[3]);\n\tArraySetAsSeries(s, false);\t\t\t\t\t\t\t\t\t\/\/ \u901a\u5e38\u306e\u5411\u304d\u3067\u898b\u76f4\u3059\n\tPrint(\"\u901a\u5e38\u306e\u5411\u304d\u3067\u898b\u308b\u3068: \", Join(s));\n\n\tdouble sorted[] = {1, 2, 3, 5, 8, 9};\n\tPrint(\"ArrayBsearch(5)=\", ArrayBsearch(sorted, 5.0));\t\/\/ \u5024\u304c\u3042\u308b\n\tPrint(\"ArrayBsearch(4)=\", ArrayBsearch(sorted, 4.0));\t\/\/ \u5024\u304c\u306a\u3044: \u8fd1\u3044\u8981\u7d20\u306e\u4f4d\u7f6e\n\tPrint(\"ArrayBsearch(7)=\", ArrayBsearch(sorted, 7.0), \" ArrayBsearch(0)=\", ArrayBsearch(sorted, 0.0),\n\t\t\t\" ArrayBsearch(10)=\", ArrayBsearch(sorted, 10.0));\n\tdouble unsorted[] = {5, 2, 8, 1, 9, 3};\n\tPrint(\"\u4e26\u3079\u3066\u3044\u306a\u3044\u914d\u5217\u3067 ArrayBsearch(8)=\", ArrayBsearch(unsorted, 8.0));\n\t}<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">{5, 2, 8, 1, 9, 3} \u3092\u6607\u9806\u306b\u3059\u308b\u3068 1, 2, 3, 5, 8, 9\u3001\u964d\u9806\u306b\u3059\u308b\u3068 9, 8, 5, 3, 2, 1 \u306b\u306a\u308a\u307e\u3057\u305f\u3002<code>ArraySort(part, 3, 1)<\/code> \u306f\u3001\u756a\u53f71\u304b\u30893\u500b\u3060\u3051\u3092\u6607\u9806\u306b\u3059\u308b\u306e\u3067\u30015, 1, 2, 8, 9, 3 \u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6642\u7cfb\u5217\u306b\u3057\u305f\u914d\u5217 {3, 1, 4, 2} \u3092\u6607\u9806\u306b\u3059\u308b\u3068\u3001\u6642\u7cfb\u5217\u306e\u5411\u304d\u3067 <code>s[0]<\/code> \u304c1\u3001<code>s[3]<\/code> \u304c4\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u901a\u5e38\u306e\u5411\u304d\u306b\u623b\u3057\u3066\u898b\u308b\u3068\u30014, 3, 2, 1 \u3067\u3059\u3002\u6642\u7cfb\u5217\u306e\u914d\u5217\u3067\u3082\u3001\u4e26\u3079\u66ff\u3048\u306f\u6642\u7cfb\u5217\u306e\u5411\u304d\u306b\u5408\u308f\u305b\u3066\u884c\u308f\u308c\u307e\u3059\u3002\u901a\u5e38\u306e\u5411\u304d\u306b\u623b\u3057\u3066\u304b\u3089\u4e26\u3079\u66ff\u3048\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">ArrayBsearch\u306f\u4e26\u3079\u305f\u914d\u5217\u3060\u3051<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/docs.mql4.com\/array\/arraybsearch\">ArrayBsearch<\/a> \u306f\u3001\u6607\u9806\u306b\u4e26\u3093\u3060\u914d\u5217\u304b\u3089\u3001\u5024\u306e\u4f4d\u7f6e\u3092\u4e8c\u5206\u63a2\u7d22\u3067\u63a2\u3057\u307e\u3059\u3002{1, 2, 3, 5, 8, 9} \u3067\u306f\u30015\u3092\u63a2\u3059\u30683\u304c\u8fd4\u308a\u307e\u3057\u305f\u3002\u5024\u304c\u306a\u3044\u5834\u5408\u3001\u516c\u5f0f\u306e\u8aac\u660e\u306f\u8fd1\u3044\u4f4d\u7f6e\u3092\u8fd4\u3059\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u624b\u5143\u3067\u306f\u30014\u3092\u63a2\u3059\u30682\u30017\u3092\u63a2\u3059\u30683\u30010\u3092\u63a2\u3059\u30680\u300110\u3092\u63a2\u3059\u30685\u3067\u3057\u305f\u3002\u5024\u4ee5\u4e0b\u3067\u6700\u3082\u5f8c\u308d\u306e\u8981\u7d20\u306e\u4f4d\u7f6e\u304c\u8fd4\u3063\u3066\u3044\u3066\u30017\u3067\u306f\u3001\u5024\u304c\u8fd1\u30448\uff08\u756a\u53f74\uff09\u3067\u306f\u306a\u304f5\uff08\u756a\u53f73\uff09\u306e\u4f4d\u7f6e\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e26\u3079\u3066\u3044\u306a\u3044 {5, 2, 8, 1, 9, 3} \u30678\u3092\u63a2\u3059\u3068\u3001\u6b63\u3057\u3044\u4f4d\u7f6e\u306f2\u3067\u3059\u304c\u30015\u304c\u8fd4\u308a\u307e\u3057\u305f\u3002ArrayBsearch \u306f\u3001\u5fc5\u305a ArraySort \u306e\u3042\u3068\u306b\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"yellow\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2025\/11\/tremaru8-150x150.png\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30a2\u30c9\u30d0\u30a4\u30b9<\/span><\/div><div class=\"c-balloon__body -speaking -border-on\"><div class=\"c-balloon__text\">\n<p>ArraySort\u306f\u3001\u6642\u7cfb\u5217\u306b\u3057\u305f\u914d\u5217\u3067\u3082\u3001\u305d\u306e\u5411\u304d\u306b\u5408\u308f\u305b\u3066\u4e26\u3079\u3066\u304f\u308c\u305f\u3088\u3002ArrayBsearch\u306e\u524d\u306b\u306f\u5fc5\u305a\u4e26\u3079\u66ff\u3048\u3088\u3046\u3002<\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading is-style-big_icon_point\">MQL4 \u914d\u5217\u95a2\u6570 ArrayMaximum\u30fbArrayMinimum\uff5c\u5f15\u6570\u306e\u9806\u756a<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"650\" height=\"732\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-max-2026.webp\" alt=\"ArrayMaximum\u306e\u5f15\u6570\u3092\u500b\u65703\u30fb\u958b\u59cb\u4f4d\u7f6e1\u3068\u500b\u65701\u30fb\u958b\u59cb\u4f4d\u7f6e3\u306b\u3057\u305f\u3068\u304d\u3001\u63a2\u3057\u305f\u7bc4\u56f2\u3068\u8fd4\u3063\u305f\u4f4d\u7f6e\u3092\u8272\u5206\u3051\u3057\u305f2\u3064\u306e\u68d2\u30b0\u30e9\u30d5\" class=\"wp-image-77604\" srcset=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-max-2026.webp 650w, https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-max-2026-266x300.webp 266w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><figcaption class=\"wp-element-caption\">\u51fa\u5178: \u624b\u5143\u306eMT4\uff08XMTrading\u3001\u30d3\u30eb\u30c91492\uff09\u3067\u5b9f\u884c\u3057\u305f\u7d50\u679c\u30012026\u5e7410\u6708\u3002ArrayMaximum\u306e\u5f15\u6570\u306e\u9055\u3044\u3002<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u7b2c2\u5f15\u6570\u304c\u500b\u6570\u3001\u7b2c3\u5f15\u6570\u304c\u958b\u59cb\u4f4d\u7f6e<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5ba3\u8a00\u306f <code>int ArrayMaximum(array[], int count=WHOLE_ARRAY, int start=0)<\/code> \u3067\u3001ArrayMinimum \u3082\u540c\u3058\u5f62\u3067\u3059\u3002<a href=\"https:\/\/docs.mql4.com\/array\/arraymaximum\">\u516c\u5f0f\u306e\u8aac\u660e<\/a>\u3067\u306f\u3001\u623b\u308a\u5024\u306f\u6700\u5927\u5024\u306e\u4f4d\u7f6e\u3067\u3001\u63a2\u305b\u306a\u3044\u3068\u304d\u306f-1\u3067\u3059\u3002MQL4\u3067\u306f\u3001\u500b\u6570\u304c\u5148\u3001\u958b\u59cb\u4f4d\u7f6e\u304c\u3042\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-file=\"arr_max.mq4\" data-lang=\"C++\"><code>#property strict\n\nvoid OnStart()\n\t{\n\tdouble myData[] = {10.5, 20.3, 5.8, 15.2, 30.1};\n\tint maxIdx = ArrayMaximum(myData);\t\t\t\t\t\t\/\/ \u5168\u4f53\u304b\u3089\u63a2\u3059\n\tint minIdx = ArrayMinimum(myData);\n\tPrint(\"\u6700\u5927 \", myData[maxIdx], \" \u306f \", maxIdx, \" \u756a\u76ee\u3001\u6700\u5c0f \", myData[minIdx], \" \u306f \", minIdx, \" \u756a\u76ee\");\n\n\tint a = ArrayMaximum(myData, 3, 1);\t\t\t\t\t\t\/\/ \u7b2c2\u5f15\u6570\u304c count\u3001\u7b2c3\u5f15\u6570\u304c start\n\tint b = ArrayMaximum(myData, 1, 3);\t\t\t\t\t\t\/\/ \u9806\u756a\u3092\u9006\u306b\u3059\u308b\u3068\u5225\u306e\u7bc4\u56f2\u306b\u306a\u308b\n\tPrint(\"ArrayMaximum(myData, 3, 1)=\", a, \"\tArrayMaximum(myData, 1, 3)=\", b);\n\n\tint hi = iHighest(NULL, 0, MODE_CLOSE, 20, 1);\t\t\/\/ \u4fa1\u683c\u306e\u914d\u5217\u3092\u76f4\u63a5\u63a2\u3059\n\tint ar = ArrayMaximum(Close, 20, 1);\t\t\t\t\t\/\/ Close[] \u306f\u6642\u7cfb\u5217\u914d\u5217\n\tPrint(\"iHighest=\", hi, \" ArrayMaximum(Close,20,1)=\", ar, \" \u4e00\u81f4: \", hi == ar);\n\t}<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">{10.5, 20.3, 5.8, 15.2, 30.1} \u306e\u5168\u4f53\u304b\u3089\u63a2\u3059\u3068\u3001\u6700\u5927\u5024\u306f30.1\u3067\u4f4d\u7f6e\u306f4\u3001\u6700\u5c0f\u5024\u306f5.8\u3067\u4f4d\u7f6e\u306f2\u3067\u3057\u305f\u3002\u5f15\u6570\u3092\u4ed8\u3051\u305f <code>ArrayMaximum(myData, 3, 1)<\/code> \u306f\u3001\u756a\u53f71\u304b\u30893\u500b\uff0820.3, 5.8, 15.2\uff09\u3092\u63a2\u3057\u3066\u300120.3\u306e\u4f4d\u7f6e1\u3092\u8fd4\u3057\u307e\u3057\u305f\u3002\u9806\u756a\u3092\u5165\u308c\u66ff\u3048\u305f <code>ArrayMaximum(myData, 1, 3)<\/code> \u306f\u3001\u756a\u53f73\u304b\u30891\u500b\uff0815.2\uff09\u3092\u63a2\u3059\u306e\u3067\u30013\u304c\u8fd4\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2\u3064\u306e\u547c\u3073\u51fa\u3057\u306f\u3001\u5f15\u6570\u304c\u540c\u3058\u6570\u5b57\u3067\u3082\u3001\u7bc4\u56f2\u304c\u307e\u3063\u305f\u304f\u9055\u3044\u307e\u3059\u3002\u623b\u308a\u5024\u306f\u4f4d\u7f6e\u306a\u306e\u3067\u3001\u5024\u3092\u53d6\u308b\u306b\u306f\u3001<code>myData[ArrayMaximum(myData)]<\/code> \u306e\u3088\u3046\u306b\u6dfb\u3048\u5b57\u3078\u5165\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">iHighest\u3068\u306e\u7167\u5408<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30c1\u30e3\u30fc\u30c8\u306e\u4fa1\u683c\u3092\u76f4\u63a5\u63a2\u3059 <a href=\"https:\/\/docs.mql4.com\/series\/ihighest\">iHighest<\/a> \u3082\u3042\u308a\u307e\u3059\u3002<code>iHighest(NULL, 0, MODE_CLOSE, 20, 1)<\/code> \u3068\u3001\u6642\u7cfb\u5217\u914d\u5217\u306e Close \u306b\u5bfe\u3059\u308b <code>ArrayMaximum(Close, 20, 1)<\/code> \u3092\u3001EURUSD\u306e15\u5206\u8db3\u3067\u540c\u6642\u306b\u547c\u3076\u3068\u3001\u3069\u3061\u3089\u308213\u304c\u8fd4\u308a\u307e\u3057\u305f\u30021\u56de\u306e\u7167\u5408\u306a\u306e\u3067\u3001\u4e00\u81f4\u3059\u308b\u4fdd\u8a3c\u306b\u306f\u306a\u308a\u307e\u305b\u3093\u304c\u3001Close \u3092 ArrayMaximum \u306b\u6e21\u3057\u3066\u3082\u3001iHighest \u3068\u540c\u3058\u4f4d\u7f6e\u3092\u63a2\u305b\u307e\u3057\u305f\u3002<\/p>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"yellow\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2025\/11\/tremaru8-150x150.png\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30a2\u30c9\u30d0\u30a4\u30b9<\/span><\/div><div class=\"c-balloon__body -speaking -border-on\"><div class=\"c-balloon__text\">\n<p>MQL4\u306eArrayMaximum\u306f\u3001\u914d\u5217\u30fb\u500b\u6570\u30fb\u958b\u59cb\u4f4d\u7f6e\u306e\u9806\u3060\u3088\u3002\u9806\u756a\u3092\u9006\u306b\u3059\u308b\u3068\u3001\u63a2\u3059\u7bc4\u56f2\u304c\u5909\u308f\u308b\u304b\u3089\u6c17\u3092\u3064\u3051\u3066\u306d\u3002<\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading is-style-big_icon_point\">MQL4 \u914d\u5217\u95a2\u6570 ArraySetAsSeries\uff5c\u6642\u7cfb\u5217\u914d\u5217\u306e\u5411\u304d<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"650\" height=\"411\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-series-2026.webp\" alt=\"\u5024100\u304b\u3089104\u3092\u5165\u308c\u305f\u914d\u5217\u306e\u756a\u53f7\u304c\u3001\u901a\u5e38\u306f0\u304b\u30894\u3001\u6642\u7cfb\u5217\u306b\u3059\u308b\u30684\u304b\u30890\u306b\u306a\u308b\u69d8\u5b50\u3092\u4e26\u3079\u305f\u56f3\" class=\"wp-image-77607\" srcset=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-series-2026.webp 650w, https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-series-2026-300x190.webp 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><figcaption class=\"wp-element-caption\">\u51fa\u5178: \u624b\u5143\u306eMT4\uff08XMTrading\u3001\u30d3\u30eb\u30c91492\uff09\u3067\u5b9f\u884c\u3057\u305f\u7d50\u679c\u30012026\u5e7410\u6708\u3002\u901a\u5e38\u3068\u6642\u7cfb\u5217\u306e\u756a\u53f7\u306e\u5411\u304d\u3002<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">ArraySetAsSeries\u3067\u756a\u53f7\u304c\u9006\u306b\u306a\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5ba3\u8a00\u306f <code>bool ArraySetAsSeries(array[], bool flag)<\/code> \u3067\u3059\u3002<a href=\"https:\/\/docs.mql4.com\/array\/arraysetasseries\">\u516c\u5f0f\u306e\u8aac\u660e<\/a>\u3067\u306f\u3001true \u306b\u3059\u308b\u3068\u3001\u914d\u5217\u306e\u756a\u53f7\u304c\u6642\u7cfb\u5217\u306e\u5411\u304d\uff08\u6700\u65b0\u304c0\uff09\u306b\u306a\u308a\u307e\u3059\u3002\u5024\u306f\u52d5\u304b\u305a\u3001\u756a\u53f7\u306e\u632f\u308a\u65b9\u3060\u3051\u304c\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-cpp\" data-file=\"arr_series.mq4\" data-lang=\"C++\"><code>#property strict\n\nvoid OnStart()\n\t{\n\tdouble data[];\n\tArrayResize(data, 5);\n\tfor(int i = 0; i &lt; 5; i++)\n\t\tdata[i] = 100 + i;\t\t\t\t\t\t\t\t\t\t\t\/\/ 100, 101, 102, 103, 104\n\n\tPrint(\"\u901a\u5e38: [0]=\", data[0], \" [4]=\", data[4], \" \u6642\u7cfb\u5217\u304b=\", ArrayGetAsSeries(data));\n\n\tbool ok = ArraySetAsSeries(data, true);\t\t\t\t\t\/\/ \u5024\u306f\u52d5\u304b\u305a\u3001\u756a\u53f7\u306e\u5411\u304d\u3060\u3051\u5909\u308f\u308b\n\tPrint(\"\u6642\u7cfb\u5217\u306b\u5909\u66f4: \u623b\u308a\u5024=\", ok, \" [0]=\", data[0], \" [4]=\", data[4]);\n\n\tdouble fixedArr[5];\n\tPrint(\"\u9759\u7684\u914d\u5217\u306b\u8a2d\u5b9a: \u623b\u308a\u5024=\", ArraySetAsSeries(fixedArr, true));\n\n\tPrint(\"Close \u306f\u6642\u7cfb\u5217\u304b=\", ArrayIsSeries(Close), \" Bars=\", Bars, \" ArraySize(Close)=\", ArraySize(Close));\n\tPrint(\"Time[0] \u306f Time[1] \u3088\u308a\u65b0\u3057\u3044: \", Time[0] &gt; Time[1]);\n\t}<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">100\u301c104\u3092\u5165\u308c\u305f\u914d\u5217\u306f\u3001\u901a\u5e38\u306e\u5411\u304d\u3067\u306f <code>[0]<\/code> \u304c100\u3001<code>[4]<\/code> \u304c104\u3067\u3001<a href=\"https:\/\/docs.mql4.com\/array\/arraygetasseries\">ArrayGetAsSeries<\/a> \u306f false \u3067\u3057\u305f\u3002ArraySetAsSeries \u3092 true \u306b\u3059\u308b\u3068\u3001<code>[0]<\/code> \u304c104\u3001<code>[4]<\/code> \u304c100\u306b\u306a\u308a\u3001\u623b\u308a\u5024\u306f true \u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u516c\u5f0f\u306e\u8aac\u660e\u3067\u306f\u3001\u9759\u7684\u914d\u5217\u306b\u306f\u3053\u306e\u8a2d\u5b9a\u304c\u3067\u304d\u306a\u3044\u3068\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u624b\u5143\u306e\u30d3\u30eb\u30c91492\u3067\u306f\u3001\u9759\u7684\u914d\u5217 <code>double fixedArr[5]<\/code> \u306b\u547c\u3093\u3067\u3082\u623b\u308a\u5024\u306f true \u3067\u3057\u305f\u3002\u516c\u5f0f\u306e\u8aac\u660e\u3068\u9055\u3046\u52d5\u304d\u306a\u306e\u3067\u3001\u6642\u7cfb\u5217\u306b\u3057\u305f\u3044\u914d\u5217\u306f\u52d5\u7684\u914d\u5217\u306b\u3057\u3066\u304a\u304f\u306e\u304c\u5b89\u5168\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Close\u306a\u3069\u306e\u5b9a\u7fa9\u6e08\u307f\u914d\u5217<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Close\u30fbHigh\u30fbLow\u30fbOpen\u30fbTime\u30fbVolume \u306f\u3001\u6700\u521d\u304b\u3089\u6642\u7cfb\u5217\u306e\u914d\u5217\u3067\u3059\u3002<a href=\"https:\/\/docs.mql4.com\/array\/arrayisseries\">ArrayIsSeries<\/a> \u3067 <code>Close<\/code> \u3092\u8abf\u3079\u308b\u3068 true \u3067\u3001Bars \u306f65,000\u3001<code>ArraySize(Close)<\/code> \u308265,000\u3067\u3057\u305f\u3002<code>Time[0]&gt;Time[1]<\/code> \u3082 true \u306a\u306e\u3067\u3001[0]\u304c\u73fe\u5728\u306e\u8db3\u3067\u3001\u756a\u53f7\u304c\u5897\u3048\u308b\u307b\u3069\u904e\u53bb\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4fa1\u683c\u306e\u5c65\u6b74\u3092\u5225\u306e\u914d\u5217\u3078\u53d6\u308b\u95a2\u6570\u306b\u306f\u3001<a href=\"https:\/\/docs.mql4.com\/array\/arraycopyrates\">ArrayCopyRates<\/a>\uff08\u4fa1\u683c\u3092\u307e\u3068\u3081\u3066\u914d\u5217\u306b\u30b3\u30d4\u30fc\u3057\u3066\u3001\u30b3\u30d4\u30fc\u3057\u305f\u672c\u6570\u3092\u8fd4\u3059\uff09\u3068\u3001<a href=\"https:\/\/docs.mql4.com\/array\/arraycopyseries\">ArrayCopySeries<\/a>\uff08\u6307\u5b9a\u3057\u305f\u6642\u7cfb\u5217\u914d\u5217\u3092\u5225\u306e\u914d\u5217\u3078\u30b3\u30d4\u30fc\u3057\u3066\u3001\u30b3\u30d4\u30fc\u3057\u305f\u8981\u7d20\u6570\u3092\u8fd4\u3059\uff09\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e2\u3064\u306f\u3001\u3053\u306e\u8a18\u4e8b\u3067\u306f\u5b9f\u884c\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"yellow\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2025\/11\/tremaru8-150x150.png\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30a2\u30c9\u30d0\u30a4\u30b9<\/span><\/div><div class=\"c-balloon__body -speaking -border-on\"><div class=\"c-balloon__text\">\n<p>ArraySetAsSeries\u306f\u3001\u5024\u3092\u52d5\u304b\u3055\u305a\u3001\u756a\u53f7\u306e\u5411\u304d\u3060\u3051\u3092\u5909\u3048\u308b\u3088\u3002Close\u306a\u3069\u306f\u3001\u6700\u521d\u304b\u3089\u6700\u65b0\u304c[0]\u3060\u306d\u3002<\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading is-style-big_icon_point\">MQL4 \u914d\u5217\u95a2\u6570\u306e\u52d5\u4f5c\u78ba\u8a8d\uff5c\u30b3\u30f3\u30d1\u30a4\u30eb\u3068\u540d\u524d\u306e\u7167\u5408<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"650\" height=\"476\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-check-2026.webp\" alt=\"\u30b5\u30f3\u30d7\u30eb7\u672c\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u7d50\u679c\u3001\u5b9f\u884c\u3057\u305f\u95a2\u6570\u306e\u6570\u3001\u95a2\u6570\u540d\u306e\u7167\u5408\u7d50\u679c\u3001\u5b9f\u884c\u74b0\u5883\u3092\u9805\u76ee\u5225\u306b\u307e\u3068\u3081\u305f\u8868\" class=\"wp-image-77601\" srcset=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-check-2026.webp 650w, https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-check-2026-300x220.webp 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><figcaption class=\"wp-element-caption\">\u51fa\u5178: \u624b\u5143\u306eMT4\uff08XMTrading\u3001\u30d3\u30eb\u30c91492\uff09\u3067\u5b9f\u884c\u3057\u305f\u7d50\u679c\u30012026\u5e7410\u6708\u3002\u30b3\u30f3\u30d1\u30a4\u30eb\u3068\u540d\u524d\u306e\u7167\u5408\u306e\u307e\u3068\u3081\u3002<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b3\u30f3\u30d1\u30a4\u30eb\u3068\u5b9f\u884c\u306e\u7d50\u679c<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u306e\u30b5\u30f3\u30d7\u30eb\u306f\u3001arr_resize\u30fbarr_copy\u30fbarr_sort\u30fbarr_max\u30fbarr_series\u30fbarr_reserve\u30fbarr_misc \u306e7\u672c\u3067\u3059\u3002MT4\u306eMetaEditor\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u30017\u672c\u3068\u3082\u30a8\u30e9\u30fc0\u30fb\u8b66\u544a0\u3067\u3057\u305f\u3002\u5b9f\u884c\u306f\u3001XMTrading\u306e\u30c7\u30e2\u53e3\u5ea7\u306eMT4\uff08\u30d3\u30eb\u30c91492\uff09\u306b\u5165\u3063\u3066\u3044\u305f\u3001EURUSD\u306e15\u5206\u8db3\u306e\u5c65\u6b7465,000\u672c\u3067\u884c\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">7\u672c\u3067\u5b9f\u884c\u3057\u305f\u914d\u5217\u95a2\u6570\u306f\u3001\u516c\u5f0f\u306e\u7d22\u5f1519\u500b\u306e\u3046\u306117\u500b\u3067\u3059\u3002ArrayCopyRates \u3068 ArrayCopySeries \u306f\u3001\u5b9f\u884c\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u6570\u5b57\u306e\u300c19\u500b\u306e\u3046\u306117\u500b\u300d\u306f\u3001\u30b5\u30f3\u30d7\u30eb\u306e\u4e2d\u3067\u95a2\u6570\u540d\u30921\u3064\u4ee5\u4e0a\u547c\u3093\u3067\u3044\u308b\u3082\u306e\u3092\u3001\u95a2\u6570\u3054\u3068\u306b1\u500b\u3068\u6570\u3048\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u95a2\u6570\u540d\u306e\u7167\u5408\u3068\u516c\u5f0f\u3068\u306e\u9055\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b5\u30f3\u30d7\u30eb\u3067\u547c\u3093\u3067\u3044\u308b\u95a2\u6570\u540d\u3092\u3001\u516c\u5f0f\u306e\u95a2\u6570\u7d22\u5f15\u3068\u6a5f\u68b0\u3067\u7a81\u304d\u5408\u308f\u305b\u307e\u3057\u305f\u3002\u540c\u3058\u95a2\u6570\u304c\u4f55\u5ea6\u51fa\u3066\u30821\u500b\u3068\u6570\u3048\u3066\u300124\u500b\u3067\u3059\u3002\u305d\u306e\u3046\u306123\u500b\u304c\u7d22\u5f15\u306b\u3042\u308a\u3001\u7d22\u5f15\u306b\u306a\u304b\u3063\u305f\u306e\u306f <a href=\"https:\/\/docs.mql4.com\/common\/getmicrosecondcount\">GetMicrosecondCount<\/a> \u306e1\u500b\u3067\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306f\u3001\u516c\u5f0f\u306b\u500b\u5225\u306e\u30da\u30fc\u30b8\u304c\u3042\u308a\u307e\u3059\u3002\u540d\u524d\u306e\u7db4\u308a\u306f\u3001\u6a5f\u68b0\u3067\u78ba\u304b\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u516c\u5f0f\u306e\u8aac\u660e\u3068\u3001\u624b\u5143\u306e\u30d3\u30eb\u30c91492\u306e\u52d5\u304d\u304c\u9055\u3063\u305f\u306e\u306f\u30013\u70b9\u3067\u3059\u3002\u9759\u7684\u914d\u5217\u306b ArrayResize \u3092\u547c\u3076\u3068\u3001\u30b5\u30a4\u30ba\u304c\u5909\u308f\u3063\u305f\u3002ArrayInitialize \u304c\u8981\u7d20\u6570\u3092\u8fd4\u3057\u305f\u3002\u9759\u7684\u914d\u5217\u306b ArraySetAsSeries \u3092\u547c\u3076\u3068\u3001true \u304c\u8fd4\u3063\u305f\u3002\u3053\u306e3\u70b9\u306f\u3001\u5225\u306e\u30d3\u30eb\u30c9\u3067\u306f\u540c\u3058\u3068\u306f\u9650\u3089\u306a\u3044\u306e\u3067\u3001\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u4f7f\u3063\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"yellow\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2025\/11\/tremaru8-150x150.png\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30a2\u30c9\u30d0\u30a4\u30b9<\/span><\/div><div class=\"c-balloon__body -speaking -border-on\"><div class=\"c-balloon__text\">\n<p>\u30b5\u30f3\u30d7\u30eb7\u672c\u306f\u3001\u30a8\u30e9\u30fc0\u30fb\u8b66\u544a0\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u304d\u305f\u3088\u3002\u516c\u5f0f\u3068\u52d5\u304d\u304c\u9055\u3063\u305f3\u70b9\u306f\u3001\u4f7f\u308f\u306a\u3044\u3067\u304a\u304f\u3068\u5b89\u5fc3\u3060\u306d\u3002<\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<h2 class=\"wp-block-heading is-style-big_icon_point\">MQL4 \u914d\u5217\u95a2\u6570\u3068MQL5\u306e\u9055\u3044\uff5c\u5f15\u6570\u306e\u4e26\u3073\u306b\u6ce8\u610f<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"650\" height=\"451\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-mql5-2026.webp\" alt=\"ArrayMaximum\u30fbArrayMinimum\u3068ArraySort\u306b\u3064\u3044\u3066\u3001MQL4\u3068MQL5\u306e\u5f15\u6570\u306e\u4e26\u3073\u3092\u4e26\u3079\u305f\u8868\" class=\"wp-image-77605\" srcset=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-mql5-2026.webp 650w, https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/03\/mql4-array-functions-mql5-2026-300x208.webp 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><figcaption class=\"wp-element-caption\">\u51fa\u5178: docs.mql4.com \u3068 www.mql5.com\/en\/docs \u306e\u5404\u95a2\u6570\u30da\u30fc\u30b8\u30012026\u5e7410\u6708\u306b\u78ba\u8a8d\u3002\u5f15\u6570\u306e\u4e26\u3073\u306e\u9055\u3044\u3002<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u5f15\u6570\u304c\u9055\u3046\u95a2\u6570<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">MQL4\u306e\u30b3\u30fc\u30c9\u3092MQL5\u3078\u79fb\u3059\u3068\u304d\u306f\u3001\u5f15\u6570\u306e\u4e26\u3073\u306b\u6ce8\u610f\u304c\u8981\u308a\u307e\u3059\u3002ArrayMaximum \u3068 ArrayMinimum \u306f\u3001MQL4\u304c\uff08array, count, start\uff09\u3001MQL5\u304c\uff08array, start, count\uff09\u3067\u3001\u500b\u6570\u3068\u958b\u59cb\u4f4d\u7f6e\u306e\u9806\u304c\u9006\u3067\u3059\u3002ArraySort \u306f\u3001MQL4\u304c4\u3064\u306e\u5f15\u6570\u3092\u53d6\u308b\u306e\u306b\u5bfe\u3057\u3001MQL5\u306e<a href=\"https:\/\/www.mql5.com\/en\/docs\/array\/arraysort\">ArraySort<\/a>\u306f\u914d\u5217\u3060\u3051\u3092\u6e21\u3059\u5f62\u3067\u3001\u964d\u9806\u306e\u6307\u5b9a\u306f\u3042\u308a\u307e\u305b\u3093\u3002ArrayResize \u3068 ArrayCopy \u306f\u3001\u3069\u3061\u3089\u3082\u5f15\u6570\u304c\u540c\u3058\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u79fb\u690d\u306e\u3068\u304d<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f15\u6570\u306e\u500b\u6570\u304c\u540c\u3058\u3067\u3082\u3001\u9806\u756a\u304c\u9055\u3046\u95a2\u6570\u306f\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u901a\u3063\u3066\u3082\u52d5\u304d\u304c\u5909\u308f\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002MQL5\u306e<a href=\"https:\/\/www.mql5.com\/en\/docs\/array\/arraymaximum\">ArrayMaximum<\/a>\u306b\u3001MQL4\u306e\u547c\u3073\u51fa\u3057 <code>ArrayMaximum(myData, 3, 1)<\/code> \u3092\u305d\u306e\u307e\u307e\u4f7f\u3046\u3068\u3001\u958b\u59cb\u4f4d\u7f6e\u304c3\u3001\u500b\u6570\u304c1\u306e\u610f\u5473\u306b\u306a\u308a\u307e\u3059\u3002MQL5\u5074\u306e\u8a18\u4e8b\u306f\u3001<a href=\"https:\/\/sys-tre.com\/blog\/mql5-array-functions\/\">MQL5 \u914d\u5217\u95a2\u6570<\/a>\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"yellow\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2025\/11\/tremaru8-150x150.png\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30a2\u30c9\u30d0\u30a4\u30b9<\/span><\/div><div class=\"c-balloon__body -speaking -border-on\"><div class=\"c-balloon__text\">\n<p>MQL5\u3078\u79fb\u3059\u3068\u304d\u306f\u3001ArrayMaximum\u30fbArrayMinimum\u306e\u500b\u6570\u3068\u958b\u59cb\u4f4d\u7f6e\u306e\u9806\u3001\u305d\u308c\u3068ArraySort\u306e\u5f15\u6570\u3092\u898b\u76f4\u305d\u3046\u306d\u3002<\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<p class=\"is-style-sticky_box wp-block-paragraph\"><strong>\u8981\u70b9<\/strong><br\/>\u30fbMQL4\u306e\u914d\u5217\u95a2\u6570\u306f\u3001\u516c\u5f0f\u306e\u7d22\u5f15\u306b19\u500b\u3042\u308b\u3002\u4f7f\u3044\u65b9\u30675\u3064\u306b\u5206\u3051\u308b\u3068\u63a2\u3057\u3084\u3059\u3044<br\/>\u30fbArrayMaximum\u30fbArrayMinimum\u306f\u3001\u914d\u5217\u30fb\u500b\u6570\u30fb\u958b\u59cb\u4f4d\u7f6e\u306e\u9806\u3002MQL5\u306f\u958b\u59cb\u4f4d\u7f6e\u30fb\u500b\u6570\u306e\u9806<br\/>\u30fb\u4e88\u7d04\u30b5\u30a4\u30ba\u3042\u308a\u3060\u3068\u300110\u4e07\u8981\u7d20\u30921\u3064\u305a\u3064\u5897\u3084\u3059\u6642\u9593\u306e\u4e2d\u592e\u5024\u304c\u3001909.2\u30df\u30ea\u79d2\u304b\u30891.38\u30df\u30ea\u79d2\u306b\u306a\u3063\u305f\uff08\u624b\u5143\u306e1\u53f0\u3001\u54045\u56de\uff09<br\/>\u30fbArraySort\u306f\u6642\u7cfb\u5217\u306b\u3057\u305f\u914d\u5217\u3067\u3082\u3001\u305d\u306e\u5411\u304d\u306b\u5408\u308f\u305b\u3066\u4e26\u3079\u305f\u3002ArrayBsearch\u306f\u4e26\u3079\u305f\u914d\u5217\u3060\u3051\u306b\u4f7f\u3046<br\/>\u30fb\u30b5\u30f3\u30d7\u30eb7\u672c\u306f\u3001\u30a8\u30e9\u30fc0\u30fb\u8b66\u544a0\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u304d\u305f\u3002\u516c\u5f0f\u3068\u52d5\u304d\u304c\u9055\u3063\u305f3\u70b9\u306f\u3001\u30b5\u30f3\u30d7\u30eb\u3067\u4f7f\u3063\u3066\u3044\u307e\u305b\u3093<\/p>\n\n\n\n<h2 class=\"wp-block-heading is-style-big_icon_point\">MQL4 \u914d\u5217\u95a2\u6570\u306e\u3088\u304f\u3042\u308b\u8cea\u554f<\/h2>\n\n\n\n<div class=\"swell-block-faq\" data-a=\"col-main\" data-q=\"fill-custom\"><div class=\"swell-block-faq__item\"><h3 class=\"faq_q\">MQL4\u306b\u914d\u5217\u95a2\u6570\u306f\u3044\u304f\u3064\u3042\u308a\u307e\u3059\u304b\uff1f<\/h3><div class=\"faq_a\">\n<p class=\"wp-block-paragraph\"><strong>\u516c\u5f0f\u306e\u7d22\u5f15\u306b19\u500b\u3042\u308a\u307e\u3059\u3002<\/strong>\u30b5\u30a4\u30ba\u3001\u7a2e\u985e\u3068\u5411\u304d\u3001\u5165\u308c\u308b\u30fb\u5199\u3059\u3001\u4e26\u3079\u308b\u30fb\u63a2\u3059\u3001\u6bd4\u3079\u308b\u306e5\u3064\u306e\u4f7f\u3044\u65b9\u306b\u5206\u3051\u3089\u308c\u307e\u3059\u3002<\/p>\n<\/div><\/div><div class=\"swell-block-faq__item\"><h3 class=\"faq_q\">ArrayMaximum\u306e\u5f15\u6570\u306e\u9806\u756a\u306f\uff1f<\/h3><div class=\"faq_a\">\n<p class=\"wp-block-paragraph\"><strong>\u914d\u5217\u3001\u500b\u6570\u3001\u958b\u59cb\u4f4d\u7f6e\u306e\u9806\u3067\u3059\u3002<\/strong>MQL5\u3067\u306f\u958b\u59cb\u4f4d\u7f6e\u3001\u500b\u6570\u306e\u9806\u306a\u306e\u3067\u3001MQL4\u304b\u3089\u79fb\u3059\u3068\u304d\u306f\u3001\u5165\u308c\u66ff\u3048\u304c\u8981\u308a\u307e\u3059\u3002<\/p>\n<\/div><\/div><div class=\"swell-block-faq__item\"><h3 class=\"faq_q\">ArrayResize\u3092\u4f55\u5ea6\u3082\u547c\u3076\u3068\u9045\u304f\u306a\u308a\u307e\u3059\u304b\uff1f<\/h3><div class=\"faq_a\">\n<p class=\"wp-block-paragraph\"><strong>\u8981\u7d20\u6570\u304c\u5897\u3048\u308b\u307b\u3069\u3001\u4e88\u7d04\u30b5\u30a4\u30ba\u306a\u3057\u306f\u9045\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/strong>1\u3064\u305a\u306410\u4e07\u56de\u5897\u3084\u3057\u305f\u624b\u5143\u306e\u6e2c\u5b9a\u3067\u306f\u3001\u4e88\u7d04\u306a\u3057\u306e\u4e2d\u592e\u5024\u304c\u7d040.9\u79d2\u3001\u4e88\u7d04\u3042\u308a\u304c\u7d041.4\u30df\u30ea\u79d2\u3067\u3057\u305f\u3002<\/p>\n<\/div><\/div><div class=\"swell-block-faq__item\"><h3 class=\"faq_q\">\u6642\u7cfb\u5217\u306b\u3057\u305f\u914d\u5217\u306b\u3001ArraySort\u306f\u4f7f\u3048\u307e\u3059\u304b\uff1f<\/h3><div class=\"faq_a\">\n<p class=\"wp-block-paragraph\"><strong>\u4f7f\u3048\u307e\u3059\u3002<\/strong>\u624b\u5143\u306e\u5b9f\u884c\u3067\u306f\u3001\u6642\u7cfb\u5217\u306b\u3057\u305f\u914d\u5217\u3092\u6607\u9806\u306b\u3059\u308b\u3068\u3001[0]\u5074\u304b\u3089\u5c0f\u3055\u3044\u9806\u306b\u4e26\u3073\u307e\u3057\u305f\u3002<\/p>\n<\/div><\/div><div class=\"swell-block-faq__item\"><h3 class=\"faq_q\">ArrayBsearch\u306f\u3001\u4e26\u3079\u3066\u3044\u306a\u3044\u914d\u5217\u306b\u3082\u4f7f\u3048\u307e\u3059\u304b\uff1f<\/h3><div class=\"faq_a\">\n<p class=\"wp-block-paragraph\"><strong>\u4f7f\u3048\u307e\u305b\u3093\u3002<\/strong>{5, 2, 8, 1, 9, 3} \u30678\u3092\u63a2\u3057\u305f\u3068\u3053\u308d\u3001\u6b63\u3057\u3044\u4f4d\u7f6e\u306e2\u3067\u306f\u306a\u304f5\u304c\u8fd4\u308a\u307e\u3057\u305f\u3002\u5148\u306b ArraySort \u3067\u4e26\u3079\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div><\/div><div class=\"swell-block-faq__item\"><h3 class=\"faq_q\">\u914d\u5217\u95a2\u6570\u306e\u5f15\u6570\u306f\u3001MQL4\u3068MQL5\u3067\u540c\u3058\u3067\u3059\u304b\uff1f<\/h3><div class=\"faq_a\">\n<p class=\"wp-block-paragraph\"><strong>\u95a2\u6570\u306b\u3088\u3063\u3066\u9055\u3044\u307e\u3059\u3002<\/strong>ArrayResize\u3068ArrayCopy\u306f\u540c\u3058\u3067\u3059\u3002ArrayMaximum\u30fbArrayMinimum\u306f\u500b\u6570\u3068\u958b\u59cb\u4f4d\u7f6e\u304c\u9006\u3001ArraySort\u306fMQL5\u3060\u3068\u914d\u5217\u3060\u3051\u3092\u6e21\u3057\u307e\u3059\u3002<\/p>\n<\/div><\/div><\/div>\n\n<script type=\"application\/ld+json\">\n{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"MQL4\u306b\u914d\u5217\u95a2\u6570\u306f\u3044\u304f\u3064\u3042\u308a\u307e\u3059\u304b\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u516c\u5f0f\u306e\u7d22\u5f15\u306b19\u500b\u3042\u308a\u307e\u3059\u3002\u30b5\u30a4\u30ba\u3001\u7a2e\u985e\u3068\u5411\u304d\u3001\u5165\u308c\u308b\u30fb\u5199\u3059\u3001\u4e26\u3079\u308b\u30fb\u63a2\u3059\u3001\u6bd4\u3079\u308b\u306e5\u3064\u306e\u4f7f\u3044\u65b9\u306b\u5206\u3051\u3089\u308c\u307e\u3059\u3002\"}}, {\"@type\": \"Question\", \"name\": \"ArrayMaximum\u306e\u5f15\u6570\u306e\u9806\u756a\u306f\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u914d\u5217\u3001\u500b\u6570\u3001\u958b\u59cb\u4f4d\u7f6e\u306e\u9806\u3067\u3059\u3002MQL5\u3067\u306f\u958b\u59cb\u4f4d\u7f6e\u3001\u500b\u6570\u306e\u9806\u306a\u306e\u3067\u3001MQL4\u304b\u3089\u79fb\u3059\u3068\u304d\u306f\u3001\u5165\u308c\u66ff\u3048\u304c\u8981\u308a\u307e\u3059\u3002\"}}, {\"@type\": \"Question\", \"name\": \"ArrayResize\u3092\u4f55\u5ea6\u3082\u547c\u3076\u3068\u9045\u304f\u306a\u308a\u307e\u3059\u304b\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u8981\u7d20\u6570\u304c\u5897\u3048\u308b\u307b\u3069\u3001\u4e88\u7d04\u30b5\u30a4\u30ba\u306a\u3057\u306f\u9045\u304f\u306a\u308a\u307e\u3057\u305f\u30021\u3064\u305a\u306410\u4e07\u56de\u5897\u3084\u3057\u305f\u624b\u5143\u306e\u6e2c\u5b9a\u3067\u306f\u3001\u4e88\u7d04\u306a\u3057\u306e\u4e2d\u592e\u5024\u304c\u7d040.9\u79d2\u3001\u4e88\u7d04\u3042\u308a\u304c\u7d041.4\u30df\u30ea\u79d2\u3067\u3057\u305f\u3002\"}}, {\"@type\": \"Question\", \"name\": \"\u6642\u7cfb\u5217\u306b\u3057\u305f\u914d\u5217\u306b\u3001ArraySort\u306f\u4f7f\u3048\u307e\u3059\u304b\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u4f7f\u3048\u307e\u3059\u3002\u624b\u5143\u306e\u5b9f\u884c\u3067\u306f\u3001\u6642\u7cfb\u5217\u306b\u3057\u305f\u914d\u5217\u3092\u6607\u9806\u306b\u3059\u308b\u3068\u3001[0]\u5074\u304b\u3089\u5c0f\u3055\u3044\u9806\u306b\u4e26\u3073\u307e\u3057\u305f\u3002\"}}, {\"@type\": \"Question\", \"name\": \"ArrayBsearch\u306f\u3001\u4e26\u3079\u3066\u3044\u306a\u3044\u914d\u5217\u306b\u3082\u4f7f\u3048\u307e\u3059\u304b\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u4f7f\u3048\u307e\u305b\u3093\u3002{5, 2, 8, 1, 9, 3} \u30678\u3092\u63a2\u3057\u305f\u3068\u3053\u308d\u3001\u6b63\u3057\u3044\u4f4d\u7f6e\u306e2\u3067\u306f\u306a\u304f5\u304c\u8fd4\u308a\u307e\u3057\u305f\u3002\u5148\u306b ArraySort \u3067\u4e26\u3079\u3066\u304f\u3060\u3055\u3044\u3002\"}}, {\"@type\": \"Question\", \"name\": \"\u914d\u5217\u95a2\u6570\u306e\u5f15\u6570\u306f\u3001MQL4\u3068MQL5\u3067\u540c\u3058\u3067\u3059\u304b\uff1f\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"\u95a2\u6570\u306b\u3088\u3063\u3066\u9055\u3044\u307e\u3059\u3002ArrayResize\u3068ArrayCopy\u306f\u540c\u3058\u3067\u3059\u3002ArrayMaximum\u30fbArrayMinimum\u306f\u500b\u6570\u3068\u958b\u59cb\u4f4d\u7f6e\u304c\u9006\u3001ArraySort\u306fMQL5\u3060\u3068\u914d\u5217\u3060\u3051\u3092\u6e21\u3057\u307e\u3059\u3002\"}}]}\n<\/script>\n\n\n<h2 class=\"wp-block-heading is-style-big_icon_point\">MQL4 \u914d\u5217\u95a2\u6570\u306e\u307e\u3068\u3081<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">MQL4\u306e\u914d\u5217\u95a2\u6570\u306f\u3001\u516c\u5f0f\u306e\u7d22\u5f15\u306b19\u500b\u3042\u308a\u307e\u3059\u3002ArrayMaximum\u306e\u5f15\u6570\u306f\u914d\u5217\u30fb\u500b\u6570\u30fb\u958b\u59cb\u4f4d\u7f6e\u306e\u9806\u3067\u3001ArraySort\u306f\u6642\u7cfb\u5217\u306b\u3057\u305f\u914d\u5217\u3067\u3082\u305d\u306e\u5411\u304d\u306b\u5408\u308f\u305b\u3066\u4e26\u3079\u3001ArrayBsearch\u306f\u4e26\u3079\u305f\u914d\u5217\u3060\u3051\u306b\u4f7f\u3044\u307e\u3059\u30027\u672c\u306e\u30b5\u30f3\u30d7\u30eb\u306f\u3001\u30a8\u30e9\u30fc0\u30fb\u8b66\u544a0\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u304d\u3001\u624b\u5143\u306eMT4\uff08\u30d3\u30eb\u30c91492\uff09\u306717\u500b\u306e\u95a2\u6570\u3092\u5b9f\u884c\u3057\u307e\u3057\u305f\u3002\u4e88\u7d04\u30b5\u30a4\u30ba\u306e\u6e2c\u5b9a\u3067\u306f\u300110\u4e07\u8981\u7d20\u30921\u3064\u305a\u3064\u5897\u3084\u3059\u6642\u9593\u306e\u4e2d\u592e\u5024\u304c\u3001909.2\u30df\u30ea\u79d2\u304b\u30891.38\u30df\u30ea\u79d2\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u516c\u5f0f\u306e\u8aac\u660e\u3068\u9055\u3063\u305f3\u70b9\u306f\u3001\u624b\u5143\u306e\u30d3\u30eb\u30c9\u3067\u306e\u52d5\u304d\u306a\u306e\u3067\u3001\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u4f7f\u3063\u3066\u3044\u307e\u305b\u3093\u3002\u6b21\u306f\u3001\u30c1\u30e3\u30fc\u30c8\u306e\u64cd\u4f5c\u3092<a href=\"https:\/\/sys-tre.com\/blog\/mql4-chart-operations\/\">MQL4 \u30c1\u30e3\u30fc\u30c8\u64cd\u4f5c<\/a>\u3001\u30a8\u30e9\u30fc\u306e\u8aad\u307f\u65b9\u3092<a href=\"https:\/\/sys-tre.com\/blog\/mql4-error-guide\/\">MQL4 \u30a8\u30e9\u30fc\u30b3\u30fc\u30c9<\/a>\u3001\u6587\u5b57\u5217\u306e\u6271\u3044\u3092<a href=\"https:\/\/sys-tre.com\/blog\/mql4-string-functions\/\">MQL4 \u6587\u5b57\u5217\u95a2\u6570<\/a>\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u66f8\u304d\u3092<a href=\"https:\/\/sys-tre.com\/blog\/mql4-file-operations\/\">MQL4 \u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c<\/a>\u3067\u78ba\u304b\u3081\u3066\u304f\u3060\u3055\u3044\u3002\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u306e\u5024\u3092\u53d6\u308b\u95a2\u6570\u306f\u3001<a href=\"https:\/\/sys-tre.com\/blog\/mql4-indicator-functions\/\">MQL4 \u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u95a2\u6570<\/a>\u306b\u3042\u308a\u307e\u3059\u3002\u95a2\u6570\u5168\u4f53\u306e\u4e00\u89a7\u306f\u3001<a href=\"https:\/\/sys-tre.com\/blog\/category\/mql-reference\/\">MQL\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9<\/a>\u304b\u3089\u63a2\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-big_icon_caution wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u306fMQL4\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u60c5\u5831\u63d0\u4f9b\u3067\u3001\u7279\u5b9a\u306e\u53d6\u5f15\u3092\u3059\u3059\u3081\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002FX\u306b\u306f\u4fa1\u683c\u5909\u52d5\u306e\u30ea\u30b9\u30af\u304c\u3042\u308a\u3001\u5143\u672c\u3092\u8d85\u3048\u308b\u640d\u5931\u304c\u51fa\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002\u53d6\u5f15\u306f\u81ea\u5df1\u8cac\u4efb\u3067\u3001\u30ea\u30b9\u30af\u7ba1\u7406\u3092\u81ea\u5206\u3067\u6c7a\u3081\u3066\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n<div class=\"p-blogParts post_content\" data-partsID=\"59754\">\n\n  <style>\n   \n    .systrade-horizontal-banner {\n      width: 100%;\n      max-width: 800px;\n      margin: 20px auto;\n      background: linear-gradient(135deg, #F5F5F7, #E8E9EB);\n      border-radius: 12px;\n      overflow: hidden;\n      position: relative;\n      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);\n      font-family: 'Noto Sans JP', sans-serif;\n      box-shadow: \n        0 10px 20px rgba(0, 0, 0, 0.1),\n        0 0 0 1px rgba(0, 0, 0, 0.03) inset;\n      display: flex;\n      flex-direction: row;\n      align-items: center;\n      height: auto;\n      min-height: 120px;\n      box-sizing: border-box;\n    }\n\n    .systrade-horizontal-banner::before {\n      content: '';\n      position: absolute;\n      top: 0;\n      left: 0;\n      right: 0;\n      bottom: 0;\n      background: \n        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.8) 0%, transparent 50%),\n        radial-gradient(circle at 100% 100%, rgba(255, 107, 0, 0.05) 0%, transparent 50%);\n      z-index: 1;\n    }\n\n    .systrade-horizontal-banner::after {\n      content: '';\n      position: absolute;\n      top: 0;\n      left: 0;\n      right: 0;\n      height: 2px;\n      background: linear-gradient(90deg, \n        transparent,\n        #FF6B00,\n        transparent\n      );\n      animation: borderGlow 3s ease-in-out infinite;\n      z-index: 2;\n    }\n\n    @keyframes borderGlow {\n      0%, 100% { opacity: 0.5; }\n      50% { opacity: 1; }\n    }\n\n    .systrade-horizontal-banner:hover {\n      transform: translateY(-2px);\n      box-shadow: \n        0 12px 25px rgba(0, 0, 0, 0.15),\n        0 0 0 1px rgba(0, 0, 0, 0.05) inset;\n    }\n\n    .systrade-horizontal-anchor {\n      display: flex;\n      width: 100%;\n      text-decoration: none;\n      color: inherit;\n      position: relative;\n      z-index: 2;\n      flex-wrap: wrap;\n    }\n\n    .systrade-horizontal-header {\n      width: 30%;\n      min-width: 150px;\n      position: relative;\n      display: flex;\n      flex-direction: column;\n      align-items: center;\n      justify-content: center;\n      padding: 12px;\n      background: rgba(255, 255, 255, 0.5);\n      border-radius: 10px;\n      border: 1px solid rgba(255, 255, 255, 0.8);\n      overflow: hidden;\n      backdrop-filter: blur(10px);\n      -webkit-backdrop-filter: blur(10px);\n      margin: 10px;\n      height: calc(100% - 20px);\n    }\n\n    .systrade-horizontal-header::before {\n      content: '';\n      position: absolute;\n      top: -50%;\n      left: -50%;\n      width: 200%;\n      height: 200%;\n      background: linear-gradient(\n        45deg,\n        transparent,\n        rgba(255, 255, 255, 0.4),\n        transparent\n      );\n      transform: rotate(45deg);\n      animation: headerGlow 4s ease-in-out infinite;\n    }\n\n    @keyframes headerGlow {\n      0% { transform: rotate(45deg) translateX(-100%); }\n      50% { transform: rotate(45deg) translateX(100%); }\n      100% { transform: rotate(45deg) translateX(100%); }\n    }\n\n    .systrade-horizontal-inner {\n      width: 100%;\n      position: relative;\n      z-index: 2;\n      text-align: center;\n    }\n\n    .systrade-horizontal-image {\n      height: 30px;\n      width: auto;\n      margin: 8px auto;\n      display: block;\n      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));\n    }\n\n    .systrade-horizontal-title {\n      color: #333;\n      font-size: 0.9em;\n      font-weight: 900;\n      white-space: nowrap;\n      background: linear-gradient(90deg, #333, #FF6B00, #333);\n      background-size: 200% auto;\n      -webkit-background-clip: text;\n      -webkit-text-fill-color: transparent;\n      animation: titleFlow 3s linear infinite;\n      padding: 4px 0;\n    }\n\n    @keyframes titleFlow {\n      0% { background-position: 0% center; }\n      100% { background-position: 200% center; }\n    }\n\n    .systrade-horizontal-content {\n      display: flex;\n      flex: 1;\n      flex-direction: column;\n      justify-content: space-between;\n      padding: 12px;\n    }\n\n    .systrade-horizontal-list {\n      display: grid;\n      grid-template-columns: repeat(2, 1fr);\n      gap: 8px;\n      margin-bottom: 10px;\n    }\n\n    .systrade-horizontal-item {\n      background: rgba(255, 255, 255, 0.7);\n      padding: 8px 6px;\n      border-radius: 8px;\n      border: 1px solid rgba(255, 255, 255, 0.9);\n      text-align: center;\n      transition: all 0.3s ease;\n      position: relative;\n      overflow: hidden;\n    }\n\n    .systrade-horizontal-item:hover {\n      transform: translateY(-2px);\n      background: rgba(255, 107, 0, 0.05);\n      border-color: rgba(255, 107, 0, 0.2);\n      box-shadow: 0 4px 12px rgba(255, 107, 0, 0.1);\n    }\n\n    .systrade-horizontal-item::after {\n      content: '';\n      position: absolute;\n      top: -50%;\n      left: -50%;\n      width: 200%;\n      height: 200%;\n      background: linear-gradient(\n        45deg,\n        transparent,\n        rgba(255, 107, 0, 0.1),\n        transparent\n      );\n      transform: rotate(45deg);\n      animation: itemGlow 3s ease-in-out infinite;\n      opacity: 0;\n    }\n\n    .systrade-horizontal-item:hover::after {\n      opacity: 1;\n    }\n\n    @keyframes itemGlow {\n      0% { transform: rotate(45deg) translateX(-100%); }\n      100% { transform: rotate(45deg) translateX(100%); }\n    }\n\n    .systrade-horizontal-desc {\n      color: #333;\n      font-size: 0.7em;\n      font-weight: 700;\n      line-height: 1.3;\n      position: relative;\n      z-index: 1;\n    }\n\n    .systrade-horizontal-button {\n      background: linear-gradient(90deg, #FF6B00, #FF8534);\n      color: white;\n      padding: 10px;\n      border-radius: 8px;\n      font-weight: 900;\n      font-size: 0.85em;\n      text-align: center;\n      position: relative;\n      overflow: hidden;\n      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);\n      transition: all 0.3s ease;\n      margin-top: auto;\n    }\n\n    .systrade-horizontal-button::before {\n      content: '';\n      position: absolute;\n      top: 0;\n      left: 0;\n      right: 0;\n      bottom: 0;\n      background: linear-gradient(90deg, \n        transparent,\n        rgba(255, 255, 255, 0.2),\n        transparent\n      );\n      transform: translateX(-100%);\n      animation: buttonGlow 3s ease-in-out infinite;\n    }\n\n    @keyframes buttonGlow {\n      0% { transform: translateX(-100%); }\n      50% { transform: translateX(100%); }\n      100% { transform: translateX(100%); }\n    }\n\n    .systrade-horizontal-button:hover {\n      transform: translateY(-2px);\n      box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);\n    }\n\n    \/* Responsive breakpoints *\/\n    @media (max-width: 768px) {\n      .systrade-horizontal-banner {\n        min-height: auto;\n      }\n      \n      .systrade-horizontal-header {\n        min-width: 120px;\n        padding: 8px;\n      }\n      \n      .systrade-horizontal-image {\n        height: 25px;\n      }\n      \n      .systrade-horizontal-title {\n        font-size: 0.8em;\n      }\n      \n      .systrade-horizontal-desc {\n        font-size: 0.65em;\n      }\n      \n      .systrade-horizontal-button {\n        font-size: 0.8em;\n        padding: 8px;\n      }\n    }\n    \n    @media (max-width: 600px) {\n      .systrade-horizontal-banner {\n        flex-direction: column;\n        min-height: auto;\n      }\n      \n      .systrade-horizontal-header {\n        width: calc(100% - 20px);\n        min-width: auto;\n        margin: 10px;\n      }\n      \n      .systrade-horizontal-content {\n        width: 100%;\n      }\n      \n      .systrade-horizontal-image {\n        height: 30px;\n        margin: 5px auto;\n      }\n      \n      .systrade-horizontal-title {\n        font-size: 0.85em;\n      }\n      \n      .systrade-horizontal-list {\n        grid-template-columns: repeat(2, 1fr);\n        gap: 6px;\n        margin-bottom: 8px;\n      }\n      \n      .systrade-horizontal-item {\n        padding: 6px 4px;\n      }\n      \n      .systrade-horizontal-desc {\n        font-size: 0.65em;\n      }\n      \n      .systrade-horizontal-button {\n        margin-top: 5px;\n      }\n    }\n\n    @media (max-width: 400px) {\n      .systrade-horizontal-list {\n        grid-template-columns: 1fr;\n      }\n      \n      .systrade-horizontal-item {\n        padding: 8px 6px;\n      }\n      \n      .systrade-horizontal-desc {\n        font-size: 0.7em;\n      }\n    }\n    \n    \/* Print media query *\/\n    @media print {\n      .systrade-horizontal-banner {\n        box-shadow: none;\n        border: 1px solid #ccc;\n      }\n      \n      .systrade-horizontal-banner::before,\n      .systrade-horizontal-banner::after,\n      .systrade-horizontal-header::before,\n      .systrade-horizontal-item::after,\n      .systrade-horizontal-button::before {\n        display: none;\n      }\n      \n      .systrade-horizontal-button {\n        background: #FF6B00;\n        text-shadow: none;\n      }\n    }\n  <\/style>\n\n  <div class=\"systrade-horizontal-banner\">\n    <a href=\"https:\/\/sys-tre.com\/\" class=\"systrade-horizontal-anchor\">\n      <div class=\"systrade-horizontal-header\">\n        <div class=\"systrade-horizontal-inner\">\n          <div class=\"systrade-horizontal-title\">FX\u81ea\u52d5\u58f2\u8cb7\uff08EA\uff09\u306a\u3089\uff01<\/div>\n          <img decoding=\"async\" src=\"https:\/\/sys-tre.com\/broker\/wp-content\/uploads\/2025\/01\/\u30b7\u30b9\u30c8\u30ec.COM_B-2.png\" alt=\"\u30b7\u30b9\u30c8\u30ec.COM \u516c\u5f0fCTA\u30ed\u30b4\" class=\"systrade-horizontal-image\">\n        <\/div>\n      <\/div>\n\n      <div class=\"systrade-horizontal-content\">\n        <div class=\"systrade-horizontal-list\">\n          <div class=\"systrade-horizontal-item\">\n            <div class=\"systrade-horizontal-desc\">\u5b9f\u7e3e\u306e\u3042\u308bEA\u304c\u7121\u6599\u3067\u4f7f\u3048\u308b\uff01<\/div>\n          <\/div>\n          <div class=\"systrade-horizontal-item\">\n            <div class=\"systrade-horizontal-desc\">\u6709\u6599\u7248\u3067\u53e3\u5ea7\u5236\u9650\u306a\u3057\uff01<\/div>\n          <\/div>\n          <div class=\"systrade-horizontal-item\">\n            <div class=\"systrade-horizontal-desc\">\u5168\u5546\u54c1\u30d5\u30a9\u30ef\u30fc\u30c9\u30c6\u30b9\u30c8\u516c\u958b\u4e2d\uff01<\/div>\n          <\/div>\n          <div class=\"systrade-horizontal-item\">\n            <div class=\"systrade-horizontal-desc\">\u521d\u5fc3\u8005\u3067\u3082\u5b89\u5fc3\u3057\u3066\u3054\u5229\u7528\u53ef\u80fd\uff01<\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"systrade-horizontal-button\">\n          \u4eca\u3059\u3050\u7121\u6599\u3067\u30b7\u30b9\u30c6\u30e0\u30c8\u30ec\u30fc\u30c9\u3092\u59cb\u3081\u308b\uff01\n        <\/div>\n      <\/div>\n    <\/a>\n  <\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>MQL4\u306e\u914d\u5217\u95a2\u6570\u3092\u4f53\u7cfb\u7684\u306b\u307e\u3068\u3081\u307e\u3057\u305f\u3002ArrayResize()\u306b\u3088\u308b\u52d5\u7684\u914d\u5217\u306e\u30b5\u30a4\u30ba\u5909\u66f4\u3001ArrayCopy()\u306b\u3088\u308b\u914d\u5217\u30b3\u30d4\u30fc\u3001ArraySort()\u306b\u3088\u308b\u30bd\u30fc\u30c8\u3001ArrayMaximum()\u30fbArrayMinimum()\u306b\u3088\u308b\u6700\u5927\u5024\u30fb\u6700\u5c0f\u5024\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u691c\u7d22\u3001ArrayInitialize()\u306b\u3088\u308b\u521d\u671f&#8230;<\/p>\n","protected":false},"author":686,"featured_media":71194,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[301],"tags":[302],"class_list":["post-65718","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mql-reference","tag-mql4"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MQL4 \u914d\u5217\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5cArrayResize\u30fbArrayCopy\u30fbArraySort\u30fb\u6642\u7cfb\u5217\u914d\u5217<\/title>\n<meta name=\"description\" content=\"MQL4\u306e\u914d\u5217\u95a2\u657019\u500b\u306e\u3046\u3061\u3001ArrayResize\u30fbArrayCopy\u30fbArraySort\u30fbArrayMaximum\u306a\u3069\u306e\u5f15\u6570\u3068\u623b\u308a\u5024\u3092\u516c\u5f0f\u306e\u8aac\u660e\u3068\u624b\u5143\u306eMT4\u306e\u5b9f\u884c\u7d50\u679c\u3067\u78ba\u304b\u3081\u3001MQL5\u3068\u306e\u9055\u3044\u3082\u307e\u3068\u3081\u307e\u3057\u305f\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sys-tre.com\/blog\/mql4-array-functions\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MQL4 \u914d\u5217\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5cArrayResize\u30fbArrayCopy\u30fbArraySort\u30fb\u6642\u7cfb\u5217\u914d\u5217\" \/>\n<meta property=\"og:description\" content=\"MQL4\u306e\u914d\u5217\u95a2\u657019\u500b\u306e\u3046\u3061\u3001ArrayResize\u30fbArrayCopy\u30fbArraySort\u30fbArrayMaximum\u306a\u3069\u306e\u5f15\u6570\u3068\u623b\u308a\u5024\u3092\u516c\u5f0f\u306e\u8aac\u660e\u3068\u624b\u5143\u306eMT4\u306e\u5b9f\u884c\u7d50\u679c\u3067\u78ba\u304b\u3081\u3001MQL5\u3068\u306e\u9055\u3044\u3082\u307e\u3068\u3081\u307e\u3057\u305f\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sys-tre.com\/blog\/mql4-array-functions\/\" \/>\n<meta property=\"og:site_name\" content=\"\u30b7\u30b9\u30c8\u30ec.COM \u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-14T18:27:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-29T15:25:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/systre_COM\" \/>\n<meta name=\"twitter:site\" content=\"@systre_COM\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/mql4-array-functions\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/mql4-array-functions\\\/\"},\"author\":{\"name\":\"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/#\\\/schema\\\/person\\\/6d4b91f175c62b272d48ff74ffe237c1\"},\"headline\":\"MQL4 \u914d\u5217\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5cArrayResize\u30fbArrayCopy\u30fbArraySort\u30fb\u6642\u7cfb\u5217\u914d\u5217\",\"datePublished\":\"2026-03-14T18:27:03+00:00\",\"dateModified\":\"2026-10-29T15:25:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/mql4-array-functions\\\/\"},\"wordCount\":246,\"publisher\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/mql4-array-functions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/forexguide-mqlref-eyecatch.png\",\"keywords\":[\"MQL4\"],\"articleSection\":[\"MQL\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/mql4-array-functions\\\/\",\"url\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/mql4-array-functions\\\/\",\"name\":\"MQL4 \u914d\u5217\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5cArrayResize\u30fbArrayCopy\u30fbArraySort\u30fb\u6642\u7cfb\u5217\u914d\u5217\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/mql4-array-functions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/mql4-array-functions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/forexguide-mqlref-eyecatch.png\",\"datePublished\":\"2026-03-14T18:27:03+00:00\",\"dateModified\":\"2026-10-29T15:25:43+00:00\",\"description\":\"MQL4\u306e\u914d\u5217\u95a2\u657019\u500b\u306e\u3046\u3061\u3001ArrayResize\u30fbArrayCopy\u30fbArraySort\u30fbArrayMaximum\u306a\u3069\u306e\u5f15\u6570\u3068\u623b\u308a\u5024\u3092\u516c\u5f0f\u306e\u8aac\u660e\u3068\u624b\u5143\u306eMT4\u306e\u5b9f\u884c\u7d50\u679c\u3067\u78ba\u304b\u3081\u3001MQL5\u3068\u306e\u9055\u3044\u3082\u307e\u3068\u3081\u307e\u3057\u305f\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/mql4-array-functions\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sys-tre.com\\\/blog\\\/mql4-array-functions\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/mql4-array-functions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/forexguide-mqlref-eyecatch.png\",\"contentUrl\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/forexguide-mqlref-eyecatch.png\",\"width\":2400,\"height\":1260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/mql4-array-functions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MQL\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\",\"item\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/category\\\/mql-reference\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"MQL4 \u914d\u5217\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5cArrayResize\u30fbArrayCopy\u30fbArraySort\u30fb\u6642\u7cfb\u5217\u914d\u5217\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/\",\"name\":\"\u30b7\u30b9\u30c8\u30ec.COM\",\"description\":\"\u30b7\u30b9\u30c8\u30ec.COM \u30d6\u30ed\u30b0\uff5cFX\u81ea\u52d5\u58f2\u8cb7\u306b\u95a2\u3059\u308b\u304a\u5f79\u7acb\u3061\u60c5\u5831\u3092\u66f4\u65b0\u4e2d\uff01\",\"publisher\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/#organization\"},\"alternateName\":\"\u30b7\u30b9\u30c8\u30ecCOM\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/#organization\",\"name\":\"\u30b7\u30b9\u30c8\u30ec.COM\",\"alternateName\":\"\u30b7\u30b9\u30c8\u30ecCOM\",\"url\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-1-1.png\",\"contentUrl\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-1-1.png\",\"width\":329,\"height\":378,\"caption\":\"\u30b7\u30b9\u30c8\u30ec.COM\"},\"image\":{\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/systre_COM\",\"https:\\\/\\\/www.youtube.com\\\/@systre_com\",\"https:\\\/\\\/www.facebook.com\\\/people\\\/%E3%82%B7%E3%82%B9%E3%83%88%E3%83%ACcom\\\/61587699411751\\\/\",\"https:\\\/\\\/www.instagram.com\\\/systre_com\\\/\",\"https:\\\/\\\/www.tiktok.com\\\/@sys_tre.com\"],\"description\":\"FX\u81ea\u52d5\u58f2\u8cb7EA\uff08Expert Advisor\uff09200\u672c\u4ee5\u4e0a\u3092\u7121\u6599\u63d0\u4f9b\u3059\u308b\u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30a4\u30b9\u3002\u5168EA\u306e\u30d5\u30a9\u30ef\u30fc\u30c9\u30c6\u30b9\u30c8\u30fb\u30ea\u30a2\u30eb\u53e3\u5ea7\u904b\u7528\u30c7\u30fc\u30bf\u3092\u516c\u958b\u3002MT4\\\/MT5\u5bfe\u5fdc\u3002\",\"foundingDate\":\"2023\",\"knowsAbout\":[\"FX\u81ea\u52d5\u58f2\u8cb7\",\"Expert Advisor\",\"MetaTrader\",\"\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790\",\"\u30b7\u30b9\u30c6\u30e0\u30c8\u30ec\u30fc\u30c9\"],\"contactPoint\":{\"@type\":\"ContactPoint\",\"contactType\":\"customer service\",\"url\":\"https:\\\/\\\/sys-tre.com\\\/contact-us\\\/\",\"availableLanguage\":[\"Japanese\",\"English\"]},\"legalName\":\"Attempia Ltd\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/#\\\/schema\\\/person\\\/6d4b91f175c62b272d48ff74ffe237c1\",\"name\":\"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b6ee0bfaa0b0a8c1c9af71dab7cf7fce04ac8f81a3d6bc3155344b588e526631?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b6ee0bfaa0b0a8c1c9af71dab7cf7fce04ac8f81a3d6bc3155344b588e526631?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b6ee0bfaa0b0a8c1c9af71dab7cf7fce04ac8f81a3d6bc3155344b588e526631?s=96&d=mm&r=g\",\"caption\":\"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8\"},\"description\":\"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8\u306f\u3001FX\u81ea\u52d5\u58f2\u8cb7\uff08EA\uff09\u3068\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790\u3092\u5c02\u9580\u3068\u3059\u308b\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30e1\u30c7\u30a3\u30a2\u300c\u30b7\u30b9\u30c8\u30ec.COM\u300d\u306e\u7de8\u96c6\u30c1\u30fc\u30e0\u3067\u3059\u3002200\u672c\u4ee5\u4e0a\u306eEA\u306e\u30d5\u30a9\u30ef\u30fc\u30c9\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u516c\u958b\u3057\u3001\u5b9f\u969b\u306e\u904b\u7528\u30c7\u30fc\u30bf\u306b\u57fa\u3065\u3044\u305f\u5ba2\u89b3\u7684\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u307e\u3059\u3002\u8a18\u4e8b\u306e\u57f7\u7b46\u30fb\u76e3\u4fee\u306fMetaTrader\uff08MT4\\\/MT5\uff09\u3067\u306e\u5b9f\u904b\u7528\u7d4c\u9a13\u3092\u6301\u3064\u30b9\u30bf\u30c3\u30d5\u304c\u62c5\u5f53\u3002\",\"sameAs\":[\"https:\\\/\\\/sys-tre.com\\\/blog\\\/about\\\/\",\"https:\\\/\\\/x.com\\\/systre_COM\"],\"jobTitle\":\"FX\u81ea\u52d5\u58f2\u8cb7\u30fb\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790 \u7de8\u96c6\u30c1\u30fc\u30e0\",\"knowsAbout\":[\"FX\u81ea\u52d5\u58f2\u8cb7\",\"Expert Advisor (EA)\",\"\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790\",\"MetaTrader 4\",\"MetaTrader 5\",\"MQL4\",\"MQL5\",\"\u30ea\u30b9\u30af\u7ba1\u7406\",\"\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u30c8\u30ec\u30fc\u30c9\"],\"url\":\"https:\\\/\\\/sys-tre.com\\\/blog\\\/about\\\/\",\"worksFor\":{\"@type\":\"Organization\",\"name\":\"\u30b7\u30b9\u30c8\u30ec.COM\",\"url\":\"https:\\\/\\\/sys-tre.com\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MQL4 \u914d\u5217\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5cArrayResize\u30fbArrayCopy\u30fbArraySort\u30fb\u6642\u7cfb\u5217\u914d\u5217","description":"MQL4\u306e\u914d\u5217\u95a2\u657019\u500b\u306e\u3046\u3061\u3001ArrayResize\u30fbArrayCopy\u30fbArraySort\u30fbArrayMaximum\u306a\u3069\u306e\u5f15\u6570\u3068\u623b\u308a\u5024\u3092\u516c\u5f0f\u306e\u8aac\u660e\u3068\u624b\u5143\u306eMT4\u306e\u5b9f\u884c\u7d50\u679c\u3067\u78ba\u304b\u3081\u3001MQL5\u3068\u306e\u9055\u3044\u3082\u307e\u3068\u3081\u307e\u3057\u305f\u3002","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:\/\/sys-tre.com\/blog\/mql4-array-functions\/","og_locale":"ja_JP","og_type":"article","og_title":"MQL4 \u914d\u5217\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5cArrayResize\u30fbArrayCopy\u30fbArraySort\u30fb\u6642\u7cfb\u5217\u914d\u5217","og_description":"MQL4\u306e\u914d\u5217\u95a2\u657019\u500b\u306e\u3046\u3061\u3001ArrayResize\u30fbArrayCopy\u30fbArraySort\u30fbArrayMaximum\u306a\u3069\u306e\u5f15\u6570\u3068\u623b\u308a\u5024\u3092\u516c\u5f0f\u306e\u8aac\u660e\u3068\u624b\u5143\u306eMT4\u306e\u5b9f\u884c\u7d50\u679c\u3067\u78ba\u304b\u3081\u3001MQL5\u3068\u306e\u9055\u3044\u3082\u307e\u3068\u3081\u307e\u3057\u305f\u3002","og_url":"https:\/\/sys-tre.com\/blog\/mql4-array-functions\/","og_site_name":"\u30b7\u30b9\u30c8\u30ec.COM \u30d6\u30ed\u30b0","article_published_time":"2026-03-14T18:27:03+00:00","article_modified_time":"2026-10-29T15:25:43+00:00","og_image":[{"width":2400,"height":1260,"url":"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png","type":"image\/png"}],"author":"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_image":"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png","twitter_creator":"@https:\/\/twitter.com\/systre_COM","twitter_site":"@systre_COM","twitter_misc":{"\u57f7\u7b46\u8005":"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sys-tre.com\/blog\/mql4-array-functions\/#article","isPartOf":{"@id":"https:\/\/sys-tre.com\/blog\/mql4-array-functions\/"},"author":{"name":"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8","@id":"https:\/\/sys-tre.com\/blog\/#\/schema\/person\/6d4b91f175c62b272d48ff74ffe237c1"},"headline":"MQL4 \u914d\u5217\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5cArrayResize\u30fbArrayCopy\u30fbArraySort\u30fb\u6642\u7cfb\u5217\u914d\u5217","datePublished":"2026-03-14T18:27:03+00:00","dateModified":"2026-10-29T15:25:43+00:00","mainEntityOfPage":{"@id":"https:\/\/sys-tre.com\/blog\/mql4-array-functions\/"},"wordCount":246,"publisher":{"@id":"https:\/\/sys-tre.com\/blog\/#organization"},"image":{"@id":"https:\/\/sys-tre.com\/blog\/mql4-array-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png","keywords":["MQL4"],"articleSection":["MQL\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/sys-tre.com\/blog\/mql4-array-functions\/","url":"https:\/\/sys-tre.com\/blog\/mql4-array-functions\/","name":"MQL4 \u914d\u5217\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5cArrayResize\u30fbArrayCopy\u30fbArraySort\u30fb\u6642\u7cfb\u5217\u914d\u5217","isPartOf":{"@id":"https:\/\/sys-tre.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sys-tre.com\/blog\/mql4-array-functions\/#primaryimage"},"image":{"@id":"https:\/\/sys-tre.com\/blog\/mql4-array-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png","datePublished":"2026-03-14T18:27:03+00:00","dateModified":"2026-10-29T15:25:43+00:00","description":"MQL4\u306e\u914d\u5217\u95a2\u657019\u500b\u306e\u3046\u3061\u3001ArrayResize\u30fbArrayCopy\u30fbArraySort\u30fbArrayMaximum\u306a\u3069\u306e\u5f15\u6570\u3068\u623b\u308a\u5024\u3092\u516c\u5f0f\u306e\u8aac\u660e\u3068\u624b\u5143\u306eMT4\u306e\u5b9f\u884c\u7d50\u679c\u3067\u78ba\u304b\u3081\u3001MQL5\u3068\u306e\u9055\u3044\u3082\u307e\u3068\u3081\u307e\u3057\u305f\u3002","breadcrumb":{"@id":"https:\/\/sys-tre.com\/blog\/mql4-array-functions\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sys-tre.com\/blog\/mql4-array-functions\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/sys-tre.com\/blog\/mql4-array-functions\/#primaryimage","url":"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png","contentUrl":"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/06\/forexguide-mqlref-eyecatch.png","width":2400,"height":1260},{"@type":"BreadcrumbList","@id":"https:\/\/sys-tre.com\/blog\/mql4-array-functions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/sys-tre.com\/blog\/"},{"@type":"ListItem","position":2,"name":"MQL\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9","item":"https:\/\/sys-tre.com\/blog\/category\/mql-reference\/"},{"@type":"ListItem","position":3,"name":"MQL4 \u914d\u5217\u95a2\u6570\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\uff5cArrayResize\u30fbArrayCopy\u30fbArraySort\u30fb\u6642\u7cfb\u5217\u914d\u5217"}]},{"@type":"WebSite","@id":"https:\/\/sys-tre.com\/blog\/#website","url":"https:\/\/sys-tre.com\/blog\/","name":"\u30b7\u30b9\u30c8\u30ec.COM","description":"\u30b7\u30b9\u30c8\u30ec.COM \u30d6\u30ed\u30b0\uff5cFX\u81ea\u52d5\u58f2\u8cb7\u306b\u95a2\u3059\u308b\u304a\u5f79\u7acb\u3061\u60c5\u5831\u3092\u66f4\u65b0\u4e2d\uff01","publisher":{"@id":"https:\/\/sys-tre.com\/blog\/#organization"},"alternateName":"\u30b7\u30b9\u30c8\u30ecCOM","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sys-tre.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/sys-tre.com\/blog\/#organization","name":"\u30b7\u30b9\u30c8\u30ec.COM","alternateName":"\u30b7\u30b9\u30c8\u30ecCOM","url":"https:\/\/sys-tre.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/sys-tre.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/04\/cropped-1-1.png","contentUrl":"https:\/\/sys-tre.com\/blog\/wp-content\/uploads\/2026\/04\/cropped-1-1.png","width":329,"height":378,"caption":"\u30b7\u30b9\u30c8\u30ec.COM"},"image":{"@id":"https:\/\/sys-tre.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/systre_COM","https:\/\/www.youtube.com\/@systre_com","https:\/\/www.facebook.com\/people\/%E3%82%B7%E3%82%B9%E3%83%88%E3%83%ACcom\/61587699411751\/","https:\/\/www.instagram.com\/systre_com\/","https:\/\/www.tiktok.com\/@sys_tre.com"],"description":"FX\u81ea\u52d5\u58f2\u8cb7EA\uff08Expert Advisor\uff09200\u672c\u4ee5\u4e0a\u3092\u7121\u6599\u63d0\u4f9b\u3059\u308b\u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30a4\u30b9\u3002\u5168EA\u306e\u30d5\u30a9\u30ef\u30fc\u30c9\u30c6\u30b9\u30c8\u30fb\u30ea\u30a2\u30eb\u53e3\u5ea7\u904b\u7528\u30c7\u30fc\u30bf\u3092\u516c\u958b\u3002MT4\/MT5\u5bfe\u5fdc\u3002","foundingDate":"2023","knowsAbout":["FX\u81ea\u52d5\u58f2\u8cb7","Expert Advisor","MetaTrader","\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790","\u30b7\u30b9\u30c6\u30e0\u30c8\u30ec\u30fc\u30c9"],"contactPoint":{"@type":"ContactPoint","contactType":"customer service","url":"https:\/\/sys-tre.com\/contact-us\/","availableLanguage":["Japanese","English"]},"legalName":"Attempia Ltd"},{"@type":"Person","@id":"https:\/\/sys-tre.com\/blog\/#\/schema\/person\/6d4b91f175c62b272d48ff74ffe237c1","name":"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/b6ee0bfaa0b0a8c1c9af71dab7cf7fce04ac8f81a3d6bc3155344b588e526631?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b6ee0bfaa0b0a8c1c9af71dab7cf7fce04ac8f81a3d6bc3155344b588e526631?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b6ee0bfaa0b0a8c1c9af71dab7cf7fce04ac8f81a3d6bc3155344b588e526631?s=96&d=mm&r=g","caption":"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8"},"description":"\u30b7\u30b9\u30c8\u30ec.COM\u7de8\u96c6\u90e8\u306f\u3001FX\u81ea\u52d5\u58f2\u8cb7\uff08EA\uff09\u3068\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790\u3092\u5c02\u9580\u3068\u3059\u308b\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30e1\u30c7\u30a3\u30a2\u300c\u30b7\u30b9\u30c8\u30ec.COM\u300d\u306e\u7de8\u96c6\u30c1\u30fc\u30e0\u3067\u3059\u3002200\u672c\u4ee5\u4e0a\u306eEA\u306e\u30d5\u30a9\u30ef\u30fc\u30c9\u30c6\u30b9\u30c8\u7d50\u679c\u3092\u516c\u958b\u3057\u3001\u5b9f\u969b\u306e\u904b\u7528\u30c7\u30fc\u30bf\u306b\u57fa\u3065\u3044\u305f\u5ba2\u89b3\u7684\u306a\u60c5\u5831\u3092\u767a\u4fe1\u3057\u3066\u3044\u307e\u3059\u3002\u8a18\u4e8b\u306e\u57f7\u7b46\u30fb\u76e3\u4fee\u306fMetaTrader\uff08MT4\/MT5\uff09\u3067\u306e\u5b9f\u904b\u7528\u7d4c\u9a13\u3092\u6301\u3064\u30b9\u30bf\u30c3\u30d5\u304c\u62c5\u5f53\u3002","sameAs":["https:\/\/sys-tre.com\/blog\/about\/","https:\/\/x.com\/systre_COM"],"jobTitle":"FX\u81ea\u52d5\u58f2\u8cb7\u30fb\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790 \u7de8\u96c6\u30c1\u30fc\u30e0","knowsAbout":["FX\u81ea\u52d5\u58f2\u8cb7","Expert Advisor (EA)","\u30c6\u30af\u30cb\u30ab\u30eb\u5206\u6790","MetaTrader 4","MetaTrader 5","MQL4","MQL5","\u30ea\u30b9\u30af\u7ba1\u7406","\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u30c8\u30ec\u30fc\u30c9"],"url":"https:\/\/sys-tre.com\/blog\/about\/","worksFor":{"@type":"Organization","name":"\u30b7\u30b9\u30c8\u30ec.COM","url":"https:\/\/sys-tre.com\/"}}]}},"_links":{"self":[{"href":"https:\/\/sys-tre.com\/blog\/wp-json\/wp\/v2\/posts\/65718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sys-tre.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sys-tre.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sys-tre.com\/blog\/wp-json\/wp\/v2\/users\/686"}],"replies":[{"embeddable":true,"href":"https:\/\/sys-tre.com\/blog\/wp-json\/wp\/v2\/comments?post=65718"}],"version-history":[{"count":3,"href":"https:\/\/sys-tre.com\/blog\/wp-json\/wp\/v2\/posts\/65718\/revisions"}],"predecessor-version":[{"id":67365,"href":"https:\/\/sys-tre.com\/blog\/wp-json\/wp\/v2\/posts\/65718\/revisions\/67365"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sys-tre.com\/blog\/wp-json\/wp\/v2\/media\/71194"}],"wp:attachment":[{"href":"https:\/\/sys-tre.com\/blog\/wp-json\/wp\/v2\/media?parent=65718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sys-tre.com\/blog\/wp-json\/wp\/v2\/categories?post=65718"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sys-tre.com\/blog\/wp-json\/wp\/v2\/tags?post=65718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}