hi, i am searching for a indicator which can stop trading in any session i need, like i dont want to trade in asian session, it does not allow my terminal and ea to take position on asian session , looking for help from your guys
When I published my EA, the automatic verification failed and there was no trading operation.How to solve this
In MT5, in the Strategy Tester, debug tab, if I try and display the values of my "input" variables, it shows a value of "unknown identifier". It used to work fine but just stopped one day around 1 month ago. e.g. for the coded line "input bool testBOOL = true;" when the testBOOL is displayed in the
Hello, I am new to forex trading and need some advice. If I have an account balance of $1000, is it advisable to run EAs on several pairs on a single account, or should I rather divide up the balance into several accounts, one for each trading pair. My fear is that if just one trading pair goes
Hello i just started mql5 python today. I used the example tutorial. They work well but only values (bid price and ask price) are different. For example: when i run example code in "https://www.mql5.com/en/docs/integration/python_metatrader5" on python it prints current bid value as 85.334 and ask
I'm working on an EA and my procedure is that after adding new functionality I compile the EA to check for errors. After doing that 5-6 times and I compile the EA without errors this screenshot is what I see in input parameters. And from the Select Expert list I cant find my EA. I'm doing something
Hello, I would like to understand why some currency pairs, which perform very well and are profitable in real trading with an EA, do not show good results when backtested with the same EA. The backtest results are completely different from the real trading outcomes. What could be the reason for
While updating custom symbols using Service, one can hide/show the custom symbols from Market Watch using SymbolSelect(custom_symbol, false) but there is no way to "release" (detach) the custom symbol without having to call the SymbolSelect(). Unwanted side effect: User can not Hide/Show the custom
Hello, it seems that global variables can not been assigned and inspected. When inspect in debugger, it just says: <not implemented>. Also the value seems not to be assigned. This is a short sample code: int digits= 0 ; double point= 0.0 ; int OnInit () { digits=( int ) SymbolInfoInteger ( Symbol
Hi, I have run backtests of a specific EA on "all Symbols selected in Marketwatch". However, the results are shown individually, and I dont have an overall picture of what would have happened to my account if I had run all those pairs concurrently on a single account. Is there a way of knowing the
Hello there, this is for information. I have recently struggled to convert string to bool in MQL5. Thanks to the tip of a friend, I could resolve it. I want to post it here, in case somebody has the same problem. The source field is a string, which has either "true" or "false". Important, this must
Hi, on MT5 and MT4 is it possible to trade an EA on the M3 timeframe? I dont see this option in trading. However, on MT5 it is possible to backtest using the M3 timeframe. Could you please confirm? Thanks
Hello guys. I'm developing an EA that needs to make requests from MT5 to my external API. To do this on my local machine, I had to enable an option on MT5 and register my server URL. My question is: If I use the MetaTrader VPS to run my EA, will it be able to make external web requests
Guys does anyone know why i am getting this error . 'period' - cannot convert to enum new to programming . thanks a lot
Hello. I have created an EA but it does not open operations and when I manage to get it to operate, it only opens sell or only buy in each tick, in a few minutes it opens thousands of operations, I want to know how much it costs to review and correct my code
Hi, I've been using a utomated algo trading fulltime for years (though pretty new to MetaTrader). I'm backtesting a demo of " Bitcoin Robot " and I'm seeing something I've NEVER seen before: the EXACT same trades no matter WHAT candle timeframe I specify. M5? M15? H1? D1? All the IDENTICAL 406
How do I put the ex5 expert files or the closed code indicator correctly in the related post? In which category should I share
Hello everyone. I came across a strange behavior where there were wrong results in non-visual backtest. Finally I realized that retrieving custom indicator values using CopyBuffer on every new tick(up in OnTick function) resolves the issue. Does anyone have a similar experience and can you make it
Hi, I'm experiencing a problem with the CustomRatesUpdate function. The custom chart "breaks" and I get undocumented error messages in the "Journal" tab. The problem surfaces very often (not always) when the server time goes from one day to the next. Here are the error messages: 2021.01.22
Hello everyone, I’m trying to create a new user account on the MT5 server using the following Python code, but it’s not working as expected. The connection to the server seems to succeed, but the user creation process either fails or does not return the expected result. Here is the full code I’m
Hello there, I'm trying to save some values to file for analysis. First, I get the open and close times for each week, and then I use them as the range to find the day of the week with the highest and lowest price. That works fine but for a few iterations. For this sample, I was collecting 52 weeks'
Hi. A question for the people. Is it possible to sell an EA on the market, if the EA is connected / relies to an indicator i made myself? Or do i somehow have to rewrite my code so the EA can trade on its own without the custom made indicator? Regards Sebastian
Hi everyone, I’m working on creating an Expert Advisor (EA) in MT5 that uses the Heiken Ashi Smoothed indicator. Here's what I want the EA to do: Open a long position when the Heiken Ashi Smoothed candle is green . Open a short position when the Heiken Ashi Smoothed candle is red . I’m new to coding
Hi everyone, Does MQL5 has a functionality to send messages via Webhooks as in TradingView? This could allow any type of MQL5 information to be send to many different outlets (e.g. Discord). I have found several pay apps, but this strikes me as a basic functionality, plus I would like to see the
Hi all First time posting, ill try and explain this as best I can Currently using a bot very similar to dark venus - on EUR USD, its a martingale bot that I use to place trades on ATR, The bot is run at 0.01 per 1000, 40% SL. So the trades place in a sequence of 0.01, 0.02 0.03 etc with a take
Hi Folks, I was testing an EA and it was running perfectly fine on my PC. I added it to live charts, and it is very laggy now, I thought it may have been the VPS, but I turned off the VPS and ran it direct to my PC and the issue still persists, it is very laggy and also when checking the VPS with
In MT5, in the Strategy Tester , debug tab, if I try and display the values of my expressions of type "input", the value in the debug tas shows as "unknown identifier". This function used to work fine but just stopped working properly around 1 month ago. I figured it was maybe a bug that was
MT5's 'Bulk Operations => Close All Positions' is much quicker compared to closing positions individually using a 'PositionsTotal()' loop. Is there another way to close all positions as fast as possible? Regards
Hello there, I am doing backtesting with mql5 programs. I have found that the "visual mode" is always active, I cannot desactivate it, when I am in debugging mode of an expert. This leads to the fact that it can be quite slow, until I get to where I want. Question: is there a way to "force" the
i am trying to link my ea to a vps - these are the errors i am encountering, how do i fix this? tried several different things and nothing has worked as of yet. any help much appriceated - thanks, kyle

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.