Download MetaTrader 5

MQL4 and MetaTrader 4 - page 499

To post a new topic, please log in or register
Im sure this is simple, but I simply cannot find it ANYWHERE. I simply want the text on my x axis to be alot shorter. Like maybe it not repeating the word "May" until the month changes... http://i.imgur.com/TWgqr6g.jpg Incredibly annoyed cause ive been trying to find the answer for an hour or 3 now.
Hi I have a friend that has an EA, he gave me to watch it on an investor account. Is there any way i can see what indicator the EA uses from the investor account? to read the EA working on the graph somehow?   joseph 
Hello Mql-team,   since your last update, the chart shift function is off, if you make a picture. ONE CLICK TRADING: Can you install a stoploss order and a take profit function in the one click window ? (very usefull) Analyze: a yearly button for yearly Charts, like other plattforms ??(USEFULL),,,,...
Hey guys,  I just found this site, let me know what you guys think, it's pretty interesting for fundamental analysis. I have never seen this before :)  XXXXXXXXXXXX
Hi All, is it posible to code a different target function? (profit factor, balance...). If so, could you give some tips or sample?. I would like to optimize by win/loss ratio = 1 (avg winning trade / avg losing trade). Regards. 
I'm unable to figure out why MT4 strategy tester is having issues properly realizing moving averages based on high periods (such as 1000 or more bars). I've tried both iMA as well as iCustom (referencing the provided Moving Averages function and the printed results (just printing the MA price for a...
  Saving values (6)
Hi, I am trying to save Price value as X, but X is still refreshed after every tick. Could you please give me a small tip how to improve my code? double Price;double X;int start(){//Time[t0], if Bid>1.3000 -> X = current EURUSD(Bid){if(Bid>1.3000){Price = MarketInfo("EURUSD",MODE_BID);}X =...
Help me to add 'magic number' input in attached EA.
Any advice most welcome, searched high & low. Can not find any code to do this.   OrderSend("EURUSD",0.1,Ask,3, ??? What next );  
Hello, I want to trade baised on the USA Eastern times. But my broker is located somewhere else, so it doesn't have the same timzone as USA Eastern. How can I code something that it check what time it is at USA Eastern and it trades for lets say at 9:00am USA Eastern time? Also it needs to work with...
Hey guys I was wondering did anyone code their EA to simulate live trading on the live feed ? I am going to code mine to do that and would appreciate any ideas/input. I figured I would code some functions to simulate the server responses to all the trade related functions, like OrderSend()...
i dont know where to post a thread for suggestion but i hope metatrader will add functionality to metatrader 4 for android levels on moving average
Good afternoon, I have quite a weird problem, I am trying to extract the highest and lowest of all closing prices of a given period without sucess. This is what I have so far. double DCloseHighest(int shift, int period){   return(iHigh(Symbol(),Period(),iHighest(Symbol(), Period(), MODE_CLOSE,...
Hi, I'm coding an "EA" (not full automatic), the idea is that i create 1 support and 1 resistance (both are angled, not horizon). Both lines is created in init() area and by extern input (time and price). If price touch line EA will place an order with setting stoploss and target profit. However,...
Hi guys, example: I have array int Test [10] [10]  and I need sorte (ascending/descending) array rows sometime: a) by the 1th column   for it I can use:  ArraySort ( Test, WHOLE_ARRAY, 0, MODE_DESCEND );                  b) by the 3rd column    How is effectively code for it? Thank you. 
properkhunt
I know some people must think, "not this again", but I have tried the following. Checked live trading enabled, the most obvious, uninstalled the platform, restored my computer, deleted all files and started from scratch and still the things won't work. The only thing that will work, is if I download...
Hello everybody, I am having problems with my metatrader 4 on Windows 8. I am losing my EA OrderSend arrows on system reboot. In fact, any object I add to the chart, either manually or through an EA, gets deleted if the command lines shutdown.exe or taskkill.exe are used. Funny thing is that no...
I created different codes for mql4 but one thing I'd like to learn how to create an inscription on the graph using comment or ObjectCreate ("label_object", OBJ_LABEL, 0, 0, 0) I can not seem to  shows the message   (uploading and activating the program)   while if I simulate the same program I can...
MT4 after upgrading to bulid 500 lost a correct record of the history of the account. The "save the detailed report" shows the nonsense in our account
Hi, I'm studying this indicator but I don't understand some lines. Please someone who explain it to me. ¿Where is my error? First the function "FractRightBars" is equal to 1. extern int FractRightBars = 1; I think than the function "limit" is equal to 2  because: IndicatorCounted() = Bars - 1 =...
Hi guys   I would like to know, if there are professional guys on coding and forex expertise that want to work with me on this ea.    To work with me, will need to do somethings, proving that really knows to code in MQL4.  
Hello guys, I am not a noob in programming, however, I am new metatrader. I want to create a simple ea. I want to trade when the EMA 10 touches the EMA 20. Please give me an overview how to model this touch in the metatrader language. Thx in advance!!!
Hi, I am trying a bit around with creating EAs. But I don't seem to understand the start-function The documentation says that it is called every tick, which I believe should be very often. So I tried this test-script http://pastebin.com/AyPZ9tb8 And it should flood my console with this text, but it...
Dear all,   How can I display multiple moving average lines (a moving average with multiple periods) with a single moving average indicator?   Thanks a lot for your prompt reply.   
how do I put an Expert adviser on the MT4 that doesnt leave any comments  ?
I have found Metatrader 4's input Boxes to be  inadequate. I have not looked at MQL5.  In 4 I wanted to write a little more information about how you would like to configure the EA. I looked into PHP and a web site and I also looked into a few other things. I settled on using a QT standalone App to...
  建议 (2)
各位先生/女士,您好!作为一个来自中国的客户,我提一个建议,请在这个网站的“ Language”里增加一项“ Chinese'。这当然是为了方便我们中国人的阅读了解此网站的有关信息。谢谢。
As those who like 99% mod quality with tick data know, most tick data goes back to 2007 only (Im using Dukascopy tick data). This means we cannot test from before than with this data as whatever date we set, the test will begin when the tick data does. Does anyone know if it is possible to test say...
 Hello there,  I am using an EA that i got from a friend... but i cannot change the Lot size for this EA. I tried changing the lot size from 0.01 in the dialogue box to 0.02 or 0.04... but it always keeps buying and selling only in 0.01 lot. how can i fix it?T   Thanks 
I am new to using mql and I am using generator to create codes. I want to open position when MA Exp. 5  crosses up MA Exp. 12 = BUY ,  MA Exp. 5  crosses down MA Exp. 12 = SELL. But the problem is, I want to open only one position but when I check ea, it seems that when position closes, ea opens...