Expert Advisors and Automated Trading - page 193

To post a new topic, please log in or register
Hi MQL5 users. I decided to use stop loss for my current EA. I found I get similar profits level for small stop loss level and large stop loss level. For example, with stop loss 70 pips, I achieve 1040 GBP profits whereas with stop loss 123 pips, I also achieve near 1023 GBP profits. In this...
From 2013 To 2014 From 2010 To 2014 From 2005 To 2014 From 2000 To 2014
Does anyone know the problem that pending order in the Expert Advisor not function correctly. The pending orders are executed in the strategy tester correctly. At "Active Trades" in the demo and in real account correctly. At "Alpari" in the demo account but not in the real account. In real account...
Hello there, I want to build something based on the Expert Signal Class from the Standard Libary. I know quite a lot about Web programming with PHP, JS and stuff but I am fairly new to those "higher" programming languages. MQL (C++ based) is one of those I guess. So I have some questions and I...
Hi everybody , iwrite this little message because i don't know what im suppose to do with my new ea. yesterday i've by this ea an since this moment , i can't use it , i can't backtest strategy... but with the same ea (demo this time) i can trade , i can backtest. if it can help someone mt4 give me...
Hi, I made a simple custom indicator and I'm trying to use it in my EA. But there is a problem with loading values from indicator - iCustom always returns an empty value (tester, demo). When I show graph in EA tester, indicator is showed correct. There is OnTick method from my EA: void OnTick(){...
This was noted as a function of MT5 however, there appears to be no option for this in the strategy tester interface. 
Hello, Is it possible to follow a signal while my computer is shut down ? Because i follow a signal right know but all operations are done when i connect my account... I would like the signal followed when I m offline also. Thx, piR
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...
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"
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
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...
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...
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;  StageOneBuy...
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...