Forum

Metatrader 4 does not work on Windows 10 Technical Preview

Very annoying. Every program I've tested works except Metatrader 4

Script to display number of open positions

Hello I have a lot of open buy and sell 0.1 unit positions. I need to know exactly how many of them are opened. Instead of counting them manually, is there a script which counts the number of open positions i.e. "you have 57 open buy positions"

Prevent EA Code from executing again a second time

Hello With MQL4, I have always the same problem in general. Take a look at the following code: int start () { //---- if ( AccountEquity () > 2000 ) ShowMessageBox () ; //---- return ( 0 ) ; } void ShowMessageBox () { Messagebox ( " This is the Messagebox " ) ; } Problem is, as soon as the Equity is