Who has experience with developing Expert Advisors that have been optimised with the help of AI? Or which Expert Advisors are already on the market that use AI to make trading decisions? It would also be helpful to have AI tools that help in market analysis of news to better evaluate the amount of
I am new to this website and found some ways to automate the trades using EA or signals. I'm not sure which one should I choose due a lot of options available in EA and signals tab. So which should suit for me as a beginner in following automatic trades, EA or signals
cannot download data history for strategy test
Hi, Since I updated to version 24 July 2020, when importing cache opt file, all parameters are missing, even I select enable all. When exporting to XML, the parameters are missing too. Please check it out. Thanks
[Deleted]
If positions total is greater than 0 I want to select last trade opened. I used the logic below but doesn't seem to work. Can someone kindly assist if (position_number> 0 ) { for ( int b=position_number;b>= 0 ;b--) { PositionSelectByTicket ( PositionGetTicket (position_number- 1
I guess the compiler knows at every time which of code line contains which statement. But there is no such function in functions list. Sometimes out of range bugs are hard to find between functions and classes. It would be convenient to have that and it should be possible I guess
Hi There; I have a need to calculate 3 bars in M15 range. the last 3 bars including the current bar to make it comfortable. I do not want to rely on Chart component as the user will change the M15 to other ranges periodically and it's part of the automated process. The purpose of the requirement is
i Created An expect that Finds Newly Created Objects on a custom Indicator And Reports that a new object has being created on Chart Code: //+------------------------------------------------------------------+ //| Object expert advisor.mq5 | //|
Is it possible to place a order that will not be visible in the order book? Or this kind of order must be a market order? Thanks for any comment
Hi,
I'd like to run Metatrader 5 in the cloud and am investigating operating systems to use:
I'm looking for something that is fast.
Things I've looked at
My laptop: i7, 16Gb RAM
Runs lots of windows concurrently with an EA on each quite happily.Amazon AWS free tier: Windows Server...
I have this piece of code in a library and it works fine, I reported it in a script and "maxRiskInPrice" turns out to be 0. "Account balance" is approximately € 9500. void calculateLots(){ int stopLossInPoints = 15 ; int riskPercentage = 5 ; double pipValue = SymbolInfoDouble ( Symbol ()
someone help, to calculate the amount of money on certain stoploss or take profit(position size calculator)
(19 1 2)
anybody who knows the mechanism or the maths involved in the background that help the MT5 platform be able to indentify the amount that is going to be lost on a certain stoploss the other way to define this is how to know the amount of money that is going to be lost on a certain stoploss Let me be
Hi A simple question - can you close an open trade when using the Strategy Tester within MetaTrader 5? See the code below - when this runs it fails to close out the open position. No error is given. I have included the results from the Journal below as well so you can follow the path it takes via
Hi Guys, I have been learning MQL5 for about 30 days. I have been trying to write an EA as a learning process. I have been facing this problem , My trade always sends a requote. I dont really know how to solve this problem. Please help me. Screenshot and codes Sell codes are shown below : double
Hello, Fareed Alston here, I need to code an existing EA to close at certain of the day, on days of the month that end with a specific number (e.g. close days ending in 5; 05th, 15th, 25th) and open after time has passed (1 hour) or open days of the month that end with a specific number (e.g. open
I can't find anything on the internet about how to use those to run a command when a trade gets closed. When a trade gets closed OnTrade() should find the last closed trade. I also don't understand how i could do that from the documentation of OnTrade() and OnTradeTransaction() . Any hints to
Hi, I am looking for a simple EA that: based on MACD only lets BUY or SELL orders ( of another account/signal ... mirrored ) through! The standard MACD parameters should be adjustable. Hoping somebody already programmed this! thanx
I have 2 different EA's on different charts for the same symbol. Each chart shows the trade history and trade levels of both EA's on both charts. Is it possible for each chart to show only the trade history and trade levels for the trades that occurred on each chart
Dear I have problem to backtest EA with some broker It give me error message like below - 2022.01.23 22:03:50.459 Core 1 2021.03.22 00:00:00 CTrade::OrderSend: market buy 0.04 position #1048 EURUSD [market closed] and backtest going too slow and it give me lot of message - Is this possible any MQL
Hello, I have a function which I use often in my code. I would like to know if there is a better/more efficient way of doing this. Any suggestions are welcomed. //+------------------------------------------------------------------+ //| NormalizePrice()
Hi! I need to get the low and the high of the candle where a script is released. I remember there is a function but i don't remember the name. thanks
Hi everyone, I have an EA which uses a daily timeframe for trading but also uses a weekly timeframe as a filter. When testing the EA I noticed that BarsCalculated returns -1 (No data). After playing around for a bit I created the following code to test this out further. The behaviour is different
Hi, I was running a script on MT5 using the python library. Everything was running ok until the mt5.copy_rates_from_pos method suddenly stopped working. It returns an empty list. Other methods like history_deals_get...etc are working just fine. I have tried the following: Disabling Antivirus
I need help I want to know if it's possible to start 2 EA on two account on the same laptop. And how we can do it
Hi, i want to add RSI to my EA, with different Rsi levels than default. I'm adding RSI with this code: bool CSampleExpert::InitIndicators( void ) { if (m_handle_rsi== INVALID_HANDLE ) if ((m_handle_rsi= iRSI ( NULL , 0 , 14 , PRICE_OPEN ))== INVALID_HANDLE ) { printf (
https://github.com/CaneRandagio1983/adx-ea as in object, when I test "only" this ea, the strategy tester stops shortly after the start, without errors. executes the moneyManagement.setLotsByStopLossAndRiskPercentage () function, called by the buy () function and then stops could you help me
It's not the first time it happens. Wrong price is used instead of the right one, resulting in an enormous loss in the backtest I don't think my code is wrong, because error comes and goes. BTW it's an OPEN PRICE backtest I restart MT5 and error is gone
Hello everyone, How can I limit my BuyStops placing every single tick till the order is filled? I have a code where I have a Buy Stop placed at the high[1], and every time there is a tick I get placed another BuyStop at the same high[1]... I just want it placed once. Thanks in advance
Dear Form Member i would like to write Counting Last highest and lowest candlestick please advise code with thank
As the title. I'm using a EA that opens and closes trades At first i thought it was a weird coincidence. However, if i leave the settings and the VPS it will open the odd trade here and there. If i go in to MT5 and sync the settings with the MQL5 VPS it seems to wake it up and make more frequent

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.