MQL4 and MetaTrader 4 - page 998

To post a new topic, please log in or register
  Which ea is this? (11   1 2)
Which ea is this? Know somebody it? Strategy Tester Report VaLaki_v3.7 SzimbólumGBPUSD (British Pound vs US Dollar)Időszak15 Perc (M15) 2008.02.01 00:00 - 2008.02.28 23:45 (2008.02.01 - 2008.02.29)ModelMinden tick (minden elérhető legkisebb időegységet alapul véve fraktális...
How to make a closure order, when the order is positive? I tried to do as in the example below, but sometimes occurs in close negative? Answer I look! for(int a=0;a<OrdersTotal();a++) { if(OrderSelect(a,SELECT_BY_POS,MODE_TRADES)==false) break; //---- check order type...
I am trying to rewrite the code for the Flattr~2 to work with the RSI and I am getting a "Wrong parameters count" on line 91/82. The original code is below, followed by my re-write code. Can anyone help, please? Thanks in advance, Gordon Here's the original:...
  Perky Ashi (2)
Hi. I'm attempting to modify one of FerruFX's indicators to use custom indicators. I've already gotten all the MAs to work correctly, but I'm not sure how to get the correct information for the other two indicators. I would ultimately like this to display the MTF data from the two indicators I've...
Hi, Is it possible to change de default propreties for charts? I need to change the "show grid" to false by default. Thanks
How do i get the following code to check if it should close a trade on a bar different than the bar the order is opened? int result,type; result = OrderSelect(ticket, SELECT_BY_TICKET, MODE_TRADES); if(result ==...
New article The Price Histogram (Market Profile) and its implementation in MQL5 is published at MQL5.com In this article I will consider Price Histogram - a simplified model ofMarket Profile, and will describe its implementation in MQL5. Author: Dmitry
Could any-one please help me? I have coded an indicator which provides a trade entry, using a combination of moving averages and oscillators. I would like to display the base indicators (ma's and oscillators) in the appropriate windows, i.e. some indicators in the price window and two additional...
  Vb.NET (8)
Can someone tell me definitively if VB.NET can be used to write DLLs for MetaTrader? If so can someone post an example construct of a VB.NET class as MetaTrader would need it to be. Thanks
Released new MetaTrader API for .NET It allows you to control MetaTrader terminal from .NET code. The code can be debugged in Visual Studio. Download page http://www.dotnetremoting.com/dow.aspx For the enquires : support@dotnetremoting.com
Hi, I know I've spoken about all of this before in other posts... but I think this would be a VERY useful addition to the scene... I am slightly frustrated by the MQL4 language sometimes and often need to "talk" to the outside world -I have my reasons. What I would find enormously useful is the...
Hello, I've been attempting to use a VB.NET library through a Managed C++ wrapper, andI'm having some issues. I could also use C#, but I'm assuming if it works for one,it will work for the other. I'm hoping that someone here can guide me. I read onthe metaquotes.net forum that this was possible:...
There is a problem that creeps up now and then, when I run an EA. Sometimes after an EA is activitated, I want to change my initial extern values. So I deactivate my EA and click on properties to change the variables. After entering the new values and hitting ok, often the EA continues as...
Help please, I’m trying to figure out what the last variable: "int shift" in the iMA functions does? Also I want to know how to find the iMA value for (the) previous bar(s) I have a hunch that these two are related and that this ‘shift’ function does just that: provides the iMA value of (the)...
This is our last trading system, the statement are online directly uploaded from two demo account. In one account we're trading currencies, in the another commodities (oil and gold). I would like to hear your impressions. We're testing now the system with real money. http://www.mercurialtrading...
Hello, my EA uses an indicator to determine it's trades, the problem is that the indicator has quite a lot of parameters. When testing, it is possible to just add a fresh indicator on the chart, but with the many parameters, it's easy to get mistaken, and it's a lot of work to make sure it's all...
Hello, I have this code that works fine if called from the same script. But if it is stored in a mq4 library ( mqr file library and a header). It does not copy the rates. How should I use or modified this function or declare the array in the calling script in order to get copied rates correctly....
Is there a way to achieve ObjectGetText()? I have no success with trying ObjectGet(), which returns only double type.
Hello, can somebody help me to bild EA witch will automatic change stop loss and make new pending order . Exsample .. I open order on E/u BUY at 1.4000 ! - when price come to +20 pips profit (1.4020) EA must change stoploss to 1.4010 and make new pending order on open price (1.4000) withinsame...
  Sorting (10)
As I know there is no sorting function in the mql4. Can anybody help with a sorting code if any available? I need a list of numbers to be sorted in descending order. Thank you.
I have found that backtester run the same parameters on different passes. It seems that a lot of passes are doubled ! the result is that testing are very long because of the number of passes ( see pass 560 and 570 or 135 and 482) 560 10269.71 27 4.42 380.36 2555.42 8.92% Période_Calcul=15...
Hi, is it possible to redeclare mt4 function? Example: bool Print(int a, int b) { if(a>b) { return true; } else { return false; } From now function Print will compare two integers. Any similar or different way to override MT4 function?
Hi folks, apologies if I have posted this in the wrong section of the forum. I'm relatively new to MQL4 and am having some trouble applying values from a custom indicator to an array in my EA. Sometimes it works fine, and other times it doesn't. At the moment I'm using: #define CUST1 0 to...
  Trade with me (85   1 2 3 4 5 ... 8 9)
Hello Advanced members. Due to success, contacts and question about my trading systems on Elite section I will post possible trades here inside. Mostly future trades will be based on this technique: https://www.mql5.com/en/forum/178666 Some on this system: https://www.mql5.com/en/forum/178487 Some...
Can anyone tell me how to explicitly assign doubles to arrays elements? Pardon my ignorance but after 15yrs experience with C/C++ and a week reading the MT4 docs, I just don't get this language. pls see below Thanks for any help #property indicator_separate_window // Indicator is drawn in the...
Hello, Happy New Year! When I do a strategy test using Strategy Tester inthe MT4, it only goes back to Jan 9, 2010 even though I put June 2009. Whatcauses this to not go back farther in time using the strategy tester in theMT4? I am testing using EURUSD M15 and I have done the importof M1 to M15...
Hello all, I'm completely new to this language but have good programming experience, so most of my questions will be regarding the specifics of this language rather than a how-do-you-do-this (I hope I'm smart enough of figuring that out from the examples  ;-) ). So, my first question is: 1) You can...
Hello, I have this code that works fine if called from the same script. But if it is stored in a mq4 library ( mqr file library and a header). It does not copy the rates. How should I use or modified this function or declare the array in the calling script in order to get copied rates correctly....
Hello and thanks for the help in advance - if you would be so kind. The concept is very simple, but I need some help as I do not know MQL. I'm good with Excel pseudo code and can make any Excel spreadsheet look almost like Currenex on screen (I'm that good with Excel!) and I can get 'some' VbScript...
Hi,my name is Simon,I am glad to introduce the NiuTrader to you all. NiuTrader software can share your trading signal to all your mt4 accounts.Right now only has Chinese version,but sooner will has English version.Here is the demo video: