MQL4 and MetaTrader 4 - page 177

Like many other users I would really appreciate it if the Metaquotes staff would implement some features that would rise the quality of this forum. Introducing categories would be a first step. I want to help a little by asking the forum users, which categories you think, would make sense. This is...
MetaTrader 4 MultiTerminal, as a new component of the MetaTrader 4 Online Trading Platform, is intended for simultaneous management of multiple accounts. MetaTrader 4 MultiTerminalwill be helpful for those managing investors' accounts and for traders that usemultiple accounts simultaneously....
[Deleted]
Hello Guys, pls kindly see attached screen - I would like to see in a Comment() the last (current) values of the gravity lines. Tried different ways but can not get to the buffer data - kindly askig for your help! Indicator's mq4 is attached.
Hi, So I've done a basic script that sends me an alert when the price crosses the ichimoku cloud but it only seems to work on the M1 Chart. Any other chart leads to no comment appearing and no alerts, I've tried changing period_current to PERIOD_H1 but that doesn't work. Just starting to learn and
Hello Everyone, First I just want to say thanks a lot for your advice in advanced.. :) So I have the following issue. I created an indicator using custom indicators by importing them through iCustom. If I simply put the iCustom = IndicatorBuffer I get a Value in my Buffer which is acurate and works
  MQL4 vs MQL5  (66   1 2 3 4 5 6 7)
Good day! I would like to get an expert opinion.... Could you please advise on the level of MQL5? Is it worth upgrading from MQL4 to MQL5
Hi! I would like to know if the functions related to global variables (for example GlobalVariableSet () and so ) work correctly on a VPS server If so, when I do a new migration will the existing variables be deleted or will they remain in place? Thanks
  stop limit order  (1)
Hello, I am looking for an EA able to open buy and stop limit order on MT4 which is by default availble on MT5. My broker wont support MT5 so I am in lookout for such EA on MT5. Can anyone assist on the same? Thank You
Since 12th December, 2021, the above function has been disable? I am using MT4 Version 4.0 build 1350
Hi all, I am new to the forum and this is my first post. I am having quite a lot of fun learning mql and I am a 3 month newbie at it. I am at a point where I am wondering if using the database functionality in MT4 would be of benefit to me... it appears to be in the current version of metatrader 4
  Buy Limit  (1)
Hi, I'm trying to execute a OrderSend using a limit order, however neither the buy or sell limit executes when I try to run my test script. This is how I wrote my code, did i do something incorrect. int ordeID = OrderSend(NULL,OP_BUYLIMIT,0.01,Ask + 0.0001,10,Ask - 0.01,Ask + 0.01);
Hi, I was developing an indicator that needs to read data from a csv file This is the initialization function and below is the csv file that i'm reading I was testing the functionality of the fileSeek function. In particular the aim of this experiment was to print a value, then going back to the top
[Deleted]
How would I setting the take profit at daily pivot point ranges? OrderSend(Symbol(),OP_SELL,0.01,Bid,3,Bid+200*_Point,Ask-100*Point,NULL,0,0,Red);
I'm trying to get the price of the latest opened order in mql4. Plz help
I placed "AAPL.csv" into the MetaTrader terminal folder's Files subfolder (MQL4/Files) to be accessible by the EA. The structure of this csv is as follows: Date,Open,High,Low,Close,Adj Close,Volume 1980 - 12 - 12 , 0.1283479928970337 , 0.1289059966802597 , 0.1283479928970337 , 0.1283479928970337
Hey guys, I just downloaded another MT4 terminal for my newest account. When I go to open a Gold chart I can't fine one?? The only options are Fx pairs?? All my other MT4 terminals have XAUUSD under metals. Why not this one? Br, Patrick
I have this function which checks whether there are open trades using a certain magic number. The problem is I intend on using this EA for multiple currencies at once. Each order using a certain magic number depends on certain criteria being met but other criteria could appear in other currency
Hi all, I'm trying to collect the return values from a function a put them into array. I've the doubt if it make sense to collect the values in the function itself or outside? On the other hand once the values are collected they can be used in array function (as arraymax) right? this is the function
Hi, How the stop out function works on back testing MT4? See attached = seems Equity is more than 50% down from balance and brokers SO is 50% = tester has not closed the test ... Thnx, L
[Deleted]
Hi, I am a newbie and i'm trying to set the values for fixed minimum and maximum. For the life of me i can't find the solution to this problem. Can someone help? The values i am trying to get is: fixed minimum = 0 fixed maximum=100. Could someone also tell me why the figures changes? or point me...
I have the following indicators on the chart 1. VWAP 2. News Indicator (Shown as Vertical line) 3. Candlestick pattern indicator (Shown as Up&Down arrows but doesn't show up in the objects list) Can an EA be programmed in such a way that it will get some of the values from these indicators and use
Try to run a script every so often to remove TP and SL on all open orders
Hi everyone, I had a problem about result on strategy tester. The detail is like this, I want to create an EA using SAR indi. Since this is the first time I'm using indicator that is non-line indicator I tried a simple condition to show when SAR indi change it direction. So I use this code to
In Platform MT4 when I Draw Trend Line after draw it disappear , not stable what is the reason and how I fix this issue ?
[Deleted]
hello all my experience in mql4 is not much but i am trying i have an expert for moving average but the problem when i add it to work on any time frame like 5 minutes it opens an order every 5 minutes when there is already an existing order!! this is a part of the expert
hi, i have problem with two different data for US30, or for EURUSD. I bought forextester.com with monthly data. I imported to MT4 and I checked different between forextester and MT4. In MT4 I have really good data, in forextester I have really bad data. So the question is how is that possible? I
[Deleted]
Normally I use English for my MT4 platform and I tried to use other languages like Chinese, Japanese but it didn't work properly. I want to know how to fix this issue. Thanks
Programmatically placed arrow objects work but interfere in readying the chart. The common function below, in hopes to disabled it, can't handle dismissing it. ObjectSetString ( 0 ,sName, OBJPROP_TOOLTIP , "" ); In the object you drawn manually for example, this is what you see,. I have indeed seen
Whenever I test the rsi values using this code, the value returned is always 0. I don't understand why. I appreciate your help in advance double RSI15 = iRSI ( NULL , PERIOD_M15 , 0 , PRICE_CLOSE , 0 ); double RSI60 = iRSI ( NULL , PERIOD_H1 , 0 , PRICE_CLOSE , 0 ); double RSI240 = iRSI (