Expert Advisors and Automated Trading - page 119

To post a new topic, please log in or register
  EA with vps (4)
Hi, I'm very new to all of this, I don't know it when I'm running bots in the vps (and its doing trading while having opend orders), and I configure a new templete and synchronize it, those orders that where opened before, the will get under control of the new template or I should close them...
Hi, I am going to do following: I want to have symbol as an input parameter, so I want an input variable (enum) from which I will choose the right symbol, like this: I have done this by this code: enum ENUM_SYMBOL   {     EURUSD=0,     GPBUSD=1,     USDCHF=2   }; That works for me perfectly. But I...
  Economic Calendar EA (16   1 2)
Can someone please tell me why this EA does not want to trade on the four majors at once, but only on one at a time. Even if I set the time to enter the same for all. I think that this EA have some potential. Come all your programming fundies let do this one. Thanks, Roets
  Problem in EA (13   1 2)
i have an EA working on all currency pairs except BTCUSD pair the file is attached
 What is the problem? Please HELP!
[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, the author of one of my purchased EAs has released a new version. How can I retreive that update? I swear, I HAVE googled for that. :-D Thanks in advance for any hint. Kind regards Michael
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...
[Deleted]
Hello, just a quick question: In which currency is the profit returned when calling PositionGetDouble(POSITION_PROFIT)? Is it the currency of the user account or is it the quote currency? I could not find the answer in the documentation, so maybe it would be nice to add it. Greetings Christian
  how to convert MarketInfo(Symbol(), MODE_MARGINREQUIRED) to mt5 version
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?
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."...
Does any one know how to lock an ea to a particular broker and server? Thanks.
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.