MQL5.community forex forum for traders and developers

if i pay monthly for a private indicator, can i just use the source code for that indicator and use it myself? 200 a month is kind of a steep price
I want to send an email when the unrealized gain / loss amount of the position in the trading account exceeds the decided amount. Please tell me how
I just opened a new MetaQuote demo account and I am able to see real time quotes on the platform including depth of market. I do not understand though, if MetaQuote is not a broker, then which broker's prices are quoted in real time on the MetaQuote demo account
Hello all How can i connect to mt4 server without the terminal there are any api or library??? To add it on my site to provide the account status Like myfxbook thanks
  How to Start with Metatrader 5  (1310   1 2 3 4 5 ... 130 131)
I decided to create this thread to help to myself and to the others to start with Metatrader 5. I am experienced in MT4 and in forex in general (i hope : ) but we traders really need to collect all the information about it in one place. I will make some posts about 'how I am starting with MT5'....
  Product Review Issues  (21   1 2 3)
Admin explained the situation . Mods can use this thread to store info in one place
hi, all I am having issue with my AMP future Account, my EA was working fine on MNQZ20 and MESH20 index future symbols and it works fine on MNQH21 and MESH21 until yesterday (JAN 20 2021) but suddenly its just stop working , its not opening any order on any of new symbol of future index, if anyone
can we open a real account in MetaQuotes?
Hello, MQL5 If you do not use MetaEditor to code, which alternative editor do you use?
Hi all, It seems it's not possible to download an application for Mac, is that correct ? When I click on download, then I click on open MT4" and nothing happens... Is it possile to install an extension for MT4 from this site in an other way which is working ? Thanks a lot !
How to start with MT5 platform : summary. As our topic about " How to start with Metatrader 5 " is going to be huge, here you find a summary, with main links. A very good article to learn how to use this site . How to start with MetaTrader and forex , the beginning Some news about MT4 and MT5 for
I keep getting stuck at the "processing". Despite waiting for a long time (more than 45mins), it still does not show any errors or proceed beyond the page. Any advice please
  VPS  (3)
I activated a VPS from metatrader for an AVA Trade account. can I change the VPS for another account? if YES, how do I proceed thanks
Hi all, for the past 3/4 trades on the USD/CAD pair my monetary profits seem to be very low given the number of pips won. On a 0.1 lot size a 76 pips win is only giving me £43.95! (Plus spread is only 1 pip). I only seem to have this problem with USD/CAD the other pairs are what they should be
Dears, I have writen a code in mql5 and used trade.PositionClose(ticket) to close a position based on some criteria.I also use magic numbers to use on multiple currencies. The problem is that trade.PositionClose(ticket) will close all other open positions on other currencises as well, while I want
i am a professional trader that have been in the marketplace since 9 years ago . check tens of thousands of EAs , indicators , strategies like price action , ichimuko etc... and can assure you 99% of them not work in long term. because market is unpredictable and full of uncertainty. so no one can...
Hi. It is simple trading system. Indicator Stochastic oscillator standard setting Indicator Alligator for TP. Time M15 TP 100-200 SL 100-200 Check reault
  Kevinator 5m retracement system  (88   1 2 3 4 5 ... 8 9)
Hello I will trade this system live so you will see how to trade it correctly.Please..leave the negative comments at the door and only constructive criticism allowed.Well lets begin............. 5m Kevinator retracement system Majors only (eurusd * usd / chf * gbpusd * aud / usd * usd / cad) 5 m...
Hi, I want to ask you how you use the TDI indicator according to your path. You can see one way to use it for position opening decisions like the picture, I took the picture in XAUUSD on January 14th 2021 TF 5 minutes. - First crossing. red circle. - Waiting for bouncing / touching the support -
Locked-in Range Analysis (abbr. LRA) is the futures market analysis method, described in the ebook "Locked-in Range Analysis: Why most traders must lose money in the futures market (Forex)" by Tom Leksey, which minimizes an uncertainty in the futures market. LRA is the method of interpreting the...
The railway tracks pattern forex trading strategy is another price action trading strategy that is based on analyzing the lengths of two candlesticks of similar lengths and one of the candlestick must be bullish and the other one is bearish.When you see them together they look like railways tracks
  Something Interesting to Read  (74   1 2 3 4 5 ... 7 8)
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...
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...
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...
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...
  SYNERGY Trading Method  (837   1 2 3 4 5 ... 83 84)
