MQL4 and MetaTrader 4 - page 663

I've been trying to get to the bottom of terminal hangs after removing multi-timeframe multi-symbol indicators. This issue can be replicated (on my terminal) by applying this very simple script. About 5 seconds after script execution, the terminal will hang for 1-2 minutes. I would appreciate it if
[Deleted]
Hi Guys,    I'm stumped on some code...can you help?    I've got two functions in an include file (GetA and GetB). I want to use these two functions to populate two arrays that will later be used in two custom indicator buffers. But for some reason, I can only get one array to populate. Please see...
hi all, I had planned a backtest this morning when found that the mt4 strategy tester returned no significant results. i couldn't understand this as my initial test was a direct duplicate of a test i did recently which yielded plenty of significant results. i decided to uptick ‘skip useless results‘...
Can anyone tell me if there's a working COT indicator for MT4 latest build? I tried almost everything with no success...
[Deleted]
Hi, I noticed that if an EA is tested in strategy tester when logged in on a demo account the result will differ if same EA is runned with same settings when logged in into a live account. If I strategy test my EA logged in to the demo account it generates twice as much profit as it does...
Hi, our ADX values that weobtained by entering Wildes formulas (about 15 formuals to get to the final adx values)are almost the same as Metatrader, but notquite. we are doing our own software and backtesting using the ADX (dm+ anddm-) on excell spreadsheets. we need Meta traders ADX excell...
Anybody success backtesting Renko charts? I Google it, and found only old solutions or can't find the necessary files.
[Deleted]
Hi mql4 community! As the subject says, I am an mql4 newbie and I would appreciate a lot if someone could point me in the right direction. This is what I want to accomplish: - An EA that opens position in EurUsd when one of many conditions is true and then closes this position after X amount of time...
  Chartopen error  (3)
Hi, I'm using an old mql4 editor (build 509) to compile and modify an existing indicator and would like to use ChartOpen(). All I need to do is just compile so I can copy the ex4 to the new MT4 (build 840) and use ChartOpen like it was intended. I added some code like this to just take the call in...
[Deleted]
In this EA, It opens order on each hourly bar & closes with it. It closes in 60 mins. if ( T11 ==0 && T1 == 0 && BuyTicket == 0 )         {       if ((OrderSelect(BuyTicket,SELECT_BY_TICKET)) == false)           {                            double OpenPrice = Ask;           StopLoss = low -...
I am looking for indicator value chart in mq5 extension and also FL2 indicator in the same extension. Anyone can help me with these. .??  Thanks 
[Deleted]
hi everybody please i need your help because i have no coding background and want to code simple indicator. i  am trying to code an indicator that draws two emas(55,100)on the main chart and also draws horizontal line at the point when they equal each other (ema1=ema2).the horizontal line should...
[Deleted]
Hellos all!   I am currently having trouble getting dashboards of any kinds to work in my mt4. The alignments are always off. For examples:   What should be:   What appears on my platform:             What should be:   What appears on my platform:           What should be:   What appears ony my...
Hello guy, could anybody help me? I am trying to write a function that checks every trade opened by the EA if the distance from each trade is more than "GridDistance". GridDistance usually about 20 pips. Right now I am counting if all the trades match the criteria and that I compare it to...
Hi, I just have recognized that a list of global variables (GlobalVariableSet(..)) disappear? At least as soon as I start the debugger the whole list is wiped out - before my code tries to request the variables or their values? Does anybody what I can do?? Thanks in advance! Gooly
Hi guys, Just come across an interesting problem/bug and not sure if it's been identified before or even if it's broker specific. Try using the following in some indicator code, have the indicator running at startup and note the values when you first run MT4 (make sure MT4 hasn't been running for at
what is the difference between virtual hosting and virtual private server? is it free?
Hi! If any body have information about adding custom indicators to Android installed MT4. Plz send details on prg.system2000@gmail.comThanks
[Deleted]
Hi My EA was logging into log file using Print() function without any problem. After the upgrade the text is logged but is not visible until I remove EA and close the terminal! Look like problem with buffer flushing? Please help WalterMK
//+------------------------------------------------------------------+//|                                                        MySMI.mq4 |//|                                                  Daniel Donnelly |//|                                             enjoysmath@gmail.com...
Hey all, googled for OrderTotal() doc but seems to be missing something. Have noticed that for looping through open/pending orders, people use for(i=0, i < OrderTotal(), i++) Or for(i=OrderTotal() - 1, i>=0, i--). Dumb qns but can I check why is it i=OrderTotal() - 1 and not i=OrderTotal() if I
The example code for MQL4 can be found here:    https://docs.mql4.com/constants/objectconstants/enum_object/obj_text    What it does:  Absolutely nothing!!!! Someone please help with displaying text at any time / price.  This should be an easy thing to do. 
[Deleted]
https://www.youtube.com/watch?v=_OAQk4mNPPM  
We are constantly working at the improvements of our MQL4.community website to make it user-friendlier. Today, we have launched a new version of user profile on our forum: Now you can upload your picture to your profile without any problems.This should make the quality of your communications higher....
I have Russian code, but it does not display correct in Russianformat, so that I can not use translator software to translate it. How to display Russian double-byte characters correct? What is the Russian charset in html? I use Cyrillic, it still does not show correctly. <html><head> <meta...
  Fast Execution  (1)
Sometimes, we face this problem that pending orders are not executed on that price that we placed but there is difference of some pips.  This is not the case with all the brokers and not happen with all order. Can you guys share your experience with this thing?
[Deleted]
Hi, Sometimes I get "Not enough money" message. Is there a way to calculate the biggest allowed trade size (related to the money you got on your account) so this message can be avoided. BR Michael 
[Deleted]
Hi All, We would like to offer a daily technical analysis based market commentary to the MQL4 community on this thread. You are most welcome to share your views and participate in a constructive manner. Thanks.
[Deleted]
I have a good MT4 EA, but the timefilter does not work as supposed. We want it to stop trade at friday evening, and close all orders late friday evening. -  This does work correctly,   -    but it also does not trade from 0:00 - 03:00 friday morning. Then it is not suppoed to open any orders before...