Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1185

To post a new topic, please log in or register
Hi evrerybody Is it possible to make working my two EA? - in the same time - inthe same Timeframe (ex : 1 minute) - and with the same Currency Pair (ex :EUR/USD)I've change the MagicNumber (EA_1 = 10 ; EA_2 = 20) but they're working one afteranother even if, the conditons for a trade are good for...
I'm monitoring several charts and when I see a good trade entry point I'd like tocreate an order as quickly as possible without using the dialog box. What wouldyou suggest? Thanks in advance, Ed
Hi Could somebody explain how indicators are called in realtime - indicators have aloop 0 thru to a limit one sets .... is this entire loop executed on each tick? Thanks Paul
Hello, I think I would need to use a global variable to do this. If my starting balance was $500 and equity increased by 10% to $550, I would liketo close all postions The new balance would be $550 Then if equity increased by 10% to $605, close all positions new balance $605 Then if equity increased...
Hi all, This is my first post and I hope that you MT experts can help me out here. I would like to learn how to write simple MQ4 indicator scripts as a starting pointto understand how to progress to writing more complicated scripts later. For example, how would I program an indicator to audibly...
Let's consider following situation: we know that long term trend has just startedand we have just opened position according to this trend. After given time we haverealized short term trend revision. It's good to utilize it and earn additionalmoney. And here is the question: is it possible to open...
does anyone knows how to use mt4 web service api ?  thank you.
Hi I have successfully upload my expert for championship few week ago, and I deleteit on 31 Aug 07 to upload a new one, but now I cannot upload the new one. It keeppop up a error box with error below: "The file name may include only Latin letters, numbers, hyphen (-), dot (.),or underline character...
Hello, I need to delete some bad data from daily chart. Some history center functions neededto be coded in mql. Ibfx opens a wrong bar for sundays, a day bar with 2 hour data, disturbing dailycharts and producing dirty signals. I need to remove these bars, using my trading expert. Without...
I am using OrderCloseBy() in my expert to reverse existing position. To have an open position of 5lots - (max. permitted for Championship) I need tosend an order of double size -10 lots ( 5 lots- will close existing position and other 5 lots will stay open in opposite direction). Is it possible (...
Hi all mql4 guru's on the board... I wonder if translating code from wealth lab is easy or not ? I know it's mostly for stock but there is a public chartscript that's seem's like doing really well Also it's called a 17 liner -> seventeen lines of code to translate... RankingChartScript Net Profit...
Can anyone explain why the back testing results of the Championship is different? First I uploaded the EA to the Championship website, and I got the testing resultsfor my EA (I printed it to make my own documentation) that was based on the build208 After a few days I got another email saying that...
Appreciate anyone who can tell me how to add additional currency symbols to my Marketwatch so I can trade them. Currently I can only trade 4 pairs and consequentlychart those same 4: EUR/USD, GBP/USD, USD/CHF, USD/CAD. I'm assuming there is somethingin the code limiting viewing/trading anything else...
Hello everyone, and thank you for taking a look. I have a trading system/strategy that I need to have programmed into an Expert Advisorusing MetaQuotes Language 4. The system is not too difficult but does have quitea few requirments. I do not program but I've worked in the computer industry andI'm...
  Candle time (25   1 2 3)
High guys Hope you have had a good month last month, I certainly hope this volatility keeps up till Christamas, that way we can have a great New Year. I'm in search of an indicator that counts down the remaining time left for a candle. But more specifically one which I have the option of shifting...
Dear Everybody I want to cancel all of my orders on metatrader at once. and if there is an expertor program that does that at a certain profit the better. Can anybody help me inthis regard. Regards Mehdi
Can any body help me with the code needed to close out multiple trades using one account, one expert advisor and one trade at any one time per chart. I haveattached my ea so far the trouble is it will only close out trades when my takeprofit level or stop loss levels are reached.
I am trying to generate alerts for moving average crossovers. At the end of everybar, I am trying to print the moving average at the end of the current period andat the end of the previous period. However, the values are not consistent. Cansomeone help me what I am doing wrong. here is the code that...
Anyone interested to invest with me can contact me at liowkp@hotmail.com
This indicator plots days range, with a 10 day average. The code that misbehaves #property indicator_separate_window#property indicator_buffers 3#property indicator_color1 Lime#property indicator_color2 Magenta#property indicator_color3 Orange#property indicator_level1 75#property indicator_level2...
I have some code i built a while ago on metatrader3, the syntax is quite differentfrom mql4 which is what i'm now using. I want to know, is there a way of converting my old scripts into mql4 so i don'thave to write them from scratch? Thanks for you time, Ed
The idea is that from e.g. H5 I receive open/close position signal, but want toconfirmation from e.g. H1... Any tips how to use in 1 EA indicators from M5 and H1?
can i use a while loop like this in the championship: while(IsConnectetd() && !IsStopped) { sleep(500); refreshrates(); some code Ordersend... some code } the problem is all works fine in demoaccount and livetrading, but backwardtestingis impossible because of the while loop (impossible so...
On the website of the Automated Trading Championship 2007, an Interview with Eugeni Neumoin (nen) has been published. Eugeni Neumoin known as nen uses functions provided by MQL4 to develop his indicator named ZUP. In this indicator, he utilizes various methods.The indicator is based on many...
Hello, I'm working with an ea, and I need to know if the last trade closed for stop loss. How can I know it? Thanks.
Hi I want to write an indicator that returns the previous monlthy high and low relatingto each bar ... so the Time for bar n is Time[n] and to get the Monthly bar no relating to that time is m_bar_no = iBarShift(NULL,PERIOD_MN1,Time[n]) and to get the previous monthly high/low is iHigh(NULL...
hi all, i am using interbank FX demo account mostly for signals... i know how to put alert on some indicator,but what i don´t know (nee your help)is how to write code wich will alert me if for example three conditionsare met: for example: 1.price touches one m. average(or even better--price is near...
I haven't found an exact answer to this, but would I be correct in assuming thatthe execution speed of an EA is determined by the client computer? If so, is therea way to determine how long it takes the EA to process a new tick? Thanks Nick
1...117811791180118111821183118411851186118711881189119011911192...1245