MQL4 and MetaTrader 4 - page 783

[Deleted]
Hello guys, thanks for helping once more . Here's a problem . I declare Pips as a global variables, since the Pips is a += . Meaning if I run this part of function at OnTick(), it will keep on adding and adding non stop which shouldn't be correct at all . Let say right now at this moment the pips...
Hello traders, could you please help me? I need to disable incoming emails into one of my MT4 client. The reason is: I use more MT4 clients connected do one trading account and I want all emails receive in selected MT4 client. Thanks.
[Deleted]
Hello, Below are the first lines in my first EA. I get 0 returnedfor the iTime function. Is theresomething else I need to do to allow a single EA on a single chart to work withmultiple symbols on multiple time frames? For example, do I need to have at leastone chart open for each currency pair and...
[Deleted]
I'm trying to download history data from the history center. I changed the "max number of bars" to 9999999999999, but it changed back automatically to 2147483647. I don't think this is the issue. I opened the "history center" and tried to download currency pairs like EURJPY and EURCHF, of 1 hour...
I want my EA to check something for each tick between the 1st of March 2013 and the 3rd of April 2013. What should i put inside for(???) ? Thanks Aymeric p.s after this one i swear i stop asking silly questions for today :-)
Hi, I want to test a mini EA that just call the function printf(), but i can't find the terminal to see the result.. Aymeric
[Deleted]
Hi all, We are a computer firm based in Belgium, and have a customer that uses MetaTrader 4 software. Currently they have a few PC's, mainly based on an Intel i7-3770 CPU, 16Gb RAM and a fast SSD for storage. They manage to run about 39 platforms with 2 charts per platform on their client PC's, when
[Deleted]
I make Window panel with Dialog.mqh from std Lib... but this EA can't run in visual tester with error : initialization failed (1) even without visual mode..The EA run very slowes. if i pass creation of win panel, EA run normal in Visual Test Any clue please....!
[Deleted]
I'm tring to test my EA into MT4. But when I try EA "Pokus3" with text "Moje EA" and MagicNumber 1003, i can se EA "Pokus" with text "Moje prvni strategie" with MN 1001, viz IMG. how is it possible??? Some cache or what?? thx
[Deleted]
hi, I am testing my e.a, so i am using lots of Alert function for checking any situation... now i dont need to see any alert message, is there any way to control alert message ? too many to delete alert message, looking for other way by other function or other way.... thanks ~
Hi, I finished my script and launched it on 3 pairs on demo account to see how it would work. I loaded same script except just changed the magic number, so trades don't get mixed. Immediately the script should have opened a trade on each of the pair (so I should have 3 live trades going), but...
I made an EA that when price passed a line condition for opening a trade was true The level was found with          if(ObjectFind("new_buy") != -1)           {           buyprice = ObjectGet("new_buy",OBJPROP_PRICE1);              {              if(pAsk >= buyprice)Openbuystop =...
Hi everybody, I am trying to incorporate interactive buttons from the mql4 help examples into my code, and a strange conflict arises when my code uses input variables, breaking initialization of the buttons panel. In order to show the conflict I am enclosing an illustrative example below. An object
Hey guys, I just want to print some rules on the right side of the chart. But there is a problem I don't understand. Why is my string-array automatically converted to a number-array?! The compliling error occurs in the row containing ObjectSetText(). #property indicator_chart_windowint i, k;string...
Banned for advertising
Free daily forex signals 100pips - 300pips every week and Get 100% Cash back for every lot size you use in trading. Hi friends, I am Angella and I like to give you this useful information. Do you know you can actually get Free Forex Signals Everyday? This site gives out free forex signals that gives...
I have three separate scripts which generate and update three key drawings; fibonacci retracements, gann fans and andrew's pitchfork. After attaching the scripts to a chart though they appear for a few moments, begin calculating the appropriate position and then seemingly vanish. Has anyone...
Sorry if I have missed this somewhere in the documentation. Sometimes in my EAs, I will want to do something if a trade is closed by hitting the SL or TP. I would like to know if there is a foolproof way of determining this? I know that some brokers will add "sl or "tp" to the comment field, but I...
[Deleted]
Hi I installed MT4 on my Samsung S4 mini, but as you can see, some parts of the screen are missing. I have tried re installing, still the same. Anyone else seen this problem? Better still, anyone got a fix?
[Deleted]
Hello all, I am new to mql4 but have had some programming experience elsewhere. I am using these calculations to describe trend: price above BOTH ema200 and ema50 = uptrend. price below BOTH emas = downtrend. I am displaying a bar at the bottom of the screen to indicate if the above conditions are...
Hi guys, is there any possibilty to calculate the difference between servertime and london time in backtest operating mode??? In real/demo trading environment this is more or less easy but all of these functions are useless in the strategy tester because the only time you get is the simulated...
Good morning, I hope you are fine. I have been having quite a problem calculating the real leverage used by the trading account. We can define real leverage as: double real_leverage =  {total value of the open trades}/AccountEquity(); I am using the SymbolInfoDouble function to calculate the value...
How is a custom indicator supposed to call other custom indicator values from just the open price time, such as seen by using the strategy tester in open prices model? So for example: at opening of a new candle/bar (where only the open price is showing) -- What are the prices of the custom...
Hi, I'm new here and I want to know how to install indicators provided here in MT4-625 I tried copy and paste them in "indicators" folder but they not worked Thank you
It seems that iMA will only return a non zero value using the "standard" time frames. Is there a way of returning a moving average price using time frames such as m10 etc. Additionally, what is the purpose of the maShift input? int MAperiods1 = 9;     int timeFrame  = 10;int iShift     = 0;int...
Hello, I have noticed that when I recompile the GrabWeb function using the MT4 Version: 4.0 Build 625 (21 Mar 2014) the InternetReadFile() does not return anything but a space (1 character long) for every reading instead of the correct strings. If, on the same platform as above mentioned, I run...
I want to report a potential bug of build 600. I run my terminals on Windows 2003 VPS. I set scheduled task to restart my VPS daily, and open all terminals after the OS reboot. This is what I got after VPS restart: What I found is, after the OS restart, my terminals losing all accounts, experts,...
I recently moved a lot of code compiled by build 509 to build 625. Overall 625 found a lot of issues missed by the old compiler, but I'm puzzled by an issue with ArraySize() used on a two dimensional array passed by reference, which still works fine when the updated source is compiled by 509. I...
[Deleted]
does exist mt4 or mt5 version for Windows Phone 8?
Hi everybody, try to enter 0.5 or any other double on input in this script - the input cell will not allow you to do that. Apparently an input variable can not be of double type, but it is not mentioned in documentation, is it? Tested on build 625....