To post a new topic, please log in or register
  signal lost  (9)
Hello, My signal is not working anymore, i don't know why. The password is good. What can i do please? Regard
Can a function return a datetime
I am looking for a code that will allow me to place a pending orders with the following: Inputs: Pair, Entry Price, Lot size, Buy/Sell Auto Settings for: TP1, at 15 pips Profit with withdrawal of 50% TP2, at 10 pips Profit with withdrawal of 25% TP3, at 10 pips Profit with withdrawal of 25% SL at 10
How to truncate extra decimal places in mql5. NormalizeDouble not working properly....Any one can help me in this? Thanks in advance
Hello Friends, I want to learn more about mql5 language / sample codes. If anyone can help me to find out good websites for that other than mql5.com. Thanks and regards. RDBS
Hi everyone, I'm currently facing an issue with mql5 debugging not showing me the variables or expresssions, basically the list is always empty. I'm running windows 10 under parallels desktop on osx, may it be the cause of the issue? The meaningless fix with class CFix { } ExtFix; doesn't work well
  Press review  (6701   1 2 3 4 5 ... 670 671)
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...
  Indonesian Member  (5044   1 2 3 4 5 ... 504 505)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
  Forecast and levels for Oil  (158   1 2 3 4 5 ... 15 16)
Brent Crude Oil April-June 2017 Forecast: weekly correction with possible breakdown; 49.69 support is the key W1 price located above Ichimoku cloud in the bullish area of the chart. The price is on the secondary correction which was started in the beginning of January located within the following...
  Traders Joking  (11838   1 2 3 4 5 ... 1183 1184)
Do you have interest or hobby outside trading ?, or some jokes and humor for other forumer ? or maybe something else ?, Well, why don't show it here. Life is NOT all about trading or programming, and so is this topic, and you must participate in this topic ;D.
I have some mt5 robot that i want to test, but the auto trading button is not showing on my Mt5 platform. what is the solution ? bellow is a screen shot attach Thanks
Greetings MQL community, I'm newbie to this website, and to this forum, so please forgive me if my questions falls in some other category, and I'm off topic. I'm also newbie in trading, less than one year of experience. My broker uses MT4 platform, but in help/about it states it's updated to build
Any new software inevitably contains bugs that are not alwayspossible to detect even under the most rigorous in-house testing. Wetherefore attach great importance to all user reports about issues inour programs and try to answer each one of them. In order to improve feedback from MetaTrader 5 end...
Anyone having this problem too? I never received a answer from metaquotes support
Hi, I'm looking forward to (find how to) make the indicator braintrend2sig sound an alert every time it appears on screen. Can anyone help me?
  Write ea for free  (26   1 2 3)
I have written hundreds of EAs for traders. No matter how complicated they can be, I can write them if necessary. I will write EAs for free to work together for stable profitability.Friends in need please post here
This Analysis is brought to you by PROFIFOREX AUD/USD Current trend On Monday, the pair was in an upward direction. There is growing pressure on the pair in face of concerns regarding a slowing Chinese economy which gained an increase following the weakening of the Yuan against USD, a percentage...
  Harmonic Trading  (5976   1 2 3 4 5 ... 597 598)
