Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1053

To post a new topic, please log in or register
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...
I would like to use an indicator written by Barry Stander that draws support and resistance lines based on Fractals. howeveer, the lines are very short. I would like them to extend to the right indefinitely. Actually I would prefer to be able to specify the number of bars that lines extend to the...
Let's say I am looking for the closing price for the EURUSD from 50 bars ago. How would I write that into a script? Thanks,
I have EUR/USD 5, 15 & 30 minute charts displayed with an EA attached. Can anyone tell me why the words BAD HOURS appear in my 5 and 30 minute charts (not the 15), what it means and whether or not this will have any effact on my EA?
I need mt4 client API Could you please send me your price list for desktop and server va7@winms.net Thanks
HI,I wrote an Ea which work with volumeMA indicator signals but it didnt work properely i attached it, please Lead me where is the problem .Best Regards
I want to do something very simple. I want to attach an indicator that I can attach to a single window and examine the currency over multiple time frames. All I want it to do is comment on the currency window with an up green arrow if it is trending up or a red down arrow if it is heading down for...
I have a small EA program which I need altering. Can anybody help??John