Download MetaTrader 5

MQL4 and MetaTrader 4 - page 525

To post a new topic, please log in or register
I want to get history data by symbol using an EA ? Is it possible ? If yes, can you suggest a code ?
hi, is it possible? can i change the investor's password thru EA?. Suppose i want the investor password from one time period to another be changed.
  Heikin-Ashi (8)
I have a historical question.  Does anyone know the name or names of the individuals to have developed the Heikin-ashi technique and when such individuals had lived?  With all the information on the history of candlesticks available, I've been surprisingly unable to come across any information on...
extern bool   TradeOnFriday     =true;        //trade on fridayextern int    FridayStartHour     =9;            //start hour time filter on fridayextern int    FridayEndHour       =12;          //end hour time filter on fridayvoid...
Hello everyone, I am new in programming. Recently I coded the following program. //+------------------------------------------------------------------+//|                                                 TODAYtrendEA.mq4 |//|                                                            tanim...
I am wondering if it is possible to have a variable be one of the parameters to be the size of an array I am using?  I am using the array to hold values of indicators for different periods of time, and want to use an external variable to change the array size in the strategy tester and not the code...
Hi MQL4 Community, i am currently playing with an IDE for MQL via Notepad++. I can compile etc perfectly but i wish to implement the function of metaeditor.exe which does re-apply the EA to chart (re-initialising). I think there is a special PostMessageA for this. Does someone know more about this...
Hi, In my strategy by the activation of a pending order, other orders should be closed, unfortunately a problem occurred here which is the activated pending order is closed too. i would like this doesn't happen. would u please help me? best regards,
Hi. How to do only one trade per day ?
Hi all, I comment a question, but first I apologize for my English. What happens is that in my mt4 platform currently working with several templates at once, but the problem is that every time I change from one template to another, the objects that I have clear paths to identify support and...
How can I get the minimum of the second dimension of the array ?  This is my code and the error is " wrong dimension" in ventana[i-1]   Thanks !     double ventana[9999][20];   int ventanamin[9999];       int dim=ArrayRange(ventana,0);      for ( i=1; i<=dim;i++)...
  EURJPY symbol (1)
Hello, In my metatrader there is no 'EURJPY' symbol. I want to know how to download it? I have also go to 'File-New chart' but no eurjpy symbol. Somebody please tell me how can I get it.
function 'mysql_num_rows' call from dll 'libmysql.dll' critical error c0000005 at 100040F4.  int mrticket = -1;    string query="Select concat(';',concat_ws(';', masterticket, ticket))  from test.tickets where Ticket = " + ticket;    int length=StringLen(query);     mysql_real_query(mysql,query...
Hi All I wonder if one of you good people could create the following: An Indicator or EA that scrolls from one Pair to another automatically. The Idea would be to scroll from one pair to another and remain on the screen for a given time, let's say 10...
Hello guys. I am not sure if anything like this exists but here is what i am looking for. I need an indicator that would print out for me the exact times of SMA crossings. So I can use it to back test a lot of data. It pretty much has to say something like: 12:27 am 01/24/12 06:25 am 01/24/12 and so...
When I do backtesting manually it is very SLOW because I have to keep checking the date and figuring what day that was. I want to find an indicator that I could just turn on and it would print "monday, tuesday" etc above or below each bar. That way I can backtest only taking trades on Mon/Tues/wed...
Hi, I want know it possible, instead I make library in dll format, make that in ex4 format? If yes, any reference for that? Regards,  
hi Guys! i new here and it is my first post here... :)) on Tradestation you can setup a chart which every candle/bar Represent X ticks as you choose and not only tick-by-tick. how can i have it here?   plz advise! Yoseph   
  Chart scroll (7)
Hello. I'm new to MT4. I was wondering if i could scroll the charts IN FRONT OF the price action. I find it really unconfortable that the current price action must be at the very right-hand side of my chart. For example, when i place a fibonacci (but not only) i can't really get a clear view. I post...
Hi all, when i was reviewing my trade history i realized that almost all history trades has disappeared. What could have happened?. Regards. 
Hi,   I have a newbie question on charting in MT4 .. If I take 1 Hr chart, how are open and close prices for each  bar determined ? Is the bar drawn to the clock  .i.e price@07:00:00 is open pos, price@08:00:00 as close for 7am-8am bar or is there some other logic used  ?   Thanks in Advance ..   
Hi, my first post here. :)  I'm a beginner trader as well as beginner coder. I've been trading by simply using naked charts with hand drawn lines mostly. Also mostly binary options so far but starting with spot as well.  I've had success so far using this price action strategy but staring at...
Hello, can anybody clarify me the meaning of fitnes parameter in [EA's name].ini file in tester directory? The file looks like this: <common> positions=2 deposit=[some value] currency=EUR fitnes=0 genetic=0 </common> Best regards!
  MACD, again (10)
Hi again,    OK, still having problems on something that should be a piece of cake. please see attached screenshot for a start.  All I'm trying to do is code a simple EA to go long on macd cross over and go short when it crosses over the other way. But I seem to be having some really silly trades...
for(i=0; i<limit; i++)     {      UpTicks[i]=(Volume[i]+(Close[i]-Open[i])/Point)/2;      DownTicks[i]=Volume[i]-UpTicks[i];      if(UpTicks[0]>=100 && DownTicks[0]<=50)      Alert("BUY (", Symbol(), ", ", Period(), ") !!!");      } above is part of an alert from TickSeperateVolume indicator;...
hi all please , i want help in this problem ....... my EA open many sell orders and buy orders in short period and each order has it's own stop and own take profit  the problem ,,,,,{ how i select specific order from all previous opened orders and  close or modify it but beware all orders have the...
Hi Folks,  So I'm setting arrays, in particular I want to remember which pairs and profit for that pair per individual trade, which appear to be a problem already.  I can't seem to have a String and Double Array, so Pairs[string 1][ double 1][double 1]; or Pairs[1][1][1] appears to be not possible?...
Hi 2 all, and thanks for taking your time! The indicator loose the color after changing time frame and go back  - I have to recompile, than it's all right again...where is my fault? E.g.: Start D1: ok; switching to H4: ok; going back to D1: all red; going to H4: all red... Thanks in advance... Lupo...
Hello. I have a strength meter indicator. It has all the major currencies. I wanted to add Polish currency PLN so I went into the code and started changing things to accommodate for the extra currency, seemed like an easy change. However, I cannot get it working properly...In MetaEditor I get an...
i have more than 5 open trades in 1 bar and i want the ea to stop opening order after takeprofit was hit. bool NewBar()  {  /* Update with a new bar and reset BarTraded if it's new */   static datetime lastbar;   datetime curbar = Time[0];   if(lastbar != curbar)    {     BarTraded = 0;...