The Synergy Trading Method was developed by Dean Malone and is an effective Forex trading method developed to simplify trading decisions with high probability precision. It combines the market forces of Price Action, Trend, Momentum and Market Strength to produce higher probability trades. The...
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...
Basically, I've been trying to set my TP in order to maximize my reward, which would be TP*P ( TP). After some math, taking into account the mean and Std deviation, I end up with a TP of 2.6 something pips, which, of course, maximizes the probability of hitting TP because is so small. On
How is the trading grid different from the Martingale trading system
Hi at all, After we develop basic of a strument, for to detect and analize the signals, how long to study it on historical data ? or on real data? 1 month ? 1 year ? 3 years ? ...more? I think the correct study period is relative to period we want use this strument, for example: if we want develop a
Hi, Do you guys know any broker which have at least the last 2 years of US500 history data with Real Volume
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...
New article Principles of Exchange Pricing through the Example of Moscow Exchange's Derivatives Market has been published: This article describes the theory of exchange pricing and clearing specifics of Moscow Exchange's Derivatives Market. This is a comprehensive article for beginners who want to...
  Cryptocurrencies  (9)
Dear To whom it may concern, How to add cryptocurrencies to the mt5
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
I'm quite new to COF trading. Anybody else here trading on Amazon, NVDA, Google, Netflix, Tesla, Facebook, Apple etc
I have a MT5 account with real stocks, no margin, no shortselling. My positions are separate, with each buy as a separate record. I recently wanted to partially close a position (i.e. Sell limit order on a partial number of stocks). However I realized I do not know how to do that. When I right click
  Order routing - EUREX  (12   1 2)
Hello everybody I trade FDAX with MT5 via AMP at EUREX. EUREX accepts stop-market orders for futures trading in addition to the native order types: market and limit. QUESTION: Does anybody know if the MT5 Gateway transmits a STOP-Market order to EUREX? Maybe we have to distinguish between simple
  Bonds  (4)
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...
  LME product  (10)
Hello,Is their any broker who provide LME product to trade on mt5. Lead,zinc,aluminium, copper,nickel...
  Crypto Trading  (1)
