General - page 1890

Hello everyone, Arien't there any date/time functions to add and subtract (hours, minutes, seconds) to derive a new date/time? For instance, if I wanted to add 360 minutes to a fixed date/time to get a future date/time how would I do it (without having to code the whole thing)? Thanks for the help!...
I load an indicator, and I cant find it afterwards??????!!!!!!! I compile it, and nothing. I even deleted old indicators thinking that I put to many in, yet nothing. I loaded indicators before with no Problems, now nothing? confused.
I found this template that runs the Bill Williams profitunity software on Meta trader. However, it is for MT3 I beleive because it wont work on MT4. Could any Coder help me out and see if they could compile it for MT4? I would love to see how this setup works. I have it in zip format. Thanks in...
What is actually happening when EA is in it's start function end a new tick comes? -Is the tick neglected? -Is the EA interrupted? -Is a new thread created? -Is the tick qeued? -or maybe something else? Thanks, Michal
  Array Bug or not Bug?  (15   1 2)
Hi SLAWA, //If I have four element array: int time[4]; . . . . //Is the following equivalent to write all elements to "0"? time[4]={0,0,0,0}; ArrayInitialize(time,0); //If yes than the first does not work.
A few days ago I started playing with this idea. Imagine you have accounts open with two brokers. They don't have the same quotations. Suppose that in market rallies quotations start diverging a lot - let's say over 10 pips. Now one broker won't have the quotations 10 pips over the other. The...
I would like to know if it's possible to use the same EA for the same pair but on different time ? i.e. the EUR/USD using the same EA but on the 30 min chart, 1hr chart and the 4hr chart using the same server. I hope you guys can understand my question.
hi, i have a strategy that i posted at https://www.mql5.com/en/forum/173595 i'll apreciate if somebody make an EA for this strategy & help me to test that strategy welcome to any improvement...
[Deleted]
  MTF Price  (19   1 2)
Just like any indicator, it'd be nice to be able to see price from multiple timeframes on the screen at once. This would allow you to get a broader picture of what the market is doing, without having to constantly switch your charts. Given that, I put together 2 "indicators"... Price.mq4...
I'm looking for a link that I thought I saw in this forum. Maybe not. It was to sign up with Interbankfx, and if you used the link you got a 1/4-pip credit on each trade back from the spread. Does that sound familiar to anybody???
Can somebody help me how to make MetaTrader sound an alarm when one colour bar changes to another colour bars for the below indicator? //---- indicator settings #property indicator_separate_window #property indicator_buffers 3 #property indicator_color1 LimeGreen #property indicator_color2...
  How to  (2)
im litle stucked i want to use just opened candle and not previus i tryed to change things in the code but im getting many errors this is a peace of the code for (shift=CountDays-1;shift>=0;shift--) { time1=iTime(NULL,PERIOD_D1,shift); i=shift-1; if (i<0) time2=Time[0]; else
I have moved this discussion over to the MT4 section from the General Discussion. Here is the last message I posted, along with Igor's Breakeven EA attached. Thank you for the quick post of this EA Igor! It is Saturday so I cannot test this Expert Live, but I have viewed the properties and its Input
Hi ,does anyone know how to have order tickets display stop loss & take profit in pips in MT4 platform ? Your reply appreciated.
Can someone please tell me if there is a function available in MQL4 called LastTradeTime() ?? It appears to be available in MQLII... I am writing an Expert Advisor and trying to devise a way to ensure that it does not execute multiple trades per bar. Any and all advise is MOST welcome!! Thanks!...
  Custom Indicator vs EA  (15   1 2)
Hello All, I had a custom indicator that I added some code to in order to take trades, in an attempt to convert it into an EA. However, now when I try to attach it to a chart, it won't attach, and MT4 tells me it's not an EA, it's an indicator. What am I doing wrong? How does MT4 identify a Custom...
  Lowest & highest  (8)
Hi How could I return the lowest low or the highest high, starting from the beginning of the opened order ? Thank you.
Hello everyone, This is sound a little st..id. I downloaded some EA. Copy it to my expert directory, when I opened the strategybuilder platform, tried to attached EA onto the chart, I don't have a smiley face, but I got this big L or big J letter. Could anyone tell me why. Many THX. Josephine
HI I found nice article in "Currency Trader" about trend strength indicator http://www.currencytradermag.com/u20sh.htm If anybody could program this indicator for MT4 regards
Hello: Where can I find sourcecode for the MT4 Volumes Indicator ? I don't find it my samples folder, or in any of my MT4 folders. Can someone provide a link to download it? Thanks, -charliev
  Easy or Hard to do?  (11   1 2)
Hi guys! I need one indicator that gives me a signal when one candle (bull or bear) cross the horizontal trendline. I don't know if this is difficult, but if not, could you please help me? Thanks in advance! Cheers
MetaTrader 4 Client Terminal build 191 has been released Changes: 1. Fixed error of outgoing traffic increasing when computer has been working for more than a month. 2. Added possibility to work via proxy servers with NTLM authorization. 3. When a transaction is transferred from history, SHIFT...
Hi, there is a bug with this build. If you have a few orders , say over 20, and you scroll down to see your equity etc, the terminal will automatically scroll back up to the top even though no new trades have been placed. Please can you fix this problem? thanks
MetaTrader 4 Mobile build 191 has been released What's new: 1. Fixed fonts displaying error in VGA mode for some models of PDAs. 2. Fixed history data pumping. 3. Fixed updating of available internal mailing system mailboxes list at switching between accounts. Mobile terminal can be downloaded...
  Password protection to EA  (41   1 2 3 4 5)
hi guys whats the code to have a password protection to EA and is it possible to have our EA working in interbank fx server any help reg this is appreciated bye shwetha
Helo, I need a piece of code to define a variable as a moving average of CCI. I use the MA applied to the CCI (using previous indicator's data) and I want to use that into an EA. How should I do it? iMA(....); ? Thank you."
Help me please...help me. How to solve error of the number code 133 : Trade is disabled. By server? or client? Thank's
Hi all, First post here after moving into Forex after trading stocks for a while. In my software for the stock market I use an indicator that combines an MA and the ATR to draw a line to show my trailing stop loss. It is quite simple but I have never attempted to code anything like the necessary...
Hi, I'm having trouble attaching more than 1 EA to a chart. Is this simply not possible or is there an option to enable this somewhere? Reason I ask is because MetaTrader leads you to believe this is possible... right click on the chart and it says "Expert Advisors" for the sub-menu. But I suspect...
Can anyone help me to setup The FxOverEasy System indicator, such as SHI channel, LaGuerre, i_Trend, Juice, and Perkyasctrend1 into a PDA? Can such indicator be downloaded into PDA? FYI, my PDA type is HP iPAQ 3565. PLease....