MQL4 and MetaTrader 4 - page 5

I want to get candle price data with iHigh and iLow. When I backtest EA in TF H1 and try to read TFM5 price data, but I can not. double price = iHigh ( NULL , 5 , 0 ); If I run this code in TFH1, why I can not get data
i am facing problem in signing in from mt4 android since this morning. i wanna know if this is happening in any other part of the world or not
Dear experienced traders, It seems not possible for me... Can I test 2 EA together in same strategy tester in one terminal? Thank you in advance and best wishes, Sky
You may have already noticed that the most interesting things now happen mainly on the MQL5.community. MQL4.com is about to be switched to the data archive mode. Only Book and Documentation sections will remain on MQL4.com by November. Besides, the entire MQL4.com Forum content is to be transferred...
I am looking for following tool/script. 1. close all trade, close all short trade, close all long trade in a chart. 2. open long/short trade total lot size, total loss/profit, avg price point dca. is there any free script available? kindly let me know please
void OnTick()  {      double vol=0.01;      Print("AccountFreeMargin before:",DoubleToStr(AccountFreeMargin()));      Print("AccountFreeMarginCheck:",DoubleToStr(AccountFreeMarginCheck(Symbol(),OP_BUY,vol)));      OrderSend(Symbol(),OP_BUY,vol,Ask,0,0,0,"test",0,0...
Kaufman AMA ( adaptive moving average ) made specificaly for the new metatrader 4
Hello, What is the function equivalent to OrderCalcMargin from mql5, for mql4? Thank you
Hi guys I have a coding that could show high time frame value (like H1) on lower time frame (M5), the attached file is xx.mq4, but it is just made for IMA, I could like to chage it to make it work for the indicator "UltradeFX - Master Entry.ex4", but I don't know how to do that. I am not good at
[Deleted]
Hi, My expert advisor is based on such a strategy that it opens a new trade on every single bar.What should i do to my ea so that it opens a new trade only when the previous trade is closed according to the closing strategy..........Thanks alot in advance !
  mt4 script  (3)
Respect to everyone. There is an mq4 script, can I write new things in it and use it in the mt4 terminal? I'm new to this, can someone explain me how to do this script
Hi; I wrote an EA that draws buy/sell zones in the CCI window that are preset in menu options. It works as intended. Except I would like to get rid of the zone background color and display the zone in the actual color as preset in menu options. So 35 level in blue without the blue background and -35
Hi For a couple of days now, I noticed that the strategy tester is not showing the progress when doing the tests. Previously, above the progress bar it showed the current pass and the remaining ones. But now that information disappeared. I've restarted the PC a couple of times. To show the
Hi guys; I've been coding for years, and playing in stocks/forex a long while besides... fairly new to MQL4, however. I've made several EA's successfully and have a pit of a workflow going now for all my ideas, which is nice. However, I've run into an issue that I can't get to the bottom of; When I
Hi all, need some help here. I used ChatGPT to create an EA for me. It looks good but there are error 131 when I tried testing it with strategy Tester . Apprantely my OrderSend command is wrong. Can someone look through the codes and let me know what is missing? I am not a coder so if you can
hello guys, i have a code for detecting a break of key level, but when i run the code in strategy tester it never detects one and i cannot find what is wrong with the code.(it should check the last 8 hours for possible key levels and the code runs on the 15min timeframe, which is set from another
I was trying to build a browser dashboard that displaying EA processed info and these must be somehow stored somewhere. I'd wonder which is the best way to build, as I much afraid that I will only realize I'm so wrong when I almost 'done' all the jobs. My first attempt was FileWrite in MQL4 then
This is a very old code and is not working on the current build of MT4 https://www.mql5.com/ru/code/10769 I'm not an MQL4 developer, this is an attempt to convert it, but nothing is seen on the chart: //+------------------------------------------------------------------+ //|
[Deleted]
Hi, I'm trying to get the number of decimal digits from a number. for example 0.1234 ---> 4 0.465 ---> 3 0.51 ---> 2   So far, I can only a similar function from this function MarketInfo(Symbol(),MODE_DIGITS); But that doesn't really help me. I need to get the number of decimal digits which I get...
Dear Metaquotes Team, I am writing to express the concerns of the MetaTrader 4 (MT4) community regarding the recent update from build 1415 to build 1420. While we understand that updates are necessary to improve the platform and ensure compatibility with new protocols, we are deeply concerned about
Hi Guys I have an ea with traling stop, when that tralling stops is active and move with every tick there are messages coming in journal and expert, I just got message from broker that my account is over loaded with messages as they limit to 2000 a day. Is there a way to disable them
  Ocean theory based indicators  (577   1 2 3 4 5 ... 57 58)
In this thread Jim Sloman's "Ocean theory" based indicators will be posted. _________________________________________ PS: this thread (as it stands right now) will have about 60 indicators posted here (metatrader 4 + metatrader 5 versions) Metatrader 4 versions are completed, but because I would...
  Requests & Ideas  (7224   1 2 3 4 5 ... 722 723)
Hello , this EA is shwoing great result but i am sure that it needs some tuching tunning ( i guess playing around with its codes or adding others ) Please have a look at it i am sure it worth it - i hope so - attached is a forward test of this EA for just 5 houres or less ( when ever i get good...
I've been all through the archives and all I can find is more people asking this question with no answers. The question varies and is usually related to "non-reproducible backtesting results". It is just become obvious to me that "bid" and "ask" are not stored in the data. Since data is...
MT4 Backtsting not working from yesterday i check history data annd all but its not working
Hello I'm using metatrader4 and i have 2 mobile phone But the problem is when i use my second phone for trading the grid number are different from my first phone. How should i fix it
Is there any way to change background color of MT4 on Iphone as I can change only candles colors
Hi, Since I updated the MT4 terminal to 1420, I cannot download the indicators from MQL5. Anyone else having the same problem? I can still do a manual install of the indicators and EAs if I "Open Data Folder". But, since I cannot download free indicators from MQL5, it's safe to assume I cannot