How to use SpeechText function in MQL code ?

 

What DLL file should I import in order to use this function properly on MT4 build 225 (and newer)


I would like hear Ask price if trend line will be broken.


For example:

SpeechText("Price " + DoubleToStr(Ask));


But it can not be compiled under my Meta Trader platform. But why ?

 
puncher:

What DLL file should I import in order to use this function properly on MT4 build 225 (and newer)


I would like hear Ask price if trend line will be broken.


For example:

SpeechText("Price " + DoubleToStr(Ask));


But it can not be compiled under my Meta Trader platform. But why ?

It won't compile until the function is properly imported from the dll. I don't know of any dll that does that though...

Reason: