Download MetaTrader 5

MQL4 and MetaTrader 4 - page 234

To post a new topic, please log in or register
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...
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...
IMO, there appears to be no Complete EA within the mql4.com's Code-base or Articles for that matter of fact. There always seem to be something missing. I'm going to use the definition straight from the source allot of people recommend for learning to program mql4; the Book. In addition to that, I'll...
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...
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 codeif(((((Londonopen<Hour())&&(Hour()<Londonclose))&&((LondonM<Minute())&&(Minute()<LondonN)))||(((NYorkopen<Hour())&&(Hour()<NYorkclose))&&((NYorkM<Minute())&&(Minute()<NYorkN))))&&(Orde...
When I try to use the Strategy Tester it opens with a black screen with "waiting for update"...no update happens and I'm stuck. I'm using MT4 build 225 from Forex.com. If I reload a new version of MT4 it works for a while, then starts the "waiting for update" nonsense. When I test I get loads of...
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....
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 
I think this forum may not be a best place to bring suggestions for improving mt4 platform. Can a moderator tell me what would be right place to write to MetaQuotes?
Hi,    I got a new mt4 trading account recently, I just place my EA as usual, my expert tab show ea initialized, chart windows show smiling face, everything loading as normal... I found it strange for few days with no order, so I tested with an EA instantly place pending order and it's not working.....
Hello, I've searched the forum and google but I couldn't find an answer to my problem. I want to know if it is possible to call the EventSetTimer() function outside of OnInit() because I want my expert advisor to start the timer after a condition in the OnTick() function is met (like profit > 1:2...
Hello, When using a parametric constructor, what is your way of validating the constructor finished ok and the parameters satisfy the class business terms? A constructor has no return parameters, how do you check if it finished ok and in case it didn't, what do you do? If you don't use an Initialize...
I am not able to make web request to an API using WebRequest from a script, I always get back an error 5203. This is the code, that I think is as simple as it can get. I am using MT4 build 765. #property copyright "just a test"#property link      ""#property version   "1.00"#property strictvoid...
Hello, I have a buying criteria and a selling criteria What I want is to close a buy order if: 1) Selling criteria occurred (Reversal) or 2) If another Buy signal occurred after opening the first one. I want to close the first buy order and enter a new buy order. And vice versa for the sell order....
  AnyPair SMI (10)
Hi guys, maybe someone here can help me. This indicator is giving no output, I'm trying to adapt a Stochastic Momentum Index to use a different pair than the one on the chart.  The first file is the original I'm using (SMI_Correct_1), the second one (B45a_SMI_AnyPair) is my adaptation.  Any  help...
Hi all, I'm using the expert Renko Live Chart v 3.2 but I receive this error: can't create / open history file: cannot open file: EURUSD2.hst Where is the problem? DLL are enabled.  I see file EURUSD2.hst in the history folder.     
I would like help to change the settings of this indicatorso that it is accurate for my time zone and trading platform. My time zone is Brisbane, AustraliaGMT + 10 My trading platform time is GMT + 3 Open markets in green font Closed markets in red font...
Hey guys i need help adding push notification to my source file      I know i declared it correctly using extern bool   Push_Notification = true;  and using this snippet here if (alertsEmail)   Push_Notification();       Here is the source code      //---- indicator settings #property...
Say I have a grid system that can open up to 5 trades in a basket with a 1.7 lot multiplier. Assume the first trade in the basket is opened with a 0.1 lot size. The spread between each trade in the basket is 21 pips. I need to calculate how many pips against this 5 trade basket an account can with...
Let's say that I have 15 years of historical data (1M OHLC) for AUD/USD and NZD/USD; however, I don't have any data for the AUDNZD. Is it possible to calculate the AUDNZD with AUD/USD and NZD/USD? Example, for open price  AUD/USD * USD/NZD, the USD will cancel itself out; hence, we can obtain the...
I'm trying to add a 'Trade' / 'NoTrade' element to my EA. My plan was to have a list of dates on which I don't wan't my EA to run, so UK Bank Holidays and US Holidays that kind of thing. My plan was to have a list in an external file that would be referenced by my EA to compare the results of a Date...
I ´ ve this programm: stat...mq4 but wenn i start it profilling non-stop . but really it would create a text- file .what is wrong?with someone else the same program worked. any file must be added maybe even ? or so A text...