Expert Advisors and Automated Trading - page 316

[Deleted]
  EA Wizard  (3)
Hi to all, Jyst started olaying with th MT5 EA wizard I have a couple of question. I will apreciate any answer or links wher find some more info. There is any info regarding the standard modules (indicator, trailing and money mangement) of the EA wizard? i.e. parameter description and accettable
Hi all I tested a EA in market, and showed below result. Any suggest for other further testing before I really apply in the real account. It seems really attractive for me. Base on your professional experience, any common bugs if I apply this kind of EA in real account?
I am looking to use PipFinite's Trend Laser indicator. This indicator has multiple buffers. Reading them one by one is so slow that I can only test one day's data in 8 hours! Is there a way to read all the buffers into some sort of an array and then process that array instead of calling iCustom...
Hi all I am new to the subject and I have purchased a forex signals and now I would like to automate the trading by coding some sort of addon, which would work together with the paid signals.  The addon have to: - have an option to set an automated SL and TP levels in pips global and for any given...
Hi, I have created an EA using EAbuilder. Mye goal is to close / delete ALL pending orders WHEN numbers of open trades are above 0 (1 or more open trades). The EA works almost as it should: it closes ALL pending orders on the same type as the open trade.  If I have an open trade i EURUSD, alle...
Since the installation of the last two builds 412 and 415 my moving average will not execute in the strategy tester. This includes the moving average built into the example EA that came with the program. The Run Time Error in the log is as shown below. expert removed because indicator 'Moving...
Hi, I have a small function that creates rectangles in a loop for a given amount of custom objects. It works like expected except that the _last_ rectangle is never drawn (same for some OBJ_TEXT's in the same loop for the rectangles: the last one  is never drawn)? #include...
Hey and good day to everyone:) My question is if its possible to build an ea that rise the position size with every new order until every position gets closed? Like 1.Trade 0,01 lot 2.trade 0.02lot 3.trade 0.03lot tp/sl hit closed.
Hi, two questions: in former days I did my work within my small EAs with the "standard" mql5 language, often encapsulated in classes/objects. Now in new projects, I thougth about using the mql5 Standard Library whenever possible (things like opening/closing orders/positions, calculating lot sizes,...
hi programmers, is there a simple way to make an EA work on GMT time using a few easy lines of code? The broker is GMT+1 but I am looking at GMT time being used for the functions of the Expert Advisor. thanks
Hi I would like to know if it is possible to get the sma value for each tic. When the bar moves I get the sma value. I use a close sma and then I noted that mql5 just get the its value each 5 minutes after the close. Sorry for my english Rogerio
Consider the following scenario; you have a class that stores a collection of values. You want to be able to filter these values, but you also want to retain a copy of the original values in order to "reset" the filter and go back to default values. Would this be the best way to implement such a...
My OS is windows 10 64 bit and meta trader is 32 bit , I need to import a dll in EA. error : Cannot load 'C:\Users\fatbody\AppData\Roaming\MetaQuotes\Terminal\*\MQL4\Libraries\calc.dll' [193] How to create a 32 bit dll in windows 64 Which can be loaded by mt4 32 bit
  FrameAdd using data file  (20   1 2)
Hello all, According to the MQL5 Official Documentation, the FrameAdd function can be called using two different sets of parameters. The second one is actually easy to handle, as passing the data to an array is quite simple. However, I'm interested in the first method, where, according to the Docs,...
When ever I try to debug any code I get this error with ALL watch attempts. Apparently this has been a bug as far back as 2014 - I can't believe it is still here. Does anyone know of a solution to this problem? A search on google revealed a support email reply that says:- Support Team 2014.05.06 09...
Hi! I'm developing an EA that works with pending orders. These pending orders get their stop loss and take profit at the start. I need to be able to know if the order has started and if either the stop loss or take profit have been triggered. The first necessity is easy: I just call...
I'm going to buy a VPS server for run Expert with these specifications : -Windows server 2003  -1 Gig RAM -CPU 1 core Are they enough for meta trader 4 ? Is windows server 2003 work without any problem?
Colleagues. Good afternoon, everyone. I will describe two situations that happened to me yesterday and the day before yesterday. I was not prepared for this and am very upset. I would like to know your opinion. Is it an ordinary ordinary situation or I have to change my brokerage company? I have
Hi, is there a function that returns the historic profit of the day ?
[Deleted]
I know that the 2 above is not able now. I am making an ea that must use offline chart and the ea will work more better if there are multi-agent optimization abled. But the function "offline chart" is in MT4. And the function "multi cpu agents" is in MT5.  "You can't have your cake and eat it, too."...
Tired of indicators, advice on market entrances without them ?
Hello everyone. I am new to trading and would like to know if there is any way to make EA work even when MT5 platform is closed or my PC is shut down? Right now EA works only when MT5 is running and it stop working once i close the platform.
  Error  (1)
Hello My EA made a error like: modification of order #63963017 sell 0.12 GBPCHF at 1.30359 sl: 0.00000 tp: 0.00000 -> sl: 0.00000 tp: 1.30249 failed [Common error] It failed to set TP how can that be normally it works just fine ! I was friday evening and it did it a couple of times... Any ideas?
Hi, I'm learning mql5 and I'm having a problem with CopyBuffer. When I change the count parameter of CopyBuffer it shows me different values and that is affecting my entry points Please, see below: int OnInit() { sma3_handle=iMA (Symbol(),PERIOD_M5,3 ,0,MODE_SMA,PRICE_CLOSE); } void OnTick() {
Wohoo .. sorry for the title, but I don´t know how to explain in one sentence what I am looking for ;) Well, in MT4, when a position is closed partially, MT4 creates a new position with a new ticket. The partially closed one keeps alive, is tagged as closed and the commend field contains an...
So I have this EA that displays weird characters for the options after loading, and also in the source file.. extern string ÍÀ×ÀËÜÍÛÅ_ÏÀÐÀÌÅÒÐÛ = "ÍÀ×ÀËÜÍÛÅ ÏÀÐÀÌÅÒÐÛ"; extern int Ìàãèê = 11111; extern int Òèï_Ëîòà_0_1_2 = 2; extern double Ïðîñêàëüçûâàíèå = 5.0; extern string ÏÀÐÀÌÅÒÐÛ_ËÎÒÀ =...
[Deleted]
Hello ,  I'm making an Expert advisor including MACD In the code I depend on the value of Signal and Main line ( Histogram) in MACD in the bar 0 and bar 1 . it works perfect but sometime it comes out with strange values as -7.835123405921764e-05  , I print out those values so you can see in the...
How do I place a new buy or sell order in code if conditions are met? I've tried this, but no results:  CTrade trade;    MqlTick Tick;        MqlTradeRequest myRequest;    MqlTradeResult myResult;    ZeroMemory(myResult);        myRequest.action = TRADE_ACTION_DEAL;    myRequest.type =...
  DateTime to Time  (6)
Hi I want to get time portion out of datetime.. please help ie, 2017.0.15 15:30:00 to just 15:30 The idea is to close trades after 15:30. Please let me know how to achieve this. Thanks
Подозрительная финансовая активность пользователя 'goldenjet': +99, fail P to ' goldenjet ', email 'accounting@reagormedia.com'!='admin@uswhss.com'