MQL4 and MetaTrader 4 - page 1087

Hi, I put two indicators bellow a EURUSD-Chart in seperate Indicator-Window. Indicator 1 has a scaling of 0 and + 100 over the complete vertical indicator field. Indicator 2 has a scaling from -0.00456 to 0.003322 (also over the complete vertical axis). Both indicators are without fixed min and...
Hi, I want to get the trading hours of a contract like from 8am-22pm. I saw, that I can get it with mql5 "SymbolInfoSessionTrade". Is there anything link that im mql4 possible??
[Deleted]
How to do this, hide trailing stop loss, no stop loss?
I have a MQL4 library that my EA uses. The library has several variables declared on a global scope as well as functions. The content in these variables are preserved between calls to the library. It functions a bit like an object with properties (the variables) and methods to operate on them. The...
[Deleted]
hi there, I have a little problem. my indicator uses the call curtime() to get the server time and also uses LocalTime() to get my time. TimeDifference = CurTime () - LocalTime () ; My intention is to use these together to work out the start of the day from my perspective. Now it works perfectly
[Deleted]
Dear All, i have an expert advisor which i downloaded from a third party and on the backtest it gave me some weird parameters. Any expert here can help me with the parameters? They are: UsePi dotrail TSVAL PiValue TSTO TSGAP If someone could please tell me what those parameters are so that i can...
Dear, I program in VS 2010. I created two project: one of projects is C#(named MT4TestDLL), the other one is C++ (choose CLR in Project Type) (named CallTest) The EA of MT4 will call the C++ and C++ create an object that wrote with C#. When I execute this, I always receive error message like this "...
New article Analysis of the Main Characteristics of Time Series is published at mql5.com: This article introduces a class designed to give a quick preliminary estimate of characteristics of various time series. As this takes place, statistical parameters and autocorrelation function are estimated, a...
[Deleted]
Hi, I have the basics down, I can program well, I know basic technical analysis, I can create custom indicators and experts, I was wondering if there is a book that describes all the basics of the design of an automated trading system. Like I know I should have buys and sells, stop losses, something...
[Deleted]
Is there any way to run LiveUpdate from the DOS command line or does it have to be invoked from within MT4? Also, if I am running a older version of MT4 (i.e. 225 or such), I cannot setup a new demo account unless I upgrade to the latest MT4 from that broker.. The demo username and password is...
[Deleted]
  Virtual Stops  (5)
Hi, I am writing code from scratch and keep being told that I should be building in Virtual Stops so my orders are 'invisible' to brokers. Problem is I have no idea where to start; None of the books I have discuss it and all the posts I have found on the subject are fairly dated with conflicting...
Hi there, I want to create a dll in C#. I searched the forum and get some conflicting info - some people say you cannot do it, others say that c++ is required, others that it is possible, some say that a c++ wrapper to the c# is requiered. Is it possible to have an ea that talks to a plain c# dll?...
Hi, I'm using FX Pro, (uses 5 decimal and 3 decimal for jpy) how do i edit the code for MA( moving average ) to show 4 decimal for non jpy pairs and 2 decimal for jpy pairs on data window for metatrader 4? Or is there any other MA indicators that can do that? Thank you
[Deleted]
Hi, If you are looking for an experienced MQL4 programmer to code anything for you, I am your guy. I will code anything from the simplest indicator to the most elaborate EA. If you are interested, please contact me via the forum, or at my email address: tutbalut@gmail.com Successful trading to us...
[Deleted]
Greetings to all forum participants and visitors. I want to offer all interested to discuss and search for a set of indicators best suited to feed into neural network inputs. The profitability of neuronet in my program may be used as an estimation tool, I can also lay out MQL4 Expert Advisor with a
[Deleted]
  MACD INDICATOR  (3)
Dear Traders.. I'm just a newbie.... Would like to know is there anyone sincerely could assist me to create a simple indicator based on MACD histogram bar. Required an alert only on the 5th bar and at the same time could identify the CS of the 4th bar... TF 1 hour
[Deleted]
Hi, I´m new here, and to the MT4 API. Is there a template for a DLL in C++ with some simple API calls I can play with and get up and running ? Thank you very much.
[Deleted]
I coded an indicator that works on my mT4 and gave it to a friend and it works on his as well. He gave it to a third party who is using interbank FX mT4 and everytime he attaches the indicator his mT4 freezes and closes. What are possible reasons on why this is happening?
This is not programming related, so please humor me on this one. Don't you find it annoying that price is going up when your indicator is going down? I used to think that the best way to counter that was finding some magical adaptive window function (that changes the look-back length of your...
[Deleted]
  Vertical Lines  (5)
How a expert put vertical line in chart, every time to open order. I tried this code, but it works only for the first order, not work in the next orders.   //---------------------  if(ScalpSignal()==1)//buy  {  ObjectCreate("Buy_Signal",OBJ_HLINE,0,TimeCurrent(),Ask);  ObjectSet("Buy_Signal"...
Hi Everybody, i've downloaded history tick data from Dukaskopy: http://www.dukascopy.com/swiss/english/data_feed/historical/?ibref=2061 You can download .hst files containing tick data as well, but can MT4 handle them? Specialy its backtester? Is there any better extern backtester than the MT4 one?...
[Deleted]
Hi guys I´m a bit new to mql4, but I understand the most basic things in programming. I want to create my own EA based on the highs and lows a zigzag indicator generates. Thus I try to write a zigzag code who generates me the highs and lows because later I want to improve my EA constantly, so i
[Deleted]
Hello All, I was back testing a very simple EA on the "Every Tick" mode with the M1 time period and I noticed that the tester was randomly overlooking times when my take profit price hit. It is completely random. Most times it closes out the order properly. I suspected that there was a data...
Hi Coders, Got a great system. Need to make EA. Please email me for details. Email: savio.entertainment@gmail.com Regards, Caetano
-
Folks, the data coming out of Metaquotes servers is garbage. This problem has been going on for almost 2 years now. I really dont see you any of you can expect to make money when the data used to backtest is full of holes. The Metaquotes History and how it fills charts in MT4, combined with your...
[Deleted]
I closed meta trader last week by mistake and my EA is accumulating some variables, so once it been closed it reset to initial value is there is any way at meta trader to prevent this action, like when I click close it gives me a pop up window for confirmation " Do you really want to close ......
Hi, what I m trying to do is on a string that i m reading from a file that has a Date format to add 24 hours. So for example I m reading '2012.01.16 14:00' to convert this on '2012.01.17 14:00' and so on. Its a CSV file from an excel so Date format is not a problem i can change it. But I ve got...
[Deleted]
  THE "GRAIL" EXISTS!!!  (148   1 2 3 4 5 ... 14 15)
This topic is already pretty banged up, but I'd like to say that whoever is looking will find it. I'm a bit shocked myself that it turned out to be so simple, and in fact there are only 2 indicators. At first I did not even realize what I had in my hands, probably because other indicators did not
is there any way to install another server add of diferent broker into mt4 mobile i already have?
I' ve try this method but without effects:     for (i =   OrdersTotal () - 1   ; i >= 0 ; i -- )                {//for2    if (OrderSelect(i, SELECT_BY_POS)    && OrderSymbol () == Symbol()     && diference <= OrderProfit () ) Also I can use OrderOpenPrice like that:    int course = Bid ;    for (i...