Hello all I have tested many strategies and many other stuff but i did not found them more accurant then basic analysis of the market. i mean,the Price Patterns. 1. harmony indicators: here and here. 2. candelsticks reversal patternsis here. 3. Price Patterns: - Price Patterns (Gartley,Butterfly,Bat...
Hello guys I'm wondering if is there an EA to automaticaly calculate Break Even and Take Profit on manual trading. Let's say I open a BUY position 0,01 Lot on eurusd at 1.10000 and TP 1.10500 (50 pips) and the trade goes against me "X" pips, then I open 0,02 Lot at 1.09700 (-30 pips), 0,03 Lot at
  Non-Farm Employment Strategy  (39   1 2 3 4)
Hi all what is your NFP strategy ? today is NFP FriAug 212:50amJPY Monetary Base y/y 38.0%43.2%36.0% 2:30amAUD PPI q/q 0.1%0.5%0.3% 7:00amGBP Nationwide HPI m/m 0.4%0.3% 8:00amEUR Spanish Unemployment Change -80.0K-127.2K 8:30amCHF SVME PMI 53.151.9 9:30amGBP Construction...
Hello: I have developed a trading strategy and would like to put into code. I don't want to learn MQL5. I am willing to trade the strategy for the code. Use it if you like it. I have almost finished the faux code and can make it available privately. All the Best Chris
I would be very grateful if someone could help me with converting the RSI and MACD below to mql5. I have seen an article on the forum on converting mql4 code to mql5 which has helped me in some other cases but I don't seem to get how to do it for the RSI and MACD. Please see the code below
static double utick;double price = (Ask+Bid)/2;double diff = utick - price ; Comment("Utick:"+utick+" ** Price:"+price+" ** Dif:"+diff);utick=price; The output of the comment is Utick: 1.121195 ** Price:1.121205 ** Dif:-1.000000000006551e-05 But the correct output should be: 1.121195 - 1.121205 =
I have written some code that uses CTrade to open a buy or sell trade (only one trade for now). I want to know the type of trade before I close it and from what I've read it seems I should be using CPositionInfo to determine whether it's a buy or sell. How can I use this CPositionInfo to check the
Hey everyone, Do you prefer automatic Forex Trading Signals or a Forex Trading automated EA? Please vote & state some feel free to post here to say why! Thanks =)
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...
Hello everyone. How can I open an order with a predefined stop loss size in pips? How do I do that, regardless of the price at which the stop loss will fall, I want to open an order with a pre-defined "x" pips stop loss. I didn't see any similar option in Metatrader, there I need to enter a price
Hi, i work with many good traders and i want to sell their signals with my profile...is possible to do it? Example: mql5 account owned by me - mt4 account linked to mql5 owned from one of my partners. Best regards
  'Close all'/'Open' tools  (586   1 2 3 4 5 ... 58 59)
