Download MetaTrader 5

MQL4 and MetaTrader 4 - page 486

To post a new topic, please log in or register
Hi, Let`s assume I have 4 charts open on my screen, with different pairs ( EURUSD, USD JPY etc). My EA checks periodically the charts/pairs if conditions for trade setups are OK. I would draw an arrow on a chart where setup is possible, to point on the possible setup time, above the particular...
I want to optimize the parameters of a new EA I have written, but the Strategy Tester just hangs/do not react if I click Start in Optmization mode. Am I missing something about the new build?
  New User... (1)
I want to start . How will I start and buy account.  And If I want to get my current money or profit money how will I receive. Need some explation.
New article Reading RSS News Feeds by Means of MQL4 has been published RSS is actively used by news agencies, companies, as well as various news web sites. RSS can be aggregated (or read) by a variety of special applications (readers) and delivered to users in a convenient form. This article deals...
Amazingly, I can't find easy free historical price data so I'm going to write a script to export to csv for us in excel. Just before I start I wanted to check that I'm not missing an easier way to do this...? Also, is there an easy mql way to make it load up all historical bars, or would I have to...
Hi folks, is it possible to write an EA code which runs in an opened chart window and that chart opens another chart window by itself? for example if(condition==true) Open a second chart EURUSD D1 Is this possible?
I am busy writing an EA which is largely based on the custom indicator NonLagMA. When I run the EA in Visual Mode I notice that the transactions are placed and closed in the wrong places on the chart. On further investigation I discovered that the values given in the arrays of the indicator shown on...
Hi, I want to put SMMA(8) of H4 chart to M15 chart.  Simply use SMMA(128) (8*16) is not correct. Is it possible to code this? The problem is: I don't want to use "iMA" function, because this code will be used in Stratedgy Tester Visual Mode, it'd better if different timeframe data not quoted....
hello how can be edited an ex4 files like mq4 ones in metatrader editor   
I wrote a script to add lines to a chart (once) Now I want to be able to input some boolean variables as it runs. Is it possible to have a script ask you for inputs? Alternatively, to the same end, can a custom indicator remove itself after it's added the lines? I tried calling deinit but of course...
Hi all, I'm looking to get in comment the value of TotalOrderProfit from the code following code, but it doesn't work.   string SettingsComment = "Profit Protected: "+TotalOrderProfit;  Comment(SettingsComment);   void EAOrderProfit()       {//0        int TotalOrders;        TotalOrderProfit =...
  Audio Alert (2)
It would be great if an audio alert sounded when the price approached within say 10 pips of the target price.  Is this possible?    
Hi,      I am developing an EA. While back testing I would like to make payout the profit at the end of my trading cycles. (OrdersTotal() = 0) How can I make it? Or The account balance should be reduced to opening balance and paid-out fund should be noted.. Thanks in advance. 
Hello all,    I am interested in storing price levels and my EA acting according to how far/close they are from these price levels. To make my question easy to understand i'll create a silly example.  Lets say I want to store the HIGH of every other bar.  Once I have, lets say, 10 price levels I...
I download the data in MT4 but i am unable to to back test it. please someone teach me how to back test data...
Hi, This time, I try to export Doda Dochia level to Excel for a list of date recorded in date.txt file. There are 5 parameters in the inputs menu of this indicator and I listed in the "extern int" below. The output file create only value 0.000 for the Doda Dochia variable. Could you please help me...
I am not an expert in developing codes  in MT4. So I need help from other friends who can develop for me a suitable code for using EMA in MT4 for entry and exit. I have the following idea which may please be the basis for such a development. Pair  Eur / USD Lot size   0.1 Use 5 minute chart /  or 1...
Tradeing Trader
Hello, are there any plans to make the MQL4 Language also OOP compatible like MQL5 but with the possibility to use Metatarder 4 still because the Metatrader 5 have another Order handeling, no hedging and such thinks. Have Metaquotes make here any plans? Maybe a Metatarder 6 wich again allow hedgging...
 the follow error: 2005.01.02 20:46:15 2013.01.15 08:00  shiyou EURUSD,H1: executable file is corrupted. Please recompile it.   how to deal it ?
i have already subscribed to some signals formetatraders4 in: https://www.mql5.com/en/signals a coupleof weeks ago. since yesterday when i ran the platform the following messagesappeared in the journal tab section: Code Base: failedread content from server 'codebase.mql4.com' and follownig to that:...
Hi All, Just wanted to ask a question about something which I couldn't find an answer for after spending ages googling. I've used Expert Advisor Builder to make an EA that automatically places a buy/sell order. The problem is, even though all the indicators are satisfied, an order is not placed...
Hoping this message could be of any help after having lost two days working on understanding what was wrong... Apparently there is no way to create the simplest possibile application to read a 1-column csv file with n-rows of data. Any 2 ore more columns csv file will be read with no problems, but...
Hello there, I started playing with the Alligator indicator and after finding the optimum settings for my exit, i suddenly realised that despite showing on the graph, the Alligator's lips were not giving me any data to my EA. Here is the code and settings: alLip_1 = iAlligator(NULL, 0,13, 8, 8, -1,...
Hello guys, i never had a problem like this. My Login/Account Information disappears after closing MetaTrader 4 Client. What could be the reason for that bug ? 
New MetaTrader 4 platform build 507 is being prepared for release. After the release of the update, we will publish an additional news containing the full list of changes and the build number Attention! From August 1, 2013 desktop client terminals older than build 500 will be no longer supported....
  Spam Comments (4)
Can a moderator check out these spam comments - samples below - Thanks 1.PSAR trader v2Best Performing Forex Robots (Test Results) Thanks! Code Base | 2013.06.14 04:11 | Beakon 2.A System: Championship 2008 Final Edit2008 eh, lets see how she performs in 2013 :)Best Performing Forex Robots (Test...
Hello, I would like to know if there must be a change in a line in this code (https://www.mql5.com/en/forum/117683 ).  I would like to change the integer number to double, and how can I call a number from that file later in my EA, if I do not know its position, and I would like that number to be...
Hi all, I've been saving a few small questions to ask in 1 go: 1) is there any disadvantage to use Ask, Bid, Digits, Time[] etc. many times within a function... I see many people assign it to a variable such as "askprice" etc. and then use that thereafter... is this best practice? The same questions...
yesterday i opened strategy tester in mt4 salected date from ex 1 may and then to date does not get selected and optimization gets selected pl guide attached file photo