MQL4 and MetaTrader 4 - page 3

  Spread recording fail  (20   1 2)
Hi I use this indicator Spread_Recorder.mq4 http://www.forexfactory.com/showthread.php?t=195290 It has worked perfect with different brokers, but i just opened a new account with another broker and id stops to work.? I says: invalid filename for FileOpen function And i allso have created a folder...
Hello, I would like to be able to set up a system either via a web interface or a Telegram bot to enable or disable autotrading on one of my mt4 accounts, without having to go to mt4. How can I do this? Has anyone already set up something like this? For the moment I'd just like to be able to enable
Greetings im trying to automate backtests with t4Metatrader but when i run my command : "C:\MT4_Instance_1\terminal.exe" /portable "C:\MT4_Instance_1\config\backtest.ini" But when it opens and tries to run the test it says cannot open file'C:\MT4_Instance_1\MQL4\Experts\ea.ex4' [123]3 17:33:57.145
[Deleted]
  Volatility indicators for MT4  (119   1 2 3 4 5 ... 11 12)
What volatility indicators out there are coded for MT4 that I can use other than the Bollinger bands ? Please post links if you can. I'm looking for a way to better place my stops based on market volatility
I am runnning MT4 under Wine 6.0 on Ubuntu 20.04 focal. Have already run $ wincfg to set programms' window dimensions and scale police size. Now I am facing the issue that the toolbar submenus are not aligned and spread on two lines, and within submenus icons are also split on two or even three
I have tried to add Buy and Sell Signal, pop up alert, and push notification from Histogram Indicator. Following line have errors : string fullMsg = Symbol() + " + IntegerToString(Period()) + " - " + msg; The errors after compiling : '' - double quotes are needed '-' - illegal operation use Much
I’ve been having a problem for the past few days with installing MT4/MT5. During the installation, a proxy window pops up, which has never happened before. When I click Cancel, the installation stops. I also can’t download a newer version from the broker — I get some kind of proxy page error. It
Dear Community, is it possible to feed data from MT4 indicators into Access tables real time? As far as I could find out, it can be done with server-generated data like Time, Open, Close etc. But what I (additionally need is locally generated data), what should be easier theoretically, but who
Hey guys,  I am in need of assistance please. What I would like to do is every time price creates a new high or low for the day I want to be able to save the price and the time somehow (perhaps in the global scope) to use it as a reference point? Would anyone know how to do this? 
I have an EA that I want to sell, but verification always fails
Hey everyone, I got tired of MT4’s default trailing stop. Trailing by a fixed amount of pips makes no sense when volatility changes every session, so I had a custom EA built to trail strictly by R-multiples. It is completely plug-and-play with zero inputs. How the logic works: It looks at the
The MetaTrader 4 update will be released on Friday , February 21, 2025. This version provides important security improvements, error fixes, and platform stability enhancements. The update will be available through the Live Update system
Hi, I'm using Ubuntu 22.04 Linux with the latest version of Wine on my VPS I can run MT5 normally. However, i am successfuly installed it, when I run the installed MT4, I always get the message "Debugger has been found running in your system. Please unload it from memory and restart your program"
hi,I would like to convert  point from currency pair to currency account. For example assuming my account is in USD what will be  the value in USD of 200 points on the currency pair EURJPY.  I heard about MarketInfo(EURJPY, MODE_TICKVALUE)) which return value in USD for one tick...
September 1st is Knowledge Day
There is a serious problem in the latest versions of MetaTrader 4: The OK button is missing from the configuration window of several robots. I am currently using MetaTrader 4 build 1470, and the OK buttons for several Expert Advisors (EAs) are not appearing in the configuration panel. This is a
  Expert Advisor  (6)
Hello I'm looking for the proper way to call a .ex4 indicator with no source code in my Expert advisor. I'm having issues with the inputs and line index
  Using artificial intelligence at MTS  (275   1 2 3 4 5 ... 27 28)
Discussing the use of artificial intelligence in trading strategies in general and my Expert Advisor in particular which code can be downloaded HERE . The backtest results are on the screenshot below. It takes a long time to optimise the Expert Advisor and only with the use of genetic algorithms
[Deleted]
  Toolbars disappear  (13   1 2)
Always when I re-start MT4 my toolbars have diappareared as well as my terminal. Whatever i try with profiles, it does not help. Anyone knows what I should do? Thanks.
Hi everyone first post. There's a bug in strategy tester where it flat out refuses to test the date range you've selected and goes with just a small portion of it. No doubt we've all experienced it - is there a fix? I understand why it happens when there's a chart problem ie not enough bars in...
Hello, I need help with this idea , i'm trying to create a on-chart multi-currency backtester , that iterate over time and symbols , and get the bar shift using iBarShift . the problem is i'm getting inconsistent shift results , what i expected was to get the shifts in order from whatever start date
hi i made this expert with function and it is not work but without fuction it work very well so i want to know the wrong in this function //+------------------------------------------------------------------+//|                                                    MYFIRSTEA.mq4...
[Deleted]
I have searched the forum and cannot find a simple explanation of how to do this. I have downloaded my broker's MT4 to my VPS. If I want to create a second, or multiple 'instance of MT4' with another desktop shortcut and separate broker account, what is the easiest way to do this? I assume i can't...
  Telegram.mqh  (5)
I am trying to send trades to telegram. I have everything setup in telegram but can’t find telegram.mqh fir mt4. Is it something I need to create myself
I have a strange problem with MT4. I received a hyperactivity warning today in my live account and don't understand where that is coming from. I contacted the broker(ICMarkets) and they told me server messages are due to open/close of market and pending orders and stop modifications. Alright, BUT
  How to trade?  (1)
How to trade
I have been using up to 1441 without much issue and those instances of MT4 are still working. Yesterday, I installed MT4 1470 and 1471 on Windows 10.0.19041.6456 pro from easy forex and IC Markets, both open normally on a fresh install in a new folder, when I add the broker creds and click login the
On the Metatrader 4 app I installed from my Xbtfx broker, I have 2 accounts. I wanted to run 1 EA on one account and another EA on another account. I attached the EA to a chart on one account, but when I switched account, the Journal tab immediately showed a log that the EA was removed. Is it not
Just recently around February 25, 2024 I began getting the above message and now I no longer have access to my EAs; as they won't work without being logged into my MQL5 Community account (they won't load up on the chart) . I have no problem going to my Browser and being able to Login to my MQL5
Warning to anyone. If you encounter the error "event handling function not found", it could be because your hard drive is full. Even after freeing 10GB of space, I was still getting the same error when trying to compile my indicator. So I restarted MetaEditor and now the source file is completely