Download MetaTrader 5
To post a new topic, please log in or register
Hi Guys,  Continuing on from my last post :  https://www.mql5.com/en/forum/226823   I have established that I can run the built in EAs and get some sort of result for backtesting. Now I want to start getting more specific and start testing the Parabolic SAR. I have watched about 10 Youtube Videos to...
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...
I have a freeware indicator that paints really useful support and resistance levels on a chart that I want to incorporate into an EA. The problem is that I don't have the source code so I can't use iCustom because I don't know which buffers it uses to paint the lines. I did try to interrogate the...
hello traders, which indicators can i use to ; 1.determine market volatility 2.determine a trending and non trending market
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...
Hey, goood morning .... i'm trying to improve some code lines and i want to get reed of some code like this:    // store current buffer   int bufferRC = this.getBuffer();   if ( bufferRC == -1 ) return false; The method returns -1, 0 and eighter a 1 or a value greater then one. All values equals or...
  Traders Joking  (10174   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.
  Protecting my EA  (8)
I would like to resell my EA but not give away the code.. Is there a safe way to do this? Kind regards, Neal Russell Vanderstelt
  Indonesian Member  (2834   1 2 3 4 5 ... 283 284)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
Hi All, I have this error, "Terminal.exe - Initialization error 4", when I tried to open my Meta Trader 4 platform. Anyone know how to fix this issue? Thank you.
Hi Friends  I tried a lot search from google but did't find Andrews Pitchfork indicator, can you one help me? how can I get free Andrew Pitchfork Indicator if some one have then please share 
I made a EA and that the result for GBPUSD but if i try in another pairs like EURUSD its does't got the same result someone can explain me, why that can be happend?
Eyy Guys, i need your Help. I need a Broker with spread of 0.5 NOT ECN Account. Any Trusted broker that you know? Except ActivTrades, hope you help me guys. TIA
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?...
Perfect indicator Non-trending EuroDollar market during EU-US session = Flat or horizontal M6 (Six minute chart) 50 Exponential Moving Average with 10 Exponential Moving Average oscillating below and above it.
  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...
  EA BUG  (6)
i'm trying to write an EA and i have little problem, the EA calculate some bar's data at the end of every bar i used code below: if (candle1!=iTime(Symbol(),PERIOD_M1,1))  {candle1=iTime(Symbol(),PERIOD_M1,1); ....} this code works perfectly every minutes; when i run the EA for first time, EA...
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...
  Trading System by Xard777  (3864   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
  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...
  How To Set Stops  (27   1 2 3)
Setting the best stop always has been and always will be the bane of traders. We have all experienced the anger and crazy-making that goes along with setting a stop far from the current price only to be stopped out by ONE pip and then having the price quickly completely reverse and go on to reach...
  Expert  (34   1 2 3 4)
What features should be a good expert ?
  Forecast and levels for S&P 500  (254   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...
  Bermaui Analysis  (41   1 2 3 4 5)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
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...
Stock market indices are used to measure the general movement of the stock market ; but can it be used for overall market ?
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....
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...
  Hjälp  (3)
Hej! Vilken sida ska jag vara på om jag ska komma gång och autotrada, och fungerar det inte på helger?
Am confused with this  OrderCloseBy function, i thought it only closes one order by another but it is closing both orders at once.
i would like to get a clear difference between the effect of orderclose and ordercloseby functions. how is ordercloseby different from orderclose in the way they work and what happens to the opposite order when i use it to close onother order when using ordercloseby
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...
Hi All .. Firstly, I realise that it's not allowed to discuss Market Place products in the forum, and so I hope it's OK to ask some questions about a product that is not listed in the market yet. I have been running my EA for some time, and it has never crossed my mind to sell it. To cut a long...
Does anyone have a custom Messagebox class with a timeout they'd be willing to share?
hello everyone I was looking for an ea with the technique of the candle idnr4 but I can not find anything, I find it hard to think that anyone has done an ea about this method, being very profitable someone has some links to share by chance for mt4 please?
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...
What it is: Below, you'll find my Swiss Army EA. I've designed it so that it can manage orders in your MT4 terminal using a large variety of methods. Features includes breakevens, trailing stops, setting/removing for takeprofits and stoplosses, and many close-out conditions; you also have ability...
  Hma Ea  (164   1 2 3 4 5 ... 16 17)
Hi, I've developed simple EA for HullMA's lovers. Also I've optimized this EA for period 2006.01.01 - 2007.01.01 (MQ Server). Kind regards, Igor ----------------- Edited by Newdigital. - HMA_v2 indicator is here. - HMA_Expert_v1 EA: post #1 of this thread. - HMAExpert_v1.1 together with...
Hi, To gather ticks infos, I use the code provided by mql5 with the strategy tester on EURUSD, M1, quality 100% : /--- the array that receives ticks   MqlTick tick_array[];//--- requesting ticks   int copied=CopyTicks(_Symbol,tick_array,COPY_TICKS_ALL,0,ticks);//--- if ticks...
Is there any way to know if the EA is running on Strategy Tester? My EA uses the symbolInfo.MarginMaintenance() to make some equations to trade but these values are zero in strategy tester. To work around this problem, I created a parameter to set the margin (to use in strategy tester only) and I...
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.
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...
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? 
  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...
  Filters indicators  (302   1 2 3 4 5 ... 30 31)
Some indicators which can be a filter to avoid big losses. If you have a great idea so you need a filter. To avoid any trading in none-trading zone. Please post your filters here. And please find the filter ... let's say ... 4 in one: FATL, SATL, RSTL, RFTL. In one indicator.
  Digital ACSTrend  (426   1 2 3 4 5 ... 42 43)
Hi all I started this thread to gather in one place the ideas for the next generation of ASCTrend. This is necessary because this new instruments require appropriate testing as they are new. It is not possible to use new instruments in older strategies without verification. So here it is the thread....
  KBOS Indicator  (1)
Hello All, I have an indicator that is named KBOS. Problem is I can't remember where I found it and in looking at it in the editor there are no names associated with it.  I'm trying to find it again and if anyone knows I'd appreciate a response here. Thank you. Terry
  EMA with alert  (7)
Hi all, new to MQL4. I would like to build a simple 50 EMA that send out an email to me when price closed below or above it. Can anyone can give me some codes to start with? Thank in advance.
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...
Self Optimizing RSI or MFI Trader: This robot optimizes the values it uses for overbought and oversold based on what would have been profitable during the Optimization periods(bars) back. Using the strategy of selling when the index indicator crosses below overbought and buying when the index...
LinesProfitLoss: Calculates profit (loss) of the current orders on the symbol. Author: Taras Slobodyanik
Zig Zag & Fibonacci: One of the best indicators about with a slight tweak to make it less noisy. Shows ZigZag lines to help spot cycles and draws Fibonacci lines to indicate support and resistance levels. ‌ Author: Brett Jones
DSL - DEMA MACD: Variation of a long known and useful MACD indicator. This version is using: DEMA (Double Exponential Moving Average) instead of using EMA (Exponential Moving Average) for MACD calculation, DSL (Discontinued Signal Lines) and instead of using one signal line uses two. That...
1 Click Button To Close All Open and Pending Orders V03: Click "Close All" button to close all your open & pending orders at once. Author: grandaevus
New article Triangular arbitrage has been published: The article deals with the popular trading method - triangular arbitrage. Here we analyze the topic in as much detail as possible, consider the positive and negative aspects of the strategy and develop the ready-made Expert Advisor code. The...
Signal Candles: Get entry signals from specific candles based on your rules. Signal Candles indicator lets you filter candles by your predefined criteria (direction, minimum size, upper tail to candle ratio, lower tail to candle ratio etc) and get alerts when such candles appear on the chart....
Multi Timeframe Bollinger Bands: This is a multi timeframe indicator for Bollinger Bands. With it you can plot the Bollinger Bands of the higher timeframes without changing the current chart. This allows you to more clearly understand the price context by seeing the levels of the other timeframes on...
VSA Syndicate Trader v1.04: Syndicate Trader is coded from the basic VSA (Volume Spread Analysis) study by Wyckoff. EA will identify potential No Demand and No Supply strike zones and excecute buy or sell market orders (Instant execution). Author: Nathan Nthusi
Composite RSI: Composite RSI Author: Mladen Rakic
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...
DSL - TEMA MACD: Variation of a long known and useful MACD indicator. This version is using: TEMA (Triple Exponential Moving Average) instead of using EMA (Exponential Moving Average) for MACD calculation DSL (Discontinued Signal Lines) and instead of using one signal line uses two....
  Help with Backtesting  (15   1 2)
Hi Im an advanced trader but just starting to get into Metatrader4. I followed several youtube videos on how to do a basic backtest on Metatrader and I can do all the steps required but then when I press Start my platform never seems to finish the test.  It will run for forever for over half an hour...
Just looking for some coding help. I designate shortname for indicator I want to be able to delete: int init()  {  IndicatorSetString(INDICATOR_SHORTNAME,"PA");...return(0);  } Then for the indicator that will be deleting the one above, code is below. I assume all I should need to do is to drag the...
Hello everyone, I have been trying to use a button to switch between charts in the watch window. I can switch charts but the previous one isn't being removed/deleted. void ChangeChart()  {     CurrentSymbol = SymbolName(Next_Symbol,false);Next_Symbol++;     Close_Chart   =...
  Requests & Ideas  (7162   1 2 3 4 5 ... 716 717)
Hello , this EA is shwoing great result but i am sure that it needs some tuching tunning ( i guess playing around with its codes or adding others ) Please have a look at it i am sure it worth it - i hope so - attached is a forward test of this EA for just 5 houres or less ( when ever i get good...
Hi all, is there any engulfing pattern indicator that can provide notification to my smartphone where there is a engulfing pattern alert and it shows and draws fibo everytime there is engulfing pattern forming. If there is links to buy it would be great.
Hi folks, I'm trying to find a good example of posting JSON data in MQL4. Is there an easy way to do this? Thanks in advance
  New MetaTrader 4 Platform build 1090  (59   1 2 3 4 5 6)
New MetaTrader 4 Platform build 1090 The MetaTrader 4 platform update will be released on May 19, 2017. The new version fixes some bugs in the operation of the client terminal. The update will be available through the LiveUpdate system.
When I debug a MT4 program (currently a script), I after some short time are thrown out of the debugging process and have to start new (Soft-Key "Start debug"). At this point "Stop debugging", "Step into" etc. are inactivated (of course). This seems to be correlated with the frequence of market...
Hello everybody, i've got the following problem when testing ea: The result in optimization and testing without optimization are different (same parameters). I think that come from the spread not taken into consideration in optimization mode. can somebody could confirm or indicate me the origin of...
Hello Members, Looking for a simpler logic to find Lower High under a certain time limit. Please see the picture for better understanding. In this case, I can find Highest point with iHighest Easily. Highest_barindex = iHighest(NULL,0,MODE_HIGH,80,1) But how to find the Lower High point X?  Thank...
I have two existing trades that I am trying to modify. At the time of modification, the new order parameters are as shown below. I get Modify error 3 (ERR_INVALID_TRADE_PARAMETERS). Can't tell why. For the buy-stop order below, the OrderPrice is higher than current Ask by more than the...
Hi  I'm getting into crypto trading and want to use my mt4 indicators. Could someone recommend a mt4 broker that has lots of crypto symbol to use? lmk that would be great. J
i want file .mql4 such :robot will deleted pending orders after I order those around 5 minutes or 10 minutes or 15 minutes and more... if pending order did not excute.  Thank you very much
I am making an indicator to identify tops and bottoms of price movement and connect them just like the zigzag indicator actually there are three buffers: tops[] , bottoms[],and zigzag[] which is the combination of tops and bottoms my problem is that sometimes the same candle  qualifies to be have a...
Something strange overhere, only when i close and restart the metatrader 4 platform orders from my EA are placed, immediately.. Has it something to do with connection, or with the EA, but what? Ed