MQL4 and MetaTrader 4 - page 611

[Deleted]
Salut folks, I have my own EA created and managed to use the ExportCSV command to output the data when my EA triggers an alert however I am uncertain of how to do the following: 1. Add to the file instead of replace the file each time? I.e 1st output in row 1 then second time output comes n periods
Hi there,   I asked a question on here before that seems to have disappeared as it's no longer under my name when I search by it for questions I've asked. I asked why I got an error when sending an order for .01 lots. It related to the MINISIZE of my broker. I had confirmed with my broker that they...
Hello, I am a newbee in metatrader and mql4 language, I found this library which is exactly what I need (Multicurrency OnTick (string symbol) event handler - expert for MetaTrader 5): https://www.mql5.com/en/code/280 But It needs MetaTrader 5, my broker version is (TradeMasterFX Meta, Version: 4.00...
Hello guys, How can I export the charts of AUD / JPY to Excel by intervals ? And is there a way to export data from the MT4 trading details and MACD for specific time per day over the entire graph in a simple way ( perhaps programming ? ) Without having to go every day for it ? Thank you, Ran
I'm trying to find a way to specify how the last order was closed. I have used the OrdersHistoryTotal() then OrderSelect(index, SELECT_BY_POS , MODE_HISTORY) and finally OrderType() but this simply refers to the ENUM for OP_BUY, OP_SELL etc. Is there anyway to specifically find out if an order...
[Deleted]
Good morning, I wrote this function to close open orders of specific symbol but, when testing, it seems not working properly. Could you give it a look and tell me if is there something wrong? Thank you very much void CloseAllSymb()  {   for(int i=OrdersTotal()-1; i>=0; i--)     {      double...
[Deleted]
Hello I'm wondering what to look for in a PC in order to have faster backtesting  (tick data backtesting on M1 with own tickdata & 99% quality ) && if there are any tips / tricks to know to accelerate.  I'm  currently using a intel core i7-4700HQ CPU@2.40GHz, 64bits & 16G RAM but it is too slow for...
  MT4 UI size  (1)
Could anyone tell me how to enlarge the ui size in mt4?  the default is way too small.  Thank you !
I am having a problem, the chart is unable to scroll to the latest bar of the right side of the chart, it was okay previously but the error appear afterward, it happen between time frames. How do I get this fix? Thanks
Hello guys, I got puzzle for you that can't solve. A last several orders were requoted by my broker. Their explanation is that my orders come with old prices, thats why slippage does not work and order is requoted. I'm checking every 1 ms the broker quotes with Refreshrate() and MarketInfo, send the
Does any one upload MT4 statement use FTP with MT4 publisher in Godaddy succeeds? when I use this features it is always show STOR command failed. thank you!   
Hi all,  Anyone can help create EA for me? I provide the strategy and payment in reasonable.  Regards, Kent 
Hi, I have an EA attached to several pair. The problem is it always disturb each other (closing pending order). The code  for closing is custom function as below; void CloseLimit() {   bool CloseOrder;   int CloseError;   bool DeleteOrder;   int DeleteError;      for (int i = OrdersTotal() - 1; i >=...
they might have sped it up x 100 but it sounds pretty close. https://www.youtube.com/watch?v=LQfzvQFTtEw
Hello i'm looking to run a BAT file from a script (and upon successful testing ultimately from an EA). I've looked at https://www.mql5.com/en/forum/139191 which i found very helpful but... #property strict#import "shell32.dll"int ShellExecuteA(int hwnd,string Operation,string File,string Parameters...
Has anyone experienced this before? Why does this happen?
[Deleted]
Hi, I hope someone can help me, I could use an indicator that signaled me on a graph in part, the formation of a pattern on its currency pair. To better understand, I need an indicator that behaves as shown in the picture.
Hello all, I have reciently noticed that my FXCM accounts behave bizarre regarding the spread. In the market watch window of my demo account I see very small spreads 1.18020-1.18021 in EURUSD now. The MarketInfo(Symbol(),MODE_SPREAD) command returns a spread congruent with the market watch window,...
i have the following simple code for an OnTimer() function:     void OnTimer()  {   int bla=FileOpen("last.txt",FILE_READ|FILE_CSV," ");   if(bla==INVALID_HANDLE)     {      Alert("Problem reading file");     }   else     {      Alert("last.txt?, Got it!   ",TimeToString(time_stamp)," and  "...
  Rates function problem  (14   1 2)
Hi All, I am baffled by the issue below. Very simple code asking for the high & low of the first bar on a chart of specified timeframe. extern ENUM_TIMEFRAMES tf = PERIOD_D1;                void OnStart(){RefreshRates();MqlRates rates[];ArrayCopyRates(rates,NULL,tf);Print(tf,"   ",rates[0].high,"...
Hi. I have 2 EAs running on  a Demo account and the same 2 EAs on a Live account. There is more money in the Demo than in the Live account. The EAs in each account have the same input parameters. At this very moment the Demo has 20 trades open, 1 negative, while  the Live has 19 open with 10...
Hi, I'm trying to write a simple rsi EA code for mt4 but my code is working just part time . ClosePosition function is not working.( probably my code is a bit weirdo lol ) . It worked without a problem few times but mostly didn't work on the same computer and also didn't produce any error code......
[Deleted]
Hello, I used (there these years +) the Play-sound function in MT4 progs without problems Today I want to utilize this function again but there is no sound emitted even though the file is found: 10/26/2015 checked this in the program with the following code: PlaySound("bidonalert.wav");...
Under Build 902, Custom indicators are no longer removed automatically, if not used for 10 minutes. This, I think, partially contributed to the result differences between live accounts and Strategy Tester. Strategy Tester never removes indicators - at least I didn't see any indications to that. I...
[Deleted]
Hi, I need help, this below is an indicator that is used to recognize certain patterns, the problem is that only recognizes the patterns that form the previous candle, but I wish that the scope of its action was around the time that take into account all the candles. Simply put, instead of 1, in...
Hi, Let say i have a real account with a broker..And i am very succesful in my trades If i have given the INVESTOR PASSWORD to someone, is there any way that i can possibly know he/she is using the access to my account to copy my trades 24/7? Is there a way to know or not?  Thanks 
I see other platforms that offer a wide range of hourly candles, not just 1 & 4 hr. & daily....  One I saw offered 1-12 hr. + daily,...  It is very instructive and helpful for interpreting candle setups.  Surely, given the open format of MT4 there are add-ons that provide this? I appreciate your...
Dear Coders I have a problem with calling a custom function twice in OnTick() function. Every things are alright when i call my function once. but when i call it twice every things become messed up. You can find my function below. i wrote this for detecting crossing a level. when i want to use it...