MQL4 and MetaTrader 4 - page 66

To post a new topic, please log in or register
Hi I want to make sure if every new trade ticket is greater than the previous ones. With the brokers which I tried before, it seems to me that this was always correct. But I want to make sure about it. i appreciate any help
  Terminator Version 4 (389   1 2 3 4 5 ... 38 39)
Hello Everyone. I am an active member of this Forum and I have take many ideas from here to be implemented in my EAs and live trading but I was thinking that I never posted anything useful in retribution of this great community, I don't like the public section too much because of the spamming going...
Hello, i need some help.. i'm trying to get the value from indicator using icustom but it return emptyvalue which is 214783647.. i already try different indicators but i can't figure out why this currency indicator return emptyvalue, anyone pls help since i'm not a real coder.. I attach the...
Hi guys i wanna buy a chromebook, But i want understand  if i can install  the desktop version like windows ( i need to code custom mt4 indicator and expert advisor)... If yes what i need?  Developer mode on install linux and wine is correct? Or you have other solution?  Thanks you 
//Open Buy Order, instant signal is tested first   RefreshRates();   if(Cross(0,iStochastic(NULL,PERIOD_CURRENT,34,3,3,MODE_SMA,0,MODE_MAIN,0)>iStochastic(NULL,PERIOD_CURRENT,34,3,3,MODE_SMA,0,MODE_SIGNAL,0))      )     {      RefreshRates();      price=Ask;      if(IsTradeAllowed() &&...
Hi,  After I added the code below to my EA, my program just hanged without an error message. Can someone explain what is wrong with it? void OnTick()  {........... some code   while(OrdersTotal()==1)     {      if(BlueCurrent>RedCurrant)        {         ExitSellOrder();...
Is there any way to export trade history data in a read only format like PDF? They are usually a compliance must if you are an employee of an investment bank...
  global initialization failed!!!!!!! (70   1 2 3 4 5 6 7)
If anyone could help...I run an expert advisor for 4 chart pairs, and for running it for the 5th, after loading succesfully, i have global initialization failed, and then removed... I would appreciate at least a guidance what to look for.. Thanks...
Hi, please i am in search of a simple indicator to show me the number of pips currently running on my chart whether in profit or loss. It should be at the right hand top corner of the chart. It should be display below the Expert advisor symbol so they don't conflict. Thanks
Hi, Tried to get help for mt4 programming but all time i am  being redirected to mt5 website. Could anybody help me to let me know how can i put stoploss and takeprofit in my simple moving average EA? Thanks.
Iam interested inMetaTrader4MobileTrading. Iamcontacting youtoaskwhatare the technicalindicators availablefor this release. I wantto know ifyoucan change the originalparameters ofeachtechnicalindicator oraddanynewtechnicalindicator. What arethelimitations ofthisversion? Could yourecommend...
hi all traders, i found Heiken Ashi Doji Alert on FF, but i need the histogram version, is there anybody here has it? thank's in advance. regards
Hello All Im new to MQL4 and programming :) i just started to learn, i need to know how can i write an expert to 1) find the biggest body of last 20 candle 2) calculate the size of body i really appreciate if you help me to learn :) Thanks Mostafa
Im looking for a working News Indicator that can be referenced through iCustom functions.
I've racked my brain around this language. Nothing makes sense to me. All I want is to get in and out of trades based on a couple of indies. ANY help would be appreciated. //+------------------------------------------------------------------+//|...
Dear sir, 1) I had created an expert advisor for me, when i run the expert advisors, Memory used by metrader is going on increasing and cpu usage is also going on and on What is the Reason behind it and How to solve it, Expecting your replay , Thank you sir
a buy signal arrow appears on bullish candle and disappear when the candle becomes bearish... it will keep blinking if the candle goes up and down.. is there a way to make show...
Hi,  Can you help me to draw line or a circle in Higher High point in MT4. I want only those point which move from previous low to minimum 50 PIPs. Thank YOU
Hello, I try to compile the second example of errors during compilation of the second example of WebRequest. But I get errors.   'SecondExampleWebRequest.mq4'   SecondExampleWebRequest.mq4     1       1'WebRequest' - wrong parameters count   SecondExampleWebRequest.mq4     51      8'WebRequest' -...
  How to make MT4 auto refresh (53   1 2 3 4 5 6)
do u have indicator for MT4 auto refresh please i need it like crazy...
  New MT4 build 1184 error (12   1 2)
There is a new MT 4 build that is forced upon us (/skipupdate does not work - as usual) Once when you allow it - whatever you compile, it will not work any more. Take a test - use something that works, rename the source and compile it. The old (not compiled with new metaeditor) will work, the new...
  BTC/USD (2)
Hey everyone my name is Freja. I am into cryptos and the evolution all finances. I am interested in using MQL4 with BTC/USD. I just downloaded and have been searching for guides but all guide i find in search are for MQL5 i think? Can anyone help me find a guide, i'll keep looking in the meantime.
Hello everyone. I have an Expert Advisor I want to backtest on metatrader4. Unfortunately I have come to what I consider a real big issue. I noticed that when I test some trades starting soon before their moment, I have some profit results, but when the same situation  occurs when I'm in the middle...
how they calculate the floating spread each tick ? for each broker is there any math equations to achieve that ? if you test too many robots on strategy tester absolutely you notice the big difference between real market environments and your tester's !!! the main difference is due to floating...
I would like to draw automatically on 30 MIN chart two lines (support and resistance) indicated by the last 300 bars. From the last 300 bars indicator should find two MAXIMUM BARS (ONLY 2 HIGHEST BARS AMONG THE LAST 300 BARS) and draw the RED LINE and from the other hand the same indicator should...
I want to add url request in MT4, But as I try and feed and click , mql5.com comes back and my request is not added. what to do for that?
Im wondering if its possible to set a delay timer between trades? I'm working on automating a strategy, but there are some times when conditions are met that trades will open and close faster then you can blink. I'm wondering if we can say "For the next 10 bars, do not open any new trades", or...
  General (2)
(ADX is greater than its 10 SMA), How can I write this in mql4 language?
Hello, I am currently working on scripting an EA. I came to the point, where I need to know, what exactly the indicator buffer stands for. Here is an example: double  iMA(    string       symbol,           // symbol    int          timeframe,        // timeframe    int          ma_period...
Hi All, please can any one help me in coding mql4 for drawing a line perpendicular to another line from the mid point. the picture attached for clarification. the red line is perpendicular to the yellow. for the yellow line one end (price1,datetime1) the other end (price2,datetime2). how to get the...