MQL5 Algo Trading community — forex forum for traders and developers
Machine learning in trading: theory, models, practice and algo-trading
(34961 1 2 3 4 5 ... 3496 3497)
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
Anyone knows if there are Forex contests that last 1 year
Lot size = Risk Money / (Stop Loss Distance * Tick Value) This formula retrieves the lot size. Since Price levels are same and tick values are same for every broker that lot size is the common lot size . But the required margin for that lot size could be different due to the leverage of the trading
Hello, I have a question. Is there a way to save a purchased EA or something to keep the EA even if it has disappeared from the Market? I've had a problem before where I bought an expensive EA, it disappeared from the market and I couldn't use it anymore. Thanks in advance for any answers
Although the mql5 file has a password, I wanted to customize the PDF file for myself
The new MQL5 Community website at http://www.mql5.com keeps developing. We invite all of you to make your contribution to this development. The new MQL5 is the evolutionary continuation of MQL4. The new language is characterized by the support of object oriented programming, by a higher code
About 1 month I can't withdraw and the support is not responding. I got this text at withdraw section: Withdrawal unavailable: We need to perform additional verification of your account. This is a standard procedure meant to ensure the security of all MQL5.community members. Currently, no action is
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
//+------------------------------------------------------------------+ //| LinearRegressionEA.mq5| //| Copyright 2024, MetaQuotes Software Corp. | //| https://www.mql5.com |
When running a forward optimization, it's possible to specify that tests from the period that hasn't been optimized should run using the passes from the optimized period with specific values. For example, 'only run passes with a profit factor above x'
A few months ago I started programming products and my question was whether there is a limit for publishing products. (In a certain time)
Hi, I have a balance of $100 in my MQL5 account and I want to either withdraw those funds or use them to buy a EA. I can't find a way of doing any of the two. Can you please assist? Thank you
Hello MQL5 Community, I am currently working on developing a custom RSI Range Marker Indicator for MetaTrader 5 and need some assistance. The indicator is supposed to plot visual markers on the trading chart when the RSI enters or exits a defined range (e.g., between 22 and 24), but it's not
Good morning everyone, I was wondering if there's a way (or if you know an existing EA) that allows you to widen (or remove) the SL for a couple of hours at market closure (due to spreads getting wider) and then putting SL back (or close the position) when spreads come back to normal. I'm thinking
Hi! I'm considering to build a portfolio of diversified forex pairs to be traded with an EA, my account currency being USD ( IC markets and Eightcap as brokers) E.g. I'm thinking of EURUSD, GBPUSD as main pairs and AUDCAD, NZDCHF for diversification purposes as an example. Though, wouldn't this
There are so many systems out here based on indicators and it takes so much time to go through all of them to see which one deserves merit,I simply did not feel like adding one more. However most are indicator based and lagging indicators make it difficult to really simplify trading decisions and
Market Condition Evaluation based on standard indicators in Metatrader 5
(2368 1 2 3 4 5 ... 236 237)
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
Hello, i need create backtest with MA, MACD and Stochastic indicators on daily historical data BTC/USD. I created custom symbol based from EUR/USD and than I changed them to BTC/USD. AFter that I imported the daily historical data to the current symbol. But if I try to make simple backtest than I
Hi everyone, I need support because I'm noticing a problem with my custom indicator. The indicator provides me with a KPI that updates for each new bar. I based an expert on it who, based on the value of the previous bar compared to the current one, must do or not do operations. I had the doubt that
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...
Hello everyone, I am running a python code to trade on mt5 IC markets and Fusion Markets. I want to know what should I do, where to run the code to have the least latency, currently running the code in equinix NY, where they both have a server but still its slow. It shows 0.5ms in the bottom right
Renko Ashi Trading System 2 Please read the pdf manual for this system. Good luck everyone. PS: Reuploaded the fixed ma in applied price indicator. Special thanks to FXchaser PS: Reuploaded the fixed macd alert indicator. Special thanks to Puzzlebird PS: Reuploaded a Special Settings Template for...
hi I would like to know if there is a good strategy when forecasting highs and lows (ohlc), any links that can help
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...
Hello, I want to copy the signal but whiles I find it on the MQL5 website, it is not on my list of signals of the MT4 Terminal. There are copiers of that signal so it should be available somehow. Does anybody know how to copy that signal ? May be one of the subscribers ? Regards, Stephan
I have a question. As it possible to make backtesting strategy for the past I am wondering if its possible viceversa. So that you put trades in and take out the strategy? Thanks for ansvers
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...
SMC (The Smart Money Concept) is different way of market analyzing. I have a SMC strategy which is similar to the bellow example. All I want to know is can I code this thing into an EA or something else to trade automatically? I'm curious to know what is that technology / coding method. Honestly
Whenever I backtest, I look for the result with the higher (Profit / max drawdown) ratio. But in the optimization results tab there is no such a criterion, so after every backtest, I export the result as a spreadsheet and do the calculations there. I'm backtesting on a free EA, so I don't have
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
how to know which of the trade/stock has the highest volume/most gain
Dax Index January-March 2017 Forecast: flat within bullish with key resistance at 11,649 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 11,485 level to above on close weekly bar with 11,649 as a nearest bullish target to re-enter. Thus, the weekly price is...
The indices market is extremely slow these days and I'm not seeing many trading opportunities... The VIX is at 12.25 right now, what do you do when VIX is this low? Do you switch to other markets or do you just take a break? Also curious about Forex traders, are you seeing a similar problem
CAC 40 January-March 2017 Forecast: bullish with key resistance at 4924.69 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 4860.85 resistance level to above on close weekly bar with 4924.69 as a nearest bullish target to re-enter. Thus, the weekly price is...
Trading has a few simple rules - do the opposite of Goldman's Thomas Stolper; don't fight the Fed; and buy low, sell high. However, as this series of charts from Nanex shows, it is the latter rule that is the easiest to comprehend and yet - thanks to massive and obvious HFT manipulation - is an...
I would like to build futures trading mql robot (mostly focus on oil but other commodities interesting also). Unfortunately it's problem to gain hist. futures data, what's necessary for backtesting. So, I wish to ask: perhaps somebody knows where to receive ticks expired futures
Hi, I have recently started learning MQL5 language and all the tutorials are only focused on Forex market. I have been trading Futures contracts(manually) with <Deleted>. So, my question is If i keep learning Mql5 language, will I be able to develop EA for Futures market(with <Deleted>)? Thank you
Inspired by comments and reviews received from MQL5.community members, we have added a new forum section called "Trading stocks, futures, options and other exchange instruments". Share your ideas and trading experience with the website visitors. Reach out to MetaTrader 5 developers if you have...
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.24 17:18 Nikkei Q1 2017 Fundamental Forecast: Bullish (based on the article) Fundamental Analysis "The Bank of Japan has been buying stocks for over two years now. And in September, the...
On which MT5 platform can I find the S&P 500, Nasdaq, and Dow Jones index? It's not the type of CFD, it's the real S&P 500, Nasdaq, and Dow Jones indices on the exchange
I want to demo Options board on MT5 but cant find ANY one who offers it? Where can i try the MT5 options board? Who is currently demo/ real trading with MT5 options platform? its ridiculous i cant find ANY information on how to actually do it/ who offers it. Its almost as if it doesnt exist/ noone
DJIA January-March 2017 Forecast: long-term bullish; resistance level at 19,987 is the key W1 price is located above Ichimoku cloud in the bullish area of the chart: the price is on testing 19,987 resistance lkevel to above for the primary bullish market condition to be continuing. The price is
S&P 500 January-March 2017 Forecast: long-term bullish ranging within the narrow s/r levels for direction W1 price is located far above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following narrow support/resistance levels for the bullish trend to be resumed...
I have recently started using MT5 and am a US resident but I am having difficulty finding a broker that supports MT5. Is there a way around this? I have heard some people using Tradingview and pine connector but looking for the best way to setup MT5 with a US broker. If anyone can help it would be
Hi. I am new to MQL5 so I apologise if I don't describe my issue well or use the correct terms. I am trying to get Indicator values using iCustom and CopyBuffer, but I am just getting zero values. I am working on an Expert Advisor that uses three Indicators: TEMA (9), Vwap bands (9), and CCI (9)
hi, i'm new here creating a new topic, but i search a lot of things. In special this problem if can we help me void RangeBreakout::TotalProfit() { floatingPNL = 0 ; int total_positions = PositionsTotal (); for ( int i = total_positions - 1 ; i >= 0 ; i--) { ulong ticket =
Hello! OrderCalcMargin() cannot be used on indicators . How can I go around this? Thanks
Hi, I'm still using MT4 instead MT5. I have try many times to perform backtest and optimisation test. Once optimization test have done it will show tick graph and result finding on profit, drawdown, risk and etc. How to use/implement the result into real setting EA?
Hello everyone, I am working on an price EMA crossover expert advisor on metatrader 5 which should have the following conditions : 1. if price closes above ema ,an alert is triggered as well a buy stop pending order 2. if price closes below ema ,an alert is triggered as well a sell stop pending
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
Hello, I have a custom EA that works fine in the live market, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell
I am looking for an EA for either MT4 or MT5, any of the 2 works for me that has these characteristics. 1- Be able to set that when the open operation has, for example, "50" pips in profits, that operation is modified and automatically set to breakeven. 2- Be able to set that when the open operation
A must ! Before using it or asking any question : please read the Online Help (Also accessible by F1 on your MT5 platform) Strategy Tester For Traders General overview of the possibilities. Overview of results : Visualize a Strategy in the MetaTrader 5 Tester , The general information about
Why is the panel of some EAs not displayed correctly in MetaTrader? Is there a solution for this problem
I use this code block to calculate the lot size. but when it comes to indices the calculation is very different. as an example, this code block calculates lot size for 10,000$ account with 1:500 leverage is around 3.0 lots. but when it comes to balance 6,000$ with 1:100 leverage , the code is
Hi Can anyone explain the code ordercloseby to me When I use it to close buy and dell orders it gives me error 3 Thanks
I must be really stupid because I can't figure out how to get the strategy tester to work. Every time I press "start" a second passes and then there is a toy beep. I don't understand this. As a newbie to algo trading I have also copied codes from YouTube videos but they also don't work for
Is there a way to connect to a calendar website to track high impact news and turn the EA on/off
(3)
I had a look and it seems it's possible but a lot of the ways I found connected to forex factory but because they have some kind of firewall in place it stopped most EA's that do this from working. Is there any other methods? I just want the EA to pull the news data and be able to turn on/off the
I am using metatrader 5 on a linux manjaro distribution through wine and I am having some coding problems. I am pretty sure the code is right but it keeps giving me compile errors on the OP_BUY and OP_SELL as undeclared identifiers and when I search in the Trade.mqh file I cant find them so
I have a simple indicator that I use a lot in coding and testing, called BarID. Its intent is: for any bar you point to on a chart, to give you both its AsSeries = true and AsSeries = false index values, along with the best I could do to show its date and time, given all that's available are type
Something I have been working some time ago. Multi pair MACD Multi pair CoeffOfLine
On top of it all, the statements were working fine when I was asking just for close price. As soon as I added time, it started throwing up. 1005 double daNowPrce[]; 1006 datetime dtaNowPrce[]; 1007 ResetLastError (); 1008 1009 double dNowPrce = 0 ; 1010 1011 int
I have a signal indicator that should make an arrow on the LL or HH for any timeframe, but it repaints frantically like a rabid racoon on crack cocaine. One idea to stop something repainting is to take the initial signal it found and force it to remain with some boolean logic, another idea would be
Hello, Can anyone kindly add push notification alert when price cross below or over on previous day closed on bar closed? Appreciate your kind gesture. Thank you. D
My knowledge of the mql5 programming language is minimal. But I wrote a simple custom indicator, the task of which is to display arrows near candles that meet certain conditions. First, all points with index i are found that satisfy the condition high[i]>high[i-1] && high[i]>high[i+1] (or low)
sisi: Hi,Mr. Guru could you please help me to constantly refresh an ea after each tick movement. I have tried everything, But I just can't make it refresh constantly. What lines of code must I insert to keep an ea and indicator refresh after every tick? Tnx I hope you could attach your EA so...
[Deleted]
Hi there, I come to present an indicator to you which I created and who could be useful to some people here. If you are interested, I would be happy to share it. You can see it attached below. Let me know what you think about it and i will be back with the code and instructions. For the moment, the...
Hello everyone, I m looking a good proven indicator for buy/ sell GOLD AUXUSD on 15 minutes and 1 hour time frame for Metatrader 4 (platform Vantage/ Puprime) One for manual trading and one for automatic trading. So 2 different ones. Do you have experience with one ofh these
Here I have written some codes to show that ArraySetAsSeries function does not have any effect in Arrays!! any boddy can help me? why this function has no effect in my metatrader??? #property indicator_chart_window #property indicator_buffers 1 #property indicator_plots 1 //---- plot Label1
Hi guys, I don´t know what else to do now, so I ask for a bit of help. I´ve been struggling for several days now. I´m rewriting a MQL4 indicator that I created into MQL5. I just want the MA slope, and I normalize it with the ATR, so then I can aggregate this indicator values with the same indicator
But i can't change to ema mode because I can't get the prev_value
I am trying to customize ichimoku cloud in MT5 to better fit the volatility of cryptocurrencies. Default Ichimoku cloud in MT5 allows changing the Tenkan (conversion line), Kijun (base line) and Senkou span B (Leading line 2). I cannot set time displacement, somehow it is linked to the Kijun (base...
It would be awesome, before using IndicatorCreate, to get a total/count of the indicator's input parameters. Where can I get this in MQL5
Hello i am coding indicator for mt5 And 1.after i launch it the buffers draws out of their values that i didnt load in code this is the first question 2.when i call time value in oncalcuulate indicator freez dont respod to other duals like onchert events or ontimer..etc 3.when i run this function it
Custom Bollinger Bands : Standard Bollinger Bands indicator with averaging features added Author: Lucas Moura Vidal Da Silva
Check out the new article: Neural networks made easy (Part 57): Stochastic Marginal Actor-Critic (SMAC) . Here I will consider the fairly new Stochastic Marginal Actor-Critic (SMAC) algorithm, which allows building latent variable policies within the framework of entropy maximization. When building
Dealing with time (2) functions : Calculate DST for USA, EUR, AUD and RUB and the offset time of the broker from the 70's until 2030 and the automatically even in the Strategy Tester of MQ. Author: Carl Schreiber
Check out the new article: Neural networks made easy (Part 68): Offline Preference-guided Policy Optimization . Since the first articles devoted to reinforcement learning, we have in one way or another touched upon 2 problems: exploring the environment and determining the reward function. Recent
Check out the new article: Developing a Replay System (Part 36): Making Adjustments (II) . One of the things that can make our lives as programmers difficult is assumptions. In this article, I will show you how dangerous it is to make assumptions: both in MQL5 programming, where you assume that the
Check out the new article: How to build and optimize a volatility-based trading system (Chaikin Volatility - CHV) . In this article, we will provide another volatility-based indicator named Chaikin Volatility. We will understand how to build a custom indicator after identifying how it can be used
Discussing the article: "Population optimization algorithms: Micro Artificial immune system (Micro-AIS)"
(47 1 2 3 4 5)
Check out the new article: Population optimization algorithms: Micro Artificial immune system (Micro-AIS) . The article considers an optimization method based on the principles of the body's immune system - Micro Artificial Immune System (Micro-AIS) - a modification of AIS. Micro-AIS uses a simpler
Check out the new article: Developing a Replay System (Part 35): Making Adjustments (I) . Before we can move forward, we need to fix a few things. These are not actually the necessary fixes but rather improvements to the way the class is managed and used. The reason is that failures occurred due to
Check out the new article: Build Self Optmising Expert Advisors in MQL5 . Build Expert Advisors that look forward and adjust themselves to any market. Self-optimizing automated systems are essential in today's dynamic financial markets. Developing a trading bot that can adjust to current market
Check out the new article: Building A Candlestick Trend Constraint Model (Part 1): For EAs And Technical Indicators . This article is aimed at beginners and pro-MQL5 developers. It provides a piece of code to define and constrain signal-generating indicators to trends in higher timeframes. In this
Check out the new article: Creating a market making algorithm in MQL5 . How do market makers work? Let's consider this issue and create a primitive market-making algorithm. Many people think that a market maker does not bear any risks at all. However, this is not the case. The main risk of a market
Check out the new article: A Generic Optimization Formulation (GOF) to Implement Custom Max with Constraints . In this article we will present a way to implement optimization problems with multiple objectives and constraints when selecting "Custom Max" in the Setting tab of the MetaTrader 5
Check out the new article: Population optimization algorithms: Bacterial Foraging Optimization - Genetic Algorithm (BFO-GA) . The article presents a new approach to solving optimization problems by combining ideas from bacterial foraging optimization (BFO) algorithms and techniques used in the
WinSock:
A WinSock library and a client/server example
Author: rob
Check out the new article: Developing a Replay System (Part 34): Order System (III) . In this article, we will complete the first phase of construction. Although this part is fairly quick to complete, I will cover details that were not discussed previously. I will explain some points that many do
Hello ; I want the value of S1Buffer in time frames lower than 15 minutes to be equal to its value in time frame 15 minutes, but currently the value of S1Buffer in lower time frames is not equal to its value in time frame 15 minutes At the same time, the rest of the buffers, which include
I keep getting an authorization failed message when I attempt to login to my account in MetaTrader 4. Please help
If you have questions about MQL4, MT4, MetaTrader 4, please post in this thread. Especially when your questions are related to trading functions
[Deleted]
Hello, I try since Friday to creat an EA that can open orders of 5 mintues expiration cause I will link it later to a Binary options plateform. I almost used all solution on this forum creat a datetime variable in order to use for closing the order: Exemple 1: datetime et = Time[0]+(5*60); int...
Hello, i'm trying to build an EA. When I run it works as coded, the problem verify once the condition for Long or Short position are met. Let me explain deeper, when the price met all the conditions to open a Long/Short position the EA open the position, when the price hit the StopLoss or TakeProfit
Dears, Here I encounter a problem when I want to call the color out of my custom indicator. For example, I have a trendline in changing color. Green means uptrend and Red meand downtrend. When the color changes from red to green, place buy and vice versa. The question is how to call the color or...
Hi, some good indis found in the internet (4shared) in this topic! First, a smoothed non-repaint version of macd indicator coded by igorad and mladen. Cheer´s
Hello, Normally, Stop Loss execute in broker server and it send a data of Stop Loss value to broker. This has a disadvantage of too many operation and also Stop Hunting from most of the Forex brokers. To avoid this, i heard there is a concept called Virtual Stop loss which act same as normal but it
Who knows which technical index of mt4 is better and whether the bollinger band works well
Hello, I would like to warn the community about comparing prices. Code like: Close[n] < Close[n+2] is not reliable and gives invisible differences for the logic from what you can tell, when using Digits to limit the number of displayed digits. I just found this out by going a bit crazy on code that
I want the value of S1Buffer, which is calculated in the 15-minute time frame, to show the same value for lower time frames, such as the OpenBuffer, CloseBuffer, and COBuffer buffers, which work the same way. Can anyone help
Hi everyone, I'm trying to write mql4 code that.... as soon as the last open trade in chronological order closes due to reaching TP, all the other open trades and all pending orders also close. Obviously I'm not an expert, however I tried different solutions but I was stuck. Can anyone give me
Hello, I made the code, which close old trade after X time from Order Open Price. My code : void StopOrderSL( int trade_close_magic) { for ( int pos_0 = OrdersTotal () - 1 ; pos_0 >= 0 ; pos_0--) { OrderSelect (pos_0, SELECT_BY_POS, MODE_TRADES); if (OrderSymbol() != Symbol () ||
Hi, im having this problem, i developed a custom indicator and added a licence to it which includes the account number and expired date, i use to compile it and works fine, but suddenly im getting this error sayin that my account is not registered which it is cuz i have not modified anything on the
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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.