Hi, After manually closing a trade what will happen? Will it go to init(), or start(), will it go to deinit() ?
If i want a indicator in a EA to read frome the higher timeframe how do i code that? if (iCustom(NULL, 0, "TriggerLinesAlert", 1, 15, 3, 5, 5)
[Deleted]
MT4 can calculate square? I can not. EX Print("square=",10^2);
[Deleted]
Hey guys, I have a mt4 ea which i built from the EA builder at sufx.core.t3-ism.net The EA is running as it should on EUR/USD pair, and i have put a magic number on it in settings (1379) i have also been doing some manual trading on the same account whether it is from the same PC, or another with...
[Deleted]
Someone can modify the attached indicator so it will display pivot points based on weekly candle instead of daily candle? Help will be much appreciated
[Deleted]
dear all friends i realy need output of this function to use in my expert but it just returns zero to me. How can i use this function in expert? if i can't use it which function and how can be use instead of this one? best regards to all
Hi, I made a script which uses Open[i] and now I want to replace with iOpen(symbol,period,i) but it returns 0. I don't understand the help which says: If local history is empty (not loaded), function returns 0. what does it mean ? Thanks.
[Deleted]
Hi. I am new to MQL4. I wish to debug/test using Print statement. But for the life of me, I cannot discover where the print statement is actually printed? I went to terminal and then to Experts tab and the log doesn't show any Print statements(I printed Hello world). Where can I find the output of...
[Deleted]
I wrote an EA that works well on FXDD and FXDD Malta. On a FXCM I get the error#130 - invalid stop loss. On FXDD I use ext int =99 and on FXDD Malta I use ext int = 999 and they both work fine. Any ideas??? charlieam99
Did someone see my question here ? https://www.mql5.com/en/forum/128278 Thanks.
My position size and pip value calculation works fine on FOREX pairs, including JPY pairs, but on the metals it all goes wrong. Comment( MarketInfo("XAUUSD",MODE_TICKVALUE) ); gives me 5 which is wrong since I have a GBP account. I am expecting something like 6.422 since GBPUSD is currently 1.5569 I
[Deleted]
I added this alert to a code. I'd like to get only one alert when a line reach an other line. But when lines meet I get alert every price moving. How can I avoid this? if (n_max==ExtMapBuffer0[cnt]) Alert("Open_Sell: ",Symbol()," M",Period()); Thx
Hi! I have a problem with DeleteOrder function. My EA places series of 18 pending orders and assigns order ticket numbers to the array. Program should delete them later on when it decides that they are in a wrong place, and put new ones in a valid place. The problem is that new orders are placed but...
Is there an mql4 command to parallelize execution of for loops (or do while, or anything else for that matter)? Say i have a 6 core machine and I want to run 1 million histories in each core, and then combine the statistics afterwards. How do I go about specifying which core to run each for loop in...
[Deleted]
When launching software There has been a critical error Time : 2010.08.30 09:36 Program : Client Terminal Version : 4.00 (build: 221, 05 Mar 2009) OS : Windows Vista Professional 6.1 (Build 7600) Processors : 2 x X86 (level 6) Memory : 4193400/2451872 kb Exception...
I am trying to creat an EA that opens two pending trades one sellstop at the low of 4H Candle, and the other a buyStop at the high of the same 4H Candle, and those two pending trades must have to be expired if they have not reached the goal before the next coming 4H Candle. //|...
Hello. You can download a version of multi-currency indicator https://www.mql5.com/ru/code/9885 This is an extended multi-currency version of the Market Way indicator https://www.mql5.com/en/code/9574 Good luck and profits.
[Deleted]
I have developed a strategy but dont know how to develop an EA. Can any good programmer deveop an EA for me. i can mail the complete strategy to him. my email id is : amangoyal01@yahoo.com
http://eesfx.com/wiki/docs:frameworkA framework for writing strategy manuals & documentation isneeded. Having a standard for documentation of FX strategies will help documentwriters, by providing an easy to use template, which will increaseorganization. It will help users understand documents as...
Hi, what do I have to change, if I get the ERR_CANNOT_OPEN_FILE Error, when I want to open a csv-File in the C:\Program Files\MetaTrader - Alpari_Demo\experts\files - folder?? Thank you!
[Deleted]
Hi guys, I'm experimenting with a new system.......I would like to apply a Bollinger Band to an On Balance Volume indicator. This is pretty easy to create on the chart using "First Indicators Data" as the applied price when I load the BB manually. My question is, how would I do this programmatically...
[Deleted]
Hi I'm having a big problem with windowmaxprice / minprice. They do not seem to be reliable. What I'm doing is using an ea to take screenshots of each chart and storing the maxprice and minprice so i can calculate where things are on the chart using a VB application I've written. But I'm finding...
[Deleted]
I am bored, I want to offer you colleagues to play a game, which I have conventionally called "push-up squeeze-out". The essence and rules, We take 4H quotes of EURUSD of the whole 2008 year and try to squeeze the maximum result out of them using such a device: double MA1 = iMA ( NULL , 0 , Per
Any way we can guess how many total customers there are in the world using MT4, demo, live, active, etc.? Of course brokers do not publish 100% of their data but maybe there is some way to obtain this information through MetaQuotes or by using some interpolation / analysis of existing data.
I seem to have this problem sometimes when doing mult colored line plots: the current bar paints to zero or EMPTY_VALUE... I came across it once a few weeks back, and in that situation moved the code from a library to the indicator code and it worked fine. This time I want to leave it in the library...
[Deleted]
I am a .net programmer, but new to mql4. I am working on this EA for a friend of mine. seems like "infinite loop" is the only solution. Here's what I need to do. I need to check 6-7 currency pairs every minute to figure out the trend. usually calculate is triggered by "tick", new tick coming in,...
I would like to compare two offline chars and get the correlation between the signals. i'm not sure how to access (2) offline charts with the custom indicator. Any suggestions?
hey there, I am using a mt4 demo from broco, and since 2 weeks I have the following problem: I open mt4 and once in a while ALL my charts my actual profile have been reset to 1h eur charts. all settings, objects etc that I use have been reset. any idea why this is happening? It happend the 3rd time...
Hello Mrs... I use the fallow code for create an loop. This loop save in .csv file any information. But when I finish or remove this script, all information in my .csv file are erased... I imagine that is happens because my loop is infinite. So, when I remove this script I generate an error...I dont...
[Deleted]
Hello, I am looking for a modification of the magnified market price indicator. I would like it to show the current price increased or decreased by one specific amount of pips that is determined by me. For example, the current price EUR/USD is 1,2750. I would like the indicator to show 1,2750 +/- a...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.