MQL4 and MetaTrader 4 - page 598

To post a new topic, please log in or register
Hi there all, Am I allowed to run more than 1 EA on the same profile but on many different charts within the same Profile, please? In another words: I have many charts opened under a certain Profile. I need to run an EA on each one of these charts/ trading instruments in the same time. Am I allowed...
Hello, I am in need of some help regarding an EA I have programmed that has indicators which can be set to true or false, currently I use an else statement to call another function that will run if the existing function is set to false. The problem with this is that I end up with a huge list of...
I thought it would be helpful for new coders (and experienced coders) to post an updated version of MMA_Breakout_strategy_Volume I, so novice/experienced coders alike could have a chance of understanding the two important updates  required for this EA (volume I) to run smoother and more efficiently....
Hi : I am trying to write a EA which keeps track of my mannually open orders. I am wondering if it is possible to know the ticket number which is converted by a pending order for example sell limit, buy stop order etc. I want to make the pending order mannually, and then input the pending order...
I'm a new user on MT4 and am surprised and getting frustrated at how much it crashes indiscriminately.  Can anybody give me some direction on how to fix this, or what some of the causes are, so I can understand the platform better and see if I can actually use it? Many thanks for the help.... Rick
I've been using this indicator long enough,. now I want to change the zoom,. how to keep this indicator is behind candle but do not use the chart on the foreground in the properties,. I've tried to add some code in MQL's but always error...
Hi all I'm quite new in this world, and I have one simple question.  Is there a standard variable that I can use to lookup the current TP price? Thanks in advance. Best regards G 
Hello What is the difference between these two functions, because in the documentation the descriptions are very similar? Thanks in advance
Hi, if possible disable view value of indicators in the indicator window?
thank you very  much 
I think lots of MT4 trader is gonna like this. Unfortunately, I´ve searched a lot in internet but I didn´t find it. Situation: imagine in your MT4 you have a profile which you use to analyse 8 different pairs. All the graphics are at this moment in M1 periodicity and you want to change all the...
Hi all  I've created three version of my own EA that I'm going to test.  To be able to compare those versions of the EA, I'd like to run them on the same demo account to make sure that they are working on the same input.  But I'm not quite sure how I can identify them afterwards ... do you know...
Hello, I have a timer function that works fine  but I want a comment in the upper corner of the chart that says someting like this when the EA runs: "Trade allowed between xx and xx" I've tried to add the Comment() function but I cant place it right without errors..       //Timer      if(UseTimer ==...
I have seen this issue mentioned here and there, especially by 7bit, but I was never able to get around this problem: The strategy tester does not properly decrement the reference count of the loaded library during deinit(). Because of this, the DLL file stays loaded in the system, and crashes when...
Please tell me,What is the role of the options? Thank you! 
Hello Forum, with help I previously got an indicator to work which simply put a small box on the chart to illustrate the current spread between bid and ask. With labels at the Ask and Bid levels Now I am trying to work out how to insert the actual values of the Ask and Bid prices into the label...
I am looking for an indicator that looks like the following (I CANNOT find one anywhere):     and..   Thanks. DaveFX 
I want to learn to program an EA and realize it will take work and study. I was wondering, can most of the writing and testing of an EA be done without a connection to a broker? Right now I have a metatrader demo account that I have been unsuccessful in getting to run any EA's on and realize that if...
Hello, I'm using the indications of page https://www.mql5.com/en/code/8126 to create a report of my trades. However when I launch this script on a window, the report does not get created. I made some small edits to the original in lines 50-54, as is indicated on the page. Please find the script...
My name is Kevin and we have developed a Tradecopier EA which copies our signals and execute them in our clients computer remotely. We have noticed for some unknown reasons if the client resides in a non English speaking European country such as Germany, Spain etc EA does not open the trade. For...
  indicator ? (1)
arrow  WHAT indicator. ? thank you ..
Hi Folks, I want to trade with Xcalper. I just heard about them and found very interesting. They recommend IC-Markets as recomended broker. Can anybody has dealt with IC-Markets??? I also want to know your suggestion to choose a best broker. If you have experience of Xcalper, Please share with me....
Hi All, i just need to ask a question regarding pedning orders .when i set a pedning order for Example at price 1.3407 buy stop .should be executed at this price or it may be done on higher price in case of high volatiality market? As i faced this issue with my broker and they informed me that this...
I use an ECN broker so I have to place the order without stops and then use OrderModify to add the fixed Stop and Take Profit which is working well .  But , I would like to add a trailing stop , I have tried to add the additional OrderModify code in Red but I can't get it to work .  Any assistance...
how to identify maximum draw down for every trade in meta trader ???
What is wrong here? The result should be 0.55 however I get 0.   Alert( 1100 / 2000 );Alert( NormalizeDouble((1100 / 2000),2) );
I have a script but doesn't work as i want  can anybody modify this script like if the a lines crosses 100 up (buy) and once it gets reverse and crossed 100 (close)  if the a line crosses - 100 down (sell) and once it gets reverse and crosses -100 (close) i have attached a jpeg image which shown...
Hi there, I'm new to MQL4 coming from a PHP/mySQL background. My question is probably quite simple, but I'm not quite understanding why it won't work. I'm trying to basically get the account's balance, the price of the current currency being traded, and then calculate the lot size that should be...
Hi, hopefully it is possible and I am on the right way. Lets say I have a function within a DLL: double ReturnArray() {     double aReturn[2];     aReturn[0] = 1.34567;     aReturn[1] = 1.35678;     return(*aReturn);} Now, I would like to work with this array in MQL double myArr[2] =...
  Ankit (5)
hello ;   i am here provided with a small part of my strategy... if buy takes profit next will be a buy but if it ends in stop loss ordertype will change from 0 to 1...same case for sell..each time it inccurs a loss ordertype will negate....source:- #include <stdlib.mqh>int sl=8,ab,ticket1,ticket2...