MQL5.community forex forum for traders and developers

Please see attached. Why is my Metaquotes ID missing from my MT4 iOS app
Hello, I have the following piece of code: struct clickDatapoint { datetime time; int x; int y; CLICK_TYPE click_type; }; datetime minimum(List<clickDatapoint> &data) { datetime res = data.get( 0 ).time; for ( unsigned int i = 1 ; i < ( unsigned int )data.size(); ++i) { if
  How to Subscribe to a MT5 Signal  (63   1 2 3 4 5 6 7)
1. Register a MQL5 account: https://www.mql5.com/en/auth_register 2. Open your MT5 platform and go to Menu >> Tools >> Options and click on the Community tab. There you put your Login and Password of your MQL5 account and click OK. 3. Go to the search area of your MT5 platform, on the upper right
Hello guys. I skipped reading some instructions. I failed certain times the authentication process and now I am prohibited from trying to repeat it and verify myself as seller. Who could unlock my account from applying to become an EA seller? Thanks in advance
Hello, when I try to add an expert to my mt5 I always get this error: mt5 initialization of expert failed with code 0 (prepare to execution failed) First I thought it was because of my Implementation but this even happens when using a Metaquotes-example. What does this error mean
I removed my MT5 terminal and reinstalled it again. And now I am having this problem when attaching my EA. The same EA that worked fine before. Now it works fine only in the first Chart. Trying to attach the EA to the second Chart, or third etc gives me the error: Invalid EX5 file (7). Anyone have
What does rating means in my product section? Does higher rating is good or lower rating is good?Can we see details of rating based on
i was thinking to do something stupid ...like this one below and then get to sale my expert advisor on the market ! what do you think i should do? #property copyright "jack zorlob wrote it!"
Dear friends/Brothers/Sisters, I want to start this post regarding Price Action. I want people to help about what I know. Please Respond this post, Share the way you know and learn the way I know. I am not a master but a trader like others and also like to know how others doing. Reply and Keep in...
can we allow testing agent in local farm to make use of additional threads? understand that the reason to allow only 1 tester agent per core is due to memory error when someone selling the testing services. I'm setting up local tester farm and most of the time it only use up to 50+% of the CPU and
  trading amount  (1)
how to check a trader is best for me and also check how much amount is require to deposit for a particular trader
Just subscribed to mql5 VPS service to try my EA and getting the above error. the EA working fine on my Metatrader 5 Build 2999 and 2981. 2021.09.25 12:44:00.719 Network '20126293': trading has been enabled - hedging mode 2021.09.25 12:44:00.723 Terminal '20126293': 1 chart, 1 EA, 0 custom
I can't apply for freelance jobs, the job application button suddenly disappeared, please someone should help
Can I promote any Brokers or any Services in my profile or in my signal's description? Is it permitted or not
Hello. I need some help please. I Need cancel IP Address is unused and add Activations for EA What should I do?. Kind Regards, Sarawut
Fractal Wave is by far the most conformative and practical theory in the technical analysis. However, it is also most underestimated theory too. In my opinion, ironically, this important theory is less popular. Hence, I decided to bring some educational materials here in the direction of making the
Hello, I have a big problem : I'm using the copy trading service. From the trader I selected, many source trades have different lot sizes. Some profit trades use a higher lot sizes so they can compensate other losing trades using a smaller lot sizes. Unfortunately, on my account, all those trades
  Can you say forex is gambling?  (74   1 2 3 4 5 ... 7 8)
Joshua Brown, vice president of investments in a renowned New York asset-management firm once said that the forex from his perspective is too risk fraught for an individual investor to engage in preferring to label forex trading as gambling with retail investors in ignorance throwing money into
What is the one and most important rule in FOREX to make one successful
  Zigzag  (91   1 2 3 4 5 ... 9 10)
I have some funny idea. Do you know that many forex teams from many countries tried to develop the zigzag system? Yes, it is the true. But everybody knows that indicator (zigzag) can not be usable for the forex at all. So, What did they develop in this case? Next week we will start to develope our...
I was affraid to open this thread. Why? because it is difficult to manage many threads on one forum. Anyway - I will try :) So, we are talking about SIGNAL SYSTEMS
  Something Interesting to Read  (84   1 2 3 4 5 ... 8 9)
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...
By comparing strategies, scalper, swing trades, martingale or price action, which 1 would you like most
  FX Sniper´s Ergodic CCI Trigger  (147   1 2 3 4 5 ... 14 15)
I´ve modified some indicator to show in the chart window the signals provided by FX_Sniper´s_Ergodic_CCI_Trigger. Up and Down arrows are showed in the candle when the trigger line crosses the ErgodicCCI. Donwload both indicators in the same folder See picture for details. Warning: Signals are still
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...
  The Murrey Math Trading System  (1710   1 2 3 4 5 ... 170 171)
Description of trading system (zip'ed html file) and some indicators (with the description inside the code - use MetaEditor to read).
  Best method to identify trend in forex  (84   1 2 3 4 5 ... 8 9)
Hi guys, I just start a trading discussion about what the best method to identify trend. We know there are three type of trend: 1. Up Trend 2. Down Trend 3. Sideway. How we identify Trend? Thanks in Advanced.
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...
  We use Bitcoin ;)  (488   1 2 3 4 5 ... 48 49)
Seems we need a Bitcoin thread to discuss about due the growing popularity of this virtual money. Forex-TSD is studying the idea of take Bitcoins as payment method and having our thread to discuss about pros and cons sounds as good approach. You will find more information on the official Bitcoin...
Where can I find the Crypto Currencies like 'Ethereum, Ripple and Bitcoin' ??
Is it possible to get binance futures historical data and live feed on metatrader5 ? if yes, how would I go about doing it
Stock Market A To Z: 26 Names, Themes And Trends To Watch (based on the article) A is for Apple "The stock trailed the broader market in 2016, but there may be tailwinds in 2017. Tax reform may include a provision that incentivizes the company to deploy its billions in foreign cash back to...
  Trading stocks  (14   1 2)
Hi there, I am new here and i want to trade stocks rather than forex/currency. I have not been able top find out where and how buy/sell platform Anyone please guide me Thanks \ JC
Hi all I'm about as new here as one can be. Both to trading and to this forum and is my first post here. Hoping I can get a answer to a question. Google hasn't been able to help. I want to know how can I calculate my lot size for opening a trade on NAS100. Is there a known formula? For forex pairs
Hello guys! I have been observing and analyzing the various currencies, commodities and indices. I feel like the world economy is due for a crash or meltdown. What do you think
  Forecast and levels for S&P 500  (468   1 2 3 4 5 ... 46 47)
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...
Hi sorry but I'm really in the beginning ... I can't see the stock market but only currency exchange. Depends on the server where I am connected or wrong? Thank you
AMP Futures has officially announced the launch of the MetaTrader 5 platform for trading futures. AMP Futures is a US regulated Chicago-based Futures Commission Merchant (FCM) providing access to the global electronic futures markets for individual traders, as well as US and foreign Introducing...
Hi, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
Hi, I need futures exchange data to use a volume profile indicator on MT5. I've only found a broker with futures data, but this broker gives the DAX data delayed on the demo account . Do you know if exists another broker that provides futures data on demo account with DAX real time? In the other
  Forecast and levels for Dax Index  (66   1 2 3 4 5 6 7)
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...
Hello all, I am new to this forum and I have recently downloaded MT5. Now I want data for Indian Stocks. Can someone help me who are authorized data vendor for India Exchange NSE for MT5. There are many data vendors for Amibroker and Ninjatrader in India but not for MT5. How I can import historical...
  Trading Ideas  (2)
Crypto Currency. What is the reason for BITCOIN fall? Is it China Beijing on Tuesday ban financial institutions and payment companies to provide cryptocurrency-related transactions? Elon Musk statements about Bitcoin? Or because its a Beast of No nation? To avoid virtual e currency, stop money
  MAMA initial SL  (3)
Hi MT5 comes with an EA named MAMA, this EA has only trailing SL and no initial SL, and if a fixed SL of say 100pips is manually or using another script added, then the EA start changing it even though it's supposed to start trailing once it goes into profit region. How may I change the code to add
  Problem with Expert Code  (15   1 2)
Hi guys, I don't know if I can write in Italian, however I have a problem with the code of one of my experts, can I post it to you and maybe you tell me where did I go wrong that I've been hitting my head for days
I can't see any output messages when they are printed from some tester events. Do I have to do something special to be able to see them? I have MT5 Build 2981 (21 Jun 2021). Thank you so much!! //+------------------------------------------------------------------+ void OnTesterInit () //--> never {
Hello Friend, I am new to mt5 . I am learning mql5 coding. My EA works like this ----------------------------- indicator RSI(14) Buy = RSI  cross 30 from  bottom Sell = RSI cross 70 from top I need help to develop a code 1)  open buy position if there is any buy signal and close if any sell position...
hi....i purchased one Ea ...now im shifting to new broker ,ea writer saying, u have to purchase again, can i install this ea with new broker?, how to to find license keys in it
In MT5, there is a checkbox to select the "Show trade history". It is the last item on the tab "Show" of the properties window of a chart (click F8). I would like to know, how I can (de)select this property by code (in mql5)! - Usually, I would expect to use the functions ChartSetInteger() and
I am trying to import a complete class from a DLL. But I have some errors while compiling. Error 1 - #import was not closed Error 2 - Sum - Member function was no defined. 1 - I compiled the dll using C++ and 64 bits 2 - I put the DLL inside of this Path
I have a problem. I am trying to send a data structure from an MQL5 program to a C ++ program. And I have noticed that the same structure is smaller in MQL5 than in C++. This is the struct: struct MyStruct { int a; double b; }; this is the C++ code: int main() { cout << sizeof (MyStruct)
Hello folks, can someone help with william percent EA for MT5?, one that can execute trades at a defined level of the indicator. Thank you Also if you have or can make that of stochastics, ill highly appreciate that aswell cheers
Hi, I created an indicator calling another internally indicator. They are called using the iCustom function. If I call with the visual mode enabled, the "OnCalculate" function of the outermost indicator is called first. If I call with the visual mode disabled, the order is reversed. To explain
Hi all, does any one know what formula is used in creating the mql5 standard deviation channels object OBJ_STDDEVCHANNEL and how this formula can be coded from first principles in mql5 to derive the channel values. I think this could be a freelance opportunity for some one with this knowledge
I want to store a structure which contains enums in the DB and later retrieve the same. How are enums mapped to and from the built in DB types
Why it is not listed in mql5 ranking list? <...>
I have an idea for a martingale hedging EA, unfortunately I can't code and I don't have any money. For anyone interested- the idea I had was a semi-automated EA that hedges at a price e.g. you enter long at 4500.00 if price returns to that price the ea hedges with a short order, if price crosses
Hi All, I have the option to buy an EA of a signal though the EA is actually quite expensive compared to the signal subscription. Is there any benefit on having an EA over the signal? Is there better execution of trades or any other benefit on results? I dont plan on modifying the EA and I run my
Wishing everyone a great weekend. I am working on an EA with OOP and trying to create indicators for the same. My object is to standardize calculations of my indicators (in CLASSes) and prefer to use averaging methods from <MovingAverages.mqh> file. In my attempt: 1) able to create CiVolume.mq5
Hello there, As the title says, I'd like to get the manually entered lot size value in the default trade panel, to use it in an indicator (0.10 here) : Any hints on how to get this value would be appreciated. Cheers
is there anya one can help to add alerts when gap occur in this indicator //+------------------------------------------------------------------+ //| Gaps_cb.mq5 | //| Tapochun | //|
  Zigzag indicators  (642   1 2 3 4 5 ... 64 65)
Different zigzag's indicators please post here.
This is a simple indicator modified from the official RSI. When I load to terminal, I get a warning. “has newer unsupported version, please update your client terminal” My terminal is updated to 5.00 build 3039. I don't know why. you can find the indicator in the attachment. Thank you
Hi all I used to use debug on history data (while setting dates in Options). Today, I saw some malfunctioning of my indicator but it seems "Debugging on history data" doesn't work on toady candles. I tried setting dates between yesterday and tomorrow but debugger when reaches beginning of today
Hi. I want to find Know Sure Thing for MT5. Anyone knows where can I find it? Please
It can be use in any pairs and estimate when to buy and sell. Given where the market is going towards
Using MT5, how can I add MACD to the same window as my Stochastics? Having them both open seperately takes up too much space. Thanks
This indicator is similar to the RSI. The idea is to calculate net_profit / [sum(positive returns) + abs(sum(negative returns))] in a rolling window. But after I changed the code in the main loop, the terminal says: 'for' expressions are not allowed on a global scope //--- the main loop of
Hello, I have a robot system that I'm working on. it works flawlessly. but there is one last step that I want to add. I can trade at the intersection of MAs but I want it to exit the transaction at the next intersection. What code should I add? can anyone help? #include <Trade\Trade.mqh> CTrade
Hi. I have been selling the signal for 3 months. Every 3 months my signals were positive. Why is my signal not public and sales are inactive
Gday all, I've have a question about combining 2 standard MT5 line type indicators here. I quite often drag a standard CCI indicator into a SMA indicator window to serve as a filter for trading. Is there any simple way to save the standard CCI and SMA into one indicator in MetaEditor? Or does it
  All John Ehlers Indicators...  (949   1 2 3 4 5 ... 94 95)
