MQL5 Algo Trading community — forex forum for traders and developers

Dear Firends, i want to buy Forex Indicator /EA Generator. I already bought Forx Generator. now the licence not working. even i raised complaint no reply. so i want to get best forex ea generator. please send your suggetions. because my strtaegy making good enough. want to make EA for the startegy
In the digital age, romance scams have become an all too common threat, preying on the vulnerability and trust of unsuspecting individuals. I, too, fell victim to such a scheme, lured into investing in a Telegram group, only to lose a substantial amount of cryptocurrency—5.78 Bitcoin and 13
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
This will be used to see if the slave account (myfxbook) has the same performance as the master one (mql5). This allow you to spot any significant difference between the two accounts. In case the discrepancy is too big and not in your favor you might want to stop copying the signal. The only purpose
In MQL5 I have written this indicator, or more accurately, three indicators in one. It is two 4-period moving averages (one positive and one negative) and a histogram of the difference between those two moving averages. When debugging in MetaEditor, for the most part it works right. However, when I
  Forecast and levels for CAD  (200   1 2 3 4 5 ... 19 20)
USD/CAD April-June 2017 Forecast: ranging inside kumo waiting for direction of the strong trend to be started W1 price is located inside Ichimoku cloud for the ranging market condition within the following support/resistance levels: 1.3598 resistance level located near and above Senkou Span line...
  Press review  (7275   1 2 3 4 5 ... 727 728)
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...
The MetaTrader 5 platform update will be released on Friday, March 22, 2024. The new version enhances keyboard event handling capabilities in MQL5 programs. Developers can now capture key release and dead key events, improving interaction between applications and users. The MetaEditor has introduced
  Reference to an Indicator  (34   1 2 3 4)
Hi I have an indicator(A.ex5) and I want to reference it in an include file (C.mqh) or another indicator (B.ex5) But I always receive error code 4806 and 4802 As I'm new in MQL5, at first I want to know the procedure of referencing an indicator (to be sure I have done it correct) then what's the
Hi there, Does anyone know how to make MT5 recognise all the cores available
  VPS problems  (4)
