Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1184

To post a new topic, please log in or register
  Linux OS (1)
Is there any plan to make software Meta Trader under Linux Operating System? I alreadytry to install under Linux OS but I think it is a bad idea.
Hello all. I am trying to develop a basic MQL expert advisor for fully automated trading.I have looked around and haven't found very many tutorials on how to write EAs.Below I have attempted to write a simple EA, but am not sure about the syntax. int ilots = 100 //open position//if no other...
I have a problem with EA. When I manually close a trade opened by EA, EA will open another trade since thesignal is still in the same direction. How can I lead EA to open only one trade after each signal change ?
How to Make the Detection and Recovery of Errors in an Expert Advisor Code Easier In Export Advisors development, the questions of code errors detection and recoveryare very important. The peculiarity is that a not detected in time error may ruina precious idea of a trading system already on the...
Is there a way around the 8 indicator buffer limit in the initialazation functionof a program, I need 9 t make it work, thanks for your help
When I close part of a ticket, a new tick number is generated. How do I get thenew ticket number associated with the old ticket? Much Thanks, Ed
Greetings, I have 2 questions for the members. 1º) I would like to know if he would be possible to introduce a command to limit the total of commerce to theday. I say, I want that my EA makes only 1 or 2 commerce to the ready day and. 2º) Is possible to place a command EA to function it only in...
I am new to MQL4 (coming from TradeStation and Easy Language). Can anyone show me how to modify the MACD indicator code so that the histogram barschange colors? If the current histogram bar is greater than the last bar, it is green. Or, if thecurrent bar less than the last bar, it is red. Thanks...
My question is about Daylight savings time. If I have market hours coded in my expert like below: int TradingOpenHour=0; int TradingCloseHour=22; // Tokyo Open 07:00 PM EST (00:00 GMT) // Close 04:00 AM EST (09:00 GMT) int TokyoOpenHour=0; int TokyoCloseHour=9; // London Open 03:00 AM EST...
if we attach an ea on  chart gbpusd ,  if we send an order  thatby 1 lots gbpjpy in ea on this chart  will the order will be send ?
Hello I have the following question. I have a script that is sending sell pending orders for me and at certain valuesi get the error 130. The thing is that i am almost sure that there is no errorin the order details moreover it works for the other values. the order giving the error had the...
as the subject , please give me some advice ,thank you.
I had an expert adviser with an FileOpen working correctly. Then the automatic update occurred and now my FileOpen doesnot work. Has anybody else experienced this? I checked and rechecked my syntax and all appearsto be good. Thanks.
Hi, Is there a conversionprogram which converts the mq4 indicators into EasyLanguageso these indicators can be used in Tradestation 8.1? Thank you, Hank
I have tested my EA on provided demo acc:513681 In Strategy tester journal I can see logs of some errors: //----------------- 2007.09.12 10:15:50 TestGenerator: unmatched data error, rest errors will not belogged 2007.09.12 10:15:50 TestGenerator: unmatched data error (volume limit 9596 at 2006.12...
I have tried to uppload my files to submit to championship entry . website did not worked with this display Can someone give information about how to submit files to championship??
i'm new on this autotrading.... anybody could help me to write some code to settrading time for me pls... and where i suppose to insert that additional code?I find an EA here and i like to modify, but don't know how..... example; i liketo trade only from 7 to 13 only...
I do not know how to code this in my Expert Advisor I am creating. I am trying touse this to create a moving average of a iCustom indicator I have created. Either I need an example of how to code this or I needthe coding .MQ4 of Metatrades (Stock Moving Average Indicator) that comes withthe trading...
How can I fix it, anyone can help, please? thanks Marshall
I've read a few of the articles about Genetic Algorithms in optimization, and I've read that GA's may have been built into MT4. Does anyonehave any information on this? Does MT4 (build 209) use Genetic algorithms in optimization? Thanks Nick
Hi, I have a Java Lib which i'm using to evolve mql4 strategies . . . . im looking backtestthe evolved strategies from my java code. . . so from my java application i wouldlike to pass an mql4 strategy to the metatrader strategy tester and store the profit/lossof the strategy .. . . to achieve this...
when I load the EA on the chart, i don't see the smiley face. Instead a small crosscomes beside the EA. Can anyone help me please?
HI, anyone has a script to change the traditional 2 click order execution into 1click. I looked all over the MetaTrader and it doesn't exist as a configurationoption. Thx for yr coop.
I want to write an expert that sells or buy when two moving averages cross. When the slower cross the faster average it must sell. Can anybody pleasegive some advice.  Thanks
On the website of the Automated Trading Championship 2007, the article Registration Problems has been published. It gives a brief description of the most common errors in Expert Advisors submitted for theChampionship. Anticipating the growth of popularity of the Championship, the Organizers...
Hi, I want to create a script that sends POST data to a specific URL and reads theresponse. I've used the wininet.dll library, but I have problem posting the data.I followed the instructions on MSDN's help for the wininet.dll, but the post datais not sent. I've attached the script. If someone can...
  TAG a TRADE (1)
What kind of code can I add that will add a tag to a trade when it meet certainconditions? For instance, I have 3 or 4 trades in. One of my trades goes to -20 pips. At thatpoint, a hedge trade gets put in. How can I tag that trade so the hedging portionof code will not keep re entering trades...
Can my global variables be seen by the MT4 retail broker ?
----------------------- 2007.09.10 02:45 loading surfconquest on GBPUSD:60 84 kb of log files (must be less than 64 000 kb) 0 min 25 seconds Errors: 0 What log files ? Thanks
Hi, I am developing an EA which will scan through a list of Currency pairs to searchfor trade signals. Since EA is attached to One chart, and is fired for every tickin that chart, if the quote does not change in base chart for an extended periodof slow market, we may lose valid trade signal in other...
1...117711781179118011811182118311841185118611871188118911901191...1245