Hi all... I'm dedicating this thread to all indicators by John Ehler's in the hope that we can get/make as many of them for MT4 as possible. Please post any MT4 John Ehlers indicators that you have here as outlined in his books "Rocket Science for Traders", "Cybernetic Analysis for Stocks and...
New article Payments and payment methods is published: MQL5.community built-in services offer great opportunities both to MQL5 developers and ordinary traders with no programming skills. But all these features can't be implemented without in-house secure payment system, that provides a convenient
  Experts: Crossing of two iMA  (26   1 2 3)
Crossing of two iMA: Crossover of two iMAs (Moving Averages), one more iMA (Moving Average) is used as the filter. Lot: manual or risk percent of balance. Stop, Market or Limit orders. The EA also sets Stop Loss, Take Profit, Trailing Stop. Author: Vladimir Karputov
Trailing stop MT5 : Use protect profit after open position Author: Mr Anucha Maneeyotin
New article MQL5 Programming Basics: Strings is published: The article covers everything you can do with strings in MQL5. It should be of interest primarily to novice MQL5 programmers, while experienced developers will have a good opportunity to summarize and systematize their knowledge. Author:...
Volume Profile + Range v6.0 - indicator for MetaTrader 5 (Fixed iBarShift Issue): Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram. The width of the histogram at the level means the number of transactions carried out
New article MQL5.community - User Memo is published: In this article we have prepared some hands-on tips that will help you to get accustomed in MQL5.community and to take full advantage of it's available features. Author: MetaQuotes Software Corp.
Sample check pending order : Check exists pending order prevent duplicate create pending order Author: Mr Anucha Maneeyotin
Exposure: This script reads all opened position and calculates their exposure for each currency. It's useful if there are many positions. Author: IvanBG
Close All Orders and Positions : This is a simple script that Closes all Orders and Positions available Author: Omega J Msigwa
New article Applying OLAP in trading (part 4): Quantitative and visual analysis of tester reports has been published: The article offers basic tools for the OLAP analysis of tester reports relating to single passes and optimization results. The tool can work with standard format files (tst and opt)
New article Step-by-Step Guide to Writing an Expert Advisor in MQL5 for Beginners is published: The Expert Advisors programming in MQL5 is simple, and you can learn it easy. In this step by step guide, you will see the basic steps required in writing a simple Expert Advisor based on a developed...
Forex_Market_Hours_GMT_v4.0: The good old MT4 indicator! Now for MetaTrader 5. Author: amrali
Trailing stop MT4 : Use trailing stop point with MT4 Author: Mr Anucha Maneeyotin
VR Smart Grid Lite MT5: The EA uses large volume orders to partially close other orders, with this approach, the breakeven and profit price is much closer to the current price than if you use all orders in the terminal or their full volumes. Author: Vladimir Pastushak
New article Bid/Ask spread analysis in MetaTrader 5 has been published: An indicator to report your brokers Bid/Ask spread levels. Now we can use MT5s tick data to analyze what the historic true average Bid/Ask spread actually have recently been. You shouldn't need to look at the current spread
  time stop  (1)
