MQL4 and MetaTrader 4 - page 626

Simple label create and delete code CREATE PRICE LABELextern color UpperPrice = Blue;int deinit() {    return( 0 );}int start()  {   double CreateLabel = ObjectCreate("UPPER", OBJ_ARROW,0,TimeCurrent(),Bid,0);                        ObjectSet("UPPER",OBJPROP_ARROWCODE,6);...
Trying to follow a tutorial on coding a simple MA x but I've run into issues before I've even got into the thick of it... it's 430am here so I'm probably just missing a ; or something but could use a second pair of eyes... the problems on the "for" says expression can not be used on global scale....
[Deleted]
  awesum performence  (96   1 2 3 4 5 ... 9 10)
Hey guys i need your help. :) Look at the statement and then can anybody say me something which EA or which strategy is used?! 2000€ to nearly 100.000€ in one day:D thanks a lot http://depositfiles.com/files/u4kmx5qa0
Lots of programmers who make tick scalpers say you need "a good broker with low, fixed spreads", no order restrictions etc... now I've hunted and hunted but I can not find any brokers who fit that description. From what I can see you can either get low variable spreads or crappy fixed ones... so are...
hello, i'm trying to send information to website database, i tried alot of ways and lessons in this forum, but every way have problem :( i hope some one help me by semple way
All my presets in the Build 579 I can not find in the new Build 604, I saved new presets in Presets folder many times and each time it dissapers. Even a 'Search' after that could not locate it
int c=100;int d=70;double a=d/c;Alert(DoubleToStr(a,8)); output 0? why I English is very pool,thank your much fo help
Hi, since the latest upgrade to build 600 I am getting the "return - expressions are not allowed on a global basis" error. Any idea why that happens? int start()  {                    write_data();               }      return;    
Hi, https://www.mql5.com/en/code/9358 this renkochart offline ea failed to run on build 600 and 603 after compile via build 600 and 603, it gets back to ok after compile via build 509.
The latest release 600. is creating a massive log file that is filling up my C: drive (approx 21gb in size) How do i fix this? Can i have the log file be creates somewhere else on another drive?
  Problem in code  (2)
Hi everyone,I am having a problem in calculating the current value of each currency and and print all values on a single chart .I am having problem in just finding the currency pairs only what code i write so that i got the all currencies.Is their any function which can reterieve the all currency...
Did MetaTrader just become a liquidity Aggregator. Some of the new Screens in shown in this post https://forum.mql4.com/46992/page2#750283 They Meaning MetaTrader should not have access 2 that Data . Forex is NOT a centralized exchange and Level one Data or Best Bid and ask is limited to the...
I was wondering if it is possible to pause a backtest and then resume the backtest after restarting mt4. (visual mode) none visual mode i do not know how to pause backtest in the middle of the backtest.
The Shift-F9 shortcut for adding a watch in metaeditor does not work in B604
Hi guys, I have this code in my indicator and I would like to get rounds the floating point values to the six digits for example -0.000092 as it is the value of the MACD indicator. The issue is that I get -0.0001. Could you help me how to fix this ? double mMACD,mMACDSignal;mMACD=iCustom(NULL,0...
[Deleted]
Hi All, Well after I calmed down from the disaster this upgrade to v600 did to my platform configuration, I'm beginning to understand the new file structure. I see where the last recent platform files and the new terminal has been kept in it's Program Files location, and have clarified the new...
Code is as below: When Signal is 1, and Orders numbers traded by this EA is 0, then send OP_BUY order; this is very simple logic. now I have attached this EA to demo account and living account, what is surprising is that: at the same time, this EA only trades one order on demo account and trades...
[Deleted]
Hello Forumers, Ever since the upgrade to B600, the SendMail command does not work for my EA any more and I kept getting the error message: "Mail: 550 smtp envelope sender must be valid". SendMail was working properly in Build 509 before the upgrade to B600. I have been trying to resolve this
Dear All, As MT4 support does not take care to response can someone explain how to calculate the pip value for one lot for some instrument. For all major currencies when MODE_TICKVALUE is correctly provide by the broker, it is easy, but when the value is not given how can we calculate this value?...
Good afternoon, I have been posting today like crazy (err, sorry about that). I had a perfectly working MD5 function, which now returns a wrong md5 value (it returns a value, but it is a wrong one) I guess it makes little sense to paste the function, but just in case. Does anybody have another Md5...
[Deleted]
Hi, I'm using MetaTrader 4. When I try to add custom indicators they don't show up on my platform. On my computer at work everything is fine (same platform, broker and operating system win7), but on my home computer it just isn't there. Any ideas what could be the problem? I can't figure it out
Hello I'm new in Mt4 and I'm trying to understand how it works but I have a problem, let me explain. I subscribed to a signal on my mt4 with Alpari demo and everything goes ok, but when I open a position manually by myself the platform automatically closes the trade when I log out. If I log in again
for(int l=OrdersTotal()-1;l>=0;l--)          {          if(OrderSelect(l,SELECT_BY_POS,MODE_TRADES))           {            if(OrderMagicNumber()==MagicNumber && OrderSymbol()==Symbol()&&...
I run several mt4 terminals with a digitrade EA ( for signal sending); since Build 600, any terminal running the ea crashes (even if I only run 1 terminal at a time), of course, that didnt happen with older buids. Ive checked that the EA and its dll file are in the correct place, but for no avail
Hi Is there a function or script available for listing all the brokers available currency pairs?
Will mt4 b600+ accept this ? Instead of i++;arr[i] = x; just   arr[(i++)] = x;  // or  arr[i++] = x; Thanks in advance Gooly
  TerminalInfoString  (11   1 2)
int error=GetLastError();string a=TerminalInfoString(TERMINAL_DATA_PATH);error=GetLastError(); After run: a: valid terminal's path. But error is 4051, invalid function parameter. Please help me, who knows why this is.