MQL4 and MetaTrader 4 - page 901

To post a new topic, please log in or register
Hi I have an EA that is working well, but somethings it will enter trades that should of been ignored by because the condition statements were not met. For example for a particular trade the nearest pivot line must be at least 25 pips plus twice the spread away from the point of entry, in one case...
Hello all I have been having some challenges with what I want to accomplish with my EA. I would like to add an extern option which asks the user if he wants the EA to open one trade per day or multiple times. If user chooses true to open once a day then EA will open only once a day. If not, every...
Hi everyone, There is a real problem linked with EA design. Most of us design an indicator andthen build an EA to exploit it. But there's an intrinsic problem linked with thatmethod. MetaQuotes shows an indicator by calling the start() method once a candlehas been fully formed, i.e at the CLOSE...
Hello I am trying to understand why/how an indicator (DT-ZigZag-Lauer) returns different results from an EA than when it is attached to a chart. I have checked and re-checked the code (see attachment). If anyone can help, of has an explanation, I would be very grateful!
I am Samson Adewumi from Nigeria. I need someone that can help me build expert advisor. I have the strategies with me. if you can help please contact me on e-mail princeadewumi@gmail.com with subject EXPERT ADVISOR thanks
hello people, iam experienced forex trader and would like to develop this winning strtegy with some traders, hope i can get some interested memberregards baraka
hello all.. im newbies here wanna ask and help from who expert... can i disable or delay this EA from close post? mean i wanna close it manually... it all... thanks
how to insert the data of metastock to MT4? i hope someone will let me know the step how to insert metastock data to MT4. thank u
This EA is a project that I have been working on for sometime called fz_trade_hedge5. I see a lot of EA that boast results, but sometimes it isn't clear what broker the back-testing results came from. The website for this EA is XXXXXXXX. The site has results page that could be of interest in...
Could someone please help me with my notification code. The code is suppose to email when a trade is entered. During backtest the Print statement always has OrderCnt_0 = OrderCnt_1? Thanks in advance for the help. ---Tom ***Please See Updated Code below this one***** int      OrderCnt_1    =...
Has anybody tried to develop an EA using Trend Lord? I am calling Print("Index 0:", iCustom(NULL,0,"TrendLord",0,0,1)); Print("Index 1:", iCustom(NULL,0,"TrendLord",0,1,1)); Print("Index 2:", iCustom(NULL,0,"TrendLord",0,2,1)); and they return Index 0: 0.0 Indev 1: EMPTY_VALUE Index 2: EMPTY_VALUE...
Dear all, I'm finally testing my first EA in real and something weird happens. Every time a new order should be opened a 131 error is got. I'm running it simultaneously in demo and in real. Curiously it works smoothly in demo. All orders are sent fine there, but it doesn't in real. Both accounts are...
Hi everybody, I was trying to build an indicator that calculates the RSI from a CCI indicator. The main problem is that I don’t know why this indicator doesn’t calculates in real time properly. When I open in real time, only the past data is ok, every new tick that is received change dramatically...
hi, it is well known that the format of the historical data of mt4 is in frame of 1 minute (open,close,high,open) if i have an accurate historical data with a resolution of a tick, can i import it to MT4? can i perform the back-testing on a "real ticks" and not on "generated/modeled ticks"? if the...
  slippage = 0 (1)
Hi everyone, does slippage=0 mean that zero slippage is tolerated or unlimited slippage is tolerated? best regards fx1
RenkolivechartV3.2 source code: https://www.mql5.com/en/code/9358 I using renkolivechartV3.2 on ikon fx turbo meta MT4 platform, this platform symbol got extra two dot behind currency pair symbol, example: "EURUSD.." I only able to create renko offline chart by enable strange symbol name in this...
  sms solution (2)
I'm looking for a solution to sent SMS text messages from my EA to my mobile phone ? Has anybody some experience with this? A tip ? A possible solution ? Thanks.
Hi all hero traders and tradettes. I want my EA to run once per bar. I have heard of complicated ways to do this, but I may have figured out a simple way. Setting a global datetime variable and an if statement making the program execute only if the datetime of the current bar is different to the...
Hi, all Does anybody use IBFX Australia in Realtime? I find it can't pop up trade in my expectation while the other platform works well. Also, I used back testing through that time, it trades correctly. But at real time it does not. I have already figured options like 'allow live trade'...
He there! Question to MQL experts. I can't understand how to define default values for functions in my library. Default values tend to be ignored and I get "wrong parameters count" error message. Here is my example. I created simple test library "experts\libraries\test.mq4":void test(int i = 0) //...
Hello, i have this question for the people that have an Real account with Alpari, wich build version ot MT4 do you have?? because i'am doing some backtesting, and i have the Version 4 build 229, and this is very old, when you open and a real account you get an update from Alpar for the MT4??...
have own ea ;used to be able to make changes to code on metaeditor then compile.can do manually on chart but is slow with many charts to test.cant seem to find solution.then when made changes;press compile and ea goes back to original settings.crazy !.i just wont to go to metaeditor once make...
Hi All I am sure this has been done before..... My name is Sam. First of all may I state I do not wish to learn MQL4. I have ideas and have no problems in paying others to code them, basically because I am a great ideas generator but not a very good programmer (to say the least !). So the problem is...
I am developing my EA and use the Alert function extensively. It is great -- but with no obvious explanation the window has gone walk about. The regular ALERT 'noise signal' keeps sounding but there is no window popping up to display the contents of the ALERT message. If I replace the ALERT with...
I have studied and used this phenomenon for the past few weeks. And it is very profitable. But I need someone to program an alert for it. I use the ht jurik bollinger with a standard deviation of one. When the upper and lower band converges (comes closer to each other) and BOTH MUST move. The...
MetaTrader 4 Client Terminal build 401 Terminal: Added handling of exceptions in custom DLLs when calling from MQL4 programs. Now DLL crashes do not affect Client Terminal.Terminal: Client Terminal is now installed by web installer, that supports MetaQuotes CDN Network.Terminal: Rewritten mechanism...
Hi i'm newbie and i don't know anything abouti MQL4..so i'd like to leran... i would create a very simple indicator for mt4... ..it shouldo plot on chart simple orizzontal line on values i want.. example..i would plot some orizzontal lines by different color (or with the name written near every line...
Hi to all, I need a little help with programming in MetaEditor 4... so my problem is: I want to include a "wait function until my condition becommes true if (condition1) { "wait until" (condition2 == true); // I want to check this condition again and again until it will be true { do2; } }...
I have programmed an EA that works and shows a profit on my US broker in the test environment for a short time period (three weeks). Granted, I'm not a professional programmer and the code is choppy and inefficient, but it works. I have also started trading this EA on a live account with extremely...
New article Statistical Estimations is published at mql5.com: Estimation of statistical parameters of a sequence is very important, since most of mathematical models and methods are based on different assumptions. For example, normality of distribution law or dispersion value, or other parameters....