Expert Advisors and Automated Trading - page 241

hey mql5 community, i need the tickchart data for backtesting. unfortunately my broker no longer has them available for this period. has one of you saved it for the following periods: DAX 20.02-20.03 / 13.10-10.11 many thanks
I subscribed to a signal yesterday and have set everything up as advised (including increasing the spread tolerance) but the new trades are not being copied. Anyone have a checklist i can use to ensure all the right boxes have been ticked? Thanks
I am running two different EA's that both work on the same Fx pair and the same time frame (gbp-usd M5). When one of the EA's is actiavted... the SL and TP show up on both chart windows. It says which EA placed the trade, but how can I be sure this is accurate? And how do I know that the SL and TP
Question: Does terminal.exe return an exit code other than 0? Description: I'm using python to automate optimizations. An optimization will fail, for example, when none of the parameters are selected for optimization. The journal gives this message: 2018.01 . 24 10 : 58 : 52.653 Tester no optimized
Can anyone point me in the right direction please re what journal entries mean? such as 'account in investor mode' and 'activated' just repeating itself non stop? thanks
I'm performing optimization on MT5 Strategy Tester using H4 Open Prices Only. It's obvious my data is not accurate, as the number of ticks isn't the same for all 28 pairs which are read on every tick. I printed the iTime for each bar for all 28 pairs on the same line from June 2020 to December 2020
  Start time, end time  (15   1 2)
Hi guys, I've had a problem. I've written EA, solved nearly all the problems. However I want it start trade from some hour to other: <code removed, see below post> It writes: 'return' - 'void' function returns a value. I'm picking in it a week and don't have a clue what to do with it. Could you help...
Is there any way to know if the EA is running on Strategy Tester? My EA uses the symbolInfo.MarginMaintenance() to make some equations to trade but these values are zero in strategy tester. To work around this problem, I created a parameter to set the margin (to use in strategy tester only) and I...
Hi I want to transfert my EA from MQL4 to MQL5 i have code at MQL4 that not work at MQL5 double tickvalue=MarketInfo( NULL ,MODE_TICKVALUE); How can i wirte this at MQL5
My questions are really simple, it is about the standard library Experts + Trade classes mainly, hopefuly metaquotes devs can answer me. 1) How good/feature complete is the current implementation of the standard library in MT5? 2) How good is it at multiple instances of same EA on different charts
Hello everyone.. This is my first post,and English is not my native language,please pardon me.. I'm trying to build EA and it will have Take profit value based on trading session.. E.g if current hour is in Asian session it will set 10 pips and if it's in Europe session it will set to 15 pips.. Is
  E.A ALLIGATOR  (1)
I am looking for someone who can code an Alligator E.A Robot
From the image, I’ve marked the high of candle index (i) and low of candle index (i + 1). These candles are on the H1 chart. How can I search multiple lower timeframes within the two H1 candles to determine if there are similar consecutive candles that have the same price for the high and low as in
Hello, I would like to add a Trailling Take Profit for my trading robot. Quite simply, I open a position at $ 100 The StopLoss is at -20 $ If my position is at $ 180 (+80) then my TakeProfit will be at $ 200 and my StopLoss will be at $ 150 Regarding the StopLoss I have already managed to find a
Hi guys, first of all thank you for your help! I have some trades opened by another EA in one direction (eg. 5 trades BUY). I want to set the stop loss for all these BUY trades together to be triggered at a specific price (not pips of distance but a specific price). Therfore if the price reaces
Good afternoon, I'm writing and EA in MQL5 with Bollinger Bands based on example I've found on this site. I'm trying to say to the EA to stop trading Friday at 21:00 (server time) and during the week to avoid to trade from 20:00 to 21:00. Unfortunately during the backtesting it doesn't work. Below
hi, i say to my expert that: if the price goes up 400pip, make trade, and get position, I have run this EA in 3 accounts, and it work good, But some days, randomly one or two account does not trade, while price has gone up 400pip, what is the problem?? _i run the EA in VPS, _EA is the same in three
folks This is my code NormalizeDouble ( MathAbs ( 10 / 100 ), 3 )* 1000 ); or this double math=( 10 / 100 )* 1000 ; It just returns a zero value what is wrong here i have tried Removing NormalizeDouble and MathAbs but still the same story But the Funny thing happens when i put the values after
Hi everyone, I'm quite new to EA programming. I'm trying to check that all my symbols are open and will be open for at least 10 minutes before I open any positions. My code is below: //check if all symbols open now and for the next 10 minutes datetime start; datetime finish; datetime
can any one help me to make my mt4 ea work at mt5
When I was first with MT5 and trading gold the spread would flux from 24 -75. I left Mt5 for Mt4. But now I am back with MT5 because of the move. I don't understand why the spread was fluctuating for weeks now for the past days since last week it is 50. Is my MT5 app messed up?? I don't understand
Moderator: Hello! After December 5, 2020, the verification of EA project failed to pass when it was submitted for audit! See the screenshot below。Even if I create a new simplest EA, it will not pass
Hello I created a 5 and 13 SMA EA but i cannot add the trailing stop on it. The second challenge i want to make this EA to function different charts at the same time. #include<Trade\Trade.mqh> CTrade trade; void OnTick () { double Ask= NormalizeDouble ( SymbolInfoDouble ( _Symbol , SYMBOL_ASK )
Hello, I am running a small EA and what to display some Horizontal Lines on open Charts on the Backtester. With OpenedCharts() I read out all openend Charts and Print them. It's working well with Live Trading, but in Backtest (Visual Mode) it only returns the one Chart, on which the backtest is
Hi. Could anyone enhance this EA? Adding Opening Time, Closing Time, Time to reset open position, Breakeven, TraillingStop and Partial Execution. I am grateful for the help. input int lote = 1 ; input int periodoCurta = 10 ; input int periodoLonga = 50 ;
Hi all, Is there a way to hide input variables from the user if he selected different enum. For example, i have 3 different cases under one enum. Based on the user selection, i want to show some input variables and hide others. Is that possible with MQL5? Thanks in advance
Hi, I've downloaded several free EA from the Market (Download and Installation function) and they work fine on that specific computer. But when i manually copy the .ex4 EA file from one computer to another from the expert folder the EA will not load. To get it to work on another computer or vps
Ok, it is easy to syncronize the signals and the EAs of your PC MT4 on VPN. But after resetting my PC MT4, how can I see what EAs are running on VPN?
im trying to make an ea i put all the conditions to open trade but im stuck idk how to code so the ea close the order by an opposite signal
Hi I made a EA and define all my indicator and variable base on 1 year back test ( i made a optilimazion and chose to best result ) 1. when i run it for 2019-2020 ( 1 Year ) my EA was work perfect 150 trades with 20% Relative drawdown and very good profit but when i try to run my EA for 2 years