Forum

Array out of range

Hi, array out of range in 'test.mq4' (15,9) (15,9: Array[0] = 1.0; ) void OnStart () { double Array[]; ArrayResize (Array, 3 ); Array[ 0 ] = 1.0 ; Array[ 1 ] = 1.0 ; Array[ 2 ] = 4.0 ; double ma = iMAOnArray(Array, 3 , 3 , 0 , MODE_SMA , 0 ); Alert ( "result = " , ma); } Why does it

MT4 + DLL

Hi, What programming language is the best choice for creating a DLL file for MT4? According to this: https://stackoverflow.com/questions/3921541/programming-language-for-creating-dll-c-or-c-sharp C would be the best choice to avoid compatibility issues that could happen with C++. Is this true for