hi , i have an EA . This EA should open a trade for example at 17.00 and close next day 9.oo but in tests i get 2 errors , first is unsupported filling mode and the second is Ordersend 4756 Error its on every Pair, Gold, DE40 and so on here is the code
I rent out my CPU power to others here, which has been fine for a long time. Over the last week or so, I have had 2 machines locking up, caused by MetaTester64.exe. Today, I managed to prevent a full lockup and get some sort of meaningful error - "buffer overflow", classic method of code injection
Hi, Sorry for probably an easy question but I just started learning how to mql5. Let's say I have two simple pending orders, a long and a short, waiting to get triggered trade.BuyStop(0.1,longpriceentry,_Symbol,LTP,LSL, ORDER_TIME_GTC );
Last week I started testing my robot, I use MT5, Metaquotes broker demo, average ping about 7ms. However, today during the day I noticed two such trade entries. I wonder how he was able to trade in places where there are no charts. I use VPS exclusively for trading, so there were no work
Hi guys I am looking for a MT5 utility that enables me to open the same trade an x amount of times instantly. FOR example if I buy 100 lots of EUR/USD i want it to automatically open 4 other buy positions of the same volume at the same price. Then when i close the main trade or modify it with a SL...
//+------------------------------------------------------------------+ //| Naz Sell EAs (1).mq5 | //| Copyright 2023, MetaQuotes Software Corp. | //| https://www.mql5.com |
Hello wondering if there is a profitable EA on the MQL market or have they all got a alternative motive. I mean lets face it, if someone had a EA that was profitable, why would they sell it. Very basic discussion but funny enough it may raise some concerns. I have had many EA's from over a period of
[Deleted]
Downloaded the history, still checks for the history, timed out and error message no history data !!! ... this is really frustrating :( Hi Friends I have run the strategy tester about 30 minutes ago and it worked fine. after changing some corrections in my code and when I try to run, I got "no
Is it not possible to have direct control of the entry price when automating buy or sell trades?
(2)
I wanted to see if it was possible to make the EA enter a buy position only when the ask price is less than or equal to the moving average price. NormalizeDouble (currentAsk, _Digits ) <= NormalizeDouble (ma[ 0 ], _Digits ) Full snippet: if (allow_buy && trade_type == market_orders &&
Hey everyone, I noticed a weird number in the MT5 Strategy Tester under the Deposit and Leverage section. It appears before the leverage setting (example: 8 1:100 ). Changing it doesn’t affect the leverage. It doesn’t seem to change anything else either . I can still adjust leverage normally in the
Hello, I was reading this very old article, https://www.mql5.com/en/articles/19 where the author has a dll get the pointer adress (which mql5 doesn't allow you to). The use was to not be copying values back and forth, but accessing the indicators buffers directly. Really interesting what the author
for moderator plase not remove my post , cpanel is part of standar library of mql5 ( https://www.mql5.com/en/docs/standardlibrary/controls/cpanel#sample) is possible remove the button resize in tool bar in up right _ (i attach foto for better details) thanks
Hi guys i notice some error but strange error if some one cangive me some suggest , because i want resolve it by my self because the code is too large i attach a video of defect in practical: When I click on the checkbox, at the variable level, the variable changes as if I had clicked it, but the
#include <Trade\Trade.mqh> CTrade trade; I am new to mql. I have seen the code above in *** but there are parts I do not understand. I understand the first line. We are importing the Trade header file from the Trade.mqh library. What does the second line mean? Are we assigning the CTrade class to a
Hi All I am looking to build a screener that I can load onto one pair that can monitor 20+ pairs. A pair should appear on the screener if a level is broken, in this case the high of the previous day, at particular times of day (asia / london / NY). I have seen a few code examples that are able to
Is ALGO trading better with Python or MQL5
Hello everyone, I am new to trading , currently only doing demo accounts , I just installed a EA and would like to know where I can get set files that I can install , for different pairs, mainly for the scalping strategy which is what my EA is supposed to be good at, ANY RECOMENDATIONS ?, Thanks
Hi guys i try to understund how work dll import in mt5 i use this tutorial https://www.mql5.com/en/blogs/post/753426 i create a dll in VS 2022 c++ , dll ,with this code BybitAPI.dll #pragma once #include "pch.h" #include <utility> #include <limits.h> #ifdef BYBITAPIDLL_EXPORTS #define
Sometimes, I need to use a code that will be not attached to a specific chart. I mean, if I use the same EA in 2 charts(for ex EURUSD, GOLD), then the code of this EA runs twice for both charts which is not desirable. For example, orders closing, I want to do once, for all the symbols... not each of
Apologies for any confusion beforehand, I'm pretty new to EA's and Mql5. That being said I made an EA that was seemingly working fine, then after editing a few things, went to test it again, only to find my Sell function not working because of ' Invalid Stops '. I've had this issue before and was
I need of MT5 EA that open unlimited sell positions only on every 5 seconds,or on every new candle with target profit in pips for every single position,I trade xau/usd,please please help me,this is very important for me.Thanks
EA using indicators downloaded for free from mql5. Is it possible
Hi guys i dnot know if i understund a good logic of a checkbox in cpanel i want know if when i flag cjeckbox it must return 1 and when defalg it must rerun zero ? because in my sript return always zero paneldialog.mqh //+------------------------------------------------------------------+ //|
Hi, I'm working on a netting account. As far as I understand: by reversing an existing position the position will be closed and a new one will be opened with a new id and the contrarian type (buy --> sell or sell --> buy). Am I correct here? But I have difficulties to access to the newly opened
Hi, Is there a way to find what the balance was after a deal finished in the OnTester method at the end of a backtesting pass? I noticed when we traverse through the deal and their properties, in the documentation ENUM_DEAL_PROPERTY_DOUBLE doesnt have a resulting balance property. 1. Is there
Hi. I have the following code from the `TrailingMA.mqh` file that comes with Metatrader: //+------------------------------------------------------------------+ //| Checking trailing stop and/or profit for long position. |
I have a easy strategy. How can I create an EA for the same? or where should I ask for this help
Hi ! I have one question, I have a dialog box on the chart, and everutimi I minimize it it goes on the left top corner and it is dificult to drag it because there is also charts trading panel it that location. Is it posibile to change the place where my dialog box will go when minimize it
Dear Coders! I started a backtest. My expert advisor is trying to open a position immediately at time 00:00. I get 'Market is closed' (TRADE_RETCODE_MARKET_CLOSED, error code: 10018) message, because the trading is start only at time 00:01: How can I check in advance if it is possible to open a
Hello, Can anyone tell me why these bands appear in the MT5 strategy tester? Thanks in advance, (No indicator loaded)

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.