Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1133

To post a new topic, please log in or register
hello everybody, i'd like to detect when the user clicks the "Expert Advisors" button in the MT4 terminal, the Init() funtion only triggers when i attach and advisor to a chart, but i want a certain code to be executed every time the EA is activated using the button mentioned above. i.e. everytime...
Iliya Gladkov
On the website of the Automated Trading Championship 2008,an article Kohonen Maps by the Example ATC 2007 Resultshas been published. During Automated Trading Championship we obtainlarge amounts of data. There are numerous ways for the visualization ofsuch data. We constantly study new methods and...
Hallo guys ... I need ADX and DMI defrent period but in the same window ... I make one of this but still not good enaught ... can anyone help with this indicator ...??? please ...
New article How to Write Fast Non-Redrawing ZigZags is published: A rather universal approach to writing indicators of the ZigZag type isproposed. The method includes a significant part of ZigZags alreadydescribed and allows you to create new ones relatively easily. Author: Candid
Hello, Can anyone help me in finding out the variant of Heiken Ashi indicator whose output is similar to the attached image? Thanks GK Heiken Sample output
hi, newbie here. i am trying to get this EA to not trade on the next bar or number of bars after a trade is closed but there is a valid entry signal? This could probably do with a bit of a clean up as well as i have modified this from somewhere else. cheers in advance wayne...
How do I work out if this is the first time the program has been run? I can setup a variable say called FirstRun but each time the user changes time frames the variable gets reset. Thanks, Steve
i newbe i get some EA from my friend, but the problem when close all the openorder not closeall but delay closeall.i am realy desperate about this problem plz help me
How, and were to change the moving average script. do you know it . Calculate open position area and the " check for open orders conditions" and " check for close order condition. there is a loop there,but I do not know this program style. some help would be help full.this looks a little like...
I use the basic heikin ashi functuion. I try to make a buy sound when the candles 1 and 2 are of a different color. This seems to work fine now and then, but some times I just get sounds without the proper condition. What am I not doing right? Thanks for helping.... This is the code (just added the...
OBJ_RECTANGLE - can I use pixels to define the corners? If so how? Thanks.
error is '++' - illegal assignment used code is return(i++); if change to i++;return(i); no error editor help is A return operator terminates the current function execution and returns the control to the calling program. A return(expression); operator terminates the current function execution with...
Hi I have the code below ... the line in red keeps giving a compliation error - I cannot for the life of me see what is wrong - can anybody spot it? (BarIndex is a function defined and coded at the bottom of the script) Thanks Paul #define TF 9 #define MAX 999 #define SRT 3 #define VAL 0 #define...
Automatic Checking This year, we developed a system of automatic checking the submitted Expert Advisors,checking results being reported and the authors being notified about test results.This solution accelerated checking and improved its quality. The first severaldays of automatic checking revealed...
I created an indicator which uses Comment to write something on the main chart. But when I deattach the indicator, the text remains there. How can I erease it? Thanks.
I'm trying to see if my EA will put a moving average line on the chart. can it do it or not?
  Magic Number? (1)
What is it and what is it used for?
Hello everyone i am new to MQL so i have a few questions. how to deal with negative values of some indicators, how to compare them. its so confusing... could you please tell me what structure (algorithm) for opening and closing i have to use. i'd tryed to write an absolutly simple strategy with...
Any fucntion or technique to move chart to specific date or x-axis of main screen..?? I know the Manual method (Writing date at the lower left box of a chart). But, I can't realize this in codes... help pliz......
Hi, any idea how to open multiple orders on different currency pairs using just one expert advisor? Thanks!
Hello EveryBody, I am trying to place an order using an EA, but nothing happens, could anybody tell me please where the problem is for(int i0 = 0; i0 < 100; i0++) { if (OrderSelect(i0, SELECT_BY_POS) == true) { if (OrderSymbol() == "EURUSD") { Total++; } }...
Can anyone please confirm if MT Mobile terminal works with Nokia E71. Please share your experience, and advice as I want to buy Nokia E71 for this purpose. Any drawback of using mobile version compared to the regular one. I am currently trading with FXDD. ckm
Hi All, I've create an indicator based on the difference between two simple moving averages (which goes to zero when they cross). I've added a parameter for period just so I can compare the 15 minute, 30 minute and 1 hour on one chart. The thing is that when I look at them on the 15 minute the...
I have down loaded the Heiken Ashi Smoothed indiactor. I would like to be able to add, at the bottom of the chart, a straight line of the Heiken Ahsi Smoothed for different time frames, so that I can see the monthly, weekly, daily, 4 hour, 1 hour, 30 min, 15 min, 5 min, 1 min. all at the same time...
I am seeking an indicator that draw a line uniting two maximum of the same price on a graph to 15 minutes in a range of two days or something similar. someone helps me ? Thanks
New article Idleness is the Stimulus to Progress, or How to Work with Graphics Interacively is published: An indicator forinteractive working with trend lines, Fibo levels, icons manuallyimposed on a chart. It allows you to draw the colored zones of Fibolevels, shows the moments of the price...
I found function, 'LogWrite' in the program "Firebird v0.63". But I don't know how to work this function. especially, I wonder where I can find in the expert folder the file that is created by this function. //+-----------------------------------------------------------------------------+ //|...
I have noticed that when I change time frames (same from H1 to H4) all the global variables are reset to the value that was give to them when they are defined, is it possible to stop this resetting? Thanks, Steve
Hello everyone, please i need help with this code I wrote for an EA.it compiled perfectly but doesn't seem to do anything when I tried to use it to trade. The EA is supposed to open a buy position when ema 5 is above ema 10 and RSi value is above 50 and the diference between the two emas is >=...
How do I go about finding a systems programmer? ie. someone that can program, can understand design specs, can provide ideas and improvements, and can stay within budget? etc etc. I think I got a system in me, but do not want it given away. I need a programmer that will be discrete.