General - page 41

Please help with MQL5 code for EA which opens a trade automatically once an existing trade is closed
I reported this in 2021, and at the time, it seemed like someone did something, because it got resolved on the next update. BUG? Won't enter debug mode - Indices - General - MQL5 programming forum Whoever you are, gods of the MT5 heavens, please do it again. The time the problem is worse than it was
Hi, does any one of You knows some indicator|software|kind of terminal which can be use to observe portfolio performance for multiple accounts. In the past, we had free Multiterminal for MT4. Is there any similar software for MT5 ? Something which can work local on PC, connect with multiple accounts
  Panel Developing  (11   1 2)
I am developing a trading panel for my study in MQL5. Has anyone ever had a similar problem with this? The panel is created normally, but I have difficulties in being able to select the CEdit fields and also after clicking on a button the trading history overlays the panel
may here it is somebody could explain of CADILS is corelating to some paire? or how could correlating USDILS , EURILS correlating to CADILS? or explain me what id algotithm to find out correlating pairs? thank you
Hi guys, I just wanted to start an open discussion about the sense and legality of paid/rewarded reviews. One of the bestsellers used this leak in the mql market rules and started to offer free tools in exchange for 5-star reviews. Till date, there are more and more sellers following this...
  signals  (3)
When sharing signals, do users who buy a subscription see in the trade comments what EA I use to open and close trades
I used demo account, I want open a real mini account.Please inform me about the procedure to open a mini account?
Hi All, Is there any way to set a custom batch size of tasks to be send to the agents on local network farm? I am seeing many of my agents being idle for a long time while others are still having a big list of tasks to be processed. Would be good if I could steer this with either smaller task
Hi everybody! I can not login to MQL5 community on MT5 version 5.00 build 4270 - 5 Apr 2024 (MacOS Monterey) Still login success on version 5.00 build 4260 - 22 Mar 2024 (Window server 2022) I need to login on MacOS. Anybody can help me
Hello, new to coding here. Can someone please tell me are the if conditions contradicting here? It's a strategy combining EMAs and Stochastics. It is not giving me any order when I backtest it. But if I separate the EMA and Stochastic conditons, it works. Attached is an example of the strategy
Code for switching between continuous time frames (indicator or script) Code to switch from the M1 time frame to the M5 time frame and then back to the M1 time frame again, and so on constantly. Meaning Every minute, the indicator or script switches the chart from the M1 time frame to the M5 time
  Please help  (12   1 2)
I got problem using vps. At beging i subscribe to a signal and after that to vps in my account Later i found the signal isn't profitable, so i unsubscribe to that signal. I kept the vps. Later on i subscribe to another signal to the same account. When i tried to migrate the setting to old vps, the
Hi all, A quick question! I want to reply to a message in Telegram channel using telegram.mqh. For example if the reply was something like "close order", the order of that signal in the message close automatically. is it possible? and if so any help would be appreciated
Please help with MQL5 code for EA which opens a trade automatically once an existing trade is closed
It's my understanding that VPS supports a max of 32 Charts with associated EAs. What is the solution if my account has more than 32 charts? Can I have two VPSs pointing the same account
#include <Tools/DateTime.mqh> input ENUM_DAY_OF_WEEK TradingWeekdays = MONDAY ; int OnInit () { if (TimeDayOfWeek() == TradingWeekdays && IsTradingHour()) { // Retrieve exchange rates for EURUSD, EURGBP, and GBPUSD // Calculate the mean value using the formula: MEAN = EURUSD -
I am writing an EA. The indicator provides the open price, stop price and stop amount. How to calculate order size? For example, XAUUSD, buy. The opening price is 2100, the stop loss price is 2000, and the stop loss amount is 1000. How much order should I place? This EA will work with currencies
  Check pendings  (4)
Hello, is this code ok for checking if there are pendings in mql5? // Funzione per verificare se ci sono ordini limitati eseguiti void CheckLimitOrders( double currentPrice) { bool pendingLimits = false ; // Flag per indicare se ci sono ordini limit pendenti for ( int i = OrdersTotal () - 1
[Deleted]
I use the code below to find breakeven of all the trades I have a point I close all of them at 0, my question is how can I trail? string eq; string Sym[]; double Equity[]; double Lots[]; double sum = 0 ; string level0 = "" ; ArrayResize (Sym, 0
Code for switching between continuous time frames (indicator or script) Code to switch from the M1 time frame to the M5 time frame and then back to the M1 time frame again, and so on constantly. Meaning Every minute, the indicator or script switches the chart from the M1 time frame to the M5 time
I have problems with computer resources because of lots of EA's. I heard somewhere that I can open a single account in Metatrader with a large sum. Then test multiple EA's there. Idea is that we can filter EA's according to their magic numbers and analyse the combined statement by filtering
[Deleted]
If any crypto exchange has symbol BTCUSDT and I want to create custom symbols for testing a EA I have a confusion about Margin Currency because it is considered in profit calculation in strategy tester I have set SYMBOL_CURRENCY_BASE = BTC SYMBOL_CURRENCY_PROFIT = USDT so Margin currency should be
  Wrong purchase  (1)
DawnDavies 2024.04.10 12:42 EN I stupidly purchased the Trade Assistant for MT5 and not MT4, there for it is useless to me! Please, I beg you, can you swap them for me please? I have everything crossed! Many thanks Dawn
Hi, I am trying to creat a signal for my MT4 account. During the creation of signal, I put it the usual account information, proceeding to the next page to put in description of the signal. Once I have done that and clicked save, I was greeted with the 404 page with the following message, and the
I can't connect to any of my account servers (except for Metaquotes-Demo) on my desktop MT5 app for MAC. The account numbers with the little person icon are orange (instead of green). When I click on network bottom right, there are zero bars and it is grey and constantly searching. I haven't had any
Wondering if any existing robot owners are looking to add a buy/sell indicator to their robots that in my mind has not been considered as yet
Hello, when I go to seller tab I see this (Please check the image ) I already have an account and made profit , but it shows that I need to verify ! and when I click on Start verification nothing happen by the way I can not withdraw my profit too
Please help me find a broker that has 1:100+ leverage for stock cfds i really really need it. Any help would be greatly appreciated
Hello I am looking for a solution. I am currently running a 30+MT5 platform so can these platform recieve a signal from a single Main platform and i am looking for more elegant solution to this because its starting to get messy. I asked ChatGPT and it told me that its possible multiple accounts to