Expert Advisors and Automated Trading - page 41

Hello, is it possible to hide the EA name on the chart? Changing the Foreground Colour to NONE is not a proper solution, because the time and price scale will get invisible too. Best Regards
Hello, I have been backtesting MT5 for 3 years. from 2020-01-01 to the present day. however, on December 29, 2023, the quality of the data dropped. from 99% to 67%. In several brokers. I've tried pepperstone, ic market, FTMO, etc... all of them with low quality on 01-01-2020. Quality will be good
Hi Community, I am a student learning computer science and wanna start a side project. May I gather some idea from the community that you think this tool will help you during your backtest. Thanks
Hi, Keep getting this error ',' - open parenthesis expected on the below code: double stopLoss = NormalizeDouble(currentPrice - tradingSpaceMax * Point, _Digits); Can someone assist
Hello friends, Somewhat new to MT5 (and this forum!) and so far so good. My trading involves primarily placing pending orders : Buy Stop (Long) and Sell Stop (Short) orders, often with a Trailing Stop Loss, and I'm using a continuously running VPS session. For some reason when I place a trailing SL
EA works with the Strategy Tester. It also works on real accounts. However, I get an error in the automatic market validation. The error is "strategy tester report not found". What should I do to resolve this issue? The EA is for sale, so the code is private
Hello everyone, its my first time uploading a EA in codebase. and i am getting this error: i checked all previous posts about this error but nothing solved my issue. please guide me
Hi Everyone, quick question, is it possible to permanently change the settings of visualize section. When i backtest my EA and the visualize section appears, there is always a grid and candlesticks are always in the form of a bar chart. Is there anyway to permanently change this to the settings i
Just wondering if anyone has come across any alternatives to the genetic algorithm for backtesting that they would be willing to share
I'm talking about memory reserved using the third parameter of the ArrayResize function. Is there a way to find out how much memory is reserved for an array
Hello,I have expert advisor works with many symbols simultaneously,The EA doesnt support multiple symbol testing, I've tested all symbols separetly,is there a way or a sofware to combine multiple MT5 strategy tester results into one
I need to know the end time of each trading session to close position. I've imported historical data into MT5, and in reality, the end time of each session is not fixed. For example some sessions end at 20:00, while others end at 21:00. Is there a way in MQL5 to determine the current session's end
Hi, How can I modify this, to make it read a value from a txt? (and how should the txt be written?) I've tried with this ... but I think I'm very far away Please help, now money for freelance. //+------------------------------------------------------------------+ //|
Help. I'm stuck. I'm trying to find the range in a chart using the bool function. Unfortunately, I always get True. What am I doing wrong? Please help. This is my beginning with mql5. input int InpRangeBars = 4 ; double RangeHi = 0 ; double RangeLo = 0 ; bool FindReange (){
Hi everyone,  I have already been helped by members of mql5, so I try again with an other problem.  I want to add Trailing stop in my EA but I don't know where I can put the modification without break my code.  For exemple, this is my part of 'Order Close - Buy' :  double SL_Buy =...
Apologies for inappropriate formatting. If I attempt to format the code in code block, a big block shows up. If use HTML button on RHS, entire typed text disappears... First of all, we need a global variable to hold the profit's calculation. In case you are tracking multiple EA's at once you may
I have created an EA that I am doing some forward testing on. I have two sets of settings, let's call them 'A' and 'B'. I have on live account with the EA and settings 'A' running. Now when I login to my second = demo account and I put the same EA on the chart with settings 'B' it also changes the
I am new in MQL5. I am struggling with writing a function to get last open trade ticket for a specific type and Open price of that ticket. Appreciate any help. // Function to get the ticket of the last trade of a specific type ulong LastTradeTicket( ENUM_ORDER_TYPE orderType) { ulong lastTicket
Comments that do not relate to the " Python in algorithmic trading ", have been moved into this topic
Hello, is there a sure to prevent overfitting when testing a system over historical data
FOREX EA trades USD pairs strictly and is programmed to trade news and hold weekend trades. Strategy uses standard open position based off candle sticks formation, occasional hedge and trades on 1hr timeframe
Sir , It is working this One Symbol // Show Grid is Switched Off ChartSetInteger ( ChartID (), CHART_SHOW_GRID , false ); // Show Ticker is Switched Off ChartSetInteger ( ChartID (), CHART_SHOW_TICKER, false ); // Show Volume is Switched Off ChartSetInteger ( ChartID ()
Context: This post is intended to be useful to those looking for ideas on how to set up an optimisation/setfile discovery process for themselves. Much more selfishly, I am also looking for advice from the more experienced on my optimisation process (which I will lay out below). I have been trading
I can go inside the if block even when the condition is met. The IsNewBar() function works properly but for some reason the condition in the if() block is never met. The var counter never increments. Any idea?? datetime dt; int candleNro; int counter = 0 ; int OnInit () { dt = Time[ 0 ];
java: ZoneId zoneId = ZoneId.of( "America/New_York" ); LocalDateTime localDateTime = LocalDateTime.of( 2023 , 05 , 30 , 15 , 16 , 17 ); //datetime in java ZonedDateTime zonedDateTime = localDateTime.atZone(zoneId); System. out .println(zonedDateTime); ZoneRules rules = zoneId.getRules(); boolean
Hello guys i need to determine the number of points suitable for the amount and percentage i want to risk i realise that as the account balance changes the number of pints used to calculate lot size can produce a lotsize greater or less than the desired amount and some times even greater or less
How i can resume back test if new day available.. for example.. i finished back test from 1/1/20230 to 31/12/2023 .. can i do back test from 1/1/2023 to 1/1/2024 without start it from the beginning... Only take time of 1 day as resume back test
Code here, mql5 newbie, can anyone tell me why it print array out of range (number71,55)?Thx a lot(Want to calculate the average high-low 20 days) #property indicator_chart_window #property indicator_buffers 4 #property indicator_plots 4 double DayHigh[]; double DayLow[]; double
Over the weekend I went to dowload and import last weeks data (from Tick Data Suite). I imported the bars as per normal and it showed the data. I then ran a test and got the error message that data is missing. I then went back to the custom symbol and ran a request and it said 0 bars. I have tried
  protecting an EA  (12   1 2)
hi good day can anyone tell me if i made myself an EA and i wanna sell it to someone what can i add to it that the person i sold it to cant resell it