To post a new topic, please log in or register
Hello , please help me fix this.. i got an error while backtest ea for H1 timeframe but no problem for M1.. it say critical error in the EA, array out of range (1278,19) when i compile there is no error sign.. i don't know how to fix this.. //--- main loop         for(i=limit; i>=0; i--)...
  USD/CAD close to visiting resistance  (523   1 2 3 4 5 ... 52 53)
The USD/CAD keeps its bullish trend, the next resistance may be the 1.3458 level and from there the price may try to stall or even break to the downside, but if oil keeps dropping, then we may see a breakout of that level. A breakdown of the bullish trendline may indicate a change in direction, but...
im trying to figure out why when I click on  Position Size Calculator (MetaTrader indicator) it doesn't activate the trade. ive gone over the installation numerous time still doesn't work. thanks in advance. 
Hi there.   I want to write myself a custom indicator which displays a histogram on the main chart that uses price/time parameters defined by clicking and dragging a rectangular area on the chart.  The user would click and drag an area of interest on the chart, and when the mouse button is released,...
Hi! I know that when you synchronize the metatrader  indicators and experts from you computer it uploads to the servers... but what if I erased metatrader form my computer, can I download the settings from the servers to my computer? Thank  you!!!!
  Eur/usd news  (6271   1 2 3 4 5 ... 627 628)
Hey dear members... Could you please tell me wich NEWS of economic calender will have a big impact on the EUR/USD Like yesterday the USD Unemployment Rate (FEB), USD Change in Non-farm Payrolls (FEB)? I need to know wich news will make the eur fall or rise that much ! Thx
Please there is any online chat support for MQL5 ?
Hey Guys, I'm fascinated with trading like you all and I want to experience how to create a robot. I have zero knowledge about this subject. I do have a stretegy I've been using for years and i want to see if i can create it in an algorithim. Where can i start to learn this stuff? Thanks
Hi there, If I want to search through the +100 pages of indicators (https://www.mql5.com/en/code/mt5/indicators) by subject, can it be done? Or must I manually search each individual page? I have tried the search function at top right, but it is ineffective.
  GBP/USD forecast  (1138   1 2 3 4 5 ... 113 114)
I’m having a little loss right now, but I think I’ll close the deal with profit.  
Hi, my terminal MT4 installed in VPS and running on window 10, but when I login or go to market tab, the terminal window always refresh and in journal tab displays "MQL4 Market: failed to get list of user products [403]". Can you advise how do I fix it please? I have asked service desk and their...
I have a neatly working scrip which exports the data when I attach to a single chart. Can this script be run by a macro which will progressively attach it to all of the open charts - automatically? just run through all open charts... the scrip is here https://www.mql5.com/en/code/232 Dave
Hi, I am still trying to understand MQl4, so my question may be basic. My EA has ability of opening upto 10 orders, and I need to place a trailing stop to all trades depending on the order in which they were opened. Looking at topics like  https://www.mql5.com/en/forum/191264 , I note that the...
  USD/JPY Analysis  (835   1 2 3 4 5 ... 83 84)
Well, the asset moves as I’ve predicted. I think that I can earn even more on USD/JPY! Definitely, the show must go on =) 
After I login the forum, how can I find my own topic posted before. thx
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...
  Forex Correlation Theory  (35   1 2 3 4)
PRACTICAL USE of the Correlation Theory This article is focused on explaining how currency correlations can be used in a very practical way. Our goal is not to dive into theory or theoretical models but show how correlations can help solve practical trading-related decisions. The Forex Correlation...
5%10%20%30%40%50%50% - 100%
Is it able to build a EA using LSTM RNN model in Metatrader?  I have done some research and found something called FANN, however it seems to work with simple neural network only. 
Hi guys I am trying some experts on Activtrades but They give only 6 months of history.  Can You help me please? only for EUR USD....  minimun 2 years  in .csv frame: 1 min 5min 15min 30min 60min 240min 1 day thanks in advance for helpful
Hi I am new forex trader.tell me your opinions. Thanks. 
Does anyone know what is the name of the EA using in the photo above? It seem like this robot is quite aggressive in entry as you can see there are quite a lot of red arrow and blue arrow in the chart area. I just guessing those arrows are means for buy and sell location, and you can see there are...
Hi guys, I just start a trading discussion about what the best method to identify trend. We know there are three type of trend: 1. Up Trend 2. Down Trend 3. Sideway. How we identify Trend? Thanks in Advanced.
I have been trying out different strategies from internet, however, I can't seem to get out of losing cycle. I am already overwhelmed because I lost my money in forex. It was my fault that I lost money. I have tried my best to educate myself (babypips, books, articles) and find the best trading...
  PANTHERea.....100% win ratio  (103   1 2 3 4 5 ... 10 11)
