Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1254

To post a new topic, please log in or register
Hello, I have some basic skills in mql coding, but right now I have a problem/question. I have never seen, but is it possible to have the return function to return 2 values? If the variables were x and y, it would look something like this: return (x,y); The idea is to have a function within an...
I am having a problem with the Strategy Tester showing a loss for a trade that shouldbe a winner. I am running MT 4.0, build 200. I have created a small EA to replicate the problem and have captured a screenshotof the trade results and the data (attached). Any ideas why a trade that clearlyhit the...
I have an external program that uses dde to obtain data from mt4... however in orderto send data back to mt4 I have to have an ea running a loop to get the data back,even when there is no tick coming into that ea... my question is, is there a wayfor the terminal to receive dde commands? or is there...
Hello, I see my EA has an open position opened yesterday. Open positions are normallyclosed at 17:00, but if the EA is not working at that point, it will close on TPor SL, which is not meant. Can someone check why my EA did not work at that time (maybe it's the EA's fault,but I guess not)?
Hi I'm hoping someone can help me with these two issues: 1. How do I find Time[0] for 1H timeframe if my indicator is running in 5M timeframefor example? 2. Is there a function that finds whether a particular file exists in a particulardirectory? Sort of like Dir? Thank you in advance M
I am looking for someone to help me programm code for meta trader for i will compensatewhom ever is interested.
Hi, I am new in using the MetaQuotes platform and the historical data that came withthe platform (GBPUSD M5) went only from mid-june this year. Is there a way to get at least the whole year 2006 in M5 for GBPUSD? Thanks
On the website of the Automated Trading Championship 2006, the Interview with Valeri Karpenko (valvk) has been published. Valeri's Expert Advisor, unlike the most of other Experts inthe Championship, uses pending orders instead of market ones. Besides, his ExpertAdvisor does not use any indicators....
All my MT4 Live and Demos accounts have intermitten data feeds. This can be seenas the clock in the Market Watch pane continiously freezes for a few seconds toa few minutes. Is this common? Can this interfer with trading? Wackena
How does OrderProfit() calculated for open orders ? what value does it return ? I have a problem with a code, I think I get it right but it just doesn't work I am trying to close all profitable orders. total = OrdersTotal(); //now two orders are open for(i = 0;i<total;i++) { OrderSelect(i...
Hi all :) I'm trying to develop an EA using this LRC indicator but i'm not ableenough to code it into an Expert Advisor. Is there a way to have a list code versionso that i can import it using iCustom function ? Any suggestion/help is appreciated ;) Thank you :)
On the website of the Automated Trading Championship 2006, the "Championship Report: Ninth Week" has been published. This week turned to be very surprising. There is less thana month left to the end of the competition, but the Top Ten has seriously changed.The last weeks' leaders have lost their...
  Count Bars (4)
How to count the bars of which Close > Open within 20 period ? thanks regards Kang
I'm getting repeated error message in my FDXX Demo Terminal window expert tab. "Expert Name".USDJPY,M15:OrderModify-Error # 1 mql error code 1 is "No error returned, but the result is unknown." Could someone advise what could cause this type error? Thanks, Wackena
Hi, Is there anyone here that experienced integration of MetaTrader and Currenex, inorder to automate trading (feed + order management)? Is the integration Brokerdependant? Luis Guilherme Damiani May the odds be with you !!
In my study of doubling or 'Martingale' systems, I've identified three major strategies that can be employed: 1. Counter trend. This is the strategy used in Terminator, Predator, DLM, 10Points3 and others, and involves continuing to trade in the losing direction, doubling each time, until the...
craig
1. If one uses the new 'download' button in the history center to get EURUSD data,it's missing the month of October for this year. 2. If one then imports Alpari data via a file, this will only work with the *.hstwild card in the dialog, not the *.* default. 3. Once the data is imported, MetaTrader...
  Mql2Mq4 v2.0 (2)
Hi, Just a little word about this tool. With it you can convert Expert, Indicator,script, functions writen in MQL II to MQL4 compatible with last MetaTrader 4 version. Very usefull to speed up convertion of old scripts. You can download last shareware version here [edited] Do no hesitated to...
'Error 146 ("Trade context busy") and How to Deal with It'
craig
If one tries to optimize a stratergy with a large number of parameters, it seemsthe variable which is used to count the number of passes wraps and you only geta couple of passes. e.g. If have a stratergy with these params [0..80] step 10. [10..80] step 10 [0..400] step 10 [0..400] step 10 [-5....
Dear Administrator, It is not very dificult to find a link on wich to klick to subscribe to this elite section. But I can nowhere find how to unsubscribe. I can see at the small star near the price that it will atomaticaly renew the subcription every month. Not very user friendly !!! Regards Johny...
On the website of the Automated Trading Championship 2006, the "Disqualification Report" has been published. 15 Participants of the Championship were disqualified or eliminated.The most frequent reson for this was violation of Clause III.6 of the Rules ofthe Automated Trading Championship 2006. The...
Hi, As I know we can't use Hyperorder and dynaorder with MetaTrader for sendingorder from other charting softwares like metastock/tradestation/omega prosuitebecoz the client API ver.4 of metatrader was not released yet, How do u work withoutit ? Hyper order and dynaorder are very good but at now . ....
I am new to the forum and have been looking at the Macd Sample expert to enableme to understand what is happening. Can somebody please explain what is SWAP OPENand SWAP Close and where in the code does this come from. These entries are inthe Results page after the expert has been run. Thanks
Hi there, had anybody tried to include a first indicator´s data setup at, let´s say, a MA? Even when 2 MA are in theEA, I can´t find the proper settings other than price open, close, whatever, for the one with the bigger daysetup. Any ideas?
  'Watch' lists (2)
I have been looking at the Metaquotes language, with the intention of automatinga trading system I have been working on. Most of my requirements are well covered, and the documentation is sufficient forme to generate a suitable EA. However, the EA seems to be attached to a specific 'symbol', or...
How do I get an email alert when silvertrend indicator change it's signal?
  Collector v1.00 (15   1 2)
Here is a new EA I've been working on which functions similarly to Terminator and others in that it using a Martingale-style doubling progression to keep the account in the market until a win can be achieved. The difference is that instead of continuing to trade in one direction when the market...
I believe that there is an indicator that converts the incoming data into non standardtimeframes in real time. However, per my understanding, that is saved as a file.Is there any way, I can trade using an EA on non standard time frames? For examples,how can I trade using 2 hour or 8 hour charts?...