Wessam Nabil / Publications
Forum
whats the wrong with this code?? please help
hello im trying to code an expert with multi orders for 1 pair the idea is opening x amount of orders and when one or more order closed at the same time, the EA will collect its ticket numbers and deal with each order separately. i tried arrays and files, even both together the problem EA some times
how to deduct array from another?
hello i searched every where how to deduct array elements from another but i didnt found such operate lets say i have this int x_Array[ 5 ] = { 1 , 2 , 3 , 4 , 5 }; int y_Array[ 7 ] = { 22 , 2 , 1 , 5 , 3 , 65 , 4 }; int z_array[]; // i need to deduct x from y //so result will be z_array[2]={22, 65}
working with files and arrays
hello i have 2 arrays 1 to open files and 1 to delete it but i have problem with the code int a[ 8 ] = { 11 , 1 , 3 , 5 , 17 , 4 , 2 , 15 }; int b[ 5 ] = { 1 , 2 , 3 , 4 , 5 }; int filehandle; for ( int x= 0 ; x< ArraySize (a); x++){ string n = IntegerToString (a[x]); filehandle =
how to save equal values from 2 arrays to a new array
hello im working with a code using arrays i need to save the equal values from 2 arrays to another one to use it after i search every where but didnt found such subject here is the code bellow any help? int Array1[ 5 ] = { 1 , 2 , 3 , 4 , 5 }; int Array2[ 8 ] = { 22 , 8 , 32 , 5 , 15 , 65 , 4 , 13
Save ticket number in an array
hello i made an expert, it works good but for a reason it need a unique number to restore every trade so i tried to save ticket number i searched file open , and arrays but i couldnt find what i want beside im not good in arrays finally i found something near to what i want i got the code but it not