Download MetaTrader 5
To post a new topic, please log in or register
Hi there Is it possible to delete historical data in MetaTrader 5 so one can create a custom session like in MetaTrader 4? I did try a synthetic symbol but that didn't work.
I wonder how MQL5 members feel about the new signal presentation page, which is among us for the last few days. I can say that most changes are for the best, except that web style diagram for signal's main stastistics. I am quite confused looking at it, because I think this style of diagram doesn't...
I found this indicator, I have tested it live and in the strategy tester and it gives good signals, however it gives a delayed signal of two bars, I would like if someone could modify the code to make the signal appear at the close of the bar 0 , and not after 2 bars.
  GBP/USD forecast  (1062   1 2 3 4 5 ... 106 107)
I’m having a little loss right now, but I think I’ll close the deal with profit.  
  Indonesian Member  (3237   1 2 3 4 5 ... 323 324)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
  Traders Joking  (10667   1 2 3 4 5 ... 1066 1067)
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.
  Something Interesting  (437   1 2 3 4 5 ... 43 44)
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.
I have tried the following:   #import "shell32.dll" int ShellExecuteW(int hwnd,string operation,string file,string parameters,string directory,int showCmd); #importstring strParameters = "/c python c:\\createFiles.py ";int result = ShellExecuteW(0, "open", "cmd.exe", strParameters, NULL, 1);if...
  USD/JPY Analysis  (738   1 2 3 4 5 ... 73 74)
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 =) 
Hello everyone!  I have one question. How esma's decision affects copying and leverage when copying? Will it change and will it be very small even if the signal has huge leverage or it will stay the same as before? Thank you for answers!
hi i only found manuals how to setup mobile notifications within your desktop app, but how about notifications of closed trades by TP and SL when placing them with my mobile app (without having the desktop app)?? i have notifications enabled in the iphone settings but i never get a notification...
Hi guys! I'm testing an high frequency strategy on the forex market. I need to find "crappy" broker with inconsistent flow of prices but a pretty good execution. Most low budget market makers are like that. If you have any suggestion I'm willing to pay 50$ for any working broker, after I tested it...
  Press review  (6183   1 2 3 4 5 ... 618 619)
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...
I'm writing it now EMA and MA ,Now I can get their buy and sell signal  . But I want to combine their buy and sell signals into a  buy and sell signal   ,   But I can't find an example at MT4 ,Is there a great god willing to tell me?
So far as I can tell, MT5 is hard-coded to cache its data in AppData\Roaming in the user's account, which will normally be on the C disk. Unless I'm missing something, there is no way to configure the data path. Like many users, I have a small SSD drive on C to hold my apps, and I store my large...
  sharing a profitable strategy  (27   1 2 3)
strategy based on camarilla pivots: _____________________________________ Buy Logic : ___________ When a price touches L3 , take a buy and stoploss will be 5 pip lower than L4 Target : ________ when a price touches H3, exit the buy Stoploss and reverse : ______________________ when a stoploss is hit...
  News Trading  (15   1 2)
