Download MetaTrader 5

MQL4 and MetaTrader 4 - page 852

To post a new topic, please log in or register
hi every one, im trying to count last 15candle on 1min chart and put fibonacci on them, for buy order botom to top and for sell order top to botom and move stoploss to 68.5% fibonacci level to exit trade. only if prise move below on ema 1 for buy order and above or sell orders. any help please....
I have noticed that my EA's still show doubles in them as 4 digits even though the charts are now 5 digit - am I missing a trick here? Happens with both MetaTrader and IBFX. Do I have to download the install file again and re-install?
Hi I have this bit of code extern double Ratio=1.10; double StopLoss = (AccountEquity()/AccountBalance()>Ratio) *Point; I am trying to have a 10% StopLoss based on 10% of the equity. Am I on the right track or way off based to get this right. Any help would be great.
New article Controlling the Slope of Balance Curve During Work of an Expert Advisor is published at mql5.com: Finding rules for a trade system and programming them in an Expert Advisor is a half of the job. Somehow, you need to correct the operation of the Expert Advisor as it accumulates the...
Dear Friends, I have coded a simple Expert Advisor code ( Please see below ). It could not make any live trading order although I have checked the allow live trading option on the Meta Trader's option menu. Please let me know what's wrong with my codes. Thank you very much for your help....
Luc Nguyen
Hello, I get this erroe message whenever I load the instaforex platform. By uninstalling, installing and running the application the software works fine, but after closing and reopening it, the error message comes back again. Is there a way to fix this issue?...
Hi, I'm trying to create an EA from cobbled scripts; OCO and trailing stop. Also would like a time variable / delay to enter candle X period(s) after candle open, and repeat every X period until order is taken. I want TP=trailing stop. Could be stopped out often but hoping successful runs will...
It my first EA and I have problem to set a stop loss, the stop loss works on the buy orders but does not work on the sell orders, it's so weird this is the code. this EA working with MA its really simple and make profit lol //+------------------------------------------------------------------+ //|...
if (XXXXXXXXXXXXXXXXXXXXX) { for(i=OrdersTotal()-1;i>=0;i--) { OrderSelect(i, SELECT_BY_POS); int type = OrderType(); bool result = false; switch(type) { //Close opened long positions case OP_BUY : result =...
Hello All, As I said, this is the very first time I'm looking at E.A. I d/l the MT4 from FXCM and from FxPro. Both of them are "offering" the same two "samples" E.A. : MACD and Moving Average. I put them 2 on 2 different graphs, but they haven't made any operation... ( although I carefully...
  Back Testing (2)
Hi, I'm new to the EA area. I was wondering if there was a sticky post somewhere on how to run a back test and what some of the terms mean ie. ticks modeled, modeling quality, and how to control the dates. Or maybe one can't control the dates if you choose "Every Tick" under the Model Option?...
Hello, please I want to start trading on my mobile phone I currently have an E71,I would want to know if is possible to use the phone.if so where can i get the windows mobile to use and which broker supports mobile trading.I use FXDD but cant get their link to mobile platform.please can anybody...
guys, I need some help with a problem, that I cannot resolve on my own. I want to know how can I communicate one way, being in EA I need to get variables from other CI. I cannot use iCustom, as I get other values that a running CI - so I left that idea. I wanted to implement CI in EA, but it also...
The Book of Sergey Kovalyov is not readable! The letters are much too big! How can i change this?
Hello Folks. I'm pretty sure that this is explained somewhere, but I guess I'm not using the right search terms. My question: How do I tell an EA to only place an order if no other one is currently placed? To get a bit more specific: I want to place a BUYSTOP, only of no other BUYSTOP or BUY-Order...
I have an EA with one IND, and another EA with another IND. I wish to combine the Two IND's into a single EA. NOT - *how* to combine the two into one- That part of the coding is done and it works fine. But Rather, HOW to optimise ! For example, a STOCH, and a MACD ( who cares if these are the...
[1332] exception C000008E at 004CBF22 in C:\Programme\BestDirectMT4\terminal.exe Could it be that there is some uncaught zero division somewhere inside terminal.exe happening when calculating the y scale of the indicator window? I am having not much fun with a really ugly and ongoing debugging...
Hello, I have also build a Wolf Wave EA for you, if you dont know what Wolf Wafes are there are many Informations about that in the Internet and here is a picture from a Wolf Wave: My EA Programm has a algorytmus to find such Wolf Waves and in my Backtest you can see a good result, Drwadown under 2%...
  order status (6)
how do i know if pending order had allredy open ? the orderselect() is for opening or pending order . do i have to catch it by comparing the open price ?
Is it possible to run/execute a virus or spyware or any kinda malware to infect a target pc using external DLLs? Is it safe to download and use experts or scripts which use external DLLs without being worried about security concerns? Thanks
I am trying to write an EA that will close open order at the end of the next bar and have tried the following for the 4hr period: -------------------------------------------------------------------- datetime a = TimeHour(OrderOpenTimeA); string closestringA; datetime closetimeA;...
how to run the APSI.ex4 file pl.tell tariq
Now I will offer you a download link a program in how to use the internet Using Neural Networks In MetaTrade part2 To download and activate the link go to the link below http://download1014.mediafire.com/5y1dc80tu8ng/shp8p1k7x1dmshj/2011+part+2Using+Neural+Networks+In+MetaTrader.rar Good Luck...
I'm having this code for sending orders: OrderSend(...); variable change that counts if a order have been sent. Print(...); I see my print in the log of the expert and no deal bug happens on random Fx-Pro have no explanation why it happens I've been using my EA for almost an year now and...
Hello, I have an expert advisior which works with the loss-and profit series from the last orders. I calculated them by OrderSelect(i,SELECT_BY_POS,MODE_HISTORY) .... Is there a posibility to restart the EA an with a loss-and profit series with the value "0" without changing the MagicNumber?? How...
Hi Guys New to MT4 but experienced trader. I'm on Smart Live Markets with MT4, in my scripts I got "Trader Script 1" which has a set up for Lot Size, Take Profit, Stop Loss, Buy, Sell What I am trying to do is when I trade and hit BUY or SELL I want default settings added to every trade like:...
5/30/2010 Alpari UK invalid stops - order send error 130 when t/o on alpari uk demo gbp/usd ... This is a common error, however I'm now wondering if the broker can cause this by a lack of data or broker settings, because using the same EA I am getting different results on different brokers.
Hi guys. Would someone be able to shed any light on modifying the order send function in an ea, so that it can operate with a market excecution broker. I am aware that you can not have a stop loss and take profit attched to order send with this sought of excecuttion so I am wanting this modifyied so...
Hi, I'm not sure if anyone has asked this question before. If they have please link me to the specified thread/post/site and you can delete this post and I apologize for not looking hard enough. I've tried searching the web but to no avail. My question is, is it possible to have an EA backtest...
$40 per EA I love coding. If someone need help about write EA, Please follow the step: (1) send me the information about the EA. (2) EA strategy a. MAGIC b. Lot size c. Take profit d. Stop loss e. Start time to trade f. End with trading g. Currency pair and timeframe h. How to open BUY and SELL i....