Download MetaTrader 5
To post a new topic, please log in or register
i want to create a walking FILO ( first in, last out ) time buffer where i use the symbol timestamp as array index value.  Does anyone know if there is any impact of performance using a 14 count array index value ? Example foo[1518776791280] = 1;foo[1518776791282] = 1;foo[1518776791283] = 1; Or i...
Alpha Testo Maxxx will help you be higher than a hawk's nest. Eventually, Alpha Testo Maxxx is child's play.Do you post photos of your Alpha Testo Maxxx online? Be a lot better off with that. I'm mostly self-educated. I will tell you currently that I had little involvement with that feeling. You...
  help in coding  (4)
hi guys, im new to coding in mql4 but i need some help..... im trying to code in a way that would allow me to automatically draw fibo retracement lines between the last low/highs of a zigzag indicator line and an arrow indicators point... like for instance.... if a new sell arrow appears i would...
All lessons of Codersguru: https://www.mql5.com/en/forum/175653 Mql - Metatrader Development Course | www.metatrader.info https://www.mql5.com/en/forum/172885 All Codersguru lessons + questions/replies and so on are on this section Metatrader 4 mql 4 - Development course - Forex-TSD Book: https...
//Variable externasextern double Lote = 0.01;extern double StopLoss = 300;extern double TakeProfit = 400;extern int TrailingStop = 280;extern int Slipagge = 10;extern int MagicNumber = 12345;extern int PeriodoEMARapidaActual = 5;extern int PeriodoEMALentaActual = 21;extern int PeriodoEMARapidaPasada...
  Traders Joking  (10178   1 2 3 4 5 ... 1017 1018)
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.
  Press review  (5919   1 2 3 4 5 ... 591 592)
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...
How do i call a function in an EA that runs on H1 timeframe. Since the Start() or OnStart() runs once per H1 Bar but I want to call the below function every 6 minutes  . Using OnTick() does not work for me , i don't want to call it on every tick. Just every 6 minutes   . Any help will be welll...
Hello, i´m new in MQL5 and i have a problem with draw short horizontal lines in candles. I had tested and i can draw line between candles using Trend Lines, without Ray. But i want draw a short horizontal line in candle not between. Is possible in MT5?   Thanks for help.
Less than 6 monthsLess than a year1 - 2 YearsMore than 2 yearsComment to specify
  DOM Ladder  (8)
Hi. How much would it cost to make this DOM?
Hi coders, I trade different currency pairs at same time (manually) with trend reversal strategy. If I have an alert, is it possible or exists any function, that the chart with the alert opens (is showing) automatically over the entire screen. Thank you very much for helping!!
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...
GBP/CHF Price 1.6097 Trend : Up @Buy At : 1.6097 stop loss : -35 Pips Target : +45 Pips @Buy Limit : 1.5890 stop loss : -35 Pips Target : +35 Pips @Sell Limit : 1.6200 stop loss : -35 Pips Target : +45 Pips EUR/JPY Price 108.64 Trend : Up @Buy At : 108.64 stop loss : -35 Pips Target : +45 Pips...
  FOREX ANALYSIS  (754   1 2 3 4 5 ... 75 76)
USD/CAD The primary trend of USD/CAD is bullish on charts and price is trading above the trend line in its hourly chart. In hourly chart the price is sustaining above 200 day SMA and taking support of 50 day SMA indicating uptrend of the pair. Resistance level of 1.3780 and Support level of 1.3670...
  Harmonic Trading  (5938   1 2 3 4 5 ... 593 594)
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...
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...
  There certainly is a Holy Grail!  (103   1 2 3 4 5 ... 10 11)
It is generally accepted in the trading community that there is no Holy Grail.  That is a very human and absolutely normal way of dealing with the subject.  As many of us know, there are a number of fundamental items in the economy that are fundamentally wrong, but, the human race developed the...
Hi! I'm a newbie. EA (generate) has got 20 trade signals. How can I include indicators that I can download from the market and include it into the list. Assistance will be much appreciate it. THANKS
  Trading System by Xard777  (3865   1 2 3 4 5 ... 386 387)
Here is a suggestion for a possible trading system... System one is MT4-Xard777.rar and System two is XARD-BOX.rar Enjoy... All the best Xard777
Hi! I need to trade a static % Margin of the  HIGHEST PORTFOLIO BALANCE. eg 10% of 10000 = 1000. If the  portfolio value drops to 9000, the margin is still 1000. If the portfolio values moves higher to 11000, then margin will be 1100.It must not be calculated on the new portfolio balance. THANKS
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...
  Channel trading system  (318   1 2 3 4 5 ... 31 32)
It is simple trading strategies. m217irr mentioned about it here but I did not understand it in that time. This strategy is very good for the beginners and I started my forex with this strategy some years ago. And not me only. I know that Tartan started with this strategy as well and finally we have...
I want to say that my nick 'newdigital' is not connected with digital filters. But I started this thread to discuss and explain about trading strategies based on the digital filters only. And to understand how to implement those filters. All about digital filters you may find https://www.mql5...
  Signal Systems  (292   1 2 3 4 5 ... 29 30)
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
Hi guys, I am looking for a EA/script that places buy and sell market orders on two FX pairs simultaneously - for example buy EUR/USD and sell GBP/USD. I do not want any SL or TP, just to specify the particular symbol to buy and the symbol to sell, and the relevant volume. I am quite new to that,...
  Something Interesting to Read  (25   1 2 3)
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...
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...
  Simple Ichimoku System  (140   1 2 3 4 5 ... 13 14)
