To post a new topic, please log in or register
Hello, Who can I ask to about recalculating 1 month (one year old, your stats says -100% and this messes all the stats and rank) - where MetaQuotes automated algo fails? My system now is not recognized as sustainable (because of the wrong -100% performance of 1 month, 1 year ago), if we check that...
Hi everyone i'm trying to connect more agents to my main one. I add the right ones (by the .mt5 list) but the error is still the same  2018.11.13 21:37:34.134 Agent_192.168.1.,xxxx authorization on still connected agent I read all post and all guides but i didn't found anything about that Is a...
Hi  I use an EA with last price of an executed order OPLAST. Then this price should be used in an custom Indicator to compute a difference between OPLAST and close price and return back to EA. In the computation, the OPLAST is not recognised in the Indicator and return only the close. I do not know...
  unreceived gains  (1)
Winteam a ouvert plusieurs jackpots hier sur l'EUR USD allant de 0,18 à 0,12 autres à 0,9 et 0,6 et nous clôturons aujourd'hui avec de gros gains et je n'ai rien vu ci-dessus depuis que je suis abonné à un signal qui peut m'expliquer merci Je viens de me rendre compte que sur mon téléphone, les...
Hello everybody! I need help with the code snippet to find the first candle (or any next candle) of a lower timeframe for any other higher timeframe candle. Problems arrise from H4 and higher. I want to write myself an indicator to extract the OHLC data from that specific lower Tf candle and plot...
to mt5 support , bug with news beta releases mt5 (1943) when using the back test if you press play button, and after a few seconds you press "pause" and press PLAY again the "pause button"  comes gray (and you cannot press pause again..) and the  backtest cannot be paused anymore in that session you...
  USD/JPY Analysis  (953   1 2 3 4 5 ... 95 96)
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 =) 
  How to Start with Metatrader 5  (1187   1 2 3 4 5 ... 118 119)
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'....
  USD/CAD Analysis  (597   1 2 3 4 5 ... 59 60)
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...
  Indonesian Member  (3529   1 2 3 4 5 ... 352 353)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
hello, please give me tested by you free Auto Forex Trading Robot EA that really make money, i am newbie, with 100 USD amount to invest, i am in very bad financial condition, please help me out.  thanks
This is a vary simple thing that is not well documented. You can create your own custom symbol set file. You most likely now that bring up the Market Watch window and right clicking on it to view all the symbols avaible to trade on your station. You can also create your own custom symbol set file so...
This mql5 code failed to open a long position on the AUDJPY even though the price went below the buy price. Any idea why and how to fix it? Thank you Here is the terminal output: TradeLog: Trade request failed. Error = 4756 TRADE_RETCODE_INVALID_PRICE request.price = 81.985   result.ask = 0.0 result...
I need to run two expert advisors and one needs to send messages to the another. how do I do that?
  Words of Wisdom in Trading books  (160   1 2 3 4 5 ... 15 16)
Hello everybody, While I was studying Technical Analysis I made a lot of Photoshop imagesto show words of wisdom that was said by writers of technical analysis books. Ibuild this thread to share those pictures with you and I hope they could helpyou to find them interesting. I encourage you also to...
I am embarking on developing an EA to trade a renko chart. From what I've read it appears I will need an ea placed on a live chart whose function is to send price information to an offline renko chart. Then a second EA sitting on the renko chart which will analyse trade criteria, place and manage...
  Signal trading  (26   1 2 3)
