MQL4 and MetaTrader 4 - page 259

hi, I've just bought an expert, I press to install in the MT4, MT4 asks for log-in, I use my email and the password, and it keeps telling that the password is wrong, anyone has any idea? Of course I'm sure the password is ok, it's the same I use on MQL5 Thanks
I have a Relative Currency Strength indicator that I use on Tradingview that shows the labels for each currency on the right axis. It's a quick way to see the ranking of the pairs. But I'm moving away from Tradingview. I have an RCS indicator for MT4 that I like, but it only shows a static label bar
Good afternoon all, As we're unable to have multiple templates for the Fib tools on MT4 like you can have with trading view, Is it possible to add multiple stock fib retracements so that I can have more than 1 settings. (such as have multiple fibs on the tool bar) Any help would be greatly
Hello, One thing I'd like to be able to do is change the order of the indicators in the data window at will, rather than having to unload and then load them in the correct order. Would you consider changing this in a future release? Thanks
Hello I am a complete newbie... is it safe for me to let someone setup a synchronized or mirrored account with their brokerage so that they can teach me to trade in demo while they trade live
Hi friends , Please help me to program an expert advisor to work only in MT4 tester , what I must put /change in my open - cod ? Thanks
I'm trying to write an EA, What I would like it to do is to open a short position after the long position has closed. Then when the short closes I want it to open a long position ect ..... in response to if it is interesting enough can you figure out how to get it to do that. Find anything or try
I am having a problem with my mt4 trader account trading too fast. My broker is rejecting every second mt4 trades that are too close together (as shown below). I have checked my EA. There is only one set up on my chart and it is not duplicated. I have cleared my VPS. Any suggestions as to what may
[Deleted]
Hi All, This one has me stumped! I am using ArrayCopySeries  to copy imported historical data and I get: error 4074 ERR_NO_MEMORY_FOR_HISTORY Code is: "SPX_Copied = ArrayCopySeries(SPX, MODE_LOW, "SPX500", 0); " Any Ideas?? Also, to be able to access a Symbol via ArrayCopySeries() does the symbol...
Hi, I'm Thomas a passionate beginner coder.. I have searched on a lot of topics but I did not find how to solve my problem .. maybe someone can enlighten me .. Here is my code : extern int TakeProfit = 800; extern int StopLoss = 45; extern double LotSize = 0.01; extern int MagicNumber = 1234; double
Hello experts, I created an indicator for mt4 that is working on some pcs. I have the same mt4 version on another pc but the indicator is not showing on the graph. I tried some procedure to fix it, but nothing. Any idea? best Anderson
Hi Everyone :) Can somebody here please convert this attached Tradestation RSI to MT4 RSI ? Much thanks in advance
Hi all, So i am building an indicator which stores 2 values in an array which are to be used for the shift function in the High, Low and the standard rsi indicator. However, i seem to be having an issue calculating the movement between the high and low and the rsi when using the shifts from each
Hello, I'm writing a sound alert, but would like it only to appear on certain periods. I have the following: PlaySound("MACD cross on ",Symbol()," ",Period()); I would like it to appear only on the period M30 and H1. Do I write 2 consecutive lines where I each specify the period 30 and 60? How can...
Hello, novice here. I have an EA which is supposed to take long and short positions. It is only taking long positions. The code used to take create a long or short position is almost the same, the only difference is that it is mirrored. I've already searched on Google, the MQL5 forums, Reddit, and
Hello! I am new to this code base. So I would like to ask, how can I add a code to this script so that it will take a screenshort of my chart and send it to my telegram channel? I tried to follow this guide How to create bots for Telegram in MQL5 - MQL5 Articles but I'm so confused and can't make it
if the stop loss happen i will open position again ... how to write this code if (OrderClosePrice() == OrderStopLoss()) // is not working is not working
  datetime to unix  (6)
is there any way of converting datetime to unix time with property strict
Hi there this time filter isn't working properly in the MT4 version, don't actually know why. StartHour is 18, StopHour is 8 : if (LotSize>=minLot&&((StartHour<StopHour&&(Hour()>=StartHour&&Hour()<StopHour)) || (StartHour>StopHour&&(Hour()>=StartHour||Hour()<StopHour))
zigzag (20,5,3) show different result in two accounts. why it show different. thank you for helping me. god less you what should i do to show non-difference result in zigzag output in any account
  tester strategy  (2)
I state that I am a neophyte.doing the test of the various strategies I clicked on the open graph button. now whatever test I do, opens the graph. how do i disable the open chart option? thank a lot
Hi~ I want to use the MT4 offline chart, To show the K-bar chart of one of the US stock companies, And perform real-time updates, How do I perform each step? At present, I have searched for some past articles by myself, and I have a preliminary concept, but I have not been able to succeed, My steps
Is there an expiration on those demo mt4 accounts? After about a month of using the demo my charts have stopped updating. If so is there a way for me to reset them. I have tried to create a new demo account but the charts are still frozen. Please inform
Hi, can anybody help please? I choose the option to open a file with *.word extension and now Metatrader 4 doesn't read the mq4 files. Does anyone know how to recover them to original mql4 extension. I tried to install again the indicators and the experts but it didn't work? Do I have to uninstall
Hi, My EA is opening a grid of sell orders when the price goes down, and a grid of buy orders when the price goes up. I need to calculate the last ( current) order so that if pair goes to an input price, the whole cycle will achieve break even. I wrote a function for that but it seems not working
Hello, I do not get what is wrong: CHistoryPosition historyPosition; string header[ 5 ]; header[ 0 ] = "Time close" ; header[ 1 ] = "Win/Loss by MT4" ; header[ 2 ] = "Win by me from difference" ; header[ 3 ] = "Loss from swap" ; header[ 4 ] = "Loss from
Hi Guys I want to create a script where whenever I want to close down an MT4 program, an alert box is displayed to remind me to save an important profile to an external harddrive before MT4 is closed down. So I need to detect whenever the MT4 main window is being closed down. What is the code to
What am I doing wrong? //+--- MQL data -----------------------------------------------------+ MqlRates eaRates[]; //+--- inputs -------------------------------------------------------+ extern double eaVolume = 0 ; // Expert trading volume value! extern double eaTake = 0 ; // Expert take profit level