i test the WebRequest() function on some public domains,such as www.google.com www.mql5.com works very well. but when i use it on LocalHost domians,it doesn't work anymore. i did add localhost domain in the EA tab of option menn.
with the page https://www.mql5.com/en/docs/common/webrequest i tried with my own script,the function works very well when i send request to public servers. with the same code,when i send request to url like
i want to draw a bitmap label on my chart,but i don't want to refresh the X Y position all the time. what should i do if i want this bitmap fixed with special time like 2014.7.1 00:00:00 when i move my chart,this bitmap will follow it's own bar,not
i want my mt4 program communicate with C# codes in different kinds of computers,X86 and 64bits so i decide to try Named Pipe ,a solution without any DLL here's my mql4 code: #include <Files\FilePipe.mqh> CFilePipe ExtPipe; int OnInit () { //---
i do have a test file in Files Folder and the script code is: #include <Files\FileTxt.mqh> CFileTxt FileTxt; void OnStart () { //--- string terminal_data_path= TerminalInfoString ( TERMINAL_DATA_PATH );
i register a personal signal,and i only want to share this with my friends. but i can not find my personal signal in MT4 toolbox,because it's personal. SO WHAT SHOULD I DO?
i have an EA run on MT5,and can i be a signal provider to send trade order to my friends? all of my friends use MT4 because of their broker. i only want to sync my position for my friends,i do not want anyone else know about
thanks to Starry ,his project https://www.mql5.com/en/code/9991 is great. i wrote a simple python script like this: import zmq import time cxt = zmq.Context() s = cxt.socket(zmq.PUB) s.bind( "tcp://127.0.0.1:1900" ) while True : s.send(
i want to deal something when position touched stoplose and takeprofit? I want a function occurs only when stoplose and takeprofit was trigged,Do i need OnTrade() event or OnTradeTransaction() Event()? Thx a lot
i have installed visual studio 2012 and metatrader 5 today,but my MetaEditor can not found visual studio 2012. i have done this work on virtual machine before,when i install visual studio 2012 on C:\,it's ok. this time ,i install visual