To post a new topic, please log in or register
Hi, I am wandering how you traders manage MA fake cross as a signal for the trade. I have a fast MA crossing the slow MA but sometimes it just crosses and gives the trade signal but then soon after the price reverses and the MAs detaches. How to avoid this kind of fake signals. Thank you
extern int MA_langperiode=110;extern int MA_kurzperiode =42;extern double Lot=0.01;int Slippage=2;int LongOrder,ShortOrder;int MagicNummer=12345;bool SL_Setzen,TP_Setzen,SL_Setzen2,TP_Setzen2;static int Ordersiglong,Ordersigshort;void OnTick()  {      double MAlanghandle=iMA(NULL,0,MA_langperiode,0...
  GBP/USD forecast  (1246   1 2 3 4 5 ... 124 125)
I’m having a little loss right now, but I think I’ll close the deal with profit.  
Is it possible to install a free indicator from the Market in MT5 on an android device (galaxy s7) and if so how?  Please and thankyou
Hi there, Probably a really simple way but is there anyway to extract the result data from backtesting in MT5 into excel? I have backtested an EA over 2 years and have over 100 trades. I want to extract the buy and sell price of those trades to analysis. Any help would be much appreciated. Cheers
I new trader and i want to know if i want to take position for a long time then how to execute order. 
Is it possible to color the exit symbol of a position acc. to profit (e.g. green) and loss (e.g. red) (where how)? Where can I change the color of the Entry and Exit Symbols? MqlTradeRequest does not provide anything like that :(
Hi This mql5 code is giving a run time error "invalid pointer access", Not sure why and how to fix it, please? Thank you News              *news[];                        // at the start of the fileArrayResize(news, 82);// then in a loop      for(int i=0; i<82; i++){      news[i] = new News(some...
Hi, Do you use a software to view MetaTrader 5 log files ? If yes which one ? Thanks, Pierre
  Eur/usd news  (6375   1 2 3 4 5 ... 637 638)
Hey dear members... Could you please tell me wich NEWS of economic calender will have a big impact on the EUR/USD Like yesterday the USD Unemployment Rate (FEB), USD Change in Non-farm Payrolls (FEB)? I need to know wich news will make the eur fall or rise that much ! Thx
  Indonesian Member  (3530   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..
I guess this is a stupid question, but as I havent been able to find a clear answer yet I try the forum: In the MT5 terminal, where/how can I see what of the tick history is from my brokers real tick data?  I have tried "Symbols"-"pair"-"tick" request data from ie 2010-2018, but I am not able to see...
  Swing Trading ideas  (367   1 2 3 4 5 ... 36 37)
thread rules only daily charts any currency must Sl and TP try to explain trade reason No bickering
Hi, I want to optimize various MAs. only the iMA() 'knows' different methods (sma, ema, smma, lwma) the others (iDEMA, iTEMA, iAMA) don't. So any setup with MaMethod != iMA that varies sma, ema, smma, lwma are meaningless like: enum €ChooseMA {  //    €iMA,     // norm MA: maPer, maPrc   €iDEMA,...
I want to run the same EA on a MQ-Demo account in one terminal and on 4 different charts M10, M15, M30 and H1. But as soon install this EA on one chart it is removed from the other? here are my helpless attempts to have them all together running in the terminal - this is what the journal log says:...
  CENT Signal  (2)
help!! what is cent signal in this case?  I cannot follow the signal using a real account.  btw there are so many terms in meta4 but few prof explanations found. it is killing me
I am using this method to catch only big moves. It works well but needs some tweaking espescially for exit. 30 Min and 1 Hr time frames are suitable. Indicator Setup Bullspower default setting (13) Bears Powerdefault setting (13) Accelerator default setting Buy Rules Bulls Power increasing and...
  BRAINWASHING SYSTEM/ASCTREND SYSTEM  (220   1 2 3 4 5 ... 21 22)
This is the thread about Brainwashing system. We will start with original version of this system and will improve it later. ========== Just something about the history. There are 3 famous signals system (manual trading systems based on signal indicators): Asctrend, BrainTrend and Brainwashing. First...
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
  Bermaui Analysis  (184   1 2 3 4 5 ... 18 19)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
  Forecast and levels for S&P 500  (446   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...
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...
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...
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...
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
Does anyone have any complete practical example of how to start a SCRIPT through Windows? That is, I have the MT5 open and I want to start an MT5 SCRPIT but from Windows (without using or directly manipulating the MT5 platform)?
  Kamikaze MACD EA  (2)
Hi Guys, I using a MACD EA that ships with MT4, i have backtested extensively to establish ideal parameters to use for M1/M5 charts, out of the blue instead of opening 1 or 2 trades (which it used to), it will open 70 - 80 almost instantly, i have coded a message window alert when a trade is opened,...
Hello, I am trying to test my EA in MT5 strategy tester, it works on a CFD of my broker, but when I change the symbol (to "EURUSD" for example) it returns an "unknown command 237" and no testing is done. Do you know how to troubleshoot this ? Thank you FZ
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...
Hi, I have a good Expert Advisor, written by me. But I can not add it to system expert advisors to mql5.com (Market). I get error "SendOrder error 131". Please help me, how I can fix this problem.
Hi everybody, I need to draw a graph of specific data Which I have, instead of the chart price of a symbol. Is it possible to do it by ObjectCreate/OBJ_CHART?  remember! I am writing an expert not an indicator.  Really appreciated! 
  ParameterGetRange()  (13   1 2)
How does one use this function? The below code is not working.   //+------------------------------------------------------------------+ //|                                                         test.mq5 | //|                                                   Copyright 2017 |...
Good morning, I am building a function to know if the last closed deal by an expert advisor was profitable. So I am iterating deals until finding one that matches the magic number, type and deal comment desired. However, I am having trouble using the HistorySelect() function, as I don't want to use...
Hello all, I'm facing a strange problem with my automated trading system, which is running 32 EA (for 32 currency pairs) on a virtual server. In every EA I'm calculating the exponential moving average, but sometimes for some EA, the function iMA is returning 0. Here is the code snippet I use for all...
hello dear traders and programmers i want to make 2 EAs one of them trade on red news only  another one do not trade on red news. now i want to know can these both EAs backtestable?. or news release filter only work on live test.? thank you
I have a request to any of the programmers here! I was hoping if anyone could code an Ea for me. I will state all the properties of the Ea down Below. Before I go down to the rules. I would like to clarify some points to you all.  I have been manually trading for 4 years right now. This below...
Hi all, Does anyone know a workaround within MT4, that allows me to copy trades off a signal provider, where their currency symbol is different to mine? I was about to subscribe to a signal provider, when I received a warning from MT4 telling me that the currency symbols of the provider differ to...
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);...
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...
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. https://www.metaquotes.net/en/company/news/5123 My motivations : Backtest myself the Harry Browne Permanent Portfolio. Test the multi-product...
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...
  MACD indicator  (1502   1 2 3 4 5 ... 150 151)
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...
The indicator is the FL11 indicator. Can anyone help me with this?
HOw does one test a demo version of an indictor or utiity product in the strategy tester?
Hi everyone!  I have this standard open indicator and I would like the line to be always drawn to the end of its current Time Frame. How can I do that? #property indicator_chart_window#property indicator_buffers 4#property indicator_color3 RoyalBlue//----#property indicator_width3 2#property...
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...
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...
Dynamic Trader Oscillator: Dynamic Trader Oscillator Author: Mladen Rakic
Stochastic extended: Stochastic extended with the choices of the prices Author: Mladen Rakic
Standard Deviation Channel MT4: A channel based on standard deviation of close price. Author: Ziheng Zhuang
  Experts: Smart Tunel Trading  (49   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
MACD 1 MIN SCALPER: MACD 1 MIN SCALPER uses two moving averages and "MACD" indicator on 1 min time frame Author: Aharon Tzadik
5 MINUTES SCALPER: 5 MINUTES SCALPER EA works best on 5 minute time frame EUR/USD . Author: Aharon Tzadik
Stochastic of average(s): Stochastic of average(s) Author: Mladen Rakic
RSI Slowdown: The indicator is based on the idea that before the price and the indicator itself turn, the indicator rate slows down first and only then turns. Author: Yurij Izyumov
Stochastic of filtered price: Stochastic of filtered price Author: Mladen Rakic
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...
Filtered price: Filtered price using self adjusting deviation for price filtering Author: Mladen Rakic
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...
Range weighted smoothed EMA: Range weighted smoothed EMA Author: Mladen Rakic
  Experts: 1 MINUTE SCALPER  (21   1 2 3)
1 MINUTE SCALPER: 1 MINUTES SCALPER EA works best on 1 minute time frame major forex pairs. Author: Aharon Tzadik
Rsi Ichimoku Indicator: Ichimoku indicator based on RSI values that displays in your sub-window. Author: marc weedbrook
i need someone help me to update privet expert i bought 4 years ago now when make test   code    OrderSelect(cnt,SELECT_BY_POS,MODE_TRADES);     if (OrderMagicNumber() == Magic && OrderSymbol()==Symbol())     {       if (OrderType()==OP_BUY)       {         if(OrderClose(OrderTicket(),OrderLots()...
  Traders joking, the beginning  (7315   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...
Hi,  I am trying to test an EA which includes indicators of three different time frames. (Basically 15min STOCH, H1 STOCH, H4 STOCH). The problem I am facing is that when I test the EA on M15 I get only M15 indi working. Respectively for the others. Similarly, if I try to run it on any other time...
Hi all! Someone can explain me how can i get the value wich assume a precise level of Stchastic oscilator, i mean: In this screenshot you can see im pointing "level 50", that is worth 0.89725, how can i have this value from code? Thanks you all in advance guys
  Round Number  (15   1 2)
Hi everyone, I write a little code for getting round number of 4 digits. Example : 1.23455 -- > 1.2345 1.23456 --> 1.2346 my code is below. Please help me to check this code and tell me if i wrong. And, anyone have a better ideas? Please share it . Thanks double RoundNo(double price){...
  V1N1 LONY Breakout 5.10  (16   1 2)
Automated trading system for breakouts in the London and New York sessions, which considers trading ranges formed during the Asian sessions. This EA can be optimized to work with EUR, GBP and USD pairs, on the M15, M30 and H1 timeframes. - Recommended minimum deposit is 1000; - This EA requires...
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...
  Arrow inside button?  (12   1 2)
Never succeeded and tried everything (at least I think so), to create some kind of arrows for up and down instead of texts, inside of a button. I have other text in, in separate button it would not be problem. Is it possible in same button with other text? Here image speaks more ... about the wish....
Running an EA on MT4 which requires a very heavy workload (computing large amount of orders). Through testing, I have noticed that the EA tends to skip certain ticks it receives (new price points) as it is busy computing previous orders. This has led me to think that the EA workload can be too much...
How easy is it to keep the chart objects in tester on background to see panels clearly without all the mes flying over it? I think to fix would require either removed tester objects and place own or lookup each object to modify.. Panel set not to background is still beneath of all chart objects...
Hello everybody, I would like to change the name of my signal. I remember it was possible before but right now I cannot see this option at all? Is it requestable or not allowed at all anymore? Kind Regards Pawel Czechowski
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...
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.