Ok guys, this is the end of my forex path...... It took me 5 years to make this(coding lasted for few days), but the method itself was developed for years. Bassicaly I took all of my knowledge, mixed it, coded it, optimize it........and done that for last 3 years. This ea is something with the...
Hey. I made a successful bitcoin trading bot. Bot has earned me about 16 btc in fees during last 8 months, but it requires many external dlls, so I cant sell it normally on the market. (it trades btc against all avaliable altcoins on Poloniex or Bittrex, that meet certain conditions) Would it be...
Hello everyone! Some years ago I found on another website, a strategy that works good and I added a little something that makes it even better. Here's the original strategy and then my little addon... <strategy> You make 1 trade per day on the EURUSD Your "day" ends at 4:59EST and starts at 5pm EST...
Pivot Point Scalper The Logic Behind This Strategy: Fifteen to one hour after the market has open, if price is above or below the Pivot point, Price Action will strongly tend to remain above or below the Pivot point for the whole session. If the market opens above the pivot point, the probability of...
I have been looking for a programmer that will be able to code this indicator into an EA . The supersignals v3a indicator can repaint most times, but the results are good. I will like to encode it into a profitable EA. Kindly resolve this issue for me and revert back. Thanks
  Forecast and levels for S&P 500  (407   1 2 3 4 5 ... 40 41)
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...
  Apple  (25   1 2 3)
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...
If I have a certain balance in my account, when trading with UK100 for example, will having 1:500 leverage reduce my margin requirement for the trade rather than 1:50 leverage? I already know what leverage does but I just want to know if it decrease margin required for a trade. 
  Bermaui Analysis  (154   1 2 3 4 5 ... 15 16)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
Trade ideas and market outlooks welcome. 
Hey guys, AUDUSD is currently testing a strong support. I ended up entering a sell trade too early, but got rid of it. Support was tested on May 2016 and December 2016/Januray 2017. What do you guys think?
It is very sad that majority of the people that get involved in the forex business end up losing their money but I will explain the major reasons why this happens below: 1. Leverage and Margin - Trading on margin seems like a fast way to make quick profit however, this gives birth to greed as a...
AMP Futures has officially announced the launch of the MetaTrader 5 platform for trading futures. AMP Futures is a US regulated Chicago-based Futures Commission Merchant (FCM) providing access to the global electronic futures markets for individual traders, as well as US and foreign Introducing...
New article Creating a trading robot for Moscow Exchange. Where to start? has been published: Many traders on Moscow Exchange would like to automate their trading algorithms, but they do not know where to start. The MQL5 language offers a huge range of trading functions, and it additionally...
  McDonald's  (12   1 2)
