MQL4 and MetaTrader 4 - page 553

To post a new topic, please log in or register
Hi, I have an EA that uses Marketinfo function to get ask, bid, point and digits. I use it in 2 IBFX demo accounts, without any issue, since 07-04-2013. I tried today to use it in my live (mini) account and the EA does not work, because the Marketinfo function gets "0" for all values. I tryed to...
Hi! Since i have the Build 500 i cant backtest with birts patch anymore! After i downloaded a terminal.exe of the Build 445 i can use birts again, but i get this error: executable file is corrupted. Please recompile it. If i understand ir correctly i need to recompile my EA with the Build 445?! The...
Hey does anyone know where i can download the MetaEditor with the Build 445? After my MetaTrader upgraded automatically to Build 550 im not able to backtest with birts patch! Now i was able to downgrade the MetaTrader but i got an error when i tried to backtest... I need to compile my EA with the...
I want to save all journal (log) in tester when I backtest an expert. How method do you proceed for  this ?
Hi,  has anyone got any idea to use Stoch on tick chart?  many thanx just 
Hi all, I have a strange result with _lread in winAPI:  I set a string (char) as 50 x's, then I set another string (char1) as the value of char, then I use char1 with _lread.. somehow _lread sets both strings to the characters read from the file! bool BidAskLineReader (string path, int handle)   {...
OK basically what my strategy has been for the past month is as follows. I have a list of traders that I selected, copied onto my Etoro practice account. When the trader opens a trade I mirror this trade onto my mt4 account. Pretty simple really, except that I have to keep monitoring my practice...
  is this true? (4)
is this true ? Open[0]==close[1]
Hi there, I created an EA based on 4 custom indicators: Braind Trend1Sig1, sidus v.2, Support and Resistance(Barry) and FX Snipers T3 CCI. The code (MQL4) is as below, If anyone could point me in the right direction, that'd be lovely. Thank you....
Hello! I' a beginner in programming. I learn it two month ago, and now i don't know what can i do. So please help to me. :) I very respecting u RaptorUK. If u have some free minutes, please help :) I read all topics, what can help to me. Its have some, for Sidus: https://www.mql5.com/en/forum/134736...
Hi, I'm new to Android MT4. Previously I'm using MT4 on Iphone4. For the Android, at the 'trade' section, I can't see "credit" which showing the amount of your bonus. It shows Profits: Balance: Equity: Margin Level (%): Margin: Free Margin: But there's no "Credit". When using Iphone, there's...
Hi! I normally search for answers instead of asking (I've learned so much from this forum! Thanks to everyone!!!) but... I can't figure this one out. Calling FileOpen returns the handle or "-1" if there was an error. So why do I always see error checking done with: if(handle<1); or if(handle<0);...
Hi all  I'm trying to find out how I can make my EA stop trading after being stopped out at SL.  I found some code on MQL4 that looks usable, but I'm a bit confused about one of the statement, and I'd like to ask you to verify that I understand it correctly.  The code can be found in the following...
Hi people, How can I remove an ExpertAdvisor from chart on MT4 v4.00 build 482? I remember on previous build versions, right-clicking on chart pop-up menu showed "Expert Advisor.." entry and there was an option for removal. But now on this build version, there is no "Expert Advisor.." entry on...
Hi, I connected MT and Excel, MT platform ONLY READING data from excel (one number,cell), only 1x/100-500ms. Reading is ok but after few minutes (1-15min) crash MT. :-( I am using win xp / vista. Is possible somewhere get the reason platform crash? Any log file, ...? Other tools? Any idea...? Thank...
Dear All, I'm converting one indicator to expert advisor. The code is almost complete for BUY order. But it is not working. I'm sure, it's just a small error in the code. Please check that. Thanks
What is the best way to handle the difference between Ask and Bid. When using OrderSend I use Ask to buy and Bid to sell. But when setting take-profit and stop-loss should I also consider Bid and Ask depending upon whether I'm buying or selling. The chart only displays the Bid price so sometimes my...
  Chart lines (5)
Hello. I find it annoying that my chart lines are placed at random levels. For example, my grid has lines on eur/usd (daily) at 12656; 12800; 130840 and so on. Those are random levels. Much, much more useful would be levels from one hundred pips, like 12800, 12900, 13000. Hpow can i have lines at...
HiI have a couple of questions on the behaviour of the strategy tester in the presence of gaps. I did a quick search and didn't spot the answers, however please let me know if these are documented somewhere.I've made some numbers up for the purpose of the question, and I've missed the spread here to...
hi, all a new box came up if you wanted to use one click order. so thought see what it is. problem with this is you cant scall out any more . let say you go in with 2 lots. maybe after some pips you would like to close 1 lot. but that is now not possible anymore with one click order. if you click...
Hi   In the Account History tab in MT4 terminal client, there is an stop loss (S/L) column, where this field has a number and is shaded red does that mean the position was closed by Stop Loss? I think it does.    thanks  
Hello All,  I have trouble with using of iCustom & RSI signal in TDI indicator. I'm using iCustoms like this //---- calculate EMA for the trend recognition        EMA_0 = iCustom(NULL,TimePeriodDay,"EMA",5,3,1,0,0);        EMA_1 = iCustom(NULL,TimePeriodDay,"EMA",5,3,1,0,1);        EMA_2 =...
This is weird! I have downloaded different broker platforms and whenever I fill out an account with them (demo) and choose a server, I am redirected to the fxtm (forex time) site stating "thank you for registering here are your login details" - this must be spyware or some client jacking from them...
i'm having a problem on how to create a script that can open both buy and sell together.. can someone help me? thanks 
I AM LOOKING FOR A WAY TO GET: OPEN,CLOSE,LOW,HIGH,AND PARABOLIC SAR VALUES FROM CHARTS THAT I CAN PUT ON A SPREEDSHEET. ANY SUGGESTIONS??
Hi, i whant to make one ea and i need a code lines: to open a new trade position if the last trade was close with profit . Thank you very much!
I like using metatrader 4 and just started using metatrader 4 mobile. However I am not able to attach custom indicators to the mt4. So far all discussion I saw are does not allow me to do so, does anyone know how to do so? If we are not able to do it now, are there any future development to allow...
Hi guys, Example: I have 1 array ArrayTest [10] [10000] and I need move whole 4th row to 2nd line (rewrite data inside array) My code: for(int j=0; j<10000; j++)                    ArrayTest[2,j]=ArrayTest[4,j];  // I must move each elements from 4th row  exist some better way? Main parameter for me...
In Build 482 an Audio Alert can be muted simply by highlighting the Audio Alert and pressing the space bar. It will stay muted until you reactivate it in the Alert Editor or re-highlight it and press the space bar again. In Build 500, when you use the space bar to mute the alert, it only holds for...
I have been trying to edit my code to use an exact % of the account balance and it nearly does, but is always slightly off... I have tried many different edits and the following code is the closest that I can get... An example would be that on a $50,000 size account a 2% risk loss is $1,500 when it...