Forum

MQ5 Indicator - Array out of range error

Good day, I am trying to make an indicator that shows up and down arrows when an engulfing pattern is formed. The bearish engulfing pattern is confirmed if either of the 2 candles before the engulfed candle are bullish and similar for the bullish engulfing pattern is confirmed if the either of the 2

Push notifications not going through, what is wrong with attached function?

Good day, I want to be notified of any change in account balance so I made a function that is called on every tick and checks if there is any difference in account balance between consecutive ticks. The function is then suppose to send a push notification on mobile device but no notification is sent

MT4 EA returning wrong bid and ask price different from those visible on chart

Good day... I am making an EA that opens orders depending on time, (e.g at exactly 1pm). The EA opens orders on the chart it is loaded on, so if it is on GBPUSD, USDJPY and EURUSD, it will place orders at exactly 1pm on both pairs. The EA compiles without errors but the problem is as follow: The EA

EA code not compiling

Hi there everyone I am a total newbie to trading and coding, I tried coding a simple EA to test a strategy I had in mind but the code is not being compiled. The first error(s) which I think are the main problem is as follows:" ' iMA ' - constant expected " which repeats for the three instances I