MQL4 and MetaTrader 4 - page 846

To post a new topic, please log in or register
Please guide me how I can export live quotes from MT4 to excel sheet? Is it possible I can hook live quotes form one MT4 client terminal for other? How I can export live quotes from esignal to excel sheet and link this excel shee to my MT4 server?
hi all, please have a look at this tool: http://www.trade-commander.com/mtibbridge/mtibbridge_en.htm it makes possible to route orders to an interactive brokers account. it's purpose is saving money as IB has fixed commissions without spread extra charge. It is qualified for ordersizes >= 20.000...
months pass and the implantation of the MT5 by the broker does not, have you thought of improving the analysis WFO MT4? Thank.
Hi all, I'm news to MQL4, could anyone help me to create a script to draw trend line like the trend line in tools bar. When finish drawing, screen will display the price at 2 side of trend line (highest and lowest), and display the distance between them. Many thanks for all guys.
Hi all, The following script was developed from the existing "close" script in MT4. The intention was to create a script that will close all market orders (BUY & SELL) that are open and running. However, I find that the script closes all market orders except for one. The bottom most market order is...
Hi guys, can anyone help me please... I am trying to make a line that goes from the high of the 4th candle back to the same height on the current candle... not trying to match the highs... i want the high of the 4th candle to remain the level of the line above the current candle and then stop there....
Hi Guys , I would like simplify my EA and use a string made var as the timeFrame value in a eMA formula. example: I extract a string from the trade comment, let's say it is 'PERIOD_H4' into var 'timeFrame' Now I want to use that var in the eMA formula like this: iMA(Symbol(),timeFrame,14,0,1,0,0);...
Hi, I want to open/close trades only at the first tick of new bar, how can I write the condition? thanks.
Another request before i go hacking away at code - hoping someone has done something similar. I am giving the option of a "splitPosition" on X number of requested lots. Ie, the user might have requested 1 standard lot, or a risk calculation that equates to 1 standard lot, and to split that position...
summary of my question: I have an EA which places just 1 order at a time using the variable total = OrdersTotal() . A new order will only open when that 1 order is closed. How do I modify it so that two different currency pairs can each have 1 open order without the same currency pair having 2 open...
Need EA programmer to fix my EA because of 5th decimal change at IBFX. My original programmer is on vacation and unreachable. Todd Tolman, 801.651.1790, or ttolman@prodigix.com.
Hi folk, I have the following situation with a script; I have tried many things but no way to have my very basic script up and running correctly. When I use this script, MetaTrader deletes it as soon as the ask line reaches the order price. int start() {...
l found this EA on this site which l so much like,(sell_buy agr_EA)these l would like that you modify with some other features like:- 1.not just buy/sell routine as the present EA was,But it shouldstudy the trend,if its a buy, buy trade or buy, sell trade or sell selltrade or sell buy trade...
Hi, Recently I have learnt how to make a fully fledged trading system in matlab that self-adapts, I won't bother you with the details right now, I just need some advice. Basicly what I need is to get a data stream going between metatrader and matlab, or at least make a DLL that I can use in an...
Hello Forex coders, I am new to the programming realm (3 months of self-taught knowledge coding C++ and less than 1 month coding with MQL4). I have found an indicator from this forum and am attempting to edit it to better suit my purposes. This indicator locates an Inside Bar, definition:...
  WORST PROGRAMMER!! (12   1 2)
below is my (unfortunate experience) As a trader, I am used to work with programmers specialized in MQ.4, I have never had any problem, nor a lack of communication with any of them, and if there was something to fix, it was done after my request. I must say Technical Trading Systems (manager Phil...
Is that possible to store a value outside the code?? (And inside the code, the value can be modified.) thanks
Hello, there are some forum entries similar to this topic but I still couldn't find any solution for my problem. I have programmed an EA which uses Volumes. As you can imagine this EA is working only on a specific broker platform. Trying it run on another broker I get different results of course,...
Hi all another riddle, At the moment I am using an MT4 Client Terminal and DDE server is enabled. With EXCEL 2007 I can run Using the command : ='MT4'|BID!EURUSD I get 1.38839 ='MT4'|BID!AUDUSD I get 1.0095 ='MT4'|BID!GBPUSD I get N/A Please note: That GBPUSD is updating in my...
Hi, after several days of trying to understand what it does I'll ask you guys here what the below mentioned means in human language. int BarCount;BarCount = Bars;if (Bars != BarCount) //etc. the mql4 reference says Bars stands for the number of bars in the current chart. The EA I'm working on has...
Hi, I found this interesting library https://www.mql5.com/en/code/9772 for using a tcp-socket for connection. Can I use the OpenSSL DLL in MetaTrader http://www.informit.com/articles/article.aspx?p=22078 for a secure SSL Socket. Is there any library or script available for establishing a SSL Socket...
So I've been trading on/off for a few years and I've done software development as a career. I just finished "Expert Advisor Programming: Creating Automated Trading Systems in MQL for MetaTrader 4" and it was a rather helpful book. "Inside the Black Box" wasn't terribly useful but an entertaining...
Is there some place I can find the basic information on the Moving Average EA that comes with MT4? I've done a search for it and have turned up everything including a page of its code but I've found nothing that simply provides a basic description of the EA.
I am new to mql programming Hi have custom indicator(bought it online), I want to write EA which will check the condition and open the trade, I know it possible but what I don't understand is how to call it and get the return values from that indicator ? Thank You
Hi, for a project I have to encrypt a string with AES or Blowfish or similiar strong protection. I know that Windows has a crypt32.dll with several functions supporting encryption. But I am not experienced with C++ and C, so could anybody write a little mq4-script, how I can encrypt a string in...
how to know order already closed by magicnumber.. thanks.
Hi All, This is my first post on this forum so pls forgive me if I am talking about something well-known or asking the wrong questions... I am trying to write an EA based on the example in Mql 4- MetaTrader 4 Development Course and then "see it" in action in Metatrades's strategy tester. OK, so my...
Hello to all, I have downloaded an indicator that shows the price, spread, pips from open, pips from hi to low, and daily average pips... the problem with it is that it is only working when I open another indy in a new window, if not, the indy is there, but hidden.... I've checked the mq4 file to...
Hi, does someone know a trick how i can remove all those lines from charts please? I am talking about >>>>