Forum

How to tell when a chart has closed?

Two things I would like to do. 1) I want to be able to tell when a chart window has closed. Is this possible? Is there something equivalent to OnChartClosed? 2) I want to be able to keep track of the number of instances a specific indicator has been used. Is this possible? Thanks for your insights

Capture realtime news

Hi, Is there a function to capture news events as it is streamed in to MT5? Thanks

Communicating with MT5 with external app

Is there a way to communicate with MT5 with an external application? For example, I would like to command MT5 to close a trade via an external application. I was thinking of getting the chart window handle and then use this window handle to do a SendMessage(hWnd...) or PostMessage(hWnd...) to the

Get all open window instruments

Hi, What is the best way to get the instruments (currencies) for each opened window in MT4? Thanks