MQL4 and MetaTrader 4 - page 789

[Deleted]
Hello. Until now I have been using MT4 on my windows xp desktop machine. For traveling purposes I bought a notebook with windows 8 and installed MT4 in it. When I decided to copy my scripts from the windows xp machine and past them into the notebook, I noticed that I couldn't do it because I could...
  Need Installhelp  (8)
I have tryed to install a robot who has two files one ex4 file that i droped in experts and one dll fil I have in libery but when I open tradeplatform they are not there.To test I have dowload four normal indicators but cant see them when I start metatrader4. Do you guys know if maybe some settings...
Hi everyone, I have an EA which opens 2 trades simultaneously for a pair. i have also ensured that when a pair is trading, no new trades on the same pair is opened but trades for other pairs are allowed. simply put i want a maximum of 4 pairs (8 in total) to be traded simultaneously. 1. To avoid...
hello please help me i want to find method for close my trades from my indicator by Win API or find method for call script or EA by indicator thank you
Ok i have a question regarding the timer function, when a timer elapses the OnTimer function is called, suppose i have a timeout of 3seconds and the timer is triggered and my EA takes more than 3seconds to run, is the timer function going to trigger even if the other function is not yet finished, it...
[Deleted]
Hi guys, Can anybody help me out? I used to have an EA that make use of kernel32.dll's CreateFileA & WriteFile function to output a textfile to my desktop. It was perfectly working before build 600. After the patch, the EA could not output the textfile anymore. I understand that FileWrite()...
[Deleted]
  Static Variables  (8)
Dear All, Please help and advice about the static variables behavior. The problem, let x be such static counter as shown below. Suppose that, x=5 at the previous ticks. At the current tick; assume that, the "condition" is met and hence x= 6. The question is, what about the "Calculate = f(x)" which...
Hi, need help with my Scripts after my mql is updated to BUILD 600 Usually i Use this #define show_inputs code at my scripts, So a parameter window will pop up everytime I run my Scripts However, with build 600, it doesnot work. And the Pop Up window to input the parameter doesnot show up. Anyone
[Deleted]
Hello, Since a while I'm seeing fancy expert advisors showing of with their nice looking chart comments, but how do they do it to get a different font, color, size within the comment function to display interactive (accountinfo) or static info like just some strings..? Kind regards, Wouter...
My apologies for this somewhat noob question but I'm not all that up to speed with MQL and reading through the documentation I see things like:- Parameters ticket [in] Order index or order ticket depending on the second parameter. select [in] Selecting flags. It can be any of the following values:...
Older versions of MetaTrader would stack chart objects according to their name, so if an object was accidentally deleted (which happens quite often), the Indicator or EA could create it again and it would stay behind another chart object if that is where it belonged. This is no longer the case :(...
I am an amateur coder and I am trying to make a good EA that is easy to use. I'm trying to give back to the community since I have learned so much from this website and want to continue to learn. I have created an EA that is very adjustable and easy to use. If you wish to download it the links are
Hello In MetaTrader 4 history center, I need to download EUR/USD 1m data from MetaQuotes server, but there seems to be a limit of 1 000 000 records. Even if I choose 999999999999 bars on Tools - Options - Max bars in history/chart, I only get 1 000 000 records from 5 376 264. Any chance to get more?...
[Deleted]
  Show progress of indicator  (15   1 2)
Hi! I need a way to give the user the chance to cancel the indicator when necessary. E.g. if the amount of selected bars is to big so it would take minutes until the indicator finished calculating, there should pop up a window to warn the user and give him the chance to reselect the input....
How to check the alltime low and alltime high of the price, with iLowest() and iLow(), they are new functions and the documentation doesnt explain it very clearly, so please help.
Hello! I get a problem with kernel32.dll that indicator was working im MT4 <600 and now it is not. Why? What do I have to change to make it working again? <Please use the SRC button to insert code> //+------------------------------------------------------------------+ //| 10.mq4 | //| Copyright 2014...
Hi all, i am working on some advance stop loss functions, could you give me some ideas about how to add a time variable in the stop loss functions, i mean, the initial stop loss (risk) shouldn't be the same at the first bar (opening trade bar) that in the bar numer ten. Could you give me the way to...
I have a number of questions and can find no support contact. I've bought an ea <name removed > for mt4, which I'm very happy with. As it is a scalper spread is vital. I've discovered that on mt5 I can get spreads up to 50% better and so will be getting an mt5 account and will want the mt5 version
Hello, i´m using the EasyOrder script, it´s perfect for my trading style, i trade small timeframes and tight StopLoss. If i select Buy/Sell on the EasyOrder script the Sl line is upper the chart that i can see on my screen, so i have first to scroll on the price bar and squich the candles to see the...
[Deleted]
  Build 610 and kernell32.dll  (14   1 2)
I used to have a debugger tool for my MT4 that used kernell32 .dll which outputed to my DEBUGVIEW.exe window in windows7. It all worked fine until I upgraded to Build600+ I notice depenencies now when you add the indicator and I wondered if I need to set some paths to tell MT4 where to find the dll
hi i want to make this simple EA which will simply do reverse trade of the movement in the daily candle, so suppose the daily candle has moved 100 pips then it will do revrese for 10 pip TP the following code i tried to make, it is not working...can you help? extern int MagicNumber = 33333;double...
//+------------------------------------------------------------------+//|                               EA_Testing(Buy kýsmý tamamdýr).mq4 |//|                                 Copyright 2014, Baris Yalcinkaya |//|                                              https://www.mql4.com...
Is anyone else having this problem? The EA's have been upgraded because of the new build but they won't import into the MT4 platform. Have tried re installing everything, any suggestions
Hello forum, I am trying to write this simple "code" to link lot size to Account Balance, for example, if balance is between 1500 - 2499 = lotzise 0.2, 2500 - 3499 = lotzise 0.3, etc So far I got this (see below) - within Start ( ), with the straightforward logic of simply "rounding" the proportion,...
[Deleted]
Hello, I am developing a program that invents trading algorithms, implements and tests them. I already found out, that all my ideas could be realized with JForex. But JForex has the disadvantage that almost no broker supports it. Therefore, I would like to ask you if the following is also possible...
Hi, On MT4 build 600, 604 or 610 if I start to debug an indicator and press OK on the indicator's properties window (start window) the MT4 quites from the debugged program same as if I had pressed the stop button on the editor screen. MT4 does it only if the "Input data" tab is in foreground on the...
Would any one know a way, how to read in the path to the data directory - using the legacy build 509 code + winapi?
[Deleted]
hi .. i've upgraded from an old MetaTrader I was using in 2011 to the new one (because the old one kept asking me to load liveupdate), however I have a tonne of analysis saved on charts in the previous version and would appreciate any sugestions on how to copy it over thankS!
Hi companions in misfortune, Why do you think about an indic that wouldn't run anymore when you re-start the plaform until you recompile it ? This indic built under MT4 use simple init(), deinit(), start) & some includes . All of these files are correctly placed in the new rooming V610 Folder....
Hi, I using for development QtCreator and newwest MinGw. For Build 600 I didnt get any problem. After that build I got SEGFAULT when I try call any function. I using def file; Example: extern "C" { int dll_test( MqlStr * str); } int dll_test( MqlStr * str){ info("test"); return 0;};DllMain...