MQL4 and MetaTrader 4 - page 1280

To post a new topic, please log in or register
The most important thing of an EA is to find out if it is profitable. To do thisthe Strategytester is very usefull if you use it the correct way. For that I allwayswent to Tools History Center, choose the currency and then downloades all timeframes.After that I went to the Strategytester and choosed...
Wouldn't it be helpfull to create a custom indicator (based on closing of the bar)that shows where the "perfect trader/system" would buy and sell. Thiswould allow you to visually compare the lag and accuracy of your own indicators,custom indicators and EA's. Offcourse we would have to use the spread...
Hello, I get the following error message in the journal when I run an expert advisor /strategy tester: 2007.08.10 07:20:21 2007.04.18 14:05 5EMAsAlert EURUSD.spot, H1: dll calls arenot allowed; 'wininet.dll'-'InternetOpenA' wininet.dll is installed on my PC at version 7.00.6000.16473 on XP SP2...
Hi everyboy I want to solve a problem : I try to get the Highest and Lowest sincea trade begin : First I do that : double top_High = High[ Highest( NULL, 0, MODE_HIGH,10, 1 ) ]; double top_Sell = Low [ Lowest ( NULL, 0 ,MODE_LOW , 10, 1 ) ]; Alert(Symbol()," " , Period(), " topH = " , top_High, "...
Hi, i've placed a MetaTrader MQL4 platform running on a server powered on 24 hour perday. I have activated an ExpertAdvisor on it on multiple cross. So, sometimes theEA doesn't open a new order, it seems it's sleeping. It seems that the MEtatraderplatform doesn't perform the Start() function every...
Hi guys, I'm new here. I have been working on couple of indicators lately and i would likeuse them in my expert advisor to backtest. I've no idea of how to go about creatinga new expert advisor with the indicators. I would appreciate if you guys the expertto help or provide with infos to learn how...
craig
It seems that MetaTrader downloads the latest live spread when re-calculating it'shistory files. This is fine during the week, but makes things somewhat unworkable during the weekend,a 5 point spread on EUR/USD tends to skew results. Is there some way of setting the symbol spread during a...
  FishStoch (5)
We have a few indicators based on John Ehlers works that why I ´m working on a compilation. This is the original code of Fisher Stochastic. it was made by Luis Guilherme Damiani. Have some troubles with arrays or custom function, but not big deal. I´m working on a fixed version. But the main...
Hello, Drawing trend lines from code is piece of cake when you specify the time for thetwo or three points. However this is not practical if you need to know if a pointbelongs or not to a trendline as well as finding two or more trendlines intersections,the angles between two trendlines and so on.....
On the website of the Automated Trading Championship 2007, an Interview with Al Parsai has been published. Al Parsai develops solutions for users of MetaTrader 4 andteaches how to develop Expert Advisors and other MQL4 programs. He is going toparticipate in the Automated Trading Championship 2007....
A new article, How to Cut an EA Code for an Easier Life and Fewer Errors, has just been published on the MQL4.com. Abstract: There is many trading systems based on technical analysis whether they are indicatorsor graphical drawings, that have an important property. I mean the symmetry ofsuch...
Does anyone know if an indicator can have a timer applied ? I have an email alert that I want to use for the London session but I only wantit to activate at times around the session open (plus and minus ~1hr from the sessionopen, say 1am to 3:30am). I dont want to wake up unless the trade...
Dear Programmers Does any one can code pending orders having trailing for entery and take profitand stoploss from high and low by X number of point from X number of candles Thx for help sasco_me@yahoo.com
I have uploaded my expert file for the contest a few weeks ago. How do I know if my expert's file has been accepted by moderator ? thanks
Hi, I purchased Avi Fristers PDFT ebook a while ago that teaches 3 different trading strategies. I like the Forex Runner strategy best and it seems to work more often than not. It's a simple strategy based on price but the problem is you can miss a lot of great trades if you're not glued to your...
  Pinocchio Bar (1)
I am trying to find away of coding a pinocchio bar but don't quite no where to start. Any help would be great Cheers
Can someone tell me what is ip address of datacenter that will be used for Championship. Can you please provide screenshot picture of the terminal connection settings
On the website of the Automated Trading Championship 2007, an Interview with Andrei Moraru (enivid) has been published. Andrei Moraru is a programmer from Ukraine. He is not so long ago in the Forex market, butalready develops his own trading strategies. He thinks that the success of an Expert...
  MACD Deatail (1)
In the expert example on this forum which executes MACD, the following code is used.Can someone explain what each value represents on the chart? MacdCurrent=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,0); MacdPrevious=iMACD(NULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,1); SignalCurrent=iMACD(NULL,0...
Hello Could you please help me? I want to control current status of my positions every time EA runs using OrderSelect() and OrderType() functions. does this fecth data from server every time or doesit work on client? does it cause flooding error? regards
1. The maximum amount of simultaneously opened positions and pending orders is 3 1A Does a take profit or stop loss count towards the 3 orders? - I assume not 1B If I set an partial take profit order in the opposite direction to my main position, does this count as an extra order? e.g 5 lots long at...
Practical Use of the Virtual Private Server (VPS) for Autotrading Autotrading using VPS. This article is intended exceptionally for autotraders andautotrading supporters. Author: Nick Revych
Hello I find attach expert here but it doesn't work( in backtest) after 12/2006 is thereanybody can help me repair it? thanks for your help.
  Lunar (1)
Hi, Please can someone please help me correct mistakes on this lunar indicator. I also need help adding it to my trading station. Thanks, Alan ===========Lunar cycle===========---8<---------------------------------- { Full/New Moon signals indicator MkVII Accurate to within 1 minute per 69...
The calculation for an indicator at the last statement highligted in red, below,(ie) OutPut3[i]=(xx[i]+yy[i])/2; //??????????????????????? does not work. My intent is to calculate the one day and three day moving averages(xx[i] and yy[i]) and then plot the average of those two averages. What am I...
How can ı change mtsc formulas to metatrader pls help me
PROJECT DETAILS We need a programmer to create Expert Advisor Code for a trading system. The final target of the project will be to create a signal provider software with graphic environment with the use of this Expert advisor code. All serious applicants please send an expression of interest...
I downloaded history data from history center(f2), and i found the data i downloadedwere not complete! CHF/JPY for instance, pls see the screen shot above. What's wrong with MT please? I downloaded data fluently and i have clicked 'download'several times, 'recaculate time frames' as well! Any ideas...
  need help! (2)
Hi, I want to add pivot points indicator in the chart. How should I do that? Thanks in advance. andy rarshi@yahoo.com
How do I buy the EUR\USD only if it goes up to a specific price? Or sell if it dropsto a specific price? Thanks in advance, Ed