Hi guys anyone have crypto trading ideas? Share knowledge to others
How do you determine Dow via ZigZag indicator, which settings best for you
I've searched Google and this forum but found no straightforward answer to this question. It seems like some U.S. stocks can be traded with CFD only. It seems like there's a IB plugin to use but it doesn't look like historical data is provided to backtest. Has someone ever tried it with success? I
I cannot see the crypto icon to add crypto pairs to my trading platform. Is there something I need to upload to a folder? I have read where I should be add to trade the main pairs, BTC/USD and ETH/USD as an example
Hello guys Is it possible to connect Nest trader to MT4 for real time data... for technical analysis in mt4? Please help
Hello, I would like to create a descendant class of CExpertSignal. I plan to use make it callable by the EA wizard, as demonstrated here: https://www.mql5.com/en/articles/367 . An instance of this class will be added as a filter in the CExpertSignal generated. In addition to giving a buy or sell
Hello, It's possible to check the price every second (or whatever time you whant) and register on an array? I wanna check the price of the last second and register it. If so, can anyone help me out? Thanks in advance
So I'm totally new to MetaEditor 5 and I've searched for this everywhere but couldn't really understand. All I want to do is to check the value of the last tick and store it in a variable and then store the current tick value on another variable, compare them, decide either to Buy/Sell and reset the
Hi folks, I would like to check every hour or every 30 minutes if VPS I'm using for my EA is working. I wrote the following code, but I think there is some better way to input "times" every time that the function was called, instead of one line for each hour. What do you guys think
Is there a function that will give me a list of input parameters used for a test? Something similar to FrameInput when running an optimisation? My understanding is that I wont be able to use FrameInput if it's not an optimization run. E
Hello This EA has been developed, is highly flexible and does have profitable settings. I'm (bravely/stupidly) opening it out for people to test and share any profitable strategies they might find. It's not coded for MQL Marketplace yet, so it can't be sold on or used to develop a signal service....
Hi, I am using few EAs with Martinghale and grid. In case of a long trend it can lead to big DD. I am looking for a Recovery EA that would start a recovery based on various settings like % of DD in account and similar. I want to ask users of various recovery EA to share which recovery EA they use
some one tell me why my bot suddently not be able push notification? i trade on MT4 of IC Market. thanks alot
Hi, i have a problem with backtesting that maybe someone would be willing to help me with. When i try to backtest my EA it cannot load an indicator, i tried with multiple custom and built-in, niether worked. I run backtests on multiple pairs, usually more than 20, on 10-15 years of daily data. The
Dear Members, I am trying to write an Expert Advisor with MQL5 that initiates buy limits based on certain EMA values. Here is the code that I have written in OnTick() function.    MqlRates priceData[]; //create a price array      //sort the array from the current candle downwards...
I recently hosted my EA on mql5.com and i opened my terminal this morning and no open trade was running. I clicked on the Experts tab of the terminal and saw messages there "Trade Operations not allowed by setting as shown in the image Is there anything i cab do to correct this? Thanks
input buy level and manually 25 or -25 is different? input double BuyLeval = - 25.0 ; // TSI Buy Leval input double SaleLeval = 25.0 ; // TSI Sale Leval bool BuyCondition; bool SellCondition; BuyCondition = prevTSI<-
Hi, I am new to developing and coding on MQL4. I got a question and for some it might be stupid. But I am learning and trying to figure it all out for myself. (Take note that I am editing an EA I purchased from another developer) Is the count of [1000] the amount of tickets handled and kept track of
  EA with vps  (6)
