To post a new topic, please log in or register
Hello, I am tying to use iBands() in an EA but I dont understand what the value returned mean ! Please help me !
  Indonesian Member  (3426   1 2 3 4 5 ... 342 343)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
  GBP/USD forecast  (1136   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 This mql5 code prints the oldest bar info first.  How can I get array indexed so that the current bar on the chart is in index 0 and thus prints out first? Thanks MqlRates rates[20];CopyRates(_Symbol, PERIOD_D1, 0, 19, rates);for(int i=0; i<20; i++){   Print(rates[i].high);}
Hello Everyone,  I need your suggestions on the top 10 best indicators to be used for trading or binary. Please also suggest why you would like to use it. Kindly, share references or code base link so I can also try it. Please everyone suggest something and help me.
  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
hopefully someone of the staff is reading it and start to change it! I tried to debug an indicator with mt5 connected to MetaQuotes-Demo: MetaTrader 5 Desktop Demo. In the option for the debugger I wanted set: And these are the first Bars I get: 2018.09.19 09:37:17.258 CaVol (EURUSD,H1)       Bar[2]...
Hi Using the code in this article https://www.mql5.com/en/articles/159 to detect the new bar arrival. In the file lib_cisnewbar.mqh Is there a way to "using the code in the link" to detect the arrival of one day bar when the chart in a smaller time frame? i.e. arrival of a new bar in a different...
I am still having problems. Service desk referred me back to forum and sorry cant publicize the code. Ea complies to all this https://www.mql5.com/en/articles/2555 but automatic validation always returns a no trade error. On my side trading works in all conditions like strategy tester, demo account...
hello there i am new to trading and learning about trading robots  i am currently 18 years old living in the United kingdom and have around 1800 gbp to invest overall in a robot and in my mt4 account i was wondering what will be the best robots for my situation as i have not a lot to invest in, how...
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...
Hi All, I want to know that Is there any way we can add functionality of auto update in EA? So our client don't have to do any thing they can enjoy latest versions without any difficulty. 
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.
  Become an Author at MQL5.com!  (120   1 2 3 4 5 ... 11 12)
Thenew MQL5 Community website at http://www.mql5.com keeps developing. Weinvite all of you to make your contribution to this development. Thenew MQL5is the evolutionary continuation of MQL4. The new language ischaracterized by the support of object oriented programming, by ahigher code execution...
hi guys, I have an EA but want to add a loss parameter for all open trades to close when it hits a certain amount. Can anyone provide me with that line of code please? I have attached the mq4. many thanks on advance.
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  (406   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
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...
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...
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...
  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 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...
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 I'm rather new to MT4 and programming EAs so maybe this approach is all wrong :) I have writeen an EA that displays up/down arrows at possible entry points for buys and sells, without triggering actual buys/sells. It is using some of the indicators' values to achieve this. This works fine....
Hi,  Im trying to set Position Sizing to be according to the asset last ask price for example if i set the value $1000 and the ask price is $100 then the position size must be 10. can anyone help with this ?  thanks
  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;...
Hello, I have some problems with this indicator. The the alert only appears once, I need to reload the indicator for the next alert. Can anyone help with this one ? * and a push notification alert would be great!
  EMA with alert  (8)
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.
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
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...
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...
Volatility Indicator: Great indicator for Time series analysis as shows stationary properties. Indicator calculates the difference between a 14 period Double exponential moving average and price closes. Great to help identify unusual price activity. Author: QuantStrategies
RSX range expansion index - with confidence bands: RSX range expansion index - with confidence bands Author: Mladen Rakic
RSX range expansion index - with floating levels: RSX range expansion index - with floating levels Author: Mladen Rakic
RSX range expansion index: RSX range expansion index Author: Mladen Rakic
Synthetic RSX: Synthetic RSX Author: Mladen Rakic
  Indicators: MA_BBands_YXF  (47   1 2 3 4 5)
MA_BBands_YXF: The indicator is a combination of MA channels and Bollinger Bands. Author: johnsun888
New article Using WinInet in MQL5. Part 2: POST Requests and Files is published: In this article, we continue studying the principles of working with Internet using HTTP requests and exchange of information with server. It describes new functions of the CMqlNet class, methods of sending...
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...
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()...
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 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...
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...
Hello, I'm really new to this and I have a simple (I think) question, maybe someone can take the time to explain. I want the EA to make one (maybe 2) transactions, then I want it to stop trading. I'm sure this can be done, I just don't know how unfortunately. Thank you very much!
soubra2003
Hello may I know how to add the moving averages to a separate window as below screenshot? .. I am not asking to how add it manually, I am asking for coding
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.
  Expiry date in EA  (22   1 2 3)
How I can implement a validation of EA based on a date, if it is greater than that date show a message "the EA has expired..."?
hello i need a close all trades (pending+ active) button indicator that it can close all trades on all pairs when i install it on one of my charts. can anyone help? thanks