Download MetaTrader 5

MQL4 and MetaTrader 4 - page 362

To post a new topic, please log in or register
The development of MetaTrader 4 iOS is at full speed ahead. We have revised the interface and chart features: Added 24 new graphic objects for technical analysis: lines, channels, Gann and Fibonacci tools, Elliott Waves and geometric shapes.Fully completed and improved design in favor of iOS 7 flat...
Hi, I am using OnTester function to create my own optimization criteria from some parameters. To start I decided to use Balance + PF, but the result is quite weird: Example: Pass = 24 Profit = 72.80, PF = 1.48 Param = Profit * PF = 72.80 * 1.48 = 107.744 ONTESTER = 107.83 I can't understand why they...
Hi People I have MT4 build 625 and have written a small EA which checks for buy and sell signals and then once just one trade has been opened checks for a signal to close it. The EA is supposed to check for all of these signals once per Bar. The problem is sometimes the EA responds to the signals...
void OnTick() { //--- int TicketYear=TimeYear(TimeCurrent()); int TicketMonth=TimeMonth(TimeCurrent()); int TicketDay=TimeDay(TimeCurrent()); if(TicketYear==2013&&TicketMonth==7) { Print("My Year is",TicketYear); } PS: There is no print in log.
Is there any possibility that my question is that suppose I am trading 5 pairs and I have 5 profiles in MT4 for each pair separately and I have many trades opened for each pair in the Terminal Window I don't wanna see other opened positions like If I am in EUR/USD profile I want to see only Eur/Usd...
Hi, In Windows 7/8, I have adjusted my font to 125%. However, while MENU and all text appears great in MT4, open positions text remains at same, tiny font. How do I change that?
Hi everyone,Can you please help me hw to read and write file from external folders can you show me some small code so that i understand ?? Many Thanks
Hi I have been experimenting with some code to obtain some variables from a filename. Here is an example: 60_EURUSDFXF_12345678.sell So with an EA I would like to extract the info to be used: int time ="", period="";string sym = "", ext = "";fn = period + "_" + sym + "_" + time + ext;fn =...
Hi Is it possible to have the same login for MetaTrader 4 on more than one computer and an Android tablet ? I have workstations at home and work and a tablet that I would like to have the same login across all three - is this possible ? I am new to MetaTrader and have a demo account. Thanks N
Need help on checking this EA with thanks. What is wrong with it? errors as follow: '}' - unexpected end of program 179 4 '{' - unbalanced parentheses 45 3
I search but found zilch! Can someone tell me why my MT4 installation installs in a different directory deep down C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\1DAFD9A7C67DCetc on my VPS W2008V2, but on my home PC installs in a much higher directory C:\Program Files (x86)\MetaTrader 4...
Hi I am stuck.L I want to add personal indicators and my personal indicators do not appear??? Plse help me out Thanks
My own ea worked well previous mt4. after i updated mt4 ea working fine only backtesting. when i go live no trades occurs. i copied ea on folder mql4/experts folder. please support me to solve the issues. i don't get any error in logs file.
  Demo testing error (11   1 2)
During my demo testing I have received this error 4051, after checking my ordersend() lines I have come to the conclusion that everything is in order. Please note that I added the clr before the colour names as this was suggested by the new mql4 syntax. OrderSend(Symbol(),OP_BUY,LotSize/8,Ask,7,0,0...
My OrderSends are being rejected due to invalid price in 625. No matter what the slippage value included in the order, it will only be executed if the OrderSend price and the Bid/Ask is EXACTLY the same. This is the code that places the order...
Hi Essentially when running optimizations, you end up with a number of viable parameter sets that, and i am just looking for a better way to sift through these. I am currently running optimization by balance, by pf, by drwadown%, combining these in a pivot table and seeing where i might have...
  Help needed (1)
Please I need assistance with this code, it is working well on back testing but does not activate on a demo account.
  EA na VPS (1)
Pomoc Ke svému obchodování používám MetaTrader 4 s Expert Advisors, které mám uloženo na Virtual Private Server. Po nové aktualizaci MetaTraderu 4 na Build 625 můj EA (ex.4), který je uložen ve složce MQL4 - experts se po otevření okna grafu se nezobrazí v okně navigátor (EA), takže nemá co vložit...
Two error messages when compiling old mq4: 1) The new MetaEditor gives me a function compiling error despite promise that old mq4 indicators etc. should/could work: "not all control paths return a value" //+------------------------------------------------------------------+//| Checks for a...
tradingview.com has an indicator called Stochastic RSI, and I would like to adept the settings to MT4 version of this indicator. tradingview.com settings: The mt4 version can be downloaded here:
hi guys. i have "2014.03.31 08:16:38.149 2009.01.02 08:01 TheTurtleTradingChannel_Strict EURUSD,M15: 2 parameter for SetIndexBuffer function must be array" this error message, while i was doing backtest. this issue is only for buy position but sell position works fine without no error. can anybody...
  help me (1)
Dear Community, have opened several transactions but I want to put the T / P, trailing stop for 2 symbol. Thanks in advance if you can help. Sincerely, Tankhoa
Hi, unfortunately it is only a feeling but the optimization of my EA took 24 hours with b509 (as far as I remember) but now - same logic and same amount of vars with the same range to optimize ok the trade-vars are now organized by structs (one data-struct and one struct with strings) - it takes 150...
I am wondering what many of you incorporate into your EA to handle news times. Overall I would like the EA to be able to automatically close out of a losing position several minutes before a major economic news event happens I am just looking for suggestions and options - what do you say?. Thanks...
Hey guys, can somebody tell me where the error is? Here is the code: #property indicator_chart_window#property indicator_buffers 2#property indicator_color1 Lime#property indicator_color2 Reddouble SMAup[], SMAdn[];//+------------------------------------------------------------------+//| Custom...
Hi Guys, I am working on an indicator which performs most of it's work in a background thread, using OnTimer to fetch and update the indicator.. The trouble I'm having, is that the indicator does not update until the chart is moved (eg. scroll left/right, tick, zoom etc..). I have tried sending...
I can not figure out why it does not work, anybody can help? Pls see the following code: double Sig[1][1];   // magic|type|target----magic|type|target            bool no_Sig = false;      string Sig_str = Signal_Get("Sig");      string res[];      if (StringFind(Sig_str, "|", 0) !=...
  Order Send (1)
Is OrderSend the only command that allows you to open an order?
Hi, I am looking for feature of MT4 if there is one such that I will be able to get Alert pop up window manually to review my old Alerts. I know this Alert pop up window I can get by executing Alert() command in EA/Script/CI, but for some reason if I close this window then How do I get it back...
Following the solicitation of https://forum.mql4.com/62170 I dld and installed the terminal b628 and the editor b915 Butr the editor cannot be used!! This line: extern int              aHIGH_UseHiLo                                   = 1; //Max$ HiLo=0; maxT 0&1 My mouse is placed between "//" and...