Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1221

To post a new topic, please log in or register
  MQL4 book (1)
Does anyone know of a good book on MQL4?
How can I get the code base for EA of 2 exponential moving averages of trend period 5 and 10. Buy when the 5 period signal crosses up and sell whenthe 10 period signal crosses up continuosly until i disable the EA? Thanks, Edwin
Does anyone know how to find the index of a window based on the symbol ? WindowFind is supposed to work with indicator names, and a WindowFind("EURUSD")will return -1...
Please write a MQL4 for idiots book. I'll be the 1st in line to buy 1.
  Time of a Bar (5)
Is it possible to find the time of a Bar, I am stepping through a chart and wantto do time related calculations ?
Hi, I wanted to do some programming based where the cursor position is on chart. fore.g I want to display the RSI as a label on chart where I place the cursor ( Ido know that it can be shown on Data window but i wanted to do some different thing). I can display the label actually but I have no idea...
For the life of me I can't understand why I can't get a simple .dll to compile andthen work in MT4!!! I posted on this before and while others are interested to know the answers alsowe have not heard anything from a moderator or other expert. My problem is thatI keep getting Error 127, "cannot call...
Hi, I am looking at the Schaff indicator and want to use it in my expert. I am not getting out any numbers though: What is wrong here? double schaff = iCustom(Symbol(),PERIOD_H1,"Schaff",23,50,10,300,0,0); //+------------------------------------------------------------------+//|...
Hi, all... I back-tested my EA month by month starting January 2007. From January throughMarch, I got positive result. Funny thing is, starting April, I got OrderSend Error 130 (invalid stoploss). This is really way out of me, guys. I'm not a programmer. So, please, anybody,help out... Thank you.
On the website of the Automated Trading Championship 2007, an Interview with Matthew Brown (Matmospheric) has been published. Matthew Brown is now among the best ten developers, but he is not very surprised at it. Hehas presented in the Championship his Expert Advisor that was thoroughly optimized....
I need to access the Bar information at the current right-hand-side of chart window?I am trying to build an indicator that works off the current right-hand-side pricebar for manual back-testing instead of the last price bar in the series. In effect,I would like a dynamically changing indicator based...
New MetaTrader 4 Client Terminal Build 210 has been released:Fixed displaying of profits "as Term Currency" for futures.Tester: removed the checkbox "Recalculate". Now the testing sequence isgenerated each time anew at clicking "Start".Tester: improved the generation algorithm in every tick modeling...
On the website of the Automated Trading Championship 2007, an Interview with Boris Vilenski (bablokos) has been published. The Participant from Israel decided to write an automated tradingsystem based on his professional experience, though it is far from trading. Boristhinks that "for being...
Can Someone please assist me: How can I automatically close an existing Order whentwo Bars have formed after the Order was sent Originally two days ago. I'm usingthe Daily Charts. Thank you
Hi folks I give this E A and strategy on free licence to Elite section at forex tsd.The licence is only for use by members of the Elite section and can not be reproduced on any other message board. This is the basic version and is profitable on Euro /usd I would like to thank Tocatta who...
Hi. A simple question; is there a way to zoom in on a specific area of a chart? Let's say I'm looking at a Daily chart, three weeks back from present time. I seea swing low and I want to 'examine' it on the M5 chart. Right now, if I switchto the M5 chart, I have to laboriously scroll back though...
I'm trying to write an EA that places an order at Noon everyday and has a specificexpiration which is midnight local time everyday. Local time is 6 hours after GMT.Is there a way to have the EA update the expiration automatically?
  help please (6)
is there some code to determine if an order is market or pending?
WHAT DO YOU THINK ABOUT HEDGING THE HEDGE, COMPARE EURUSD/GBPUSD RATIO1 TO GBPUSD/AUDUSD RATIO2. PERFORMING CORRELATION ANALYSIS ON RATIO1 VS. RATIO2 GIVES NEGATIVE CORRELATION(NOTALWAYS). THE REASON FOR THIS STRATEGY: AFTER DOING PAIRS-TRADING FOR A WHILE INOTICED THAT SOMETIMES YOU ENTER AND THE...
HOW CAN STOCHASTIC DIFFERENTIAL EQUATIONS BE APPLIED TO FOREX? I TOOK THIS CLASS AND DIDN'T REALIZE THAT BLACK-SHOLES FORMULAS ARE ALL DIFFERENTIALEQUATIONS. I DID SOME RESEACH ON DIFFERENTIAL EQUATIONS AND PRICES, AND ONLY FOUNDTHAT THESE EQUATIONS ARE USED IN OPTIONS.................IS ANYONE...
Dear all does anyone know what indicators these are at the top on your right in the picture?like the price feed, spread, hi to low , daily Average, MACD, that is the picturemy friend sent me and he didn't want to tell me where he has got these indicatorsfrom, can you let me know the name of it
Indicator Taichi - a Simple Idea of Formalizing the Values of Ichimoku Kinko Hyo Hard to interpret Ichimoku signals? This article introduces some principles of formalizingvalues and signals of Ichimoku Kinko Hyo. For visualization of its usage the authorchose the currency pair EURUSD...
GoodDay. Look at the chart below. I'am trying this and it works fine on demo M5 GBPUSD. The philosophy behind this system is : 1:When to not enter ( denoise M5.). 2:Acceleration means adding lots. 3:NO TP but lock profits by trailing stop (let it run). Entry rules: Long if the bands are going up: At...
MQL4 Language for Newbies. Custom Indicators (Part 1) This is the fourth article from the series "MQL4 Languages for Newbies".Today we will learn to write custom indicators. We will get acquainted with theclassification of indicator features, will see how these features influence...
Hi, I tried to set fibonacci for stoploss and takeprofit, and use the following: double highest = High[iHighest(Symbol(),PERIOD_H1,MODE_HIGH,p,0)]; double lowest = Low[iLowest(Symbol(),PERIOD_H1,MODE_LOW,p,0)]; double tpb = (OrderOpenPrice()-lowest)*1.618; double tps =...
Hi all I am using the standard bar open code if (timeold!=Time[0]){ timeold=Time[0]; to kick off my EA decisions for trading when a new bar opens. In the back testinghowever I get completely different results using every tick for a run comparedto using open prices only. I would have thought the...
I cannot use my older FXT files with older builds either recently. (The ones whichhad the recalculate function.) The whole system could be used like a month ago. The checker function in the FXTheadergives no error, when running it through the files. I even attached FXT collector,and collected ticks...
On the website of the Automated Trading Championship 2007, the article Reporting the Championship: Fourth Week (22-28 October) has been published. One month has passed since the Automated Trading Championship2007 started. The first place changed its owner every week. We witnessed suddenups and downs...
  EliteSection Portfolio automation (73   1 2 3 4 5 ... 7 8)
I have some crazy idea. I monitor all Step EAs trading for the long time. And i want to say and this EAs (all the versions) are having very good entry almost every time. It may be good if we can improve our SignalSender indicator https://www.mql5.com/en/forum/177102 to send the trading signals...
is there an EA or codes to close all open and pending orders once taking profitis hit? thnx