MQL4 and MetaTrader 4 - page 349

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...
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!
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
this ea closes all open trades on all time-frames. Just put it into any time-frame you have currently on the screen. Very helpful when you don´t want to close all the trades manually. hope it will help.
The signal I am subscribing suddenly became not connectable since this week (5th Aug 2019). The trades are still carrying on on the signal's page. The message "Signal - connecting to signal server" is just repeating in my journal. The other signals I am subscribing remains fine. I have contacted the...
Hi, first time posting in here. Can someone tell me I where I am going wrong on this EA as I cannot figure it out.  This would be a great help to my learning to code.   EA should be marking SMA cross over but is not. I cannot figure it out.#property copyright "Copyright 2018, MetaQuotes Software...
Hi guys, Forgive me I've just started coding in mql4 last week....I have also tried searching the forums and reading the reference materials but am so confused. My question is: How do you change the source of a moving average to be something other than 'PRICE_CLOSE'/'PRICE_HIGH' etc. For example
Hi , I am working on this indicator with the goal to multiply the RSI value with the (body) size of the current candle (or the equivalent of what was the current candle for the previous bars). It works in mt4, but when I add property strict the code still compiles but no longer outputs the buffer...
Hi all I have modified the below MQL4 code so I could transfer values from MT4 indicators to excel and I am struggling to obtain values from this indicator Casino_HAS_PIN_v3 which I have attached because it keeps putting 2147483647 in all the cells. I would be grateful if anyone could please help me
Good moring, I'm trying to trasform my EA in a Grid system. My EA opens sell and buy orders but I'd like to ass some code to do this: -EX: I had some orders opened on EURUSD sell and buy. I'd like the EA close all orders when a certain level of profit is reached (suppose 1€ of profit) Can someone...
I would like to open an order at the price of the close of the previous candle, is it possible to do that in some way? When I try to do it, mt4 gives me error 138 which means that "the broker replied with a “Requote” signal to your expert advisor’s OrderSend() function. That means that the price...