xuzhe / Publications
Forum
Any body know C#?
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 () { //--- create timer EventSetTimer ( 60 ); bool bfirst=
Is WebRequest function work on Localhost?
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
is there anybody use ZeroMQ pub/sub?
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( "CMD:Once" ) print "send once" time.sleep( 1 ) it works
Better looking,better work
when developers use IDE,we always find our favorite color template MQL IDE can change color too,here's my color schemes,any body else love to share
Why WegRequest fucntion fails when sending request to localhost server
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 http://127.0.0.1:8765/,it always return 4002 error code . int SyncOrder( string
how can i draw a bitmap label fixed with time?
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 fixed with the whole window. Thanks a lot
File Read problem
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 ); string filename=terminal_data_path+ "\\MQL4\\Files\\" + "share.txt" ; Print
how to follow my own personal signal
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?
can i make a signal only for my friends?
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 that
can i follow a mt5 signail on my mt4?
can i follow a mt5 signail on my mt4