Forum

MQL5, why ordergetticketalways return 0 ?

hi guys, here is classical code, but OrderGetTicket() always return 0 even if i have a lot of orders OrdersTotal()is ok why ? uint total=OrdersTotal(); //--- go through orders in a loop for(uint i=0;i<total;i++) { //--- return order ticket by its position in the list

Championship 2008 :: how much history bars ?

hi, my expert advisor is a probabilistic neural network and need at initialization to read a lot of history data (20 000 bars in H1). In the championship, do i have enough bars ? how much