TheHonestPrussian
TheHonestPrussian
TheHonestPrussian
Added topic Complete lack of logic over converting ENUM variables
The stupidity here is unbelievable at times, I have the following: enum MinRSQ{   
TheHonestPrussian
Added topic MQL4 not interpreting formatted outputs correctly
I could literally scream I'm sorry but in what universe is MQL4 seeing the following : "+DoubleToString(0.56 * 100,0)+"%"+ as "56.00" and not "56%". The words "sick" and "tired" do not cut it, especially when this only happens with one currency pair
TheHonestPrussian
Added topic NormaliseDouble, Digits ommitting the last digit when price ends with a zero
Quick question: Why, despite telling it display the price in accordance to the appropriate number of decimal places of the chart, does it constantly fail to include the "0" when the price ends with a zero. I have the following:  double
TheHonestPrussian
Added topic Variables Not Being Placed in Email Body
I have set out a load of variables which are to be sent out in an informational (is that even a word? It should be a word ;)) email when a position is executed. Everything works as programmed and an email is indeed sent when a position has been
TheHonestPrussian
Added topic Incorrect rounding from the NormalizeDouble function.
Quick question, My `NormalizeDouble()` function is rounding prices to an incorrect number of digits. I have a five digits broker and because the `NormalizeDouble` function is rounding prices to an incorrect accuracy, the TP and SL are out of whack. I
TheHonestPrussian
Added topic How do you price your EA's
Morning all This is a question specifically for those who have their EA in the market place: how do you all derive a price for your EA
TheHonestPrussian
Added topic Incorrectly displaying the standard deviation figure despite correct formatting. [SOLVED - CORRECT CODE DISPLAYED]
Right, quite frankly, I have just about had enough of this.. I currently have a snippet of code which returns the standard deviation of a currency pair and displays this in an email which is subsequently sent. The standard deviation is calculated in
TheHonestPrussian
Added topic Incorrect formatting of vaiables in Print() & SendMail() function
Hello I have a snippet of code which should send the Standard Deviation of a currency pair to Print() & SendMail(). Having correctly formatted the figure, having correctly declared the variables, and having included the correct source files at
TheHonestPrussian
Added topic Compiling vs debugging.
So, a quick question: what is the difference between a debugger and a compiler?  Many different explanations on Google, so I thought I'd come here and learn from the experts - which in all fairness I should have done in the first place :) 
TheHonestPrussian
Added topic While Loop | Restricting SendMail() attempts.
Morning all I have an EA which is designed to send a confirmation email when an order is executed. The 'orderselect' (Not to be confused with the MQL4 OrderSelect(...) function) function is called in the OnTick() section of the EA. Just to be clear
TheHonestPrussian
Left feedback to developer for job Alteration to EA | Placing a pending order with a button push.
TheHonestPrussian
Added topic Pending Orders Issue
I have an EA which is supposed to place a pending order with the push of a button, & an execution price at the open of the current bar. The button functions works perfectly, the parameters within the pending order work flawlessly, the dynamic
TheHonestPrussian
Added topic Macro defininition
Morning all I have an EA with an `include.mqh` file attached, all working as expected, however I getting the `macro redefinition` warning when compiling the EA. The include file is as follows; #define __SLEEP_AFTER_EXECUTION_FAIL 4 00   
TheHonestPrussian
Added topic MQL4 ignoring a significant calculation when calculating tp/sl
Morning all,  I currently have a formula which calculates the SL and the TP. It calculates the TP/SL as a percentage of the current account balance The formula is as follows: int OnInit (){        int percent = 2;
TheHonestPrussian
Added topic Returning Error 5020 from FileIsExist on an existing file.
I have a file writing function which has been rewritten, specifying the data from the OrderHistory log. It now checks to see if the file exists before deciding to either create a new file and write the relevant data into it, or find the existing
TheHonestPrussian
Added topic Adding additional information to an existing file created by FileWrite()
Morning all I have a FileWrite() function which works perfectly, however, I am wanting to add attentional information in new columns appended to the end of an existing spreadsheet , created by the FileWrite() function. Is there a way in which to
TheHonestPrussian
Added topic A question on filewrite functions
Morning all So I have a successful file write function, which all works as it's supposed to. However, is there a way in which you can separate out the information into individual columns on the spreadsheet . I realise it's a .csv file, but is it as
TheHonestPrussian
Added topic A question about #include files
Morning all, So I have an include file, string formatted, which is supposed to go into the body of an email when the SendMail function is called. Despite me working with #include files in order to avoid coding duplicate coding or text, this
TheHonestPrussian
Added topic A question about bracketing conditions...
Morning all, So a quick question about brackets, which is correct? if (a < b && c < d){         ... } ..or do you bracket the individual conditions within the function call, as follows: if ((a
TheHonestPrussian
Added topic A question about time.....
Morning All So I have a snippet of code set up to prompt a MessageBox to make itself known at a certain time (closingTime) which is formatted to an Integer on the 24 hour clock, which in this case is 17 (or 1700 GMT). I am aware that the terminal
12