Forum

iMAOnArray: I would like to understand ALL(!) parameters

Dear Fellow-MQL-Afficionados! I started with MQL4 for about two months and have been carrying out some more or less successful experiments. However, I keep running into problems as soon as I try to use the function: iMAOnArray ! In order to try to really understand this function I did some

Error 4110: ERR_LONGS__NOT_ALLOWED

In backtesting I get the following error: ERR_LONGS__NOT_ALLOWED 4110 Longs are not allowed! OK, longs are not allowed (that part of the message is clear) but why? I haven't been able to find a solution by searching the forum. Who can help? Thanks in advance

Note to MetaQuotes: Problem with forum editor

Dear MetaQuotes-Team, This week-end I ran into a strange problem, that I kindly request you to have a look at. I responded to another forum member's question from my Mac and the MQL-code I typed in came out as: static datetime prevtime = 0 ; // previously recorded time of current bar; static(!)

OrderSend overzealous in rejecting pending orders?

Hi, I have the following piece of code that tries to insert a pending order with an opening price away from the market, but with stop levels that are (at that time!) possibly close to the market. double stopLevel = MarketInfo ( symbol , MODE_STOPLEVEL ) ; double pointSize = MarketInfo ( symbol