Expert Advisors and Automated Trading - page 473

Is it possible to setup for a backtest on several pairs and save the files. Running overnight instead spending time on the day. I know how to save the best file by writing a file with the data after doing a single run on the best result. but it is saved in the agent MQL5\Files  and gets erased after...
I have a EA that was working fine, and suddenly turned into an indicator with I think the last release, plus I made code logic changes only. I have no indicator code up in the initialization and it is in the Experts folder, but says Indicator and will not run as an EA. I have one function that...
  urgent need help  (7)
i am runing EA on mt4 platform where i am runing my EA but i am receiving a msg in journal that prevents EA from trading "signal-failed connect to server login.mql5.com"
  mql5 and metaeditor problem  (12   1 2)
Hello I want to emphasize at the outset that I am a novice in mql5. I have the following problem : - I just wish my expert system exported my data to a txt file every minute but exactly on time 55 seconds , eg 1.55, 2.55, 3.55 and so on. I do not want to use the onTick section because not every
Can anyone tell me a EA opens a trade automatically with SL. Thanks
  multiple signals  (4)
Can I run two signal providers on the same account? I tried to add a signal provide once I already installed one
Hi,  I am trying to backtest a strat which involves reading some external data from a CSV.  I read in the documentation that FileOpen only works if I place the file in the MetaTrader 5\tester\\MQL5\Files directory, so I did this.  However as soon as I run the backtest the file gets deleted and can...
I had been having some difficulty translating my EA into mql5, but after a while I eventually succeeded however, 10 percent of the time it's performance on mt5 differed greatly with it's performance on mt4, and this disparate occurrence would arise on around the same date, and on multiple currencies...
hi, m having a doubt... i want to upload my robot but as m seeing backtesting is must and my robot works on other 2 eas which is there inside it so back testing of the ticks is not possible... so need suggestions.. what to do???
Hey, i have a problem with uploading my ea on the market. There is ab problem because i have nor source code. I´m using molanis strategy builder , but just the standard version. It means that the source code ist not available. On Pro Version it is available but not on my standard version. So i cant
I've noticed this during backtests, the Data goes back to 1990 I believe, and the birth of the Euro was in 1999.
The strategy tester on the cloud is really an advance in strategy testing. Works like a charm most of the time.  But a bit to often it just stops when there might be a few unprocessed task left. Nothing happens. It seems like 1 or 2 agents just do not report in and the strategy tester keeps...
During a back test I found this error, In my attempt to find the bottom of this huge candle I flattened the chart.... I can not find a bottom, that's some drop, reminds me of when I tried to import tick data on another platform. The currency is GBPUSD and the error occurs between April 5 2010
Not looking for anything profitable just some advanced trading operations to learn from. Most mt4/mt5 EAs in code base are simplistic with what they use as filters/order management/ etc. Probably why they're not reliable. Do any of you know some good EAs or even Indicators to get me thinking...
I keep getting the error "invalid volume", the account balance is 10 000 and the lot size is 0.07. This is my code, I think it might not be the volume tbh. MqlTradeResult StageOneBuyRes={ 0 }; MqlTradeRequest StageOneBuy={ 0 }; StageOneBuy.action= TRADE_ACTION_DEAL ;
hello I used the following program in MQL4 but my supplier changed ME on version 5 Can someone translate it for me mql5. I am very grateful for any help. <code removed by moderator, see next post>
  Adding to position  (14   1 2)
I am sure this is explained somewhere but did not find it. What will be the sequence of events if I place 2 trades with Stoploss and different targets if both targets will be reached? Will the end result be the same as in MT4?
hi people, i am searching a script for mt5 with the following function: - managing trading time for current forex pair for days and hours - also if ea's are attached at the chart and activ   exist such a script or have someome an idea thanks and regards johermann 
Hi, I want to write an EA, that uses long signals only. So far I succeeded in creating my own indicator and creating long- and short-signals using my own class derived from CExpertSignal. The long and short signals are generated using LongCondition() and ShortCondition(). However, I...
I have subscribed to a signal provider and have the below scenario: Signal Provider is using 1:500 Leverage Converts to $275 Per Standard Lot and has a balance of $178,478 Trading @ 30 Lots --> $8,250 for Margin --> 4.5% of the Total Balance In My case: 50,000 --> Allocated 10% of Deposit -->
As the expert advisor to check whether the account is active signal subscription? What is the code I use to check it
hi I am new to EA writing using standard library and have some questions: 1. I looked at some code and saw that for creating signals from some indicators they act like this: bool CSampleSignal::InitIndicators(CIndicators* indicators)&nbsp;&nbsp;{//--- Validation of the pointer...
I have an account with Avatrade. They have turned off the signals tab so I can't subscribe to a mql5.com signal from the terminal itself. When I clicked on subscribe to signal on mql5.com, a dialog opens and gives the option saying: "I do not have Metatrader 4". That option takes me to a page where...
hi ! my code datetime datetimeDeb,datetimeFin;SymbolInfoSessionTrade("EURUSD",WEDNESDAY,0,datetimeDeb,datetimeFin);Print("/"+datetimeDeb+"/"+datetimeFin+"/"); my result /1970.01.01 00:00:00/1970.01.02 00:00:00/ where is the ? please
hi   i'am looking for a function or constant to know if my E.A. is in run mode or backtest mode. thank's  
Hi, I subscribe to a signals but I would like to have an alert, sounds and e-mail when a trade has been placed. Anyone knows if that exist already ?
If it is for all symbols is there a function that returns the total orders open for the current symbol?
hello i try to use SymbolInfoSessionTrade() to get session open and close time this function need session_index (https://www.mql5.com/en/docs/marketinformation/symbolinfosessiontrade) what's this please? Thank's
If a position is kept open by weekend or holiday involved, how to measure the net time, real-time market that is open?  If we use the following function we obtain the natural time but not the actual open market ... double tiempoMercadoPosic(string simb= NULL, mi_FECHA_HORA modo=...
my EA need to close a position (not with stop loss) example : i want to close my position Friday before the week-end to avoid surprises on Monday i don't find any function for this. am i obliged to send several orders (if volume >50 on forex) n? thank's