Forum

BTCUSD spread in mt4 strategy tester not working

Hello, So I am trying to test a strategy for BTC in my mt4. I have downloaded all the tick date to get a 99%modeling quality. And the EA is working as intended. The only problem is that the spread is not being taken into account. The spread for BTCUSD is 17$ or 1700 points in my broker. Even If I

Requesting a simple implementation of iCustom function

Hello all, I have an indicator that prints a dot and gives an alert on the mt4, I would like to add mobile notification alert as well. Thing is I can't edit it since I have the ex4 only. With a little bit of searching, I realized that I can add an EA that give an alert when the indicator does using

Illegal If without matching else

Hi there, Please Check the attached image . I get the following error when I trying to compile the code shown below. 'else' - illegal 'else' without matching 'if' Any help would be appreciated. Thank you. <Decompiled code deleted>