How can I fix a trading algorithm that was encoded my trading ID, to put another ID because I want use another broker Please help. the developer is not responding to me to assit
hi I included this library: #include <Trade\Trade.mqh> but when using this variable: FreeMargin() this error eppears: what is wrong
i'm trying to use an ONNX file in my expert. my onnx file has 49 inputs at input index 0, has 3 outputs at output index 0, and 1 output at output index 1. when i try to run session vector v_input = vector ::Ones( 49 ); vector v_output( 3 ); vector x_output( 1 ); if (! OnnxRun (onnx_handle
Please I wrote out this code but whenever I try to compile it gives me this errors //+------------------------------------------------------------------+ //| ARTaker.mq5 | //| Copyright 2023, MetaQuotes Ltd. | //|
I wonder about the accuracy of broker data on MT5. I made a lot of comparisons on different backtests carried out recently and my findings are quite disappointing. I find that my backtests can vary greatly from one broker to another while having exactly the same parameters in my EA. In addition, I
Heya team, I got this error today and I don't have anything to catch random breaks like this that I'm not foreseeing. The EA ended up spamming the server this way an unmentionable amount of times. How do I write some catch code for odd errors like this? Maybe something like "If error count exceeds
Hi! I'm currently trying to stich my first EA together and was finally able to compile without any errors. When running the backtest, I can see all the data/indicators I wanted to include showing up properly, but no trades are being executed, even though all conditions are met. I suppose the EA is
Hey guys i'm trying to code a bot with the the last 3 values from zig zag, bot will have some conditions. First, have a fixed timeframe to get the data, if reach 50% level and 38% from the last 2 values from zig zag, reduce timeframe for one i choose and buy or sell if a new candle is positive or
TicketType = myposition.Type(); //A TicketType = myposition.PositionType(); //B I used option //A above to get the ticket type using the standard libraries #include <Trade\Trade.mqh> #include <Trade\OrderInfo.mqh> / #include <Trade\PositionInfo.mqh> #include
Hello, good day, fellow programmers. I wanted to ask if there is a better way to get the minimum/maximun values. I use this function to add and/or subtract to open a position, either buy or sell. but I get different results when changing the values, for example from 1 to another value, for example
Hi guys, i'm building some services like myfxbook and i want to can send request directly to the broker mt4/mt5 server without going trough a MT4/MT5 terminal, is it any reference about the protocol? Any librairy for python/c++/rust doing that? Best regards
I experience a really bad performance with the strategy tester on the following setup (which has plenty of power to offer): Dell server with Intel Xeon Gold 6326, VMware ESX 7.0 as a host system and Win 2022 Server as a guest. The guest has 32 cores and 256GB RAM assigned. This is a setup that
Hello all, This is a very straightforward question. How much do we need to pay to get a very profitable fully automated EA right from purchase already optimised? What I have in mind is at least 10-20% profit per month from the available capital while combining 2 or 3 robots of different strategies
Hello, I'm not able to download a free EA on my MacBook. When I click the download button, nothing happens. Are these EA's and indicators Windows Only? Thanks for sharing Greetings Chris
It is obvious, documentation has not all details in this case, I am trying to get behind whats actually coded here. I have written following test to find out... now I am maximal confused. float f_in = NULL ; ulong ul_in = NULL ; float out1 = MathMin (f_in, ul_in); // No error/warnint float out2
so i have created an expert that is drawing 2 horizontal lines in the prev weeks close Highest and Lowest value. I want to check if the price has gone above the prev weeks high and if so to check if the daily rsi 2 days ago is < yesterday's rsi value and if yesterday's rsi value is > than current
Dear experts, I have BUTTON and LABEL Objects on my chart and I want to delete all these chart objects during the removal of EA from Chart. I tried both of these in Deinit() and they did not work: void Deinit( const int reason) { StopTimer(); if (reason == 1 ) { ObjectsDeleteAll ( 0 );};
So I want a series of conditions to come true before I enter a trade. I tried to build multiple ifs inside on tick but it doesn't suit to my needs. I don't want all of my conditions to come true to the same tick. I just want them to come true the one after the other. For example if condition 1 is
Hi How to make SimplePanel1 and SimplePanel1 indicator on the main chart window and on the subwindow //+------------------------------------------------------------------+ //| SimplePanel.mq4 | //| Copyright 2009-2014, MetaQuotes
Hello people Can someone help me with the following error that the system is throwing when I run my robot? Error of server. Metatrader 5 is not receiving data from "broker name"
Hello, I'm making a post because I can't find an answer to my question: I'm looking to calculate the P&L of past or current trades for different types of traded assets. Context: I am developing my algorithmic trading framework. Currently I can retrieve data from different platforms and place trades
How should I use PositionsTotal() to return the number of operations at the symbol (chart) applied and not the total? (MQL5 code) For several reasons I need you to be as well. I don't want the total, as I do not wish to take into account manual trades in other symbols. Thank you in advance. int...
[Deleted]
When computing the Stop Loss what do you prefer? I mainly use ATR
Dear all, Build 2815, MQL5 Hello and I hope this post finds you all well. It seems that when my EA runs at the strategy tester it cannot access data that are sufficiently old. In particular, it loads data that are maximum one year old from the date that I wish to start running the EA but not older
if(samples[i].outcomes[ix_of_class]== 1.0) this is not safe to use right ? i mean it can spit out 0.9999999999999 or something and it will not pass the check
I had my account temporarily suspended because my bot made too many server attempts. It checks "ontick" to see if the position needs to have the stop loss moved and then sends a modification order if appropriate. The key here is that "ontick" is too often. I was doing some reading and discovered
im constantly getting the bytes not available , 0 heapmin result error. can someone tell me what am i doing wrong and how to correct it please
Hey gang, I want to register more than one VPS so that I can run separate EAs and not have them conflict with each other. Does anyone know if that is a possibility? I don't appear to have the option of registering another VPS, neither on an account already using a VPS, nor on another account for
Hey, my EA creates double orders, when is synced with vps, so my question is, should I close mt5 or disable trading after syncing all with VPS
I want to make a trail system that will only do trail once or for a specified number of times. Can you guide me how to do this

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.