MQL4 and MetaTrader 4 - page 94

  VPS Not Working  (1)
I subscribed to MQL5 VPS and was able to successfully migrate all my indicators and EA's to the platform. It successfully connected to the MQL5 Server initially, but now I am getting an error message that reads "failed to connect to server MQL5 London LD4 17." Any ideas on what may be going wrong
  Inconsistent EA  (5)
Hi, I'm a beginner in mql4 and currently practicing in creating a forex bot. I created this simple bot with the strategy of convergence of the 10/20 day EMA, I have no problem in compiling it but when it comes to using it on a demo account, I had the ff issues: 1. sometimes my EA takes a trade, and
  MT4 not working  (1)
Probably my fault, but I don't know what I did. I can't populate symbols. I tried downloading program again. Same thing. My live account name shows in upper left. I see no indicator suggesting a real connection. Something is missing somewhere on my Win10 (64) that I might have fouled up. I need
Hey there guys, I have this common RSI indicator that I would love have alerts whenever it draws its dot objects either buy or sell and also the divergences. I don't know how to do I guess it needs to be edited in the editor to have the features working. Can anyone please help me with that. Here is
Hi all , Just wondering what approach do you use when you build dashboards etc containing Graphical Objects ? Because mt4 has that scaling issue , and when the dashboard is used on different screen sizes , it looks different for example , I build A dashboard on 1080p x 720p Screen , everything would
When I send a somewhat large mail (about 700 characters) from MT4 to my mail, I received the not enough space error in the journal section. I configured the mail using: smtp.gmail.com:587. Is there any changes in the confirmation that would increase the mail handling capacity? I noticed also that
can someone check why this code doesnt open any trade //////////////////////////////////////////////////////////////////// // // // // // #property copyright "Copyright © 2015, MCB Shenannegans." #property link "marchaxcpp@gmail.com" extern int PercentRisk = 2 ; extern int TakeProfit
Hi, Im interested in parsing the text in the newsfeeds that comes into MT4's news-tab. Does anyone know if there is any built-in method or any other way to recive and handle the news in the news-tab within an EA? /Micke
I am trying to install meta 4 (the software i use only works on meta 4) but when i download mql / meta 4... i look at my desktop and its meta 5. why wont it allow me to download meta 4? ive tried now on 3 diff new accounts and they all do the same thing. help pls. thx all
Hi All I've imported data into the 1 minute timeframe (EURUSD) in the history center. Does Metatrader not automatically reclaculate the other timeframes from this? My five minute data folder is still empty after the import. The only option to recalculate all timeframes is when I click download, but
Hey, I wanted to ask you if its possible to switch Server at the Web Terminal of MT4?. I have a Roboforex Account and can't switch from the MetaQuotes Server to Roboforex. Is there any possible Way to Switch those
I'm receiving signals on my MT4 but they come in too many at once and I want to limit risk. If anyone has a solution to limit the open trades I'd appreciate it
Hi, I've been trying to install MT4 on my new PC but the installation files I download from https://www.metatrader4.com/en/download just gives me MT5 Anyone got a solution
HI all! I am relatively new, and know relatively little. Can somebody explain to me what I should do to be able to access the latest top or bottom that the ZigZag indicator plots out? I don't need them all, just the latest one... I use this line to access the zigzag, but I don't even know what the
While i run my EA, i use the predefined variable Bars on the void OnTick(). On my computer the variable gives accurate value but on my friend's computer, the value always result to 1. Does anybody have an idea as to why ? Points of interests: On both computer, in the options menu, the max bars in
[Deleted]
  MT4 History data generation  (14   1 2)
Hi, I'm a bit confused about the way MT4 generates history data files. As I understand it, when you use History Center, MT4 downloads the data not from your broker, but from MetaQuotes servers. 2 questions arise: 1) What happens to history data previously present in the proper .hst files? Are the...
  Trailing step  (6)
Hey guys, I am trying to make a trailing step. Essentially like a trailing stop, but instead of moving the stop loss every point in profit, it only moves the stop loss after X amount in profit. Below is my code (tries to modify as soon as order enters and I get a constant OrderModify error 1):...
  icustom ZigZag  (44   1 2 3 4 5)
I'm trying to determine direction of zigzag indicator with the icustom command. This is what i have so far: ZigZag High=iCustom(NULL,0,"ZigZag",MODE_HIGH,0); ZigZagLow=iCustom(NULL,0,"ZigZag",MODE_LOW,0); The lines are drawn on the chart, but both ZigZagHigh and ZigZagLow are equal to zero when I
How do I run duplicate Meta Trader 4 on my MacBook Pro ? Please if any one can help me have been trying but unsuccessful Regards Kevin
I'm trying to get my EA to run only during certain hours.. I am comparing time current with an assigned date time variable.. it seems to be a logical way.. but I'm having trouble with the date part of it.. is there a way to return current date with a set time to a datetime variable.. Or if there is
Hi all, I am using MetaTrader 4 to implement my indicator using mql4. In my code I would like to check whether a candle or if it called a bar is closed with the defined resolution. For instance if each bar's duration is one minute, I would like to read its values when it is closed not while it is
Hi all : I try to enable or disable EA in my code , and I use the code from here . As a script file , it works fine for me, but when I try to convert it into my indicator with a just very simple modify, it wont work, the setup popup window just stay there and the "Allow Live Trading" checkbox stay
when i try to download anything from the market on mt4 this is what happens. this has never happened to me before
Below is the code. It is for some reason isn't printing the labels (up and down arrows) at runtime. If I change the timeframe and comeback to the 5 minutes again I see the label getting printed. I want it to print at runtime as the candle closes and send the alert. What am I missing here
Could someone please add .i suffix to this script? Much appreciated
Hello all, This indicator is based on the average Price v3.0.mq4 by Joca - nc32007a@gmail.com http://www.mql5.com . It shows the "BreakEven" line on the chart. I have updated it with the insertion of Multiple MagicNumbers and the cumulative (between them) BE line level. I am here to ask if
We know OrderOpenPrice() and OrderClosePrice() (which is Bid in case of Buy trade and Ask in case of Sell trade), but I can't find an option to know the last price when a trade was modified - let's call it OrderModifyPrice(). Well, MQL4 is pretty old now and it's possible that I'm missing something....
[Deleted]
hi this may be a silly question, but i have loaded 10 yrs worth of data into metatrader and each time i want to view older dates e.g. 2003, i am having to scroll all the to 2003. But im almost certain that some bright spark metatrader developer would have already thoguht about this and provided a...
Hello ! Today I have met very vierd issue : 1. I have exactly the same versions of my EA : both at two Windows 10 : VPS and my laptop. 2. EA is for immediately closing all positions after daily drawdown limit/ profit target reached. It is aimed to prevent me from trying to open more positions after
Hi lovely community :) I'm having some issues with Strategy Tester and really need a hand. I downloaded the chart history of the last 6 months and exported it to my MetaTrader 4 But when I start the strategy tester, the chart starts to move and the Expert Advisor does not open any trades. what