Hi,
I've an array with 6 coloumns and 50 rows.
The coloumns include:
trade_arr[x][0]=OrderTicket();
trade_arr[x][1]=OrderStopLoss();
trade_arr[x][2]=OrderTakeProfit();
trade_arr[x][3]=OrderSymbol();
trade_arr[x][4]=OrderOpenPrice();
Now I wanna do this:
If EA starts,all available trades should be written to the Array. Every tick is checked if there are new available trades. They should be added to the array, if yes.
Problem: The EA does not work. The alert new commerce comes at each tick
for each open position.
I described string trade_arr[50][6]; as global variable,but it seems that the array is deleted after each tick.
Could be nice if There's somebody out there to check that...
Thanks,
Swen
Code:
Originally Posted by ;