strategy tester timefram vs EA's timeframe

 
hello im testing a EA that has timeframe configs , once i got very good results backtesting but when i checked my settings the strategy testers 's TF settings was set to H4 but my EA's config was trading on m30 TF! so im wondering what happens exactly in this situation? if i set TF on both side on m30 or h4 i cant get same good results!
 

It really depends on EA code.

If EA gives a setting for Timeframes, then some indicators in EA might be using the settings timeframe.

And some other parts in EA might be using your chart's timeframe in strategy tester.

Can't really say, without looking at the EA code.