MQL4 and MetaTrader 4 - page 1255

To post a new topic, please log in or register
When i began testing wih MT4, I mistake bid for ask at a long position, but i useda slippage of 100, just for securing the success of the opening-process. Anyhow i got the 129-Error (Invalid price) ! After exchanging bid with ask the EA worked well. The same problem is occurring...
  Data export (3)
Hello, Is there an option to export data from MT 4 without the header line and also toselect the format? Thanks -- Ron
i want someone to  explain to me in details how the strategy tester worksand how to optimize my EA using the strategy tester. i need step by step guideson optimization.
On the website of the Automated Trading Championship 2007, the article Reporting the 9th Week of the Championship (26 November-2 December) has been published. 9 weeks have passed since the beginning of the contest. Theunconditional leaders seem to have already dug in their places, but the fight...
Hi I am new to MetaTrader. Even though I am logged on my chart is not updating. Thanks for any help.
This is the construct of a simple indicator: int limit; int counted_bars=IndicatorCounted(); //---- check for possible errors if(counted_bars<0) return(-1); //---- the last counted bar will be recounted if(counted_bars>0) counted_bars--; limit=Bars-counted_bars; //----...
hi Im not familiar with MQL4 but I try to learn it. I have the Chaikins VolatilityCode but Im unable to use it in my expert advisor. I just need if (Chaikin>0) { ....CODE } so here is the code from the chaikins indicator #property copyright "Kalenzo"#property link "bartlomiej.gorski@gmail...
I am surprised that such a good software has limited drawing tools. How can onedraw a simple line (not extended infinitely)? Why does the parallel traend line(channel) tool have predetermined width? How can you adjust width of 2 parallellines according to pattern? Can't the chart move up and down?...
  pivot for date (13   1 2)
hello all i need code help to get the pivot for date in history which i put it manual i make this code : extern int dd = 28; extern int mm = 11; extern int yy = 2007; ----------------------- double H2,L2,C2,Py; H2=iHigh("EURUSD",PERIOD_D1,2); L2=iLow(NULL,PERIOD_D1,2); C2=iClose(NULL,PERIOD_D1...
To display multiple lines of text on the chart like so: H(0): UP S(1,2,3): -15, -45, -69 R(1,2,3): 45, 70, 200 The c style carriage return "\r\n" works with message box, but not with ObjectSetText. The documentation doesspecify "a text line", so is the only way to do this to have a...
Hi, I will release another private EA, this is called Electra, we continue using Greek names. This EA is a Multi-pair medium/long term Swing Trader. This is a positive Equity System, it mean the the equity remain in the positive side most of the time.Don't be tempted of halt and close the trades in...
Hi, I want to have my EA to open similar trades in more than one account. Also if SL,TP is changed manually or by EA for a particular trade then it should be changedin all accounts. How is it possible? thanks Ali
On the website of the Automated Trading Championship 2007, the Jury Session Record of the 30th of November 2007 has been published. At the session, the Jury discussed disqualification of severalParticipants. Eleven more Participants dropped out of the competition. The full text of the article was...
Hi, I am looking for someone to do the following coding for me for under $100: I have 5 different indicators which have the same shape, but not the same numericalvalues. I would like to have them combined into 1 indicator: add all 5 and dividing themby 5, after they have been switched around to the...
When I attach this code to a chart I get this messages: Uninit reason 1 Uninit reason 5 What does mean that? The code is only my learning lessons, I think ths code can be a good template,but that error messages........I don't know why. Bellow the full code....
  TDMA1
Can anyone tell me what TDMA1 is? Thanks
I found EA auto trade system often place selling order on bottom of a bar and closethe order on top of a bar, and in buying condition, it often place buying orderon top of a bar and close the order on bottom of a bar. Can It do the contrary:sell on a higher end and close on a lower end of a bar or...
Is this normal? I used an EA to open a position but it was exited when I detachedthe EA from the chart? Is this the normal behaviour? Thanks.
  I need help (1)
I have been trying to run the original scripts and EA of metaquotes provided in the MT4 platform, but they do not perform the expected actions. for example, the close script does not close any open position. why?how do i make it work if the problem is mine. i trying to study how the EA and the...
I have built a very basic reversion ea but have a zero divide error can anyone seewhere i might have gone wrong. I have been looking at this for days trying to spotthe error. Any help in spotting the error would be greatly appriciated. Thanks
Hi all.. i ask assisting for modifying my EA. or download my chart
When a indicator/expert uses a c/c++ dll, is the dll loaded for the lifetime ofthe indicator/chart being open, or is it loaded & load as needed?
Hello, I would like to use a DLL which includes some functions to work with POP3 protocollike Connect, Delete, Retrieve etc. I don't know how to define that DLL and thosefunctions in MQL4 in order to get it work. Once it is defined and I am able to use those functions I am able to code what Ineed. I...
Hi, Why does the MACD indicator show 5 decimal places and iMACD() return only 4 decimalplaces? Try the following EA and add the standard MACD indicator to the chart. Test conditions: Server: Alpari UK. Terminal version 211. Symbol GBPUSD,M1 My observation is that 5 decimal places of accuracy are...
Hi I hope this email sees you in the best of health I need someone to create 2 urgent EA's for me. Please add me on my msn to discuss. My msn is youth@ansaryouth.org.uk Am willing to pay credit card, paypal cheque or cash
can the tick and trin indicators be used in mt4 if so where abouts can you loadthe indicators from.Regards antony
I am a MT4 newbie.  How do I change the time setting on my chart to GMT?
I really don't understand why... It starts working normally, then the speed decreaseasa lot, a tick coming at 1 or 2 seconds (yes visual tester speed is slided to max).I was left for an hour and when I came back I saw the "Please wait while Windowsis increasing the virtual memory" message. Why does...
now Mql4 draw a line or a ray line. how to draw a line with two points and only inside two pints not extent out? In other word i only want to draw a line segment.
Registration to Automated Trading Championship 2006 is opened! Just click to banner above!