Expert Advisors and Automated Trading

Let's look at the results of the tests on one and a few characters. The tests will be conducted in All ticks mode. You can use your own multisymbol EA schemes to reproduce the problem and share your results. Let us denote the problem. For example, if you test one symbol, the test time takes 1
Hi. I am new to MQL5 so I apologise if I don't describe my issue well or use the correct terms. I am trying to get Indicator values using iCustom and CopyBuffer, but I am just getting zero values. I am working on an Expert Advisor that uses three Indicators: TEMA (9), Vwap bands (9), and CCI (9)
hi, i'm new here creating a new topic, but i search a lot of things. In special this problem if can we help me void RangeBreakout::TotalProfit() { floatingPNL = 0 ; int total_positions = PositionsTotal (); for ( int i = total_positions - 1 ; i >= 0 ; i--) { ulong ticket =
  Margin Check  (1)
Hello! OrderCalcMargin() cannot be used on indicators . How can I go around this? Thanks
Hi, I'm still using MT4 instead MT5.  I have try many times to perform backtest and optimisation test. Once optimization test have done it will show tick graph and result finding on profit, drawdown, risk and etc. How to use/implement the result into real setting EA? 
Hello everyone, I am working on an price EMA crossover expert advisor on metatrader 5 which should have the following conditions : 1. if price closes above ema ,an alert is triggered as well a buy stop pending order 2. if price closes below ema ,an alert is triggered as well a sell stop pending
Can you tell me if this is a realistic tester figure? And is this a good or bad result for a year with a deposit of $3,000
Hello, I have a custom EA that works fine in the live market, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell
I am looking for an EA for either MT4 or MT5, any of the 2 works for me that has these characteristics. 1- Be able to set that when the open operation has, for example, "50" pips in profits, that operation is modified and automatically set to breakeven. 2- Be able to set that when the open operation
A must ! Before using it or asking any question : please read the Online Help (Also accessible by F1 on your MT5 platform) Strategy Tester For Traders General overview of the possibilities. Overview of results : Visualize a Strategy in the MetaTrader 5 Tester , The general information about
  panel  (1)
Why is the panel of some EAs not displayed correctly in MetaTrader? Is there a solution for this problem
I use this code block to calculate the lot size. but when it comes to indices the calculation is very different. as an example, this code block calculates lot size for 10,000$ account with 1:500 leverage is around 3.0 lots. but when it comes to balance 6,000$ with 1:100 leverage , the code is
  Ordercloseby  (3)
Hi Can anyone explain the code ordercloseby to me When I use it to close buy and dell orders it gives me error 3 Thanks
I must be really stupid because I can't figure out how to get the strategy tester to work. Every time I press "start" a second passes and then there is a toy beep. I don't understand this. As a newbie to algo trading I have also copied codes from YouTube videos but they also don't work for
I had a look and it seems it's possible but a lot of the ways I found connected to forex factory but because they have some kind of firewall in place it stopped most EA's that do this from working. Is there any other methods? I just want the EA to pull the news data and be able to turn on/off the
I am using metatrader 5 on a linux manjaro distribution through wine and I am having some coding problems. I am pretty sure the code is right but it keeps giving me compile errors on the OP_BUY and OP_SELL as undeclared identifiers and when I search in the Trade.mqh file I cant find them so
[Deleted]
I coded a Simple Trail Stop EA from a tutorial video that i found on the net. It compiled successfully with no errors. Here it is below. #include <Trade\Trade.mqh> //Create an instance of CTrade CTrade trade; void OnTick () { //We calculate the Ask price double Ask= NormalizeDouble (
Morning I'm traying to publish my EA, and after local testing, i don't find any error. But when i update to market, verification process say: test on EURUSD,H1 (netting) 2020.05.05 10:06:00 failed modify #6 sell 0.3 EURUSD sl: 1.09088, tp: 1.08857 -> sl: 1.09075, tp: 1.08857 [Modification failed due
hi, it seems that some times, in tester graphs get wierd and also the testing graphs don't clean one after the other (I don't have an image now) but if one ends in +20, the second drops 20 and the graph doesn't clean (I still see the last graph and the second one is a continuation) does any one know
  2 Time Frame EA  (3)
Hi everyone, do you have any idea why I get this error when backtesting? Best Reguards, ZeroCafeine. int OnInit () { Handle_MACD_D1 = iMACD ( _Symbol , PERIOD_D1 , FastEMA_D1, SlowEMA_D1, SignalSMA_D1, PRICE_CLOSE ); Handle_MACD_H4 = iMACD ( _Symbol , PERIOD_H4 , FastEMA_H4, SlowEMA_H4
What's the difference between Every tick and 1 minute OHLC modelling in strategy tester ? Why is it that all strategies that look profitable using 1 minute OHLC modelling went badly if I were to change it to every tick modelling? All of the strategies are in higher time frame, such as 15 min, 1 hr
THIS IS READY MADE FULL AUTOMATIC EA MAKE THIS EA SEMI-AUTOMATIC 1. FIRST ORDER OPEN MANUALY 2.THIS IS MARTINGLE EA CONVERT IT ANTI MARTINGLE
hello guys, i'm trying to get historical data on index to do a backtest of an EA. The historical data center doesn't work. It's not importing data, it's not downloading anything. I have tick data from dukascopy but the import doesn't work. I tried 2 different mt4, 2 different brokers and i have the
Hello, i am getting the below when publishing my EA, it fails validation, i tried with many lot sizes. can you help please test on EURUSD,H1 (netting) 2019.04.18 11:00:00 failed instant sell 0.1 EURUSD at 1.12706 sl: 1.15714 tp: 1.12514 [Invalid volume] 2019.04.18 11:00:00 failed instant sell 0.1
I coded an expert advisor. it's works on indices, not in currency pairs. but in the verification process, it only be tested on EURUSD pair. which 100% have issues when the EA operation. is there any method to process this EA for a indices
  EA from .ex5 ?  (1)
I'm not a programmer so I ask the following question. Is it possible to create an EA using an indicator that only has the .ex5 but not the .mq5
Can someone help me, I would like to sell my EA on the marketplace but it is not passing the rigorous inspection. Is there anyone who is experienced with helping others pass inspection
I currently running an optimization and in task manager I saw that not all my cpu cores run at maximum is there a way to make it run at full speed
Hi, So i'm trying to build a scalping system that watch the market in 5 minutes timeframe and execute trades based on simple algorithm, until here its all okay (I hope so), but when it comes to lot size its a bit tricky. The formula i calculate lot size is: willingToSpend = accountValue * .01 //
Hello everyone, I am encountering a problem with the backtests of several Expert Advisors (EA) on MetaTrader 5 using the Libertex broker. I have found that neither the EAs I have developed nor the ones I have downloaded (even those highly rated on the MQL5 market) execute backtest trades, while the