Expert Advisors and Automated Trading - page 12

Hi! Please see subject. I occasionally see scores in the 90s, and curious to know if 100 is the max, or it it's possible to break beyond 100. Thanks. 😊
Dear coders, I ordered a freelancer to code my custom EA which worked well most of the time, but occasionally, it opened 100 lots of trade, and he could not yet figure out the cause. The lot calculation, TP, SL, are calculated based on risk percentage towards symbol pips value, daily ATR value and
I have a grid system which takes Buy trades whenever market hit lower Bollinger line. and then it keeps on trading after every -200 points and then my ea calculates the average price and set take profit of all running trades to 250 points. the problem is that right now my system is working on single
Greetings, Does this long bar has to be fully green in order to consider the Backtest/Forward Test valid , because some Backtest/Forward Test I get this bar fully green and others I get some of it green Or is having History Quality 100% is enough
I have a complex Ea - which can use many things - If I switch all off - and only use the Ma - when price touch the Ma it must buy or sell --- most of the time it does (i am watching the exact same ma on chart - so i can see when it should) -- but many times it touches ma and does not open trade --
Hi everyone. I wonder if there is an option to hide or switch off somehow the indicators which the EA uses, so that they would not show up when you run the backtesting with "Visulization" enabled. My EA uses a lot of indis and I don't want to "see" them while testing my EA, they take a lot of space,...
I have an Idea of making EA using PTL as below: Timeframe: M5 or M15 only. Pair: Gold and Major Pairs with low spread Trend Filter: EMA200 and EMA300 Open the first BUY or SELL after getting signal from PTL and confirm the filter When the opposite signal is given, close if profit or break event
I am backtesting my algo on MT5 Version 5.00 Build 4153 22 Jan 24 on OSX Sonoma 14.3 M1 Max (10 Cores) 64 GB Ram. When I do it uses a lot of memory and even runs out of application memory space. I am only using 1 core in this example because when I use more than 1 agent it runs out of space quicker
When I tried to compile a MQL5 EA I got the following error :- file 'C:\Users\fcoet\AppData\Roaming\MetaQuotes\Terminal\76209C45634304B2B7FDAFC8F09FCBD0\MQL5\Include\GraphicsPanel.mqh' not found. Even if a search for a ' GraphicsPanel.mqh' file on my computer I can' find it. Please advise. Much
Hi guys I tried to install the python library for MetaTrader 5 and I received the following error in different python versions: % pip install MetaTrader5 ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none) ERROR: No matching distribution found for
Is it possible to do optimization in parallel? If so, how do we manage cpu cores for each strategy tester
Dear Fellows Please help me to rectify the below code to get correct IsNewSession value when a new session has started. I failed to resolve it. //+-----------------------------------------------------------------------------------------------------------------------------+ //| METHOD
Hi, I'm new to mql5 but just wondering how do i get the chart id for my current chart. I did my research and you have to type this somewhere: long ChartID (); But where? Thanks
Hello, May I know if there's any maintenance on the market? I tried to update my EA but was having this error test on EURUSD,H1 (netting) there are no trading operations test on XAUUSD,D1 (netting) there are no trading operations test on GBPUSD,M30 (netting) there are no trading operations test on
Greetings, The past days I have been working on connecting Fibonacci as a signal, it's a custom indicator extending CiCustom. Type being IND_CUSTOM I am unable to find enough documentation covering the ways to achieve this, the codebase builds on top of one of the Example Expert EAs - nor have I
  Pending Order EA  (61   1 2 3 4 5 6 7)
HI Guys, Can anyone help me making an EA of pending Orders........ I have found this guys idea on another fourm which is exactly like mine... If market price equals = X or Current Price then place buy stop order at market price Y and...place sell stop order at market price Z Optional: If one order
Hello, im new to MQL5 programming . I wanna to create EA thats open one buy trade once per day. My problem is that first day position open normal and then never again. I think that problem is "!isTradeOpen" part, because if i remove it, positions will open every day at set time, but then EA open a
[Deleted]
I'm running MetaTester 5 (build 1085) on two different Windows 7 (64 bit) computers. They've been running for a week now without a problem, but today I saw something weird. MetaTester suddenly increased hard drive usage drastically. Within 10 mins more than 200 GB of disk space was consumed my...
Hello everyone, I have tried researching this, but didn't find a solution that works. I am using a 16-core AMD CPU with 64GB of RAM. The problem with the tester agents is that it feels like they never release any memory and always take up all the available memory until the PC crashes. Aside of the
Greetings, My backtest/forward test of EA is super slow in MT5!! It is taking more than 12 hours to complete 3 months backtest/forward test! My system is Windows 7 and it is running well An solution for this problem?! How can I make it faster
Hello, I am attempting to upload my EA to the Market place and I keep getting this validation error. I don't really see the issue since my price / sl / tp all appear to be valid. Any help would be much appreciated. I cannot reproduce in my strategy tester. Here is validation output: test on
Tried to ran optimization but ran into this error Tester set mode to math calculations or adjust testing dates What is this?
  Scrioting errors  (3)
Please help with the following error 'EventSetTimer' - wrong parameters count 18 4 { EventSetTimer ( "CheckForNewOrders" , Check_Interval * 60 * 1000 ); // Set timer to check for new orders EventSetTimer ( "ExecuteFirstTrade" , Initial_Delay * 60 * 1000 ); // Set timer to execute first trade
Why admin deleted my topic asking if EA is scam or not? I asked just 3 important questions and informed that there are potential problem with EA (which seems to be too good to be true) I informed that I didnt get answers from author. Admin deleted my topic! why because MT team receiving commisions
Hi, I have 2 Metatrader5 installed in my system. For each system I want to only use 1 core. When I try to disable all the other cores I notice that if I want to use one core it is only possible with "core 1" only. What I want is that for the first MT5 to use a single core (core 1) and the second MT5
Hi, I have a batch file that I want to check if it is exist or not in OnInit() function. I use this code to if ( FileIsExist ( "Taskkill.bat, 1" )== false ) Print ( "***** file not exist, error code " , GetLastError (), " *****" ); else Print ( "file exist" ); The file is located in
Hi, I'm building as exercise a simple EA that open a long or short trade at the breakout of the 7am candle. I've written the below code but, as my idea was to set the "entry point" only at the 7am hourly candle, the IF i've inserted for checking the hour is not let passing the variables of entry
Dear fellows I am having hard time with CheckLoadHistory() of article https://www.mql5.com/en/docs/series/timeseries_access and seeking guidance here if any known issues with it or I am doing something wrong? I am using following code to sync data and when I start the MQL Platform the indicator
  OnTick does not execute  (15   1 2)
Hi, I'm new to this and I'm stuck. My code does not seem to execute at all. Here my very simple code : void OnTick() { //--- Print("OnTick"); } Nothing appears in the "Experts" log when I run my EA. I don't know where to look or what to look for