Download MetaTrader 5

MQL4 and MetaTrader 4 - page 290

To post a new topic, please log in or register
Hi, is there any free mail dll for sending mails. I don't want to use the integrated metatrader mail settings. In former times I used the maillink.dll, but it isn't working with build >600.
I have this EA that automatically changes the timeframe. The problem is that it shows all timeframes (M1 to the higher timeframe defined by me: M1→M5→M15→M30→H1→H4→D1→M1...). I want it to show only three timeframes: M30; H4 and D1. Or, if possible, modify to display the wanted timeframes. I tried to...
Hi all, I'm not used to OnTimer() however, the EA refreshes every 2 minutes given by  EventSetTimer(60*2); I would like to modify this EA, but it seems not working as usual: Example    if(TimeCurrent()>0) { bool test = true;} else{ test = false; } If I do this, I got an error: "Test - Undeclared...
Hi, I need to find the ratio between two currencies at run time. like below: account_currency_ratio = slave_account_currency/master_account_currency ratio it's simple if they're same or a Symbol exists which consists of these two currencies. but I'm confused about how to find it if a currency pair...
I've tried getting the new MQL4 market place apps but the latest ones available are dated September 12.  I've noticed that many demos have been downloaded on some of these after that date. Now matter which MT4 terminal I try (and I've tried 5 or 6) the apps under the "new" selection are stuck at...
Hi All community. I am a practioner of MT too and have a little and think easy doubt. (haven't resolved yet) These days my person listen and found a great system willing searching/doing another one and this was very nice. The doubt is about the system I founded by auspicius (in multi time frame...
Hi everybody,   Got a problem concerning this code :   premier[i] = A[i]-mini[i];second[i] = A[i]-B[i];TOP[i] = premier[i]/second[i];   If I run it, there is a blackout and all my indicator doesn't work. Don't understand why ? It would be very cool to help me !  If i replace formula by result of...
Hi everybody !   As my title said, double type just record 4 number after the comma. Quite a problem when you trade on EURCHF with 5 number after the comma.... I tried to transform my double variable with DoubleToStrMorePrecision but it didn't work ? Did some research on the forum too... It would be...
Hi fellow MT4 users, Need some advice on this issue I am having. Actual FX market starts trading from 19.00 GMT Sunday / 15.00 EST Sunday now (depends on is there Daylight Saving). However I cannot seem to find a broker that provide live price feeds starting from that time. Most brokers starts...
1. installation Must  be _user Independent_ , even Server independent. 2. EAs, Indicators should never belong to AppData  tree (unlike logs, tick  or funny user parameters). 3. Code should never be  updated automatically. 4. dump  Billy Williams and  all garbage. Be pragmatic. 5. good luck! PS. more...
Does anyone have any experience in using the ComboBox control?   I'm trying to use the ComboBox control that is part of the standard MQL4 library. Creating it is very simple, but when I click it to open the list, it doesn't open. I do .Create, then .AddItem a few times, and it shows fine on the...
Is it possible to use a built-in indicator in an EA without having the indicator plot on the chart? If so, how? For example, if I want to use iATR to calculate stops but I don't want the ATR visible on the chart.
I would like it to say this: Currency, Buy/Sell, Signal expiry time (the indicator is based on an hourly chart so it should just say xx:00 - depending on the time I get a signal. Let sat it's 11:00 when I get the signal on a close candle, then the expiry time should be 12:00). Hope anyone have to...
Hi everyone. Im trying to figure out how I can detect if a manually drawn trendline has been broken with a OHLC since its creation.  
Hi Folks, I'm starting with MQL and I wanna know how can I get a good cycle to develop my EA's. I've been using TDD(test driven development) and BDD(behaviour driven development) methods on Ruby and Java. Using tools like JUnit, Cucumber, RSpec. How can I work with tests on MQL? I'm trying to...
Hi there,   I am looking now to add a simple grid to my market orders, but they i am writing it is not working at all ...   input double         gridshift                  = 0.001;input double         maxpendingorders           = 2 //2 buypending 2 sellpendingfor(int cnt = 0...
Hello guys  I bought an indicator of a renowned developer of MQL4.COM here.  It happens that the indicator does not run on MT4.  Already traded several emails with the developer.  I did all the procedures that requested, however, the problem persists.  Turns out he speaks the library (DLL) that its...
Hi everybody,   I tried to run several time a big code (1200 lines) i developed, with some loop i can't remove. MT4 shut down each time. Is it normal ? How can I proceed ? I tried to simplify i did my best.   Thank you very much ! 
Hi, I was wondering if anyone from this community can help, please. I would like to have an EA running all the time and whenever I use the Multiple Close by button in MT4 (that is every time I manually click and try to modify the order) an alert is generated. How to identify this event originating...
I have an indicator source that needs long calculation time more than 100 seconds. The indicator takes too long time to calculate it and chart stops while the indicator calculate. Any body has solutions about this?
  What is the difference? (27   1 2 3)
Hi friends, What is the difference between these two codes? The first one doesn't work, the second one works fine. Is there any difference the two kind of TP_Day? Wrong: if(GlobalVariableCheck(Glob_Var_Name)) TP_Day=(int) GlobalVariableGet(Glob_Var_Name);else if(!GlobalVariableCheck(Glob_Var_Name))...
Is it just me, or can 0.07 not be stored accurately?    Example double number=0.07;Comment(number);   This displays as 0.07000000000000001, therefore I can for instance send an order using a lot size of 0.07.
Hello there, Is there any discussion in here about using simple Options to hedge FX positions? I had a quick look around and saw a few topics, but I'm still not sure I know where to look. For example, if I open a minilot 0.1 Buy EURUSD at 100x leverage, how can I simultaneously purchase a Put option...
My EA in backtest on specific symbols - typical borse  indexes  Germany30, Moscow50, Spain35, USA30, USA2000, Swiss20 share SAB Miller, Amazon,   Outputs are only  zero value records  50 0.00 0 0.00 0.00 0.00 0.00% 0.00000000 StopLoss=5000 MagicNumber=10001 Lots=0.1 TakeProfit=5000 TrailingStop=0...
hello, MT4, how to create a blank window (to put my multi-currency indicators) ??? thank you
I'm experiencing a strange issue? Like most on here, I have a designated MT4 offline back-testing platform. Weird thing is, when I boot up the MT4 platform for the first time, if I try to do a fresh back-test of an EA it won't place any trades or if it does it seems to drop out loads that it should...
Received via Mt4 Mailbox tabDear Demo Account Holder, XXXX has made the business decision to discontinue support of MT4. Therefore, effective at market close today, Friday, September 19, 2014 all XXXX demo accounts will be disabled...
hi  i need some help  because after metrader update  5.00 build 966 my code didn't work  the code used to sum the volumes of all candles in a specific range int V=V+ Volume[i];      ObjectCreate("Volume", OBJ_LABEL, 0, 0, 0);      ObjectSetText("Volume",DoubleToStr(V,0) ,14, "Arial",...
Hallo, I've installed metatrader 4 apparently without problem but when I double click the icon the program opens a white window for a second a then  it closes rapidly. I have windows 8.1 64 bit. Do you have any idea how to work it out? 
Hi, I want to place the volume of a bar as a (text-)number at the bottom of the chart, below the bar and always 5 ticks off the bottom. That means 1) if the next bar appears this volume-number should shift 1 bar to the left and 2) it should not move up or down if the chart is shifted acc. to new...