MQL4 and MetaTrader 4 - page 357

Hi, I want to superimpose a rectangle on top of wicks. I'm trying to use ObjectCreate(OBJ_RECTANGLE). But the rectangle that gets drawn is not 'ON' the wick - its to the left (or right). I am using Time[0] and Time[1] to give the x coordinates of the rectangle. And the prices for the y coords. The y...
Hello. I made custom indicator. everything is working correct. but issue is that lines has gaps and I couldn't figure it out why.//+------------------------------------------------------------------+//|                                                        MTFSS.mq4...
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...
//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;
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
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
I am interested in MetaTrader 4 Mobile Trading . I am contacting you to ask what are the technical indicators available for this release . I want to know if you can change the original parameters of each technical indicator or add any new technical indicator . What are the limitations of this
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
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. //+------------------------------------------------------------------+//|...
[Deleted]
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
  modifying a code  (7)
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
[Deleted]
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' -...
  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...
[Deleted]
  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...
  floating spread  (5)
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 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?
  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...
Hello, I want to create an expert advisor to run a 'backtesting' MT4 His function is very simple. First, I'll set two times "(hour/minute)", for example, input_1 = 13:00 , input_2 = 13:25. As an output I would like to have an answer if the price during this period has gone up or...
Hey guys, I’ve been having this problem which I thought only occurred because I was using an old laptop. I have since upgraded and am having the exact same problem. Any help would be much appreciated. When I first download MetaTrader 4 or 5 (occurs to both platforms), I go to “Open a Trade Account”...
[Deleted]
hello. Some one cane help me to write a simple code that can i use to summation elements for an array. tks.
if (MathAbs(Ask - OrderOpenPrice()) >= 100 * Point){        Alert(Ask, " ", Bid);        res = OrderClose(ticket, lots, Bid, 3);}if (MathAbs(Bid - OrderOpenPrice()) >= 100 * Point) {        Alert(Ask, " ", Bid);        res = OrderClose(ticket, lots, Ask, 3);} I have been using this to close any...