<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>philojuan</author_name>
  <author_url>https://blog.hatena.ne.jp/philojuan/</author_url>
  <blog_title>恥は/dev/nullへ by 初心者</blog_title>
  <blog_url>https://uhoho.hatenablog.jp/</blog_url>
  <categories>
    <anon>MT5/MQL5</anon>
  </categories>
  <description>同一の配列の中でデータの位置をずらす際にもMQL5のArrayCopy関数が使えることを最近知りました（私が知らなかっただけで、別に大した話ではないのですが、汗）。 以前は、別個の配列（たとえば、配列Aと配列B）の間でデータをコピーする時に使うものだと思っていました。そのため、１つの配列の中で要素を移動する時はfor文を使っていました。 たとえば、次のような感じです。要素数が5つのarrayという配列において、array[1]からarray[4]の値をarray[0]からarray[3]に移動する場合 for(int i = 0; i &lt;= 3; i++) { array[i] = array…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuhoho.hatenablog.jp%2Fentry%2F2025%2F07%2F13%2F164035&quot; title=&quot;［MQL5］ArrayCopyは同一配列にも使用可能 - 恥は/dev/nullへ by 初心者&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-07-13 16:40:35</published>
  <title>［MQL5］ArrayCopyは同一配列にも使用可能</title>
  <type>rich</type>
  <url>https://uhoho.hatenablog.jp/entry/2025/07/13/164035</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
