Expert Advisors and Automated Trading - page 50

I tried to export ticks data using Python and I got the data, but I don't identify what does 2, 4, 6, 312, 344, 376 flag codes means
It appears that the Swap cost calculation in the MT5 strategy tester may be incorrect. A Buy trade on USDJPY was initiated on 2024.11.11 and concluded on 2024.11.15, with a volume of 0.25 and a tick value of 0.64125995. The trade opened on Monday and closed on Thursday, with the swap amount being
I get this error, '"2024.11.13 17:01:52.157 Experts automated trading is disabled due to EA being synchronized with virtual hosting"
Hi When I press the button to download the robot it always downloads to the same terminal. But I want to download it to another terminal. Can anyone advise how to get it? Thank you
  Order  (1)
I'm learning to write the code to enter long/short after spotting engulfing candle but some how it' s always invalidate all my trade regardless of condition met or not T_T
Each sell goes with a buy, if a sell is closed in its take profit, how could you put a take profit on that corresponding buy that was sent at the same time as the sell trade. This is my code: //+------------------------------------------------------------------+ //|
Theres a lot of rubbish being marketed out there on the internet about how expert advisors make a lot of money, I have tried a few and they all fail sooner or later usually in 3-6 months. My question is has anybody been sucessfull in coding a full auto EA that actually consistantly makes money with
Hello Is it possible to set a conditional stop in MQL5? For example if Variable1==true How? BR Joze
Hello developers, I have write this, becasue I have sreached everywhere and still find no solution. I appriciate any help in advance, Problem: I have a panel which is bitmap object with lots of objects above it on the chart, I want to draw a line on the chart, but the line must appear below the
Hello everyone, For the past few weeks, I have been encountering an [invalid stop level] issue with a robot I am developing to trade in the Brazilian futures index market (WIN and WDO). The problem is that my robot enters a trade and places (plots) position increase orders on the chart if the trade
Hi All, Sorry for another pipe vs. http dll question, but I don't think it's been asked before whether you can use pipes in Strat Tester on remote agents in your own network farm. I've been trying to run an EA that communicates through a named pipe (using the stdLib CFilePipe), and it all works in
Hi all, I'm relatively new to coding, but can someone take a look at this code and tell my if there's a reason the trades aren't triggering in back testing? I'm getting no errors back from MetaEditor, and the defined variables are how I'd like them. Just not getting any trades lighting up in MT5
Hello, I am creating a multi-symbol EA (22 symbols) and need to change the iCustom conditions before each pass of the OnTimer(). My OnTimer is set to 15 seconds. So, there is a lot of time before I use the new settings. I have a INT to switch what happens when the timer is triggered. The first pass
Hello I am getting this error in validation pass, can someone help me out with this thing ? Attaching the code and the error screenshot. What should I add into this to avoid this error ? int myOrderModifyRel( ENUM_ORDER_TYPE type, ulong ticket, double SL, double TP) //works for positions and orders
  Python to EA  (1)
Hello, I do most of the code in python then connect MT5 in order to create a bot. However i just found out that MT5 has good support on backtesting . Is it possible to export python to EA or i have to rewrite all the code over again in EA
Recently, I watched a video of a person coding an EA that took historical data, offset it by 1 candle and loaded it into an EA that tailor positions based on whether the prior candle went up or down. The result was an EA with amazing performance and very low DD. The point it was trying to make was
Does anyone have an expert who can help with the calculations and recognition of these patterns? chart pattern: triangle, channel, head and shoulder, double bottom and double top
[Deleted]
Hii. I am looking for a advanced EA with a 100% Profit accuracy, which can take its own plans ,Strategies , Decisions and Trading in BUY SELL 2. I Require a Round the clock working EA with 100% Accuracy. I dont mind getting from the EAs Trading Advice as i give 100% Freedom to the EA with its own
Hello all traders? I hope to have here some arbitrage traders. I interest in this system and I try to trade but still problem in calculate lot size. Most articles say about triangular gedge lot size. Is it same triangular arbitrage and triangular hedge ? I think not same .Right? Arbitrage based on
Hi i try to understund the socket in mql5 i take a example in help , i run it and return me 2024.11 . 09 12 : 06 : 39.109 TCP_PASS_DATA (EURUSD,H1) Established connection to www.mql5.com: 80 2024.11 . 09 12 : 06 : 39.109 TCP_PASS_DATA (EURUSD,H1) GET request sent 2024.11 . 09 12 : 06
Before opening a position for any instrument. The best I could find - and it was in MQL4 - was AFTER having a position open: for ( int pos = total - 1 ; pos >= 0 ; pos--) { if ( OrderSelect (pos, SELECT_BY_POS)) { posCommission = OrderCommission(); break ; } } I'd
Hi guys i have created this script #property copyright "Copyright 2000-2024, MetaQuotes Ltd." #property link "https://www.mql5.com" #property version "1.01" #property script_show_inputs input string Address = "127.0.0.1" ; input int Port = 8080 ; bool ExtTLS = false ; bool SendTCPData(
Hey everyone, I wished to know if anybody has an idea why the results tab not showing while backtesting. No I am not using optimization mode or visualization just simple single strategy testing yet no results tab displaying trades results only graph and backtest tab
Hello, I did not get the exact answer I was looking for reading this specific topic : https://www.mql5.com/en/forum/393797 I know that a developper could embed data into an ea to make the backtest impressive or even read history through DLL's. If I got DLL access unchecked and if an ea was published
I am having a validation error when uploading a new version of my EA , its just saying its has one error, but with no details, is this line "2022.02.02 09:38:40 Sell Position opened successfull." an error? or the error is that there is no operations in EURUSD ? thanks
Hello everyone! EA after compiled with no errors, saved, with all the imputs, is not trading on tester. Does someone can helpe me? Attached the code file
I have seen this a few times backtesting a few EAs. It works fine then at the end it will just fall off a cliff. Have been trying to work this out. Most of the times its because there was not enough equity in the account or the EA closes off at the last date. But this one I cant figure out. It is...
hi guys, in this last few days, (i'm not quite sure when the exact date is), after updating mt5 i stuck with this "critical runtime error 565 in Oninit function" during optimization. the problem is just pop up suddenly out of nowhere, on the EA project i am currently working, and it doesn't shown
I ran a relatively simple optimisation of GBPUSD M1, 2020.08.03 to 2020.09.27 modelling 1 minute OHLC with Input variables set to require 4,000 passes/tasks. I switched off Local agents and Local network farm, so as to only to use the MT5 Cloud Network. The MT5 Cloud Network Agents' in MQL5 Cloud
  ColorMix.mqh ?  (3)
Where can I get the ColorMix.mqh library