Simple Ichimoku System. Some members remember Ichimoku informational template for Asctrend M5 elite section system thread: https://www.mql5.com/en/forum/174756 and new set of this system from this post. It is so called Ichimoku informational template to check market condition on H4/D1 timeframe...
This might work. I learned this from a Forex class, and the teacher showed us this technique. Its relatively simple. Attached is the Keltner Channels indicator. Basically, when the currency crosses the top channel, you buy, and sell when it crosses the top channel on the downside. You sell when it...
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
  Bermaui Analysis  (42   1 2 3 4 5)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
  Forecast and levels for S&P 500  (255   1 2 3 4 5 ... 25 26)
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...
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...
Hello, How do I determine the daily OHLC prices for BTCUSD? It trades 24 hours a day so does this mean open price is determined at 0:00 time?  Thank you
  Google  (8)
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...
  Apple  (17   1 2)
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...
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...
The Worst Stocks Of 2016: First Solar It was decreased from 72 to 28 for this 2016!
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...
Is there any good forex manual trader who has good risk management and good profit every month? If you are a good forex trader, I am glad to cooperate with you.
I've been trading Forex for a year now, and trading crypto for 2 years. I've been waiting for a blockchain based platform to bridge the worlds of traditional assets to cryptographic currencies, and other than Genesis Vision, I'm not seeing anything. Is anyone aware of projects similar to GVT at...
Is It possible trade these instruments with a low spread (10 or minuns) and volume (0.01)?
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...
Bovespa Index Technical Analysis 2016, 10.04 - 17.04: branging bullish with ascending triangle pattern to be formed for the bullish trend to be continuing Daily price is located above 100-day SMA (100 SMA) and 200-day SMA (200 SMA) for the bullish market condition with the ranging within the...
hi guys, im new to coding in mql4 but i need some help..... im trying to code in a way that would allow me to automatically draw fibo retracement lines between the last low/highs of a zigzag indicator line and an arrow indicators point... like for instance.... if a new sell arrow appears i would...
Most EA downloaded from the code base, I can get the total number of positions by encoding, like this, void CalculatePositions(int &count_buys,int &count_sells)  {   count_buys=0.0;   count_sells=0.0;   for(int i=PositionsTotal()-1;i>=0;i--)      if(m_position.SelectByIndex(i)) // selects the...
When I test my Ea,it show " CTrade::OrderSend: market sell 1.06 EURUSD [invalid volume]" ,how to solve it?
Hi, I was "playing" with hedging to explore possibilities : it's very tempting, since it allows purely & simply to recover from a bad position taken.  The risk of these strategies is well-known : lot management. Comes ALWAYS a point, where the margin is stressed, the logical solution being to accept...
Hello, i try to find out how to use iCustom with MQL5, for Mql4 there was ist easy, but here i always get an error i use following code double Renko[];int   RenkoHandle=0;double Ask = SymbolInfoDouble(_Symbol,SYMBOL_ASK);double Bid = SymbolInfoDouble(_Symbol...
Hello, i have a problem that i can't set the text for an OBJ_EDIT when being within chart event.  The goal: When the edit field is clicked, i want to set a new text. This is not working. Please check the script.  How to accomplish this ? Thank you #property copyright "chinaski"#property version "1...
thank you guys I want to compare the value of the main line and the signal line in MQL5. i was doing like this in MQL4:-      if((iStochastic(NULL,0,5,3,3,MODE_SMA,1,MODE_MAIN,1)<iStochastic(NULL,0,5,3,3,MODE_SMA,1,MODE_SIGNAL,1))&&(iStochastic(NULL,0,5,3,3,MODE_SMA,1,MODE_MAIN,0)>iStochastic(NULL,0...
Hello, I'm trying to make the trader able to set MA type on an EA, I tried this coding: enum MA_Method {   Simple = 0,   Exponential = 1,   Smoothed = 2,   LinearWeighted = 3};input MA_Method Mode = Simple;double SlowMA = 200;//...//Some Coding//...double SlowMA = iMA(Symbol(),Period(),SlowMA,0,Mode...
Hello, I'd like to know if there's a way to get the information from the options board (get it from code). I'd like to get information like the option strike and volatility. Thanks Option board image (https://www.mql5.com/en/forum/153649)
My EA creates, writes to, and reads from .csv files while it's running.  One issue I noticed was that if I open the .csv in Excel to read it, my EA will not be able to open it and write to it. Would it make sense to use FileOpen during initialization, and keep the .csv files open (and then close in...
Am confused with this  OrderCloseBy function, i thought it only closes one order by another but it is closing both orders at once.
Hi there, I would be glad if someone could me  help out: I want to organize the common/file directory into input and output subfolders, in order to read files there accordingly by my EAs. The manual says "The name of the file can contain subfolders". But it seems that I am missing something there....
  Hjälp  (3)
Hej! Vilken sida ska jag vara på om jag ska komma gång och autotrada, och fungerar det inte på helger?
I have an algorithm to develop an EA. The goal is to develop an EA that will never get a margin call, but will always close in profit or with zero loss like grid Martingales do. My problem is I can't afford Freelancers to fully develop it and I would like to have it done before walking the long path...
  click button  (10)
Hello, i want to provide a click button in my expert which behaviour is the same as any normal button. So, when mouse is over button and left mouse button pressed, the button should change into pressed state. Unfortunately, i get no such LBUTTON_DOWN event. The next useful event for this...
I use latest mac book and i installed mt4 using wine bottle. I would like to know if all or some of the indicators offered on this site can be installed on a mac? 
Hi, is it possible to get the buffer value from an indicator which I have downloaded from the market? If I use want to open the indicator than I am getting the message "cannot open file '... .ex4' [2] "
  bug fix  (6)
can anybody fix this indicator bug. it is not work properly. in sell arrow not alert. pls help me
Dear traders, programmers... I am very disappointed about my trading results, and am in real need of any sort of help, I just want to get my lost money back, which was a total of 8 years of hard work. I appreciate your kind support.
  Renko Chart  (6)
Hello, does someone have an Renko Indicator what is working and have a Box open Time?  all i found have only the box size, open price, high and low price but no box open time amando
I am trying to create a alert indicator that is attached to a chart, say EURUSD, and will monitor multiple timeframes and charts,  and it will create alerts when large candle sizes occur for instance say a  current candle on eurusd, has a big spike in volume and a movement of say 500 points, I want...
This one is for those that use metatrader 5 Metatrader 5, unfortunately, did some things that hardly are logical. One of the things done by it is that builtin averages (and all the other builtin indicators) are not functions any more. That is as big a nonsense as it can get. Instead of making...
  swing indicator  (16   1 2)
Hi, I searched for weeks but I didn't find a good indicator for swing points, I mean highs and lows, because all indicators have something wrong: repaint, lag, many false signals. I only need an indicator for entry points that is accurate. Does such indicator exist? PS. I found the one attached but...
i am sharing pics of backtesting of BINARY INDICATOR, tell me about this ,is it good to buy?
Hello, I'm using an indicator IXO but using it in EA give serious fast problem in BackTest (is very slow). The indi calculate in Tick and ID0 ...someone can suggest the modification to calculate every candle starting from ID1 (no ID0). The code is easy, I try but I get error. Many thanks. THE CODE:...
//+------------------------------------------------------------------+//|                                         PrevDaysHighLow_TEST.mq4 |//+------------------------------------------------------------------+#property copyright "15.01.2018, Daniel"#property link      "http://www.mql4.com"#property...
  Elite indicators :)  (15023   1 2 3 4 5 ... 1502 1503)
Hello, Does anyone know where I can find an indicator that takes in price values, which when reached or surpassed will cause the indicator to send a sound alert?
Hey...anyone knows where I can find stochastic oscillator with sound alert on oversold and overbought positions?
//this code attempt to chart out the major SR levels. it's logic are as follow://1.  look back say (400 bars). look at all the turning points using fractuals. put into a temp array//2.  sort the temp array from low to high. //3. compare each of the SR level, and see if they are close togehter, using...
I'm trying to create a control panel for my indicator based on zigzag. I need to get the first 5 values of the zigzag and the time of these values for the selected timeframe from the panel, which were at the very beginning of the story available (limited number of bars in the settings) First 6...
FibonacciPivot: Fibonacci indicator drawing levels on previous day. Author: noloxe
  Experts: Angry Bird (Scalping)  (143   1 2 3 4 5 ... 14 15)
Angry Bird (Scalping): Expert Advisor with the system is very sensitive to movement. Author: bimbimaone
Expert Advisor 3 Level ZZ Semafor: This Expert Advisor is based on 3_Level_ZZ_Semafor indicators. Author: ultimatefx
New article Cross-Platform Expert Advisor: Signals has been published: This article discusses the CSignal and CSignals classes which will be used in cross-platform expert advisors. It examines the differences between MQL4 and MQL5 on how particular data needed for evaluation of trade signals are...
New article Trading Signals in MetaTrader 5: A Better Alternative to PAMM Accounts! is published: We are pleased to announce that MetaTrader 5 now features Trading Signals, thus giving a powerful tool to investors and managers. While you are following the trades of a successful trader, the terminal...
Signals: A solution for those who can not devote much time to the analysis of the current situation on the Forex market and to making correct and confident decisions, that are an integral part of online trading. Author: John Smith
Get M1 OHLC data for MetaTrader 4 backtesting: Usually most brokers do not provide M1 data over 3 months in MetaTrader 4, but they provide M1 data over 3 years in MetaTrader 5. So we can use this tool to obtain the M1 data in MetaTrader 5 tester and save the data into .hst file for...
New article Night trading during the Asian session: How to stay profitable has been published: The article deals with the concept of night trading, as well as trading strategies and their implementation in MQL5. We perform tests and make appropriate conclusions. Let's take the popular EURUSD pair....
New article Cross-Platform Expert Advisor: Custom Stops, Breakeven and Trailing has been published: This article discusses how custom stop levels can be set up in a cross-platform expert advisor. It also discusses a closely-related method by which the evolution of a stop level over time can be...
  Experts: TradePanel  (13   1 2)
TradePanel: Simple one click trade panel, typically useful for scalpers and day traders. Note: The current chart symbol can be switched by writing the desired one in the symbol box. Author: MhFx7
CDouble & CDoubleVector: A library for common rounding methods used in MQL development, primitive wrapper class for type (double), and vector for CDouble objects. MQL5 and MQL4 compatible! CDouble The CDouble class wraps a value of the primitive type double in an object. In addition, this class...
  Libraries: JSON Parser  (17   1 2)
JSON Parser: This is a Class for the new MQL4 that parses JSON. It requires the Hash.mqh class. Author: ydrol
Pivot Star: Pivot indicator. Standard, Fibonacci, Camarilla, Woody's, Demark. Calculates pivot points from previous bar of chosen period (M5 - MN). Author: rkdius
Positive Volume Index: This indicator, recognizing trends in an early stage, can be used to get ready for a break-out scenario. Author: Alexander Kocian
Relative Momentum Index: The Relative Momentum Index (RMI) was developed by Roger Altman. It was first introduced in the February 1993 issue of Technical Analysis of Stocks & Commodities magazine. The RMI is a variation of the RSI indicator. The RMI counts up and down days from the Close...
Hello all, I could need some help with this modification. I am trying to change the OBJ_VLINE to a OBJ_TREND in order to stop it from drawing the line on the bottom indicator window and only drawing the line on the chart. But I am unsuccesful as my coding skills are basic at best. Any help would be...
  Pattern  (22   1 2 3)
Pattern indicators.
Hi all I've been racking my brain on this all afternoon and can't work out where I'm going wrong...  My goal is to find the high/low between now and a previous trade. I know the general gist of it is  (1) find current datetime and past reference datetime (2) find the hours between the two datetimes...
how can I get previous bid and ask price in mql4?
Hello, I have this High/Low trailing function on which I'm getting an Error 1 while running. I know this error is not very significant  but I can't understand why it's coming up. the strangest part is that I wrote  if(prevsl<newsl && newsl<=Bid-stoplevel && prevsl!=newsl) which is now actually...
  OnTimer  (2)
A problem I have been chasing for some time is probably caused by the timer interrupts a vital history data update or a follow up routines for new data. I have been thinking of different ways to handle this problem. The timing is not crucial, it just a way to refresh data on regular intervals. 1....
I was recently looking for some code like new candle but loads at first run then waits for new candle to run indicator faster... and accurate.. But during my tryouts come of wit this solution Time frame independent. Let me share and what you think?...
Hi, I've attached a couple of images. One is where I have the bars small and one where the bars are larger. If I drag on the time axis on the chart window, going left makes the bars smaller, going right makes them bigger. In the images, there is an indicator that I have programmed that has "wave"...
For some reasons I am using the old version of mt4. Please installing EA seems different on this old system compared to the new mt4s. Any idea how to install and run my EA on older versions (2001 to 2009) of mt4? Help
Hi folks, Scratching my head on how to do this.  I have about 90 charts open, all running different EAs. I'd like to loop through the charts and check what EA is running. If the EA matches a string then close the chart. I can't seem to find the right function to do this.  long chartID=ChartFirst();...
For some reasons I am using the old version of mt4. Please installing EA seems different on this old system compared to the new mt4s. Any idea how to install and run my EA on older versions (2001 to 2009) of mt4? Help
I use MT4 on my phone via the app and it suddenly restored all settings to default and deleted all my chart markings. Is there anyway I can get these back or will I have to redo all of my TA? Thanks
  A System: Code  (96   1 2 3 4 5 ... 9 10)
Welcome Community Get ready to meet the brand new MQL4 project. Primary target of this project is to bring together MQL4 advantages and progressive software engineering practice. I am sure that best way to predict the future is to create the future. Yours sincerely Airat Safin
 Is there a way to attach or remove a particular EA mt4 script to mobile app like iPhone or Android and do the trading by enabling the EA script? If there is an option for this, kindly please let me know the steps to do this. Thanks alot!
Hello Supply and Demand Traders, I have a custom expert advisor which trades off supply and demand zones.  The zones it trades off are from this source - https://www.mql5.com/en/code/14545 (indicator attached below).  Here are the rules of the EA: - When price reaches the proximal level of an...