×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

Array Copy

8 bytes added, 21:24, 27 February 2017
no edit summary
Source and destination can be the same array as well as two different arrays.
==== Usage ====
<syntaxhighlight>Array_Copy(SourceArray,SourceIndex,DestinationArray,DestinationIndex,NumberOfElements)</syntaxhighlight>
Where: [[:'''SourceArray]] ''' - an expression specifying the name of the source array
[[:'''DestinationArray]] ''' - an expression specifying the name of the destination array
[[:'''SourceIndex]] ''' - a numerical expression specifying the starting index for the source array
[[:'''DestinationIndex]] ''' - a numerical expression specifying the starting index for the destination array
[[:'''NumberOfElements]] ''' - a numerical expression specifying the number of elements to copy
==== Example ====
Copy from Array1 the two-element segment beginning at the index of 4, to the Array2, beginning at the index of 6:

Navigation menu