Forum

About execution speed

Hi i found this article on google It says "And if you use two or more Expert Advisors, this can increase the delay as MT4 only has one flow, so when the first Expert Advisor sends an order, the other expert advisors wait." Solution "install two or more MetaTrader 4 terminals with the same account

Issue with closing orders

Has anyone run into the same problem? I have 2 servers with one MT4 terminal each, both are identical and connected to the same broker. The only difference is that one server is placed in London and the other one in Sweden. I have exactly the same setup on both servers, same EA, same amount of

Is this possible?

Hi Im not sure if it's possible to accomplish this, so i am asking you so i know what to ask for when posting a job in freelance. I want a function in my EA that calculates position drawdown and prints it in log when it exits the position. (It must work when backtesting )

Calculate lowest tick since price break when backtesting?

Hi I want to calculate drawdown between bars (Starting from the bar that breaked the price) relative to the value 1.0000 Example "SEE ATTACHED PIC BELOW": My EA buys when price brakes 1.0000 ! at time 15:30:05 15:30:45 / The price has moved down to 0.9500 15:30:55 / The price has moved up above

Indicator error

Hi I have downloaded the attached indicator and it has been working for a while, but today when i was looking at the file inside MetaEditor and i compiled it (without changing anything) I got this errors?? and the EA stopped to work. This is the error part of the indicator. void WriteToLogFile(

Correct brackets/bracers {}

Hi have an EA question, what is the correct way of using icustom. Why i am asking is becuase both ways are working for me with no issues.? :S Like this? int start() { int n, i; double p0, p1, p2, p3, p4, p5; i= 0 ; while (n< 5 ) { if (p0> 0 ) {p5=p4; p4=p3; p3=p2;

Anyone having trouble with SL/TP when backtesting on build 670

Suddernly the SL/TP changes to 50 points no matter what EA i backtest ? Anyone encountered the same problem

AE2BBC7E65893356A60248680B4C\MQL4\Experts

Hi Again Just wondering why all the MT4 has a copy file are stored here? AppData\Roaming\MetaQuotes\Terminal\AE2BBC7E65893356A60248680B4C\MQL4\Experts Because when open a file in MT4 for modifying in the compiler, and click save as it wants to save it in the directory above Not in this one where i

new mt4 version 574 giving warnings

Hi all, im wondering why i get all these warnings when i compile my old EA:s. They are working fine on build 509

Order open when i change magic number?

Hi I have some problems with my magic numbers. I have one real live account with EA:s that has magic number 1117 and 1118 and 1119 And i also have a Demo account with the same broker, with a MT4 that's installed on another computer. The thing is that, if i run EA:s on the demo account. It doesn't