Download MetaTrader 5

MQL4 and MetaTrader 4 - page 664

To post a new topic, please log in or register
hi when i'm trying to install MT4 i get this error: "A debugger has been found running in your system. Please, unload it from memory and restart your program" i have windows Xp 32 bit thx for your help :)
Hi, I tried to put them into my code but it seems is unable to open a position, anyone could help with this ? { res=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask - 0.005,Ask + 0.005,"",MAGICMA,0,Blue); //this code is not working. // res=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,0,""...
I have gained the courage to put my newly written EA on a live account after thorough testing on historical data. The past week it made NO trades, but when I run a back test on the same period there are 5 trades for the week. My broker is FXOpen and I have an ECN account. Why does my EA not make...
Guys: Recently, I started to use MT4 tester to test my stragegy on Futures data. Usually, forex price data are 1.****. But to keep the profit value in right scale, I use the price like 0.****. For example, the price of a contact of certain commodity is 3425.00....And I make it to 0.3425. The changed...
dear sir, how to transfer data metastock to mt4, plz guide me,
Hi there anyone could explain this issue: I am using a particular EA with many variables, on MT4 platform. This issue affects on all mt4 platform tried: alpari, avafx, gomarkets, fx-open, and many others. usually I use about 5 single variable to create my personal optimization Each variable can be...
int start() { int counted_bars=IndicatorCounted(); //---- int i,limit, top, k; int signal[]; limit=Bars-1; if(counted_bars>=1) limit=Bars-counted_bars-1; if (limit<0) limit=0; for (i=limit;i>=0;i--) { if((FullBody(i))&&(isShrinking(i+1))){...
Hello, could please somebody help me? I cant find a solution. The Problem: When i put some Charts with my own settings, like 5 Min with Bollinger Bands and two different pairs (just a sample) and close the MT4 the next time when i open the MT4 i have to start from zero again without any savings. I...
My EA used to take about ~ 4 minutes to optimize but since the 406 update takes ~ 18 minutes. This is on a live account and demo account with VantageFX and AxisTrader brokers based in Australia. Is this slow optimization coincidental to the update and something with the brokers or have you found...
Do the Right Thing” CCI Trade Without resorting to the mathematics of the indicator, please note that CCI is an unbounded oscillator with any reading of +100 typically considered to be overbought and any reading of -100 oversold. For our purposes, however, we will use these levels as our trigger...
  simple mysql wrapper (21   1 2 3)
Hi All, I wrote a small wrapper for fetching row and fields from MySQL. source and compiled dll in attachment. Futher more a mqh for including the goodies :)
HI need help to modify shockbar ea. added stoploss at -40 pips. if price touch -40 pips they are close all open trades example : 1 eur/usd sell -40 << now touch at -40 close 5 trades (once time) 2 eur/usd sell -22 3 eur/usd sell -18 4 eur/usd sell -15 5 eur/usd sell -12...
Recently I downloaded Dukascopy tick data and went through the Birt's EA Review script process to create HST and FXT files. Does anyone out there know what happens to the volume data? What I noted is that the true volume in the tick data is lost in the conversion process. What ends up in the tick...
Dear all, I'm having some issues using iLowest on timeframes higher than the current chart timeframe. On one currency pair (EURJPY) it allows me to use the function for the current timeframe, but only higher timeframes from H4 upwards. On the other hand, using the AUDJPY pair, it allows me to use...
Hello :-) This is a really silly question but I would like to "look into the inmediate past" of my indicator to see if a signal has been triggered. It seems easy but indicator iteration is backwards! Is there a way to do it without falling into an infinite loop with iCustom calling myself over and...
The load template icon does not work - the save template and delete template options work though.
  Edit the CSV (1)
Hello, I wonder if it's possible to edit a cell in a csv file. At first I insert values​​: Type | Execution BUY | 0 Then when the order is executed, I would replace the 0 with 1. Thank you in advance!
Hi everyone, I have been experimenting with strings in mql4 and have stumbled upon a situation I cannot solve: int myInt1 = 0xffa8b; //myInt1 contains an integer as expected int myInt2 = StrToInteger("0xffa8b"); //fails int myInt3 = StrToInteger("\xffa8b"); //fails Does anyone have thoughts on why 2...
New Build of Mata trader loaded 11/3/2012 - If I nowtry to use Right Click Chart Objects List It no longer works, I just get an error sound have to useEsc to get out. Using Charts – Objects – Objects List Also gives same problem I am Using Windows 7 SP 1 Using older version of Meta Trader works...
  Please check the code (23   1 2 3)
Could anybody please check the code I want it to draw a moving average based on the difference between Support of 1st bar and Support of 2nd bar. thanks, Jay
Hello, I use Expert Advisor which trades on Offline chart with no problem at all. However my Expert Advisor uses Global Variables and if terminal is closed all Global Variables are deleted! I have tried my EA on Standard chart and GV are NOT deleted if terminal is closed and re-opened. How to solve...
email me at alwaysincreasing1@gmail.com.... I looking for someone to build be an a.e. using price action and couple of candle patterns; If your good at coding really know what you doing I would like to hear from you...Today would be great.. I'd like to get started right away.
Hi Everyone. I have been coding for afew months now, however seem to be having difficulty with this. I have had a go at it for a couple of weeks now on and off, but to no avail. I simply want an alarm, to go off when the two indicator lines cross, every new bar, however I must be overlooking...
I've always believed that if I'm on say TF 5M, and measure the High on bar0 of a higher TF like 1D... I would get today's high as seen at the end of the day... IOW I would be looking into the future. But this is not what is happening. What I get is the running high of the day, between the start of...
  one click buy (1)
any one has a script that performs buy on a click?
In order to make forex trade, we buy the PPC. Always thought you only supports windows. Now, we buy the windows phone 7. But you turn iphone, you let us down! Iphone battery is not demolition, it's screen is too small, do not have the conditions for sustainable trade. At the time of iphone at the...
Hello I have been approached lately by friends and other investors if I would manage their privat trading accounts. So far I only managed my own account, running my own MT4 software. I'm completely unaware of what kind of remuneration a professional trader or institution would receive for their...
Hi, I'm a bit of a newbie here, but I've searched the fourm and still dont have an answer. I'd like to write an external program in Visual Studio (Win 32 console application) that can get Market Quote changes in real time. I can see two options: 1. Open up a WinSock socket from my console...
i like to ask your advices about an Alarm indicator or EA, please... actuallay it is not for me, but for a trader friend of mine.. he asked my help and i promised to help him indeed.. 1) i need a kind of alarm indicator/EA .. it will recognize manually drawn trendlines and it will alarm if...
Hello, I would to know if it's possible to have a spread history indicator (not current spread). In fact I wonder if MetaTrader save both bid and ask value in history. Regards