MQL5 Algo Trading community — forex forum for traders and developers
Win11-ARM64, MT5:MQL5.community 16Dec22 Build 3550 MQL5 works fine, after upgrade to 3802 it fails to MQL5 login. (Parallels&Mac)
(11 1 2)
Problem on a Windows 11 Home 64bits ARM install: After upgrading to build 3802 (64bits) All charting, orders are working, but MT5 can't login any more at the MQL5. Nothing changed at the login name or password no need to re-enter it, downgrading and it works again without any entering U/P Hardware
Hi, I got these lines once I want to test my EA using strategy tester, does any one had the same issue? RM 0 11:57:28.370 Core 1 connecting to 127.0.0.1:3003 NJ 0 11:57:28.494 Core 1 connected FP 2 11:57:28.566 Core 1 disconnected MN 0 11:57:28.566 Core 1 connection closed I am totally confused, I
MetaQuotes has launched new MQL5.community information channels on Facebook, X.com (Twitter), and Telegram. These channels provide daily publications of relevant technical materials from the MQL5.com Articles and CodeBase sections. They are designed to promptly update developers on algorithmic
Hi, I am using the same broker to display the 4H chart on both MT5 and MT4. I have recently switched over to MT5. There is a discrepancy in the way the 4H bar is displayed on the MT5. For some reason, the MT5 displays the bars from 12:00 onwards, while MT4 displays it from 11:00 onwards. As such
I use telegram automatic copier on mt5 with several traders, I can set comments for each trader, this would be necessary to be able to check them how successful they are, it displays well in the history tab, but it not shows well in the report history, there is a number 0 next to the names, so I
So I noticed recently that with the update, MT has removed the ability to copy signals to a demo account. Reasons why this is a terrible update: - Can no longer use a demo account with the same broker as the signal provider, in order to copy special symbols. Which I was then able to use a copy
Regarding the Profile > Charts page (https://www.mql5.com/en/users/username/charts), is there a way for the MT5 (or MT4) to automatically upload the chart screenshot every time a trade closes? And if MT5/MT4 cannot do this by themselves, can anyone suggest an EA/indicator that can do this? Important
Machine learning in trading: theory, models, practice and algo-trading
(36244 1 2 3 4 5 ... 3624 3625)
Good afternoon, everyone, I know that there are machine learning and statistics enthusiasts on the forum. I propose to discuss in this topic (without holivars), share and enrich our own knowledge bank in this interesting field. For beginners and not only there is a good theoretical resource in
Hi. I have a farm of 20+ dedicated 24/7 strategy tester agents and I would like to sell this service to users for testing their strategies. Is this possible ? Regards Denny
[Deleted]
Hi. I tried to change login password here on mql5, but when I did I got a notification that a security code was sent to my mql5 mobile app as a push. This code I have not received on my mql5 mobile app, and now I'm locked out. If I try to get a new password same thing happens, I need to verify with
Hello How I can explain my issue to a service desk? I don't want a robot answer
My main mql5 account I seem to be locked out of now with no way of getting back in. I was using my phone for OTP passcodes for unknown IP addresses. This I setup in my account security page, in mql5.com on the browser. I've lost my phone that was setup to receive OTP codes, and so now I cannot login
Market Condition Evaluation based on standard indicators in Metatrader 5
(2381 1 2 3 4 5 ... 238 239)
I just started this thread as a continuation of the talking made on this topic (we can read it). Or ...to make it shorter: it was some discussion about forecasting/predicting of the next candle or direction of the movement or market condition evaluation. And it was around standard indiocators in
Discover in 15 Minutes: Watch the Video about Trading Signals in MetaTrader 4 and MetaTrader 5 The most frequently asked questions related to the Signals service will be collected and processed in this topic. The list of questions will be updated from time to time. Soon we will try to give answers
Hi, With this topic I would like to contribute in a very serious way to the world of the martingale "believers". For those who don't know me or doubt my intentions google on "fxigor". So I hope with this topic that I can make a new wind blowing in martingaling. Let me first answer the question to...
In our technologically advanced world, programming and computer science have become transformative disciplines that drive innovation and shape society. Programming, as an art form, combines creativity, logic, and problem solving to create elegant and efficient solutions. Fusion of science and
I'm having some large discrepancies between strategy tester and live trading (shocker). I recall looking through the backtest and forward test results after optimizations and my MFE was always very good, i left little on the table I was content. However after running my latest test it would seem I'm
This thread won't be about a question or problem, but rather about the anouncement of the presentation and documentation of an exciting trading concept. I plan to do a series of postings here in order to keep you guys updated. Anybody who has an opinion on the topic, please don't hesitate to comment...
As from the title, I mean which method has the best ratio safety/profitability for you (support resistance based, atr based, range based, time based etc etc.) Share your opinion...
Recently I was experimenting with a couple of indicators used for a non-scalping system presented by BigBear - https://www.mql5.com/en/forum/177573 I was debugging one of the indicators when I switched to the M5 chart and noticed a nice setup for a quick short trade... hmmm.... probably a...
Good morning Without being the holy grail, I think it is still a step or two in its direction. Here is my opinion It is practically impossible to fit into a time frame even with a lot of information. Often it's trying to make a decision on 1 bar How to choose a bar among many others? I think the
I decided to make some indicators' review based on trading experience and using them inside manual trading systems. So, please find the first thread about Stochastic Oscillator. Feel free to add or write any comments concerning this indicator about how to use it inside trading systes, how to trade
Hi, I've met this 2 statement that's contradict with each other many many times when reading about trading strategy. Here's the statements: 1. Not all strategy works on all timeframe. And what I take from this statement is that each timeframe act differently to each other. 2. In
Let's think how we can automate it. If there is someone who's using this strategy, could you show key-points of it? Let's check together if the strategy is working
In this thread we will build our own Bollinger Band strategy by combining our heads together. Let's discuss: DISCUSS: - what do you think is the best way to recognize RANGED and BREAKOUT? - what other indicators complement the Bollinger Band? - what is in your experience the best timeframe for...
For quite some time I have been working on a multi currency EA. It is a trend following architecture that buys dips in an uptrend and sells peaks in a downtrend. A lot of work has gone into the code. It si built so as to run optimzation one pair at the time and then when running in "multi" reading...
There are plenty of resources on the internet with analytics. But I am interested in the opinion of real traders, not analysts. Please share your expectations and forecasts. Do not copy analysts' posts and insert links to them. I am interested in traders' opinions and news + links to the news, which
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
how to know which of the trade/stock has the highest volume/most gain
If BTC/USD has support at $68,000 and resistance at $70,000, what type of group or person would keep dumping at $70,000 when they make very little profit from a buy at $69,000
Until now I am unable to test settings or trade stocks with Galileo FX robot on the MT5 platform. I have a stock-account at OANDA, who say the issue might be at MT5. Galileo FX says the issue might be at OANDA. I start to believe this will never work. Has anyone a suggestion
Hello all, This topic is extended to those who utilise algos or trade manually. I am looking to gain an insight from traders who have maybe migrated from CFDs to trading futures, or perhaps those who trade futures alongside CFDs. I would like to know your "why" - is it due to portfolio
Hello all, I have a few questions for anyone with knowledge and/or experience trading futures. Any input would be greatly appreciated. From experience scalping in live market conditions, how does slippage and spread compare to trading CFD in markets such as FX? Is there a notable difference, and
Hello community, A code MQL5 for some years. Did my stuff... algos.. indicators... and now I`m facing a new challenge which I think I do not have enough knowledge to foresee the next steps What are the steps in a higher level to achieve an integration with Binance for trading via MQL5? I saw some
Fellow hobbyists, please advise where to find an exit to the NYSE via mt5
hi all every broker has a limited global stock of major or popular companies do you have any idea if i can find any broker uses mt4/5 demo/real account which provide more range of us and europe stocks. and etfs and it will be perfect if its charts have a premarket or night prices as i just want to
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.25 06:50 Hang Seng Index Q1 2017 Forecast (based on the article) "Underlying sentiment surrounding Hong Kong stocks has remained negative with underlying concerns surrounding...
How to display extended hour prices on the chart and for the EA? There are large price variations between the end of regular hours and the start of regular hours for a stock. We don't see these variations so my EA and almost all EAs designed for stock trading can't track movements and trends well
I'm trying to figure out if I can have a list of all my trades for the same utensils separate rather than one bulk position in the tool box/terminal box. Is this even possible? Thanks
Bitcoin vs USD January-March 2017 Forecast: key resistance level at 850.15 to be broken for the bullish trend to be continuing Weekly (W1) price is located above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following support/resistance levels: 850.15...
Dear support team, I hope this message finds you well! My team is looking to migrate our highly profitable trading algo to another home and we are trying to find what platform will provide the most benefits. The following are some questions we still need answers to that we have been unable to find
I've been working on an EA, and over time, I've added several libraries that depend on other libraries. Since I was collaborating with another programmer, the code has become quite extensive and difficult to manage. I know it wasn't the best way to organize it, but now I'm wondering if there's an
Can you tell me if this is a realistic tester figure? And is this a good or bad result for a year with a deposit of $3,000
What is MQL5 Wizard : The MetaTrader 5 Trading Platform includes the MQL5 Wizard , which allows to quickly generate code of an Expert Advisor (Expert Advisor builder). With MQL5 Wizard, knowledge of programming languages is no longer a prerequisite for creating trading robots . In the past, it
Hello, I'm having trouble solving a problem. A source code that initially didn't present any errors is now showing 102 errors during compilation !! Unable to find the source of the problem. I consulted ChatGPT4, and it provided the following response below. In your opinion, since I'm not a coder
Hi All, I have written a logic in MQL5 in Meta trader 5 but when I backtest this strategy I get this error: failed [Invalid request] Error opening order: 10013 I tried so many things but the error is not getting resolved. Need some help
// Input variables input double TradeVolume= 0.1 ; input int StopLoss= 1000 ; input int TakeProfit= 1000 ; input int MAPeriod= 10 ; // Global variables bool glBuyPlaced, glSellPlaced; // OnTick() event handler void OnTick () { // Trade structures MqlTradeRequest request; MqlTradeResult result;
#property copyright "FrostBite" #property link "orbilloalvin157@gmail.com" #property version "1.00" //+------------------------------------------------------------------+ //| Expert initialization function |
Hello, I have been struggling for the past 2 days to understand what's wrong with my code. I am new to coding. I have done similar EA's, but this is the first time I encounter this issue. All seems good to me, I also used chatgpt to recheck the conditions and make sure to debug the errors and type
Hello, i'm pretty new to automated trading and have a problem. I'm trying to programm a EA that open a trade (under specific conditions) at the high of the previous candle. My problem is that i try to set the stop loss at the low of the previous candle. I got the Low and the high of the previous
Hi fellows coders, I tried to use Shared memory (through File Mapping), by first setting up the required space using CreateFileMapping. But i kept getting error 6 <=> INVALID_HANDLE ( the error is collected through the following function kernel32::GetLastError() ). Even tho i tried multiples
Hello guys, I have some advice for an error that I can't understand. I developed an EA on mql5, everything works precisely, I only have one problem that I can't solve, sometimes (it happened 3 times in about a month) the set take profit is not respected and the position is even closed negatively
Hi community, For somes EA which are a bit complicated, multi timeframe & multi currency, sometimes the queue of events which are pending to process (Onchartevent, etc...) could increase and maybe overflow. Is there any solutions to acess to this queue ? That could help to improve stability of
I am facing a strange behaviour of the visual tester agent in MT5 I do not understand. I have a custom (home made) expert system that I am developing by long time. The code looks to work good by the program point of view; i t is compiled without error and, for example, I can launch it in the
Hello everyone, I'm Abel Nicholas, based in Los Angeles, and I’ve been exploring automated trading for a while now. I’ve worked with some basic strategies but am eager to enhance my skills in MQL5. I’m particularly interested in developing custom indicators and optimizing Expert Advisors. I’m
Hi, I'd like to know how can I know, within an indicator's OnCalculate, that the current bar is finished (that is, no new ticks will be send to that bar) without having to wait for a new tick, a new call of OnCalculate, addressed to the next bar. The scenario I have in mind: I have an indicator that
Hey guys, I wrote a custom indicator that has two buffers, named as VIDYA and OTT. The problem is they show correct values when dropped on the chart, but wrong OTT values when testing in visual mode. VIDYA values are correct in both modes. Does anyone have an idea about the reason and solution
RSI_Test.mq5 | //| Copyright 2024, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property strict // Input parameters for the RSI input int
I have attached two order block scripts that I coded. Any kind soul willing to help turn it into a indicator. Am sure the community will benefit from such kindness
Hello, everyone. I have a supertrend indicator. I want to set candle color according to supertrend's trend like attached image . could you help me? Thanks
Hello Folks, Recently I had to shift from mql4 (which I can code) to mql5 I want to create a moving average on a custom array that I have after some calculations in mql4 I used to calculate it as follows customMA[i] = iMAOnArray(customArray, Bars , maPeriod, 0 ,maMethod, i); I have done my search
Hello The indicator only reads the value for candle 0 and the value for candle 1 only If I change this line: for ( int j = i+ 1 ; j > 0 ; j--) And make it : for ( int j = i+ 2 ; j > 0 ; j--) The data for the indicator values becomes completely wrong My question is how do I make the indicator
https://www.mql5.com/en/docs/runtime/event_fire desperately needs update. Found a statement here: https://www.mql5.com/en/book/applications/indicators_make/indicators_test Attention! When testing indicators in the tester, the OnDeinit event does not work . Moreover, other finalization is not
Hello, I found an interesting indicator on Trading View - Z-Score Heikin-Ashi Transformed by EliCobra (tradingview.com/script/MFW8vsmU-Z-Score-Heikin-Ashi-Transformed) I am trying to create it MQL5 and I think I am almost done but at the end of the day it fails. Plotting regular HeikinAshi on the
Does anyone know any reason why my indicator's graphic objects do not get removed from the chart when the indicator is removed? After the indicator is removed, the objects appear in the chart's object list (CTRL-B). I'm using the latest build 4410 21.06.24 I'm calling ObjectDelete on all graphic
I want to write a script to export the values of the current indicators on the chart, but I cannot give them nice label names because there is no function to get the buffer name
... Improperly formatted code removed by moderator. Please EDIT your post and use the CODE button (Alt-S) when inserting code. Hover your mouse over your post and select " edit " ... ... implicit conversion from 'string' to 'number' Teste.mq5 14 60 'TotalItems' - undeclared identifier Teste.mq5 42
Hi, I just want to know how does this guy was able to develop such an indicator that can be inserted as an object, and also how can he move the object(volume profile indicator) like this? https://www.youtube.com/watch?v=rH1wUSO1iXo (I know he did it in mt4 but I'm using mt5 and want to do it in mt5)
Hello, I found very useful Key Levels indicator from codebase here But the problem is that it draws lot of lines to the charts and during rapid price movements, like news, this indicator laggs candles, price and charts overall. So I would like to know is there any way to reduce the number of those
indicator plot nothing but compile with no error plz highlight my mistake #property indicator_chart_window #property indicator_buffers 2 #property indicator_plots 2 #property indicator_type1 DRAW_ARROW #property indicator_color1 DodgerBlue #property indicator_width1 2 #property indicator_label1 "buy
TimeServerDaylightSavings : Time-related functions for empirical detection of server time zone and daylight savings mode (DST) from history of quotes Author: Stanislav Korotky
Check out the new article: MQL5 Wizard Techniques you should know (Part 25): Multi-Timeframe Testing and Trading . Strategies that are based on multiple time frames cannot be tested in wizard assembled Expert Advisors by default because of the MQL5 code architecture used in the assembly classes. We
Check out the new article: Modified Grid-Hedge EA in MQL5 (Part IV): Optimizing Simple Grid Strategy (I) . In this fourth part, we revisit the Simple Hedge and Simple Grid Expert Advisors (EAs) developed earlier. Our focus shifts to refining the Simple Grid EA through mathematical analysis and a
New article Drawing Channels - Inside and Outside View is published:
I guess it won't be an exaggeration, if I say the channels are the most popular tool for the analysis of market and making trade decisions after the moving averages. Without diving deeply into the mass of trade strategies that use...
New article Mathematics in Trading: How to Estimate Trade Results has been published:
We all are aware of that "No profit obtained in the past will guarantee any success in future". However, it is still very actual to be able to estimate trading systems. This article deals with some simple and...
Check out the new article: Сode Lock Algorithm (CLA) . In this article, we will rethink code locks, transforming them from security mechanisms into tools for solving complex optimization problems. Discover the world of code locks viewed not as simple security devices, but as inspiration for a new
Dashboard Panel for displaying information on the chart : This code shows how you can create a dashboard to display all the relevant information on the chart Author: Omega J Msigwa
New article MQL5 Wizard techniques you should know (Part 03): Shannon's Entropy has been published: Todays trader is a philomath who is almost always looking up new ideas, trying them out, choosing to modify them or discard them; an exploratory process that should cost a fair amount of diligence
Custom crosshair cursor with synchronization : Synchronized custom crosshair indicator showing price and (server/local) time. Author: Soewono Effendi
EMA to SMA MACD - extended: Short description. Author: Mladen Rakic
Perfect Seconds Chart : Perfect Seconds chart indicator allows you to convert minute candles of live data into seconds. 1. Choose any number of seconds to close a bar with accurate time. 2. This is Live OHLC rates based data, It works even if ticks are not available. 3. No external DLL required, it
Discussing the article: "Introduction to MQL5 (Part 7): Beginner's Guide to Building Expert Advisors and Utilizing AI-Generated Code in MQL5"
(12 1 2)
Check out the new article: Introduction to MQL5 (Part 7): Beginner's Guide to Building Expert Advisors and Utilizing AI-Generated Code in MQL5 . Discover the ultimate beginner's guide to building Expert Advisors (EAs) with MQL5 in our comprehensive article. Learn step-by-step how to construct EAs
Discussing the article: "Learn how to trade the Fair Value Gap (FVG)/Imbalances step-by-step: A Smart Money concept approach"
(20 1 2)
Check out the new article: Learn how to trade the Fair Value Gap (FVG)/Imbalances step-by-step: A Smart Money concept approach . A step-by-step guide to creating and implementing an automated trading algorithm in MQL5 based on the Fair Value Gap (FVG) trading strategy. A detailed tutorial on
MovingAverages:
The MovingAverages library is a part of Standard package of MetaTrader 5 client terminal.
The library contains functions for calculation of different types of moving averages. Totally, there are 8 functions that can be divided into 2 groups of functions of the same type, each...
Check out the new article: From Novice to Expert: Collaborative Debugging in MQL5 . Problem-solving can establish a concise routine for mastering complex skills, such as programming in MQL5. This approach allows you to concentrate on solving problems while simultaneously developing your skills. The
I've been looking for the answer to the captioned question, but been unable to find it so far. CHARTEVENT_KEYDOWN can only pass code of a(one) pressed key by lparam. Thus it can not tell "shift + z" key input from "z" key input. Is there any way to capture a set of two key inputs, like "Ctrl + a"
The MetaTrader 4 update will be released on Friday, May 24, 2024. This version provides important security improvements, error fixes, and platform stability enhancements. The update will be available through the Live Update system
Hi coders, I have a technical issue that I cannot resolve it. I have an entry condition as follows :- double Hi0= iHigh (sym, 60 , 0 ), Hi1= iHigh (sym, 60 , 1 ), Lo0= iLow (sym, 60 , 0 ), Lo1= iLow (sym, 60 , 1 ); bool BuySignal= ... && Lo0>Lo1 && ...; bool SelSignal= ... && Hi0<Hi1 && ...; To
Hi; wrote this code that will send order entry confirmation to monitor screen and cell phone. if (TimeStamp != Time[ 0 ]) { SendNotification ( "SELL Order Possible! / " +Currency); MessageBox ( "SELL Order Possible! (" +Currency+ " /
Suppose I want to run a scan through all markets available with my broker to look for favourable trades. Say I want to look for any stocks that have reached a yearly minimum. Can I do that with MQL4? I note that the technical indicator functions all have a symbol parameter, so clearly they don't...
Hey Guys. I tried to run my EA and it's supposed to set two Sell Limit orders at the top. However, only one Sell Limit order is placed. I checked the error and it says "Trade Operations Not Allowed By Settings". The thing is, I already enabled automated trading button, checked the boxes that allow
Hi Guys. I bought some indicators few years ago. Everything was working perfect until about 3 months ago. When my mt4 in not running for few days and when I want to open it, it freeze. I already noticed that when I delete the indicators that I bought from MQL4 then mt4 is opening with no problem. So
Hi everyone, i'm new to MQL4 and i'm working on an EA similar to an MA ribbon. I shared both the indicator and Ea versions. I had no issue with the indicator version, but i was getting "Array out of range" error in the EA version, so i added the arraypush method as a solution. However, i don't
My trading strategy is martingale that if there is deficit and next order is ready to open based on signal. I coded some functions for handling buy and sell orders seperately. Problem 1. if I change the cindition from "if (ticketBuy[position] == -1)" to "if ( orderType == OP_BUY &&
Hello, I'm preparing to call a DLL within MT4 and I've come across one construct which I can't get to work. The original C++ code is here: typedef void (TA_CC * TrialCallbackType)(uint32_t, void *); TURBOACTIVATE_API HRESULT TA_CC TA_SetTrialCallback(uint32_t handle, TrialCallbackType callback, void
The thread about threads: what's going around the forum everywhere ============ MT5, mql5, mql5.com suggestions for improvement thread ============ Requests & Ideas The beginning Requests & Ideas, the beginning - the thread Suggestions for Trading System thread After Requests & Ideas (MQL5
I tested a trading robot on one broker's account, and the results were positive. However, when using the same robot on another broker's account, the results were negative, even though I chose the same time and currency pair. What could be the reason for this difference in results? Even though I
hi guys I'm trying to make a label on my EA that will display the possible loss amount of my current open multiple sell orders. I have a horizontal line that will give the price, the price that was given by the horizontal line is will be used as Stop Loss price on my formula that will compute my
Hi everyone, I'm facing an issue with my Expert Advisor (EA) on MetaTrader 4 , connected to a demo account with [name redacted by moderator] . When I try to place an order with a predefined Stop Loss (SLO) , I receive the Error 130 ( Invalid Stops ) , even though I've already tried the following
Hello, I've modified this indicator but somehow candles and other indicators display on top of its background. How to get the Background on top of the candles and any other indicator? I tested modifying this but it's not working: ObjectSetInteger ( 0 ,name, OBJPROP_ZORDER , 0 );
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.