Forum

Kindly Request Some More Eyes On My OrderSend 4756 Error

Dear MQL5 Community, I kindly request another pair of eyes on my 4756 ordersend issue! :) Not a coder by trade, I typically work with freelancers. However with a bit of free time this summer I decided to try and work on a basic MT5 MA cross system on my own. I've gotten more or less to the "end" in

Inexplicable MT4 Back Testing Errors

Hi everyone. I’ve a bit of a head scratching problem with some back testing and I wanted to know if anyone else had ever experienced this or something similar. I have an EA which I have developed and tested successfully over a period of 3 years – 2018 2019 2020. At its simplest, the EA opens

Finding past Highs & Lows

Dear Forum, noob question for you! I am looking to use the iLowest & iHighest functions , to find the prices of past candles. I don't understand the output however - is it in pips or is it a price? For example I used iLowest to find the lowest value of a candle 5 ticks prior. I used the following

Strategy Tester Not Running EA in Optimization Mode

EDIT: I can see that it is labeling my results as insignificant in the log, which is a different issue and which means that the immediate issue is resolved and this post can be ignored

MQ4 / EX4 Naming Conventions?

Hi everybody. I am curious to know whether there are any rules regarding what you can input as a name for a .ex4 file? I have three EA .mt4 source files. When compiled into a .ex4 (with no errors), one of them runs perfectly live and during backtesting , while the others stare back at me blankly

CloseOrders() Function

Hi everyone. I'm looking to program an EA to close all orders related to a magic number. I've noticed that in certain older posts that there is discussion around the "CloseOrders()" function , however I am not able to find it in the online database of functions. Is this: a) an old function that no

How to store array data over time

Hi everyone. I'm new to the MT language, haven't coded anything in a very long time, and yet... I am going try my hand at making an EA :p. I've already one running and have some of my own ideas that I would like to try out. I'm starting by reading through the language database and writing out some