Now, I want a numeric data of each second from the Matatrader4.
Please teach me how to do that.
Your request is not very clear. If you have difficulty with English, use the Japanese section of this forum instead?
datetime dTme = D'2017.05.03 12:04:56';
long lTme = (long)dTme;
It is impossible to export second historical data from MT4.
However, there is a program that displays the second chart. How about download it? Because the historical data can be accumulated.