Download MetaTrader 5

MQL4 and MetaTrader 4 - page 531

To post a new topic, please log in or register
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
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. 
  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
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....
  Error invalid parameters (27   1 2 3)
Hi all,  I'm testing the ea on a demo account and some times comes this error  on Journal tab;  14:30:02 '2089041584': modification of order #6413070 sell 0.04 EURUSDi at 1.29077 sl: 1.29039 tp: 1.28584 -> sl: 1.29038 tp: 1.28584 failed [Invalid parameters] Any suggestions how to avoid this ' Thank...
hi if any one know then pleas give me list off mt4 indicator developer /programeer services provider ( paid and free both)
All, This is the 4th EA I have tried to code and the only one that makes an upward trend,it was developed on the 5min EURUSD time frame, as the EURUSD seemed to have themost characteristics that I was after. The backtest is included below, as you can see it is only for 1-Jan to 1-Sept (Whichis when...
what is my big mistake here.....any help Please replace your code here using the SRC button. 
I use support and resistance but want to work on fibonacci or pivot point indicator are best what is your opion ?
Hello, I would like to know how I can receive a notification (an email for example) when a pending order is executed. Any idea? Thanks! p12d
I want my EA to only enter on the first signal, e.g. when the 3 MA crosses the 8 MA when both are above the 200 MA. At the moment the EA will do this on every cross above the 200 MA, but I would like to set it to ONLY enter on the first 3/8 cross above/below the 200MA. If I can find out how to do...
I have an extern double StopLossPips and I would like to make it conditional with an IF statement. Basically I don't want the stop loss to kick in unless some condition exists in the market. In this case price above/below a 5MA. (_Is5MAStopUp)   I have tried to implement it within the code where the...
I want to include a box in the top right hand corner of my screen with 6 lines of data which change each time period (i.e. 1M,5M,30M etc). I have seen some details about the mt4gui but not too much. I have extracted the following code from an example and the 'box' and TimeCurrent are displayed The...
I like to have a SMA, 10 period, 0 Shift based on "Previous Indicator's Data" of RSI, 10 period, Close. Unfortunately, I see this option in the manual/chart MA selectbox only. It is not listed in iMA "Applied price enumeration". Is code available? Thanks at forhand for your help.
Dear Sirs, I've begin an Ea, nearly close the end at thispoint, 4500 lines. It is built with 6 includes which getvariables, Globalvariable organization and Functions. It is a MultiSymbol Ea . It uses 4 indicators and 4 différents HeikenAshi. I download at the beginning then one time each minutes...
I wrote an EA and NEVER allow two orders for any pairs. However, I figured out that two orders were created for EURUSD. I checked the EA log as follows (Simplied version) 14:59:57 daily fitting v7 EURUSD,M5: Reset counters, the system is...
  need help... (5)
hello guys.. could you help me how to stop counting of  ++  to a certain count...        if(Bid<ma) SARup++;    if(SARup>4) SARup=0;  but after it become 0 it count again.. i want  the rest of ++ to become zero.  thanks guys appreciated your help. 
I'm new to Metatrader. I want to be able to enter a time and date to place a trade of a certain value. I also want to be able to add a stop loss to that trade, but I want that to be in pips (because I don't know what the currency will be worth at the time of the trade). Also, if the dollar value of...