Looking to build good backtesting (optimisation) pc. - whats better for backtesting (optimisation) on MT5, ryzen 9 7950x or intel i9 13900k My understanding is that AMD does better on the multicore but Intel beats it on single core processing. Also will 64gb ram be enough or should I splash put on
Dears, as it is clear in subject i want to work with file in EA inside MQL5. be informed below code tested on MQL4 and worked properly. Also i know i should insert file in EA separately to be used (another WHY in MQL5) using below code #property tester_file "ALL_2018.csv" i created an array of...
Hello, Can anyone tell me what kind of information can a website get about my trades and terminal, for which I allow WebRequest? I.e. can the website e.g. see my other trades or EAs on the terminal? Thanks
Hello! I have below code: if (printHistory == true ) { handle = FileOpen ( "Ticks_" + Symbol () + filename + ".csv" , FILE_CSV | FILE_READ | FILE_WRITE , ',' ); if (handle < 0 ) { Print ( "Could Not Create/Open File " + IntegerToString ( GetLastError ()));
Optimization and combinations of opening conditions, is there a simple workaround to my problem ?
(4)
Hello all, I'm trying to run an optimization procedure to easily go through all my opening conditions, which are numerous, and check which combination of opening conditions are the best. For that I just used boolan inputs and added a additional conditions in buy/sell conditions as you can see in
When we manually set trailing stop, all we do is set it using the Terminal >> Trailing stops . Once we set, it does its job its own. I'm asking for function like that kind. As I know, The EA should check the conditions and move the SL based on every tick if I use PositionModify(); for trailing stop
Hello, Please could you tell me why my PC is crashing running this particular EA from which you have the code inserted below ? All others EA I tried run fine, there is a particular problem with this one, which has been generated using ChatGPT. Be careful if you run it in your computer as it surely
Hi I would like to know how to get the money value of 1 tick in MT5 I tried double tickSize = SymbolInfoDouble (symbolA, SYMBOL_TRADE_TICK_SIZE ); tickValue = SymbolInfoDouble (symbolA, SYMBOL_TRADE_TICK_VALUE ); But that does not gives the correct value The value I am after is the one used
Hi, can anyone tell me what is flags mean in custom symbol like attach image
I have a problem when performing a backtest. After finishing the test, I don't have the results of the Backtest report, the status always stops at around 98-99%. And I don't have any error message in the logging tab. When I profile history, my program doesn't have an infinite loop. I noticed that
Hi guys! We conducted a backtest using the cloud CPUs yesterday and the results of the test was 0, so useless to us. It was fast for sure, but useless. Does anyone have any idea why this happens and what the potential fix to it can be
Hi, I got "Internal Compiler Error" message when trying build a large EA containing millions of lines of code (for testing purpose, I get tired of having to read files every test). Total data is about 4-500mb. But when I reduced the data size to ~50mb it built successfully. Is there a maximum size
Please, how I can check if market is open or closed in MT5, I cant find answer. something similar to MT4 - MarketInfo(Symbol(),MODE_TRADEALLOWED) this command doesn't exist in MT5 anymore. Thank you
Good afternoon, I have a problem with this EA, which should activate buy orders when the EMA5 is above the EMA21, and sell orders if it is the other way around. However, I have noticed that even though the EMA5 is above the EMA21, sell orders are still opened sometimes. The same thing happens when
Good day. I have a code panel now this panel works fine but when I change chart or Time frame I get an error (Invalid Pointer Access ) MyButton *b = (MyButton*)m_buttons.At(i); b.Color( clrWhite ); //font color
Has anyone figured out how to add in the daily roll over rate charges that OANDA charges for open trades into a backtests? (On another MT5 broker, not OANDA) Even if you have the set the interest rates standard to one setting, it would still be super useful to have it deduct or deposit money into
Hello and thanks for you time! I have this problem with all the candle pattern EAs, when i backtest them at daylie timeframes and they have to open a trade at open price the trade doesnt open, at 8H timeframes and lower i dont have this problem, so maybe there is a problem with opening trade at open
Hey. I have a client that run my EA on 2 different account (and different brokers) on the same computer and without VPS. It’s possible ? Run EA without VPS can lead to bug ? He have an open trade with 1 of the account and no trades with the second. (With the same EA, same settings) Can you help
Sometimes an order get executed on the server-side while my EA is on the way of processing a modify on that order. Everytime that happens it needs to wait full 3 minutes until a 'timeout' error returns, because I figure my server is simply not good on handling that. What I need is setting a way for
This is the Custom function I'm about to use for check and set trailing stops. loop picks each position and check the trailing condition and set it if needed. but The PostionModify(); function is no appear in the meta editor even though I type it. I have no idea what the reason is. Cz I'm still in
Hello, Please can anyone help fix my EA code I am trying to build, below are errors I am getting when running backtest: 'SymbolInfoInteger' - no one of the overloads can be applied to the function call Moving Average.mq5 40 8 could be one of 2 function(s) Moving Average.mq5 40 8 built-in: long
Hello all, apparently this is a newbie question. I wish to get the mql5 code that listens for trade transactions using the OnTradeTransaction function and prints a message showing the price when a buy stop order is triggered. Please help as I don't even know where to start from after declaring the
Hello, I’m currently working on a neural network based expert advisor and I need to know the limits to consider for MT5 optimization. Does anyone have the information about the maximum number of variables, steps and passes during optimization under MT5? Also, is there any way to bypass the applied
Hello, Getting inspiration from the source example Controls.mq5, I created my own CDialogApp panel. It works, but I'm not wondering how to distinguish between events ocurring in the panel and events ocurring on the chart. To make it simple, I need to intercept both clicks on the chart and clicks on
Here is the code block that doesn't works. If the condition is true, I need to place a order for the price I specified. I've checked the code block using comment(); and playsound(); . the code block pass when the specified conditions are met. The SellSignal() custom function is an example. inside
A very serious bug is, that MT5 (MT4 maybe - not debugged) stops execution of EA without any any error message, the EA is just gone from the chart - OR - MT5 freezes and with this freeze, the whole Windows instance freezes as well. In case of last, the only way to get out is using the task manager
After adding multi line comment to my EA i noticed huge spike in CPU usage while Backtesting in Visual mode on every tick string comment = "First Line\n" ; comment += "Second Line\n" ; comment += "Third Line\n" ; Comment (comment); So i decided to crate my own Comment function and it turned out to
[Deleted]
I have trouble uploading my EA and keep geting this massage Validation completed with errors and in the report : test on EURUSD,H1 (netting) 2022.04.27 10:29:59 failed instant buy 0.2 EURUSD at 1.05887 tp: 1.06387 [Volume limit reached] 2022.04.27 10:29:59 failed instant buy 0.2 EURUSD at 1.05887
Guys , am trying to publish my EA on the Market and I keep getting "not enough money" error .The recommendation is to try and test my EA with $1 , which is impossible coz that $1 will never be enough under any circumstance. The other recommended fix is to put a code not to output the error , but am
Hello All, please I am trying to use the OnTradeTransaction function to manage my positions such that I want to replace a buy position that closes due to take profit with a buy limit order and replace a buy position that closes due to stop loss with a buy stop order. Also vice-versa for sell
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.