Hi everyone, Does someone know (or can write) any EA showing news points on the chart AND place an order as a function of the outcome of that news? Neither of market EA give access to the news outcome (they rather determine the news time)! Thank you in advance for any advise,
Hi, thanks for any comments.
I just started this thread as a continuation of the talking made on this topic (we can read it). Or ...to make it shorter: it was some discussion about forecasting/predicting of the next candle or direction of the movement or market condition evaluation. And it was around standard indiocators in...
Discover in 15 Minutes: Watch the Video about Trading Signals in MetaTrader 4 and MetaTrader 5 The most frequently asked questions related to the Signals service will be collected and processed in this topic. The list of questions will be updated from time to time. Soon we will try to give answers...
  Earn more than 60 pips daily strategy  (64   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...
Hi.  Can you guys please help me to figure out what parameters do I have to input so I can have the MA Indicator going through the opening and the closing of all the candles. Thank you very much.
Here I want to raise a topic "if a trading strategy fails, why the opposite of the trading strategy also fail?? I have some code to do trading, certainly most of them loss money. Just curious, I reverse all the trading direction buy/sell and SL/TP, the exact opposite of the trading strategy also...
  Scalping system  (158   1 2 3 4 5 ... 15 16)
Recently I was experimenting with a couple of indicators used for a non-scalping system presented by BigBear - https://www.mql5.com/en/forum/177573 I was debugging one of the indicators when I switched to the M5 chart and noticed a nice setup for a quick short trade... hmmm.... probably a...
Trading and training video (from youtube for example) about forex and financial market in general.  thread for April 2013 - look at this thread,  thread for May 2013 - look at here,for June 2013 is here.July thread 2013 is hereAugust thread 2013 is this oneSeptember thread 2013 is hereOctober thread...
Hi All, I'm new here, but would really appreciate if someone can advise me on something. I'm subscribed to a signal provider and want to copy his exact lot sizes regardless of our account differences.  I keep noticing that the lot size changes accordingly to the account fundings. So my question is,...
Hi everyone, I am looking for somebody to help me or to convert my EA, written and runing in mql5, into C# for PROTRADER platform with API connection. Not very complicate. I need basically the frame to get started mainly.
Hello everyone, I have developed supper robust zone-recovery expert, it can works as a server to protect all my orders, placed manually or by another expert adviser. The random exhaustive entry has shown it is supper stable, but still has some risk of loss. Now I need some scapling EA, only to place...
  PriceChannel Parabolic system  (281   1 2 3 4 5 ... 28 29)
Some people asked me on the other forums about re-enter. But I am not using any indicator for re-enter. So I decided to create some simple trading system with re-enter based on indicator's arrow on the chart. Let's name it as PriceChannel Parabolic system. M1 timeframe. This is image for EURUSD...
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...
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
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...
  Forecast and levels for S&P 500  (379   1 2 3 4 5 ... 37 38)
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...
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
  Bermaui Analysis  (126   1 2 3 4 5 ... 12 13)
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 Nikkei  (28   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...
  MT5 real FUTURES broker  (23   1 2 3)
Hello, is anyone aware of any futures broker that offer its client the MT5 trading platform? Is there a list of those? I mean real futures, not CFDs. Futures that trade on CME Globex and Eurex exchanges. Thank you.
Hi, in this topic we discuss our forecast of whether EUR/USD will move strong during the next period, or not. As for now, there is a difficult situation of the EUR/USD. It sticks at its price of 1.154 and has no real ability to reliabely grow up or down. Thus you see that on 29/30.05 we had the same...
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...
  Forecast and levels for Dax Index  (49   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...
Broker A has a CFD for Nikkei 225 using USD as margin currency Broker B has a CFD for Nikkei 225 using JPY as margin currency The price rises by 100 basis points. Do you make more profit with broker A if USDJPY goes up at the same time?
Hello, I have studied, tested and succesfully traded a system on CFD.  think about the premarket stock trading: there are thousands of stocks even blue chips that makes gap 2-3% during premarket and you probably think " damn if I could have entered before the gap"...but the truth is that every...
Hello all, I have a question for those who are experienced with EAs. Do you think it's possibile to build an EA, backtesting it and trade with it in a 15 min delayed market/market data?  What precaution should be taken to be sure you're not committing bias or logical errors?  Do you know any CFD...
Download Link: https://www.dropbox.com/s/h3f859ghwf58v5l/BinaryEasy%20Dolly%2015%20FibBreakOut.rar After watching different youtube videos about different systems It came into my mind to try an build an binary options strategy towards CJA's (TSD) Dolly 15 system. Make an breakout strategy that...
Hello, I hope all is well. I'm trying to figure out the code to pull data from another indicator. I have a custom indicator that has a high and low value. I want to pull each value into a separate variable. I was looking at iCustom but i couldn't figure out the coding for that. Can someone help?
hello! i need code to select last order for a specific symbol from history even if not in the same chart symbol, for example i am on EURUSD chart but i need to select the last order with USDJPY pair from history forgive me my bad english any help
Hi all, I would like basically to reorganize my charts on the terminal by programming, but I can't find a function that returns the size of the MT5 workspace. I find this :    int ChartWidth = TerminalInfoInteger(TERMINAL_SCREEN_WIDTH);    int ScreenHeight =...
I'm a C++ programmer, I've downloaded that reference of MQL5 but wow... 4000 pages of PDF... that's not tutorial book... I've read to page 90 but then I went to look for other alternatives. At least MQL4 has friendly guide and tutorial on how to program... http://book.mql4.com/ Its not a bad...
{1}# What are the 5 Most Important performance metrics you (should) lookfor, in choosing a profitable trading signal? Why is EACH so critical to you?Bless!! More to be in a position to give than to be in a position to have to begiven. Let us share... 1#Monthly Performance > 18% (Most recent 30 days)...
I want my EA to place a pending order at the prices (Hoch- und Tiefpreis as prices) and to replace the pending order, when on of them was filled and closed by the tp or sl. Unfortunately my EA  wont to this. Furthermore I want to close all open postions at the end of the day, but it wont close the...
Hi all, I'm trying to backtest my algorithm which trades on Gold futures connected to COMEX. I am using the every tick based on real ticks option but I seem to be getting innacurate results which are simply too good to be true. I know this for a fact because it says my system wouldn't have lost a...
I'm trying to create a new indicator that calculates the sum of a array (matrix of 5 symbols with correlation) and divides by a specified number. The calculation is correct, but i'm having problems with the indicator plot. Probably in the OnCalculate part. i want the indicator look like a moving...
Hi all helpful coders I would love to have an EA or indicator coded for visual back testing on mt4, nothing fancy, just simple parameters. It's something i've been working on to be used for binary options. It's a trend following strategy. The EA/indi has to be based on Awesome Oscillator and MACD....
I need to know the best trader to copy with just 400 $ fund As i am Novice  in TA?
I have recently bought an EA from someone at social network, and i find it interesting because so many positive review and so much profit. But the seller said that the EA will only works only on one MT4 account. After pay to him and i apply the EA to chart i can see my MT4 ID with my real name on...
  price Pattern EA  (1)
Hii, Can we Fully Automate Price Pattern EA or we have to use Indicators ? Thanks in Advance  Vijay
I've been scouring mql5 for days trying to find a solid implementation of the logic built into the class "CTrailingFixedPips" ... but all I've been able to find is a myriad of seemingly bespoke algorithms that people are developing by hand. Is there any particular reason for this?  My guess would...
My EA is operating with Buy/Sell Limit orders on hedge accounts. When the buy and sell positions are equals, the EA uses CTrade.PositionCloseBy() to close a buy position with a sell position with the same volume. This strategy works very well in the demo account, but it does not work on the real...
Since the EA i'm writing will be used only on forex pairs, should I check the SymbolInfoInteger(SYMBOL_TRADE_CALC_MODE) ? 1. is this SymbolInfoInteger(SYMBOL_TRADE_CALC_MODE), a reliable checkup to be sure if EA is activated on a forex pair (and not on OIL and other stuff) ? and I have added the...
  Pivot indicators  (749   1 2 3 4 5 ... 74 75)
Everything about pivot indicators you may find in this thread. Besides there are some usefull links as well: - how to trade with pivot (manuals) is here. - some trading system based on pivot https://www.forex-tsd.com/forum/trading-systems/1158-pivot-system - pivots, camarilla, high/low etc.... is...
  Candles  (327   1 2 3 4 5 ... 32 33)
Very interesting indicator. D1 timeframe. Candles. See image.
  Market Hours Indicators  (165   1 2 3 4 5 ... 16 17)
Does anyone have an indicator that will highlight the major market hours for London, New York, Tokyo... etc. The only similar indicator I have will only let you highlight 2 zones. Any help is appretiated.
Hello Community, I kindly ask if someone has a ZigZag version (MT5/mt5 source file) calculated on open/close price instead of high/low?. @Vladimir Karputov  Do you have an idea?. I have looked in the CodeBase but I couldn't find it. So it would be grateful if someone can post here a version of it....
Good Day I'm asking for a help for creating murrey math lines that shows the previous levels before it repaints. The purpose of this is to backtest a strategy using the MML saving yourself from doing live trades for testing that may take a lot of time instead of reviewing the previous levels and...
Hi I'am looking for an adapt ZigZag showing the cumulative volume for each ZigZag Do you have any ideas to build up a Zigzag with cymulative volume?
Hi there, I have created this simple alert function : double Alert_Higher_Level =  ObjectGet( "Alert_Lines_Higher", OBJPROP_PRICE1);                  if (Bid > Alert_Higher_Level &&...
Hi everyone. Got a question. Why the future cloud in ichimoku indicator doesn’t apear in metatrader5 ios version?!
Hi,  I can't find in the "help" of MT5 how I can change some properties of an added indicator using the "ChartIndicatorAdd" function. For instance: I've added a standard exponential moving average using the code: indicator_handle = iMA(Symbol(),Period(), 20, 0, MODE_EMA, PRICE_CLOSE); window=0; if...
Hi, Could anyone help me to know ""what is the mathematical formulation of TMA bands?" , please. Thanks.
  Stochastic  (69   1 2 3 4 5 6 7)
I decided to make some indicators' review based on trading experience and using them inside manual trading systems. So, please find the first thread about Stochastic Oscillator. Feel free to add or write any comments concerning this indicator about how to use it inside trading systes, how to trade...
  Adaptive lookback indicators  (1273   1 2 3 4 5 ... 127 128)
Of adaptive lookbackThe Adaptive Lookback (period finder) is truly a market-driven indicator used to determine the variable lookback period for many different indicators, instead of a traditional, fixed figure. It is based on the frequency of market swings - the time between swing highs or swing...
Hi there, does anyone know how I would add a specific start time and end time to this indicator so that it doesn't cover the whole day? //+------------------------------------------------------------------+//|                                                    ColorBars.mq5 |//|...
Hi, I would like to know from mentor here if is it possible to code MACD into Stochastic?  What i'm trying to get is if the MACD "MAIN" at stochastic Overbought or Oversold, will gave the alert. if it's possible, what are the code that i need to use? Thank You!!
New article Deep Neural Networks (Part VI). Ensemble of neural network classifiers: bagging has been published: The article discusses the methods for building and training ensembles of neural networks with bagging structure. It also determines the peculiarities of hyperparameter optimization for...
AIS2 Trading Robot: An automated trading system with a data panel in form of the OBJ_LABEL objects. Author: Vladimir Karputov
Four clicks to draw an arc-shaped channel: A quick way to draw an arc-shaped channel using four mouse clicks. Author: Nikolai Semko
KeyboardTrade: This tool is for trading with keyboard input, it supports "Send order", "Set Stop Loss", "Set Take Profit", and "Close order". 1. Send Order Command Buy: b,lots,price,sl,tp Sell: s,lots,price,sl,tp Example Buy 0.1 lots EURUSD on 1.16000, set Stop Loss on 1.15500, and set Take...
New article Expert Advisor featuring GUI: Creating the panel (part I) has been published: Despite the fact that many traders still prefer manual trading, it is hardly possible to completely avoid the automation of routine operations. The article shows an example of developing a multi-symbol signal...
JMA TRIX Log: TRIX is a momentum oscillator that displays the percent rate of change of a Triple Exponentially Smoothed Moving Average. It was developed in the early 1980's by Jack Hutson, an editor for "Technical Analysis of Stocks and Commodities" magazine. With its triple smoothing, TRIX...
T3 TRIX Log: TRIX is a momentum oscillator that displays the percent rate of change of a Triple Exponentially Smoothed Moving Average. It was developed in the early 1980's by Jack Hutson, an editor for "Technical Analysis of Stocks and Commodities" magazine. With its triple smoothing, TRIX...
TRIX Log: TRIX is a momentum oscillator that displays the percent rate of change of a Triple Exponentially Smoothed Moving Average. It was developed in the early 1980's by Jack Hutson, an editor for "Technical Analysis of Stocks and Commodities" magazine. With its triple smoothing, TRIX is...
Universal trailing stop: The Expert Advisor works both in normal mode with one positions, and in the HEDGE mode with multiple positions. Author: Vladimir Khlystov
New article Graphical interfaces X: Advanced management of lists and tables. Code optimization (build 7) has been published: The library code needs to be optimized: it should be more regularized, which is — more readable and comprehensible for studying. In addition, we will continue to develop the...
Renko 2.0 ATR: Renko 2.0 ATR, a non-trading expert generates custom symbol information on 1M chart. Important! Always leave it on M1 chart. A complete Renko chart with wicks. Now with ATR! Based on Renko 2.0 Offline expert. References the Symbol library for MetaTrader 5 by fxsaber. Configure...
Gann's_Cycle_Levels: This script draws the price levels within a cycle (by Gann) between the significant Highs and Lows. Author: rosych
Time Filter Library: The function will filter the trade positon. If the current time in the time you set, the function will return true. Author: TRAN DONG PHAT
Ozymandias_System: An indicator that colors candlesticks going beyond channel Ozymandias. Author: Nikolay Kositsin
New article Price Action. Automating the Inside Bar Trading Strategy has been published: The article describes the development of a MetaTrader 4 Expert Advisor based on the Inside Bar strategy, including Inside Bar detection principles, as well as pending and stop order setting rules. Test and...
I have an optimizated EA. It is profitable but on live account is negative. I don't understand. Is back testing totaly lie? You can see the result: https://www.mql5.com/en/signals/451038
  Supertrend -> Icustom  (12   1 2)
Hi I have read many threads about this, but i still can find a solution... I wanted to try this common and very popular indicator, the "supertrend"...but still not finding the right way... actually I'm in stall with this code... double val_super_trend_up = iCustom(NULL, 5, "SuperTrend_plus", 10, 3...
Hi There, I am using MT4 from last month only. I got this strange problem; In my marketwatch, if i open some stock, it opens in squeezed way(image 1) .But when i hit left arrow key chart restores to its normal state(Image 2). Its happening with 100+ Symbols but not with all the Symbols. The real...
Hey guys, I searched in the BillWilliams.mqh for the Fractals indicator and I found some fragments of it. But this kind of coding (with classes etc.) is way beyond my knowledge. Can somebody tell me where I could change the original arrow-wingding to a symbol of my choice? These arrows are too...
I do not understand why this code is causing an error about a FIFO violation. void CloseAll() {   bool resultClose;      for(int i = 0; i < OrdersTotal(); i++) {      if (OrderSelect(i, SELECT_BY_POS, MODE_TRADES)) {         if (OrderSymbol() == Symbol()) {            switch(OrderType())...
void start(){   int    i=0 ,nCountedBars;        //i=0 added instead of just i, in order to get rid of warning when under an EA template   bool   bFound;   double dCurrent;   nCountedBars=IndicatorCounted();//---- last counted bar will be recounted...
pls i want to ask is it possible to remove automatically remove an EA from mt4 if more than one ea attached with different name expert something like ExpertRemove() if another EA is detected... or return(0) if more than 1 expert attached....thanks
Help please. I have calculated the average price using an exponential moving average on 5 min time frame. Where sym is the chart symbol because I am trading multiple charts with an EA attached to a chart. See below. map = iMA(sym,5,3,0,MODE_EMA,PRICE_MEDIAN,0); The values are different from the...
I have a custom indicator that uses some buffers for calculations to create objects (horizontal lines in the indicator window).  I have used SetIndexBuffer(n,DRAW_NONE) and it all performs correctly.  But in the indicator's Properties menu under the 'Color' tab there is still the option to choose...
hi i have a problem with my trailing stop function in here in the code below i just want to open a buy order then use the trailing stop in it but simply its not working and doesn't modify any orders. i would be thankful to pick your brain input bool use_trailing=true;input int...
Hello, I have the need to download MetaTrader 4 for development purposes.... I tried this link https://www.metatrader4.com/en/automated-trading/mql4-ide, where I got the file mt4-setup.exe; but once clicked on it, and finished the installation procedure, I found MT5 instead of MT4. Why ?
  New MetaTrader 4 Platform build 1090  (66   1 2 3 4 5 6 7)
New MetaTrader 4 Platform build 1090 The MetaTrader 4 platform update will be released on May 19, 2017. The new version fixes some bugs in the operation of the client terminal. The update will be available through the LiveUpdate system.
Simple question that could spark various discussions.
  Coding  (4)
Hello everybody, I just wanna ask some help in coding this strategy: {If candle 3 close and the RSI crosses below level 20 and candle 2 close below RSI level 20 and  candle 1 close below RSI level 20}; open SELL position and opposite with the BUY position Thank you very much. I hope that somebody...
I use new compiler - no error. When I try to run it, or drag it into the chart, it says that "is not expert and cannot be executed". Any idea? Note: Tester - working fine.