Download MetaTrader 5

MQL4 and MetaTrader 4 - page 552

To post a new topic, please log in or register
Hi i want to download specific range of history for mt4 an example just the 15.08.2012 as 1 min instead of whole history then i can export the file as cvs from mt4 to excel how to do this ? will i always have to do everything startover to end thanks best regards
I want to write a function, which do: It must watch all pending or open orders in the chart, and if it is one of all orderSymbol which match a symbol in the chart, then nothing happens. If all OrderSymbols don't match symbol in the chart, then do other function. This is my code, but it doesn't do...
I want know how apply this indicator JJN-Nugget on my metatrader 4 platform.Please help me out.
Please can anyone give us (me) a step-by-step guide on how to setup e-mail alerts on the mt4 platform? Also you discover that on windows xp, it is always easy to display statement and detailed statement of account. Now in Vista and Windows 7, it is almost impossible. Can anyone who has succeeded in...
I need a profit order close function for a EA, but this one will close all working orders anyone can help to allow close for symbol and magic only? if (AccountProfit()>= My_Money_Profit_Target)   {    for(i=OrdersTotal()-1;i>=0;i--)       {       OrderSelect(i, SELECT_BY_POS);       int type   =...
I want to do this: There is a line on the chart, I get price from it. After Ea restart I want this line get back in that price, which it was before restart. Can I do this without saving the price in the file? If can't do, so how to save it to file, that doesn't overwrite prices, because this EA will...
Hi all, I have got a wonderful EA from this forum which works very gr8 on longer timeframe.. I am testing it on 1 hr timeframe.. its simply a EA which takes position when price crosses Exponential moving average (12) with a new candle opening.. it books partial profit (variable) in 5 parts....
Is there a way to skip any given pass of an optimization before that pass is completed? For example, if the relative drawdown % of a pass is too high at any point in that pass, then it is a waste of time to continue to the end of that pass, and it is better to skip straight to the next pass. I have...
Hello Everybody! I'm interested in a robot that actually does NOT make money and Loose money. OR it does between a very narrow range. The job of this robot should be to make lots and lots orders and should make as little as profit that win the broker spread back, and no more profit required. The...
To anyone with Sophos on their PC or VPS The MT auto-updater is likely to be damaged by the latest version of Sophos - see here for the 'Critical Advisory' on the subject The risk to the rest of your MT installation is unknown Consider excluding the MT folders from any Sophos access.. Please consult...
Hi, I have got an ex4 file which send's it's orders with take profit. Is there any possibility to get the order information from this EA and open the position withount TP and SL first and than sending the boarders?? I want to use this EA with an ECN Account. I tried GetLastError() but I always get 0...
On occation if I try any EA in my MT terminals it will show in the Expert tab "loaded sucessfully" and then immediately "removed". I did not remove anything. Ea is enabled (has the smiley in the chart window), but just does nothing. Not even the {init} part. Am I missing something here? Just one EA...
Hello guys. I wanted to develop a trailing stop based on fractals. Basically I wrote two routines to get the fractals when they unfold and another function that is main double last_high() {   int j = 3;   double fractal = 0;      fractal = iFractals(Symbol(), Period(), MODE_UPPER, j);      if...
I HAVE A PROBLEM SOME TIME WINDOWS UPDATE OR ANY OTHER SOFTWARE INSTALLED IN MY PC THAN MY MT4 INDICATORS NOT SHOW CORRECT PICTURES OF INDICATORS IN MT4 CHARTS SEE PICTURES FOR UNDERSTAND ONE PICTURE IN GOOD AND ONE IS BAD WHAT IS THIS PROBLEM AND WHAT IS THE WAY TO CORRECT THIS PROBLEM I AM NEW...
what is stoplevel &freezelevel and how does it affect trading? Some say it affect your trading but in what way? Please i need an explanatory answer. Thanks
Please help me.I am not a programmer. I really need help inbuilding a strategic AE in my three consecutive candles. signal began to appear two (H1) candles in oppositedirections. at least the second candle opening price equal to the closingprice. Case 1: If the first candle down, second candle up,...
Hi today my broker got v434 and after updating from v432 to v434 my EA did silly things - long used save settings causes now crash in Tester - and some Mt4i scripts do also not more work. I wonder why a update to v434 dated 3 Set 2012 is not mentioned at this forum at all by Metaquotes member here!...
i just start learnig how to coding, and somehow i managed to finish 1 EA. So i BT and the result is pretty fair, but when i try the EA in demo acc, i get some problem... here what i get invalid lots amount for OrderSend function, i try to solve the problem by myself by reading some forum posts, but...
New article Automata-Based Programming as a New Approach to Creating Automated Trading Systems is published at MQL5.community: This article takes us to a whole new direction in developing EAs, indicators and scripts in MQL4 and MQL5. In the future, this programming paradigm will gradually become the...
New article Fundamentals of Statistics is published at mql5.com: Every trader works using certain statistical calculations, even if being a supporter of fundamental analysis. This article walks you through the fundamentals of statistics, its basic elements and shows the importance of statistics in...
  Multiple take profits. (17   1 2)
Hello, I want to add in my code multiple tp function. total = OrdersTotal(); for( i=total-1;i>=0;i--)   {     OrderSelect(i, SELECT_BY_POS, MODE_TRADES);int type = OrderType();if(OrderSymbol() == Symbol() && type==OP_BUY && Bid>=tp1){    OrderClose(OrderTicket(),0.01,MarketInfo(OrderSymbol()...
I have been using the search features here for a while to look up the documentation quickly, but every search I input returns some default page about how to enter search criteria. I can still access all the documentation, it just seems to be the search feature thats broken. Any suggestions? Thanks!
Hi All, Could you please recommend/advise about the BEST Support and Resistance Indicator that was ever used by you. Thanks in advance. Regards K
Hi, I am trading several pairs and on each pair I have two orders. How can I close the opposite one if one of these two is triggered? Do I have to crawl thrue the Order-Pool and get the Order-ID and close it? Is there a simple way to do that? Thank you in advance! Kind regards, John
Hi, 1) I'm finding that it typically takes about 0.5 to 1.0 seconds to execute a market order on MT4. I don't want to turn this into a review of brokers but am asking if anyone else has been able to achieve anything approaching HFT (eg perhaps sub 0.1s) using MQL4 and MT4? 2) I have a trading...
is it possible to open an order without getting ticket back from the server? if so what can i do without ticket?
I created my ADX EA that makes orders when current ADX crossesline 25 but the problem that I have is multi-orders when TP is set to 5 pips. I am looking for a solution to stop EA in Tester for next 3 bars whenTP was reached. Thanks in advance for help.
    for(int sd=0;sd<500;sd++)      {         if(OrderSelect(sd,SELECT_BY_POS,MODE_TRADES)==true)            {              Alert(sd);           }      }I run the script,THE ea OUTPUT 1,2,3,4,5,6,,why ,why it not output 0-500;     i have seven tickets
Hello At the buttom of this post is a script for lotsize-calculation based on free margin. I would very much like to combine it with the attached ParabolicSAR-EA. Anyone can do that? It would be a GREAT help. void BuyOrderRiskFixed2(){    double profit = 0;    datetime lastCloseTime = 0;    int cnt...
1...545546547548549550551552553554555556557558559...1249