To post a new topic, please log in or register
  Historical Bar Time  (11   1 2)
Is there a simple way to determine the time of a historical bar in MQL5? Let's say we wanted to know the open time of the 20 bar or the 312 bar, is there a simple, quick way of doing this in MQL5?  For example if I wanted to draw vertical lines separating the different the different intraday trading...
Looking at UST10Y_H9 I'm practicing drawing some lines and noticed how inconsistent they are shown in MT5. The same line, nothing changed, in Daily and H4 timeframes. MT4 doesn't have the same issue. In MT4 it's consistent. Look at the red vertical line and how it intersects like it should on Daily...
Hi guys, I'm new and I tried yesterday to purchase a copy signal subscription. I got a message "Financial operations are limited. Please contact our technical support team". When i click on the technical support team an error shows up "404:Page does not exist". I tried to search on the left side of...
bool Profit()  {   bool exist =false;  int orderstotal=OrdersTotal();   int orders=0;   double ordticket[30][4];      ArrayInitialize(ordticket,EMPTY_VALUE);   bool Profits=posType==OP_BUY ? Ask-OrderOpenPrice()>(OrderTakeProfit()-OrderOpenPrice()) :...
Hello, i know that to use multiple broker accounts with same expert advisor you need to open one mt4 for each broker account or it will not works. My question is: if i buy your vps can I open only one mt4 and synchronize my expert advisor on multiple broker accounts in one vps, EA will work on all...
  My Seller Account Not Approve  (97   1 2 3 4 5 ... 9 10)
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
  How to Start with Metatrader 5  (1199   1 2 3 4 5 ... 119 120)
I decided to create this thread to help to myself and to the others to start with Metatrader 5. I am experienced in MT4 and in forex in general (i hope : ) but we traders really need to collect all the information about it in one place. I will make some posts about 'how I am starting with MT5'....
  Forecast and levels for Crude Oil  (103   1 2 3 4 5 ... 10 11)
Brent Crude Oil April-June 2017 Forecast: weekly correction with possible breakdown; 49.69 support is the key W1 price located above Ichimoku cloud in the bullish area of the chart. The price is on the secondary correction which was started in the beginning of January located within the following...
  Press review  (6288   1 2 3 4 5 ... 628 629)
This link provided to me by RaptorUK, give me the idea that it would be interesting to have a place here on the site to share such links. So I opened a new topic, it will be moderated to follow the rules as usual, but also about the content. Everyone can post but have to provide a quote and the...
The updated version of the MetaTrader 5 platform will be released on October 26, 2018. The update will feature the following changes: Terminal: Now you can detach financial symbol charts from the trading terminal window. This feature is convenient when using multiple monitors. Thus, you...
Hi, I wish to subscribe the real signal using demo account to test 1st. Can I subscribe and pay for real signal using demo account? If can, how long can I test the real signal on demo acct? If can, how to do it? Please advice the steps, special link used for such subscription, etc etc , if any....
  Forecast and levels for EURO  (297   1 2 3 4 5 ... 29 30)
EUR/USD April-June 2017 Forecast: ranging rally within narrow s/r levels W1 price is below Ichimoku cloud for the primary bearish market condition with the ranging within the following support/resistance levels: 1.0828 resistance level located below the cloud in the beginning of the secondary rally...
As subject said, please teach in details how to withdraw all the funds in my account balance if I were not a seller? PS: The funds that I deposited was by my credit card at that time Thanks
  Traders Joking  (11342   1 2 3 4 5 ... 1134 1135)
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.
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...
  20 pips system  (276   1 2 3 4 5 ... 27 28)
It is 20 pips per day per pair trading system. It means you may have 20 pips every day from one pair only. Or you may generate the trading signals. It is EA. But this EA is not for autotrading. This EA is for trading manually or to generate the trading signals for you or for everybody. You will have...
Hello dear friends I'm looking for a system Which I can work with 20 pip Who could also work in the any  market condition do not matter in sideway ,trending  weak market  if u have this any system ,indicator, logic ,  pls sharing me 
Hi. I want to try the signal subscription feature, but I can't get it to work. 1) I went to the signal subscription website, and looked for one I liked. I subscribed with my login: 2) But when I go into my terminal, to enable "Signal subscriptions", I get: "not connected, select from the...
I asked this stupid question in r/forex,no response. If you are using tick data but set your ea to only open and close trades when it normally would but you wait for the 1min candle close and then take the trade, is that the same as using the default 1min candle closes on mt4? I hope that makes...
  Mr.Nims, Renko Ashi Scalping System.  (3536   1 2 3 4 5 ... 353 354)
Renko Ashi Trading System 2 Please read the pdf manual for this system. Good luck everyone. PS: Reuploaded the fixed ma in applied price indicator. Special thanks to FXchaser PS: Reuploaded the fixed macd alert indicator. Special thanks to Puzzlebird PS: Reuploaded a Special Settings Template for...
Dear ALL Is backtest using M1 time frame (derived from tick data suite) reliable ?  I mean 99.9% quality ? Is it trustworthy ? 
Hi, I have an EA that should be used on netting, due to coding specifications , what should i change to make it run on a hedging account exactly equal it runs on netting? Thanks!
Hi, In the Stochastic Indicator that you can find in MT4, there is a recurring if statement  pos=InpKPeriod-1; if(pos+1<prev_calculated)      pos=prev_calculated-2; which I do not understand. Why does it subtract -2 ? what the point of the code above? This is the onCalculate() function to give a bit...
  Trading System by Xard777  (3882   1 2 3 4 5 ... 388 389)
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
  EA update ???  (2)
if I have an EA in .ex4, without the code, it is possibile to preserve it from any future modification of the code performed by the author? How?
Is there any indicators that work best for price action strategy
i think with this system you can make a consistent profit per day with out lost your money. and i hope master codes in this forum can try to build EA with this system : you can change lot exponent. 0 : 2 = very big profit + very danger 1 : 2 = big profit + danger 1.5 : 2 = normal profit + safe 1.8 :...
------------------------+// expert start function//+------------------------------------------------------------------+int start(){ double MyPoint=Point; if(Digits==3 || Digits==5) MyPoint=Point*10; double TheStopLoss=0; double TheTakeProfit=0; if( TotalOrdersCount()==0 ) { int...
  Jurik  (446   1 2 3 4 5 ... 44 45)
Jurik Moving Average. About this indicator and some others read https://www.forex-tsd.com/forum/debates-discussions/197-laguerre-indicator-description
  100pips momentum  (15   1 2)
Hi all,   Any body know about this indi? I need the mq4 version. Thanks, anton 
  McDonald's  (13   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...
  Bermaui Analysis  (237   1 2 3 4 5 ... 23 24)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
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...
  Forecast and levels for S&P 500  (454   1 2 3 4 5 ... 45 46)
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...
haii .. i have 2 problems i ask for help .. first i want to know why mt4 / 5 on pc can not be used to open an account InstaForex-USA2.com .. i new trader and real account is an InstaForex broker..when i open my account at MT5 pc, MT5 can not read my account ......... my second problem is demo...
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 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...
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...
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
You must be willing to be open to a good working relationship. I am still somewhat a novice trader but I have two years experience. I'm self taught so just hmu with your cool with this.
Hi all,    In my search for option stragy builders i came across this link HERE but i just cant find in my MT5 platform this option. I cant find in builds news any update disabling this functionality. So... How can i use the Option Strategy Builder in MT5 ?? Thank you guys
  Google  (14   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...
  Volume and Tick chart  (22   1 2 3)
Hello, I am currently using MT5 for futures and I was wondering if there would be any updated version where I can use charts based on volume or tick and not time. Ninjatrader, or TradeStation, Sierra all have this capability, but not Metatrader 5. Any help would be appreciated!
  Apple  (27   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...
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...
 I rented VPS for 1 month. But MT 4 does not copy the signals. Someone help me pls..
  how to use Array  (1)
I am learning MQL4, and I do not know why when I put this code where I assign the value of an array, it takes me out of MT4 and does not print the comment, could you help me please? double fmh[]; int numBar[]; int start() {      ArrayInitialize( fmh, EMPTY_VALUE);    // empty the chart...
This seems to effect optimizations only for some reason. At the top of my inputs, I have a sinput named note with this string entered in the inputs tab "Trendline.m60.2012/11 bOOS" which effectively renders all other sinput strings null at runtime. When I change my sinput named note to "Trendline...
Hi everyone! First - i`m sorry for my bad english. I`m searching for someting that can change my sl to the entry point after reach 60 pips in profit. Floating sl is not an option.
Hello , This EA Work On Any Trader By Robot Or Manual Put Your Setting And Work Auto First Put Your Name Symbol Use it in symbol setting And Open anther New Chart for this symbol  (( your robot work on it or you work manual on it ))  And Attach this EA on It And Active it Work Enjoy It :)
Code: https://gist.github.com/Industrial/71e6a771708ecd9d06ea897ec2d2319e These lines are the (same) problem (array indexing): Line 21 Line 28 Line 29 Line 31 Line 48 Line 50 1) Why is `double X[][];` Wrong? 2) What am I doing wrong with the array indexing?
Can anyone offer some starting guidance on how one could detect completion of a renko block? Like a renko version of iClose. I could take candle High-Low to match the brick size I want, but that isn't what I'm after. What I'd really like is the detection of the formation of a new block. Thanks in...
While testing an EA, I've got the following results. It's completely unrealistic and it mirrors a HUGE flaw at strategy tester, using every tick based on real ticks: when testing limit orders, orders are always placed at first at the book, so it's gets immediate execution. At demo accounts too. As...
Hello, is there a way of protecting an EA against issues coming from disconnection or closing and re-opening MT4 ? I use an EA working with pending OCO orders and pending hedging orders at same levels as intiial OCO levels. After closing MT4 the EA entered one more time the initial trades when price...
Hi, I am trying to obtain the number of Pass currently executed while in an optimization. The idea is that while in a Slow Complete algorithm I want to execute only certain steps. Up to now, I tried this by using a terminal Global Variable created _within_ the Optimization (as the normal terminal GV...
Hi there! I'm optimizing parameters for my EA for various symbols and various periods. There's a way to run the optimizer for a symbol on M1,M5,M10 in one shot? Now I'm doing one by one (symbol1,M1; symbol1,M5   |  symbol2,M1; symbol2,M5   | etc.). Should be nice if we could select symbol, M1|M5|M10...
Hello, A simple question as I'm a bit confused.. If Close[0] returns the close price of the current bar, wouldn't it also be the same as the bid price(in the case that the chart is drawn by the bid price)? And if so, if I'm looking for a certain candle type like a Hammer candle, I would have to...
Ok, it is easy to syncronize the signals and the EAs of your PC MT4 on VPN. But after resetting my PC MT4, how can I see what EAs are running on VPN?
I am developing a MT5 multisymbol EA. I get the message "No more than 1000 symbols can be selected" What statements substitutes a "selection" How do I "Deselect" a symbol? I am working with all the majors.
Dear all, I am using Mt4 and for every currency pair I have a profile. To switch between them I would need to click manually of Shift/Ctrl + F5. Is there a script where I can set the the hotkey for example to "1" for UJ, "2" for EU, "3" for GU? Thank you in advance for your help. Regards, tdbc 
hi any body help me to calculation about correlation in the code. for example EURUSD, USDCHF How much percentage correlated to each other. Regards Muhammad Mudasir
Hello, I have a serious problem with ccanvas If I use mycanvas.Destroy() in OnDeinit() it will reset all my globals variables. If I don't use it I will keep all in same place but I loose all information about my canvas ofcourse. It must be created a new time by OnInit with a new object because it...
Hello guys; I have an issue, I am trying to code an Arrow indicator for Moving Average crossover, but I always encounter an "Array out of Range Error" on any line with [i+2], and when i cooment out this lines, I later have the same "Array out of Range Error" on any line with [i+1] && [i+3]. I have...
Hello all pro Coders, Im new to coding & just wondering that: IS IT POSSIBLE to code an Indicator that will open a  profile with selected name by clicking on a button created on current chart when the indi is attached ? so when I want to change to the other profile ... I just have to click on the...
hey all.. i am new to trading and since i do not have a back ground in programming can anyone help in converting the below linked indicator from MT4 to MT5? https://www.mql5.com/en/code/7786 thank in advance.
Does anyone have an Awesome Oscillator scanner, which could scan all symbols from the market watch and alert in case of zero line cross or signal line cross. Any scanner or dashboard will be great.
  Trend indicators  (506   1 2 3 4 5 ... 50 51)
All the indicators which are helping the detection the trend please post here. The first indicator is sinTrend. The value of about zero is the float, the trend is started if the value of indicator is equal or above 0.0015 or minus 0.0015, the value of above 0 is uptrend, below 0 - downtrend.
Does anyone know any gool for mearusing maket sentiment? I have the tool on smart trader from pepperstone, but i would like to know what the profesionals use, even if it's paid for. (like a blomberg terminal) Or is there anything else that whould give me an accurate picture as to who's buying what...
  Moving Average  (1505   1 2 3 4 5 ... 150 151)
Post all MA indicators here.
  PPO  (2)
Hello Does anyone know if it is possible to conver this indicator in a no-repaint arrow indicator with push alerts? Just asking before I perhaps put in on the freelance section. It's really the repainting I'm concerned with as I'm more than happy to pay a coder to realise it, if it is possible....
  Indicators with alerts/signal  (15809   1 2 3 4 5 ... 1580 1581)
Some indicators with alert/signals with author's comments: - EMA-Crossover_Signal: Enter two Exponential Moving Average periods and it'll tell you when they crossed. - SMA-Crossover_Signal: Enter two Simple Moving Average periods and it'll tell you when they crossed. - SMMA-Crossover_Signal: Enter...
Hi, I was wanting to see if there was some quick coding shortcuts to find the 3 most recent DOWN and to be able to see if I can find the highest open of these 3 candles. These candles do not necessarily have to follow each other. Alternatively I wish to find the Lowest Open of the three most recent...
I need some help. I did convert the most of codes from mql4 to mql5 but there are still some problems.  Errors: 'IndicatorBuffers' - function not defined test.mq5 33 5 'High' - undeclared identifier test.mq5 113 18 'Low' - undeclared identifier test.mq5 113 50 'High' - undeclared identifier test...
Been trying many multiplication on trying to add H1 moving average in 5M time chart or on any chart but could not make it prosiest? Anyone know how?
can anyone tell me which indicator is this? there is a pattern of red and green square dots. 
New article How to Access the MySQL Database from MQL5 (MQL4) has been published: The article describes the development of an interface between MQL and the MySQL database. It discusses existing practical solutions and offers a more convenient way to implement a library for working with databases....
New article Using OpenCL to test candlestick patterns has been published: The article describes the algorithm for implementing the OpenCL candlestick patterns tester in the "1 minute OHLC" mode. We will also compare its speed with the built-in strategy tester launched in the fast and slow...
555 Scalper: 555 Scalper EA trades with two 5 exponential moving averages works on 5 minute frame major forex pairs. Author: Aharon Tzadik
Droneox Equity Guardian: Expert Advisor that will close all orders and disable another Expert Advisor / AutoTrading at desired level. Author: Yogie Pratama
The Predator: The Predator EA trades with two strategies ,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ Author: Aharon Tzadik
Extreme EA: The EA uses iCCI (Commodity Channel Index, CCI) and two iMA (Moving Average, MA) indicators. Author: Vladimir Karputov
Volume Profile + Range v6.0: Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram. Author: Olexiy Polyakov
CCI with on chart SR levels: CCI with on chart support and resistance levels Author: Mladen Rakic
Stochastic with support / resistance levels: Stochastic with support / resistance levels Author: Mladen Rakic
LSTM Neural Network: Long Short-Term Memory Neural Network - for time series analysis. Author: Shephard Mukachi
New article MetaTrader 5 on Linux is published: Linux is a Unix-like computer operating system assembled under the model of free and open source software development and distribution. Linux systems are widely used in smartphones and server hardware. Many home PC users prefer it to MS Windows series...
New article Developing stock indicators featuring volume control through the example of the delta indicator has been published: The article deals with the algorithm of developing stock indicators based on real volumes using the CopyTicks() and CopyTicksRange() functions. Some subtle aspects of...
  Libraries: MT4Orders  (11   1 2)
MT4Orders: Parallel use of the MetaTrader 4 and MetaTrader 5 order systems. Author: fxsaber
theSELLERGBPAUD: Optimized expert opens only sell positions in 5MIN chart on GBPAUD pair. Author: Antonis Michos
Draw vertical lines at time: A simple indicator to draw vertical lines at specified time in the settings. Author: Conor Dailey
Hi, One of the major limitations of the Metatrader products this that they don't have access to the orderbook information via MQL. Could this feature be added to make the product even better? Thanks.
Hi guys,  I need to download a lot of data on my metatrader 4 using TickStory lite for backtesting, but my free space on C:  is small than the amount of data need to download. Then need to move the datafolder to another partition. How can I move the datafolder to D: or anoter disk with more free...
I'm trying to figure out how to export the Account History and get it into an (Excel) Spread Sheet for Analysis. I did a search, but didn't find a solution. Thanks to any and all for any assistance.
  Traders joking, the beginning  (7379   1 2 3 4 5 ... 737 738)
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 am facing a problem that mt4 stops for few seconds and no connection comes  and it connects automatically after 2-4 sec can anyone let me know how to solve this problem ? Thanks
Is there a way to use paid indicator in metatrader 4 when installed in linux via wine. The problem is that the market is the only thing that does not work and so far i havent found a way to run my purchased indicator cause when i try it gives me an error  and there is no way to download the...
If I insert a pause of one hour in my EA after a position has taken the StopLoss, does this pause also occur in the backtest or only in real? I ask you why, I read that the Sleep function does not suspend the robot execution in the strategy tester. Thank you all for your help. Greetings, Giuseppe. 
hi guys  , after blackout , i restart my platform but , in taskmenager  see  terminal.exe  with cpu usage 99% , but not show nothing , whats wrong ? any one can suggest somnthings  thankz
First Hello to everyone reading this topic . I need your help I have this expert witch works great but it has no Take Profit I need some help to add Take Profit option. Its simple  every candle trade expert the problem is that it has no take profit option and the second thing is that it has candle...
Hi All, This is the first time im posting here as it's my first time doing ANY coding, i seriously didnt know anything about coding since 2 days ago. I must say, it's pretty fun. I have learned quite a bit by trial and error and reading the articles here. Anyways this bot is still a work in progress...
Hi guys. I would like to ask a small favour. This EA has multiple trades open at the same time (not sure what the developer did). Can I ask if you guys can put a parameter that only allows one trade open at a time? I have attached the EA. Thanks for any sort of help.
  New MetaTrader 4 build 1170  (27   1 2 3)
New MetaTrader 4 build 1170 The MetaTrader 4 platform update will be released on December 20, 2018. The update fixes errors and improves the platform stability. We remind you that support for older versions of operating systems, including Windows XP/2003/Vista, has been discontinued. The minimum...
Hey guys, does anyone know a template (or maybe the correct terminology is framework) for expert advisors?  A template(framework) that deals with all the order execution, Validation and so on and you just have to write down the Exit&Entry&Trailing stop rules. Thanks! 
 Im trying to find the value of a Trend line Object at last close. Can anyone help?  double ExtMapBuffer4 =  ObjectGetValueByTime(0,OBJ_TREND,TimeCurrent(),0);
Hi... my first post so be gentle.. I'm new to MetaTrader, and signed up to a broker (LCG) and installed their MT4 download (build 1170). I also acquired a couple of custom indicators (just the .ex4 files) from a different source. I added the .ex4 files to  indicators folder (via 'Open Data...