DrBeardface
DrBeardface
Friends

Add friends via their profile or user search and you will be able to see if they are online

DrBeardface
Added topic ChartXYToTimePrice returning incorrect time
Hello everyone, I am having issues with the function ChartXYToTimePrice. It is returning the correct price, but it always returns the incorrect time. I have written a script that creates a little red dot at the side of the chart that you move onto
DrBeardface
Added topic iCustom is making me sad
Hi guys, I'm having issues with the iCustom command. Basically it's working sometimes and not others, which I find a little bizarre. Here is my code. bool Scan_Super_Trend()    {    ArrayResize (Value1, 7 , 7 );   
DrBeardface
Added topic Help using iCustom
Hi everyone, I'm trying to use the iCustom command to take values from an indicator that I do not have access to the source code for. The indicator has a lot of settings, some of which are not numerical. I know that you have to pass the indicator
DrBeardface
Added topic Order Placement Issues
So I'm currently running 7 different MT4 terminals, on different accounts, with the same code, only with different parameters to try and optimise my strategy. I accidentally loaded the same parameters into 2 of those terminals, but couldn't be
DrBeardface
Added topic GetClassName and GetTitle
Is anybody familiar with the GetClassName and GetTitle functions in C++ and whether or not they have equivalents in mql4
DrBeardface
Added topic Keystrokes within an EA
Hi everyone, I am trying to get my EA to send the key command "ALT-R" (Tile chart windows) periodically. I'm using the following code. #include <WinUser32.mqh> #import "User32.dll" void Tile_Windows()    {    keybd_event( 12
DrBeardface
Added topic Incorporating a freeware indicator
I have a freeware indicator that paints really useful support and resistance levels on a chart that I want to incorporate into an EA. The problem is that I don't have the source code so I can't use iCustom because I don't know which buffers it uses
DrBeardface
Added topic Security of Indicators from Unknown Sources
Hi, So I'm using indicators from an unknown source in my expert advisors, and I wanted to know if there was any chance that they could be running any malicious code that could harm my computer? Or does MT4 have safeguards in place to prevent this
DrBeardface
Added topic Trade/Range Identification
So I can see what the market is doing by looking at it and I know whether to favour buy or sell signals in terms of entering a trade. Trouble is that my EA code doesn't have eyes and so I need it to be able to figure that out in a different way. What
DrBeardface
Added topic Strategy Tester
Hi guys and girls, So I've heard that the strategy tester in MT4 is a little bit wholly inaccurate. Does anyone have any tips on how to make it less so? For instance commands to avoid and what commands to use instead. I've been doing forward testing
DrBeardface
Added topic EA error that places multiple trades
Hi guys, I have an annoying error that causes my EA to place multiple (sometimes as many as 100) trades and then close them straight away because the fast moving average that I use as a close signal has not yet caught up with the price and fallen
DrBeardface
Added topic Calculating Take Profit as a Percentage of Account Balance
Hi Guys, So I'm trying to write a piece of code to calculate a take profit in PIPs that will equal a set percentage of the Account Balance at the time of placing the trade. I have preivously calculated the number of Lots for the trade as a function
DrBeardface
Added topic Reading CSV from a file into global variables
Hi guys, I wrote this bit of code based on a discussion I found on a different thread. But I can't seem to get it to work. Basically I have an on deinit function that dumps 8 different varaibles as CSV to a file. I know that bit works because I can
DrBeardface
Added topic Indicator timeframes
Hi guys, So I run an indicator that I have written on the hourly timeframes and it gives me fairly reliable signals. However I have noticed that it often notifies me quite late because it waits for the candle to close, which it only does every hour
DrBeardface
Added topic Calculating lot size as a function of account balance
Before I start, I know this isn't neccesarily the way people usually do things. But I am trying to write a small piece of code that will calculate a lot size that will enter a trade using a given percentage of the available balance (including
DrBeardface
Added topic Problem writing an EA to perform similar functions as a custom indicator.
Hi guys, So this is my first time posting on this forum. I have only a very small amount of coding ability, but after a few weeks of reading, trial and error, and trying hard to remember what I learned in school I have manged to write an indicator
DrBeardface
Registered at MQL5.community