how to create testing situation?

 

I try to test my EA and problem is I don't know how to create testing scenario

logic is - if indicator A got value N and indicator B got value M - open position

in real life i need to wait hours to get this match and ops error in code, fix and wait again 

is there any way to simulate market for testing? 

 
Use the strategy tester