Hello, First, in fact, how can contact mql5 support to send message about technical problems? Now problems with VPS. The actual problem: From my VPS connected to Avatrade I can not get any experts log since 26th of december 2018 00:00 Also it seems,  my experts are not trading there.
Hi, I'm trying to communicate each other python 3 and mql 5. I want to use zeromq. But mql5 is not support zeromq and i guess there is no 3 party zeromq framework for mql5. How can i communicate easily between python and mql5 ? I want to send complex data like structurs or json
I moved my signal subscription to my MetaQuotes Demo account and to my surprise the signal option on the demo platform is grayed out despite the fact that I have connection community on the journal entry. Can please assist
Hi I have an real (live) account that copies trades from a signal. I tried using the function to check all deals done on the account, but I am unable to connect it with Python. However Python connects with other dummy accounts that I create. Could you pls temme if this is possible. Python connect on
Hello, I cannot pass this problem, I have followed all the guides correctly, enabling realtime copying etc, migrating, however this always shows
Hello I uses below function for calculate lot size in MQL5 for use simple OrderSend (symbol EURUSD_i and Alpari broker). double dblLotsRisk( double dbStopLoss, double dbRiskRatio ) { double dbLotsMinimum = SymbolInfoDouble ( _Symbol , SYMBOL_VOLUME_MIN ), dbLotsMaximum =
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
int Consecutive( int Count) { //--- int BB = 0 ; for ( int i = 1 ; i <= Count; i++) { if ( iClose ( _Symbol , PERIOD_H1 , i) - iOpen ( _Symbol , PERIOD_H1 , i) > 0 ) { BB++; } else { BB--; } } //--- return (BB); } Besides using
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 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
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...
  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 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
  Something Interesting to Read  (131   1 2 3 4 5 ... 13 14)
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...
  Mr.Nims, Renko Ashi Scalping System.  (3550   1 2 3 4 5 ... 354 355)
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
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...
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
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
  Welcome to the new section!  (15   1 2)
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...
  Forecast and levels for Nikkei  (44   1 2 3 4 5)
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...
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
Hello ya'll.....Question, is there an effective EA that can make tight scalps at relatively high frequency that you can turn on and off manually as well as choose the side to trade? On MT4 as well... Sounds simple, but I know it's really asking a lot. Thank you
Hi everyone, I am looking for a trailing stop loss which is activated after after reaching a certain value and it moves repetitively. I try to explain with an example: I buy XAU/USD from 2025.0, SL to 2023.0 (20PIPS) and traling stop loss from 2028.1 (30 PIPS). When the profit reach 31 PIPS (2028.1)
Can someone share an EA that will send alerts every time when price stop moving within one minute
test on EURUSD,H1 (netting) 2021.02 . 04 20 : 00 : 00 failed instant buy 0.05 EURUSD at 1.19607 sl: 1.19407 tp: 1.20607 [Invalid volume] 2021.02 . 04 20 : 15 : 20 failed instant buy 0.05 EURUSD at 1.19642 sl: 1.19442 tp: 1.20642 [Invalid volume] 2021.02 . 04 20 : 30 : 40 failed instant buy
what do you think about this: I'm doing it for other days .... but think I've hit hard with this one... I'm now testing with other symbols and random days (its all from a random day). This result is for 1 h time frame for 1 day
Can you tell me if this is a realistic tester figure? And is this a good or bad result for a year with a deposit of $3,000
What is MQL5 Wizard : The MetaTrader 5 Trading Platform includes the MQL5 Wizard , which allows to quickly generate code of an Expert Advisor (Expert Advisor builder). With MQL5 Wizard, knowledge of programming languages is no longer a prerequisite for creating trading robots . In the past, it
Hi everyone, System: Windows / MT5 Environnement: Python Script + Socket Server (Python) + Socket Client (MQL5) Problem: After few hours (around 25-26hrs) the EA stop sending any data through the socket or the Socket Server stop receiving data I'm a fresh python coder, and for the last few days I'm
i have a setup,which i trade manually, but now i want to make an expert advisor about it. but i do not have an knowledge about it, how can i do it please guide
Can an EA be able to completely halt trading from all sources ? Signals, other EAs, manual trading, etc. If so, can it resume trading from all the previously halted sources ? Such EA would have complete power over the account so I don't know if it's possible
  Better NN EA development  (860   1 2 3 4 5 ... 85 86)
Hello everyone, I will start this thread by first stating that if you are a beginner and have no high level programming experience you are better off reading other threads. I intend this thread to be for the very experienced programmers with some Artificial Intelligence background. I am attaching...
  Neural network  (4)
Where can I learn neural network in mql5? Or which book can I use to learn neural network in mql5 or mql4
Hi, Can an Expert Advisor manage copytrading services (mql5, signalstart, etc.) ? For instance, one of its function could be to suspend/stop copytrading when a specific DrawDown is reached and then resume it after a specific time period. I know we'll likely need DLL imports in order to handle such
Hello everyone, I am testing a strategy on a demo account and something strange happened. The expert advisor executed a position at a price that did not exist at that time. How can this be possible? attached image. Thank you
Hello to all and thanks from now. My code can send "Buy Market Orders" to Binace (SPOT) successfully, but only this. I'm trying to do the same for Sell, Limit, StopLimit, Getting Current account Info, etc. But I could not. I need the URL structure for the mentioned other actions. Is there anyone
I have noticed that this level indicator on chart causes bad price lagging when US market opens and trading activity steps in. How to reduce the number of lines so that lines are drawn only in the active screen? At the moment lot of lines will be drawn. #property indicator_chart_window #property
Good Morning Please I would like to know what code to type for putting a MA on Stochastic indicator . I want a MA that will be in the second indicator windows with the stochastic indicator. And when the MA will crossover and close below the sell zone or the buy zone of the stochastic indicator it
Hi every body, I have wrote an custom Indicator (A) like zigzag, and it works fine, however the problem is when I call it in to another custom Indicator(B) it refers "2.781888206090574e-308" for empty values. As an example, A(10)= empty values, means the value of Indicator "A" in candle "10" is
Problem ObjectName() does not work as per the object list index. I wrote a script to display the names of all objects on the chart in the new order on the terminal, referring to the documentation of ObjectName(), but it does not work in the order of the object list. What I want to do I want to know
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
I have attached two order block scripts that I coded. Any kind soul willing to help turn it into a indicator. Am sure the community will benefit from such kindness
Hi Writing my first EA, steep learning curve but managed to get so far with it using various online sources to sort through most issues. Come across a few issues when using the PVT indicator that I can't explain or find the answers to. EA is running ok but results are not correct and what I have
  Dynamic zone indicators ...  (1585   1 2 3 4 5 ... 158 159)
It seems that David Stendahl can not help him self Where his name appears "attached" to some indicator or TA way, it sure is worth trying it out and studying it. The basis for these were originally published in the Stocks & Commodities July 1996 issue (attached the original article here). Do not be...
how do I backtest an indicator, it doesn't work for me
Hi everyone, before you throw the handbook on me and send me away, please, I confirm that I have tried and done all the research possible. Maybe I have a simple misunderstanding in my edited code, but I can't figure it out alone. 1.) i took the ALMA Indicator V2 and all I wanted to do is to add the
hi. i want to calculate iStdDev on excel, so i tried to compare iStdDev value and my calculated value. at first, simply period=2 and increases 3, 4... SMA is no problem, but LWMA is not equal. (there is a correlation) Maybe EMA and SMMA are different too. so I wondered why. *calculation accuracy is
  Need help indentifying indicator  (2704   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...
  Everything about RSI  (1460   1 2 3 4 5 ... 145 146)
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
I made a simple candlestick chart in the separate window (DRAW_COLOR_CANDLES). I wanted to make a moving average in the same window, but when the buffers have very different values it causes the candlestick chart to scaled down so much that you can't see it anymore. Is it not possible to do what I'm
Hello, Dear sir or madam, Can someone modify this indicator to work with the current build of MT4? Thank you! Chris
Lession 1_ Bullish and Bearllish Candle Tick : This is a lesson on how to create a Bullish - Bearllish reversal trading method based on the Japanese candlestick pattern. Now we will refer to detail introduct about method: Author: Dao Thanh Tan
Check out the new article: MQL5 Wizard Techniques you should know (Part 11): Number Walls . Number Walls are a variant of Linear Shift Back Registers that prescreen sequences for predictability by checking for convergence. We look at how these ideas could be of use in MQL5. For a few time-series, it
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
SuperWoodiesCCI: The indicator that realizes the trading strategy using the CCI Fig.1 The SuperWoodiesCCI indicator Author: Nikolay Kositsin
Trading Sessions Open - Close: This is a trading sessions indicator. Author: Mladen Rakic
  Experts: AK-47 Scalper EA  (29   1 2 3)
AK-47 Scalper EA : The AK-47 Scalper EA is fully automated. It employs a strategy of continuously entering Sell Stop orders and will modify them when the price moves against the pending orders. Author: Nguyen Quoc Hung
Convert iExposure.mq4 From MetaQuotes : iExposure will show the opening of trading positions in tabular form in the sub-window below the main window. This allows the trader to see at a glance the positions in the market including the profit value and the amount of risk for each position. The
Check out the new article: Building A Candlestick Trend Constraint Model(Part 2): Merging Native Indicators . This article focuses on taking advantage of in-built meta trader 5 indicators to screen out off-trend signals. Advancing from the previous article we will explore how to do it using MQL5
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
Check out the new article: MQL5 Wizard Techniques you should know (Part 18): Neural Architecture Search with Eigen Vectors . Neural Architecture Search, an automated approach at determining the ideal neural network settings can be a plus when facing many options and large test data sets. We examine
Count consecutive no. of bull or bear bars : Sample code to count consecutive no. of bull or bear bars. Author: Sardion Maranatha
New article Swaps (Part I): Locking and Synthetic Positions has been published: In this article I will try to expand the classic concept of swap trading methods. I will explain why I have come to the conclusion that this concept deserves special attention and is absolutely recommended for study. I
send a trade position to telegram channel : hi, this code need your telegram token and telegram chat id . you can make robot by BotFather and then search in google how you can find telegram token and chat id then attach them to this code . now every trade would be signals on your telegram channel
Indicator of Equity and Balance: The indicator draws the charts of equity and balance by the data of accounts history, it uses the current opened positions for updating the charts in the real time mode as well. Author: Игорь Корепин
New article Learn how to design a trading system by Envelopes has been published: In this article, I will share with you one of the methods of how to trade bands. This time we will consider Envelopes and will see how easy it is to create some strategies based on the Envelopes. As this indicator is a
Good evening everyone, I'm looking for an indicator that shows me all open positions + Long/Short + Magic No. in MT4. Similar to the attached image (unfortunately the indicator shown doesn't work for me). Does anyone know something like that? Would be grateful for any help ;) Thank you very much
Hi coders, hope you can help a non-programmer myself ... I have 2 strategies written in 2 EAs. Currently, I load the 2 EAs into 2 different charts but with different coded conditions (same magic), in other words, at any point of time, only one EA is trading and the other EA is in dormant state (both
Goor afternoon guys, I am currently coding an Expert Advisor to automagically trade for me. I already got the indicators, their respective buffers, the names and all of them are on the correct folder. I am using the iCustom() function to read out the buffer values and perform calculations. So far so
Hi all, I'm new to MT5/trading in general, still using a demo account. I was entering a trade into my trading log and looking at the the history tab it reads "Price: 153.837" on the left, then further along it states "Price: 154.475", now I went short on this trade so I understand it moved against
Hi, I'm trying to build my own EA using EMA. When the program starts it will buy/sell according to the relative position of slow and fast EMA. Then the program should close the trade at the next EMA crossover. My first obstacle was to find a way to calculate EMA at the closing of candlestick, so I
Hello, Anyone knows the location of MT4's data folder for build 1417 released on 1 May 2024 ? For a M1 MacBook Thanks
  Good Indis =)  (17   1 2)
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, I've got a problem. I created an EA which trades the data of a range bar EA. Everything is working fine when I have both of the EAs operating on my computer MT4 terminal. I basically open up a M1 chart and place the range bar EA on it. After that I open up the offline chart which was created...
Been working on an EA based on the 5-13-62 trading system. need help trying to get the EA completed and working. Would appreciate any assistance in helping to get this EA completed. I've attached file that I have developed thus far.
I am writing an EA that uses crossing moving averages . I tell the crossing of moving averages in the following way: // if shift5MA > shift0MA if (shift5MAArray[ 1 ] > shift0MAArray[ 1 ]) { //if shift5MA < shift0MA VALID SELL if (shift5MAArray[ 2 ] < shift0MAArray[ 2 ]) {
  there are no trading operations  (66   1 2 3 4 5 6 7)
I test me EA on my own broker it works okay. But when I send in for validation I get the following : test on EURUSD,H1 there are no trading operations test on NZDUSD,H1 there are no trading operations test on GBPUSDcheck,M30 there are no trading operations test on XAUUSDcheck,Daily there are no...
Hi, I would like to have the following structure: template < typename T> class RingBuffer { public : class AccessResult { public : bool valid; T item; }; AccessResult getAt(idx i) const; }; With this, I can declare a RingBuffer like this: RingBuffer<SomeFancyElement> elems; and
Hi all, i have developed a forex trading strategy that works on a daily pattern of events as well as signals, yes it is true!!, the problem is is that windows 10 does not like offline charts in a simulator and simply freezes when advancing backtesting speed. Windows 7 on the other hand will run the
Hello community, unfortunately, I'm too stupid to find out whether, and if so, how, I can achieve the following: Suppose I have a basket of positions: - USDCAD, Sell, 0.05 lots @1.36300 - USDCAD, Sell, 0.08 lots @1.36600 - USDCAD, Buy, 0.05 lots @1.36900 Is there a way to calculate at what price
Hi everyone, I'm Matteo, I have a question about backtesting on MT4. I need to backtest an EA on different cross at the same time... ...for example an EA on EURUSD and the same EA on USDCHF starting from 01.01.2024 to 01.02.2024 with the same capital. Is it possible? Or, maybe, is possible make two