MQL4 and MetaTrader 4 - page 600

To post a new topic, please log in or register
If I place the standard Stochatic Oscillator indicator directly onto a chart with a 17,5,3 using LWMA mode with CLOSE price I get the base and signal plotting just fine. If I use an in-code call to iStochastic using EXACTLY the same parameters to plot what should be the same data - I get different...
  no connection (1)
Hi. My internet connection is working but my mt4 platform wont connect. Any suggestions?   Thanks. J 
Good afternoon. Could you please help me convert this code ELD (TradeStation, Multicharts) in MQL4. my level is not good enough to do it, but yes you can be? thank you for your help. friendly   {         XCAP_iPolyFitPredict:                   Uses a fit to polynomials to create a least squares best...
  dual robots (2)
Hi. Is it possible to run 2 different bots on mt4? I have 2 bots on different charts, same pair and they have the same sell/buy stops   J 
  file corrupt (5)
I am new here and MQL4. I am trying to make my own EA. But the MT4 complains, saying "executable file is corrupted. please recompile it" I recompiled and same thing happens. Is there any special file structure going on here or what? Can anyone help me? 
crystal7
Hello, I try to install an EA on an orher PC and I get this message of error : 2005.01.26 12:27:37    Expert 'Test EA' is an indicator and cannot be executed. It works on my other PC, what can I do? I have the same problem with the sample EA, MACD sample and Moving Average of MT4. Sometimes he...
MT4 on Linux - open email - causes a crash.   Is it possible to go to an ini file and close the email that keeps trying to restart mt4?  Is it possible to hold down a key when starting mt4 and thus open in safe mode?       
Hi everybody, I would like to know if it is possible to call an expert inside of another expert.
 I need a Trade Copier EA allows you to copy from Mt4 Masters to Unlimited Metatrader Accounts (Slaves). Manual or Automatic Trades occur within master Metatrader Account, Trade Copier should copy these trades to Slave MT4 Account.
Hi, I have double clicked on teh Market watch window and Terminal windows - which were 'attached' at the side and bottom of the screen. The became small, unreadable boxs and I can no longer adjust their size or relocate them (snap the) back into place. Any ideas??
fftremblay
Hi everyone, I would like to know if there is a way or if one of you has an idea on how to solve my issue. I have an indicator which produce an alert when some criteras are met. Everything is working fine but when I closed my plateform and open it again later, the indicator is producing an alert at...
How can I count the number of items in an array that have the value of "USDCHF"?   int start() {   string xyz[99];   xyz[0] = "USDCAD";   xyz[1] = "USDCHF";   xyz[2] = "EURUSD";   xyz[3] = "USDJPY";   xyz[4] = "AUDUSD";   xyz[5] = "USDCHF";   xyz[6] = "USDCHF";   xyz[7] = "USDJPY";   xyz[9] =...
When we use current 1, Current 0 , current +1 .. Does this means that 1 = Previous 0 (Zero) =  Current and +1 = Current's Next Bar . And also guide that does +1 Says (Command) Predict that what will be the next Bar (INDICATOR) ?? Is it script which predicts or helps in prediction of Next Bar ??  Or...
int start(){   if(Bars<100){      Print("bars less than 100");      return(0);   }                     now tell me what Bars<100 means here ? if changed to Bars<10 or Bars<1000 what it means expertarts
why the EA not have init and denit  part. this EA have not  dll file  can be tester int mt4 why    ATTACHMENT CONGAING DECOMPILED CODE REMOVED . . . 
Can anybody tell me why I get an error when I try to download the MQL 4 book.
sir i got  A ERROR modify error 4051 in this...int start()  {  int ticket;if(OrdersTotal()==1){   if(OrderSelect(0,SELECT_BY_POS))   {           if(OrderType()==OP_BUYSTOP ||OrderType()==OP_SELLSTOP)      OrderDelete(OrderTicket());    } }if(OrdersTotal()==0)ticket=OrderSend(Symbol(),pot,0.01,Ask,3...
I am getting a error message om my mt4 platform,  Chart refresh could not be started. Err:2   I was told to refresh my server and change the server to another from the list, did that and still happens, can anyone please solve this problem for me, and its not happening on any other account from the...
How can I specify the pair for Open[2]?  I want it to apply to USDCHF regardless of the chart that the expert adviser is attached to.  
it start here: https://www.mql5.com/en/forum/143085/page3 and thise is the code: #property copyright "Copyright © 2009, MetaQuotes Software Corp."#property link      "http://www.metaquotes.net" extern int Digits2Round = 2;  // Floating point rounding extern int PercentOfFreeDepo = 1; // Risk...
Hello, I have a problem downloading history of price in metatrader. When I get the download history at History Center, I realize it was missing several months between fev/2012 and dez/2012. Other months it downloads correct. Anyone know why? Or how I can download safely? Thank you.
//======================= condition for ORDER BUY ===============================  if  (Check1 >= Threshold && Check2 >= Threshold && O<H)       {        ticket=OrderSend(Symbol(),OP_BUYSTOP,Lot,H+P+Spread,0,H+P-SL+Spread,H+P+TP+Spread,NULL,0,iTime( Symbol(), PERIOD_D1, 0 ) + 86400);           if...
Using MQ4, how how can I get the ask price of a pair from three seconds ago?  This does NOT work: price_3_seconds_ago = MarketInfo(pair, MODE_BID, -3);
Hi, I trying to coding a indicator with multi Time Frame. Here are the code, But below code the data is count from right to left. can some one help me to opposite the code, so the data is read from left to right?? Thanks Lot! ;)    ArrayCopySeries(TimeArray_H1,MODE_TIME,Symbol(),Period_H1);...
Hi guys, i have a new question, simple i think. So when for example it's 15:00, i want to know the open price of the candle which time was 9:00. if (TC >= 15:00){    if (Openprice < iclose(symbol(), period_H1, 1)    {       Action    }} So how to write code to obtain the Openprice of the candle of...
What I want to do ultimately is pass the History array to my C# DLL where I can do lots of cool things :) I found this C# and metatrader tutorial to work great with MT4 (not MT5 64 bit) http://www.codeguru.com/csharp/.net/cpp_managed/windowsservices/article.php/c14735/ The tutorial passes a string...
I am using a support/resistance indicator but it only sets to 1 timefame, 1440. So when attatched to a chart it only updates or reads from the 1440 chart, the only thing i have managed to come up with is, If i where to add this line    extern string  note_TimeFrames = "M1;5,15,30...
From the following test file my metatrader only takes the blue values (when I import them into the history center) 2012.01.02,08:04:00,5890,5893,5890,5892.5,22 2012.01.02,08:05:00,5895.5,5897,5894,5894,39 2012.01.02,08:06:00,5894,5895.5,5894,5895,8 2012.01.02,08:07:00,5894,5894,5893,5893.5,4 2012.01...
Hi,  I have been reading with no luck trying to find out if by any means is it possible for an Indicator or EA to reload another indicator on the chart with new/different settings automatically??    Thank You 
hey everybody i've a problem with my mt4 plattform and can't solve it by myself. Since that day, there is no "news tab" anymore at my plattform!? Anybody an idea how I get my "news tab" back? :) best regards from austria