Download MetaTrader 5

MQL4 and MetaTrader 4 - page 862

To post a new topic, please log in or register
  Download Book (3)
To download "Book as one file" do not work. Please fix it.
I wonder if any of you could give me a push in the right direction? I want to build an indicator that acts a little like the built in cyclelines tool. However, rather than using the fixed increment of this tool, I want to be able to set the increments. So, at this stage, it seems that my only option...
i use a scalping ea is it good to hide SL,TP ?? as the brokerage/bank you invest don't want to pay the spread to hedge the position, and they will lost when you take profit (they haven't hedge the position), even with ecn brokerage, they pass the orders to banker, banker also have to consider...
hi, is it possible to produce fixed format text output in MQL4? something like sprintf()? i know that DoubleToStr() can be used to specify the number of places after the decimal comma, but if you are wanting to format data into a table something like this: 1.253 103.25 92.103 92.91 105.293 1...
Hi I have just bought this 5ema system from e-bay, I know where the templates 15 & 60 mins go, but unsure where the other are to be placed. ex4 and mq4 are these expert folder or indicator folder. Very little in the way of install instructions Thank You Kind Regards Gary
  Best indicator combo? (17   1 2)
I'm curious on your take of what you would consider the best indicator combo (especially those that can be used _OnArray). I've already read somewhere that you should use indicators that measure different things, like trend persistence, momentum, volatility, etc in combination, but not to use...
Hello, I am currently learning mql4. 1) Does any one know a good tutorial ? 2) Is it possible in an EA to draw a line on the chart, for instance indicating the position of a moving stoploss ? I've discovered how to print such a line on an indicator, but it appears it doesn't work in EA.
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...
HI all of you In about last two weeks i´ve discovered the power of MetaEditor . Ive heared about tons of expert advicors and mostly all of them are profitable ( ! hope so :P ! ). During these two weeks ive been trying to code my own expert advisor but i´ve realized that im not able to understand...
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 ?...