To post a new topic, please log in or register
  MT5 Higher Time Frame bug help  (23   1 2 3)
Can someone please help ? I am interested in using the HTF feature that some indicators offer but , I cannot seem to make them work. Everything just shows up blank. I have attached picture for reference. Please let me know , thanks.
Hi Guys, Metatrader 5  Version: 5.00 Build 1940 02 nov 2018 I Created a trend line by angle like it: #include <ChartObjects\ChartObjectsLines.mqh>CChartObjectTrendByAngle trend;trend.Create(0,"HowGetAngle",0,time1, price1, time2, price2)); When I try get a angle: double trend_angle = trend.Angle();...
  Forecast and levels for Dollar Index  (127   1 2 3 4 5 ... 12 13)
Dollar Index April-June 2017 Forecast: ranging correction W1 price is located above Ichimoku cloud in the primary area of the chart. The price is on secondary correction which was started in the beginning of this year by bouncing from 103.80/102.27 resistance levels to below. For now, the price is...
  Forecast and levels for EURO  (285   1 2 3 4 5 ... 28 29)
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...
GOLD (XAU/USD) April-June 2017 Forecast: ranging inside Ichimoku cloud for the bullish trend to be resumed or to bearish reversal to be started W1 price is located inside Ichimoku cloud for the ranging market condition within the following support/resistance levels: 1,263.79 resistance level located...
  Press review  (6250   1 2 3 4 5 ... 624 625)
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...
  Something Interesting  (452   1 2 3 4 5 ... 45 46)
This is about something interesting which we can find here for MT4 and MT5 on CodeBase, Articles and inside the threads. No any signals, market prodducts, external links (to download or any), no any advertising, no any commercial things please.
  Payment for VPS  (5)
Hi,  I am unable to make make payment through PAYPAL. May I know why?
Hello, How to know the current value of all my long positions on a product? It's POSITION_PRICE_CURRENT ? Thanks, Pierre
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...
  My Seller Account Not Approve  (48   1 2 3 4 5)
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
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...
Dear all I have some clients that follow me on trading and I want to make them different gifts from MQL5 market. But I don't know how to pay the product instead of them. For example I want to rent the VPS for some of my clients but cannot pay instead of them. I don't want to insert my datas on their...
  USD/JPY Analysis  (954   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 =) 
dear developer, i just want to inform that my mql5 signal is inaccurate, reality growth is about 20% but in signal statistic show 65%
Hi experts After I read this book.  encyclopedia of chart patterns  by Thomas N. Bulkowski  It tells statistic (frequency, %winning, performance) for each pattern. It is too interesting. But we know the history data of each broker is different.   So, I 'd like to analyze any pattern or candlestick...
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...
Hi all, I've been trading a live account for just about 4 weeks now and managed to tripple my account. I started with a $100 account at FXDD and my account balance is now $312.65 with a Floating P/L of -$48.50. This does not bother me much, because I'm sure the EURUSD will go down on Monday. I'm...
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 ?
  Forecast and levels for S&P 500  (444   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...
  Bermaui Analysis  (183   1 2 3 4 5 ... 18 19)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
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. 
Hello, I have the project of coding in MQL5 Harry Browne's Permanent Portfolio in the form of an Expert Advisor. This will allow me to test it with ETFs. My motivations : Backtest myself the Harry Browne Permanent Portfolio. Test the multi-product backtest feature of MetaTrader 5. Presentation of...
Hello, I am trying to make a simple panel that will allow me to see the open trades taken today, but I can't seem to find code to do this. How can I determine the day a trade was opened, assuming it is still an open trade and in the terminal. I know I can use OrderOpenTime() to get the full...
This is the code I have so far but for the sharpe ratio. int OnInit () {   if (IsTesting () || IsOptimization ()) GlobalVariableSet ("InitialBalance", AccountBalance ());   return (0);}void OnDeinit (const int reason) {   if (IsTesting () || IsOptimization ()) GlobalVariableDel...
How can I get real time economic date releases into my e.a .I only need to get the actual value when released for example the actual value for USD NFP.Any help with that?
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...
I have only programmed the properties for each line, but yet somehow when I attach the indicator to the chart, I get a red and a blue line running across the chart, mimicking that of the Kijunsen and Tenkansen. How on earth is this possible? I am using the latest compiled version but somehow the...
The indicator is the FL11 indicator. Can anyone help me with this?
My VWAP indicator stopped to work recently, after an update. I noticed that the volume_tick array returns 1 in the last iteration. In the next iteration the before values are right. I coded the follow indicator to show the problem: #property copyright "Copyright 2018, MetaQuotes Software Corp...
It may seem like a silly question but I haven't actually seen any explanation of this anywhere - what is the difference between an indicator plot and an indicator buffer in MQL5?
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...
TradeTransactions: Access to OnTradeTransaction data anywhere within an application Author: fxsaber
Correlation: Correlation of two symbols. Values are oscillating between +1 (complete positive correlation) and -1 (complete negative correlation). Correlation value 0 is denoting absence of correlation (random changes without correlated price changes between the two observed symbols). Usage Use the...
New article How to Buy a Trading Robot on MQL5 Market? is published: Now you also can use trading robots and any technical indicators with MetaTrader 5. All you need to do is to launch MetaTrader 5 trading terminal and open Market tab of Toolbox window. Author: MetaQuotes
New article Mini Market Emulator or Manual Strategy Tester has been published: Mini Market Emulator is an indicator designed for partial emulation of work in the terminal. Presumably, it can be used to test "manual" strategies of market analysis and trading. Here are the main actions that can be...
SHI Channel true: Indicator SHI_Channel_true shows Barishpolts dynamic moving channels in the chart in automated mode. Author: Collector
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...
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 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...
I'm sure this has been raised many times before, but I can't find a discussion of the topic. When you 'save' a Profile, I would expect it to be SAVED. However, when a different chart or template is selected, it overwrites the Profile you have just been viewing. When you go back and select that same...
I have new idea, but i'm affraid it doesnt really good if i wrote this directly to english since i don't use english very well. That so i need help to some one Indonesian friend who can speak english verry well to translate my idea to english version. And then I need help to all member to evaluate...
  Traders joking, the beginning  (7313   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...
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  (26   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...
Dear Guys I write a code on OnTimer() . EA open trade on time. so i write this code on there. but when i try to backtest this EA all code within OnTimer() not work. How can i do some thing that OnTimer() code work on backtest. Thanks.
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