MQL4 and MetaTrader 4 - page 1392

  How to print ?  (2)
Hi, I am a new user of the MQL4 programming. For a starter the function PRINT is very important in order to debug the program. The problem is that I dont know where this output is presented in my screen ? Can someone help ? Thanks
[Deleted]
Selectively takes trade at optimal times and days. Back testing for 1 year shows $10,000 grow to more than $120,000. How does one attach a file?
hey I have heard it happen to someone else and now it has happened to me as well.When you ask for your money back guarantee after buying a system some people conviently ignores you .They got your money they don't need anything else from you.I bought a mecanical scalping system said to be 90%...
Is it possible to get three forex pairs on one chart? Specifically, I need EUR/USD, GBP/USD and EUR.GPB or the spread between the first two. After that I need a bollinger bands on each and a moving average on each. Am I asking too much? If that cant happen is if possible to sync the three charts...
  About coding style  (63   1 2 3 4 5 6 7)
I bring this topic up because I have a decent experience of coding and recoding a long time ago written from scratch in MQL4 and I want to share my experience. My colleague, I don't doubt your ability to quickly write a program that implements some algorithm. But I've already made sure that if you
[Deleted]
Gday! I tried searching for this in the forum but no results... Lets say bar[2] is 60 pips from Low to High, how would you code an automatic way of making the EA calculate the volatility of that bar (in pips) and use that information to connect with different aspects of the EA? Cheers, mank
Correlation Strategy. Hello Everyone!! I have been trading for several years but have never posted in a forum until now.I am not soliciting to sell a strategy nor am I soliciting for members to joinany group. My correlation strategy is simply trading more than one pair at a time and viewing all the...
I have a function that checks only open trades on current symbol to see if they exceed a specific pip value provided by user called "CashCollectInPips". Let's assume 10 pips. The problem here is that although I believe the code to be correct, I sometimes see wrong orders being closed or once in a...
[Deleted]
It'd be useful to have a flat alphabetically ordered list of standard functions at the end of the Documentation for quick reference. Each index would be a link to the definition of that function. If it already exists somewhere, would you please share the URL. Thanks
Hi! I have an array with ticket number in the 1st column, and I've been trying to figure out a way such that my function will return the index of the ticket number I input. When I try to compile the below, the compiler says "Search function returns no result".. Please explain to me how/why. :)...
will this code work to get the proper drawdown and target 2 times the drawdown in profits int tm, z; double lw, dd; for (int i=0;i<OrdersTotal();i++) { OrderSelect(i,SELECT_BY_POS,MODE_TRADES); tm = (TimeCurrent()-OrderOpenTime())/60; if (OrderType()==OP_BUY) {...
Hello i would like some help with an indicator im using. The indicatoris standard deviation. I want it to be modified to do one simple thing, that is to take price and adjust to another indicators window (thesame way the native standard deviation included in metatrader does- orlike F.E the moving...
[Deleted]
What EA you want? Don't buy it, you can get for FREE YM: FPFTrade Skype: FPFTrade Email: support@fpftrade.com http://www.fpftrade.com | http://www.fpftrade.net | http://www.fpftrade.org
Hi everyone, I have recently downloaded the metatrader platform so its all new to me, when I try to compile any recent changes to me EA the message "could not launch compiler" pops up, could any kind person help ? K
[Deleted]
Hi Everyone I am trying to get my EA to read the value of a line drawn by a custom indicator. The indicator has NO buffers, instead it uses Object Create to draw triangular lines. How can I get an EA to read the price value of these drawn graphical objects. The usual coding for custom indicators,...
Hi, I want to draw trend lines based on Daily time frame (D1) and on the hourly time frame (H1). Is it possible to switch the chart time frame programmatically? I mean... 1) switch to D1 and draw the trend lines...then 2) switch to H1 and draw the trend lines. Is it possible? I am already drawing...
according to the help file,OrderSelect function seems only can select an order by ticket?
  What's new in MQL5  (11   1 2)
List of changes in the Help for MQL5: 1. Added the OBJPROP_READONLY property for the Edit graphical object, which enables/disables editing of a text in this object; 2. Added an example for the IndicatorRelease() function; 3. Added the IndicatorCreate() function in the "Access to timeseries...
[Deleted]
I am not entirely sure what I've done incorrectly here... but it profits for some time but the moment there is a losing trade it just runs until margin call.
Hi, I have an indicator working with GV and I happened to notice a funny thing that occurs at terminal's startup. I check for existence of GVs at every call of the indicator start function and I've noticed that if the indicator is loaded on a chart when the MT terminal starts, the first check...
[Deleted]
I must be doing something wrong here, I am downloading EA after EA in the user area and I'd say maybe one out of 50 works when I run a backtest. The rest simply do not place trades, I must be doing something wrong, failing to initialize. Can anyone tell me why and what to do to make them operate?
Hello, I build and sell companies for a living although I am now in semi-retirement. I now trade Forex. I am looking to develop EA's and Marketing websites in the UK and Europe but need a Partner with (or even get access to) a UK based Developer of MQL4 with EA expertise and preferably knowledge of...
Hi everyone, could anyone run me through the proccess of setting up my EA to link to other meta trader accounts through the DLL link. All EA's are created in this format so it would be a case of sending the format to the other user and after loading in their experts folder, they would have to accept...
[Deleted]
Do you have jpy M1 history data, lets say for 3 months late? and where is it stored on mt4 folder, is it on history? Thank you very much.
[Deleted]
Hi all, I was doing EAs using EAbuilder website and wonder that the magicnumber dont work. I been generate 2 Eas which one Buy when price above 100SMA, another Buy when price above 200SMA. with diffrent MagicNum. As theory, when i place them in diffrent chart althou same pair, 2 EA should open their...
Not to be seen, although the news says otherwise. Here I am sitting here in the Canaries :), and I see terribly sad faces on the locals - no tourists... And very sad. So the way out of the crisis is more likely wishful thinking. We need to take this into account
I have been trying to create a function that will close a long position when a short signal is fired and vice versa. could some kind soul please help me out.. I am using the 10p3 as the base but I have taken all the indicators our and set up a bar set up. if (Open[pos+0]>=Low[pos+1] &&...
[Deleted]
Hi all, I'm having trouble getting the Automated Optimization method described at https://www.mql5.com/en/articles/1467 to work. The code creates the optimise.ini file and copies it into the terminal folder successfully, but when the shell command is given to launch the terminal, I do not see any...
[Deleted]
Is it possible to use iCustom values over time? double val=iCustom(NULL, 0, "Moving Average Rate of Change",5000,9,33,13,5,2,2,0); This works fine, but if I change it to... double val=iCustom(NULL, 5, "Moving Average Rate of Change",5000,9,33,13,5,2,2,0); All I get is zeros... Is this a limitation...
What are the most simplest systems? I know that probability trading is an example, channel trading is another. Does anyone have any other ideas, simple concepts that are used in trading?