This is one of the most common errors I see, probably due in part to the likes of garbage such as Expert Advisor Builder. So I thought it was time for a thread dedicated to the subject so that it can be linked to for future reference. The Problem Let's take a simple example; we want a function to
I'm trying to understand something strange that I am seeing so I can better code round it in the future . . . I noticed something strange happening with one of my Indicators, it wasn't doing what it should have been so I checked the code and it looked correct. So I did a little investigation and
For clarity for myself, at least, and anyone else that has an interest . . . .hst file format valid as of MT4 Build 509 The database header first . . . total 148 bytes int version; // database version - 400 4 bytes string copyright[64]; // copyright info 64 bytes string symbol[12]; // symbol name 12
Re: https://www.mql5.com/en/forum/136275/page3#532562 I got my php working as a Cron job. I created a simple EA to send the file via FTP and set the Cron job (I use cPanel based hosting) to run every 2 mins. The php . . . <?php $to = "your@email.com"; $subject = "EA is silent"; $body = "EA has
I see many, many people posting code and asking questions which can usually be answered by simply checking the return values from a few Functions and printing out any relevant errors. So I thought I would make a post specifically about this subject so that I can simply link to it in the future
I noticed that this is no longer present in the current mql4 documentation so I though I would add the "old" documentation here for future reference . . . Constant Value Description ERR_NO_ERROR 0 Trade operation succeeded. ERR_NO_RESULT 1 OrderModify attempts to replace the values already set with
Comments that do not relate to the " Using Technical indicator in an EA ", have been moved into this topic
I have been coding a function to display previous trades on a chart, in the same way that dragging a previous trade to a chart does. I want to keep my function versatile so I am making it configurable while at the same time making the defaults match what MT4 shows by default, so some of my function
Yes please, Smiles help convey the emotion missing from plain text. :-D No, we don't need Smilies. :-o I don't care, just show me the results, NOW ! ! ;-)
< 1% Between 1% and 1.9% Between 2% and 2.9% Between 3% and 5.9% Between 6% and 10% > 10% I don't care, show me the results