MQL4 and MetaTrader 4 - page 1672

Hi all, gives a mq4 Experts Tradingsystem like works with Hull Trend indicator, in 15minUSD/EuR. Somebody now it? Regards gatowman
[Deleted]
Hi Friends, I have written a few EAs in the past, but never a script (which I am not even totallyclear on the distinction, except that an EA enters and closes trades, and a scriptusually does a single function (I think)). Anyway, I need a script that will Close all open orders if the total profit...
[Deleted]
Is there any way I can actually change the MagicNumber of an order through an EA. I have 2 Magic numbers MagicPrimary and MagicSecondary. Depending on circumstancesthe order will get one or the other MagicNumber. However some circumstance maychange and I need to change the MagicNumber. How can I do...
[Deleted]
Evening to all, I'm new to forex and have 2 simple questions :) Q1: When i approached a naysayer Remisier "buddy" (Mr A) and asked himabout hedging eur/chf, he asked his broker colleague who is supposed to be a forexexpert (Mr B), instead of buying 1 lot of eur/usd and 1 lot of usd/chf, he...
Know your risk before you trade.. Thank's for alex.. I have modified a little....... Enjoy it....
On the website of the Automated Trading Championship 2006, the "Championship Report: Tenth Week" has been published. Only 10 trading days are left till the end of the Championship.Leaders are still rotating in the Top Ten. Anyway, Ldamiani and Hendrick and arestill holding top places in the...
mbtrading,com/fx gives 1/10 pip spread on all pairs, hence i wish to trade withthem. but at the same time i love the mt4 platform because of the ease of making thecharts and indicators to choose my needs. how do we integrate the two togather, they do provide all the api functions, howdo we use...
[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'