MQL4 and MetaTrader 4 - page 1256

To post a new topic, please log in or register
Hello, I am not a code writer nor programmer. However, I need to make two envelopes ona 9 Day Simple Moving Average on close. One envelope 1/2% of 9 DSMA and the other1% of the 9 DSMA. I don't know where to begin and would appreciate any help available.Thanks..docjames
How does one count UP Bars versus DOWN Bars and vice versa? For example X amount of UP bars to enter and Y amount or DOWN bars to exit. .. Cheers!
I'm trying to show a comment on screen. i would like to put it below the abovelineetc. Here is the example: Comment("",Name, " "," First Buy ",FBFirstLevel,"", "Second Buy " ,FBSecondLevel, " ", "Third Buy " , FBThirdLevel, " ", "First Sell " ,FSFirstLevel, " ", "Second Sell " ,FSSecondLevel,...
Hi I have an EA that Im testing on the strategy tester and its very confusing howStrategy tester works. ao1 = iCustom(Symbol(),PERIOD_H1,"AnyIndi",0,0); See Im setting the PERIOD_H1 The funny thing is it only make profit when I attach it to M15 on the Strategytester, not on M1 or any other. Is...
At the website of the Automated Trading Championship 2007, the Reporting the Championship: Second Week (8-14 October) news has been published. Several interesting events have taken place within thepast 5 trading days. Participant AxelForex has rushed to the first place. He wasnot among even the Top...
Hi My EA is spitting out error 31 on 0.08 lots on $1000. I know what the error meansbut I dont get this error on my Live account. Its when I use Strategy Tester. Is there a way to bypass this in Strategy Tester? L.
Object Approach in MQL This article will be interesting first of all for programmers both beginners andprofessionals working in MQL environment. Also it would be useful if this articlewere read by MQL environment developers and ideologists, because questions thatare analyzed here may...
  EA not starts (5)
Hi All, I have written an EA, and in a few cases, it doesn't want to start, when I attachit to a chart. It hasn't got init() function, and the first line of the start() function is: Print("Error code at start begin: ", GetLastError()); And it prints nothing. When I change period, it generates...
Hello, I have developed an EA that works well in the strategy tester (i.e. indicates tradeentry and exits as required) when I use the "Open Prices Only" model.It does not work when I use the "Every Tick" and the "Control Point"models (i.e. I get no trades at all) When I attach the EA to a chart for...
Can somebody explain this to me? I dont understand my MetaTrader tells me that it closed at 2.0338. Does this happenevery weekend?
OK i made this EA that has good results and has never lost a trade in 2 years. Iwould like for it to double the lot size when the balance doubles. Is there a scripti can use 2 do this and if not can someone please help me because i think i havea 1000 to 1,000,000 in one year type EA.
Hi I'm updating my code from version 3 to version 4 and I could use some help! Here is my version 3 code: if Period=60 and iMA(10,MODE_EMA,0) > iMA(20,MODE_EMA,0) and iMA(20,MODE_EMA,0) > iMA(50,MODE_EMA,0) then Begin h1 = FileOpen(Symbol+"3", ";"); FileWrite(h1, "1"); FileClose(h1); end; How do...
I need some to please create an Expert Adviser for me. Am a newbe and realy dontany thing about programing. Expect to hear from you guess
hello. I need a programmer to write an alert to an email for a price range and volume triggerfor 60 min chart. Please write to me directly if you are interested. thanks. lazytrader01 esales@tm.net.my
On the website of the Automated Trading Championship 2007, the article Restart of Participants’ Terminals has been published. Some Participants had problems with sending logs to the Championshipwebsite server. New versions of terminals will be restarted at the weekend. The full text of the article...
Hi , how can i code this one: i want my ea automatically put stoploss at breakeven point (Buy or Sell price +-spread) after collect certain +ve pips for example after +20 pips. Thanks in advance
Dear coders...can anyone create an indicator which can give an signal as below : 1) 5min TF 2) if it is an up trend, the entry signal : the formula will be ( minus 3 pipsfrom current offer price, plus 10 pips, for the target) 3) if it is an down trend, the entry signal : the formula will be (...
HOW CAN I HAVE ACCESS WITH METATRADER (EA) TO FUNDAMENTALS AND THE FORECASTS? I.E. METATRADER ACCESS TO WEBSITES LIKE FOREXFACTORY.COM OR FXSTREET.COM OR ANYTHINGTHAT HAS CALENDAR.
Hello, I need some help please i am trying to write a bot that requires pivot points,my problem is that all i get from the iHigh, iLow, and iClose values are 0's. I figured out that i could use the ihighest andilowest to obtain these 2 values however what can i do about iclose. Thanks foryour time.
Can I insert a clipboard image into a topic message (such as this message) and ifso, how?
Hi, My girlfriends and I are trying to code our first EA and we wanted to know aboutusing diiferent time period data; we read on some forums that it's a good thingto do. We know about the Timeseries access functions but we had a few questions: 1. Why would you do this? 2. Some examples of this...
Chart time frame : H1 I have a trade opened at 16:20 ( of course it can be anytime, like 16:30, 16:55)within a current H1 bar. I want to run a indicator check when the next hourly bar starts , say at 17:05 orgreater Like if(TimeCurrent() > "17:05") - So I need to find the seconds diff btw 16:30 and...
Hi, Is it possible to change time of start day chart bar to eg London start (now 7GMT) , some script similiar to time frame change ? Now start of day bar is at 0:00 server time. Thanks for answer. Andrew
On the website of the Automated Trading Championship 2007, the article Jury Session Record of the 10th of October 2007 has been published. At its session, the Jury discussed the issue of disqualificationof some Participants the Expert Advisors of which had not complied with the ChampionshipRules....
Hi! I'm in need of a programmer to write an EA. I receive signals from a signals provider.I've had a program written to POP into an email account, check for new signalsand parse those signals to a .csv file. It's very interesting. I've been with thesignal provider for the last 2 months and they are...
Has anyone managed to program the Gann Swing indicator in MetaQuote? It's codedin metastock. I wonder if you can share your code? Thanks.
Hi Guys ! I need some information about how to control pending order, I am looking to know what is the procedure to avoid EA to open many pending order. When i teste in strategy tester, everything work, but when I turn one my EA to tradelive, It open many pending order, I only need one ??? anybody...
I am new to coding and would like to add a code to expire an EA in say 10 days.How do I do this? Thank you
I wanna increase the lot size when my balance hits a certin number, Please helphere is the code #property copyright "© 2007 RickD" #property link "www.e2e-fx.net" #define major 1 #define minor 0 extern string _tmp1_ = " --- ????????? ????????---"; extern int N = 3; extern int Lots = 10; extern int...