How to use history data?

 

We can get various kinds of history data from MT4 and MT5.

And we make expert advisors to research that data. Then, can we publish EA with history data which is an Excel file, and I research. Is it copyright infringement?

Please answer for me.