Hi, I'm very new to all of this, I don't know it when I'm running bots in the vps (and its doing trading while having opend orders), and I configure a new templete and synchronize it, those orders that where opened before, the will get under control of the new template or I should close them...
THE CODE I WRITTEN TO STOP LOSS is not working My purpose of using price close is to make transactions according to the last price of the bar. if((CountOpenedPositions("buy") !=0 && (((InitialBalance)-(PRICE_CLOSE) ))/InitialBalance >= ( CloseLossPercent)/100 ||
Please help me identify the error why my custom indicator is displaying upside down. Dodger Blue line is original indicator and GoldenRod color my custom indicator in the attached screen shot. Also, I have not set LEVEL anywhere in code, yet in chart it is displayed. May be that is causing the
Hello I am looking for the Bollinger bands indicator with color change of the sup and inf bands according to their direction for MT4 like the one below version mt5 https://www.mql5.com/en/code/16489 https://c.mql5.com/18/53/BB_filled.png thanks
Please tell us. I am using a translation tool to convert the data into English. Is it possible to load a single signal indicator into iCustom, for example, a buy signal when SMA20 and SMA80 cross golden and a sell signal when they cross dead? I was able to do this in mql4, but not in mql5, so I
Hello, I'm coding a basket indicator which alerts me when/if a pair from the list reaches a round number (000/500). I've been able to obtain the last 3 digits from each pair as string (with StringLen and StringSubstr) but when i try to convert them to double or integer all the zeros got removed from
Hello Everyone, I am currently in the process of translating one of my mt4 codes to mt5. I've noticed something unusual when working with my code and its that when having an event take place in OnChartEvent, the event isn't processed until after a new tick. The code below shows the isolated
Hi everyone, When we creat Fibonacci Retracement manually on chart, we can get its level value(50%, 100% etc) as below. Then how is it possilbe to get the actual price of each level value ? Thank you X :-) void OnChartEvent(const int id, const long&amp; lparam,...
  All John Ehlers Indicators...  (943   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...
  MACD indicator  (1515   1 2 3 4 5 ... 151 152)
We are continuing discussion about the indicators. We have the following thread: https://www.mql5.com/en/forum/175886 https://www.mql5.com/en/forum/177239 https://www.mql5.com/en/forum/177358 https://www.forex-tsd.com/forum/debates-discussions/9785-rsi-indicator https://www.mql5.com/en/forum https...
Please, am having difficulty drawing from the edge of the chart, how do I go about it for point 1 and point 2 in picture below. Thanks
Hi, I'm looking for a Williams AD indicator that includes a SMA of the indicator values for mql5. I've ran across a mql4 version...hoping someone is kind enough to share if they have it. Thanks
Hello, may i ask why i can't set the height, width and position of a chart after opening it? This is the code i use: // General Variables bool ChartSetInteger (); // function void OnChartEvent ( const int id, const long &lparam, const double &dparam, const string &sparam) { if (id==
[Deleted]
  Multi Timeframe Indicators  (12220   1 2 3 4 5 ... 1221 1222)
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 am looking for an indicator which gives an alert when the price is touching or crossing the upper or lower BB line (using 50 BB with 1 devi). I dont know if its possible but it would be good to only show alerts when the price was outside the BB and then touches/crosses the upper or lower BB
Hello! When chart scale is set to fixed it is possible to drag the chart up and down, however when changing neighborly timeframes (especially the 1, 3 or 5 minutes) the margin to drag is way too little as it is probably calculated as the possible minimum to show the price action on the current...
How to convert a mt4 indicator to a mt5 one so it works exactly as if you are using it in a mt4 platform
iFisher : New fisher to catch trend with indication UP and DN Author: Syahirul Nizzam Bin Haron
Market_Sessions: Indicator Market Session Author: Scriptor
New article How to Subscribe to Trading Signals is published: "Signals" in MetaTrader 5 trading platform allow traders to connect to any signal issued by providers. Select and subscribe to any trading signals provider to copy all his or her deals on your account. How to become an investor and...
New article Interview with Irina Korobeinikova (irishka.rf) is published: Having a female member on the MQL5.community is rare. This interview was inspired by a one of a kind case. Irina Korobeinikova (irishka.rf) is a fifteen-year-old programmer from Izhevsk. She is currently the only girl who...
Corrected moving averages : Corrected moving averages Author: Navdeep Singh
New article Brute force approach to patterns search (Part II): Immersion has been published: In this article we will continue discussing the brute force approach. I will try to provide a better explanation of the pattern using the new improved version of my application. I will also try to find the
New article Trade Operations in MQL5 - It's Easy is published: Almost all traders come to market to make money but some traders also enjoy the process itself. However, it is not only manual trading that can provide you with an exciting experience. Automated trading systems development can also be...
EasyAndFastGUI library for creating graphical interfaces: The EasyAndFastGUI library allows creating graphical interfaces for custom MQL programs. Author: Anatoli Kazharski
New article How to Become a Signals Provider for MetaTrader 4 and MetaTrader 5 is published: Do you want to offer your trading signals and make profit? Register on MQL5.com website as a Seller and specify your trading account to offer your signals to traders. Keep in mind that you can create only...
Simple Open Order script with simple money & trade management feature : Script that opens 2 orders - one set to close percent of position when profit equals stoploss, another set to close at TP Author: Maxim Teo
  Scripts: Master Exit Plan  (13   1 2)
Master Exit Plan : This is a straightforward script for strategically managing open trades and pending orders. Author: Joel Protusada
New article Expert Advisor featuring GUI: Creating the panel (part I) has been published: Despite the fact that many traders still prefer manual trading, it is hardly possible to completely avoid the automation of routine operations. The article shows an example of developing a multi-symbol signal...
DXYvsEXY for MT4 : Indicator DXYvsEXY is the USDX vs EURX with Awesome Oscillator Indicator for MT4. Author: Roberto Jacobs
RoNz Simple Scalper Rapid-Fire Strategy EA: This Expert Advior is based on one of 17 Proven Currency Strategies by Mario Singh. The Expert Advisor uses MA and Parabolic SAR on M1 Time Frame. Indicator used : MA and Parabolic SAR.Timeframe used : M1Pair : Best with EURUSDRisk/Reward : 15 pips:10...
Squeeze Break Indicator: This indicator uses a combination of Bollinger Bands and Keltner Channels to capture moves from low to high volatility. Author: Desmond ORegan
Hey Everyone! I am having an issue, my EA is Working Fine in Live Market But when i run it on the Strategy tester it is not opening any trade and return Error is 138. I have tried to Fix this issue by Reading many threads And i Have tried everything that i can get my Hands on, but the issue is
hello every one. I am so new so fresh in MQL I try to learn this language by practicing in this case I try to check the chart objects( trend lines ) like this: #property version "100.002" #property strict extern string LongTrendLineDescr = "LTR"; extern string ShortTrendLineDescr = "STR"; extern
Hi All, Looking for a little help as I've spent the previous two days going through the zero divide error threads in the forum and can't quite find a fix to my issue. Basically, my EA runs fine for several trades, but then I get a critical error closing the EA. It is a Zero divide error and it gives
Hi friends, I need to know how to get angle of a moving average. after I get the angles, then I want to calculate tangent of the angle and compare the value with a specific number. I want to implement  these method with mql4 to predict an up-trend. just give me a tip how to get the angle of an...
Good day guys, I am trying to code an EA that opens a new trade as soon as the trailing stop for the previous entry is at breakeven. I want to do this at least 5 times when the trailing stop is above the previous entry price. //2nd Sell Order OrderSelect (SellTicket,SELECT_BY_TICKET); if (StopLoss <
After position has been closed OrderCloseTime() returns 0, but OrderTicket() and OrderProfit() return correct values. If I call OrderSelect() before OrderCloseTime() it returns correct datetime... Sleep(1000) call does not help... Tools and account: MQL4 Alpari MT4 Version: 4.0, Build 1320, 11 Dec
hi guys i try to trade eurusd , by another chart ,the EA is placed over EURCAD and here i want trade EURUSD but if i try not work why ?? //+------------------------------------------------------------------+ //| test.mq4 | //|
  Current spread and swap monitor  (38   1 2 3 4)
been asked for this a couple of times by pm,so here it is
  Usefull links/threads/tools  (54   1 2 3 4 5 6)
The thread about threads: what's going around the forum everywhere ============ MT5, mql5, mql5.com suggestions for improvement thread ============ Requests & Ideas The beginning Requests & Ideas, the beginning - the thread Suggestions for Trading System thread After Requests & Ideas (MQL5
This code is in an EA #property strict //+------------------------------------------------------------------+ //| Expert initialization function                                   | //+------------------------------------------------------------------+ int OnInit()   {    bool check=ChartSetInteger(0...
If you try to use a multicurrency indicator like this one: Free download of the 'DXYvsEXY for MT4' indicator by '3rjfx' for MetaTrader 4 in the MQL5 Code Base, 2020.08.20 The results are distorted over time, as you can see from the images here attached. It is not possible to correctly verify the
Hi guys, I hope you doing well. I wrote an EA which is more complicated than this below, But as an example in the below code, I used ADX to get signals, when it's running on real time it works perfectly, But when I want to back test, It doesn't actually works, Then the strategy tester doesn't move
From the topic u will get fast my problem I'm a beginner EA programmer, this is my first EA pls see my Code I really dont get why its still not working, I mean why do I get still "invalid error" //+------------------------------------------------------------------+ //|
Hello Members, I am trying to get onclick event for the panel and dialogue CButton. But is not working. Its working for other control types like Combo box etc. But not working with buttons. How to solve this issue? #include <Controls\Dialog.mqh> #include <Controls\Label.mqh> #include
Hi, I need to update an old indicator (T3 Trix) to the current language. As I understand, the old language uses functions like init() and start(), the newer language I'm needing is more like Onlnit() and OnCalculate(). If anyone could point me the the right direction it would be much appreciated