MQL5 Algo Trading community — forex forum for traders and developers
Hello guys, I'm experiencing issues importing E-Mini Nasdaq-100 Futures (NQ) data it into MetaTrader 5 for backtesting purposes. https://firstratedata.com/blog/1/importing-historic-data-mt5-metatrader-5 Following the guide above, I attempted to import 1-minute historical data from January to October
We have updated the MQL5.com Chat to further enhance the user conversation experience. Check out the new service interface and updated functions, such as the revised friending logic. Create groups on financial topics, join existing channels, discuss current issues with fellow traders in group chats
Tried to feed in: - closing prices - difference of closing prices of N candles in a row - difference of closing prices of N candles in a row from all allied pairs on both the euro and dollar sides, on the eurodollar pair - ratios of candles' shadows to their bodies of N candles in a row - ratio of
Comments that do not relate to the " Ask for help ", have been moved into this topic
Recently, while tidying up my old laptop, I accidentally stumbled upon a folder lost in the wilds of directories. I clicked on it. And there it was. Nostalgia. A darkness of pictures, gif-files, screenshots and all kinds of windows of multi-coloured GUI and controls.... All written by me in MQL4/5
As title. the buy side postions outside the original too much... While it is normal when I am using original Windows 11... This is NZDUSD, normal spread should not over 30...but now, it is over around 80 points... The EA I have done the BT yesterday and it is normal situation
New MetaTrader 5 Platform Build 4730: Extended OpenBLAS support and general performance optimization
(3)
The MetaTrader 5 platform update will be released on Friday, December the 6th, 2024. The MQL5 update introduces support for more OpenBLAS library functions, as well as the TransposeConjugate and CompareEqual functions. They will provide wider opportunities for working with matrices and vectors. In
Hello, I did try new beta version but MT5 do not show obv correctly, how return to old version and communicate to MT5 team? thanks
GBP/USD April-June 2017 Forecast: ranging below Ichimoku cloud for direction W1 price is below Ichimoku cloud for the bearish ranging market condition within the following support/resistance levels: 1.2569 resistance level located near and below Ichimoku cloud in the beginning of the secondary rally...
Dollar Index April-June 2017 Forecast: ranging correction W1 price is located above Ichimoku cloud in the primary area of the chart. The price is on secondary correction which was started in the beginning of this year by bouncing from 103.80/102.27 resistance levels to below. For now, the price is...
USD/JPY April-June 2017 Forecast: correction to the ranging; 103.79 support is the key level for the possible bearish reversal W1 price is on secondary correction within the primary bullish market condition: the price is breaking the upper border of Ichimoku cloud to below to be reversed to the...
This link provided to me by RaptorUK, give me the idea that it would be interesting to have a place here on the site to share such links. So I opened a new topic, it will be moderated to follow the rules as usual, but also about the content.
Everyone can post but have to provide a quote and the...
Hi fam! Am a total newbie in the forex niche... Just signed up here on this platform... Please where do i start from? I need help... Anyone willing to put me through?
The MetaTrader 5 Web Terminal is an advanced, fast, and reliable trading solution. It operates on any device across all operating systems and does not require additional software installations. You only need a web browser to access your account. To help you get acquainted with the web terminal
So XAUUSD does not open at all. Forex pairs work fine, but XAUUSD won’t let me gain access to the charts. Here’s some picture that may give you guys some idea to what’s happening. Just for the report. I use a MacBook. Is there something specific that I must do
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...
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
Dear friends/Brothers/Sisters,
I want to start this post regarding Price Action. I want people to help about what I know. Please Respond this post, Share the way you know and learn the way I know. I am not a master but a trader like others and also like to know how others doing. Reply and Keep in...
Market Condition Evaluation based on standard indicators in Metatrader 5
(2384 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
Trading and training video (from youtube for example) about forex and financial market in general. thread for April 2013 - look at this thread, thread for May 2013 - look at here,for June 2013 is here.July thread 2013 is hereAugust thread 2013 is this oneSeptember thread 2013 is hereOctober thread...
Well you open two positions at the same time and price. So you close the loss/negative one as soon as you realized the trend. I can only think of swap if it took too long to find the trend
This is the thread about books related for stocks, forex, financial market and economics. Please make a post about books with possible cover image, short description and official link to buy (amazon for example). Posts without books' presentation, without official link to buy and with refferal links...
This is the thread about books related for stocks, forex, financial market and economics. Please make a post about books with possible cover image, short description and offocial link to buy (amazon for example).
Posts without books' precentation, without official link to buy and with refferal...
At the bottom of the market, if the price is rising, you should see volume increasing. So every time you see a spike, volume should increase at that spike. This is accumulation and distribution stage. As the price goes down, volume should increase, and as the price goes up, volume should go down
Good day dear forum members. After reading the forum a bit, I came across several threads on arbitrage and pair trading . Judging by the threads, some are interested and some are trying it. I used to dabble in this topic a long time ago, but my knowledge was not enough. Now I am a complete mess 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
http://www.alpari.co.uk/en/market-analysis-guide/chaos-theory/index.html I had a quick read through and it sounds very impressive. what do other people think? is it good? has an AE been done before based on this theory?
Simple Ichimoku System. Some members remember Ichimoku informational template for Asctrend M5 elite section system thread: https://www.mql5.com/en/forum/174756 and new set of this system from this post. It is so called Ichimoku informational template to check market condition on H4/D1 timeframe...
Quantitative trading, also known as algorithmic trading or algo trading, is a rapidly evolving field that combines finance, mathematics, and computer science. It involves the use of sophisticated mathematical models, statistical analysis, and computer algorithms to identify and execute trading
Last Friday, the new MetaTrader 5 trading platform build 1375 with the Time & Sales option was officially released. The Time & Sales feature in the Market Depth window enables users to view the real-time list of all exchange transactions.
The Time & Sales list provides...
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
Hi I have been trading UNLEVERAGED ETFs on non metatrader broker of Indices (NASDAQ100,S&P500) and Metals(Gold, Silver) . I was always buying .Long The reason for this choice was because no Swap is being charged and I can hold a position for months without much stress. I will now seek MT5 brokers
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
Hi I can't open spx and spy ,AMD on the chart no data What is the issue and how i can fix it
Newbie question I know..trying to place a leveraged buy order for stock RNG.N. Current ask price is at 32,950. Account balance is 103€ with the same free margin (no other open positions) and a 1:200 leverage. For 50 stocks this should be enough, right? Stop loss is not set. Still getting the "not
Hello guys, I just opened a MetaQuotes demo account because they offer real time stock data from the NASDAQ but I saw that the quality of the EOD data is not the best (daily open and close is very often different from other data sources like nasdaq.com). I don't want to trade stocks with the MT5 but
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
Hi all, I am new here and I have started coding my own strategy on stocks, already backtested ***. For the case of NVIDIA which had a 10:1 split back in June, how could I have increased my lot size automatically without stopping my strategy? (Assuming I have money etc...) This is important because
I have a custom symbol for heating oil futures. At times, historical prices have dropped below zero. It seems that MT5 will not accept negative numbers for prices (see image). Is there any way to load negative values or is this not supported
HI all, how can I recall CFD expiration date indicated in properties window? I tried with SYMBOL_EXPIRATION_TIME but I seem it's not correct. Thank you
how to know which of the trade/stock has the highest volume/most gain
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
Hi, I am testing a strategy for the US500 with the python API. My broker ( [redacted] ) has a maximum lot limit of 250 that's creating some issues. For example, if I have $200,000 in my account with 50x leverage (which is not too much for 1 or 5 minute bars outside of peak hours), it would give me
Is there a programagic way (like SymbolInfoDouble, or AccountInfoDouble) to get the broker's commission per lot. From the market watch window, I can get it by right click on a symbol -> symbol specs. Anybody has an idea how the market watch window implemented it? I suggest this feature should be
Hey all, I run optimized tests, selected a result that I liked and run the single test but even though the number of positions and profit was the same, the drawdown wasn't. See images. Anyone knows why it might happen? This is how I run the single test This is how I run the optimized test Thanks
Hello, i do my first steps in mql, so sorry for my simple question. I have a array with prices. I want to updates this array with a new price, so the oldest one must delete and the new price add to the array. The index value are represent the order of the prices 0=the oldest, 3=the newest. //1 start
I want to use the object manual interaction function during backtesting, but I found that the OnChartEvent() function does not work during backtesting. How should it be set? Or is there any other good way
Could someone please help me with this error "- open parenthesis expected" it happens at line 8 and line 22. I don't know what to do. if (range > 650 * Point) if (total_range > 100 * Point) // Function to check the candle condition bool CheckCandleCondition() { // Get the high and low prices of
I have a simple EA that closes my orders at a time that I specify with inputs. At the moment it closes ALL my orders but I'd like to update this EA to only apply to the symbol NZDCHF . Something to note is that I trade multiple accounts that have different names for the same symbol, such as
I have an EA in MT5 which is designed to convert messages into a trade. The connection works, but I have encountered an issue I don't know how to fix. In telegram, I made a bot which recieves webhooks from tradingview. These messages are correctly recieved and displayed on the chat. However the
Hi, I'm trying for the first time this class and followed this guide https://www.mql5.com/en/articles/481 . Problem is that after placing the order I need to get the ticket because I'm trying to manage the operations by myself. The problem is that even the operation is placed and it has a ticket, a
when we creat OBJ_EDIT, we can modify its value manually. But on backtest, if we modify it's value, it can not change. How to solve it
Hi all, maybe someone knows whether there will ever be the possibility of showing "Positions" in the backtest report? In MT4, they were clearly listed using their Open price + time, Close price + time and their total profit/loss. In MT5, only "Orders" and "Deals" are shown with no real connection to
When I access MT5 from python, I can get date and price information, but not last and tick_volume. I couldn't get them with my own code, nor with the official sample code. The result is always 0. from datetime import datetime import MetaTrader5 as mt5 import pandas as pd if not mt5.initialize()
Hello everyone, I'm trying to develop a pattern robot, it should send the signal at the OPENING of the ZERO candle ( O[0] ). It is sending correctly on the Zero candle, but on the next candle it sends the pattern again, even though it is a new zero candle and the pattern is already one candle
Hi i am developing a backtester in python so i have tried to use the official python example https://www.mql5.com/en/docs/python_metatrader5/mt5copyticksrange_py to copy ticks but the volume seems to be always 0. is there any way i can get the volume information as well. Thanks in advance
Do you think anyone can help to explain what is the reason the order will be cancelled automatically? I am a newbie in the EA trade. Some setting was wrong
I want to implement a DRAW_HISTOGRAM2 indicator that can hide all bars. I use the following API to change the width. PlotIndexSetInteger(0, PLOT_LINE_WIDTH, g_width); // g_width is from 1 to 5 I found that it reacts with 1 and 2, and if g_width is more than 2, nothing changes. As a result, the bars
I’m working on an MQL5 custom indicator and I’ve extracted this part of the code to test why the arrows aren’t showing up on the chart. The main logic of the indicator is working as expected, but the plotting is not. Note that this is just a part I extracted from my indicator and I’ve given random
Hi, I noticed that the included indicator Moving Average has no Inputs nor Colors tab but nicely done Parameters tab. Please look at the attached screenshot. There is no code for that Indicator. I asked google and chatGPT but didn't find anything of value. If you know how to make the Inputs and
Is it possible to show the program build date as a property description (line at Common tab of my indicator)? I tried this: static const string MY_BUILD_DATE = TimeToString ( __DATETIME__ ); #property description "BUILD: " #property description MY_BUILD_DATE ...but I get "constant expected" build
Hi. Suddenly the indicators that I have written have become flatter. That is to say, they don't fill the entire screen... REALLY frustrating
Hi everyone . How can I draw a rectangle that shows me the pips value in the corner? In fact, the mql5 code as an indicator that displays the pips value of each rectangle I drew. I have attached a photo as an example
Hello, I need the MT5 source code of RSI with a moving average in order to add it as a custom indicator on mt5. Can you help
Good evening Are there any limitations with #resource? In an indicator I have two resources #resource "\\Indicators\\Ressources\\Dev - Dev Team - Stochastic MTF.ex5" ; string g_Path_Stoc = "::Indicators\\Ressources\\Dev - Dev Team - Stochastic MTF" ; #resource
Hello everybody, I was trying to solve this well-known problem explained by Fabio Cavalloni and others, when I have discovered some really strange behaviour in OnCalculate. I have written a small sample program that reads the closing value in a different timeframe. Inside onCalculate, I check
How can I implement RSI and Alligator on the same chart? I am developing a robot in Python to automate trading operations. I saw that RSI works in a range from 0 to 100 while Alligator works around the maximum and minimum value of the candles. However, I saw that in MetaTrader 5 on the cell phone it
hi gyse. i want convert auto pivot sourse mq4 to auto mq5
I used two VWAP indicators for daily time frame but I couldn't understand why they are difference ? anybody can explain? they are working opposite each other :(
This is what I have so far: //+------------------------------------------------------------------+ //| SpikeCalculator.mq5 | //| Guilherme Cunha Rodrigues | //|
Hi! I just got an "array out of range" in the following code: int evalPos = 0 ; if (checkByTimer) evalPos = glAlertInfo.lastTickBarPos; else if (checkByNewTickIsOfNewBar) evalPos = glAlertInfo.lastTickBarPos; if (evalPos > 0 )
ADX values (DI+, DI- and ADX) on MT5 are different from those on other platforms. I compared "Exponential" moving average with 14 period. Can some one help with the right ADX indicator or EA code please. Thanks in advance
Simple Pip Value Calculator:
"How much is a 1 pip movement on EURUSD (or any pair) worth in my currency???"
It's a question we see asked frequently on the MQL forums and other forex websites. Knowing how much a 1 pip or 1 point move on a currency is going to make you (or cost you) is one of the...
Heikin Ashi Lines : A simpler way to display Heikin Ashi Author: Fernando Carreiro
Breakout Strategy with Prop Firm Helper Functions : This is an update of the "Simple Yet Effective Breakout Strategy". In this code, I have added some helper functions for prop firm challenges. Author: Anh Quan Duong
Check out the new article: Reimagining Classic Strategies (Part 12): EURUSD Breakout Strategy . Join us today as we challenge ourselves to build a profitable break-out trading strategy in MQL5. We selected the EURUSD pair and attempted to trade price breakouts on the hourly timeframe. Our system had
Check out the new article: Trading Insights Through Volume: Trend Confirmation . The Enhanced Trend Confirmation Technique combines price action, volume analysis, and machine learning to identify genuine market movements. It requires both price breakouts and volume surges (50% above average) for
Discussing the article: "Price Action Analysis Toolkit Development (Part 3): Analytics Master — EA"
(5)
Check out the new article: Price Action Analysis Toolkit Development (Part 3): Analytics Master — EA . Moving from a simple trading script to a fully functioning Expert Advisor (EA) can significantly enhance your trading experience. Imagine having a system that automatically monitors your charts
Discussing the article: "Price Action Analysis Toolkit Development Part(4): Analytics Forecaster EA"
Check out the new article: Price Action Analysis Toolkit Development Part(4): Analytics Forecaster EA . We are moving beyond simply viewing analyzed metrics on charts to a broader perspective that includes Telegram integration. This enhancement allows important results to be delivered directly to
EasyAndFastGUI library for creating graphical interfaces: The EasyAndFastGUI library allows creating graphical interfaces for custom MQL programs. Author: Anatoli Kazharski
Discussing the article: "Master MQL5 from beginner to pro (Part I): Getting started with programming"
(31 1 2 3 4)
Check out the new article: Master MQL5 from beginner to pro (Part I): Getting started with programming . This article is an introduction to a series of articles about programming. It is assumed here that the reader has never dealt with programming before. So, this series starts from the very basics
KeyLevels Executor MT4 EA : This EA calculates and visually displays Pivot Points on the chart, while also setting pending orders at R1, R2, R3, and S1, S2, S3 with your predefined stop loss (SL) and take profit (TP) levels. Author: Kommoju Sahityananda Devi
New article Learn how to design a trading system by Stochastic has been published: In this article, we continue our learning series — this time we will learn how to design a trading system using one of the most popular and useful indicators, which is the Stochastic Oscillator indicator, to build a
Force Index (FRC):
Force Index technical indicator was developed by Alexander Elder.
This index measures the Bulls Power at each increase, and the Bears Power at each decrease. It connects the basic elements of market information: price trend, its drops, and volumes of transactions. This index...
Pending orders by time: The Expert Advisor sets pending Buy Stop and Sell Stop order at a specified time. Author: Vladimir Karputov
Comment : A simple replacement for a comment Author: Aleksandr Slavskii
High-Performance Time Functions (TimeUtils) : High-performmance functions for dealing with time. Author: amrali
If you have questions about MQL4, MT4, MetaTrader 4, please post in this thread. Especially when your questions are related to trading functions
Hello guys, I have an issue with calling an indicator in my EA. It is loading multiple times as. I call this EA in a function as below: void OnInit () { double BV( int buff, int shift){ return ( iCustom ( _Symbol , 0 , "BetterVolume 1.4" ,NumberOfBars,MAPeriod,LookBack,buff,shift));} ) /// /// ///
Step-By-Step Guide to writing an Expert Advisor in MQL5 for Beginners has " MetaTrader 5 — Trading systems " in the title of the article so I reckon it is the instructions for writing an EA using Metatrader 5. What is the equivalent guide for how to write an EA using Metatrader 4
[Deleted]
Is there a way of creating a permantent array? It should not be deleted when the indicator is reset (e.g changing timeframe, restart MT4,...). It is possible to create grafical objects and fit its text with the data but is there another way than this workaround? Thanks for any help!
Hello, does anyone know if it's possible to do an automatic refresh on an offline chart (like right-click and refresh)? Maybe with a timer that requests a refresh every X seconds? Or perhaps with a second chart online in the same profile that requests the refresh of the offline chart. The reason is
Topic moved to MT4 section. Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893 Hello, Am unable to view where I have executed my trades on the mt4 chart area. This is not like before where you could view where the execution has taken
After playing around with EA's for a bit, and using the strategy tester mainly to see if the code was actually working I'd now like to progress onto the real why of the history center, and how to use it properly and I can't seem to find the answers or something comprehensive on it. OK I get...
Hello, I dragged my TimeFrames toolbar out of its line in the toolbars bar, now it is a disattached box in my screen like in the picture. I tried deleting it, moving it, closing many times the MT4platform, I got like 6 hours trying. I need help. I don't know what else to do. Thank you
Hi wrote this code (MQL4) that checks currency pairs to contain USD and install the DXY indicator if so. It works as intended except when going between non USD pairs and USD pairs, the DXY is not visible despite MT4 -> Terminal -> Experts tab tells me the Custom Indicator was loaded and installed
Have a nice day. I use a Dialog (Panel) object derived from the CAppDialog class, whose position on the chart is measured by default from the top and left side of the chart. I am trying to change the " anchor point " (left, top) so that its position is measured from the top and RIGHT side of the
[SOLVED] Again the dreaded "No trading operations" error - something wrong with the auto-validation?
(4)
EDIT #1: I've set the max spread allowed to 0.0 in the input settings following the recommendation of @ Fernando Carreiro (thanks!). I've also added a function to close the trades I'm opening on every tick (I wasn't closing them before). Finally there was an issue in the "RunChecksBeforeOrderSend"
Can MT4's Renko chart be calculated using only the close price , like in *** or ***? (live chart) I've tried many Renko EAs for MT4, but they are all based on OHLC data
Hedge is prohibited, How can I fix this problem? Thanks in advane! #4501 Error any help would be nice error | EMA-5-20 @ EURUSD ,5 | OrderSend failed 6 times; error #4051 invalid function parameter value
Hello, thanks for the opportunity to post on the forum! I am working on an indicator to plot arrows onto a chart based on a local CSV file - i can read the CSV file, have the insertions set up but it's just inserting in one place rather than multiple? My CSV format is; 1.75793,BUY,2024.11.22
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
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.