Download MetaTrader 5

MQL4 and MetaTrader 4 - page 362

To post a new topic, please log in or register
Hi, I keep putting custom indicators like CCfp, MTF_Forex_Freedom_Bars or what have you in my ...experts\indicators directory. When I start MT4, they don't show up in the navigator. I am using Windows 8. How can I solve that? Many thanks, quasar
  ex4 to mq4 (2)
Hello I have several .ex4 indicators that I need to convert to.mq4 so I can use my expert builder with them. How do I do this. Thank You fxguy12@verizon.net
  iMAOnArray() (6)
I'm using iMAOnArray and I seem to be getting a straight line. I'm using it on an indicator but within that same indicator itself, is this the correct way to us iMAOnArray? Could this be why I am getting a constant value along the whole indicator?
Hello. Is someone able to edit the code of this EA so it will attach to a chart in the new build 610 of mt4? I think this is a profitable EA. Will share my thoughts/settings
Hi, the 3rd tab of the backtest-options I find the Optimization - Limitations like Consecutive win (btw is that a minimum- or maximum-limit?). Is there a possibility to define my own function for the selection of the genetic algorithms?
Hi, more annoying than a major problem, but when I try and use the following I get the "truncation of constant value Error" #define INTERNET_FLAG_RELOAD            0x80000000#import "wininet.dll"   int InternetOpenUrlW(int, string, string, int, int, int);#importInternetOpenUrlW(hOpen, sUrl, NULL, 0,...
After the autoupdate of MT4 my EAs doesn’t play at all. No ErrorsNo Warnings, it just doesn’t start. What shouldI do and were should i look for further instructions about the language?
HI, When build 600 automatically updated, it automatically installed it on the wrong drive it looks like. My original was installed on D drive. The new one was auto installed on C drive. TestGenerator: write file error. Is there any solution other than possibly a complete uninstall and reinstall?...
Only two or three weeks I'm learning to program, and I have a simple problem, the indicator does not represent anything, the separate window is empty in -9000000 to 9000000 range. What am I leaving out? <code removed>
Okay, a few days ago, I opened up a BTC-E account because I knew I could trade on 3:1 margin using Meta Trader 4. So I funded BTC-E with $450. The $450 hit the BTC-E account just fine. I then transferred it to one of the Meta Trader account numbers I had established. Problem is, I put the $450 in an...
Helloeverybody While I wastrying to set up an error handling function into my EA for the first time I gotthis error … unlisted error. My code isthe following if ( type >=0 && type <=30 ){ long_orders_array_ATF[store_long_position_4H][zz] = OrderSend(Symbol(), order_type, lot_size,...
I just found out you cant trust a programmer here mql4/5 job and market section. Even if they have great reviews. He proclaimed that my idea, money is safe with him, and ended up stealing from me big time. How do you deal with this kind issues?
Hi, I would like to change the RSI period to 3 from the default value of 14. For some reason when i try to change the period to the value of 3. When i try to back test my strategy it will default the value to 15. Does anyone else also has this problem or just me? Please feel free to give me some...
Hi, I have started b610 in portable mode and that has changed the pasth-structure. Now I don't know where an EA or an indicator started in the startegy-tester would place its files. In the old version it was {mt4}\tester\files. Now I only have {mt4}\MQL4\Files - does this mean tester and live share...
Has anyone already coded url encoder in MQL4, that could be paired to the PHP urldecode()?
Hello, Sorry for my bad English. I compile my old EA in the build 604 format and I receive a warning "Check operator precedence for possible error; use parentheses to clarify precedence" on the OrderSelect line. I try to integrate parentheses, but the warning stay. If someone had a idea to delete...
Hi I'm trying to use the libmysql.dll in an EA, similar to https://www.mql5.com/ru/code/10645 My setup is MT4 via Wine on Ubuntu (32 bit), and I only copied the libmysql.dll file into the MT4 libraries directory, no header files copied along. The dll file is from the dev.mysql website At...
Hi, I'd like to add something like the image below to my custom indicator. I did this with MS-paint, but I want to do something similar in mq4 say above a target candle. How do I do this ? I have some programming background. So if you could provide a hint, I can follow that path.
I'm trying an Initiative here, please try to be constructive. The big-idea is documenting changes in function Behavior between mql4_Built 509 vs mql4_Built 600 and above. I believe this would work because there's a limited amount of functions. But other stuff are welcomed also. This is only for...
hi guys i thought i had this correct, and now i am doubting myself. I know we enter a buy at ask and therefore close SL and TP at bid and enter short at bid and close SL and TP at Ask. However my entry line, SL line and TP line are calculated off the bid. I have made no allowance for spread in...
I mark bug on ObjectGet function....follow example with debug I have on chart one label on corner 4 this is my function code int calc_Yaxis( int corner ){int i;int result;int objectNumber;int realObjectNumber;int cornerDistance;switch( corner ){case 1: cornerDistance = 15; break;case 2:...
Currently working on porting back an EA from MQL5 to MQL4. It was originally written i MQL4 but I needed the MultiCurrency functionality and tester functionality in MQL5 in order to get it fully tested. I am now porting it back to MT4 using the compiler directives to be able to keep a single source...
Greetings, The new MetaTrader 4 Build 604 its using MetaEditor 5.0Build 883. If one opens an mq4 files outsidethe Experts or Indicators folder the MetaEditor moves the file to the MetaTradersfolder. How can this be stopped?
with the compiler replacement of metalang.exe with mql.exe, has anyone found that the /i option in the compilier affects both the include folder and the debugging folder? Any particular issues found when using folder structures outside of the new default locations?
Hi, I searched here and googled is there a general comparison of what in /portable mode would work when coded and what not in b600+ except that the old ex4 should run. Thanks, Gooly
Hi, does MetaQuotes offers demo-accounts for b600+ for tests and automated updates? Where can I found them as my broker hasn't updated yet. Gooly
Last night my metatrader crashed and would not stop showing the "not responding message", so I uninstalled it and reinstalled it, only to find that my experts and indicators were missing, this didn't worry me too greatly because as a rule I always save me EAs in another file, what bothers me is...
Hi, my 'first' compilation' creates this warning: arrays passed by reference only myIncl.mqh      663     29 the code looks like this: void setPairs(string arr[][]) { ... Does this mean mt4 600+ makes no difference between string arr[][] and string& arr[][] Gooly
Hi, My disk c: is almost full. I just add a new disk. How can I have installed all my Mt4 build 600 terminals in F:\Users\Alain\AppData\Roaming\MetaQuotes\Terminal\ or any other F:directory ?