MQL4 and MetaTrader 4 - page 1307

To post a new topic, please log in or register
Does anyone know if running an Expert on an offline chart is supported by MetaTrader4?  So far, I have been unsuccessful in getting MetaTrader to call the start()function on an offline chart.
Getting an "invalid index buffer number in iCustom function" error inbackest. The error appears in the journal (numerous times, apparantly every tick). The custom indicator is NewTrend. The only call in the EA looks like this: H1Silver = iCustom(Symbol(),60,"NewTrend",5,66,0); H1Gold =...
There are two indicators which combined can create a very very profitable EA. I do not know if you have heard of them or not but here they are: ProSource NRTR_color_line I will attach these both so you can look at them, but for now let me explain what I think should be done. If we can make an EA...
Has anyone already brought up that iMACD is different from a constructed MACD? Not just how it's displayed, but the valuesare wrong. There are some other constructions out there (MACD_c2 is one, but ithas an SMA instead of EMA for the signal line which needed to be corrected) forbar-to-bar...
if (isSellSignal()) { if (Out==true)Short=GoShort(Lots); Print("Currently Out. Sell Signal Received. Going Short."); if (Long==true) Out=CloseOrder(); Print("Currently Long. Sell Signal Received. Position Closed."); } if (isBuySignal()) {...
Hello, I wanted to backtest my expert Breakout 2_2. But for some reason, it only testsit from 19.06.2006, I have data from 17.06.2004 ... If I try visual mode it just doesn't draw lines, and other experts DO work (I triedthe MACD Sample) from 17.06.2004. Does anybody have an idea how this could...
I'm new to this forum and hello everyone :) My question is: How do I specify a path in mq4 to save a file to the root directory (c:\)? Sounds simple but I can't seem to get around it. Somehow it keeps saying that thereare too many symbols (doesn't like the ":" I think). Thanks in advance Marty
How difficult would it be to provide a report on the championship accounts? Theequity curve and related data is intersting to me (and possibly others) and usuallyavailable after backtests, or from live account report. I understand the load mightbe very great for so many accounts, but perhaps they...
On the website of the Automated Trading Championship 2006 "The Championship Report: Second Week" has been published. It gives brief results of the second competition week. Thetop three expert advisors have been fully replaced by others, leader of the previousweek yielded their precedence, the Jury...
  New to Forex: Where do I start? (263   1 2 3 4 5 ... 26 27)
Hello guys, my name is Mike hope to be a regular here , does anyone have any suggestions on where to start on forex? I know babypips.com but does anyone know any good book that teach the basics? And, a few questions to the reqular traders here if it's okay :P : 1) How profitable can forex be? 2)...
Hi, I have two questions about the period converter 1) The file format that it writes looks strange, if opened directly. Is there aguide to reading it? Is it in a language other than English, or compressed or something.Here is a brief sample from the top of the file for EURUSD 1 minute data:...
craig
How can I select this particular trade?
Hi, My ea has extensive use of comments. I put comments within OrderSend(), but comments are being cut. Anybody knows the maximum usable length of a comment(excluding the part that can be added by server) ?
Can anybaody tell me if it's possible to alter indicators from MetaTrader? thanks
I need your argent help, I want some one tell me how can I write natural logarithmor Log in my equaiton inside meta4 editor program? it gives me always undefinedfunction best regards,
I am attaching an EA onto one chart (or several charts) in one of my profiles, butwhen switching to a different profile, the running EA(s) are removed. I unchecked the Tools->Options->Experts Advisors tab 'disable experts whenthe profile has been changed, but this didn't seem to have any effect;...
when using code below i get compile error - ")" wrong parameter countwhen calling function BuyMarket(); #import "tradelib.ex4" bool BuyMarket(bool showMsg=true,int slippage=3,int magic=0,color Arrow=DarkGreen); #import //+------------------------------------------------------------------+ //|...
Welcome to MQL4.com ! MQL4.community Administration announces that public beta-testing of MQL4.communityresource has begun. We are happy to invite everybody who wishes to participatein it and express our deepest thanks to all in advance!
Hello, I'm new to EA and have written in VisualTrader in past, but mql appears tobe much more challenging. I would be greatly appreciative for assistance in thisVT-proven winner, having almost all trades winners and only a few breakevens. Furthermoreit's really simple: One one-hour GBPUSD chart:...
New MetaTrader 4 build 198 has been released. What's new: Fixed sorting and choice of access points of the trade server.Improved working of the terminal through Data Centers.Fixed Expert initialization error when there is no connection.Improved the way of how the deleted chart template names are...
Hi, Is it possible to loop with one Expert using different extern properties, detachedfrom chart and saving result to file? If for example my Expert use 2 EMA for buy/sell and I would like to loop to testdifferent case as : // Test for the first with EMA(15) to EMA(32) and the second EMA(6) to...
Can the open positions in a backtest be excluded from the Strategy Tester results?
  Daytrading5 (7)
Hi everyone! I'd like to share with you this EA I found somewhere outside this forum... Backtests results show some potencial but I'm planning to forward test it in a few pairs. First off I'd be glad if someone can help me add MM option to the code. Thx
On the website of the Automated Trading Championship 2006, report of Jury Meeting 11 October has been published. The Jury discussed at its meeting a number of technical issuesconcerning the owrk of Expert Advisors and Client Temrinals of the ChampionshipParticipants. Four expert advisors were...
I would like to know how to calculate the number of bars since the last time my2 ema crossed. What to use, iBarShift ? and how ?
I am using an EA that places arrows on the screen--which indicate buys orders--andan indicator which places some yellow Xs on the screen as well. My problem is,how can I remove these. Once I remove the EA and the indicator, these arrows andXs remain on the chart. They are a special kind of arrow. If...
Hello, My broker give me quotes with a server time which is CET time. CET time is UTC time +1 Link about CET time and UTC time : http://en.wikipedia.org/wiki/Central_European_Time Which is boring is, if I try to work in daily time frame, I have sunday quotes,which are 1 hour quotes only....
Hello, I have a minimum knowledge of mql4, and I am searching for a solution for a codingproblem I have. I want the EA to start closing partially an open position, if the profit (in pips)reaches certains amounts. Example: Imagine there is an open position (buy or sell, doesn't matter) of 1 lot....