Download MetaTrader 5

MQL4 and MetaTrader 4 - page 557

To post a new topic, please log in or register
good afternoon, I see a problem I have with a .csv file. This file has n rows recorded, but in the end has a blank row, how I can detect this blank row in an Expert Advisor?, Can anyone help?. thanks
Can I use an EA to auto-login different accounts? if i have sereral different accounts,and i want to trade with all ofthem,can i first login with one account,send orders,then login withanother account and send the same orders?
Hallo all,,, I'm not too familiar with the mq4 programing,,, could someone help me to make a modification on this indicator : 1. Day_HL --> use to determine yesterday HIGH and Yesterday LOW price 2. Daily_open_line --> is drawing a solid daily opening line based on daily_open number My request is...
Hello! In the trading pool exist an OP_SELLSTOP and an OP_BUYSTOP order. Can anybody say me wihy the following code returns me an error 4105, but neverthless it returns True to "Founded" and 1 to "Counted" ? In orher words, it returns an "No Order Selected" error but returns also the expected...
Hello Can anyone help me make a basic EA alert for mt4 to send me an email as soon my whole balance decrease by 5% than 10% and so on. I would like to modify it by the every 1% if possible. Thank you for your help
New article MetaQuotes ID in MetaTrader Mobile Terminal is published: Android and iOS powered devices offer us many features we do not even know about. One of these features is push notifications allowing us to receive personal messages, regardless of our phone number or mobile network operator....
does a TP of 10 pips means scalping or it's not about the TP level and more about the way of trading?
at the championship can you use different time series?
Just checking. A script file is a script file because it is stored in the scripts folder? True or False Is the same true of a indicator? True or False or Defined by its #property definition. Script files dont accept extern values? True or False or Well there is another way. Appologies for not...
Hi, I have tried many scalping EAs but most of them fail to work because my spreads are really very high (25-30 points). I stay in India and this is the least offered here. I think this is why most scalping EAs don't open orders. Can anyone help me in making an EA where i open order manually and it...
Hi all! I have been running tests with fractals indicator. I have been able to use the following combinations for ordersignals... None of the combinations below support an effective signal for what I intend to do. My intentions are to use the fractals indicator at shift 0. Not 2 or 3. I believe that...
Hi. My first post and I would like to notice, that I am so new to MQL4 and Meta Editor, that I need some help with my EA problem. Firstly I need to say, I created my first EA with an online EA builder, because I didn't know the language (I just know only a bit of Pascal, which I was taught in High...
Hello world. I just tried to write a simple trend following EA based on bolinger bands ... How ever it does not execute trades where i really want to ... Could someone tell me how to change it.... For Long position entry i use the Bolinger bands (Price LOW) and for Short positions i use the...
where do i save the EAs (path) on MT4 and what do i do after saving them to bring it onto the terminal? Please help! thanks
Hi Guys, Can someone please mention indicators which I can use to identify a sideways market. Also, is there a possibility to identify a sideways trend using Moving Averages? If yes, it would be great if I can know the MA period. Thanks, Rahul
graphical indicator as read offline?
Hi! Anyone can comment some Automated Optimization Methods? I found this: https://www.mql5.com/en/articles/1467 This (that I think is the same method of the other): https://www.mql5.com/en/code/8760 And an easier way (or not): https://www.mql5.com/en/code/9528 With the last method, I think that is...
Hi! I try to put a signal of MA in the Schaff Trend (https://www.mql5.com/en/code/8348), but it do not function properly. Any help in this code? //+------------------------------------------------------------------+//|                                                Schaff Trendy.mq4...
  Order Modify (14   1 2)
Hello Everyone, I have been experiencing intermittent issues with my OrderModify code and I have not been able to figure out what is causing it to fail. Typically the EA opens and order and then modifies it. But lately, the EA opens and order and never modifies the SL and TP. Hopefully the issue is...
Hi, Can anyone have this same problem ? I wrote some code to write string values to CSV. the formatting seems correct but when i actually open the csv file, values are not divided into columns but instead are shown like this: ADS Securities LLC;EURUSD the code:...
  How long did it take you? (19   1 2)
Hello, I was wondering how long it took you guys to write your first profitable expert adviser. Did it take months? or even years?
Please,whats the code that makes a trade close if it has made 1pip profit if any.Thanks
Hi all, Why can't I set StopLoss / TakeProfit for OrderSend(...OP_BUY,...) ?        //trading Gold - XAUUSD. Below is my test://---------------------------------------------------------------------------             OrderSend(Symbol(),OP_BUY,0.1,Ask,3,1000,2000,"test",0,0,Blue); // failed !...
Hi Gurus, does anybody knows how to write such a script ? Script to close operation with -1 pip = 1 pip loss ? How to automaticly close such an operations ? Is it possible to modify this kind of script ? extern double TPforBuys=0;extern double TPforSells=0;extern double...
I'm using a demo account on Alpari and I can do manual trades just fine, and I've also enabled the option that allow EAs to trade. So I don't understand why isTradeAllowed() always returns false?
how can i choose the best company that give me an expert adviser builder ? or what is the best company can give me expert adviser builder ? thank you ...
I am using MQL4's iRSI to code an EA that covers a short when RSI is below 50. The problem is that the cover is triggered before RSI ever reaches 50; the terminal reports that RSI is at 0, while the graph reports RSI at ~60. Extract of the code: double currentRSI=iRSI(NULL,0,14,PRICE_CLOSE,0); //...
ive downloaded meta 4 for my tablet,all is working ok on one account,but i have 2 other accounts and there i no login feature on the mt4 download if i try to download another platform it takes me back to the original is there a way to overcome this. Thanks Dave
I downloaded the following ea from a forum the other night and saved it in the experts folder in my program files. I can't get it to show up on my fxpro platform although under me "expert advisors" in my navigator there is an option "534 more"- when I enter this, it shows the ea but it won't let me...
forexparvenu
  compounding (2)
where the problem to this ?? ; left parenthesis expected problem...
1...550551552553554555556557558559560561562563564...1245