Download MetaTrader 5

MQL4 and MetaTrader 4 - page 646

To post a new topic, please log in or register
Hi everyone, Have you any code which automatically reading text (FX_Alerts) from mail (yahoo, gmail, ...) to MT platform? Thank you for help!!! Great day! Endy
I got ordersend error 130. I checked online and find error 130 means my stoploss (10 pips) or takeprofit (70 pips) is too close. I then increase the stoploss and takeprofit to above 50 pips, but still got error 130. Print("minSTOP= ",MarketInfo(Symbol(), MODE_STOPLEVEL)) output a value of 0....
New article Simple Trading Systems Using Semaphore Indicators is published at mql5.com: If we thoroughly examine any complex trading system, we will see that it is based on a set of simple trading signals. Therefore, there is no need for novice developers to start writing complex algorithms...
Hi all, I have spend a lot of time but unsuccessful, I cant correct error "ArrayCopySeries function internal error" of this indicator I hope some one is more practice in mql4, many thanks in advance!
I have launched an online spread comparison tool on www.spreadshark.com While everybody can compare spreads there, it has a great tool for MT4 users. Just upload a .log-file from MT4 and the tool will analyse your trades and calculate whicht would be the cheapest broker for you. The tool is still in...
Hi This topic have most likely been covered before, and if it has my appologies for posting it again (I have been looking for a solution to this for the last couple of days without success though). I would like to find out: 1. Is it possible, 2. What is the general idea/concept that I will need...
Hello, I have made simple EA to test MQL4 and the strategy does not working in test but only in backtest. This is really strange because this is really a simple coding EA.... The signals are sends this is ok but the orders does not open. if(OrdersTotal() == 0) { if(iMA(NULL,0,5,0,MODE_SMA...
Hello, is ist possible to automaticly save a MT4 Test report just like when you right click on the "Result" page of the Tester an choose "Save as Report"? That would be Amazing! Regards, haemse
Hi. I have been coding and testing my first EA. This is a completely automated trading system. The good news is: it works! The bad news is... I started it last night, and eagerly jumped out of bed this morning, hoping to find millions of dollars in my account. Just kidding, it's just a demo...
As a beginner finally I have managed to put together a simple code for identifying certain candle stick formations. However, as it can be seen in the chart picture provided after changing time frames within the the same currency pair or just waiting in the same time frame of the currency pair...
can onyone help to exslpain about if im testing an EA say on the gbp/usd on the strategy tester what spread will it use or can i set the spread manually
I would welcome suggestions for some of the better Average Daily Range plug-in for MT4. Ideally, I am looking for a plug-in that can present the results all on one screen for a group of selected currencies. Thanks in advance for your suggestions. Jeffrey
Hi! Every morning I'm making pending orders (Volume: 0.1) for the day with MT4. Until today I have been set "Stop Loss" and "Take Profit" columns to about +/- 20 pips. But now I see in the statistic that sometimes I can earn more than 20 pips and the order closing at this point wasn't the...
I tested 2 robots and their performance starting around 1 to 3 years ago, started to become choppy. And they are still choppy now. They are still profitable, but the account change has more ups and downs and the net profit is less. Are the robots you saw also having the same behaviour? I am...
Hi, I am new on forex market and Mt4, I just wanna try a strategy on gold and iwant to test it, but the only thing I can test on strategy tester is the currencies like Eur/Usd, but cant put XAU/USD (gold) please help me!!
Hi Coders I like to create an EA with my system but wondering if it is possible to make an EA recognize this type of S& R and plot horizontal lines at those points. Supports and Resistances are normally drawn by the Wick. Instead I like to draw S& R by the Open & Close Price. Please see picture...
New article Multiple Regression Analysis. Strategy Generator and Tester in One is published: The article gives a description of ways of use of the multiple regression analysis for development of trading systems. It demonstrates the use of the regression analysis for strategy search automation. A...
Hi I have an EA which I am able to backtest and it does trading on backtest However, when I turn on "Optimization" using the same settings on "value", "start" and "stop" with one variable (the lot size) to be step, the ea does not trade at all on any optimization passes. Does anyone know what is...
Hi everyone I have a question from a broker side ... I apologize in advance if this is a very basic question or has already be answered in the past: I work for a broker and we have recently decided to allow our clients to use Expert Advisors to trade. The question is: Do we (as a broker) have any...
  my system (42   1 2 3 4 5)
hi. i am a famous EA developper in Japan. this is my system :)
In my EA I have an Array called 'TickData' which saves each incoming tick information. I also built custom functions that work and perform calculations using information from that array. In each function I use the internal function 'ArrayRange(TickData,0)' to get the amount of elements in my array...
if i write this in a expert advisor: Comment(DoubleToStr(10/100,5)); he show me on chart as result: 0.00000 but 10/100 must be 0.1
Hi all, I've just started writing my own logic to handle error #146 'Trade Context is busy' based on some of the logics found here. However, I came across an error when the command GlobalVariableSetOnCondition was performed to change the value of the semaphore. My message print out logged...
Hello forum, It saw some issues in the past with Sleep(), but before I move on to alternatives (eg https://www.mql5.com/en/articles/1558 ) I am also not sure I got it right. Two issues: 1) In this EA I want to delay the buy/sell signal by 5 seconds, so under the MyEntrySignal() function I wrote...
How do I refer to a previous operation, if you want the note based on whether the result of the operation was positvo or negative? Example: if you want to say a condition like this: if (previous trade was loser) if (previous trade was winner) if (previous trade was neutral) Thanks a Lot Trader201
I'm interested in parallelizing parts of my EA in the GPU using the new C++ AMP programming model <amp.h> Is there an <amp.mqh> library somewhere, or do i have to do this via external DLL?
  help me *-* (5)
hi all I want the code to extract values ​​from indecator Tmaslope icustom(??)? thanks
Hi, Does max bars' numbers affect EAs when trading please? I want to change Max bars in charts & history as less as possible when trading, but do you think if I lessen the bars in charts & history, it will affects EA's performance? (not inc Tester, only concern for live trading) Really appreciate...
Hello, Is it possible to include an indicator source code into another to avoid the distribution of two files? For instance.. #include <another_indicator.mq4> Thank you
Hi, I am trying to make a Bollinger Bands indicator that uses TEMA. I've got the TEMA source code from a webpage, but (1) I cannot really use this indicator with iCustom and (2) also there seem to be some problems with this indicator. (1) I use the following parameters with iCustom: Symbol: NULL...