Expert Advisors and Automated Trading - page 40

Firsr of all hello everyone. I'm form Poland and I'm new in this topic, so please just be gentle;) Anyway, I'v started to learn how to build EA few days ago. So I'v started to read theory and I thought that practice from the beginning would give me some benefits too. I understand basic instructions
How to use forex expert correlation. Is there an expert
[Deleted]
Hi, Is there any way to retrieve the account owner's name in the Strategy Tester when testing EAs? Running AccountInfoString (ACCOUNT_NAME) in the Strategy Tester returns "Tester" instead of the account owner's name. I'm running MT5 2361. Thanks
Hi there, anyone an idea? For whatever reason, the corresponding - ChartGetInteger(m_chart_id,CHART_WINDOW_HANDLE) - returns zero.
Hi! Any EA, of any source works on one of my computers. I have many EAs that I use every single day. I have other people using the same EAs that I do and tonight I went to trade the Hong Kong opening as usual, loaded the EAs on my multiple charts, different strategies and none of them worked. So I
Please i work in Python and this error appears Can anyone solve this error as this image shows hello all please can any one help me for tis error appear when run simple code in python script in metatreder 5 (2023.11.23 16:19:14.975 Python 'c2': python process thread create error [The system cannot
Hi everyone, I'm just learning about mql5 programming. I had a little difficulty and created an expert advisor. I want to enter the MQ5 indicator code into the Expert Advisor but without using the onCalculate function. My code runs smoothly for indicators. But I want to use it directly into the EA
Hello fellow traders, I’m looking for assistance with a specific code for my trading robot. In my setup, whenever a new pending order is placed, the robot assigns a magic number that is incremented by 1 from the previous order’s magic number. Additionally, along with each new pending order, a
Hi! One of my compiled EAs calls an MT5 library and I would like to control what the library does by specifying inputs from a second EA that I would create. Though, even if quite familiar with building EA for trading purposes, I don't know the structure of a simplified EA sending inputs to a
Hi I'm trying to find peaks on RSI indicator by code below, but it's not work. I don't know if finding the peak based on my idea is correct? Please help me to fix it. Thanks in advance //+------------------------------------------------------------------+ //|
Hello, I am new to this forum and don’t wish to break any rules. I am trying to commission a tweak to my EA , I send them the parameters I want to keep and then they write an extra code so I can make pipstep customisable… They have asked to me to send the EA over to have a look at… is that something
I've been trying to install an ea i just purchased and its just not appearing it keeps saying failed with code 0
Hi, For my EA, I try to close an order with 2 partial close but without success. I would like to send two OP_SELLLIMIT to close a BUY order (with specifics volume and price for each sell limit order), how to proceed? The problem is the ticket number of my BUY order, my sell limit order must have the
I crave a simple one-click order execution app that allows me to obtain an entry order by clicking on the price bar and automatically get the closing price. In addition, it has a manual TP and stops modification/savings feature (No indicators or any other market analysis). I searched the market
//+------------------------------------------------------------------+ //| MarketAdaptation.mqh | //| Advanced functions for adapting strategies to market conditions | //+------------------------------------------------------------------+ #ifndef
I had my strategy coded into an EA by someone on FIverr. I want to sell it on marketplace but it will not pass inspection. How do I go about finding someone that can correct the code so that it will pass inspection
string symbols[] = { "GBPUSD" , "USDJPY" , "GBPJPY" , "GBPCAD" , "UK100" , "Ger40" , "US30" , "US100" , "US500" , "XAUUSD" }; First of all, what i'm trying to achieve is a bot which can run on multiple currency pairs. I've defined an array called symbols[] as per the line above. Then I have this
Hi everyone, I'm in search of an indicator that can be applied to the equity or drawdown chart during backtests and in live trading (e.g., using a demo account). The key features I'm looking for are: The ability to plot a Simple Moving Average (SMA) on the equity or drawdown curve. If the equity or
Hi, I hope someone can shed some light on this.. I am trying to make a simple EA using the change in momentum using heiken ashi candles. The basic jist of what im trying to do is if there is a red candle the EA will place a trade under the red candle and await to see if the next candle will trigger
Hi guys I was trying to run a backtest on a fully functional EA I coded, and for 2 days now I get this error. What does this mean? what can I do about this? I have seen Array out of range errors in the past, as well as "divide by zero" errors. Never had I seen a "unknown error". Any idea what I can
So I have been watching a very interesting video series by Darwinex about improving your EA to reflect backtester results in live charts. It seems that the best method is controlling bar opening prices. You program the EA in a way that it processes only bar open tick so this will reflect on a live
Purchased an indicator with a limited number of activations(5 activations). Running MT4 on an iMac and sometimes because of wine server updates, it requires me to download and reinstall MT4 again for mac on the SAME machine. The activation of the purchased Indicator increases because it doesn't work
I connect to the MT5 terminal using the MetaTrader 5 library, but I encountered an issue: when a user enters incorrect credentials in MetaTrader 5, the terminal becomes unresponsive, repeatedly attempting to connect to a nonexistent account. This prevents users with valid credentials from logging
Hello traders! I hope someone can help me with this... I'm a supply and demand trader with a fulltime dayjob. I finally got the hang of my strategy but the problem is, I don't have much time to watch the charts because of my job. Now, what I want to do is create an Expert advisor that will open
Is there any way to collect market close time so we can close positions before market closes? No matter general or specifically for each instrument, to prevent market gaps' affections. It is MQL5 question, however if you have any solution for MQL4 too, it would be double appreciated
Hello, I am scripting an EA to send post request using sockets in mql5. void OnTick () { Print ( "history-->" , HistoryOrdersTotal ()); int socket = SocketCreate (); // Check the handle if (socket != INVALID_HANDLE ) { // Connect if all is well if ( SocketConnect (socket
Hello! Im trying to change the values of the RSI Oversold and Overbought levels on the Strategy Tester , but I don't see any options. The standard values are 70-30 so the indicator shows those. Is there any way to change it? Heres the EA Code part where I calculate the RSI. (OnInit) I have the other
Hi! Currently performing a slow complete optimization on my EA, but quite astonished to see that the number of passes covered in the forward phase is much lower than in the optimization phase ( Optimization Results ). I assume MT5 only considers the best passes of the optimization phase to assess
Dear friends! I have a unique trading algorithmic strategy and I want to let other people to earn with me. So I have two ways for this: 1. To start broadcasting signals (less preferable). 2. To get account credentials from clients and run EA on dedicated VPS. I know that there are some EAs and
Migration to virtual hosting failed: DLLs are not allowed. expert advisory uses Kernel32.ddl, please remove the expert from your charts and migrate again. Never had this problem before. Can anybody help