Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1220

To post a new topic, please log in or register
On the website of the Automated Trading Championship 2007, the article Statistical Report #1 has been published. A month has passed since the contest started. Now we have arich source of materials to be analyzed. The results of multiaspect analysis ofall Participants' equities are given in the first...
Hi, I am running a same EA on different currency pairs. I wanted only 1 trade openedfor any currency pair at one time. For e.g I would need only 1 trade opened forEURUSD, other opened trades can be of different currency pair but not EURUSD, whenthere is already open trade for this pair. Can any...
After an efficient method to calulcate average price for given time period (1 day,1 week, 1 month etc). Do I need to use a certain indicator? Cheers!
  I'm confused (4)
Can someone please tell me how to do this. I am writing a strategy into code andthe instructions say to have a rsi(8) then add a EMA8 to the rsi and when the rsicrosses the ema take the trade. Ok i know how to do a rsi and a EMA on the priceitself but how do i do an EMA on the rsi in a indicator....
Hi. I'm really getting up to speed with price action and identifying candle (bar) formations. Has anyone ever composed an indicator that'll spit out an alert when a candle closeswith the same low or high value as it's predecessor(s)? Ideally, I'd like to be able to set a tolerance of up to, say,...
Indicator line width parameter 2 or 3 (that draw a thicker line) is not appliedinitially after program change and compilation when I return to Terminal. Linewidth is allways "1" after compilation when I return to Terminal. However,the indicator looks fine if I remove it and reinsert it on a chart....
I would like to rename a file (or copy, or move) in the experts\files default mt4working directory, without external custom dlls, and without hard-coding the pathname of the platform. Does anyone has an idea how it can be possible? The simple WinAPI functions doesn't seem to work without full...
Hello Has anybody managed to control Matlab from MQL expert advisor? I tried it thisway: - I wrote C++ DLL to start Matlab, using Matlab Engine interface. DLL works finewhen called from other C++ programs. - I call my DLL from MQL expert advisor - Matlab starts ok, but exits immediatelyafter the...
I open a chart for the pair GBP/USD. I have selected 15M. Then I scroll back asmuch as I can and I can see data as earliest as 22 Feb 2007. How can I see 15Mdata before this date?
  Rhythm EA (5)
Found this on another website. Strategy and instructions contained within code.
Can anyone tell me how I can get the expert advisor program for the zig zag indicator?
I would like to setup the chart to highlight with different colors the hours oftrading sessions, i.e. I would make the UK session hours as Green and the US tradingsessions as blue, etc. thanks
i want get some data such as iopen,and write to a file,from 2004.1.1-2007.1.1 how can i do this,help i tryed many times but fell.thanks!!
On the website of the Automated Trading Championship 2007, the article Jury Session Record of the 6th of November 2007 has been published. At the session, the Jury discussed disqualification of severalParticipants. Three more Participants dropped out of the competition. The full text of the article...
Could some one please help me to find the right string name for this indicator soI can use it in an icustom EA set up
Trying to find examples of how to add simple graphics to the chart window that isdisplayed when backtesting in visual mode. The graphics would be very similar toa custom indicator. I cannot seem to find this info anywhere in the MT4 or MQL4help files. Thanks.
Hello, I'm trying to create an expert which open 2 pending order (buy and sell) on everynew candle. When one of the 2 pending orders get triggered, let say the buystop,and touch it's SL/TP, the other pending order will be deleted. How to do that? If the order closed becauseof it's SL/TP, can MT4...
MTF = multi time frame indicators double BarCountDownInSec() { double g; g=Time[0]+Period()*60-TimeCurrent(); return(g); } The above function gives the second count down for bars in the current chart. Soif placed on a 5 min chart, it will show second count down for each 5 min bar. Q: How do I...
Hello all, I wrote what I thought was great EA , and it might still be, but I'm having a bunchof difficulty with Data Center. I'm using version 4 build 221 with InterBank FX.I'm using my EA on USD/JPY 30 minute and when I backtest it to the beginning ofthe year all I get is 48.94% quality! Iv'e...
On the website of the Automated Trading Championship 2007, the article Reporting the Championship: Fifth Week (28 October-4 November) has been published. Five weeks have passed since the contest started. This week,like all preceding ones, made some changes in the Top Ten Expert Advisors. Thistime,...
experts message "uninit reason 2" When I compile an indicator already in a chart, I get this message relating to theindicator load initialized comments. Any ideas what this means ?
I can not write programs.Can anyone offer me customized expert adviser to make goodprofit.(I will pay for it)
  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...