MQL4 and MetaTrader 4 - page 910

To post a new topic, please log in or register
Hi, Does anybody have Maxspread [(Maximum spread function - manually placedmaximum spread before EA starting orders), i like broker named exness,but exness don,t have fixed spreads and EA starts orders sometimes ifspread is too high] script/algorithm and knows where to put it into EAscript....
Is here any command to open a position after each tick ? thx V
I hope I'm not offending anyone's search before posting sensibilities, as it seems to be a provacative subject here. Proceeding in the hope that this is more than just an archived site, please note that I've searched and I've posted to a relevant thread, and I've learned a bit about this subject....
Hi everybody there is so many staff for Forex - systems,courses and books. Some of them a good others no.Unfortunately time is expensive to spend with stupid staffs.Iwonder from where to begin.Please share your experience...
In my opinion MT4 is probably the best charting package available for forex traders today. Lets make some suggestions for any improvements that you think would be of help to you and to keep it number 1. I for one really need floating windows. So my suggestion to the developers is to make floating...
hello, I am working to make some scalping EA. I'd like to use 15 minutes period. I used some custom indicators. I'd like to take about 5 pips per trade. I have problem with orders openings. When my programm is taking the profit the conditions are still vaild, so the EA is opening another order in...
I'm testing a EA on a DEMO Account and on REAL Account at the same time (2 sessions of MT4 running over different accounts, same machine, same EA) and results are quite differents... Can anybody tell me why? Regards,
Maybe it is too much primitive but can somebody help me to code,.. how to open 10 positions in expert advisor in one direction with just one signal ? thx a lot ......V
hi forum, the last two weeks i made a life test with my EA wich in most of the times runs pretty good. the result was really bad, and i testet the same period with the same mashine in the strategy tester. the results were completely different ! in the realtime result the final margin was 1600 (...
I'm trying to locate the value in a specific Bar and I dont really understand how to work with Arrays. When I try to read a "Bars[bar_number]" value, it returns that it needs an integer value as index. My "bar_number" in this example is a value that I get from the iHighest function. How can I get...
Hi all, I got a lot of trading account spread across many brokers in the internet but only one broker (for me) have a good chart. Every time I do my analysis I always refer to that broker's chart.. I'm thinking of making an EA as follow: Let say my main broker for charting = Broker A Other broker...
I have this RELATIVE PERFORMANCE code in AmiBroker. Please switch to MT4. Many thanks ! _SECTION_BEGIN("RELATIVE PERFORMANCE"); //RELATIVE PERFORMANCE list = "AUDCADFXF,AUDJPYFXF,AUDNZDFXF,AUDUSDFXF"; // type in symbols fvb = Status("firstvisiblebar"); myAverage = 0; num = 0; for( i = 0; ( symbol =...
New article The Prototype of Trade Robot is published at mql5.com: This article summarizes and systematizes the principles of creating algorithms and elements of trading systems. The article considers designing of expert algorithm. As an example the CExpertAdvisor class is considered, which can be...
Hello, I'm developing a system that Robots are controling robots. Any help? Thanks FxMan77
Hello! Is there a chance to adjust Modal Window for a New Order(the one we get by pressing F9) in such a way that the window does NOT show Tick chart. It distracts me. Thank you!
Hi, I've found a very good Shi-Channel indicator, which I have attached here for reference. How could I write an MQL code to detect a breakout on either side? I'm sorry if this is a redundant question, but honest-to-god, I've been google-ing for hours and not found really helpful info... I'd like to...
Hello Guys, Does anyone know why am I taking point=0 as result of MarketInfo function ?? double point = MarketInfo(Symbol(),MODE_POINT); double min_distance=MarketInfo(Symbol(),MODE_STOPLEVEL); I print the results in terminal and I see point = 0 and min_distance = 40. Is this normal? I tried...
I apologize if this has been discussed before, but I have not yet run across a clear explanation. If someone could simply point me to a previous thread that has actually answered the question, that'd be great. Specifying the same test period for the same pair and same EA ... 1) I get completely...
Hi There, I have an automatic trading program written in Amibroker Formula Language. I wouldlike to translate it to the MQL4 language. I found a diffrence between the results of the ADX indicator of the two languages.I applied the indicator on the same database, same timeframe and same period,...
Hi all, besides iterating through the OrderHistory(), Is there a way to be notified in my EA that an order was closed by SL or TP? Is there a callback function where my EA is notified of such events? void onClosedOrderEvent (double profit, datetime orderClosedTime);
Hi, I am very new to Forex, so if this is a daft question I apoligise.. I have read and understand the importance of the trend, but looking at this capture I see the trend is generally down, but on the day it's up. Which do I go with ?...
Hi, I have attached a picture for a particular SHORT position which is not closed when it reached the SL or TP. What could be wrong with the EA?
Hy traders...   Is there any 5 digit broker with relativ fixed spreads ?   thanks 
Ok - I have been attempting to do this for about 10 hours now and I am going nuts. There has to be something very simple that I'm missing. I wanted to make an indicator that determines whether which direction the Heiken Ashi MA candles are facing, and then graphs JUST THE COLOR in a separate...
Attached is my code of EA. The first trade works fine and I left the EA on and when I returned, I got the following alerts/errors. "Order 3764742 failed to update stop. Error 0/4108" The alert box was filled with this exact message (some error 0 and some error 4108, with the same order number) I...
what does group "*_*" versus group "*" mean?
Hello, I've recently installed MT4 mobile on my Windows Phone (HTC Touch Pro 2), but it won't connect to the server. I've tried both the Pocket PC and the Smartphone edition. The version that my broker uses is MT4 Mobile SE build 216. I've also tried using the trial version from the MetaTrader...
Seems that need a #property statement for chart or data window. ie, find that if remove #property... the indi will not plot whatever the window is. the code is loaded and then removed. . If have property set to data window, I can draw in main window but the data window of course gets created. ....
Pls it is in some way possible to set the indicator to the right upper corner ? If yes pls just help,.. thx a lot,..