Download MetaTrader 5

MQL4 and MetaTrader 4 - page 771

To post a new topic, please log in or register
I have recently downloaded a demo MT4 account on which I am trading EURGBP with 50,000GBP as the starting account balance. I am using an EA that trades using the martingale strategy where by it doubles down its position every time the trade goes in the wrong direction. I am emailing because there...
Why doesn't the following keep me from entering a trade twice (orders are below the attached code)? Thanks inadvance for your help // Is this EA currently in a trade   for(i=0;i<OrdersTotal();i++)     {       OrderSelect(i,SELECT_BY_POS);       if(OrderSymbol()==Symbol() &&...
New article The Indicators of the Micro, Middle and Main Trends is published at mql5.com: The aim of this article is to investigate the possibilities of trade automation and the analysis, on the basis of some ideas from a book by James Hyerczyk "Pattern, Price & Time: Using Gann Theory in Trading...
I am looking for a simple indicator based on SMA and price. If price moves above SMA show an Up arrow if price moves below SMA show a down arrow. I have been looking around but found files which have atleast 2 MA (slow and fast) but i need only one. Can anybody please help me please. I would really...
Hi, Can someone help me. I am having problem with the interbank fx platform. There has been a criticalerror Time : 2011.04.05 23:10 Program : Client Terminal Version : 4.00 (build: 229, 16 Nov 2010) OS : Windows Vista Professional 6.0Service Pack 1 (Build 6001) Processors...
Hi, I've been trying to use windows dll function calls to retrieve data from the web, and using it in an indicator. All works fine using calls like InternetOpenA, InternetOpenUrlA and InternetReadFile. My problem is that some of the data retrieved might also be in russian, which makes using the...
Who can correct the copyist of transactions, transactions copies but doesn't close., why?. Also it is necessary to copy transactions with ECN accounts with symbols of type EURUSDmam, GBPUSDmam etc. Whether it is possible? To the author too addressed. ExpertSource.mq4 (5.1 Kb) View ExpertReceiver...
Dear traders, I´m looking for an EA software for automatic trading of a range. It should be in the way that I can draw lines for long & short entries in the chart. SL and TP will be set automatically. Who can help me? Thx C.
Hi, I am developing an ATS that contain a module for partial closing and reopening.. I need some help for the math/formulas that will control this feature.. In summary, the feature will partially close a trade size on a number of grid levels and if price retern back to the previous grid price, EA...
Hi, I am developing an ATS that would require simultaneous calculations ( 1000-10000 simple to moderate mathematical operations per tick). I have no programmatic knowledge for now and i am worry this simultaneous issue might provide a source of instability in the code and delay the execution....
how to put buy and sell condiation into ea from this indicator( AltrTrend_Signal indicator ) ( blue arrow = buy and red arrow = sell ) pleas see attched mql4 file.
Hello, An arbitrage that I know is the triangle. Ex: price EurUsd x price UsdChf = price EurChf Samebody know another kind of arbitrage ? Regards,
Typically, to trade FOREX, one sells short and then buys back. Or, one buys long and then sells to close. This platform won't allow me to sell short and then buy back. So, I can't close a short position after I've opened it. this occurs on market orders. I then tried a pending order where I...
Is it possible to have a clickable object or button on the screen to execute code. What I would like to create is a button to quickly switch between gmt or est pivots by the click of a button on the screen and some other code. However, I cannot seem to find any information on this type of...
Hello, I'm looking for a reliable indicater, which is capable of displaying local (GMT+1) time on my charts, instead of the standard Server time. I tried some I found on the net. Although with no success. As well, the code base doesn't seem to have one. Is there something out there which works?...
Hi I have an EA that uses ATR, because it relies on accuracy I found using the indicator to provide the values is best so here is the code in the EA: double Atr(int shift){   string gvName    = "AtrForAntony";   string gvSetting = "EaForAtrSetting";   string gvReqwest = "EaForAtrRqwest";   double...
int  init(){ return(0);  }//+------------------------------------------------------------------+//|            //+------------------------------------------------------------------+     int start()     {     int    ticket,total,cnt;     double SL_1, SL_2,value ;         SL_1=0;...
Hi All, I have an indicator which raises Alert message Buy/Sell on the screen. Is it possible that I can capture this alert message with an EA. Thanks CKM
Fast moving average indicator is a follow-up indicator or it is also called a lagging indicator, which means it does not predict future market directions, but rather reflects current situation on the market. This characteristic makes it vulnerable:firstly, because it can change its signals any time,...
Hi there I need help ! I don t know what s going on but i lost two times my chart ! It went just off the display and i can t find it back. But the trade is still shown in the Terminal, so that means the chart is not been deleted...but where is it ??? Any help is welcomed:)
Hi, We're currently working with a setup of an EA which communicates with a DDL (unmanaged+managed code). This setup is running quite stable on Win7 64bit, however, we're trying to migrate to a virtual server running Win2008R2 64bit and this setup seems to crash quite frequently. The most notable...
hi am traying to make an indicator that help me to find how many points between high to low / low to high attached is my code but it need some modification because am not good in mql4 any one can help me to finish it? and thanks...
Hello everybody I'm looking for a program that saves when i want, the history of some money example, only EUR-USD and USD-JPY or others. I want this for each hours or each five, six hours from a day since an another day Is possibile? I'm trying to understand this code but it isn't easy Manuel
Hi i try to make an object (using text/ obj_text) to follow (point at exact with bid) bid price so if bid move up it move up if bid move down it move down... but the problem is this "Wingdings 3" font i use isn't plot at the exact bid so i try to manipulate the bid price to make it visually correct....
Howdy all. A question for someone that is waaaaay smarter than me. Is it possible to assign a magic number (or similar) to an EA that is managing a MANUALLY entered position, via profit targets and a trailing stop loss? The problem I face is that I have two different strategies requiring a different...
is there a way to email .ex4 file through sendmail ?
  Ubzen System Development Process (51   1 2 3 4 5 6)
Purpose: I'm trying to define a system development process. I have a few ideas within my head but it's not comprehensive. My hopes is that others who know better could critique the process. If any prominent member have issue with me using the forum like a personal blog, or don't see any good in...