Hi guys is possible in mini chart , have only a chart of rsi with sma
double, string, string, color, color Nothing wrong here but I get an error. Build 5200 In Detail where CVSButtonMenu inherits from CVSwitch, while definition in CVSButtonMenu is and in CVSwitch it is
Dear all, class CMovingAverage { private : string m_Symbol; // Symbol ENUM_TIMEFRAMES m_Timeframe; // Timeframe int m_Period; // Period for the moving average ENUM_MA_METHOD m_Method; // Type of moving average
Hello I want to call zigzag in my expert and I want indicator to be in same folder. I read icustom description and it says it should be something like this: "\Experts\myExpert\zigzag" but it returns invalid handle. can anyone help with this
Hi everyone i hope you are all doing well, i have an issue regarding an ea, it is high frequency trading ea that put 2 pending orders close to the current price, it contains a tight sl with a consideration of a broker min sl level and an aggressive trailing stop, the issue is it is sensitive to
Hello! I have an EA that’s works with the Heikin Ashi candles and another indicator that I made. Currently the EA opens the orders at the closing of candlestick when the signal is made. The question is: I’m able to program the EA to open orders in the next Heikin Ashi candle when the signal is
Sorry, in MT5 if I open a trade, can I automatically set 3 take profits with the total lot size proportionally split across the three take profits? For example: 30% on the first TP, 40% on the second, and 30% on the third. Can the platform handle this by itself, or do I necessarily need to use an
Dear Fellows I know this is very common error and lot of posts on the forum, which I have tried out. My problem is somehow different in sense that it occurs only when running getRZS() method. In all other calls it does not return any error. Guide me what could be potential cause
Hi There I believe the supplied code in MT5 MQL5 is extremely useful as an EA to close all open orders when a certain percentile of the High Water Mark is breached. Please use this code at your leisure. Simply configure the input variable: percentofHWMtrigger, as ( percentofHWMtrigger >= 0.50) or (
Hello everyone, I'd like to share a situation I've been experiencing for the last 48 hours with my MT5 setup. I created an automated trading architecture on MT5 that I deployed in a Kubernetes environment. I run 3 accounts simultaneously, each on 7 server instances (containers). So, behind the same
Good day everyone. Right now it is like this GBPUSDH1or GBPUSDrfdM15. I wonder if it is possible for MQL5 developers to add date to file name. so it could be something like: GBPUSDH1_11092025 or even GBPUSDH1_11092025_1250 (last 4 digits are the time) Best regards, ForexDuxa
Hey guys, I was wondering if anyone had an EA to block the user from opening trades after certain conditions. The conditions I was thinking about were, since I only trade in 2 different intervals, to limit the number of trades I could take in these intervals. So in time interval 1, if I execute a
Hello, wondering if anyone could help out, im trying to code my EA in Mql5 but i get this error, Any help on how to resolve this. Thank you in Advance Note: The starthour and endhour are already defined Part of the Code concerning time... void OnTick () { datetime currentTime = TimeCurrent ();
Hi, I'm having trouble compiling a few simple time-related helper functions in my MQL5 code. The compiler gives me the following errors: 't' - some operator expected , 'TimeHour' - undeclared identifier , Similar errors for TimeDayOfWeek and TimeDay Here's an example of the code that's causing the
I know about coding and I am recently got into meta trader.I would like to create a scanner/program that will scan for Breakout in all instrument ( I am using icmarkets ) What kind of Breakout you might ask? For now something simple # close below previous bar low # candle is 3 times bigger than...
someone pls help me. this error is not gotting resolve. Gold_Hedged Scalper.mq5 Trade.mqh Object.mqh StdLibErr.mqh OrderInfo.mqh HistoryOrderInfo.mqh PositionInfo.mqh
undeclared identifier bot_2025_28_8.mq5 173 12 'j' - some operator expected bot_2025_28_8.mq5 173 34 undeclared identifier bot_2025_28_8.mq5 217 12 'j' - some operator expected bot_2025_28_8.mq5 217 34 4 errors, 0 warnings 4 0
I have something like this, which works as usual: struct TradeSettings{ string msg; void toString() const ; } // method implementation defined outside of struct body TradeSettings::toString(){ return msg; } However, if I have something like this, I would expect
I have a custom indicator with the following inputs (in the following order): input int period = 10 ; // first position in the indicator settings input bool Bold = true ; // second position in the indicator settings and register the custom indicator within a new class with a property: CiCustom
By the following command we can change the current chart to a specific chart. But it does not work or does not work properly when it is holiday (for example in Sunday or Saturday) or when the chart is offline. Is there another way to change charts (except "Ctrl+Tab")? ChartSetInteger (chart id
My EA is good for real account and backtest, however, upload to sell and can't pass the test of MQL5.com How is going
Hello everyone, good morning. I have a question about the Strategy Tester . When I optimize the parameters of an EA, I usually split the history into two parts: backtest and forward. The problem is that the tester runs the forward even for parameter sets that already gave negative results in the
Hi guys I’m trying to modify a trade with ctrade , but I get this error: 2025.09 .19 09 : 15 : 49.991 PARTIALTAKEandSTP (EURUSD,M5) Requested SET SL 1.18000 for ticket 21821394 (file symbol: EURUSD) 2025.09 .19 09 : 15 : 49.991 PARTIALTAKEandSTP (EURUSD,M5) SetPositionStopLoss: PositionModify
Hi, I cannot find the answer in earlier questions about this. I've attached the source of the custom indicator and the EA. I did test this on the m5 timeframe (but that doesn't matter) When you compare the figures in the journal it's obvious that they don't match with the indicator. And please don't
Hi, I am running MT5 on Wine (Linux Ubuntu) and I get this message in the journal tab of the 'Strategy Tester Visualization' window, "IO operation failed with code e9 (233)" The log file gives the same info, the ending lines are NP 0 13:50:34.592 Tester final balance 10000.00 USD RJ 0 13:50:34.592
Hello everyone, Well scorpion provided me with a 2Gb file of tick data of EUR/USD sinc 1998 I believe. I know that MetaTrader and my computer itself cannot support that much memory (I have 1GB of RAM). So I was wondering if there was any way to chop up the file to get different files to be able to
How can I remove those arrows autotrade history in backtesting, I am having a hard time identifying the backtest trades as it is cluttered by those autotrade history
I have purchased 4 EA recently. I have a Vps with several brokers (each broker has its own mt5 plattform) For some reason, in some brokers mt5 plattform I cannot see all of the EAs i purchased (only 23 of them). I can t even find the EA in the market place as if it was somehow deleted or banned. But
Hello everyone, I'm currently working on a robot, and I have to say that I'm confused by the issue I'm facing. Let me explain: The robot works perfectly during backtests, there are no, and I know it, "out of range" errors, no division by zero , no infinite loops. Similarly, the #property strict is
does anyone had same problem ? how to solve it ? ? thanks
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.