Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1062

To post a new topic, please log in or register
Hi there, Is there someone here that can advise me about fine tuning an expert advisor? I have tried numerous EA traders and really had narrowed it down to one that did consistently well. However it has some serious issues about knowing when to quit or stop putting in trades if it gets stuck in a...
How can I know when the market is say an hour from the Friday closing or right at market close? I use demo accounts with two different brokers and they are on different server times and I would like to code my EA to close all open positions before the Friday market close. This is just for testing...
the win7 restore point and mt4 have a compatible trouble mt4 work just like win3.1, it will consume your resource, when crash it will roll back so when i reinstall and i got like those picture and i can open it but i have no idea where it is (firebird)
I am attempting to color a MACD histogram indicator. I needed a MACD histogram using all exponential moving averages so I basically took the builtin OsMA indicator and changed the smoothing function to EMA from SMA. I then wanted to plot all values above zero blue and all values below zero red. What...
I've seen this on other platforms but can't seem to find one for metrader4. Does anyone know where to find please? I searched the code base but couldn't find. -Neal
Hi, there, does any one use the script - "stepbystep" posted in below link? 'StepByStep' It seems I am having problem to make it work, not sure what is missing. Or, anyone has a similar script which could share with, please, give a favor. I have a couple of ideas to get the water tested, so, I need...
Hello, I have EA where I can define starting-up time: start=XHour*3600+XMin*60; but I need define more EA starts in day. Something like this: start=1Hour*3600+1Min*60; or start=2Hour*3600+2Min*60; or start=3Hour*3600+3Min*60; can somebody help me with coding? Thank you.
When I add a trendlines of any type even MA's if I then sign off and log in later they are missing. I thought something must have gotten buggerd in the software so I downloaded MT4 again but still have the same problem. This computer is running Vista but I have others that run Vista64 and I have no...
I need to pass the color of the Hull Moving Average to my EA. The HMA indicator only calcuates the value. I have modified the code below to draw a histogram instead of a line for the HMA. I've added a variable named ColorBuffer[] to pass the value of the color. See last few lines of the code. When...
I'm sure this has been asked a thousand times but I need to know how to do this so I can modify my own indicator and eventually build one myself. I would like to find available sources online without spending hundreds on books. If i could find example code with comments of what the code does that...
Hello again! I am trying to apply a price average in a yesterday format. Here is what I have; double DP = (High + Low + Close + Close + Open + Open)/6; double DP1 = (High + Low + Close + Close + Open + Open)/6, Current + 0; double DP2 = (High + Low + Close + Close + Open + Open)/6, Current + 1;...
Hello, I have a script that is contantly running (while (!IsStopped())) and looks at market info and prints the values to the log. If my intenet is diconnected and than connected again my terminal can recover and reconnect but my script was terminated: 16:06:00 PrintValues GBPUSD,H1: shutdown by...
Hello, I have an EA which performs significantly better when tested with the 'Open prices only' option in backtests on 15 min bars, as opposed to the 'Every tick'. I would like to make changes to my EA to force it to perform as it does when I test on 'Open prices only'. I am not a great coder, but I...
I realize the focus of metatrader is the EA's and the indicators.  But how about some basic drawing tools?  If you see Ninjatrader it has customizable fibonacci extensions and customizable fibonnaci retracements.  Would like that.
Im trying to get the difference between to 2 moving averages, and not doing well. I want to subract one MA's price close from the other MA's price close and then see if the sum is greater than or less then my magic number which is a decimal number. How can i do this with out all the errors? I have...
this scalper buy and sell on test but on demo or real account it does nothing is it because of if (IsTesting())
Hi, a short question: I would like to write a Text into a label object. The problem is, it doesnt make new lines. eg.: Spread: xx Accountlevarage: xxx Code: string spread = "Spread: " + DoubleToStr((Ask-Bid)/Point/10,1) + "\nAccountlevarge: " + AccountLeverage(); ObjectSetText("Spread",spread,10,...
  fapturbo (4)
I HAVE FAPTURBO CAN SOMEONE PLEASE TELL ME WHAT THE CORRECT GMT OFFSET IS IM ON THE EAST COAST NEW JRSEY
Hi, everybody I'm pretty new to MQL4. have some prior programing exp, need some helpto get started on the programing, have been trading currency fora while now and want to extend my box of tools and want to learnthe code. If there is someone from theBay area it would be even easier. if interested...
I need a coder to convert my Custom Indicator from MQL4 to Easylanguage (MCFX) ..... as well as modify existing coded strategy. I can be reached at htamone@gmail.com Best Regards,
HI, I am a programmer, but I do not have money to invest. Data from my EA: Results obtained in MasterForex/demo account Start date: 07/07/2008 End date: 02/10/2008 (Total 3 months aprox.) Initial Deposit: 25.000.00$ Total Net Profit: 665.974.75$ Pairs of work: everyone The Ea works in times of...
Hi to every body there is some body that have the 10 pips pro in the real account ? I want to buy this EA, but i want to see before some stament in the past, more than the live statment that i can see on Forex-Robot.com Ciao Frank.for
Hi, was using an indicator that is SERIOUSLY processor hungry...so I wanted to stream line it by taking all the code out of the start() function and placing them in custom functions...then just call the functions in the start() function...I code many simple EA's like this and it works great to...
Hi there, I understand how to use the iCustom() function in calling an indicator, and i understand basically how to use the buffers to determine if the indy is red or green... for eg. if you use the Henkein Ashi Indy, you can use the buffer 1 and buffer 2 to decide like this :...
Stock Strategies Builder is creator trading strategies in fully automatic mode. Stock Strategies Builder also creates a open source code Expert Advisers (mechanical trading system) in the language MQL4 for trading terminal MetaTrader4 automatically of selected by the strategy. The user simply...
hello I can not understand why my EA does not response on +DI and -DI crossing. int start()  {   p0=iADX(NULL,0,dny,PRICE_OPEN,MODE_PLUSDI,0);   p1=iADX(NULL,0,dny,PRICE_OPEN,MODE_PLUSDI,1);   m0=iADX(NULL,0,dny,PRICE_OPEN,MODE_MINUSDI,0);   m1=iADX(NULL,0,dny,PRICE_OPEN,MODE_MINUSDI,1);...
Hi, it seems I can't display more than 63 characters in one OBJ_TEXT. Could this be changed in the future updates?
Anybody knows how to add description to a Line object by mql code ? I would add a description above the line on the chart but I don't know which OBJPROP I have to modify. Thanks.
I dove in head long into the forex, promptly to get kicked square in the butt and lost all my money. I was interested in a few things: 1) How long did it take you to pick up the mql4 language and develop your own profitable EA? (How many hours per week do you think you put in and how many weeks...
Hi all, I am looking for an indicator that is based on heiken aishi, parabolic sar, slope direction line, or any other indicator that part of the code refers to open, close, high, low values of the currency pair/candlestick. The idea is to develop an indicator "on a separate window" that allows me...