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
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
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
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
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
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
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
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
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
To understand the POINT, Digits and NormalizeDouble better, I tried to print these values along with Bid and Ask variables. Print("Point Digits BidPrice AskPrice Bid & AskNormalizedValues POINTnormalizedValue and Bid PLUS POINT*PIPS-
Hi, As I understand for a Buy order the trailing stop would move up if the price goes in our favour. Can the trailing stop be higher than the Order Open Price ? What is the dynamics between OrderOpenPrice (), OrderTakeProft() and StopLoss values
Hi, I am a newbie and have just started a demo account with Alpari UK Ltd( seems comes default with MT4). When I downloaded history data a few days back, a warning appeared suggesting this data may not be same as Alpari Uk data. I didn't bother
Hi Gurus, I seem to be running in to Timed Out issues !! Now my question - Are there any thresholds, like you should not have your start function running for more than so long ? What if I want my init function to wait until the moment a new bar has
Hi Friends, I am completely new. I am trying to get my head around Volume. I am so far given to understand that Volume is number of ticks / bar and if that is so, should'nt I expect the volume value at a particular bar on the 10 minute chart to be