Forum

graceful shutdown of services / eas

While using external DLL in services / eas when they are stopped the terminal can freeze when in middle of external calculations. Are there any concepts of graceful shutdown, like a function in the .mq5 script that can handle this

When does MT4 refresh HST file?

I want to read HST file with real time updates I wonder when does MT4 refresh these files? Can I keep them up to date in real time

Is this ok to use this generic function for collecting tickets ?

// custom callback for processing deals typedef bool (*DealProcessor) ( ulong ticket); bool DealProcessor_DEAL_ENTRY_OUT( ulong ticket) { return HistoryDealGetInteger (ticket, DEAL_ENTRY ) == DEAL_ENTRY_OUT ; } bool DealProcessor_PROFIT_ANY (ulong ticket) { return HistoryDealGetDouble(ticket

Question about EA and indicator conflict

Hello, what may be the reason of a conflict between indicator and EA? When i use them together my MT4 just freezes