MQL4 and MetaTrader 4 - page 393

To post a new topic, please log in or register
Need help urgently. I have this problem and unable to solve it. I've tried restarting my computer and reinstalling the MT4, but none works. I can't see and load any chart, and unable to switch periodicity. This is showing in my journal: 2012.04.24 07:24:51 HistoryCenter: unknown chart 'EURUSD1440'...
Hi, I'd like to use Bollinger Bands when the chart is in trading range in order to get buy/sell signal when a bar touch the lower/upper band. I want to detect if the chart is in trading range by comparing value of upper band or lower band bar after bar to know if its value is stable or not so I...
Since a few days now my MT4, build 625, crashes immediately when opening it. I have tried the following with no success: - Uninstall and re-install all different brokers MT4s - Delete the MetaQuotes folder from users/.../appdata/Roaming - Registry cleanup - Install in different folders. Each time I...
Hi, i'm a total beginner and i've tried to compile this following EA, but nothing appears on the screen. #property copyright "Lool"#property version   "1.00"#property strict////+------------------------------------------------------------------+//| Expert initialization...
extern double StopLoss_v_pipech=50;extern double Profit_target_v_pipech=200;extern double Velikost_pozice=0.01;extern double Posun_na_BE_v_pipech=50;int MyDigits = 10;int Magic_number=1009;bool ticket,close,modify;bool obchodovat=true;int D,m,h;double SL,PT,BE,H,L,SLev,NewSL...
Hello, iam starting to write my first EA. But since the beginning, there's a strange behavior of my EA. Ok my first problem is, that orders are opened in the air, while there is no trend.. and my second problem is, the order is opened while the conditions are FALSE!! void...
Hi all! I have some accounts mt4, strategy tester M1 can run before 2:50 10-April and after 12-April, it lost data in 10 - 12 April. What's happen?
The following test code is not work on MT4(build 610). I want use Characters of Windings with the OBJ_LABEL object on MT4(build 610). (1) compile ( build 509 ) & execute ( build 509 ) -> OK (2) compile ( build 509 ) & execute ( build 610 ) -> OK (3) compile ( build 610 ) & execute ( build 610 ) ->...
Hello, Any chance that a unit testing framework exists for MQL4/5? (Something along the lines of JUnit for example). I am finding with complex EAs that debugging and testing efficiently is somewhat of a challenge in MQL4. I haven't tried MQL5 yet to know if it is any better in this regard. Thank...
I'm interested to know the best practices for managingmultiple accounts and multiple versions of EA's. I've been working with the Demoaccount for years and now have become profitable and will start working with a Realaccount as well as the Demo account. Should I install two versions of MT4 --one for...
... OrderSend(Symbol(),OP_BUYSTOP,0.1,BuyStopLevel,2,0,0,"BuyStop",1111,0,Lime); OrderSend(Symbol(),OP_SELLSTOP,0.1SellStopLevel,2,0,0,"SellStop",22222,0,Red); ... If buy order opened success. How to delete sell stop order by magic number(22222)? thank you
Hi, I've been trading on the Forex markets for a year now. But have been relatively unsuccessful. Have gone though a number trading strategies and styles, but I have finally settled for price action using support resistance, support, trend lines, fibo and candle stick formations. I'm a resident of...
In my initial topic I asked whether there may be a new release of MetaTrader4 because I had issues with 625/628 not migrating all data to the users folder. Reference: Here Let's assume you have no ~/.wine dir in your homedir and starting over from scratch. I am using Wine 1.7.16 here on Fedora 20....
I can't earn with FXiROBOT(EA). Could anyone tell me the parameters ? I use FIG fx . Please help me.
Hello! I would like to ask if there are plans to release a new MetaTrader 4 (Build after 628) that addresses the issues with new file structure issues ? I am not able to use MetaTrader (Build 625/628) anymore because of this. Explaination found here under b): reference Unfortunately I'm not able to...
Looking at the code for included indicators I noticed MQ now does this in most if not all of them: example from Heiken Ashi //--- counting from 0 to rates_total   ArraySetAsSeries(ExtLowHighBuffer,false);   ArraySetAsSeries(ExtHighLowBuffer,false);   ArraySetAsSeries(ExtOpenBuffer,false);...
Hi all, I've been searching the internet for an hour now to try to figure out how to pause meta trader 4. I ready stuff about coding things but that's beyond me. What would the simplest way be to be able to video say the data of the previous 24 hours as M1 so I can see if the strategy I've mapped...
I have a freind who is programing a scalping ea for me. I need the ea to be able to send a single instruction to open multiple orders at exactley the same time. . For example. I need to open 5 lots of eurusd in 5 individual orders of 1 lot. I can not send the orders 1 after the other as this will...
I have installed mt4 b638 4 times each one for one of my kernels and each in its own folder. At the moment all 4 are running. One with an EA waiting for the next day (no indicators used or applied), the other three are waiting for me for the next back tests, some charts are opened but no EAs nor...
I was using the strategy tester last year withoutdifficulty. Now I can't seem to get it to work. It's a new installation and anupgrade to build 625. Bars just won't appear in the chart. And I indicate thespread should be 2 pips yet Mt4 claims the spread is 140 pips spread. What am I doing wrong?...
Hi coders, whatever I try with these functions, I only get 5 as a result today. But Saturday should be 6. Is there any trick to get the the weekday?
Don't try this on a 'live' trading machine. If you currently run MT4 w/out the /portable switch AND you have UAC turned on, turn it off and restart you system. What will happen? Well, MT4 will load as if you put the /portable switch on. Now, go turn UAC on and restart. Load MT4 and viola!...
Hi, I made a simple custom indicator and I'm trying to use it in my EA. But there is a problem with loading values from indicator - iCustom always returns an empty value (tester, demo). When I show graph in EA tester, indicator is showed correct. There is OnTick method from my EA: void OnTick(){...
Is it possible to run a script from a user created button placed on a toolbar, as distinct from the screen?
Hello everybody. I have been using Tickstory with MT4 to help me to backtest strategies to achieve a better degree of accuracy. Unfortunately I still have problems with the size of the FXT files in MT4 that has a limitation. I wanted to ask if there is any alternative to this product sold from an...
Eg. On netdania site, you can easily superimpose two or charts over each other in same window with options of 'Overlay' and 'Relative' Is it possible to overlay two charts in one window in MT4? thanks.
hello. excuse me for English I speak French and I used google translation. 1 EA here which I wanted to add one trailing stop. compiling all goes well and does not work. Can you tell me why and especially what I need to change to make it work. thank you very much for your help
Pre-600 code generating this error on compilation. What doesnt the new MQL4 compiler not like?
The new MQL4 introduced a function named ShortToString which is supposed to convert a Unicode character code to the equivalent character, but when I use it all I see for the most part is a question mark instead of the character. If I use a label set to use the Arial font, I should get the character...
I was reading some posts and came across this post below. I'm a true novice when it comes to stuff like thisl Can some tell me whether this is a script or ea? and how do I test this to see if and how it works? Appreciate any help Alternative method to mimick CTRL+F5 keyboard shortcut: #include...