open a url i n browser

 

i'm trying to open a url in a web browser by a EA

i tried to search an a found this topic

 https://forum.mql4.com/14282

i think it is close from that i want but the code is not work because it is not tested and it made to open file not a url 

 

I hope to find help here

 

thanks  

 

Since build 600 Feb 2014, all strings are Unicode. ShellExecuteA must be changed to ShellExecuteW. See also https://www.mql5.com/en/forum/155323

Write a text file with .URL extension and then shell that. The URL extension will open the default browser.

 
it worked but i must make true on "allow dll imports"
i want to open url after clicking on script Immediately :(
 
el3reef:
it worked but i must make true on "allow dll imports"
i want to open url after clicking on script Immediately :(
You just have to change the default setting in menu Tools->Options, Experts Advisors tab. Do it at your own risks.
 
el3reef :
funcionó, pero debo hacer realidad en "permitir importaciones de dll "
Quiero abrir la URL después de hacer clic en el script inmediatamente :(
could you share that code
Reason: