Forum

mql4 to mql5 pls help

Can someone help me and convert my indicator from mql4 to mql5.I want add socket comunication with my program in C# but to this i need to convert to mql5. Because sockets dont work in mql4 :/ Would anyone be so nice

Cross ema + send message with socket

I have simple indicator where there are 2 ema. When they cross i have singal but i need to send message with socket to localhost and idk how to do it, can anyone help me? I dont understend how to use socket in mql. Can sameone show me simple expample using sockets plox??? Something like that: 1. 2

How to program only one Alert after closing the candle

Its my first indicator. And I want to make alerts. But idk how to make only one alert after closing candel. Now they appear to me throughout the entire period of the candle construction. Can anyone help me? I will be grateful. My code - #property copyright "Moje" #property link