Expert Advisors and Automated Trading - page 32

hi i try to understund panel (example in indicator ), why edit not show ? PanelDialog.mqh //+------------------------------------------------------------------+ //| PanelDialog.mqh | //| Copyright 2000-2024, MetaQuotes Ltd
in the mt5 strategy tester agent , in the above snapshot, do the agents have permission to work for the cloud on Sunday or Monday
with this tread we can know what happens with our platform ( specific for strategy tester ) so we don't need to open new tread and you have a journal. 1. bold your problem subject. 2. attach your terminal screen shot show us which your problem ( with version ). 3. if your problem fixed show us...
Hi, I tried using the following method for taking chart screenshots, but it's not working, I have searched the MQL5 folder for any pictures of the screenshots and I haven't found anything. https://www.mql5.com/en/docs/standardlibrary/cchart/cchartscreenshot Bellow there is a code snipped of the
Hi! I have tried to have my EA close my position according to the magic number (1 is for long trades and 2 is for short trades), whenever I try to print the value of the current magic number the value is void and thus my trades can only exit based on time. Does someone know where I might have gone
Hi, newbie here. I'm trying to synchronize indicator values (for example: RSI) with EA. Here's the code #property strict #include <Trade\Trade.mqh> CTrade trade; input int RSIPeriod = 9 ; int rsiHandle; int OnInit () { rsiHandle = iRSI ( _Symbol , PERIOD_H1 , RSIPeriod, PRICE_CLOSE ); return
//+------------------------------------------------------------------+ //| Z3alth MT5 Trading Bot | //| Uses swing high/low and support/resistance logic | //+------------------------------------------------------------------+ #property strict
Hi everybody :) I would like to invoke the 'common' tab of an EA via MQL5 code and change the state of an individual EA's algorithmic trading ability, i.o.w set it to enabled or disabled. I have seen someone posted a solution for MQL4 in the past but I was hoping that someone could guide me to do
  EA only works on 1 broker  (13   1 2)
Hi, I recently finnished making an EA, tested everything using My [Broker A] account It worked pefectly in both backtests and on a chart. When I try using the EA on a different broker, [Broker B] it does not work, the panel never updates. I don't understand whats causing this. I attached a quick
Do anyone know which broker's historical data is being used as everytick backtesting option. As I have built a EA based on everytick data but in real time it is making lots of losses and then I found out that it is becuase of difference between everytick and everytick based on real tick . So, if
Hello all, I just created this script to compare overnight and premarket activity over a certain number of days, and tell me the percentages when: 1. Premarket high breaks overnight high - does the US session break the premarket high and/or the overnight highs? if so, by how much %? - does the US
Ticks received: 263705 Display obtained ticks 'as is' (1740441600, 1.04664, 1.04693, 0.0, 0, 1740441600372, 134, 0.0)
I'm new to python and mql5, I'm teaching myself both currently. Can someone explain why this code always prints volume equal to 0? (blocked my user & pass for my mt5 import MetaTrader5 as mt5 from datetime import datetime mt5.initialize() if not mt5.initialize(): print(f"initialize() failed
Hello, I have a problem with the automatic verification. It has been in the processing phase for about an hour or more and it has not changed yet. What is the solution
  validation faild  (2)
hi friend i have been asking my self which stop loss or take profit should i use for points cause when im create EA personal use points for my EA but my points are not good with the validation may i put a stop loss of 1000 points and tp and with the take profit of maybe 3000 points i have try many
Hi! Please consider that I'm not an programmer only common user with some basics, I've looked on the forum and wider web, but didn't find solution. Is is possible to achive not having the input window? I'm dragging a script or a strategy onto the chart and always I get the window with Commom/Inputs
Hi, I'm using MT5 terminal build 1730 64-bit. I'm running EA in strategy tester (visual mode). This EA has panel with buttons BUY and SELL for manual trading. Why buttons aren't changing state (pressed or not) when I'm clicking it during testing as it works in MT4?
[Deleted]
UPDATE ... the issue is resolved, I was adding file extension in iCustom Indicator Name. Once removed it, it works well. Dear Forum Members It is never easy to use iCustom function in MQL5. Please help me to debug why I am getting error 4802. I have checked all the input variables of the indicator
I entered some commissions into the tester, and wanted to modify them. I couldn't do it. I exported this data to a text file. I modified this file, but when I import it, it concatenates to the existing one. Thinking it was due to the cache, I modified this file, turned off my PC, restarted it and
Hello everyone, I'm a beginner in MQL5, and I've developed an indicator that calculates Fair Value Gaps (FVG) and displays them for a certain number of bars, defined by the maxbar input. I’ve also created an EA that uses this indicator to take trades according to my strategy. However, my backtesting
Hi i would like to ask metaquest developers ideally metatrader 5 programers about this twing: I am downloading history and making some analyses, but when i downloading, i mean saving all live data, all ticks - it doesnt matter they are unique or when i get them all or filter them by any rule, i am
Recently, all the EA can be run on updated MT5 platform. It requires to reinstall the EA but this will use up one activation quota. This is unfair. It is not my problem. The EA "[edit] EA MT5" was no longer be found in the market place. I cannot reinstall it in the same MT5 platfrom
Hello everyone, I need to understand the source of the significant performance discrepancy I’m observing when testing an EA in backtesting versus live trading. I have extensively tested an EA (which I developed myself) using the MT5 platform provided by [edit] Markets. The backtesting results were
Hello all, MetaTrader 5 - Within my EA I have many inputs - Around 200. When running the Genetic Based Algorithm for Optimization as you would expect I reach the limit quite quickly, which is around 1^310. However due to the fact that i have a very powerful computer I am able to use this large
Hello everyone, does anyone here know if I need to have Python available to use ready-made ONNX models? Can I use an ONNX model without Python? Background: I use MT5 on Linux, but I don't want to run a win64 Python on wine. The models should be created directly on the Linux host using Python
Hi guys is possible when popup alert , to have it displayed in reverse order (with the newest one on top instead of the oldest)? Or can the alert be reset before the sound is played _ thanks
Hello everyone, I noticed that when a trade is opened by EA (with a specific Magic Number) in MT5 and then manually close it from the Trade tab, the final deal record in the History tab does not show the Magic Number. The Magic Number is retained if the EA itself closes the trade, but disappears on
I can easily run up to 7 MT4 terminals in my 1Gb of RAM VPS. And as I'm thinking on switching to MT5 I'm worried about how many VPSs should I need to run 7 different strategies.
double a = 0.3; double b = 0.1; Print(a/b); ----------------------------- 2.9999999999999996 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX double a = 0.0003; Print (a * 10000); ----------------------------- 2.9999999999999996
  Metatester  (9)
Hi, i tryed to search online a resault but i cant really found a viabile resource to use for set up the agent linked on my profile for the meta tester cpu "rent" i downloaded the sw, i used the MQID as id for link the agent (image 1) i set up my cpu core as agent (image 2) but on my profile i dont