MQL5 Algo Trading community — forex forum for traders and developers
I have a problem today. I copy someone who's trade was set with stop loss. As you can see, 4 trades were closed at that low point because of stop / loss, guess. The question is why the signal still hold his position, and the loss on his account was none, because the price came up again? Theese two
Bom dia! Tive um LOSS ontem efetuado de forma autônoma pela plataforma Metatrader5. Gostaria de uma solução
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
Hi , Im unable to access MQL5 website from one of my primary devices , what couold be the problem . Thanks
Hello, I am new to coding forex EAs. I would like to link an expert adviser so that it starts opening trades when an indicator gives a sell or buy signal
I am using a VPS and suddenly I cannot login to mql5 on my VPS. I receive this error: "Access to www.mql5.com was denied." I can login on my computer with no issues. But I can't login on my VPS. It seems like my VPS IP is banned for no reason and there is no human supporter on this website that
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
Is this limitation based on commercial or technical reasons? It really is a blow to only have just discovered this shortcoming after many hours of coding! Hopefully there is a solution on the way to address this as I wanted to use MQTT or ZMQ to run ML pipelines over the data, then send the signals
Hi, how can I install product from the market after successful purchase
Hello! Since I have updated my MT5 my custom Indices are not working can provide me with an older version (4435)
Hello Sir My name is Nitish Kumar, today i have performed account verification online and i have completed the process but unfortunately it was rejected and could not verified. Please tell me what the next process will be to get verified
The Quotes service provides up-to-date data on financial instruments. Monitor real-time prices to stay informed about global market changes and make accurate trading decisions. We offer: Real-time prices for currencies, cryptocurrencies, metals, indices, and commodities. Interactive charts to
Machine learning in trading: theory, models, practice and algo-trading
(36191 1 2 3 4 5 ... 3619 3620)
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
I had some random results trying to compare brokers and their spreads... So I wrote a little code to see where my spread values were going wrong - see below. Now I'm not sure at all! - the CopySpread function seems to be making it up!? See the example output (suggesting that the spread is either 6
hi i have banned from chatting and i cant reply to my friends how i can solve this problem thanks
(5)
hi i have banned from chatting and i cant reply to my friends how i can solve this problem thanks
Hello everyone, I’ve developed an Expert Advisor (EA) that uses a simple neural network architecture to make buy and sell decisions based on historical price data. The EA includes some interesting features, such as dynamic stop-loss adjustments using the ATR indicator and a momentum-based
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
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
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...
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
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
Is it possible to send order to MT4/MT5 from Ms Excel? thankyou for your answer
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...
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
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...
Is it possible to program buy/sell signal based on the following? Very simple but solid method (Similar to Nina's CatFx50)... http://www.stock-charts-made-easy.com/moving-average-channel.html -The upper boundary of the channel is a 10-period simple moving average of the price high. -The lower
I study correlation pairs and hedge strategy. 2 pairs hedges are difficult to get profit. Does 3 pairs hedge system really work or not? example USDCHF EURUSD EURCHF BUY BUY SELL / SELL SELL BUY Please suggest me some useful hedge system.I want to code it as EA
Market Condition Evaluation based on standard indicators in Metatrader 5
(2380 1 2 3 4 5 ... 237 238)
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 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
Is there a desktop version of the MT5 app? I couldn't find any information about this app in the market database. I intend to use it to trade futures, and I would appreciate any information anyone has to help me out
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
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
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...
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...
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
how to know which of the trade/stock has the highest volume/most gain
Hi When I download an expert ,the widget is not in the correct measurements to be useful.It happens with all experts I download,mostly for closing open orders or similar things. is there a way to fix this in the mt4settings or the laptop(Acer Swift)? Thanks for your insights
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 saved a GlobalVariable() on Friday, and today I had a computer crash, and after I have restarted and checked, global variable is missing . Should that happen
Historical spread during backtesting in the strategy tester is different from the historical spread stored in the Mql rates array. What are they? Why they are different?
(22 1 2 3)
I have found accidently that the historical spread (Ask-bid) used to open and close orders during backtesting in the strategy tseter is different from those stored in the Mql rates.
For example, you can get historical spread using the following code (Lets say your EA is attached on M1 chart)....
I tried searching; this must have been asked before but I couldn't find anything relevant; sorry for asking such a 'stupid' question but; I used ot use mt4, and in back tests it had a tab for 'trades placed' or 'results' or something... that used to show me the breakdown - SL/TP, lot sizes, P/L -
Hi. I can't get rid of these errors at compilation stage. It seems to me that I'm using a correct syntax but if there is an error then I'm definitely doing something wrong. Can you show me where the problem is? Errors: 'SymbolInfoDouble' - no one of the overloads can be applied to the function call
I'm new to MT5 and I was playing with the EA. I dont really understood how the EA work with the indicator but I have learned that the variable "Signal threshold value to open" and "Signal threshold value to close" is used to allow the indicators to turn on or off based on a calculation
Hi! I want to examine specific trades my EA took on the resulting chart produced after the backtest is completed. In e.g. TradingView.com, I just have to click on the trade in the strategy tester report, and it navigates me to the location of it on the chart where the trade was placed. I can't
i have a indicator that sends out signals in the form of arrows i have beentrying to automate the entry and exit of trades, i have been under the assumption that they were created objects (the arrows) but they dont show up on the object list and the code that i wrote used objectsTotal but it doest
I found a solution for the many charts that the strategy tester opens automatically in MT5. Till now I closed them one by one with Ctrl F4 and than clicking on the next chart tab. But this goes faster: On your keyboard: Alt W ... this opens the Windows List. Now select the first of the charts you
double FastEMAValue[ 2 ], SlowEMAValue[ 2 ], ATRValue[ 1 ], TrendEMAValue[ 1 ], HigherTimeframeEMAValue[ 1 ]; double MACDValueMain[ 2 ], MACDValueSignal[ 2 ]; int copiedFastEMA = CopyBuffer (FastEMAHandle, 0 , 0 , 2 , FastEMAValue); int copiedSlowEMA = CopyBuffer (SlowEMAHandle, 0 , 0 , 2
Hi, i'd like to add some functionality to prevent a bot entering a trade a certain number of minutes after a big news event. In the line before a trade is placed, I have added a call to a sub routine named BigNewsAlert(); In this section, i'd like to check if any of the last 5 candles have got a
hi. I have error in my expert. you can find my codes and errors in below. please advice me. thanks. //+------------------------------------------------------------------+//| crossma.mq5 |//| Copyright 2020, MetaQuotes
hello everyone im moj, im working on an expert , i need to identify Highs for my sell and lows for my buy each trick i use like ihigh or ihighest , have problem for example is set sl too far i want to get exact high befor price fall
Hi, I just finished a backtesting with optimization using genetic algo . After optimizations finished I saw below log in journal tab. I am a bit confused why a pass could vary so much. I have not manually added conditions to terminate the tester pass in the code. So its baffling. 1. Could it be that
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
hi i want to add transparency to my rectangles in mql4 , which code should i use
Hi all, I am looking for an Indicator with show Divergence on the macd version i attach below , with a sound alert signal. Can any one programer help out please. Thank you
I am continuing posting information about indicators. So, we have information about Stochastic indicator https://www.mql5.com/en/forum/177239 We have the thread about Momentum indicator https://www.mql5.com/en/forum/176430 Now something about Parabolic SAR. OverviewThe Parabolic Time/Price System,...
This indicator has on the chart buttons that makes it switch between RSI and MACD. The problem is in the fixed min and max in the common tab, there is a prominent difference in readings between MACD and RSI which is the levels. RSI oscillates between 30 and 70 with variations according to the period
Hi everyone. I am currently using Supertrend on TradingView and a similar indicator in MQL5 with the same formula, but the middle line between the two is different. Can someone help me verify which formula is correct to display the middle line similar to the indicator on TradingView? Thank you
Can you help with this indicator cant seem to get it to draw the second timeframe fvg correctly and also not getting alerts for the second time frame //+------------------------------------------------------------------+ //| Fair_Value_Gap.mq5 |
Hi, I was creating an indicator that has 2 buffers. double x_1hr[] , x_30min[]; This indicator has to be used on 4 hr chart (for convenience purpose). But it needs to also populate values in the x_1hr and x_30min buffer array after some calculation in the onCalculate function. The value in these
Right, my patience has snapped. Why is MQL5 falling to realise that I'm trying to code an array? Seriously, it's the most ridiculous, stupid thing I have ever come across. Why am I getting, 'get_high_or_low' - unexpected token, probably type is missing? GlobalNamespace.mqh 342 10 Why am I
Hi,while uploading to metaquotes a new indicator,I receive the following error message:test on EURUSD,H1 (netting)not synchronized with trade serverwhat does it means?thank you
Hello, im trying to make an indicator that extends trendlines to the current time on the chart, this is the code //+------------------------------------------------------------------+ //| HorizontalTrendlines.mq4 | //| Copyright 2024
Hello I am trying to make an interactive line over an already presented 2 other lines. so I can drag it through chart if (ObjectFind(interactive_line_name) == -1) { ObjectCreate(interactive_line_name, OBJ_HLINE, 0, Time[0], Ask); ObjectSet(interactive_line_name, OBJPROP_COLOR, DarkKhaki);
I have been trying to code a simple price pattern indicator to print arrows when pattern is detected but it seems not to work. Please help out
bool IsValidOrderBlock(int index, const double &open[], const double &high[], const double &low[], const double &close[]) { if(close[index] > open[index] && close[index - 1] < open[index - 1]) { if((high[index] > high[index + 1] && high[index] > high[index - 1]) && (close[index] - open[index]
hello, I want to apply moving average or RSI on a second data/line of a custom indicator. My indicator draws two lines. There is no difference between choosing first indicator's data and previous indicator's data. on both options the moving average is calculated for the first line
FastStochastic:
The Fast Stochastic indicator is one of modifications of a popular stochastic oscillator
Fig.1 The FastStochastic indicator
Author: Nikolay Kositsin
Swing High Low and Fibonacci Retracement Indicator : This is an indicator that combines swing high/low and Fibonacci Retracement to identify potential buying zones. Author: Minh Hieu Hoang
Polychromatic Momentum - extended: Denis Meyers that invented Polychromatic Momentum, describes it as: Momentum is defined as the difference, or percent change, between the current bar and a bar some lookback period in the past. The major problem with using momentum based indicators is...
Check out the new article: Neural Networks Made Easy (Part 87): Time Series Patching . Forecasting plays an important role in time series analysis. In the new article, we will talk about the benefits of time series patching. The Transformer architecture, which originated in the field of natural
Simple Order Panel : Source code of simple order panel Author: Manuel Alejandro Cercos Perez
No Loss EA V2 - No Indicator, No Price Action strategy for MetaTrader 4 : "This is the Updated version of NoLoss EA" - As most of the indicators available in the market are lagging indicators that provide information after some time. This strategy eliminates the need to rely on indicators
2-Pair Correlation EA – Free Expert Advisor for Safe and Profitable Crypto Trading! : 2-Pair Correlation EA – Free, Adaptive Crypto Trading Automation The 2-Pair Correlation EA is a free Expert Advisor that trades BTC/USD and ETH/USD, capitalizing on their price correlation. The EA opens trades when
Trend Strength Index : The Trend Strength Index indicator measures strength of current trend. Author: steigein
Market Watch Panel Utilitiy : A real-time monitoring tool for MetaTrader 5 that displays key financial data, allows quick symbol switching, and customizable symbol lists. Save and reload symbols, reset lists, and customize text and panel colors for a personalized trading experience. Author: Tien
Check out the new article: Turtle Shell Evolution Algorithm (TSEA) . This is a unique optimization algorithm inspired by the evolution of the turtle shell. The TSEA algorithm emulates the gradual formation of keratinized skin areas, which represent optimal solutions to a problem. The best solutions
Balance_Reset : This library simulates prop trading firm scenarios by resetting the account balance based on configurable profit and loss thresholds during backtesting, and logs reset results for analysis. Author: Andrei Krisiuk
Check out the new article: Example of CNA (Causality Network Analysis), SMOC (Stochastic Model Optimal Control) and Nash Game Theory with Deep Learning . We will add Deep Learning to those three examples that were published in previous articles and compare results with previous. The aim is to learn
Check out the new article: MQL5 Wizard Techniques you should know (Part 38): Bollinger Bands . Bollinger Bands are a very common Envelope Indicator used by a lot of traders to manually place and close trades. We examine this indicator by considering as many of the different possible signals it does
Reversing Martingale EA: Very popular but dangerous strategy which doubles the stakes after each loosing trade. Finally, if there is enough margin it will reverse into the direction of the current price move and will eventually close in profit. The EA is automatically generated with Mission...
Smart MA Trailing Stop EA - MT4 : Smart MA Trailing Stop EA automatically adjusts stop losses based on your selected MA period and distance between SL and MA. Author: Kommoju Sahityananda Devi
Hi, I have been trading for a few years, and finally decided to take the plunge and learn more about building Expert Advisors. Playing around in - Bots Builder - has helped a lot. I used it to construct a very basic EA. The next step is adding a License Check Function - where the EA expires after 30
Hi, I already have a indicator, but by default there is no alert option, how can i add alert on it? Easy method bcz i am not familiar with coding. Thx
2019 Braintrading EA - from mq4 to mq5 or C# ?! Old Brain EA MQL4: https://www.mql5.com/en/forum/176133 Who has a good EA Braintraiding MQL4 or MQL5? With Fractal dimesion Ehlers. EA is missing. How do I add alerts when the H1 H4 indicator signal appears ?! Important
Been trying to Optimize, some EA's and not getting or seeing anything show up at all. I, would like to know if anyone has this same fault on that version? Thank you
I read the RSI indicator parameters of the 1-hour period on the 15 minute period, I read the parameter was correct. However, when I run the EA open order, I found that the parameters of the indicators read were not accurate,Causing incorrect Openorder locatio
Dear everybody, I have an EA that I run simultaneously on several charts at once, on just one symbol pair, but with different time frames. Of course I did this as a strategy to reduce the risk as small as possible. But the problem is, if a trade is opened by the EA, on more than one chart
Hi everyone In the expert that I want to write, I need to measure the strength of each currency based on a series of parameters and then determine the strongest and weakest currency. For example, I will create the variable dollar, euro, franc, etc., and then declare the largest one based on the
Someone to give me Meta Trader 4 32 bit version to install on my Windows 7 Clear software , no brokers , please Thanks! I try to install Meta Trader 4 iCmarkets but ask me Windows 10
I have 10 years above experience at forex market specilly trend line breakout strategy . Trend Break out is nicely work as below Feauture: 1.Trend Identify first clearly though Slow MA (period 50 method linear) A.if price stay up from slow MA is defined as Up trend B. if price stay down from slow
Searching for this information on Google confused me. Someone wrote that no, the commission is not taken into account and you need to calculate its value at the end of the test, taking into account the number of traded lots. Others write that the latest versions of Metatrader 4 calculate the
Hello Developer Team, I found a very serious bug in latest MT4 update (version 4.00 build 1421 on 22 Jul 2024). It's MathRound() function always give result 0, which is incorrect. I tried to make a simple script just to print out the result of MathRound(1.23) or any double value, it always give
Greetings. I can't understand why in backtest environment it executes tens of deals a day and doesn't execute any when I conduct forward test on demo? Any help is appreciated. Thank you in advance. // Function to place a sell order bool PlaceSellOrder() { double previousLow = iLow ( NULL , 0 , 1
[Deleted]
1) I'd like to be able to automatically Publish the Detailed Report.2) I'd like to see the high and low BETWEEN the entry and exit points for each trade.How would I go about these?Thanks,
I can't seem to find anything in the docs and searches on the internet don't answer my Q. I'd hate to leave it up to the user to go into the EA Properties dialog and configure whether their broker has FIFO requirements, but that's looking like my only option right now
I'm struggling with something, very basic actually. At the moment im following an online course and with the function OrderSend, nothing happens for me. I do the exact same formula as the online course, where it works, but for me no order sends, just in the expert tab i get the notification "
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.