Forum

zero divide

hello, i got an issue with backtesting my ea... when i go to my mq4 file and check that line, i turn out to this..: double BasketTP( string type, string s) { double PriceSum= 0 ; double LotSum= 0 ; for ( int i= 0 ; i< OrdersTotal (); i++) { if ( OrderSelect (i, SELECT_BY_POS