Спасибо! но в тестере открывает 1 сделку и тут же закрывает,в журнале пишет:
2014.03.31 01:04:37.679 EURUSD,M5: 27318 tick events (74382 bars, 29532134 bar states) processed within 15445 ms (total time 42791 ms)
2014.03.31 01:04:37.676 2013.01.02 10:45 Tester: order #1 is closed
2014.03.31 01:04:37.676 2013.01.02 10:45 Testing pass stopped due to a critical error in the EA
2014.03.31 01:04:37.676 2013.01.02 10:45 Unhandled exception 0xC0000092
2014.03.31 01:04:37.676 2013.01.02 10:45 Forex_COMBIC2 EURUSD,M5: open #1 buy 1.00 EURUSD at 1.32611 ok
посмотрите, пожалуйста