MQL4 and MetaTrader 4 - page 1673

[Deleted]
There is an apparent bug with MathMod; the following code (copied from the documentation with the inputs changed) producesand output of 0.1 double x=0.6,y=0.1,z; z=MathMod(x,y); Alert("The remainder of ",x," / ",y," is ",z); Can anyone shed some light on this (I have tried normalizing all the...
On the website of the Automated Trading Championship 2006, the Interview with Michael Bullock (Zonker) has been published. Michael is a professional programmer. He started programmingon ZX81 when he was just 10. With his great experiences, he immediately startedto develop Indicators and Expert...
[Deleted]
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...
[Deleted]
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 normally closed at 17:00, but if the EA is not working at that point, it will close on TP or 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)
[Deleted]
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
[Deleted]
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 with the 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....
Hi all, Maybe I'm wrong, but I haven't found a thread about the fundamental application of V.Mat. and its sections such as the forecasting of vector of probable chart development, chart continuity at a point or chart convexity theory for forecasting the probable development of market direction. Is
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
[Deleted]
  OrderProfit() ?  (3)
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...
[Deleted]
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...
[Deleted]
  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, in order to automate trading (feed + order management )? Is the integration Broker dependant? 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...
[Deleted]
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 *.hst wild 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...
[Deleted]
'Error 146 ("Trade context busy") and How to Deal with It'
[Deleted]
If one tries to optimize a stratergy with a large number of parameters , it seems the variable which is used to count the number of passes wraps and you only get a 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..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 . ....
[Deleted]
I am new to the forum and have been looking at the Macd Sample expert to enable me to understand what is happening. Can somebody please explain what is SWAP OPEN and SWAP Close and where in the code does this come from. These entries are in the Results page after the expert has been run. Thanks
[Deleted]
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?
[Deleted]
  '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...