Forum

Maximum lot size based on current balance

Hi All I have previously coded in mql5 however i am new to mql4. I want to basically use my entire capital in every trade. I need to calculate the highest lot size. Here is the function i use in mql5

8 min timeframe

Hi There Can anyone tell me how to get this without having to program my own? Thanks

DeInit() and iCustom indicators

Hi Guys I was wondering if anyone knew how to have custom indicators remain on chart after backtesting

EA backtesting vs real life

So ive seen quite a few EA backtesting results on MQL5.com so far and some of the results look incredible for example look at this However this persons performance in the championship was poor in 2012 . Can someone explain why there are so many good backtesting EA's but they dont necessarily work

Backtesting in ATC period

Hi Im just curious about something, if i backtest my EA during the same period at the ATC, would the results be comparable. I understand there would be a slight difference due to slippage but apart from that, can i compare it against the best EA made

Push Notification

Hi Guys I was wonder if someone could tell me how to send one. Ive set mine up in the options menu with my android device. Did a test and that successfully came through. However when i try integrating it ino my EA, i get an error 4014...which is system not allowed. Any one have any ideas ? Would

Rounding to decimal places

Hi Guys Can anyone tell me how to round to a 2 decimal places, i know how to do it in C++ , but the round function defined in MQL5 takes just one parameter

Buy and Sell Postions open at the same time

Hi Guys Can anyone tell me how to have a buy and sell position open at the same time. Currently one closes the other. Thanks in advance