Download MetaTrader 5

MQL4 and MetaTrader 4 - page 705

To post a new topic, please log in or register
Hi Coders, Got a great system. Need to make EA. Please email me for details. Email: savio.entertainment@gmail.com Regards, Caetano
Folks, the data coming out of Metaquotes servers is garbage. This problem has been going on for almost 2 years now. I really dont see you any of you can expect to make money when the data used to backtest is full of holes. The Metaquotes History and how it fills charts in MT4, combined with your...
I closed meta trader last week by mistake and my EA is accumulating some variables, so once it been closed it reset to initial value is there is any way at meta trader to prevent this action, like when I click close it gives me a pop up window for confirmation " Do you really want to close ......
Hi, what I m trying to do is on a string that i m reading from a file that has a Date format to add 24 hours. So for example I m reading '2012.01.16 14:00' to convert this on '2012.01.17 14:00' and so on. Its a CSV file from an excel so Date format is not a problem i can change it. But I ve got...
is there any way to install another server add of diferent broker into mt4 mobile i already have?
I' ve try this method but without effects:     for (i =   OrdersTotal () - 1   ; i >= 0 ; i -- )                {//for2    if (OrderSelect(i, SELECT_BY_POS)    && OrderSymbol () == Symbol()     && diference <= OrderProfit () ) Also I can use OrderOpenPrice like that:    int course = Bid ;    for (i...
Hi when I buy an order for the ask price and sell it for the bid price, do I have to add the spread to go EXACTLY x pips?? I thought I payed the cost with the difference of the ask price and the bid price??
New article Creating Expert Advisors Using Expert Advisor Visual Wizard is published at mql5.com: Expert Advisor Visual Wizard for MetaTrader 5 provides a highly intuitive graphical environment with a comprehensive set of predefined trading blocks that let you design Expert Advisors in minutes. The...
Hello I wrote a custom indi to draw a horizontal lines by value input. I want to used as S and R lines. But if I move the line by dragging manually, the line value didnt change with new line value. if (Resistance > 0)       {        ObjectCreate("resis", OBJ_HLINE, 0,0, Resistance, 0,...
I have a demo account with FXCM. I built a simple script with the code: int start()  {//----      double One_Lot=MarketInfo(Symbol(),MODE_MARGINREQUIRED);//!-lot cost      double Min_Lot=MarketInfo(Symbol(),MODE_MINLOT);// Min. amount of lots      double Step   =MarketInfo(Symbol()...
Is it possible to programmatically work with the Data Center data that you can see when you click on the bottom right corner of the terminal window? Some data centers may be more reliable than others, possibly depending on the physical location of the client. It would be good to be able to retrieve...
How to compare str and str in the string array ?
Hello ! I gooogled this question without much luck. I have an indicator that places text below SL & TP lines that when dragged modify the relevant values. Sometimes the text is accidentally clicked and dragged instead of the line. I am look for a means to disable the text from responding to...
Hi, I want to use "kernel32.dll" to read and write files. (from http://www.m-t-a-w.com/indicatorsandea/File%20Read%20Write.mq4) from other than the MT4-default-folders. So far so good. But now I want to define the path to the files to be read or written: #define PATH         "C...
So I was able to make a DLL just fine to work in MT. Then I expanded it to use some MySQL code so I can write some info to a database. Now the DLL doesn't seem to load. I have the MySQL dll's that it requires in the experts/library folder. Is there an issue to use a DLL that users other DLL's inside...
When backtesting, open chart, and hovering the cursor over the SL or TP symbols the little datawindow shows different data almost every time the cursor touches the symbol. See these screencaptures.
hi any budy can do heiken exspert is one candle red anader candle sell auto if one candle white anader candle auto buy if the stop profit the change colour or 10pip
Hi, I'm currently experimenting using the Chikou Span from the Ichimoku indicator and adding it to my Synergy template. I was hoping someone could advise me on how i could be notified with an arrow or something like on my chart every time Chikou Span falls below the close of the bar 26 periods...
greeting! I am trade several symbols and want to creat an funtion to count how many symbols through my trading orders . And now, I just know OrderSelect() and have no idea how to code funther .. waiting .... thanks . is it double CountSymbol(){double iSymbol=1;for(int i=OrdersTotal()-1; i>=0;...
Check This Out . A Super Fantastic Friday . Caught The Entry @ Perfect Entry http://www.mt4i.com/users/savvycool Now My A/c's Tripled "Biggest Friday" .. What Awesome Day
Hi, Im interested in parsing the text in the newsfeeds that comes into MT4's news-tab. Does anyone know if there is any built-in method or any other way to recive and handle the news in the news-tab within an EA? /Micke
Hi everyone and thank you for this great forum. I have been into forex since November 2011 and still struggling to make a profit. Recently I have started to use a simple no-indicators-strategy and it seems to work pretty well with my m5 chart for spread betting - which is tax free in my country. I...
if( OrderSelect(sticket, SELECT_BY_TICKET)==true ){         order_type=OrderType();         Alert("ticket : ",sticket," order : ",order_type," bticket : ", bticket);                       if(order_type == 1){                     OrderDelete(bticket);                     Alert("error:"...
Hi everyone I having a problem with closing my orders, it only close 1 order at the time. But i want it to close all open sell orders at the same time. Does anyone know what im doing wrong?             //+------------------------------------------------------------------+            //| Signal...
Would the popular Advanced IDE's allow highlighting of User Defined Functions and Importing mql documentations? Could a seasoned programmer recommend a good one.
Hi, I have a EA that I only want to trade once per day..... It puts a BuyStop in at a particluar level and if it doesnt get trigged by the end of a 24 hour period it expiires. If it does get triggered though, i want to ensure that my code wont put the trade on again. Normally i would just use a...
greetings need EA /indicator coding help from someone familiar with ichimoku indicator very very simple system but very reliable - only 2 indicators involved my trading system is used in live account by full time trader leave your email to my message box if keen to help serious coder only
Hi, can anybody recommend me a program for post-analysis of MT4's Statement? Interesting in diagrams, charts, tables and sortings of orders. Don't like to do it in Excel. The programs I found - only couple is cool.
good day if i opened two symbol orders,how to sum up a certain symbol orders' profit,now mmatter it is 0- or 0+ . waiting .... kindly regard .
I wanted to write an expert which sends an email signal when the body of the last candle is more than 50 pips. How can I do it? Is this a correct code? static int prevtime = 0; int start() { if (Time[0] == prevtime) { return(0); } if ((High[1] - Low[1]) > (50.0 *...