TheHonestPrussian
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.
Very quick, professional, an definitely worth the money. :)
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
TheHonestPrussian
Added topic A question on FileWrite functions.
Morning all, Quick question on the FileWrite() function; I currently have a FileWrite() function in my EA to a CSV-formatted spreadsheet, which works perfectly, however, is there a way in which you can write data to a spreadsheet template and to a
TheHonestPrussian
Added topic SendMail() not applying new lines.
Morning, So I have a diagnostics email set up which contains the data on all the criteria needed to execute a position, it's to ensure that the EA is meeting all of the criteria and using ternary to give it a "PASS" or a "FAIL". It's pretty
TheHonestPrussian
Added topic Working with StringFormat() & _Digits
Morning all, So I'm working with StringFormat() and wanting to pass various double figures (i.e. prices, moving averages etc) into a string format. I know how StringFormat() works in MQL4 except how to accommodate for 5 an 3 decimal place prices. I
TheHonestPrussian
Added topic Setting BOLD font in MT4-sent email's.
Morning all, Quick question, is there a way in which to make text bold in, for example, in the bodies of SendMail() or MessageBox functions ? Cheers,
TheHonestPrussian
Added topic Why is no OBJ_HLINE showing on my chart?
Morning, So I'm plotting a horizontal line on my chart, except I'm not. My code is the following: double sma = iMA ( NULL , 0 ,10, 0 , MODE_SMA , PRICE_OPEN , 0 ); ObjectCreate ( 0 , "Horiz_Line"
: