MQL4 and MetaTrader 4 - page 920

[Deleted]
My question is this. I know nothing about programming but I can install downloads in expert advisors, templates and indicators. Is there somewhere on this site where someone has made an expert adviser, or indicator that will alert me if the close crosses a given moving average .. I would like for my
hello  is there a code or a function that returns the account open lots (long or short) for a specific symbol??? thanks!!! 
[Deleted]
I recently upgraded to Win 7 and then downloaded MT4 Build 225. Prior to that I had not upgraded MT4 for quite a while (somewhere around the summer of 2009). Since the fresh install, MT4 has not been saving my layouts, and does not save any profiles. At every startup it shows the 4 default charts...
Hi, Please let me know - if I already have MT4 downloaded from this site in my PC and now would like to download MT4 from a broker platform, that I'm going to start to work with, should I first uninstall MT4 from my PC and only then to download MT4 from the broker or it doesn't matter?
how can i get highest value of close of five bars (shift 5,4,3,2,1)? i need it to my EA, thanks :)
[Deleted]
I just opened an account at Oanda and tried to install their version of MT4. The installation window opens normally but remains locked on the second step: "downloading the files" (see attached file). My computer runs with Windows XP SP3 and I previously installed, run, and uninstalled properly MT4...
Hi all,   I need to open an order apart other x pips. for that I though to use this kind of function, but seems it do not work properly.  Is that possible take from you some help ? extern int OppositeDistance  =  2;   if(BuyAllowed )              {//...
Would this work well for a random magic number?? // logic: AutoMagic is generated when placing an order. It is not reclaimed if terminal is closed and reopened though. // StaticMagic can be used to continue an open order or used manually. extern bool automagic? = True; extern string
  Alert show up  (15   1 2)
Hi all, While the order is placed and works fine every time a new order is open the alert shown up. This should only happen if the order fail and that is not the case. Follow is the code. Could any of you tell me if the way and place of the error lines are wrong ? void OpenOppositeOrder() {
hi friends,    i am trying to do a indicator that can count the number of upwards or downward hourly candlesticks (say over the last 10 candlestick)  Then prompt a 7 on the indicator when there are 7 out of 10 upwards candlestick or inversely  there is 7 out of 10 downwards candlesticks and also to...
[Deleted]
While I'd like to plan to acquire a new trading computer & I THINK mutiple monitors make sense, so far, I've been able to unearth any meaningful information discussing this in any detail. I apologize for asking the question as I suspect it's been asked & answered before, but, again, I've been unable...
[Deleted]
Exactly 5 or 6 D1 bars for every trading week ? Is it different from this broker to that broker ?  Bars open time & close time are always the same between brokers or different ?  Anyone knows that a week has 5 working days, but I see 6 D1 bars per week both on the chart and in history center.  These...
Hello, I created a .fxt and a .hst file from CSV data with use of the simple_csv2fxt script. I changed the script to create a custom named symbol "TEST". This is because I want to show up with a different symbol name in tester (other than "EURUSD"). The "TEST1.hst" file is working, I can open it as
[Deleted]
Hello, Can someone explain to me the style: SetIndexStyle (0, DRAW_ZIGZAG); What is it for and how it works. thank you,   Pierre8r 
Hi Can someone please tell me how to remove this bad tick from my charts ? https://www.mql5.com/en/charts/122682/audusdm-w1-smarttradefx-com http://charts.mql5.com/1/244/audusdm-w1-smarttradefx-com.png Thank You
[Deleted]
I am a bit of a novice with computers, have just purchased an autobot for trading forex and have been told to insert a couple of lines into, well this is what the manual says:-     If you already have MetaTrader 4 installed and updated, place the following files: forex1000pips_eurusd.ex4...
I'm working on a project that loops through an array of all available pairs. Currently I hardcode this, but this is obviously not good programming practice. Is there a way to do this dynamically? Thanks, Mango
As per the title. Is there an easy fast way to have an alert set to a drawn line horizontal ? Thank You
Hi I downloaded the mobile app for MT4 android but im not getting any data? I thought it came with a demo account? I have a demo with a broker that doesn't use MT4 mobile can I just use that login and password ? Thanks.
  Timevalue  (1)
I'm working on a project for an alert at a specific time. I'm using Excel 2007. I would like to see an alert, let's say at 0600. The formula being used is:( ='mt4'|high!eurusd). This gives me realtime data, but I don't know how to convert the timevalue. Any help is appreciated
[Deleted]
  memory-saving  (2)
Question 1. (A constant) vs (an initialized local var of the same type): which is more memory-saving ? #define pi 3.14 vs int start()    {     double pi=3.14;     ...    } Question 2. Declaring a var inside (if) or (for) or (while) vs declaring it outside. Which case is more memory-saving ? Question...
Hi All, could you give me any approach how to measure candle accelaration? any code example or pseudocode. Regards. 
Hi, I am running a same EA on different currency pairs. I want only 4 trade openedfor any specific currency pair, meanwhile maximum total trade for all currency pairs is 30 trades. For e.g I would need 4 trades opened forEURUSD, other opened trades can be of different currency pair but not EURUSD,...
Can some expert shed light on my EA. I am trying to store tick data into an array, which always stores zeros. I can, however, successfully export ticks into a text file. Attached is my EA and the results
[Deleted]
Can anyone help me with how to program any mt4 indicator to initialize on only one Forex Account? and if the indicator is place an any account it is not program to work on you would get a message on the chart stating "wrong account"
I wrote a custom indicator but it seems I cannot make the color user defined. Any solutions? Thank you.
MetaTrader 4 Client Terminal build 438 Terminal: Fixed trade history request by "Custom period" time range. Terminal: Fixed Push messages having invalid MetaQuotes ID.Terminal: Fixed possible incorrect display of company data in About window. Terminal: Fixed translation of the interface into...
Currently I use FileWriteArray to move between the MQH files and MQ4's. I am not aware of any other methods to adjust an array in one location Change it and send it back. My Current issue is two Fold. I want to use file Write Array to a USB drive to take the Data some place else. Next. How can I...
I had a typo in my EA that resulted in opening many orders, so the margin exhaustion is expected. But since the code does check margin, the 134 was not. RefreshRates();...    /* However, the broker doesn't care about the at.risk/account balance. They     * care about margin. Margin used=lots...
Hello  I would like to build my first ea based on one of my indicators. It have only one buffer. The indicator work good. It shows 1 to open a Buy trade and -1 to open a sale trade. The rest of time it shows 0. In my ea i want to convert 1/-1 in trade so I do that :   My problem it's that  wrong....