Expert Advisors and Automated Trading - page 60

I have been testing a new custom EA and have it running on 6 separate computers. Each with a different demo account. About 10 days, the 2 Dell laptops (both I-7 16 G) suddenly stopped entering orders. Journal on both Dell laptops simply says "activated for drlipsitz". Everything is normal on the non
Hi everybody, I'm experiencing a problem with Metatrader 5 optimizer which I've never encountered before. I don't know since when this is happening. When I run a single test from the optimization result list, sometimes the result is different: different number of trades, profit etc. Here is an
Hey guys, My recent optimization results are not what they seem to be. When double-clicking an entry in that table, both backtest and a visualized strategy run yield a totally different result (results of backtest and single visualization test match). Not only the profit is mismatching, but also the
Hello, I've been testing some EA on MT5 strategy tester. But I'm getting 2 totally different results from running the strategy tester with and without visual mode. I think It should be reasonable to believe in the results of visual mode testing. And since the optimization results are based on
I am not a professional developer and I am trying to make an EA based on published examples, my personal additions, my limited general programming knowledge (html, php, databases, but not MQL5) and the help of the AI Assistant built into the MQL5 Meta Editor. I have made several small EAs and none
Hi I am new to MT4/MT5 and I'm trying to backtest some EAs. There are a couple EAs I've tested that will place trades like the <Deleted> bot but I tried 4-5 others and they all fail to place any trades. I noticed in the journal that the bots do not initiate any buy trades but has many sell trades
I was testing an EA that a developer put on the codebase for trading Gold ( based on Keltner channel and EMAs) . Here is how the backtest looked on "Real Ticks" modelling: Here is how the backtest looked on "Every Tick" modelling for the exact same setting, same leverage, and same time range (same
I'm totally at a loss for what the problem could be; I have the following request being sent to multiple accounts (held on various brokers and MT5 terminals): request = { "action" : mt5_interface. TRADE_ACTION_DEAL , "symbol" : pair, "volume" : lot_size
Hi all, When exporting the optimization cache file of an optimization and when importing them again later on in the Optimization tab, it seems the chart of scores becomes incomplete and shows a much lower number of passes (see enclosed pictures original vs saved/exported/reimported). Is it possible
MT5 has a very bizarre way of handling files... instead of defaulting to the directory where the executable is running it likes to mess things up and confuse the hell out of everyone but putting files in various places and give everyone the runabout... the reason for doing things this way escapes
I'm creating a Rectangle Label using the CHARTEVENT_MOUSE_MOVE event, for every time the event fires I invoke obj_rect_label.Create(foo, bar, lparam, dparam); my question is that, is this method safe in terms of memory management? or do I need to delete/destroy the previous object before recreating
Hello everyone. 1. I am trying to attach a template to chart and then take a screenshot. 2. I realized when I use ChartScreenshot too soon the template is not loaded yet and it is not visible in screenshot. 3. I use Sleep function to avoid this. I am wondering if there is a better solution
I'm unable to set any of the Left() / Right() for a certain CWnd instance. maybe Im wrong but I expect to change the dimensions of - for example - a CEdit object using these methods. could anyone provide an example for the use case? whenever I use CWnd::Left( 100 ) I can confirm that the output from
[Deleted]
Hi, Is there any way to retrieve the account owner's name in the Strategy Tester when testing EAs? Running AccountInfoString (ACCOUNT_NAME) in the Strategy Tester returns "Tester" instead of the account owner's name. I'm running MT5 2361. Thanks
Hi there, anyone an idea? For whatever reason, the corresponding - ChartGetInteger(m_chart_id,CHART_WINDOW_HANDLE) - returns zero.
Hi! Any EA, of any source works on one of my computers. I have many EAs that I use every single day. I have other people using the same EAs that I do and tonight I went to trade the Hong Kong opening as usual, loaded the EAs on my multiple charts, different strategies and none of them worked. So I
Please i work in Python and this error appears Can anyone solve this error as this image shows hello all please can any one help me for tis error appear when run simple code in python script in metatreder 5 (2023.11.23 16:19:14.975 Python 'c2': python process thread create error [The system cannot
Hi everyone, I'm just learning about mql5 programming. I had a little difficulty and created an expert advisor. I want to enter the MQ5 indicator code into the Expert Advisor but without using the onCalculate function. My code runs smoothly for indicators. But I want to use it directly into the EA
Hello fellow traders, I’m looking for assistance with a specific code for my trading robot. In my setup, whenever a new pending order is placed, the robot assigns a magic number that is incremented by 1 from the previous order’s magic number. Additionally, along with each new pending order, a
Hi! One of my compiled EAs calls an MT5 library and I would like to control what the library does by specifying inputs from a second EA that I would create. Though, even if quite familiar with building EA for trading purposes, I don't know the structure of a simplified EA sending inputs to a
Hi I'm trying to find peaks on RSI indicator by code below, but it's not work. I don't know if finding the peak based on my idea is correct? Please help me to fix it. Thanks in advance //+------------------------------------------------------------------+ //|
Hello, I am new to this forum and don’t wish to break any rules. I am trying to commission a tweak to my EA , I send them the parameters I want to keep and then they write an extra code so I can make pipstep customisable… They have asked to me to send the EA over to have a look at… is that something
I've been trying to install an ea i just purchased and its just not appearing it keeps saying failed with code 0
Hi, For my EA, I try to close an order with 2 partial close but without success. I would like to send two OP_SELLLIMIT to close a BUY order (with specifics volume and price for each sell limit order), how to proceed? The problem is the ticket number of my BUY order, my sell limit order must have the
I crave a simple one-click order execution app that allows me to obtain an entry order by clicking on the price bar and automatically get the closing price. In addition, it has a manual TP and stops modification/savings feature (No indicators or any other market analysis). I searched the market
//+------------------------------------------------------------------+ //| MarketAdaptation.mqh | //| Advanced functions for adapting strategies to market conditions | //+------------------------------------------------------------------+ #ifndef
I had my strategy coded into an EA by someone on FIverr. I want to sell it on marketplace but it will not pass inspection. How do I go about finding someone that can correct the code so that it will pass inspection
string symbols[] = { "GBPUSD" , "USDJPY" , "GBPJPY" , "GBPCAD" , "UK100" , "Ger40" , "US30" , "US100" , "US500" , "XAUUSD" }; First of all, what i'm trying to achieve is a bot which can run on multiple currency pairs. I've defined an array called symbols[] as per the line above. Then I have this
Hi everyone, I'm in search of an indicator that can be applied to the equity or drawdown chart during backtests and in live trading (e.g., using a demo account). The key features I'm looking for are: The ability to plot a Simple Moving Average (SMA) on the equity or drawdown curve. If the equity or
Hi, I hope someone can shed some light on this.. I am trying to make a simple EA using the change in momentum using heiken ashi candles. The basic jist of what im trying to do is if there is a red candle the EA will place a trade under the red candle and await to see if the next candle will trigger