Hey Guys! I need your help. Does anyone have a code for a timestop`? I want my system to close positions at the open of the second new bar since the openeing. Thank you very much
Hello! I have a problem with MT4. In market watch tab the prices are all 0, even if the on the charts everything sims normal. Please see picture. Anyone encountered anything like that? Thanks
[Deleted]
Hi,   I'm pretty new to MT4 , and using Win 8.1 . It seems that I have problem seeing the symbols in Market Watch and in order window(see added pic) . in Market Watch I can see it only when I select it. In order window I can't even select and place an order. (I guess the problem is related because I...
Hi,I am developing an Expert advisor for Meta trader 4. my code compiles without error or warning in metaeditor, but anyway the run button is disabled son I can't test it.do you know why this could be? thanks for your help
  calculate Lot. Mql4  (17   1 2)
Hello to all professors, with this code I want to come and calculate the whole Lot first (for example, purchase) Then we calculate that if 10% of the imported Lot goes to profit, it will close all the orders. But it has a little problem and it does not do that. #property version "1.00" #property
[Deleted]
  Terminal window missing  (20   1 2)
I have been running MT4 on my laptop for several months. All of a sudden the terminal window won't appear? i have tried re-booting and several different profiles, no go. Any ideas will be greatly appreciated! Thanks, Steve
  Helweg/Stendahl value charts ...  (377   1 2 3 4 5 ... 37 38)
Helweg / Stendahl value charts (from "Dynamic trading indicators" book) I guess this one was not made for metatrader yet since it was not possible to draw histograms with one end not being zero. With metatrader 5 that is possible, so here it is (it is metatrader 5 version only since some of the
I have seen this issue mentioned here and there, especially by 7bit, but I was never able to get around this problem: The strategy tester does not properly decrement the reference count of the loaded library during deinit(). Because of this, the DLL file stays loaded in the system, and crashes when...
With my code below I can identify Bar 6 on the image above. How do I calculate that Bar 5 4 3 2 1 is still inside bar 7 ? for ( int i= 0 ; i<limit; i++) { dCurrent=High[i]; PrevH=High[i+ 1 ]; CurrH=High[i]; PrevL=Low[i+ 1 ]; CurrL=Low[i]; if
hello, for some reason my mt4 platforms will not open from desktop icons or through the terminal.exe in the metatrader folders for the specific brokers. only one of my several brokers will open. Running windows 10. tried to re download platforms but still have same issus. Also tried a full system...
Hey guys! i am from tradestation and i am wondering if there is a syntax for intrabarordergeneration, witch allowes me to make an order as my criteria is reached and not at the open of the next bar. Thank you! 600
Hello good day, have been trying to to code my Ea to wok on specific days of the month but i know am not doing some things right, did some research but below is what i arrive to and its not working fine it only works for the first date i specify here is what i did, i create an extern string so i can
Here is an example of putting function pointers to good use. Those who know javascript or python will likely recognize this pattern immediately.  This is a generic object vector that I frequently use, and I've added a filter method which takes a function as an argument and returns a pointer to a new...
I looked all over the MQL4 manual and still can't find the right way to just grab these 2 chart values, as shown in the attached image. The values are highlighted in a red circle in the image. As you can see, we need the value of the bottom and top "little-squares-predrawn-by-mt4" chart values...
Hello! So, I have Expert Advisor that doesn't work and gives me those two errors: "Unexpected end of program" and "Unbalanced Parentheses". The Problem seems to be where the OnDeinit starts, but somehow whatever thing I try to do, I get more errors that I can't manage to fix... int OnInit()  {...