Download MetaTrader 5

MQL4 and MetaTrader 4 - page 310

To post a new topic, please log in or register
Hi there, We created a small control panel with check boxes and one button for our EA. Generally it is working well and properly but sometimes we experiencing the "array out of range in 'CheckGroup.mqh' (164,16)" error message in the expert tab and the EA stop working. This file is a Metaquotes...
  Digital Martingale EA (109   1 2 3 4 5 ... 10 11)
This is the first of hopefully many different versions of Ea's using Mladen's digital indicators plan on making martingale Ea's and regular Ea's using these indicators. The indicator is the same as Digital filters smooth -separate, but removed the mtf because to me makes it easier to code the mtf...
Hi! I'd like to insert data directly from a MetaTrader 4 EA, and it hangs at first line: mysql = mysql_init(mysql); Here's my code, where did I make a mistake? Thanks! #import "libmysql.dll"int mysql_init(int db);int mysql_errno(int TMYSQL);int mysql_real_connect(int TMYSQL, string host, string...
Hey guys, I try to optimize my indicators a little bit by implementing new MQL4 code. I have some general questions about data types. When I need a high or low of a bar, I used the data type double. But now I see that float uses only 4 bytes instead of 8 bytes used by double. When it comes to prices...
  New candle (10)
Anyone got a good piece of code for build 600+ that will determine if a tick that came in is the start of a new candle or not? The code I have doesn't work anymore.
I have a simple indicator whereby I check for a condition, and then send an email when the condition is hit in the "start" section of the indicator. It works fine, but when I add the indicator to my chart, it seems to get called every 1/3 second or so. My goal is to call the routine only when a new...
Hello Metaquotes Is there any Solution for MAM/PAMM Accounts for multicurrency Clients that work correctly? Example: MAM/PAMM is nominated in EUR. 1 Client 20.000 USD 2 Client 30.000 EUR 3 Client 15.000 CHF All under one MAM/PAMM Account? My last Info was it´s not possible for each Currency i need...
I'm not sure what's happened but it looks like mql.exe has been replaced with cpp.exe in build 616 ?? I did have sources outside of the MetaTrader folder, and was running mql.exe to compile, and then copy the ex4 into the data folder. That doesn't seem to work now with cpp. I get... MQL4/MQL5...
Hello, How to remove the warning : possible loss of data due to type conversion FromDoubleToInt.mq4 20 9    //+------------------------------------------------------------------+   //|                                              FromDoubleToInt.mq4 |   //|...
Hi, Im using MT4 build 625 and I see price differences in what's shown on the charts and on the terminal. See the blue rectangles on the attachment below: The diff is (in my case) 0.5 pips. Is this is a bug or some new feature in MT4 ? :) Cheers, Serkan
  ERROR 4105 (1)
Hi i'm trying to build an hedging EA (to learn mql4). Here's the code #define MAGICMA  20141405//--- Inputsinput double Lots     = 1;input int    sl       = 5;input int    tp       = 10;float NetLots(string symbol)  {      if (OrdersTotal() > 0) {         double shorts = 0; double longs = 0;...
What is the normal wait time?
I'm trying to build a dashboard as need as much real state as possible to fit all the information I need to be able to see. For this reason, I was trying to hide the date and time scales, as I'm not going to trade from the dashboard itself. But when I've used the chart properties and have tried to...
Hi, I am trying using WindowScreenShot() in one my EA that running on my VPS. I am using with this format: WindowScreenShot("auto.gif",550,300); It takes black screenshots from chart. I tried this function on VPS with win server 2003 & 2008 and for both same results. When run EA on my PC(Win 8.1)...
Hi Guys About two years ago i downloaded and installed Trendlord (its an indicator) into mt4, used no problems, today, with the same broker i have downloaded another copy of mt4 so i can work two charts. I can set up both my charts the same except for the indicator Trendlord. I have copied to...
I was wondering if strategy tester can calculate more than one close points when testing your expert adviser? It seems that I'm having problems getting the strategy tester to show more than one close points with my EA, another words, strategy tester will close the whole lot when it should be...
dear sir, in Broco Trader 4.30, how can i find the CRUDE OIL (MCX) CHART, i found most of the MCX commodities but i cant find the curde oil Chart in MT4 so please suggest me how to find the CRUDE OIL (MCX) CHART.
Dear all, I want change color of bar chart like Heiken Ashi indicator. Can anyone help me this code? For example: when RSI > 50 Bar color is red, RSI < 50 bar is blue. Thank you!
Problem Resolved [Please Delete Thread] Thank you
I need to use access db from mql4; is there any dll to do it? how can I buy a job for a similar task?
MetaTrader 4 automatically opened positions right after I subscribed to the system with active positions without asking if I want to buy/sell the active positions. Is it possible to skip active positions and to follow only new positions after I subscribe?
I would like to add another sell stop / buy stop to take some profits early. I am placing an order with a take profit and stoploss with code something like this orderResult=OrderSend(Symbol(),OP_BUYSTOP,lotAmount,somePrice,3,someStopPrice,someTakeProfitPrice,"",Magic,0,clrGreen); Next how do I take...
Let's say I subscribe to Mr. X signal, should I disable the sleep mode? If a computer is in a sleep mode and there is a trading signal, will I miss the signal? Thanks
  Nodama Trader (61   1 2 3 4 5 6 7)
This is nodama trader short for normalized deviations with ma and atr . The ea uses partial exits and rifles through them very fast, so depending on your broker you may have to do some adjusting to the settings, to keep your broker happy. Noda is the indicator and in the rar is a template which i...
With the new version of MetaTrader 646 (30 april) the debugger doesn't give any result of the variables (Expression could not be evalueted). Why? do you have the same problem?
Hello traders! Have you tested this free robot <link removed by moderator> I found it recently and subscribed - and also I get useful tools for being a member.
Hi to all, i got following problem with my MetaTrader: I opened a Demoaccount to try different EAs from MQL4 but I cant subscribe because its impossible to login to mql from MetaTrader... Here I got the log: 14:33:06.381 flatex fx build 646 started (flatex GmbH) 14:33:06.381 Data Folder: C...
I have an indicator that repaints, I would like to open a position x bars from the signal bar, could someone show me how do code this. Also, the signal is triggered each tic of the signal bar, how can i get it to signal at the close of the bar only? Thanks...
Hello pls help me in compiling the attached programe in new mt4 610.
1...303304305306307308309310311312313314315316317...1250