I want to identify short-term trading activity (scalping) from my MT5 deals data.

 

Specifically, I need to detect clients (logins) who are opening and closing trades within a short time frame, such as within 1 hour.

Could you please clarify:

  1. Does the MT5 deals/history report provide both open time and close time for each trade, or only individual deal timestamps?

  2. If only deal timestamps are available, what is the best way to reconstruct trade duration (open vs close) from the deals report?

  3. Is there any built-in report or method in MT5 to identify short-duration trades (e.g., trades closed within 1 hour)?

  4. Can trades be grouped by login, symbol, and time interval (like hourly) to detect high-frequency or short-term trading behavior?

My goal is to detect potential scalping or abnormal trading patterns (clients making multiple trades within a short time window).

Any guidance on how to extract or calculate this from MT5 data would be helpful.