MQL4 and MetaTrader 4 - page 678

Get historical data TF-M1 (F2) from broker A to broker B . For convert M1 to another timeframe by script " PeriodConverter" in mtt4 . Broker A time zone is GMT+0 . Broker B time zone is GMT+2 . How to use script "PeriodConverter" to adjust GMT+2 too ? Thankyou
I have imported high quality 1 minute bars on the EURUSD back to 2005 - 2015  When I start the backtest to run through through the date range 2010 - 2014, it doesn't run all the way through. Instead it cuts out at 2014 August... No pending orders are being used and only 177 trades were placed. What...
[Deleted]
MT4 had been working just find until this morning when I turned on my computer, now when it opens it even before it connects to the brokers server it  says (Not Responding) for about 5-10 minutes and then works fine. I have installed MT4 from different brokers in different locations all with the...
     I have date in CSV  file with the Date formatted as:  month /day /year . How can I extract the  month / day / year  ( 04/ 23/ 2015 )  from the String ? I can't use anything that converts it to Datetime otherwise it becomes day/month/year format.   Thanks   
Hi, Just wondering if there is a way to make MT4 automatically save chart objects. Everytime I close charts I have to re-draw them which can be time consuming. Is there a way to keep objects on charts when closing them for later use? Thanks. 
After I use iCustom() to quote an existing indicator in this indicator, it says "can't open that existing indicator file". However I can quote that same existing indicator in my EA  successfully. What's the root cause? Do you have any similar experience to fix the issue? 
hi .. i want use this ind in EA  if bar red here just open sell if bar green just open buy i want know what last bar show red or green ? thank you :)
[Deleted]
hi i cant closed my position on demo of quotes 
Hi forum, I want to plot a line on my chart and this line should be copied to the chart of another MT4 user. My idea was to do two expert advisors. The first one runs on my chart and checks if I plot a new line, remove a line, change the line properties or delete a line. Every time the expert...
Hey forum, I googled a lot and found some interesting postings about protecting an EA from being executed on different computers. But all solutions were pretty complex because the main issue was protection. My question is simpler. I don't need to protect anything. It is just that my EA must identify...
Hello  I created these indicators InstaForex platform on my real account, but when I tryed to make the same indicators with same code (copy/past) and different name, the new indicators does note give me any value , were is the problem , need hepl, (by compiling the code I have the messaage 0...
Dear all, I recently discovered the automatic signals service offered by this site and I wanted to give it a try but when I check my MT4 I can't find the signals tab! :O. I remember I had it last year but I don't know how it disappeared. I'm running build 765 right now. I think it's the most recent
I've had a look through the various Chart Properties and can't find one, but is there any way to control whether the One-Click Trading window (top left of chart) is maximized/minimized other than by loading a template? I was rather hoping I could use ChartSetInteger() but apparently not... 
Hi all, refer to the title above, do all brokers on MT4 platform ECN/STP brokers?  Thank you in advance. 
I am having a really odd issue with triangles.  I have coded an indicator that finds harmonic patterns.  For whatever reason, the first triangle of each pattern (xab triangle, and bcd triangle) always renders solid, and blue.  NOTHING I do has any effect on the xab triangle.  The bcd responds...
Hi there, I am testing my EA on EUR/JPY historical data with USD account. For each trade I calculate risk as PotentialLoss/AccountBalance(), where PotentialLoss = StopLossPips * TradeSizeLots * PipValue and PipValue = 0.01/CurrentRate (0.01 - pip increment for Yen based pairs).  The problem is that...
Hi!! I am at Inda, I want Indain Stocks Live Prices NSE and BSE Exchanges at MT4, how i can get. can you help me.. Let me know how to MT4 regist, their address , or Whitelable, and Price feeding 
Ok so here's a weird one.. I have a simple order management EA that has some buy and sell buttons on the chart and you just hit the button to open trades and there are other buttons to close etc... So here's the deal.. I have it on a ForexBrokerInc demo account and the code works as designed on all...
Does anyone know how to enable communication between EA on 64-bit system? There are tons of examples how to use pipes through kernel32 .dll or how to use tcp/ip connection, none of witch (that i tested) work on 64-bit system. Does anyone have working examples on how to run any kind of communication
[Deleted]
my mt4 totaly stop moving it is connect but nothing is work can anybody help me
On the chart a ere actually two drawn SARS (green ones)and they have no difference.On the chart i even tried 10 and -10 -4 +4 nothing changes the value visually or numerically. So i normally use my iSAR function without problem ,but when i run the tester on my EA i clearly see that i move my iSAR...
[Deleted]
Hi All, I'm fairly new to MT4 and I am having a few niggles with it. 1) when buying is there any way to show what the total amount will cost. 2) Balance, is there any way to show the accounts actual balance meaning he balance minus what has been used to buy. Thanks in advanced for help on this topic...
[Deleted]
I'm looking for some way of creating web browser box inside a chart. Basically, it should just open some web page. I found some EA's are doing it by replacing whole chart area with web browser. Example http://snag.gy/gdap0.jpg I searched entire forum, but only thing found is possible usage of
New article Trading Ideas Based on Prices' Direction and Movement Speed has been published: The article provides a review of an idea based on the analysis of prices' movement direction and their speed. We have performed its formalization in the MQL4 language presented as an expert advisor to explore...
My Oredrclose is not working, please help.         if (total>0)         {         if(bar3<-1) OrderClose(ticket,OrderLots(),Bid,3,Green);         if(bar3>1)OrderClose(ticket,OrderLots(),Ask,3,Red);         return (0);        } 
  OrderClose not working  (48   1 2 3 4 5)
Hi, I have the following coding for my EA, please help me why the OrderClose is not triggerred? Do I need to use OrderSelect() ? What is the purpose of OrderSelect()? Thank you. //+------------------------------------------------------------------+ //|
good evening ,I am cooding an EA which trade 2 hour in London open (9:30 to 11:30, Server time ).so i used the code if (((((Londonopen<Hour())&&(Hour()<Londonclose))&&((LondonM<Minute())&&(Minute()<LondonN)))||(((NYorkopen<Hour())&&(Hour()<NYorkclose))&&((NYorkM<Minute())&&(Minute()<NYorkN))))&&(
Hi,   Is there a better way to write this indicator so that it will work for both 4 & 5 digits brokers?   #property copyright ""#property link      ""#property indicator_chart_windowextern color LabelColor = Red;#define OBJ_NAME "MarketWatchSpread"#define OBJ_NAME1 "MarketWatchSpread"int...
Does anyone have an OrderClose function that you can share with the forum? I am using the following two close functions (CareCloseOrder & CloseTrade)but they are not working very well. Do you have any recommendation to improve them? Do you think that one close function is better than the other....
[Deleted]
Hi there,   I would like to use different Buy / Sell / Buy-Close / Sell-Close values for different times of the day, but I cannot fond any examples where any time-of-day type if statements are used. Has any of you ever wandered in this direction?   TIA   mql4_Newby