title: MQL5 does not allowing the Dynamic Array to store value
body: <p>I am trying to play with the storage of the MQL 5 Array. When I am not using any <code>ArrayResize()</code>, I am getting error:  </p>
  
  <pre><code>double d [];
  d[0] = 1;
  for (int i = 0; i&lt; ArraySize(d); i++)
     {
     Print(d[i]);
  </code></pre>
  
  <p>The error is as follows: </p>
  
  <pre><code>2018.03.26 13:17:25.379 2018.02.02 00:00:00   array out of range in 'testing.mq5' (69,2)
  </code></pre>
  
  <p>Whereas when I use <code>ArrayResize()</code> I get output.  </p>
  
  <pre><code>double d [];
  ArrayResize(d,2);
  d[0] = 1;
  for (int i = 0; i&lt; ArraySize(d); i++)
     {
     Print(d[i]);
     }
  </code></pre>
  
  <p>Output:  <code>1</code></p>
  
  <p>It worked. But, if I try to add the array element beyond the array size then I get <code>out of range</code> error.   </p>
  
  <p>I am will to achieve is that the array must remain dynamic in size perspective.<br>
  Say I the size given is <code>2</code> and during my program the array element at <code>3</code> needs to be added then the array must accept it.   </p>
  
  <p>I cannot use <code>ArrayResize()</code> as it will wipe out other values, which I don't want to happen.<br>
  Kindly, suggest me a middle way out so that I can enter any number of values in an array irrespective of its size.</p>