MQL5 Algo Trading community — forex forum for traders and developers

  Ichimoku EA  (5)
I'm working on an EA and it executes correctly when the buy signal is confirmed but does not execute the sell signal. "Price Below Cloud" returns "False" when it should be "True". Can't find the problem... Please see code attached and comment. Appreciated
I carefully went through this guide " How to Subscribe to a MT5 Signal - Trading Platform - General - MQL5 programming forum " but I'm stuck at step 4 because whenever I click on the blue signal's name, nothing happens. Even when I click on "copy for x USD per month" from the mql5 website, it opens
Just within the last few days I am now not able to login to MQL5 from my MT4 application or even access the website from my computer. The website works perfectly fine from my phone so it does not appear that I have any restrictions on my MQL5 account (nor should I) but trying to access it from my
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
All lessons of Codersguru: https://www.mql5.com/en/forum/175653 Mql - Metatrader Development Course | www.metatrader.info https://www.mql5.com/en/forum/172885 All Codersguru lessons + questions/replies and so on are on this section Metatrader 4 mql 4 - Development course - Forex-TSD Book: https...
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
mql or EA expert to copy trades from MT4 , MT5 to ninjatrader? Im trying to copy trade from my MT5 to ninjatrader. Anyone have any suggestions>
Deprecation of Signal* functions is still not reflected in the official documentation. How often does it update
Artificial intelligence (AI) is changing the way we buy and sell in the stock market. This discussion is about understanding how computers use AI to make quick trading decisions. We will look into how AI can spot patterns in the market, make predictions, and decide when it’s a good time to trade
In my experience CUDA has better support for Linux and I use Linux to run my Machine Learning. However, currently the Python bindings can only be used on Windows. Can we either get binaries for Linux or, maybe compile it ourselves from the repo if there is no security concern
I haven't had any luck trying to recover my password. I hope someone can help. I cannot remember my password for the MQL5 Community although I have tried many times to log in. I've had a page opened for some days in my browser, perhaps from an email link, I'm not sure. I opened another page from a
hi I_created_my_signal_but_the_following_message_is_abailable_insteade_of_the (copy_trades): Subscription not permitted all_other_signal_give_the(copy_trades)value! so, Please_tell_me_how_to_correct_my_signal_errors_if_available
  Something interesting, old thread  (1272   1 2 3 4 5 ... 127 128)
Dear all, I would like to start this new thread cause I have some indicators that I paid for them and I want to share for free with you, all of you that for years share tons of ideas with me in this beautiful forum. I hope to encourage many users to do the same thing Best regards doc EDIT now the...
hi everyone!! a lot of trades is being taken when condition met but I want only one trade to be taken an manged then once closed look for another trade. can you give me a guess where im having issue?? //+------------------------------------------------------------------+ //|
I can't talk to the developer anymore. The developer rejected my request without any reply, applied for arbitration, and waited for more than 45 days. MQL5 has not intervened to solve the problem. How can I request MQL5 to process it as soon as possible? My money is still frozen because the
Dear traders. The common belief is reward risk ratio is not enough in evaluating profitability. You also need to know the win rate. I have a theory for myself. I just want to know how you think of this. "You cannot stay profitable in long run with reward risk ratio less than one. Regardless of win
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
  Signals Trading  (19   1 2)