'Close all' scripts for MT4.
  Something Interesting to Read  (70   1 2 3 4 5 6 7)
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...
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...
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...
as stated here https://en.m.wikipedia.org/wiki/List_of_stock_exchange_trading_hours Most markets are open Monday through Friday and closed on Saturday and Sunday in their respective local time zones,[1] although some such as the Tel Aviv Stock Exchange and the Saudi Stock Exchange shift this to be
I have downloaded mql5 but it only showing me Forex and metal in MarketWatch...how can add Indian stocks to MarketWatch
Am a python programmer i programmed a triangular arbitrage bots for cryptocurrency. Now a good deal drove me to forex trading i want to build a triangular arbitrage bot. i tried to understand how to do triangular arbitrage manually on MT5 before building the EA bot for it but i understand None. i
I am looking for what are the best ways to make money with cryptocurrency
  Forecast and levels for Nikkei  (34   1 2 3 4)
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...
  Forecast and levels for Dax Index  (63   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...
  Apple  (36   1 2 3 4)
AAPL Technical AnalysisL daily bullsh with 120.35 resistance to be testing for the bullish trend to be resumed Daily share price is located far above 200 SMA in the bullish area of the chart: the price is on testing resistance level at 120.35 to above for the bullsh trend to be continuing. If the...
  Forecast and levels for S&P 500  (463   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...
  Google  (16   1 2)
Google April-June 2017 Forecast: weekly ranging to be stated or the secondary correction to be continuing; 853 resistance is the key The weekly shares price is on secondary correctional movement within the primary bullish market condition: the price is located above Ichimoku cloud for the correction...
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...
Downloaded the MT5 platform on my PC, I'm trying to access US stock market data. I've searched the web for the how-to's and all of them say to go to the symbols list under marketwatch. But I'm not seeing a list of markets as opposed to what is being shown in these how-to guides for getting stock
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...
  Bonds  (3)
Introduction to Bonds (Part I) 1. Principal: This is the face value of the bond; the amount that the first bond buyer initially loaned to the company or government issuing the bond. This is also known as the par value. 2. Coupon Payment: This is the numeric amount of interest payments that are...
Hi all, I have a boring issue with the execution of order (Buy or Sell) that use the TP. I know that's a common issue reading others threads but the code seems correct so don't know what i have mistake. I'm going crazy because the error happen when thet TP is lower than 120 pips. :( I paste function
Hello, I have a small but really frustrating problem with dividing. The Indi has many-many arrays and works well, but now I wanted to change the base of the arrays. The old one was the RSI, now i want to change into Daily % change ( or candle, because I want to see it on every TF). So, I wanted to
  MT5, mql5 bugs to be fixed.  (25   1 2 3)
As suggested by James Cater, I am opening this thread to centralize bugs reported on MT5 and mql5.  You can report what you found, ask for confirmation of the community, and report it to ServiceDesk. The goal of this topic is to effectively have bugs fixed, if you want to ask for improvements,...
I was wondering the use of slippage and what value to specify? MT4 documentation uses 3 for slippage. Can slippage minimize the annoying requote when trying to place an order? What value of slippage can minimize 'requote'? Can I use slippage as large as 20 or just use 0? Thanks in advance
hi every one I write below code in expert to show current candle time in chart and it works in all time frame M1,M3,M15,.... void OnTimer() { long time=TimeCurrent(); long ekh=(Period()*60+Time[0]-time); if(Period()==1) Comment(ekh," s"); else
Hi, I’m wondering if there is some way get an EA to disable auto trading when it’s current trade closes, and to have it send me an alert so I can perform necessary actions to it once it has stopped trading? I have a few EAs that have gone into undesired drawdown, and fully expect that they will come
Hope everyone are keeping safe during this time. I have a question regarding copying trades. I have and mt5 account with a signal provider. He enters the trades into my mt5 account from his own VPS and EAs. What I want is when he enters a trade into my account, I want that trade to be duplicated in
Hi Everyone, I just found attached MQ4 code for Swiss Army EA v2.01 an account hedge equity protection Trade Manager type EA - found it on MQL5.com forum dated 2015. Can coders please kindly check whether it needs updating to latest MT4 build or not and if so please provide updated working version
i would like to know which of below codes better to use in EA ? is there any different ??? code 1 double haOpen= iCustom(Symbol(),0,"Heiken Ashi",Red,White,Red,White,2,1); Code 2 double haOpen=iCustom(Symbol(),0,"Heiken Ash.ex4",2,1);
  Requests & Ideas (MQL5 only!)  (518   1 2 3 4 5 ... 51 52)
Terms and Conditions: You describe (you provide) the idea. I place an open MQL5 code in this branch. I place this code in a CodeBase. I specify the author of the idea and the author of a MQL5 code in a code. The coding services are provided "as is" and you use them at your own risk. List of ideas
Hi.. am trying to make a version of trailing pending order for mt5 always get order modify error mql4 working pending trailing order void TrailPendingOrders() { if(Order_Type==Stop_Order && Mode==trail){ double price; int total,totalTrades=0;//---- total=OrdersTotal();//---- bool ordmdf;
I can't remember if I ever could change the input parameters just before starting to debug. It seems that I can when using real-time data but not when using historical data (which I always use). But it's not a big deal because I thought I could just change the value in the source and recompile. But
Hello all I'm considering renting a VPS to run a trade manager EA for all my pairs but I am wondering if I enter a trade from the MT4 app, would my EA still execute if it is running on that pair on the VPS? Also if I modify a trade from my phone, will it affect the trade on the VPS? Just being
Hello i am copying signal i have enabled auto trading , and showing signal logo in my Mt5 . ( full signal provider history and runing trades can see in Mt5) but when i open mql5 website and trying to see histroy and runing trades from my sisgnal provider its showing Enable copy trading in the
Could you please help me solving my errors ? I just started programming and I have no idea how to solve this
Hi guys, I am wondering how is the right way to create and firing a custom event. My doubt is: if someone want to handle the event in his own EA how can intercept the event? Do I need to tell him the value? (like: ushort
Hi, I'm trying to create an indicator what will display some text in a watermark style: centered and with size and opacity configurable. I don't have much experience with objects in MT5; the only text kind of thing I did was with OBJ_LABEL, but I'm not sure this is the proper way to go this time;
  RSI indicator  (1431   1 2 3 4 5 ... 143 144)
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": OverviewThe Relative Strength Index ("RSI") is a...
Hi there everyone, I'm looking for a reasonably straightforward indicator but can't seem to find one. I've tried coding it myself but am struggling with the alerting side of things. I'd like an alert when: - 6 ema > 9 ema > 50 ema > 200 sma - 6 ema has just crossed over the 9ema (so, the previous
Hi there, I noticed something weird happening when I want to place two indicators on top of each other. In this case below, I have two CCI indicators in the same indicator window but, as you can see on the attached image, their vertical axes are not aligned. For example the level 0 of the slower CCI
Hi. I have been creating and testing a few EAs and sometimes they can be a bit confusing when it comes to inputs. Sometimes, I accidentally put information into the wrong input. I figured that changing the appearance of the input boxes would help with this. As you know, the entries of the input tab
High, which is the biggest amount of buffers (indicator_buffers) and plots (indicator_plots) an indicator can have
  Multi Timeframe Indicators  (12204   1 2 3 4 5 ... 1220 1221)
Hi all, I've been wanting to have the ability to plot indicators from different timeframes on my chart, but MT doesn't have this capability built in. (Does anyone know of any charting programs that do this natively?) As an example, if you're following the IWCR system, it'd be nice to be able to...
Hi, I want my indicator to play a series of sounds, not just one. For that, I initially tested calling 3 PlaySound() one after the other hoping that the second would only start playing after the first was finished and the same for the third. Unfortunately I was wrong: in such conditions, even though
Hello I use an indicator for its alert. It works fine when symbols are in English but for my this particular use, the symbols names are in Persian. How do you fix this? I need help please. Thank you in advance. Here is a file attached about the problem
Hi All, I'm installing some indicators and wondering why some won't keep the settings. For instance, I'll click/check the Allow DLL Imports box and click OK but when I go to another tab like Inputs and come back, the Allow DLL Imports box is no longer checked. This also happens in other tabs and
Hi guys, I was wondering how to create a sizeable, draggable object. It will be a sine wave. It should be also deformed ( not only contained in a rectangular box but the box could become a translated trapeze Thanks
  Market Indicator  (1)
How can I move a paid for indicator from one mql5 account to another ... Both accounts are mine Thank You For Your Time :)
  RSI Cross  (2)
Hi Guys I was wondering if anyone has an indicator that draws an arrow when the RSI cross above the OB and below the OS. All i can find is arrows or alerts when the RSI enters the OB or OS zone. Im after an indicator that draws when the RSI exits the zones and candle closes. Many Thanks
Hello, my MTF (multi-timeframe) indicator works fine on opened market (when new ticks are received -> starting OnCalculate() function). E.g.: I see D1 moving average values on 10min chart... Problem is on the closed market where no new ticks are received. I get error 4806 (BarsCalculated function...
New article Implementing indicator calculations into an Expert Advisor code has been published: The reasons for moving an indicator code to an Expert Advisor may vary. How to assess the pros and cons of this approach? The article describes implementing an indicator code into an EA. Several...
New article MetaQuotes ID in MetaTrader Mobile Terminal is published: Android and iOS powered devices offer us many features we do not even know about. One of these features is push notifications allowing us to receive personal messages, regardless of our phone number or mobile network operator....
Non Lag Relative Strength Index: Non Lag Relative Strength Index for MT4Eliminates unnecessary preliminary calculations on the built-in RSI. Author: Roberto Jacobs
TP SL Trailing: Stop loss and take profit initial setting. Trailing. Author: Vladimir Karputov
Candle Closing Time Remaining (CCTR) Version 3: Candle Closing Time Remaining (CCTR) is an indicator which displays the remaining time for an open candle to be closed. Features Changeable color and size, Changeable location (Corners), Display server time (on OR off) [v2], Play an alert sound...
Three neural networks: A trading system with a very simple neural network unit. It uses an iMA (Moving Average, MA) on H1, H4, and D1. Author: Vladimir Karputov
  Experts: Virtual Trailing Stop  (28   1 2 3)
Virtual Trailing Stop: Virtual Trailing Stop. Author: Vladimir Karputov
Easy Object: A simple way to manage graphical objects. Author: Mihail Lagutin
New article SQLite: Native handling of SQL databases in MQL5 has been published: The development of trading strategies is associated with handling large amounts of data. Now, you are able to work with databases using SQL queries based on SQLite directly in MQL5. An important feature of this engine
New article Econometric approach to finding market patterns: Autocorrelation, Heat Maps and Scatter Plots has been published: The article presents an extended study of seasonal characteristics: autocorrelation heat maps and scatter plots. The purpose of the article is to show that "market memory" is
  Indicators: SL&TP Values  (17   1 2)
SL&TP Values: Indicator displays the value of defined stop loss and or take profit in the deposit currency. Note: It calculates an estimated value based on a simple calculation and does not take into account brokerage commissions. Author: MhFx7
  Experts: ExpMartin  (27   1 2 3)
ExpMartin: This Expert Advisor trades on the principle of the Martingale: if the order is closed by Stop Loss, the next order will be the opposite type with a lot size increased by a certain rate. Author: Dmitriy Epshteyn
New article Advanced Adaptive Indicators Theory and Implementation in MQL5 is published: This article will describe advanced adaptive indicators and their implementation in MQL5: Adaptive Cyber Cycle, Adaptive Center of Gravity and Adaptive RVI. All indicators were originally presented in...
  Indicators: FiboPivotCandleBar  (21   1 2 3)
FiboPivotCandleBar: This indicator is a composite of several indicators: Fibonacci, Pivot Point, ZigZag, Stochastic and Relative Vigor Index, which are combined in this indicator. Author: 3rjfx
Non Lag Relative Strength Index for MT5: Non Lag Relative Strength Index for MT5Eliminates unnecessary preliminary calculations on the built-in RSI. Author: Roberto Jacobs
hi every one I write an expert that put 3 buttons : SELL BUY CLOSE I want to put these 3 buttons into a panel or window that I can drag them together can any one help me Best regards Neda
Hi All This is my first post and I'm new to all this. I am looking into Expert Advisors in Mt4 and created a simple script (see below). However, when I run it the RSI value shown as a comment on the chart just seems to stay at e.g. 10 and not move at all - see attached screenshot Is there something
Hi All, In the last couple of days the emailing from the Metatrader platform has stopped working for me. Every time my EA tries to send an email I got a 'failed' message and this happens even when I try to send a Test message. Automatic emailing has been working well on 2 different accounts with 2
  Traders joking, the beginning  (7797   1 2 3 4 5 ... 779 780)
They say that an average trader can work for about twothree years. Then he has enough money to buy Ferrari and spend the rest of the money on psychoanalyst and antidepressants. Well, drive your Ferrari and save the rest of the money by reading our next column. Making money is one of the funniest...
I created this CCI and EMA EA and i compiled it and there was no error only for me to backtest it and it seems its not backtesting at the same time its not giving me any error in the journal. The EA buys when CCI is above level 0 and price is above EMA. please help guys
Hello everyone, hope everyone is doing fine, I am not sure if I posted on the right place, if not I am sorry I can delete it or remove! Title says it all, I have .mq4 file thats a EA, when I add this file to Expert Advisor it just works fine but I want to make it to .ex4 file I opened it with Meta
hi everyone I have indicators code in MQL4 and I want to use it in Mql5 How I can change codes into Mql5 I don't know any thing about Mql5 codes below are my indicator's code I really need it as soon as possible Best Regards Neda
The MetaTrader 4 update will be released on Friday, January the 24th, 2020. The update provides bug fixes and stability improvements. The new version will be available through the Live Update system
Hi, I have a Huawei Matebook E, ARM version of windows 10. Until some weeks ago MT4 and MT5 had been working perfectly. I was forced to accept an update (maybe about 2 months ago), then suddenly all my MT4 stopped working. I have 3 brokers and all of them stopped working. Metatrader connects , and
Hi All, I am creating a a simple manual trader with buy and sell buttons but cannot get the buttons to work in the tester.  I'm sure there is a secret to this.  Anyone that can help?
  Counter Question  (1)
Sorry to bother you, but are these the same or is there a time when the're not? int counted_bars = IndicatorCounted(); if(counted_bars < 0){return(1);} counted_bars--; versus int counted_bars = IndicatorCounted(); if(counted_bars < 0){return(-1);}
Hi, does anyone know where I can find a tutorial on how to send telegram forex signals to my mt4 plaform ? Thanks
It has a good win rate but sucks cause it doesn't have a sound alert signal when the arrows appear please help
I'm experiencing a very strange phenomenon. I developed an EA which runs once per bar, since it uses data of the last finished bar. During backtesting it behaved strange, so I stripped it's code to the following: datetime LastCoreTime; int OnInit() { return INIT_SUCCEEDED; } void OnTick() { if(
I have finally got an EA working and taking all winning trades. it dont trade often but when it does it wins. However I am using a high stoploss and I dont know if its taking into account margin. This would change things in the real world if I couldn't cover my margin waiting for the take profit to