Download MetaTrader 5

MQL4 and MetaTrader 4 - page 882

To post a new topic, please log in or register
Hey guys,  just wondering, what is the best way to protect my EA against decompiling or stealing. Or you guys prefer to host your EA on service or running your EA on private computers. cheers, A.
Can somebody please share with function that moves trailing stop by jumps. For example, moves stop loss every 10 pips. Many thanks.
Hi, I'm manually testing a strategy (going back on the chart and playing it 1 bar each time). I'm using the closes and openings prices as the prices I entry/exit a position. Now if for example the spread averages 3 pips, and I enter when the opening of a bar is 1.10000 and exiting when the opening...
I guess I dont understand this part of building an indicator as well as I thought. I want to have a single price line, with three different colors, bullish, bearish, or neutral. In the beginning I thought it was easy, since I had looked at the slopeline indicator as an example, which just sets the...
  New bie (1)
Hi, I am new, and wish to have a simple sample EA programe (can do Moving Average, Stochatic, CCI buy and sell signals and auto trade) that can run on Meta Trader, then i will slowly develop my programming skill based on the simple programme that is already running to further enhance the programe....
Looking for a way to keep the chart an ea is running on with a vertical size of 200 pips, current bid in the middle?
hi i want to try to get some Bid in different time in candle 15M .. i mean, i want to know Bid in Minute 6 of a candle or some other time .. i used for and sleep() for that and volume[0]=1 for opening candle but its not good and i can't to have strategy test ... so help me about that this is my...
This is what I am using to close all of my orders at once. There is a chance I will have pending BUYSTOP, SELLSTOP, or open OP_BUY, OP_SELL. I want this function to close them at one time. I do get orderclose errors. Is there something wrong?...
Hello, I am wondering if anyone can help with an indicator that I am trying to build. The general idea is to have a vertical list made up of 14 rows and 3 columns. The first column would contain currency pair symbol names, the second column would contain the amount of pips from that pair's daily...
Hi everyone, I am looking to hire a programmer to write an EA using 2 or more currency pairs. eg the AUDUSD and the NZDUSD The program would be a typical hedge EA. ie it would go long in one pair and short in the other. When it hits a certain profit/stop loss it would exit. It would place only one...
Hi all, I would like to be informed when an order hits its SL or TP price specified during the OrderSend (). Which function should I use? Or which method am I called back when it happens? Please advice. Thanks.
I have a demo account to which I have added a Forex EA which appears to operating correctly. The manual shows the 'Expert Advisors' button being clicked and the settings adjusted. I cannot get the button to open a drop down list like is shown in the manual. I have attached a copy of the relevent...
Hello everybody, I'm looking for help as I just buy new laptop with Windows 7 on. I tried to install MT4 but I've got an error message : File not found (but everything is ok with the file) so if you got some great ideas to help me it'll be really usefull. Thanks by advance, Best regards, Benoit
i want a pending order based on the open order suppose i have a buy order at 1000, i want 2 limit buys one at 10 pips below the buy order and othe at 20 pips below the buy order can any one help me plz
Hi, I am newbie to this community as well as forex trading, kindly help me. Actually i am looking for the programing side to pick up the candle position in the chart window, to match with the various indicators. If any strong in programming side just help me or else guide I can make it.. Thanks...
hi, i am trying to retrieve the time at which a (pending) order was placed. take, for example, a buy stop order placed at some time XXX. now, when the market reaches the entry price the trade is activated. the time at which this happens is accessible through OrderOpenTime(). is there any way of...
I get a bunch of OrderSend130's and don't know why! Can anyone shed light? I didn't include the CloseAll() method because it would just distract. I'm getting errors from the opening of the orders and it's only opening half the time it should be. Thanks all! int Symbol.magic=90022; extern double...
hi i have a question about reading Bid value inside script, which is run with infinite loop. When i run this script: int start()  {   while(true)   {      Print("Bid:",Bid);      Sleep(10000);   }   return(0);  } it takes Bid value from the moment when script was started, and isnt refreshing it....
  Weird problem (2)
When I run a backtest the strategy tester opens and closes positions over the current period high. For example. #6 buy 0.10 EURUSD at 1.30837 1.30837 EURUSD M1 2010.08.02 03:36 Open: 1.30823 High: 1.30827 Low: 1.30821 Close 1.30822 It does that on MT4 and MT5, on both of my 2 computers and...
In conducting some walk forward optimizations i'm looking for an efficient yet easy objective function to dictate which settings were the "best". By default MT4 gives you, Profit, Profit Factor, DD$, Expected Payoff, DD%, and Total Trades. By themselves, none of them are mind blowing as an...
HI, I am trying to add an exponential Moving Average of the lows to the chart using the custom indicators function. However, the system doesn't allow this. I am on a demo account, by the way. Please guide me. Thank you
I'm trying to initialize a global array double set[2][8][2][8][100000]; but I get the following compiling error: '100000' - too large dimension What gives? I thought i read somewhere that mql4 allows for up to eight dimensions in arrays.
Hello,There were a couple of articles posted on this site about using neural networks, more specifically fann2mql, when creating EA's. The articles had links on where to down load the library so that it would work with mql4 but the download does not seem to work. Does anyone know where else I could...
Hi members, A professional C++ programmer needed to write MT plug-ins . Please send me PM . Thanks
Hi everyone, Im working with VT trader and XTB trader for some time, but now Im looking for some alternative. Can anyone suggest some another alternative? Thank you very much
Hello, I have a small query, If I change the magic number of EA will it affect the execution of trade?? example of original magic number: 20045719 I changed to 20045720 last two digits I changed (increased) what will happen in this case? will it execute immd or will delay? please guide me thanx...
I download .hst data - which ends up in the.../virtual/... file store for Windows 7 MT4, rather than under ...\Program Files\... The download of the .dat data successful and the .hst files are generated with the correct names. However, no matter where I move the .hst files the tester is unable to...
Hi, Is there any way to delete a pending order that doesn't require the additional step of having the 'confirm delete' order window appear ?. I'm using the " DROP_DELETE_PENDING.mq4 " script by 'blackhawk', but would like it to just go ahead and delete the order as soon as the script is launched....
New article MetaTrader 5 and MATLAB Interaction is published at mql5.com: This article covers the details of interaction between MetaTrader 5 and MatLab mathematical package. It shows the mechanism of data conversion, the process of developing a universal library to interact with MatLab desktop. It...
  Aligator EA (5)
Hallo ...   Ist there any simple EA based on the Bill Williams Alligator Indicator that buys when the three line crossing up and sells if it crossing going down and also with SL and TP ? Can anybody help ? I would also like to backtest this EA.