I'm worried about opening this thread, because I'm afraid I'm not talking about a particular major, I'm a junior trader, but I want to talk about this thread. 1. How to use the signal to trade 2. How to use the oversell and oversell indicator 3. How to optimize the signal and reduce the frequent...
Hi All, It has taken me over 6 years and I've finally become a consistent profitable full time trader thanks to this strategy. The strategy is very simple and would only take a few minutes of screen time per day (using 4HR candles). I'd like to thank 'bigbear3391' for his guidance and inspiration!...
  PANTHERea.....100% win ratio  (104   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...
and how to get the bar before the open position bar?
In this thread we will build our own Bollinger Band strategy by combining our heads together. Let's discuss: DISCUSS: - what do you think is the best way to recognize RANGED and BREAKOUT? - what other indicators complement the Bollinger Band? - what is in your experience the best timeframe for...
i think maybe this line is wrong,but don't know why: double lot=NormalizeDouble(AccountInfoDouble(ACCOUNT_MARGIN_FREE)*MaximumRisk/((rt[1].high-rt[1].low+symb_ask-symb_bid)*SYMBOL_POINT),2); i want to use the high of the signal bar (the bar before the open bar) added the spread as stop when sell,...
  New Dolly  (257   1 2 3 4 5 ... 25 26)
After repeated requests to update Dolly to handle the new extra digit platforms i have decided to totally rewrite Dolly ( 2400 lines of code ) and i have taken the opportunity to include many new features to make the use of Dolly more user friendly, features such as 3 built in trend MAs / Entry Exit...
  Dolly system  (1277   1 2 3 4 5 ... 127 128)
Found this trading system on another forum, seems people are getting good results from this. Enjoy mrtools
  Earn more than 60 pips daily strategy  (68   1 2 3 4 5 6 7)
Today i will discuss a strategy I work on it for 3 years . i like it very much and i acheive daily from it nearly 100 pips This strategy has a take profit and stop loss But profits are greater than loses several times Advantages of this strategy 1.you are with the trend 2.ratio between stop loss...
  Simple Ichimoku System  (146   1 2 3 4 5 ... 14 15)
Simple Ichimoku System. Some members remember Ichimoku informational template for Asctrend M5 elite section system thread: https://www.mql5.com/en/forum/174756 and new set of this system from this post. It is so called Ichimoku informational template to check market condition on H4/D1 timeframe...
  Expert  (37   1 2 3 4)
What features should be a good expert ?
Dear community I was quite lucky after backtesting of my EA, but after 2 days of real trading it went wrong whereas the backtesting got other results. So nearly same trades were done in backtesting and real trades but most of the real trades went in stop loss. I used different pings but same results...
  Disabled signal  (1)
Dear MQL5 support, My Signal is having a problem as attached screen shot,  The problem is happen because I entered the wrong investor password, but it should be correct for now. Appreciate your support to reinstate 
  Trading System by Xard777  (3881   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
  Bermaui Analysis  (183   1 2 3 4 5 ... 18 19)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
  Forecast and levels for S&P 500  (443   1 2 3 4 5 ... 44 45)
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...
I was wondering does metatrader 5 support stocks? not cfd stocks.   If so, which brokers supply stocks? 
  Apple  (26   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  (30   1 2 3)
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...
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...
Hi, I want to know how to change my demo account to real account and also  trade with it directly.  By the way well I need a broker
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...
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...
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...
Was trying to work on something and I was stuck because I couldn't really understand what volume on Mt4 platform truly represent . Don't get me wrong, I know volume represents the average trade activities for a particular period of time . But my question, does volume simply represent the number of...
  Volume and Tick chart  (21   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!
  Forecast and levels for Dax Index  (50   1 2 3 4 5)
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...
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
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. 
Hi all, I am trying to turn the "Shepherd Harmonic Pattern Indicator" into an EA. The developer has provided the following icustom codes, below. Can anyone point me in the right direction on where to start? Thank you double buy_signal=iCustom(NULL,0,"Market\\Shepherd_Harmonic_Patterns",0,0);...
I would like to involve OnInit() in a .mqh file so that OnInit() will be executed both in the main .ex4 file and in the .mqh file. Is this possible? One must then override OnInit() in the .mqh file in some way.
as the pic, 6 trades,how to get the chart of every trade? how to see the most loss ? before using it in real trading ,how to make sure it will not go wrong in reality? thanks a lot!
how to make sure that my robot can only be used on one trading account?
Hi, My plan is join an Forex Prop Trader which use MT4, without EX support, and send order via a EA that I have on MT5. I don't know if I can use signals for that. I wish i could use another way to copy all the trades with slow delay. I have no problem requesting an job, i just need to know how it...
Hi guys I am trying to find a way to programmatically  re-initialise all of the active charts. What I tried is to write a loop that goes through all the active charts and change the TF to M1 and back to its previous TF. void InitialiseActiveCharts(){   long currChart,prevChart=ChartFirst();    int...
Hi guys, im trying to develop my EA. Im racing this problem: id set up moving everags is the same subwindow of Oscillator Stochastic, how Can i check if MA is higher then Stochastic level 90? Otherside, how can i get the value of the stochastic"'s level?Thank you in advance
Hi, i want to upload my ea for sale but get this error, anybody knows how to solve this issue? Thanks! test on EURUSD,H1 (netting)log files size exceeded 2095 MB, test terminated 2016.04.05 09:00:01 failed instant sell 0.01 EURUSD at 1.13854 [Invalid volume] 2016.04.05 09:00:01 failed instant...
Hi I wrote an ea and in that ea, I used an indicator which I bought from the market. when I want to backtest my strategy in mql5, if I check the visualization box everything is fine and works perfectly But if I don't check the visualization box ea won't work and do not open an order and it won't...
So I have a system where I open a new trade every 10 pips and close out the last trade.  The last trade is also modified to set the stop loss to 10 pips. Currently, I have a function that does this: void TradeCloser(){ //start            int total = OrdersTotal();            if (total >...
Hi i got an indicator that is based on tick data only. the problem is it uses some big average buffer, so each time i wanna use it i need to wait for the buffer to fill to get the first value (i could not wait, and start displaying curves right away, but the readings would be totally off without the...
Hello again mql5 community! Im back with another question im hoping someone has the answer for. I am trying to make a "scanForOrderModify" function that will add SL and TP when a BUYSTOP or SELLSTOP order is activated. This being my first time using pending orders instead of just market orders.......
Can we operate Terminal alerts set/get by mql4? I'm not talking abou this: https://docs.mql4.com/common/alert Talking about this which we can do on chart by right clikc on in tab "Alerts". If not, I'm sugest to do this. Need some scripts to delete all, I often have trash here or want some managment...
Dear All, I just rented my first VPS from MQL5 via my MT4 platform today.  I set up my charts with the EAs that I wanted to upload to the VPS as demonstrated on the video: https://www.youtube.com/watch?v=NGSHrX-QAOU&index=2&list=PLltlMLQ7OLeKRRhrpy-pZ6REWYUf6W3SV As near as I can tell from the...
@MetaQuotes Software Corp. There is many cases that I want see 1.0000 or 1.0 in in IndicatorDigits and Comment but MT4/5 doing NormalizeDouble that omitting zero.
Welcome, please someone with ability to reprogram this Multitime Frame Rsi indicator to show real time value changes (within a bar) not only after closed bar. I use it to show rsi H1 value on 1D chart which is usefull all other indi i found does it in a different way. truly Thanks for help
Hi All I am coding the following, the code returns no error but doesn't seem to do the calculation.        double Top =(iClose(Symbol(),0,i)-iOpen(Symbol(),0,i));      double Bottom = (iHigh(Symbol(),0,i)-iLow(Symbol(),0,i));      WVAD[i]=Top*iVolume(Symbol(),0,i)/Bottom; I tried to debug it by...
  MACD indicator  (1499   1 2 3 4 5 ... 149 150)
We are continuing discussion about the indicators. We have the following thread: https://www.mql5.com/en/forum/175886 https://www.mql5.com/en/forum/177239 https://www.mql5.com/en/forum/177358 https://www.forex-tsd.com/forum/debates-discussions/9785-rsi-indicator https://www.mql5.com/en/forum https...
Hello, I want to detect the relative minute candle number within a superior period. For example: Using the 1M timeframe, and the superior timeframe of 5 minutes. The first minute candle will be labelled 0, the second 1, the third 2, the forth 3, and the final candle 4. No matter what period or...
Hi my friends, I'm new to programming indicators, and I'm having some problems, hope you can help me. I'm trying to do a simple indicator of squeeze in bollinger bands. The indicator will go blue when the bollinger is outside keltner channel and red when its inside (all or just one line). The...
Hi, I want to place a moving average on heiken ashi chart in MT5. Couldn't figure how to do that. Help will be appreciated.
  How to install MT4 Indicators?  (127   1 2 3 4 5 ... 12 13)
Here is a little guide on how to get the work done NOTE: An indicator can be of 2 format (extensions), .MQ4 and .EX4. MQ4 is the source code, and EX4 is the compiled version of the code. Step By Step 1) Download/Copy/Save the MQ4/EX4 file into your C:\Program Files\MetaTrader 4\experts\indicators...
Please help. Need a MT5 indicator that can send a notification in case of MAs crossover (e.g. EMA100 crosses above EMA200). Cannot find one... Don't need EA, buy/sell signals or arrows; only an indicator that send a notification to my phone. So just a couple of MAs, MA mode and period... that's all.
i learn to code mql5 and trying to create indicator. i know there is tons indi on this web that i can use. But i just want to learn how to code it. Here i try to draw histogram and line based on average of 3 high - low value of 3 candles. But i got this weird look on my script. Could some body...
Someone please help. datetime time=ObjectGet("name",OBJPROP_TIME2); gives a warning - possible loss of data due to type conversion. Why is it so? Thanks in advance 
  Self-regressive Median Coefficient  (63   1 2 3 4 5 6 7)
Hi all, I am trying to build an indicator that uses the following formula and returns the expected value, so I can use the same chart as indicator_chart_window. //+------------------------------------------------------------------+//|                                                    Quantiles.mqh...
Hi Everyone, I have a copy of MT4 sat on a windows server 2012 VPS. After an windows update today an indicator TMA.mq4 won't display, its either grey out in the navigator menu or it just won't load but is visible under indicators on the chart. Can anyone help or provide a work around. Jay
Hello everyone! Please bear with me, I searched everywhere and tried to fix this for many days now. Still no luck. When adding handles to other indicators from within custom indicator by calling either iMA(), iCustom or Trend.mqh class, the indicator often shows junk arrows when changing...
Hello. Can someone give me guidance ? I would like to test out some HTF indicators that come with various other indicators but , it comes up blank when I add to the chart. It's the same for all HTF indicators I try to use , not just one. Please let me know. thanks...
  Filters indicators  (306   1 2 3 4 5 ... 30 31)
Some indicators which can be a filter to avoid big losses. If you have a great idea so you need a filter. To avoid any trading in none-trading zone. Please post your filters here. And please find the filter ... let's say ... 4 in one: FATL, SATL, RSTL, RFTL. In one indicator.
Smoother momentum: Momentum indicator is one of the frequently used indicators in Technical Analysis. But it has one "issue": it is a very "nervous" indicator - the values it displays are far from being smooth, and that can cause a lot of false signals in a lot of cases - regardless of the...
New article MQL5.community Payment System is published: MQL5.community built-in services offer great opportunities both to MQL5 developers and ordinary traders with no programming skills. But all these features can't be implemented without in-house secure payment system, that provides a convenient...
New article Creating a new trading strategy using a technology of resolving entries into indicators has been published: The article suggests a technology helping everyone to create custom trading strategies by assembling an individual indicator set, as well as to develop custom market entry signals....
Volume Profil & Range V6: Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram. The width of the histogram at the level means the number of transactions carried out on it.If a broker provides data on a real volume, the...
  Experts: Smart Tunel Trading  (48   1 2 3 4 5)
Smart Tunel Trading: The Smart tunnel is a smart robot for trading with an automatically drawn trend line to act with it and market movement.Enjoy :) Author: Ali Sabbaghi
Range weighted smoothed EMA: Range weighted smoothed EMA Author: Mladen Rakic
Range weighted EMA: Range weighted exponential moving average (EMA) Author: Mladen Rakic
Range weighted average MACD: Range weighted average MACD Author: Mladen Rakic
Range weighted average: Range weighted average - average that uuse the current volatility for weighted average calculation Author: Mladen Rakic
New article Third Generation Neural Networks: Deep Networks has been published: This article is dedicated to a new and perspective direction in machine learning - deep learning or, to be precise, deep neural networks. This is a brief review of second generation neural networks, the architecture of...
Filtered price: Filtered price using self adjusting deviation for price filtering Author: Mladen Rakic
Filtered WPR: Filtered WPR (Williams Percent Range) Author: Mladen Rakic
Filtered averages: Filtered averages Author: Mladen Rakic
Perfect trend line: Perfect trend line Author: Mladen Rakic
Non Repainting Supertrend Indicator: This is a new implementation of the SuperTrend indicator for MetaTrader 4. The SuperTrend indicator is an application of the concept of MAE (maximum adverse excursion), which was introduced by John Sweeney in the mid-nineties. Author: Rajandran R
int Close1B()  {   int      Close1B=-1;                  // None open.   for(int cnt=OrdersTotal()-1;cnt>=0;cnt--)     {      OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES);      //if( ! OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES) ) continue;      if(OrderSymbol()==Symbol()         &&...
  Unresponsive Buttons  (23   1 2 3)
Hi Guys... I'm just wondering if anyone has the same issue... my mql4 "Buttons" (OnChartEvent) on my MT4 charts are very delayed or un-responsive.... It's definitely got something to do with the Data Feed but I have no other way to explain this to you... You will either know what I am talking about...
Hi guys, I'm testing out on this new chart operation ChartXYToTimePrice() on a custom indicator for the new Mql4. But the price converted from CHARTEVENT_CLICK (x, y coordinates) behaves weirdly. Price converted from screen XY coordinates (obtained from mouse click event) is incorrect & appears to...
I noticed some strange differences pips profit betwen terminal and mql4 math. If we chose in terminal the profit in points and we have some int RealPipsLong = (OrderOpenPrice() - Bid)/Point; //for Longint RealPipsShort = (Ask - OrderOpenPrice())/Point; //for ShortComment(RealPipsLong + " " +...
I need to copy the last ten highs from the high[] array in OnCalculate()    int Length = 10;   double ahigh[];   ArrayResize(ahigh,Length);   ArrayCopy(ahigh,high,0,0,Length);   for(int i=0; i<Length; i++)   {    Print("high[",i,"] = ",high[i]," ahigh[",i,"] = ",ahigh[i]);   }   int compare =...
Hi,How can I set the history tab of the MT4 iOS App to « Day » by default ?  Each time I run the iphone MT4 App it is by default on « Month » and when I set it to « Day » it’s ok only until next reopening of the App.  Thanks,
Hello everyone, I have created a simple MA crossover EA. When I run it from 26.02.2018. until 28.02.2018. it shows 3 trades only: But it has more crossovers (see the red arrow): If I run it from 27.02.2018. until 28.02.2018., it makes the trade which he missed when I tested from 26.02.2018.: Why is...
I have noticed that Rectangle Labels receive click priority over Labels, irrespective to the z-order assignment. Is this behavior deliberate? This can be seen by creating a rectangle label with z-order 0, which partially overlaps a label with z-order 100. When clicking on the "So" text not over the...
MetaTrader 4 update will be released on November 9, 2018 in beta mode. The update fixes errors and improves the platform stability. All traders are invited to join the new version test. To receive the update, connect to the MetaQuotes-Demo server located at demo.metaquotes.net:443. The update...
  Array sorting  (23   1 2 3)
I am developing an Expert Advisor where I would like to implement FIFO support (closing orders according to order open time, sorted ASC). It it possible to use a similar logic described in this article: https://www.mql5.com/en/forum/138127. It does not seems very straightforwarded though. My...
As we see  the values are difrent, description
Hi all I am currently backtesting Cyberia Trader and Profit Seven EA2 on a machine with 6 cores (x2 with Hyper Threading) and 16 GB RAM. It is really slow. How can I speed it up? Is it worthy of running it on a super computer in amazon web services. Please note that when I see the...
  Traders joking, the beginning  (7311   1 2 3 4 5 ... 731 732)
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...
I have isolated the issue to the brokers platform versions, I don't have a old build of the program to roll back and clean installs don't work with this issue...any suggestions
  MT4 Support  (38   1 2 3 4)
Hello,  I've read that MetaQuotes will no longer be supporting mt4 after this year. Does anyone know if ea's designed for mt4 will still operate correctly after this year?   Thanks, AJ