Hi everybody Before opening this new thread I already red all the FAQ and the forums topic about signals trading.  All I'd like to know why I get an orange icon on the Signal part.  By mistake I first activated it on my personal PC (and I don't remember of which color it was) then I moved everything...
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...
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
  Chaos Theory by Bill Williams  (83   1 2 3 4 5 ... 8 9)
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?
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
Hello, In view of the general level of interest and the number of inquiries I've received from many of the folks here, I've decided to start a thread to discuss on a low-risk hedge trade strategy which I've recently developed. The idea behind this strategy is derived partly from the FR/FFS type...
What is the difference Average down forex strategy vs buying coin crypto
I need a false entry script, where can i get one
Is there a proper order in which Include files should be loaded? Some special order to prevent conflicts? Why do I ask? I thought something I was reading mentioned it momentarily. I cannot re-locate the reference, but it left a concern in my mind. Any problem with this
Hi everyone, i tried to build a mql5 function that close an order by a magic number input. Below I insert the code of the function. void Close_Position_MN( ulong magicNumber) { int total = PositionsTotal (); for ( int i
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
  Volatility Expansion system!  (160   1 2 3 4 5 ... 15 16)
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
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 I am trying to get the Broker session times using symbol properties with below code. However I am getting compiler warnings. Please let me know how to correct it. Documentation and search did not help much. // Variables for Symbol's other properties
  ASX stock CFDs  (1)
How do I get the live data to trade ASX stock CFD's and view the charts
Hello house, I am developing a strategy for trading wide intraday gaps on stocks gaps, The type of gaps I am particularly intetested in are the type that appear like minus aigns all over the chart, the price is static for a period of time amd then suddenly takes a leap ans stays put again
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...
  Forecast and levels for S&P 500  (474   1 2 3 4 5 ... 47 48)
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
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
  Forecast and levels for Dax Index  (76   1 2 3 4 5 ... 7 8)
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
  Forecast and levels for CAC 40  (31   1 2 3 4)
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...
  HFT Stock Manipulation In Action  (125   1 2 3 4 5 ... 12 13)
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
For those who are experienced in programming EAs, I'd value your opinion on this. If you have an EA that makes buy and sell positions based on valid strong signals, is this better than having a lot of position management code (recovery trades, PnL analysis etc.)? I wrote a script full of position
I'm not sure if MQL know their Socket TLS functions aren't suitable for Websocket , i've been spending all time of my every last 5 days searching this forum, that forum and all forum on how to make WSS Websocket work all to no avail. Should one just go to WinAPI for every little function
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 Community Members, I was trying to publish my EA. It says test on EURUSD,H1 strategy tester report not found How can this be solved. If it'a bug on mql then how can this be reported. Thanks
Hi all. My goal: to establish exposure limits in order to diversify my entries across pairs on a multi symbol FX EA. For this I plan on having an array of volumes, which I then "operate a calculation on" to get values into an array of USD exposure values. Where I am: I have an array with the asset
Dear All i was trying a trading strategy to buy or sell all the USD Currency pairs together, i only check the daily strength of the USD, then i take decision to buy or sell (open 7 positions), then i check after so many hours, sometimes waiting for days looking  for total positive profit after that...
Hi. I have this issue with one EA I rented : MQL5 Market failed download product '....' [403]. This error is supposed to be a connexion problem. I tried to close and restart several times. There are 7 activations left and renting is active till 2024.07.27 . On the same MT5 terminal, I am able to
Hello, I am testing a simple Expert Advisor on the EURUSD pair. In this strategy, I am sending a sell order with take profit. The TP is hit and the position is closed. I don't understand how the profit is computed. From the Tester History (See image attaached), I see that the short position is
Hi, I am writing because I encountered a problem regarding the optimisation. I've done already a few successful optimisation with this EA but after a while no matter in what mode or on what symbol I'm optimising the agents not working simultaneously and the optimisation starts slowing and almost
  Better NN EA  (124   1 2 3 4 5 ... 12 13)
Hi Better has really good EA and is winning the championship Participants - Automated Trading Championship 2007 Profile Better - Automated Trading Championship 2007 What is NN ? Where are the NN threads in this forum? Can anyone here make this EA El cid
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
I need to add some information into the end of CSV or TXT file, but every time I open the file with FileOpen and write the text there, it erases all information and write a new text.. But I need to add the new information into the end of the file, while keeping the previous text as well. Kind of
Hey all! I have doubts about the best way to handle working with the trade history. I'm aware a single position can result in multiple deals when closing it. For example, if I'm looking for coding a martingale system based on closed trades, what would be the best approach to handle reading the trade
Hello, I am looking for an EA that can Place Buy Stop and Sell Stop Orders on a previous Candle Stick High or Low based on a specific Closing Criteria. Please let me know. Thank You
Hi, I'm running a code on XAUUSD, and I get this error. I don't know why it tries to modify a position with the same SL/TP level already assigned. Could someone help me to solve this? Thanks I know that is an error to use NormalizeDouble on prices, but I get the same error also with funcion like
Good morning Does anyone know what the formula is used by MQL5? I can't find and there are no formulas missing on Google... I wouldn't want to try them all before coming across them by chance THANKS
Some of you might remember this one : originally it was a part of an expensive system. Than it was coded as dots because of the repainting problems in metatrader. Here is a version for metatrader 5 : slightly changed the look of it (Bollinger bands is drawn as the "shadow" in the background) Also...
I already have the IndicatorRelease statements in my OnDeinit, and I'd expect the terminal to be smart enough to run that function before completely shutting down the test run, but I guess that's a no. I'm testing an indicator that calls 13 iCustom indicators. The terminal finally does a force
I am looking for but cannot find a free or low cost, simple Stochastic indicator which alerts when it crosses overbought and oversold areas? Any help appreciated. Thaks
  I need help  (6)
This is my first post here. Please forgive me for my weak language. This indicator gives you a signal for the next candle and appears at the end of the candle. I want help with it appearing and disappearing on the same candle it appears on and not after it is closed. Is it possible to help me with
Hello Are you okay? I am looking for ideas for developing indicators for the dummies . These codes will be put in CodeBase and therefore free. These codes will be very simple and therefore a very good support to start learning because that's the goal. The beginner, or the confirmed can very easily
I've got an indicator that's very similar to other indicators I've written, all of them running super-simple algorithms (90% of the code or more is just about getting the data in) that calculate the slope of another indicator's values between two bars, a simple Y2 - Y1 for a user-selectable period
  Everything about RSI  (1461   1 2 3 4 5 ... 146 147)
RSI indicator We are continuing discussion about the indicators. We have the following thread: Parabolic SAR indicator Momentum indicator Stochastic Oscillator Divergence Indicator Now we are talking about RSI. "Technical Analysis from A to Z": Overview The Relative Strength Index ("RSI") is a
  Need help indentifying indicator  (2705   1 2 3 4 5 ... 270 271)
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...
  Multi pair indicators  (571   1 2 3 4 5 ... 57 58)
Something I have been working some time ago. Multi pair MACD Multi pair CoeffOfLine
I'm just genuinely interested in your opinion. What is it which makes an indicator a freebie, and what is it which makes an indicator have a cost attached to it
In your opinion...most effective way to find the areas of noise and consolidation by means of technology? What comes to mind is the ATR, and basic volume analysis, but I'd like to know your opinion
[Deleted]
How to use the Accelerator Oscillator in your trading? Accelerator Oscillator is a technical analysis indicator you can find on the MT4. This indicator can help you identify changes in the trend momentum. The most common use of the Accelerator is to view the zero line and it’s interaction with the
Wish all happy beginning of the week. I have following structure and want to use its information in the Indicator Buffer(s). To my understanding indicator buffers are allowed only of 'double' type. Is there any work around to what I want to achieve? struct SFxSession { CENUM_FxSESSION_ID
A few years ago, I found a very strange phenomenon in the process of writing MT5 indicators ->> Let me first talk about my code entry process: 1. The refresh of controls written by MT5 will flicker. When I started writing the trading assistant panel, I found that when I used the CANVAS sketchpad to
  Indicators: Harmonic Pattern Finder V3  (89   1 2 3 4 5 ... 8 9)
Harmonic Pattern Finder V3: Indicator to display existent and emerging harmonic chart patterns. Author: Andre Enger
The colored volumes (English Version) : Colored volumes at the bottom of the chart Author: ROMAN KIVERIN
New article Building an Automatic News Trader has been published: This is the continuation of Another MQL5 OOP class article which showed you how to build a simple OO EA from scratch and gave you some tips on object-oriented programming. Today I am showing you the technical basics needed to develop...
Basic Library to Create Volume Profiles : Basic library to create Volume Profiles on chart. Author: Yashar Seyyedin
  Libraries: PNG  (12   1 2)
PNG : Forget about BMP files like a bad dream. With this library, you will now be able to use the more advanced and compact PNG image format for your programs. Author: BeeXXI Corporation
Simple Yet Effective Breakout Strategy : A simple yet effective donchian channel breakout strategy. This strategy is timeless! Author: Anh Quan Duong
Check out the new article: Bill Williams Strategy with and without other Indicators and Predictions . In this article, we will take a look to one the famous strategies of Bill Williams, and discuss it, and try to improve the strategy with other indicators and with predictions. Bill Williams has a
FolowLineEA: It's an expert to help any user to find better settings for FolowLine indicator. Expert works only with FolowLine indicator. Author: Nikolaos Pantzos
Check out the new article: Master MQL5 from beginner to pro (Part II): Basic data types and use of variable . This is a continuation of the series for beginners. In this article, we'll look at how to create constants and variables, write dates, colors, and other useful data. We will learn how to
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
MTF_RSI: The Multi timeframes RSI indicator Author: Scriptor
Grid EA Pro : A professional Grid advisor works according to RSI ( Relative Strength Index ) indicators. And has the function of Reducing the Drawdown on the account by overlapping unprofitable orders. The chart displays information about the profit. It can be a very useful tool, For manual trading
No Loss EA - No Indicator, No Price Action strategy for MetaTrader 4 : This strategy eliminates the need to rely on indicators, candlestick patterns, chart patterns, or any price action. This EA employs a progressive system that I have been using for the past six months and have backtested for over
RSI with channels : standart RSI with dynamic levels Author: Andrei Khrushchev
Check out the new article: Modified Grid-Hedge EA in MQL5 (Part I): Making a Simple Hedge EA . We will be creating a simple hedge EA as a base for our more advanced Grid-Hedge EA, which will be a mixture of classic grid and classic hedge strategies. By the end of this article, you will know how to
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
I am using MT4 and I have used mql5 marketplace from it. It was working well three months ago. Today when I am trying login I am getting the following message "MQL5.community authorization failed". The MT4 version I am using is download from "Octafx" broker website. Please help me solve this
Hello I prepared a video so you can see how it can't connect. https://file.io/qBcf32Kdy58y I used its vpn. I never had this problem before. I can connect to my country's internet on my desktop computer, but I can't with my mobile phone
  Ocean theory based indicators  (576   1 2 3 4 5 ... 57 58)
In this thread Jim Sloman's "Ocean theory" based indicators will be posted. _________________________________________ PS: this thread (as it stands right now) will have about 60 indicators posted here (metatrader 4 + metatrader 5 versions) Metatrader 4 versions are completed, but because I would...
For example, I have a BUY LIMIT position, But when the march has continued and the order is still not executed, I want to change the TP to the highest between the order placement date and the current date
I used an EA, whch at 3om today opened a trade 900 pips above the 5pm price. As you can see the open price hasnt even been hit for the past day or so. MY EA has no slippage so it cant be that. Im thinking it might have somehting to do with the EA executing so early that it didnt register the
Hi Guys I am trader with no coding experience. In the spirit GenAI I was attempting to automate a strategy I am working on into an EA using GPT. However whenever I compile it I run into trouble with the code due SL and TP variable declarations or something along those line. I am a novice trying to
Hello everybody, I have this code for "Expert Advisor", but it doeasn't work by my expectation. I want to open and close order by selected time. When the time is on the same date ex 15:00 to 16:00 it work. But when the close date is on next day it doesnt work ex. 23:50 to 0:30. The order open and
does anybody know why the EA that work properly a few days befor now does not work in mt4
Hi I have a c# DLL which is working great when placed in MT4 (build 765) installation Folder. However, when trying to move the DLL to terminal_data_directory\MQL4\Libraries I'm getting "Unhandled exception 0xE0434352". I would like to emphasize that it's not a problem of calling managed code...
Hi guys i try to create a indicator that calculate a CCI over the ratio of 2 instruments i code this //+------------------------------------------------------------------+ //| CCI_Ratio.mq4 | //| Expert Advisor created by
[Deleted]
The problem is that it's sending too many Alerts because the conditions are true for a long time. How can I get it to only send me one alert when it finds the conditions are true? Below is my code: total = OrdersTotal(); if(total < 1) { if(cnt_buy ==2) {...
Hi, I have old setup files, but whenever I install it, it gives me the latest version 1367. how can I get the older version? or avoid this update. I tried disconnecting my internet but it didn't install at all thank you
I want to make the buying process very easy for my customers. I want to make it after they pay they will download the EA instantly. After they download the EA they will need to enter a product key. Each product key will be allowed to be installed on x amount of platforms and can't be used by more...