To post a new topic, please log in or register
Hey, I need to train my Neural Network, but before A File with all the Inputs has to be written. I want to make it possible with just one EA initialisation, like in the following PseudoCode: (is that possible) input bool training = true                    // Training or Livetradingstatic bool...
I'm working with an external indicator and access to different buffers is needed. For example, a Bollinger-Bands-like indicator has three buffers ( one for the central line, two for the external ones ). How to access those data? It seems it is not possible just using iCustom and CopyBuffer. Thank...
  Traders Joking  (11530   1 2 3 4 5 ... 1152 1153)
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.
  About Activation  (5)
Hi Moderator, I bought an EA for USD99 in the MQL market on June 17th, and it is the only one EA I buy, I clearly knew that only 5 activations for USD99 and one activation per computer includes system reinstallation, but at that time, I didn't know it also includes Windows 10 update...
  VPS migration  (2)
Hi, How to move VPS from MT4 to MT5? I try in https://www.mql5.com/en/vps/subscriptions "change account" and I provide details of MT5 account, but it does not move.
  Possibilities of Canvas.  (25   1 2 3)
Demonstration of the possibilities of Сanvas in dynamics. The picture never repeats. This script also works on MQL4, but much slower. #include <Canvas\Canvas.mqh>void OnStart()  {   ChartSetInteger(0,CHART_FOREGROUND,true);   CCanvas C;   int Width=(ushort)ChartGetInteger(0...
l Hi all, dear friends I have been very tired with automatic validation in mql5.com Every time I try to send a debugger version EA but check fails. Sometimes I get the error 134 and another time I get the error 131. I hope to find someone willing to help me solve this...
Hello . I am writing to you to report a critical problem. I'm late in demo on the futures contract on ampfuture with the MT5 platform. The problem is that when I place a buy or sell order at the market price I am always executed at the price of the last price some is the bid / ask...
Can the MQL5 developers add a comment parameter into the close positions CTrade methods? I sugest to change these CTrade methods, adding the comment with a default value, like this:    bool              PositionClose(const string symbol,const ulong deviation=ULONG_MAX, const string comment="");...
Im just learning mql4, but I have a problem. I want to know if it a buy trade exist, but the function always returned true. Whats the problem? bool vaneBuy(){ bool buy=false;    for(int x=OrdersTotal();x>=1;x--){    if(OrderSelect(x,SELECT_BY_POS,MODE_TRADES)==true);{    if(OrderType()==OP_BUY){...
Hi, how do I log in with my broker's credentials? Can anyone please advise?
  Indonesian Member  (4516   1 2 3 4 5 ... 451 452)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
  My Seller Account Not Approve  (204   1 2 3 4 5 ... 20 21)
I have opened my account in mql5 which has been more than 6 months and has not been opened yet, I have completed all the document and multi, still my account is still unapproved, Please Solution
I have an indicator with one button in corner of chart And i want to click this button first,then click on the one of the chart bars and my indicator draw a simple line from that bar's date(and again when i clicking on that button , remove previous line and draw new with new given date ) the big...
What is the difference between M2 and M7 off line charts for example? I compared the two and seem to be identical..
  MONEY MAKING manual trading system  (519   1 2 3 4 5 ... 51 52)
Dear All, As this is my first post on this forum you may think that i am a newbie which i am for sure in comparing with some forex gurus like Igorad, but after spending couple of years in losing money, researching, losing money, researching and finally earning money i don't feel like one . I...
  Automated Vs Manual Trader  (26   1 2 3)
On my opinion, “Automated Trading Systems” does notpay attention to the Ratios. However, by automating your system there are zerochances of falling in love for a deal, which is good since no one is lookingfor love here! In the other hand, very few traders can actually automatesomething different....
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...
Discover in 15 Minutes: Watch the Video about Trading Signals in MetaTrader 4 and MetaTrader 5 The most frequently asked questions related to the Signals service will be collected and processed in this topic. The list of questions will be updated from time to time. Soon we will try to give answers...
"I've been trading for 3 months and I'm constantly losing money. Do you have any advice for a newbie who is rapidly beginning to look like road kill ?! WHERE TO BEGIN WITH THIS QUESTION ???? For a newb, the best trading system would fall into the realm of "swing" trader, a term from the world...
Hi, Scalping & trend indicators. Hi, there are so many different indicators can anyone givean indication (links) which ones they have had success with? Or which is a good combination to use (some traders i've heard use a combination of indicators)
Which is the better system, trend or reversal trading?  Many indicators and EAs seem to be for reversal trading but is it really the best way to trade? Anybody know of any good EA that specifically utilizes trend analysis without resorting to a grid strategy or any form of Martingale?
  Something Interesting to Read  (52   1 2 3 4 5 6)
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...
Hello everybody, does anyone know a system that copies trades from telegram signals to mt4/5. I have recently discovered <> they offer a 7days trial (one channel version) which I tried and worked perfectly. Now I want to try their paid version (multichannel version). has anybody  tried it before?...
257 Pips, One Afternoon, One Rusty Old Indicator (--- spreads = 225 pips ---) DISCOVER SCALP TO FREEDOM K.I.S.S. (Keep It Simple Sweetie) FOREX TRADING SYSTEM Let's give 6 pips average from not getting out at best --- below still seems to give: 177 pips in an afternoon?? I put the good old indicator...
  BrainSystem: Setup Questions  (94   1 2 3 4 5 ... 9 10)
I tested this system and have some suggestion about trading and so on. All BrainTrading indicators you may find here. Profiles_default files are here (and attached to this post as well). Shortly I may say the following. - Download all 8 indicators (and iTrend indicator as well - attached) in the...
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...
Whats up traders, I've came across a strategy which prove promising with manual back testing which I'm sure is a old strategy for the pro's.  Explanation of strategy: 15M Chart. Rules to buy: Signal - MACD cross above 0. Only take trade if Stochastic and RSI is above 50. Rules to sell: Signal - MACD...
Hello. I am using the dialog class to create a trading panel. It's almost finished. What is missing is the function of partially closing orders, which is giving me a headache. I get an error message when trying to use the partial close function. The order ticket is picked up correctly, so I dont...
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...
  Dax future real-time data  (18   1 2)
Hi, anyone knows how to buy Dax future real-time data ? Thanks!!! 
Chicago Mercantile Exchange offers Currency Futures options and the historical data is available. Is there any backtesting tool for Currency Futures Options? I am looking at plotting the implied volatility of a constant delta options . For example the 30 day 25 delta for EurUsd futures contract...
Hi, For Indian Market, Strategy Tester in EA is not working but it is working for Indicators. There are two possiblites to work Make it work in EA indian market account (or), Copying the symbol data and load to other mt4 demo account and test How to do ? Suggest me with solutions
Monthly Forecast for USDTRY 1950-2018 1960-1977 %235 2001-2018 %249 1978-2000 %1394 Source: CBT-EVDS Data Central
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...
  Forecast and levels for Dax Index  (54   1 2 3 4 5 6)
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...
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.25 06:50 Hang Seng Index Q1 2017 Forecast (based on the article) "Underlying sentiment surrounding Hong Kong stocks has remained negative with underlying concerns surrounding...
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
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...
  Apple  (28   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...
  Forecast and levels for Nikkei  (32   1 2 3 4)
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.24 17:18 Nikkei Q1 2017 Fundamental Forecast: Bullish (based on the article) Fundamental Analysis  "The Bank of Japan has been buying stocks for over two years now. And in September, the...
Hello all, I am new to this forum and I have recently downloaded MT5. Now I want data for Indian Stocks. Can someone help me who are authorized data vendor for India Exchange NSE for MT5. There are many data vendors for Amibroker and Ninjatrader in India but not for MT5. How I can import historical...
Hi, Are there any brokers allow trading both FX and stocks/index for the Hong Kong markets? Thank you in advance
  OPEN TRADE  (7)
Hello sirs.  I want to know if can I open trade with an EA based on the alert message on the chart?  If alert message "buy"then open buy position.  ..?
I'm trying to build an EA that can only allow a second trade (Position) only after the 1st trade is 10 candles behind. Tried this but didn't activate any trades->    MqlRates PriceInformation[];    ArraySetAsSeries(PriceInformation, true); int testData = CopyRates(Symbol(), Period(), 0,...
Hlw i hv enough knowledge in mq4 programming but in mq5 i m almost new asking some help in place order my mq4 code here: // ---------------------------------------------------------------- New pending order if condition...
Hello, I bought an expert from  MQL5 market, I loaded it to my account and my friend's account. Expert is trading in my account correctly but it's not trading in my friend's account at all. Help me, plz.
I am implementing the EA with mql5. I would like to know how can I retrieve the most recent open position. As I am using buy limit and buy stop, it can't use the highest ticket number to refer to the latest open position. What function should I use? Could anyone please give any suggestion?
Hi Does anyone know where I can find a expert that closes my deal once price closes above or below a moving average? I found the code for MT4 but not for MT5.
I really don't understand arrays of class objects. If we look at this page we see the correct way to use an array of objects is to use pointers https://www.mql5.com/en/articles/351 CName* cname[10] but my working code doesn't do that, it uses an array like this  MyClass objs[]; and my code works but...
the code indicator im trying to pull from is this #property copyright ""#property link      ""//----#property indicator_chart_window#property indicator_buffers 2#property indicator_color1 Red#property indicator_color2 Green#property indicator_width1 2#property indicator_width2 2//----extern...
Hi, On every tick I am iterating through all my open positions, and depending on certain criteria I will close it or not. What puzzles me, if I start iterating through and say have 100 open positions and I close the 50th, what will happen on the next  - 51st - iteration?  Because I imagine the...
Hi,  I have found a lot of outdated codes on the form in regard to this topic. What is the quickest way to open 1 positon per pair? I'm using the code below which one open 1 pair and 1 trade but I wish to open 1 trade for each pair I select. Thanks if(((OrdersTotal()==0) &&...
How can I remove orphaned buttons from a removed EA without using the EA that originally created them? Please is there a script or something, its driving me bananas. cheers
hello, can you help me please :) string CheckFilter(){   string filter="";   double myPriceArray[];   int VolumesDefinition = iVolume(_Symbol,_Period,VOLUME_TICK);    ArraySetAsSeries(myPriceArray,true);   CopyBuffer(VolumesDefinition,0,0,3,myPriceArray);   float...
  Requests & Ideas (MQL5 only!)  (483   1 2 3 4 5 ... 48 49)
Terms and Conditions: You describe (you provide) the idea, I place an open MQL5 code in this branch, I place this code in a CodeBase. &nbsp, I specify the author of the idea and the author of a MQL5 code in a code, The coding services are provided "as is" and you use them at your own risk. List of...
We have used the WebRequest function to send data to the server side and everything has been running normally for the previous 2 years. This latest version is present, and stops all Expert Advisor activities at VPS. At the end of 2018. During this year we have changed all of our EAs...
ive been trying to make an indicator but am stuck on this one part. below is the code ive been trying    int i;    int limit = 100;    int test = 0;  int OnInit()   {    return(INIT_SUCCEEDED); void OnDeinit(const int reason)   {   } void OnTick()   {      int lowest = iLowest(NULL,0,MODE_LOW, limit...
  Moving Average  (1521   1 2 3 4 5 ... 152 153)
Post all MA indicators here.
I don't think it is possible but wonder if there is a way to Deinit the indicator from OnCalculate? Tried "return(-1)" but it just get pass to "prev_calculated" so it will not exit the indicator program. Tried calling OnDeinit() functionbut once it jump to OnDeinit it will return back where it was...
Hello Guys I need help in creating the Currency strength formula that works on comparing the correlation of 8 major pairs that looks like below 50 is neutral, below 40 is weak currency, above 60 is strong currency Anyone can help on giving the formula on how to calculate those? thanks
I need to implement an indicator that create rectangles but I want that they overlap candles.Anyone knows if there's a way?Thanks
I have downloaded indicators from this site and tried to hide/unhide lines on MT5 by changing colours to none or changing colours but the option is locked and I am unable to change the colours. Can some one please suggest a way to change the colour. Thanks
I did search MQL5 forum but seems like iCustom is executed at incorrect sequence in OnCalculate when using it in different timeframe as the chart's base timeframe. below table in the left is when using same timeframe M5 for the chart and iCustom. right table is when using M1 timeframe in chart and...
What is the best trend indicator / What is the best trend indicator code?
  best indicator  (19   1 2)
hi  i want best indicator,Can anyone help me؟؟؟
How can i download an m-candles indicator for Meta 5 thanks guys
Hello Guys, Hope you had a real nice weekend? I have a little problem trying to upload my custom indicator to the market but the system was telling me something about the file contained native code. I don;t real understand that, may be somebody who have come across such challenge can help me out...
  CCI Woodie like  (261   1 2 3 4 5 ... 26 27)
Hi everyone, I was wondering if anyone could share a "Currency Strength Indicator" (which measures the strength of a currency's price in relation to other changes) for Metatrader 5. Thanks and have a good day. 
I'm looking for an indicator that alerts when all pivot, stochastic, rsi and ema are confirm and alerts when confirmed. Anyone knows of any? Else I may want to search for freelance. 
I'm gonna keep this sweet and to the point. I'm basically just trying to make a little opening range indicator, to practice. I've got a trendline, that is supposed to stretch from the high of the ORcandle, to the same price a few hours later. The problem is, it is plotting the first point just fine,...
Hello, Wonder if any one know a good "automatic trend lines" indicattor? Thanks!
Vortex 2: Vortex 2 Author: Mladen Rakic 
RSI candles - lite ressource: Improved version based on RSI_candles by © mladen 2018 https://www.mql5.com/en/code/20968 Author: Soewono Effendi 
ADX MACD Deev: An Expert Advisor based on indicators iADX (Average Directional Movement Index, ADX) and iMACD (Moving Average Convergence/Divergence, MACD) Author: Vladimir Karputov 
RSI Candles: Improved version inspired by RSI_candles by © mladen 2018 https://www.mql5.com/en/code/20968 Author: Soewono Effendi 
  Experts: Renko Live Charts v4.13  (95   1 2 3 4 5 ... 9 10)
Renko Live Charts v4.13: Trade using Renko Boxes in MetaTrader 4. This EA attaches to a chart (1M chart is best) and then builds a new offline chart with Renko boxes. This version was built off of v4.12 ... I don't remember where I got it, it took forever to find it in the first place. This is...
New article Using Self-Organizing Feature Maps (Kohonen Maps) in MetaTrader 5 is published: One of the most interesting aspects of Self-Organizing Feature Maps (Kohonen maps) is that they learn to classify data without supervision. In its basic form it produces a similarity map of input data...
MACD_Colored_Histogram_2019: Trending Indicator MACD with coloured Histogram to detect trend and retracements in that trend. Author: festiveboy 
Arrows & Curves: Arrows & Curves indicator. Author: John Smith 
  Experts: RSI EA  (120   1 2 3 4 5 ... 11 12)
RSI EA: RSI EA based on overbought and oversold levels. Author: Siti Latifah 
Color MACD: MACD indicator, red color mean bullish, blue color mean bearish. Author: Qichao Ma
Support Resistance Trader: Support and Resistance lines are used with the Standard Deviation indicator for generating trade signals. Author: raposter 
New article False trigger protection for Trading Robot has been published: Profitability of trading systems is defined not only by logic and precision of analyzing the financial instrument dynamics, but also by the quality of the performance algorithm of this logic. False trigger...
New article Applying OLAP in trading (part 1): Online analysis of multidimensional data has been published: The article describes how to create a framework for the online analysis of multidimensional data (OLAP), as well as how to implement this in MQL and to apply such analysis...
New article Developing graphical interfaces based on .Net Framework and C# (part 2): Additional graphical elements has been published: The article is a follow-up of the previous publication "Developing graphical interfaces for Expert Advisors and indicators based on .Net...
Multi Forex Scanner: Instead of having to analyze each pair individually, you can see at a glance what are the most promising pairs according to your own criteria. Author: Carlos Oliveira 
  Traders joking, the beginning  (7532   1 2 3 4 5 ... 753 754)
They say that an average trader can work for about twothree years. Then he has enough money to buy Ferrari and spend the rest of the money on psychoanalyst and antidepressants. Well, drive your Ferrari and save the rest of the money by reading our next column. Making money is one of the funniest...
Hello, Please let me explain my situation. I’m trying many different expert advisors in a demo account. Each expert is attached to a different chart and/or currency. The problem is that in some cases theses experts are opening many orders in a small amount of time. My objective is to set a minimum...
I would like to connect <broker name removed> and Mt4, apparently I need a brdige, which I can find via <broker name removed>.  I have absolutly no idea about how it works.  If you know about this kind of probleme, can you please help me about it ? Also I m looking for connecting <broker name...
[BUG] Everytime I open the MT4 the currency pairs I used in my custom indicator are showing all in Market Watch. This is bugs in MT4 and many times I can't remove the currency pair in Market Watch when I delete/hide it. Market Watch feature is not efficient as you think because it consumed a lot of...
void OrderTPNModify(int m){   int ticket;   double fixTP,dtp;   fixTP=0;dtp=0;   for (int i = 0; i < OrdersTotal(); i++)    {       if (!OrderSelect(i, SELECT_BY_POS, MODE_TRADES)) continue;      if (OrderSymbol() != Symbol()|| OrderMagicNumber() != Magic ||OrderType() != m)...
Is there a way to check a specific name in the trendline name property, before entering the return key or clicking OK? My problem is to detect if name A exists, using a trendline with name B is not allowed. Thanks for helping, Sylvain
void OnDeinit(const int reason)  {//---     }#include "M_CloseAllOrdersThisPair_1.mq4"extern double    Lots            = 0.1;extern double    TP_Dist         = 150;extern double    SL_Dist         = 150;extern int       Sell_Stop_Dist   = 00;  // distance from horizontal upper line...
In MQL 4, I want to generate this error if my class fails to initialize. Like so: void CClass::CClass(int interval) // constructor {    if(interval<=0)     {        _LastError=ERR_INVALID_PARAMETER; // constant cannot be modified compiler error        ExpertRemove();        return;...
Hi friends, I would appreciate if anyone could help me how to stop my EA from drawing "Arrows" when sending order or modifying an order in EA. Thanking in advance
Hi, I sold USDJPY with instant execution on 107.076 with a take profit on 106.900.  The price reached a low of 106.8xx howver, my Take Profit was not triggered? I had to close the position manually after it didn't close automatically. I'd appreciate assistance as I am concerned whether this matter...
Hello Guys, I have a problem for calling indicator values in my EA, this message show on expert tab on MT4 when I attach it on chart: "cannot set timer(1)" I search a lot in forum,some users say that Should use some codes in OnInit() and Deinit() sector of EA like this topic: "https://www.mql5...
  Panel for MT4  (2)
Please!! Can anyone help me make a panel like this for metatrader4, with a variable for each field in the image? I found several things on the internet, but only for MT5 The PNG file used as an example is attached to this message.
Hello Is it possible to draw some buffers inside sub-window but draw other buffers in main chart? Thanks in advance
Hello, I've downloaded this indicator from forum and it's older version of mql4 language which prevents me from working on it to create an expert advisor. Can anyone help me voluntarily to convert it for new mql4 language ? Thanks in advance
Good evening, I'm a beginner MQL4 developper. I have a question: 1) Suppose I open a trade position with a Take Profit of 5pips and no SL with 0.01 Lot 2)SUppose I close the position with a loss of 0.40 $ 3)If I want recover the previuos loss opening a new position with a TP always of 5 pips how...