MQL4 and MetaTrader 4 - page 449

To post a new topic, please log in or register
I tried the following but it didn't work. The error in compiling says it expected each case to be an integer but I have strings such as "USD", "EUR", etc. double USDBalance;switch (AccountCurrency())   {      case "USD": USDBalance = AccountBalance(); break;      case "GBP": USDBalance =...
  Build 600 has this bug (15   1 2)
Dear Brothers I founded a bug I was using this code to export the data file to c:\Data before updated to build 600 #import "shell32.dll"int ShellExecuteA(int hwnd,string Operation,string File,string Parameters,string Directory,int...
My antivirus has picked up the Metaeditor portion of the new build as a virus and deletes it. The file name picked up by Trend Micro is "C:\ProgramData\Metaquotes\WebInstall\mt4clw.png\metaeditor.exe" When I go to the WebInstall folder this is what I have ... inside the mt4clw folder is this why...
I have a new Macbook Pro and have downloaded Parellels and Windows 7, into which I have downloaded the latest version of MetaTrader. The font in the above named windows of MT is so small I can barely read it. How do I enlarge the fonts in those windows?
Hi, Is it possible to take variables from scripts,indicator or expert files for using in an other program(ea)?
So I have an active trade which was opened fine through the following code (ignore a, b, and c, because those conditions have been met) int ticket;double LongOpen, ShortOpen;  if (a == true && b == true && c == true)   {      ticket = OrderSend(Symbol(),OP_BUY,lots,Ask,500,Ask-SL,0,"Lcomment!",111,0...
The ex4 file calls a mqh file and from the mqh file is called a DLL file. It was working good with build 509 but now appears: Unhandled exception 0xC000096 What does this means? Any help? Ps. It's running in portable mode.
I have a DDE link from MT4 to EXCEL 2010 on Win 8.1 64 that has been working flawlessly and it just stopped working yesterday. I hadn't changed anything on the PC recently and no updates were installed in the last week or two either. I have tried all sorts of options to get it going again to no...
I am trying to print the times to my chart but the format is not correct: Log: 2014.02.04 17:47:29.079 Expert Time Check EURUSD H1: Local Time Is.1391536049 GMT Time Is.1391536049 Current Time Is.1391543240 Code:       Comment("Local Time Is." + TimeLocal(), "GMT Time Is." + TimeGMT(), "Current...
Does New MT4 download 90% history data like MT5.
I am facing problem with new MQL4 metaeditor. code intelligence is not smart like old MQL4 metaeditor. In old version when i write three word like "Str" in old editor there show lot of code suggestion. but in new editor code suggestion not show much. Here the image old MetaEditor: and here New...
i tried to find the setting functoin in mt4 android but not found i would like to add new account please help
Hi there I just downloaded from metaquotes the last build mt4 600. I'm interested in the new "custom" selection for genetic algorithm.. I try to use f1 button to run the guideline and read about this "custom", but it doesn't work the guideline! Did anyone encounter this issue? I asked pepperstone...
Just some random thoughts for a different approach for running old ex4 unchanged on new terminal builds (eg if orignal source code is not available)... Admittedly They might be more pain than biting the bullet and finding compliant Indicators etc... 1. Use Junctions and Symlinks etc to expose the...
Tradeing
Hi, today i did wonder little bit because the Metaeditor have change, when i click compilere my old EA code does not get compilere. Can i not use any more the old codeing language and the old editor?
Hi, there! Is there any way of forcing the LiveUpdate on a MT4 installation? I only have one installation on my laptop (build 482 still) and it is taking a while for it to "decide" to update...! I have looked around and could not find a solution, does anyone have a suggestion? ;-) Thanks in advance!...
forexparvenu
my indicator can used on MT4 version 509, but not version 600, what should i do to use my indicator on MT4 version 600 ?
I have been running this on two different computers -a laptop with i7 processor and an 8 core AMD desktop - but neither uses all the processing power to run. For example, the AMD box only ever reaches 13% utilisation on the processors. Is this normal? I have unmarked all the processor cores via the...
My indi gives alerts when a specified circumstances occur... How can I add send notification line when it gives alerts ?
I coded this mysql mql4 from scripts I found of these forums and I got it to work right. I put this on AUDNZD Chart and started trading only the one pair but I have also other pairs that I want to trade and I don't want to open multiple charts and only use one because there too many pairs too open....
Hi there, I'm new to Forex. Is there a robot that can do the trades below? For EUR/USD; Sell at every 25 pips over 1,3400 & Take Profit at every 20 pips with or without StopLoss Buy at every 25 pips below 1,3400 & Take Profit at every 20 pips with or without StopLoss ex. Sell 0,1 Lot at 1.3400...
  Pips? (2)
Is there any chance that Pips could be displayed in the Trade and the History screens? We need the money as well of course but in order to evaluate how one is doing, the whole world talks Pips, not money. Perhaps it would be good to have the option of switching between Pips and Money, with a total...
We have had some issues (as per previous post) and the MT4 platform is not holding the changes made to the graph colours. These were changed to more user friendly colours, then the data loader run to update the data, and the colours all reverted back to the original settings. It was not doing this...
When using metatrader this morning, it had been running for 12 hours and had two hours left, but the lid in the laptop was pushed down too far and it went into sleep mode. When the laptop was woken back up a minute later, it reported that the backrest was completed, but had nor completed the final...
We have found on the laptop we are running MT4 on currently that not all passes are being completed (see the attached screenshots) and this is happening every time now. Any ideas how we can fix this so it will complete all passes? Many thanks in advance
when applying hawkeye template to chart iam not able to view heatmap and volume
Hi I use a breakeven EA to put trades to breakeven after a positive movement of X pips, also have a rule to put the stop loss or take profit (depending on whether the trade was in profit or loss at the time) to the entry price if 24 hours has elapsed since the trade opened if target or stop has not...
OLD MQL4NEW MQL4 WITH STRICTVariable scope is from declaration (even in the nested block) to the function endVariable scope is from declaration to the end of the block, in which the variable is declared Does that mean in strict mode a local variables scope is defined by { } ?
Hallo agan traders all! This time I will share my work free an ebook Hope I hope with this powerful ebook agan Treder in the word be financially free life forever! just downloaded MC goodbye welcome financial freedom * answering questions about his op techniques here please
I am trying to make a simple EA that can open and close limit orders at specific times. Every time I run the code I get an Error 130. The take profit and stop loss both look right. Could anyone look at the code and see if they can give me a better idea of what is causing the error? Here is a piece...