Download MetaTrader 5

MQL4 and MetaTrader 4 - page 396

To post a new topic, please log in or register
Hi all, I'm not a programmer. I'm a trader and systems builder. I have worked with a few coders in the past few months and I have finally completed this system. However I still need a few things in the Code. One of them is risk management parameters and an indicator. If someone can Please...
I'm unable to save horizontal lines/rectangles etc. I've tried saving the template, saving profiles. I've tried saving using a naked chart with no indicators on. I've tried deleting java temporary files and cache. Nothing. Driving me nuts, so if anyone has a solution i'd be very grateful....
I have been trying to get the 'Last Closed Order' from 'History' of closed trades but not getting things done correctly. My EA will open 3 trades simultaneously and when the third trade will be closed, i.e. there wont be any trade left (Buy/Sell) and if the Trade_after_SL==TRUE, the EA will look...
This started upon the opening of the market this week. Exactly the same thing happened to my Android-based mt4 app about a week or two before it happened to my desktop mt4 platform. I am able to open and close positions on the broker's webtrading platform (but this has an exceeding high connection...
Sorry if this has been asked previously. I have a strategyrunning on a demo account.It is applied to two pairs. Is there any way of filtering the history so I can seperate the profit/loss history for each pair?
I don't remember reading anything about the properties of arrays being changed, are they supposed to still be static by default ? In strategy tester 616 they are not unless I explicitly define them as static. I'll post a test code in a few minutes in case anyone wants to check this out.
I found this function: ChartOpen(..): Opens a new chart with the specified symbol and period. Can I attach an EA at this new Chart by a function following ChartOpen()? Gooly
Currently I am running two optimizations (status: 3009/10 496 (888 624)) with the use of OnTester(). The Reference writes: In the genetic optimization descending sorting is applied to results within one generation. I.e. from the point of view of the optimization criterion, the best results are those...
Hi I just started in debug mode in a script just this: long    Ch01 = ChartFirst(),        ChMe = ChartID();long    ChNx = ChartNext(ChMe); and get: Ch01:130395223288765087 longChMe:130370193351027474 longChNx:-1 long I expect s.th. like 0, 3, -1 it is the last Chart?? What is meant with ID of...
Looks like I exported the tick data incorrectly again. I'm not sure why this keeps happening.
Hi, MT4 (old and new version) has a problem to display all my custom indicators and EA in the terminal. I create folders with MT4 600+ and my new folder with indicators in it is not displayed. I also add 3rd party indicators, and they not allways appear in the terminal window, but they are available...
  slm ben fusun (3)
yok mu bir turk. biraz ogrendim; ama bana yardimci olacak biri gerekli.
Hi, How to define the return value as an array? I wrote like this, but it was compiled wrong, string[] A();
I`m a newbie, tried to make my own EA. Backtesting used history data from februari 2013, TF 15M. When Backtesting, my EA seems just worked for 2 days, here the picture
I have recompiled my old EA in new build 600, and cannot run it anymore. On bactest, getting this: 2014.03.18 16:52:25.224 2014.02.03 00:00 breakout_ea_rev1 EURUSDnc,H1: Invalid license If i try to put it on a chart, it is instantly removed. It recompiles fine, just the usual warnings, no errors...
Hello, CopyFileA or CopyFileW not working any advice? //+------------------------------------------------------------------+//|                                                testCopyFileW.mq4 |//|                        Copyright 2013, MetaQuotes Software Corp....
is it available the opencl acceleration into the new mt4?
Hello! I would like to know if it is possible to open order immediately and not waiting for new tick? Thank you!
Hi, the Styler break the brace from my "style" to a new line: my Style:    int OnInit() { to int OnInit() { Can I change the Styler-Standard? Regards Burkhard
Hello, I had a Script from previous versions of metatrader working perfectly, but when the exact same code is compiled with the new updated version it don´t work anymore. The Script is 1H_arb.mq4 and its 1H_arb.ex4 (both attached) It used to save the bid and ask of some symbols to a file in a folder...
Hi Guys, I'm trading on false breakouts and I'm looking for a good tool to help me get notified when a false break out occur. I'd tried some MQ4 code generators from a list I found: http://mqlautocoder.com/forumdisplay.php?fid=10 but none of them are doing notifications. Do you know any good tool...
Hi guys, Maybe such errors on build 610 have already been reported somewhere else, but as my patience is becoming really scarce (due in large part to the problems arising from build 610...), I have no other choice but to report them here (again). When loading a certain EA on a chart I get the...
Hello, can anyone help me to change the position where the window be show after start, please. I want it at the right corner Horizontal 3390 Pixels from left Vertical 140 Pixels from top #property copyright "Copyright © 2011, sangmane."#property link "[email="sangmane@forexfactory...
OBJPROP_ZORDER and hand drawn chart objects have a bug. No need to post code for one to see it, although it affects coded indicators, EA - anything that draws chart objects. You can use trendlines, horizontal lines, text, etc and see it happen with all. To see it yourself try this. 1. Place two...
Hey, You have probably heard about the EA closeatprofit. You can find it on the internet. However, the current EA closses all the trades only when the basket profit is reached. I would like to have EA that when each trade reach the TP or SL say for example 1 pip (if it is too hard, some profit)...
  debug dll (1)
Hi, Could someone help me ? Is there any way to debug a dll used in EA?
Can you help me? The arrow of a real time indicator does not appear, only when I close and open the mt4. Thank you.
The mt4 just updated to b617 from b616. Does anybody know where (Link) I can find what has changed from built to build?
//FIRST PROGRAM extern int K=80;extern int D=10;extern int S=15;extern double A,B,C;int start(){double stoccurrM=iStochastic(Symbol(),0,K,D,S,0,0,MODE_MAIN,0);double stocprevM=iStochastic(Symbol(),0,K,D,S,0,0,MODE_MAIN,1);double stocprevprevM=iStochastic(Symbol(),0,K,D,S,0,0,MODE_MAIN,2);double...
I'm not sure how to take part of my profits at a price before Take Profit line of an order. I place an order with code that looks something like this...          OrderSend(Symbol(),OP_BUY,0.10,Ask,3,stopLoss,takeProfit,"",Magic,0,clrGreen); And then when the price reaches 10 pips I would like to...