Download MetaTrader 5

MQL4 and MetaTrader 4 - page 326

To post a new topic, please log in or register
Hi all, I'm using Renko Live Charts v 3.2 to work with my Renko charts. This expert works good with Alpari, now I just opened a demo account with Activetrades. When I set the expert on a M1 graph, I obtain the usual "open offline EURUSDM2 to wiew chart". The problem is that I don't find the chart...
//+------------------------------------------------------------------+//| Order Entry function - Buy or Sell (pending orders)              |//+------------------------------------------------------------------+void OrderEntry(int direction){      //Stop calculations  -------------------   double...
Hi,  Somethimes i recive error 4024 on WebRequest function (Mt4, Build 670, windows 2008 r2 sserver. ERR_INTERNAL_ERROR Internal error   Can sombodey tell me why? 
help me i make indicator and now i have empty buffer....how to fill it if(limit>barsToProcess) limit=barsToProcess; for(int i=0;i<limit;i++) { double UP=iEnvelopes(NULL,0,14,MODE_SMA,0,PRICE_CLOSE,0.1,MODE_UPPER,0); double DN=iEnvelopes(NULL,0,14,MODE_SMA,0,PRICE_CLOSE,0.1...
hi everyone!!! i trying to code a closing condition. When there is an open position and candle is closing in profit bigger then 10*points close trade. i try to attach the code with src but i only get attachment option. it says it right there to use src , cant see any bottom for it. as u see i have...
Hi Guys I have installed my Metatrader 4 on an external hard drive. This allows me to work on my home or work PC. The platform is working, but it doesn't transfer my templates and open charts from one PC to the next. Is there a setting I need to change? How can I get my personal settings to move...
Hello,I would like to create a stoploss order that will be placed above the high of the previous order's initiation bar. Here is a picture to Illustrate the issue (In the example (picture)  there is a sell order):   Any Idea how to do that? The code below works fine If I use stoploss that is fixed...
Each time I recompile my EA (and it is used in some charts), MT4 crash and close SYSTEMATICALLY. Same problem when launching debug, the debug chart open, then crash... ==> It was working perfectly with previous build 6xx Very desappointing release :( because I also noticed many sudden crashes....
Hi, Does anyone know why any of my expert advisor logs older than 7 days get deleted? Is there any way to tell MT4 not to delete the logs?   I had not noticed this until recently.    Thanks in advance to anybody who replies. 
Hi All. I am new to MQL4 coding and am trying to code up my first automated trading system. I am looking to trade the largest absolute difference (among 10 currency pairs) between the opening price of the day and the closing price of the previous day. As such, I have to first define a new bar...
DLLs work, unless you are trying to use any system function, e.g. time(), fopen()  etc. Comments? 
Hi  I have to create a new sub-window in an EA and and create some Objects in the other window.  Thanks in Advance. 
Hello everyone, I'm new to this forum but I'm really experienced with Genetic Algorithm and  Genetic Algorithm applied to trading markets with positive results on betting exchange platforms. I'm writing this post to check if anyone is interested in a collaboration. The aim is to apply my method to...
hola! buenas tardes necesito ayuda para configurar mi robot, necesito ayuda con urgencia, por favor si me piden imagenes para que sea mas facil, me dicen ok gracias espero respuestas
Screen from tester MT4.
Hi. I have this piece of code exactly copied as is from MQL4 documentation:      string cookie=NULL,headers;    char post[],result[];    int res; //--- for working with server you need to add "https://www.google.com/finance"  //--- to the list of the allowed URLs (Main menu->Tools->Options, "Expert...
New article MQL5 Cookbook: Handling Typical Chart Events has been published: In my article I would like to describe the capabilities and hands-on practice of using OnChartEvent() with typical (standard) events predefined by MQL5 developers. The MQL5 articles and Code Base already contain examples of...
Hi guys,  An old pre build 600 coder here trying to get familiar with all the new functionality. I want to create an mt4 application that can execute trade orders with specific settings and manage things like trailing stops. I would like to use the new dialog panel which has buttons, input boxes,...
Hi I am experimenting with the good old CCI and enabled to see its 'hidden' buffers in the MarketWatch: #property indicator_separate_window#property indicator_buffers 4#property indicator_color1 LightSeaGreen#property indicator_color2 clrNONE#property indicator_color3 clrNONE#property...
hello guys.  I have a indicator in main windows. Is that possible to get the indicator-file-name in the "indicator" dir? I can only get the shortname of the indicator using "ChartIndicatorName()". but the shortname is not equal to the filename... confusing ...
  EA and iPad (2)
I'm using MT4 for Android now but I've never seen it on iPad. Can we use MQL editor on iPad? Can an EA work on iPad?
Is there any script (i could download) that will tell me how many positions have been opened per symbol ? Thanks in advance
Hello to everyone!  How I can obtain one click trading mode? (True or False)  Is there a way?   Thanks   Dottor Market 
DearAll, I started using the MT4 platform developing my personalEA recently. Now, they are working well especially with the backtest facility. But the problem I'm facing is when my EA is working on real timewith my broker (practice or live) accounts: sometimes my EA takes a bid delayto respond. So...
EURUSD: Recovers Higher On Correction EURUSD: Except EUR returns above the 1.2791 level, it faces a possible reversal of its corrective recovery triggered the past week. Support lies at the 1.2550 level where a break will expose the 1.2500 level. Below here will pave the way for a move lower towards...
Hi everyone.I trying to show my Code to solve a problem. the only option is attach with the brows bottom.cant find out or see Src bottom??????????please help
Hey all, I'm getting an array out of range on this custom indi. I can't seem to figure out why. Any help is greatly appreciated! //HullAMA.mq4#property copyright "Copyright © 2004, by konKop,wellx"#property link      "http://www.metaquotes.net"#property indicator_chart_window#property...
  Code Review (2)
Hey y'all,  I recently started working with MQL4 and I need some help with my code.  Although it runs and I can execute my EA, it doesn't work like it's supposed to.  Any help or tips wold be greatly appreciated.  The code is attached below: It runs in that it compiles successfully and I can attach...
Tradeing Trader
Hello, is it possible to read the trade performance from a MT4 account with a website and PHP technik, when i have the login data? I want be able to read the open and closed trades from historiy and i want be able to open new orders in the account and i have just the MT4 login at moment. If somebody...
In mt4 mobile for iphone, Is there any way to show trades in pips? On computer I am always use the option show trades in pips. And I am used to it. Now in mobile i need to see open trades in pips. Can somebody help me please. Why mt4 mobile doesnt have this option yet?