I am fetching news from http://nfs.faireconomy.media/ff_calendar_thisweek.xml and it save the file inside terminal/MQL4\Files as FFCPing(Symbol)-ffcal_week_this.xml (eg, FFCPingGBPUSD-ffcal_week_this.xml). Code is reading news from that source and works fine for mt4. when i use same code on mt5 it
Hello everyone, and merry Christmas to those who celebrate it. I just have a general question about two trading bots: The "name removed" and "name removed". What experiences do you have with these two tools? Are they positive? Would you recommend buying them, or are there other better ones? Because
My application is built using the standard library, but when I move it to a different location, the caption's position becomes misaligned. How can I resolve this issue
Hi everyone, I've been encountering several issues when working with the MetaTrader 5 (MT5) Python API related to account login and server management. I wanted to share my observations and see if anyone has experienced similar problems or found solutions. Here's a detailed breakdown: 1. Timeout when
Hello! I'm trying to upload the robot to the marketplace but I get this message : tester takes too long time - what does it mean?
(12 1 2)
Hello! I'm trying to upload the robot to the marketplace but I get this message : tester takes too long time - what does it mean
HI.. good day to you all.. Am not sure if tis is possible is there a way to hide functions from source code.. .mq5 or mq4 eg. void TrailingStop() { //Trailing code } or instead calling it from a private website codes.. eg. void TrailingStop() { //get Trailing code function from my website
Hello using this code everything appears fine but the order comment from the string TradeComment is not shown at all any idea what could be wrong ?? // variables string DayStart = "00:00" ; // Day Start Time double LastClosed_Profit; // Last Closed trade profit string TradeSymbol, TradeType
Hello, can someone help me with my code please. It is not taking trades on live account. Please can you tell me what is wrong with it. Thanks in advance //+------------------------------------------------------------------+ //| Trading Bot Configuration | //|
Hi, community! I have developed two custom indicators in MQL5: a currency strength indicator and an RSI indicator. I would like to integrate them with a Python tool so that, whenever I start my Python application, it directly receives real-time data from the indicators without saving it locally
Hello. The situation: I have multiple copies of the same EA running on multiple pairs. I made this work by changing the name and magic number of each EA. The effect being, each is distinct from the other. The issue: I thought the above would be enough to differentiate the trades made by each EA, but
I wonder how you manage the Tick value in your code. For some Symbols it is in the deposit currency but for some Symbols it is in another currency. In my opinion it depends on the value of MARGINCALCMODE. If it is 0 (Forex) the Tick value is in the deposit currency. If the MARGINCALCMODE is 1 (CFD)...
Hey guys, I have an interesting problem. I'm using Interserver VPS for multiple accounts. Same bot, same code, same setup. But on one of the servers I always get this line in the Experts tab: 2022.01.04 11:40:28.542 Experts automated trading is enabled 2022.01.04 21:00:00.076 Algo Solutions
Hello everyone! I'm using MT5 and facing an issue where, when a position with a set Stop Loss is closed, the magic number gets removed. I've used the following code to print the magic number in the history. for ( int i= 0 ;i< HistoryDealsTotal ()- 1 ;i++){ ulong dealticket=
I'm trying to make a expert advisor via mql5 but I'm taking these errors anyone can help ? trade.Buy(lotSize, Symbol(), ask, ask - StopLoss * Point, ask + TakeProfit * Point); ')' - open parenthesis expected SMC_Swing_Trader.mq5 trade.Sell(lotSize, Symbol(), bid, bid - StopLoss * Point, bid +
As you can see in my code i tried to use isPosOpen to make my ea stop opening more than 1 trade when the conditions are met, but i failed when i tried it to use it to stop my bot to open more than 1 trade when the prev trade is set to be. My plan is to keep opening trade when conditions are met if
I’m looking to build an online analytics platform similar to [redacted] , where traders can connect their accounts simply with login, investor password and server name. Looking into this further, I can see services such as [redacted] which offer an API which meets this need, however when looking
Hi all, I tried to find an answer to my problem but couldn't find any. Here is the issue: I launched a free indicator ("GT Indicator"). Now, I would like to launch a Utility which accesses the Indicator. I tried to add the Indicator as a resource: #resource "\\Indicators\\Market\\GT Indicator.ex5"
Hi, I'm facing a strange issue here. I have an Expert Advisor, "Main EA", which loads a custom indicator , "MW MSSS Rev Hammer.ex5" with iCustom. The whole code is stable for weeks and for weeks I have been doing backtestings without changing the indicator's source file, only the Main EA and even so
Hi, I don't know why, but can't manage to read CSV or TXT I have tried all the possible combinations for reading path, and always get the same results (error 5004 or 5002) what do I have to change to read the txt? 2024.12 .22 20 : 25 : 37.034 Core 01 2000.01 .01 00 : 00 : 00 File does NOT exist
nstructions on using the MT5 Strategy Tester to analyze the bot's performance with historical data. How to Trade Using a Bot : A demonstration of executing live trades through an automated bot on MT5
I've been wondering what tips do you follow so that your Expert Advisors use are more stable, use less pc resources, not freeze, etc
Hi, nice to meet you Vincenzo, I'm new here and I hope I'm not making a mistake. I'm trying to write my own EA and I can't add a dynamic stop loss to the trades already executed. Example: I would like my EA to set a stop loss to the buys/sells already executed only when they have already matured a
I am trying to develop a strategy that works on a tick basis. I thought I would code this strategy very easily at the beginning, but it started to get more complicated as I progressed. I would like you to help me find a solution to my three different problems or share your ideas. This hedge
Hi everyone, I'm facing an issue where my EA isn't executing any trades on both demo accounts and during backtests. The EA loads correctly, "AutoTrading" is enabled, and there are no errors during compilation. I've verified the parameters and tried different symbols, timeframes, and simplified the
Hi Folks, ich have a stange problem: The Items of a dropdown area, no matter if a combobox, a datepicker or something else. If any other object is behind the dropdown, the red marked area is not clickable. If nothing is behind the dropdownarea, all works fine. My Try: I catched the click on the
Hi The expert don't work There is a difference between the vps and time in my computer or broker's. isn't to fix it. Pls help me
Hi, I have an EA running on MT5 and I was looking at the journal and dont know what the line that says modify is from. Is this my EA doing this or is it something from MT5 or the broker? This is what it looks like when a trade is put on: RH 0 06:57:02.435 Trades '1496304': accepted exchange buy 1
Hi, I have searching and testing everything and dont get it... I want a function returning current profit / loss for all open positions. This function that I found here does not match what is showing in MT5 Trade tab?? What I want to achive is,, Take three trades, Monitor each ones profit/loss, Read
Hello, the function ResultOrder() just after opening a position does not work in my code . I need to add a sleep between, do you know why ? it s no documented ? regards , obj_Trade.Sell(order.volume,order.symbol, 0.0 , 0.0 , 0.0 ); Sleep( 10 ); ulong ticket = obj_Trade.ResultOrder();
Hello, i do my first steps in mql, so sorry for my simple question. I have a array with prices. I want to updates this array with a new price, so the oldest one must delete and the new price add to the array. The index value are represent the order of the prices 0=the oldest, 3=the newest. //1 start

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.