Download MetaTrader 5

MQL4 and MetaTrader 4 - page 344

To post a new topic, please log in or register
  Problem with ZigZag indicator (35   1 2 3 4)
Hello, I'm trying to develop an expert that digs the historical data (peak and bottoms) to be used for my main expert. I decided to use zigzag indicator since it's simple and finds the high/low easily. My problem is, when I call the ZigZag.ex4 using iCustom() function I cannot get the correct high...
APeng
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...
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...
I can't isolate the reason why the values that a custom indicator that is called from my EA gives when I try to backtest the EA, are different from the values this indicator shows when I attach it to a chart. I have tried to find info about the internal processes of the tester, but I didn't have...
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,...
On build 509 or earlier, MqlStr struct, which is for passing mql string array to DLL, is as follows. // for build 509 or earliearstruct MqlStr509{    int len;    char* str;}; From build 600, MqlStr might be changed as follows. // for build 600 or laterstruct MqlStr600{    int len;    wchar_t*...
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?
awe bew
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!
Hello everyone, I am trying to understand how the EventSetTimer() works. Hopefully, some one could address it for me. If I attached the EA at 12:40PM and set EventSetTimer(900) (which is 15 minutes), would it mean the OnTimer() will run at 12:55PM, 1:10PM, 1:25PM ...? How do you code to set the...
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...
Hi, I wrote my TimeShift-include-file. It is saved in ...\MQL4\Include\.. I compiled it with no errors and no warnings, an can use it by #include <TimeShifts.mqh> But if I want to use it in an imported way: #import "TimeShifts.ex4"void checkTime(datetime gmt);datetime getBrokerTimeShift(); //...
Hi, I recently got an EA coded, however due to the recent update, it's not working. I was wondering if there was someone out there who could sort this out for me? I know there is some changes to the language and it is a matter of working through the errors, but I'm not the best coder :/ Really...
Hello, With this script: //+------------------------------------------------------------------+//|                                                   spDateTime.mq4 |//|                        Copyright 2014, MetaQuotes Software Corp. |//|                                              https://www.mql5...
//+------------------------------------------------------------------+//| Expert initialization function                                   |//+------------------------------------------------------------------+void OnInit() { ChartSetInteger(0,CHART_EVENT_MOUSE_MOVE,0,true);...
I have just installed the new build and spent quite some time making changes that will be acceptable. Looks very good! My EA writes log data to a series of files - information to help find errors, MIN & MAX data and also a log of when contracts are liquidated These files have moved across to the...
New MetaTrader 4 client terminal build 507 has been released The build adds new features to MetaTrader 4 client terminal: Fast registration of trading signals Updated signals window Ability to set the spread when testingAttention! From August 1, 2013 desktop client terminals older than build 500...
Hello, Can anyone provide me a download link for old MT4 Build 509 ?
What is the difference between these two indicators and where can I download the delta version?
Hi, 2 days ago I got my installation automatically upgraded to 600 (broker: Alpari) and after fixing many compile errors and warnings reported by the new compiler, I could launch back-testing again. I see that new tester performances are now really worst than those of last version: this is a well...
1...337338339340341342343344345346347348349350351...1245