MQL4 and MetaTrader 4 - page 1632

i try to read the string from a csv file that contains more than 4095 string lenght.But the string i got from the FileReadString function is always contain the lenght of 4095. Is this the highest limit of readinga the string from a file?
[Deleted]
Can OrderSend return -1 in the backtester? I have an EA which gets different results in the backtester depending on if I handleOrderSend errors.
[Deleted]
How do I retrieve the date-time for a specified bar? I looked at the date-time functionsbut couldn't find an answer or I probably overlooked. For example, in the following sample code, I am trying to write the date, open,high, low and close to a file. How do I find the date of the bar being used ?...
[Deleted]
Today, for some reason, whenever I switch any of my charts to the 5 minute timeperiod I lose my candlestick view and get nothing but short hyphens on the screen. I can switch to any another time period and the candlesticks display without anyproblems. Also when I switch to 5 minute, the software...
[Deleted]
Can somebody tell me how i can open one position at a time in each of the majorpairs. At present i have the Orderstotal function set at <1 but this only letsone position be executed in total throughout all the charts whereas ideally i wouldlike to  be able to have 4 or 5 positions opened each one...
A year ago we conducted the Automated Trading Championship 2006 co-sponsored bySpacevision Switzerland SA, FXDD and Interbank FX LLC. During its conduct, a lot of new information was gathered: state of accounts and Expert Advisors’ journals of all Participants (statements of the Winners: Rich,...
Updated client terminal MetaTrader 4 build 206 (from 10 Jul 2007) is published onour website: Fixed considering of leap days when setting data in inputs and in Expert Advisor'ssource codes.MQL4: Fixed error names in stderror.hMQL4: Added optimization when working with strings.MQL4: Fixed processing...
Jounal: 2007.07.01 23:38:06 PenCollector: not enough space in array I have this error... What is it?
Hi Could somebody tell me the easiest way I can work out which bar an open trade wasmade on? Thanks Paul
Hello, If I am in the strategy tester mode, 1 hourchart and I liked to get at the sametime courses of 5 the min chart, I can get with Time[0] the current value of thecurrent bar in the hourchart gotten and this current value on iBarsShift () to pass around the bar number of the same bar in 5 the...
New article Sending Trade Signal Via RSS Feed is published. As you can see , many professional websites have got the RSS symbol shown on theright of your address bar. Not only that orange symbol but also some where easily seen inside the web content. Many people think that to get this RSS symbol...
[Deleted]
Hey folks, is there "annnyyy" script which can detect the following things: 1. The time when an open position is closed (for example, it should keep checking every second, 10 seconds, 1 minute, etc., etc., and trigger the desired event as soon as an open position closes due to SL or TP). 2. It
[Deleted]
I am receivin 6 instances of each news release!  If you know how to bring thisdown to just one, I would certainly appreciate knowing.  Tks.
[Deleted]
hello, anyone can help.. how to add description on 'ask line' and 'stop level line' on the main chart? currently whenever you enter position, only ticket number appear, how do i add additionaltext on this horizontal line. thanks
I tried to use fractal indicator in my EA, but it always gives zero result in strategy testing. But when I attach indicator to a chart it very well shows on the chart and data is dispalyed in data window. While compiling my EA there is no error. Kindly help. Thanks
The 1st of July, the start of the Automated Trading Championship 2007, comes soon.All details of the forthcoming competition will be published on its website. Registrationof Participants will start on the same day! Considering the experience of registration in the previous Championship, we decidedto...
New article The Basic of Coding A Hedge Expert Advisor is published. This is just an example of a simple hedge Expert Advisors. You need to modify itto fit your own hedging style. I am sure that there are many hedging styles outthere. Author: chayutra sriboonruang
I made a script -out of curiousity- about how much time different functions taketo be run. (That is how many times does a loop containing the tested functionsrun in a second). I found that different account/order information functions are quite fast, notreally affecting the result. (eg. a Comment...
[Deleted]
Is there any way to avoid Bars on Sundays on a Daily Bar?
Hi, everybody i'm pretty new to MQL4 have some prior programing exp, need some helpto get started on the programing path to Graal, have been trading currency fora while now and very pregnant with ideas of strategies, just need to put it intothe code. it would be exchanging emails or a chat. If there...
Hello, I see its Fórum almost that daily. My doubt is the following one. I want to configure my EA to recognize my data of account. Account Name: Eduardo Account Number: 120500 Company Name: Globofx Date has limited or Exhales date: 2007.07.31 I have the manual of the more nao I understand...
We all know that MQL4 Tester is a great resource and the key to the real world.But it's closed! I don't know if is a new idea, but what about an open Tester in future versions, where MQL4 users could create theirindicators and signals during the test? For example, "Optimization Results" page (and...
[Deleted]
How do I display text on the chart? I'm modifying an indicator, and want to displayone of the outputs, in text format. Please see code below the attached picture. I appreciate the help. //+------------------------------------------------------------------+ //| ATR Channels. mq4 | //| Copyright ©...
[Deleted]
Hello! I have a problem with the sell orders. The orders buy it's good. I've to searched for all sites, but I didn't find a solution. Please, can anybody help me? This is the code: int MagicNumber = 77777; int TotalOrders,cnt,Ticket; // Globals int Spread = 0; string FX_Symbol = "";...
[Deleted]
Hi all, I want to test a EA for the range of e.g. StopLoss from 1 to 5, there will be 5reports in strategy tester separately if i manually input the StopLoss from 1 to 5. How can I script in MQL4so that it can generate the 5 reports automatically (in one file? should it be ok?) Tks! Nick
[Deleted]
Hi all, I am new to MQL4 programming, so don't know how to get started. I want torun some simple EA and want it to present the results in the strategy tester report,but get nothing happened. Can anyone just give me a simple EA sample that can runand shows results in the ST report? Thanks for helps!
[Deleted]
Hello, I am testing a script, and I'm getting inconsistent results that I do not understand.I have the NZDUSD chart open when testing this script. When I code the following and Print "a", I receive a valid numeric value: double a = iMACD(NULL,1440,12,26,9,PRICE_CLOSE,MODE_MAIN,1); When I code the...
[Deleted]
Need an expert to look over an existing EA and the programming of a new EA. Please send an e-mail to brighammartin@gmail.com Will pay for time spent.
Dear together, i have a basic question about metatrader ... IS IT POSSIBLE TO GET A SIGNAL, IF THE PRICE - FOR EX. EUR/USD - TOUCH MY OWN DRAWINGTRENDLINES !? Perhaps an acustics Signal or something else !? Best regards : Rookie