I am coming back to this forum after a gap of many years, trying to dust off / reuse my own previously written code pieces. I am now constantly being reminded that I am sitting on a bunch of MT4 code that is becoming increasingly difficult to maintain, given the way the carpet is being rolled off
I want to represent the opening and closing, price and time levels of a given ticket number on the chart using a custom bitmap/graphic object . Also create a line joining the opening and closing levels. Can anyone advise me of something readily available - if on MQl Four, even better
The following statement in my code is resulting in Pending Order getting created but it somehow is not respecting ordertplvl. int
I am trying to get my head around the arithmatic involved with MQLDateTime Structs. If someone can point me to a sample code (function) where I can pass 2 TimeStructs and it returns the integer / long integer / double value of the number of seconds between the 2 timestamps. Highly appreciated
I have a file abc.csv and there are multiple variable value pairs in there separated with a "#" character - a#4 b#3 c#4.67 and so on. Here is the code : string listcsv="abc.csv"; string listarray[500]; filehandle=FileOpen(listcsv, FILE_BIN|FILE_READ|FILE_WRITE); int t=FileReadArray(filehandle
Hi friends, At the outset, I want to thank one and all for being an continuous source of information and inspiration. I hope to be of use to the community some time. Until such time, I am a Net recipient of information. Some specific questions about MT4 and trading in general. 1. Is it possible for
Hi, On the MetaTrader screen, when I right click and highlight Trading, I see the suggested Buy Limit and Sell Stop levels which are around 25 pips away from the running market price. Is it so that we can not set a pending order within certain PIPS from the market price ? Or is it that we can ? If
Hello, While this newbie still struggles to design the holy grail, if some experienced friends could share their thoughts on this question. I do not want to design something that works fine on demos but is bound to fail on real accounts . Appreciate your help. regards Sat
I remember a few months back when I installed MetaTrader 4.0 fresh. My machine used to be a reasoably fast machine. However, For the last few weeks, I am noticing the system has become very slow. Infact, it seems, when MT is running, the system as a whole slows down. Editors take time to follow the
Hi, I am a newbie and am trying to work out some strategies. However, I am not sure if I need to be working with Pending Orders or market Orders ? The program logic will need to be substantially diff I understand depending on this. Is there an advantage to having the EA issue Market Orders rather