The weekly share price stopped the bearish reversal and it was bounced from 110.32 support level to above to came back to Ichimoku cloud to the ranging market condition. Fow now, the price is on testing 121.85 resistance level to above for the reversal to the trendy primary bullish market condition...
  Google  (13   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...
CAC 40 January-March 2017 Forecast: bullish with key resistance at 4924.69 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 4860.85 resistance level to above on close weekly bar with 4924.69 as a nearest bullish target to re-enter. Thus, the weekly price is...
Download Link: https://www.dropbox.com/s/h3f859ghwf58v5l/BinaryEasy%20Dolly%2015%20FibBreakOut.rar After watching different youtube videos about different systems It came into my mind to try an build an binary options strategy towards CJA's (TSD) Dolly 15 system. Make an breakout strategy that...
  MT5 real FUTURES broker  (24   1 2 3)
Hello, is anyone aware of any futures broker that offer its client the MT5 trading platform? Is there a list of those? I mean real futures, not CFDs. Futures that trade on CME Globex and Eurex exchanges. Thank you.
Can anybody help me? This is an example of an American Stock's CFD. -3.32% every day for me doesn't make sense. Thank you
All, I need some help with the coding iAlligator indicator    double jaw= iAlligator( NULL,0,J_Period,J_Shift,T_Period,T_Shift,L_Period,L_Shift,MODE_SMMA,PRICE_CLOSE,MODE_GATORJAW,1);    double teeth= iAlligator( NULL,0,J_Period,J_Shift,T_Period,T_Shift,L_Period,L_Shift,MODE_SMMA,PRICE_CLOSE...
Hi there, i was running experts on my demo account and also want to use some on my real account. But when i change something in demo it also changes in real and vicevera. same with closing windows it does it in both accounts. is this normal? Anyway to work around this? else the demo account is kind...
I am new incoding and hope find helps and insights with respect to my problem. I downloadesan EA using ADX as indicator for buy and sell signal. I added a secondindicator (still ADX) but with different timeframes (5 minutes). The idea is whenboth ADX (1 minutes and 5 minutes) are higher than a...
Anyone have MACD EA? Macd histogram above zero line is buy signal. Macd histogram below zero line is sell signal. Open buy when histogram closed above zero line, and closed trade when sell signal occured. And sell when histogram closed below zero line, and closed trade when buy signal occured. Maybe...
Should I login to my account before sending orders in MT5? I mean before using commands like: Ordersend(), should I send user information to server? should I do somehting else? because the server rejects all of my orders, but when I manually put them there is no error.
Hi, I would like to run 3 to 5 EAs simultanously on one MT4 Terminal. But I cannot optimize their input parameters so that they handle their trade accordingly to just a part of the balance on the account. If for ex. the margin stop out level of the whole account is at 50%, I would like to instruct...
  i need help  (3)
Please the Brothers programmers modify the EA attachment EA  opens deals when a sell signal appears and opens a sell when a buy signal appears to open a buy Required: Do not repeat transactions above some or in close proximity to some .. Meaning When a buy signal appears, there is an old buyout at...
hello i have attach my account to vps server on mql5.com website. but there is an error. when i click on  stop auto trading button on my platform , and close each opened positions by EA . EA instantly open another position instead of that. another problem is when i install my EA on only 1 or 2...
  iCustom error  (1)
Hello. I'm trying to use the icustom command to utilize the bollingerbandwidth % indicator i got free from the market however i get this error 2018.09.18 14:32:25.062 2017.01.04 21:28:24  cannot open file 'C...
hello guys i need your advice . i am panning to place a section in my EA code. that should place sell stop and buy stop in some places. but i don't want to get trapped by gaps , fast market movements  etc...and after slippage those will active in bad place . and sometimes , some of them will...
hlw i want to attach my one EA free, with mql5.com market  but it use an indicator which is connected to EA by icustom i cant attach the EA,  how i connect indicator + EA together, so that if anybody want to download EA, he can also same auto download indicator in market folder please suggest
I need simple EMA Cross over EA. Both 2 EMA is apply to open Trades only open in given time range in a day Period 35, Period 3 Trade Should close when reversed signal no matter trade loss or profit. Should work on every timeframe. SL is open. TP should be a Input in pips. When one trade open TP...
Hello ,  While updating my EA to the new version , Automatic testing has stuck and it has been running for more than an hour , stuck on " Started " Any one from the moderation can know how to solve that , I can't even cancel it
Once I test same EA in Strategy Tester having same settings including spread, time frame, balance, pair etc , I get different results with MT4 terminals of different brokers. Why is it so?
Hi All, I am a noob in programming. My question is once I received notification alert from another EA/script externally, I want to run my own Ea/script in my MT4 accordingly Example:  I am running my MT4 when an alert notification for BUYS for this pair pops up on my screen. This alert notification...
Hello Pro Coders, Im aPhong, new to FX & Im learning coding as well. Could anyone share a MQ4 file of whatever scanner you have like Pinbar , Harmonic ... scanner that will work on different pairs & multi timeframes without loading lots of charts? Im tring to code simple Pinbar scanner but after a...
Hi everyone Please help me to add alert to this arrows indicator for MT5. I tried but I'm not programmer  thank you in advance guys
  Which is a better indicator ?  (59   1 2 3 4 5 6)
Which is a better indicator ?
  Wingdings Error  (21   1 2 3)
Hi, A HAPPY NEW YEAR! Guys :) I'm struggling with Wingdings input int Code = 221;void OnStart()&nbsp;&nbsp;{ ObjectCreate(0,"TEST",OBJ_LABEL,0,0,0); ObjectSetInteger(0,"TEST",OBJPROP_XDISTANCE,200); ObjectSetInteger(0,"TEST",OBJPROP_YDISTANCE,200); ObjectSetInteger(0,"TEST"...
Below is a simple test script. It uses CopyHigh() to grab the high of the week so that I can create an envelope around the daily highs. Thus, it runs on PERIOD_D1 chart and pulls PERIOD_W1 values. It works as I would expect on the chart (picture 1). But in the Visualization window of the Tester, I...
Hi all, I'm new to MQL5 and I have a question about getting indicator data from another timeframe. Let's say I want to draw H1 Envelopes no matter what interval is displayed (M5, M15, M30 etc.). It means that for example on M15 the lines of the indicator should have the same value (or not?). For now...
#property strict#property indicator_separate_window#property indicator_buffers 2#property indicator_plots   2//--- plot bbwidth#property indicator_label1  "bbwidth"#property indicator_type1   DRAW_NONE#property indicator_color1  clrGreenYellow#property indicator_style1  STYLE_SOLID#property...
Here there are the differences between Prev_calculated and Prev_calculated-1 in bars loop using prev_calculated-1 int OnCalculate(const int rates_total,                const int prev_calculated,                const datetime &time[],                const double &open[],                const double...
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
I'm receiving this error when debugging and indicator. I'm using MT4 build 1090 19 May 2017. I've tried the  class CFix { } ExtFix; fix but this did not work for me. Any further ideas/fixes please? 
Dear All, I develope an arrow alert custom indicator, but there is an issue First I explained the rules of this custom indicator : On TF H1 - Buy, when previous candle Close is higher than 2nd candle High on the day - Sell, when previous candle Close is lower than 2nd candle Low on the day The issue...
Hi guys,  i apreciate any help. I am stuck, i think this is little problem, that i can't see because my inexperience, even to search about my problem. I start a indicator, that plots on chart an arrow from technical indexes from 2 indicators. It actually analizes the crossing of 2 EMA's and and...
  Multi Timeframe Indicators  (12163   1 2 3 4 5 ... 1216 1217)
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...
int begin=!prev_calculated?rates_total-BBandPeriod-1:rates_total-prev_calculated;   double bandsUpper, bandsLower, bandsMain, bbwidth[];         for (int i=begin;i>=0;i--)   {        bandsUpper=iBands(NULL,PERIOD_CURRENT,BBandPeriod,2,0,PRICE_CLOSE,MODE_UPPER,i);      bandsLower=iBands(NULL...
What is wrong in calling the Empty indicator using CIndicator class: The output is the following: handle=-1 The caller: CIndicator IDiv;......int OnInit()  {   MqlParam          params[3];   params[0].type         =TYPE_STRING;    params[0].string_value="Empty";    params[1].type         =TYPE_INT;...
New article A Quick Start Or a Short Guide for Beginners is published: Hello dear reader! In this article, I will try to explain and show you how you can easily and quickly get the hang of the principles of creating Expert Advisors, working with indicators, etc. It is beginner-oriented and will not...
New article Interview with Achmad Hidayat (ATC 2012) is published: Throughout the entire duration of the Automated Trading Championship 2012, we will be providing live coverage of the events - hot reports and interviews every week. This report spotlights Achmad Hidayat (achidayat), the participant...
RSX of RSX: RSX of RSX Author: Mladen Rakic
New article 14,000 trading robots in the MetaTrader Market has been published: The largest store of ready-made applications for algo-trading now features 13,970 products. This includes 4,800 robots, 6,500 indicators, 2,400 utilities and other solutions. Almost half of the applications (6,000) are...
New article How to Prepare a Trading Account for Migration to Virtual Hosting has been published: MetaTrader client terminal is perfect for automating trading strategies. It has all tools necessary for trading robot developers ‒ powerful C++ based MQL4/MQL5 programming language, convenient...
CCI T3 based with floating levels: CCI T3 based with floating levels Author: Mladen Rakic
Corrected RSX: Corrected RSX Author: Mladen Rakic
High frequency volatility trader: Expert advisor uses the difference between bar closes and a close moving average to detect unusual activity, it will then buy arbitrary volatility spikes. This is a prototype that I will be expanding on in the future, at the moment the user can input an arbitrary...
PZ Progressive Trading Scripts: This set of scripts has been designed to scale-in your trades as price action runs in your favor. This will maximize profits due to proper pyramiding, decrease the impact of unprofitable trading decisions and in general, make your life easier. Author: Point Zero
New article Custom presentation of trading history and creation of report diagrams has been published: The article describes custom methods for assessing the trading history. Two classes have been written for downloading and analyzing history. The first of them collects the trading history and...
RSX of alb average: Short description. Author: Mladen Rakic
Jurik smooth on chart generic trend: Jurik smooth on chart generic trend Author: Mladen Rakic
Williams Percent Range, %R: Williams’ Percent Range Technical Indicator (%R) is a dynamic technical indicator, which determines whether the market is overbought/oversold. Author: MetaQuotes Software Corp.
Step chart of RSX of average: Short description. Author: Mladen Rakic
Currency Strength Meter: Currency Strength Meter indicator gets RSI (Relative Strength Index) values from four different instruments of your choice and displays them in indicator window. Features Ability to set custom colors and styles for each instrument, Displays colored labels for instrument...
Is it possible to pause the timer. It looks like EventTimeKiller(); only works with DeInit. I would like to pause the timer while I execute some orders and then restart the timer once I have finished executing my orders.
Hi all, is there a function to get Total Open Orders for one Symbol only? As far as I know TotalsOrder() will return all Open Orders for all symbols. Thanks in advance pob
I test me EA on my own broker it works okay. But when I send in for validation I get the following : test on EURUSD,H1 there are no trading operations test on NZDUSD,H1 there are no trading operations test on GBPUSDcheck,M30 there are no trading operations test on XAUUSDcheck,Daily there are no...
I have been learning to trade on MT4 for a few months on demo. I decided to mive on to an actual live account, so, I signed up and deposited 10 dollars to start trading. Later, I found that the decision I made was premature. In fact, I cannot trade live through the mobile demo app and went with...
Hi  I hav an indicator which shows trend . UpTrend is green and down trend is red. As I know some of this kind of indicators are drawing 2 lines .one of them green and the other one red . and when they want to show green one they make red one equal to zero and And conversely if they want red one so...
I want my EA to print arrows on the chart to indicate where a trade was opened/closed. Is there anyway that we can draw multiple of the same object at different points in the chart? For example I might want to create an arrow on the current bar: Created = ObjectCreate(ChartID(),"Sell_Arrow"...
Hello, I would like to calculate the daily profit of one of my EA, my code is: double DailyProfit() { double profit = 0; int i,hstTotal=OrdersHistoryTotal();   for(i=0;i<hstTotal;i++)     {      if(OrderSelect(i,SELECT_BY_POS,MODE_HISTORY)==TRUE)        {          if(TimeToStr(TimeCurrent()...
Hi. Recently I have devoloped simple EA, code seems to be ok in my terminal, no errors so far, but when I'm trying to upload my EA to MQL market it doesn't pass automatic validation, error 131 appears - invalid trade volume. have anyone idea what it could be? here's the code :  
If a trade has been opened without a stop loss, but later on the necessity to add a stop to the open trade arises, what is the best way to deal with this situation? Is it to use OrderModify: OrderModify(Ticket,Open_Price,Stop_Loss,0,0,clrNONE); and if so, how will the program know if the stop loss...
Dear MQL, Please consider an update to MetaTrader 4 for signal subscriptions. Currently there is only one method to copy a signal service, and that is to use the % method. FX Blue Trade Copier provides the following options for copying another account (lot-sizing modes): Use Fixed Lot Size, Use Risk...
Hello I need a help how to lock my EA/Script based on my login account number ? example: my login number in my broker is 12345 , and I want my EA/Script can run only inthat login number. also how to lock the EA/Script that can run in one broker only ? (example: my EA/Script can run only in...
Hello all, I just downloaded MT4 on my PC running Windows 10 - Version 10.0.16299 - Build 16299.  I'm trying the basic task of adding expert indicators, which requires that I go to File > Open Data Folder. However, when doing so, I get an error stating "This App Can't Run on Your PC" with a...
Hello dear friends, What can I change in this code so it doesn't draw connection between pivot lines? It makes it confusing for me.  Thanks in advance for your help.  #define IND_NAME "Pivot Point S&R"#property indicator_chart_window#property indicator_buffers 7#property indicator_color1...
I am trying to return a value from an indicator buffer via iCustom, but I keep getting the error 'cannot open file': '2018.09.17 11:09:53.368 cannot open file 'C:\Users\ryanw\AppData\Roaming\MetaQuotes\Terminal\1DAFD9A7C67DC84FE37EAA1FC1E5CF75\MQL4\indicators\ADX & ADXR.ex4' [2]' I have declared the...