MQL4 and MetaTrader 4 - page 69

To post a new topic, please log in or register
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...
Hi, I'm trying to use a bitmap arrow in my indicator but the background of my arrow hide the prices candle and the back color : Is there any way to make white as transparent ? Thank you for your help, Ghen.
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”...
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...
Hi,  I’m brand new to mt4, I’ve coded a EA without warning or error and I go to test it but I don’t see any input tab in Expert properties.  What could be the problem?? Thanks for any help!
I code an EA that use an indicator that I haven't source code of it, This indicator give signal by appearing arrows but I have a problem with this indicator, sometimes when I changed time frame and so EA reinitialized, I see that chart refresh and new arrows appeared and EA act as programmed, How...
Hi All, I am trying to get the outputs for the Heiken Ashi indicator on the previous candlestick but I was unable to find a method that was clear to me. What I am attempting to do is determine a shift in direction, by checking if the current Heiken Ashi candle colour is different from the previous...
#property copyright "EquityHedgeGraph - by transcendreamer - origins from Xupypr"// building two equity graphs, one vs another, to seek hedge opportunities visually// each graph may represent a single instrument or a lot-adusted basket// spreads and swaps are not counted// Total = Side_A -...
Is there a way to recover the pop up alerts when mistakenly closed?  (MT4) Thank you
Hi, I really have a question for technical support, but as MetaQuotes don't  deal directly with clients and link them to this forum I am posting here. I am hoping someone here can help shed some light on this as my broker is unable to help with technical issues relating to MT4. And to pre-empt...
Hi All, Hopefully a quick question.  How do I create a line of comments in the Input Tap of the Property Windows for the input variables. For example if I want to indicate that input variables below a certain line should be changed just in special market conditions? Thanks, MG
Hi All, I have the following code to insert a down pointing arrow in my chart    string fibo_max=StringConcatenate("FiboMax");   bool high_value_arrow=ObjectCreate(0,fibo_max,OBJ_ARROW,0,date2,highest_value);   if (high_value_arrow)   {   ObjectSetInteger(0,fibo_max,OBJPROP_ARROWCODE...
Hi guys, Is there a way in MT4 to send several orders at the same tick time without waiting for each order to be executed.. I mean market orders, not pendind conditional orders.. THANKS