To post a new topic, please log in or register
  Become an Author at MQL5.com!  (123   1 2 3 4 5 ... 12 13)
Thenew MQL5 Community website at http://www.mql5.com keeps developing. Weinvite all of you to make your contribution to this development. Thenew MQL5is the evolutionary continuation of MQL4. The new language ischaracterized by the support of object oriented programming, by ahigher code execution...
Hi, Any functions that can check if symbol exists for trading? 
  The truth about indicators  (17   1 2)
I truly believed in technical analysis and algorithms potential and I searched a lot for two years a way two create an indicator with very accurate signals. I closed 30 jobs and made many indicators, but in the last period I realized what is the truth about indicators, using renko. I created a renko...
Hi there, I am studying to learn about E.A. and I came across a problem that is beyond my knowledge, I have already tried and I have not been able to find a solution. The think is,  I need to know what the last opening price is, after the last take profit, I'm doing this loop, but after the last...
  cannot open EA  (10)
when I try to run a backtest I get this msg 2019.01.19 20:22:26.233 TestGenerator: file "C:\Users\User\AppData\Roaming\MetaQuotes\Terminal\DA3C92B1779898CC0CACD726A655BECB\tester\history\EURUSD1440_0.fxt" cannot open [5] a few days ago I downloaded some data and now I cant backtest anymore it seems...
Hi,  I´m trygin to add in  my indicator the information in Text about the status of the week. I mean, current week with minimum, compared with previous week, max or neutral (wihtout max or min) .  Values of max, min of previous week and current week are ok. I have printed it and confirmed throught...
Hello, I have to use Metatrader 4 due to my broker account. However, this seems to automatically update to MT5. Is there a way of preventing this?
  My Seller Account Not Approve  (109   1 2 3 4 5 ... 10 11)
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
Good morning everyone, I wrote an Expert Advisor in MQL4 format, but I want that MT4 use my expert Advisor only in certains days (like Tuesday and Wednesday) but I don't know how to write it. Can someone please help me?
  Live News Code  (4)
Hello everyone, Does anyone know how we can go and capture news data from public websites (such as forexfactory.com, tradingiew.com, investing.com, etc) in LIVE within a MQL code ? I mean without having to download the CSV files manually and import it. I wanna write a EA placing an order...
Hi all, I found a problem after importing a huge tick datafile (more than 16 Gb) from TDS2 to the metaquotes MT5 platform. Here you canfind the file: https://mega.nz/#!x0pyyKgZ!-C5mGNhOFDHjdRJ_DNnU4YZbO4K5lcz2WIb5Hylaj0M I followed the steps detailed here: https://www.metaquotes...
The updated version of the MetaTrader 5 platform will be released on October 26, 2018. The update will feature the following changes: Terminal: Now you can detach financial symbol charts from the trading terminal window. This feature is convenient when using multiple monitors. Thus, you...
  signals  (2)
Where does everybody get there signals from?
I download Tickmill Broker MT4 shortcut (or mt4terminal) window do not open? anybody can help please?
  Traders Joking  (11353   1 2 3 4 5 ... 1135 1136)
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.
Hi, How can MQL palce an order based on a LIVE information published on a specific website (like fxstreet.com, etc...) Is there any library tool for that ? Thanks in advance, PS: Please do not answer like "use Python". The question is a "how" not "what".
Hi,I am try to make a EA with stoploss following the moving average.  After buy just sell when the price touch the moving average(ema[ ]).  Using stoploss = ema [0] in trade system, the sl set to the ema of bought.  I would like to programming stoploss to changing every tick. It s possible? 
Hello guys. I have to change my PC and, as you can read in the title of the post, I would like to avoid the stressing job of reset every single chart and EAs of my new MT4. It is possible to transfer the whole MT4 on another brand new MT4?
Hi All, Running the EA on H1 EURUSD returns this message: 2019.01.22 21:50:39.658 2018.05.16 03:53:28   failed market buy 0.00 EURUSD sl: -inf [Unsupported filling mode] And this Alert: 2019.01.22 21:50:39.693 2018.05.16 09:00:18   Alert: The Buy order request could not be completed -error:4756 For...
  PriceChannel Parabolic system  (288   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...
  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...
hello Does anyone know what wrong when all paid indicators do not download the free demo version of all paid indicators?
  Mr.Nims, Renko Ashi Scalping System.  (3537   1 2 3 4 5 ... 353 354)
Renko Ashi Trading System 2 Please read the pdf manual for this system. Good luck everyone. PS: Reuploaded the fixed ma in applied price indicator. Special thanks to FXchaser PS: Reuploaded the fixed macd alert indicator. Special thanks to Puzzlebird PS: Reuploaded a Special Settings Template for...
I'm developing a trend following system. So far is good, but I need to make better filters for the trades. As any trend following system, the win rate is bellow 50% (way bellow) but Risk to Reward compensate for the losses. I want to apply simple filters (no more than 3 input variables) in order to...
Hi, I have developed asoftware that finds patterns and trends in big data. Currently, I have try iton the Future Markets and it finds “tons” of interesting backtesting results. However, I have no experience in Live Trading – Can I trust thebacktesting results or is there something else I should...
What are the best exit strategies for trading 1m chart? In short - how to not exit if you shouldn't. The first one that comes to my mind is a return from overbought/oversold territory, but sometimes such return doesn't even mark a retracement and the trend keeps going. So is there a way to tell the...
  Multi currency EA ideas  (18   1 2)
For quite some time I have been working on a multi currency EA. It is a trend following architecture  that buys dips in an uptrend and sells peaks in a downtrend. A lot of work has gone into the code. It si built so as to run optimzation one pair at the time and then when running in "multi" reading...
  Something Interesting to Read  (40   1 2 3 4)
This is the thread about books related for stocks, forex, financial market and economics. Please make a post about books with possible cover image, short description and official link to buy (amazon for example). Posts without books' presentation, without official link to buy and with refferal links...
I asked this stupid question in r/forex,no response. If you are using tick data but set your ea to only open and close trades when it normally would but you wait for the 1min candle close and then take the trade, is that the same as using the default 1min candle closes on mt4? I hope that makes...
  20 pips system  (278   1 2 3 4 5 ... 27 28)
It is 20 pips per day per pair trading system. It means you may have 20 pips every day from one pair only. Or you may generate the trading signals. It is EA. But this EA is not for autotrading. This EA is for trading manually or to generate the trading signals for you or for everybody. You will have...
  Bermaui Analysis  (239   1 2 3 4 5 ... 23 24)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
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...
The Worst Stocks Of 2016: First Solar It was decreased from 72 to 28 for this 2016!
  McDonald's  (13   1 2)
The weekly share price stopped the bearish reversal and it was bounced from 110.32 support level to above to came back to Ichimoku cloud to the ranging market condition. Fow now, the price is on testing 121.85 resistance level to above for the reversal to the trendy primary bullish market condition...
Stock Market A To Z: 26 Names, Themes And Trends To Watch (based on the article) A is for Apple "The stock trailed the broader market in 2016, but there may be tailwinds in 2017. Tax reform may include a provision that incentivizes the company to deploy its billions in foreign cash back to...
  Forecast and levels for S&P 500  (454   1 2 3 4 5 ... 45 46)
S&P 500 January-March 2017 Forecast: long-term bullish ranging within the narrow s/r levels for direction W1 price is located far above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following narrow support/resistance levels for the bullish trend to be resumed...
haii .. i have 2 problems i ask for help .. first i want to know why mt4 / 5 on pc can not be used to open an account InstaForex-USA2.com .. i new trader and real account is an InstaForex broker..when i open my account at MT5 pc, MT5 can not read my account ......... my second problem is demo...
Bitcoin vs USD January-March 2017 Forecast: key resistance level at 850.15 to be broken for the bullish trend to be continuing Weekly (W1) price is located above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following support/resistance levels: 850.15...
Hello all, I am new to this forum and I have recently downloaded MT5. Now I want data for Indian Stocks. Can someone help me who are authorized data vendor for India Exchange NSE for MT5. There are many data vendors for Amibroker and Ninjatrader in India but not for MT5. How I can import historical...
AMP Futures has officially announced the launch of the MetaTrader 5 platform for trading futures. AMP Futures is a US regulated Chicago-based Futures Commission Merchant (FCM) providing access to the global electronic futures markets for individual traders, as well as US and foreign Introducing...
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
You must be willing to be open to a good working relationship. I am still somewhat a novice trader but I have two years experience. I'm self taught so just hmu with your cool with this.
Hi all,    In my search for option stragy builders i came across this link HERE but i just cant find in my MT5 platform this option. I cant find in builds news any update disabling this functionality. So... How can i use the Option Strategy Builder in MT5 ?? Thank you guys
  Google  (14   1 2)
Google April-June 2017 Forecast: weekly ranging to be stated or the secondary correction to be continuing; 853 resistance is the key The weekly shares price is on secondary correctional movement within the primary bullish market condition: the price is located above Ichimoku cloud for the correction...
  Volume and Tick chart  (22   1 2 3)
Hello, I am currently using MT5 for futures and I was wondering if there would be any updated version where I can use charts based on volume or tick and not time. Ninjatrader, or TradeStation, Sierra all have this capability, but not Metatrader 5. Any help would be appreciated!
What code could be used to place multiples values in one external parameter?   This is what I know for a single value: external bool Timeframe = true; or false; But how to put several values in one tab. Thanks in advance.  I will appreciate any help.
Can an EA incorporate or read price values from indicators that are active on a chart? Eg, an indicator that looks for daily S/R levels, pivots, or round numbers? Apologies if this has been asked before. Also, how would one go about programming an EA to enter a trade when price reaches a round...
Hi everyone,I cant find any info about this. How to calculate or to know how many lots it is required to change price by at least 1 Point? Which trades affect Bid and which Ask prices? Thanks
Hi, I have looked up all information on this issue and I can start MT4 strategy tester with a config file. What does not working is the autoloading of the .set file. Which format should this be? TextExpertParameters=Setfilename.set This does not work . Anyone any ideas? Regards, Dennis
  Pay VPS fees  (1)
Can I pay VPS and signals fees from MT4 money?
Hello everyone, I just subscribed to a signal and currently copying the trade but this puts a different lot size as planned to my trading account. Thus, which to confirm if I can alter the lot sizes in my trading account for all subsequent trades that will be entered. I look forward to all possible...
  MT5, mql5 bugs to be fixed.  (22   1 2 3)
As suggested by James Cater, I am opening this thread to centralize bugs reported on MT5 and mql5.  You can report what you found, ask for confirmation of the community, and report it to ServiceDesk. The goal of this topic is to effectively have bugs fixed, if you want to ask for improvements,...
Hello, I am looking for a solution so that my trades are automatically closed at the same time that I established the expiration date when creating the trade. An example, if I established that the expiration date for a new trade was on 01/23/2019 at 2:00 p.m. and the trade opens, even if it is open...
I converted my code from MT4 to MT5. I just discovered that something was not working like it was supposed to do... I put a lot of stuff in my magic number, when I parse the order, I validate if the magic is fitting with my current executioner. This code was working on MT4, on MT5 it return false...
Hi, I wonder if I can test a signal, with like 50 or 100 US$? This signal <deleted>) does not say how much you need but I was thinking to allocate a percentage of money that will result in 50 or 100 US$ Is this posible or do I need to invest 1000 US$ or more in a signal? Regards, Oliver
Hi  I 've Imported "user32.DLL" to my expert . It has a class by the name of " SendKey" . How can I use this class in my expert ??!! MQL5 does not recognize the class in this DLL . Please Help . Thanks .
Hi there! I've been trying to create my first EA without much success. I'm not an expert in programming and my almost forgotten php programming skills doesn't help either because I have the feeling that I'm trying to program my EA the way I would program a php so apologies for the mistakes both in...
Hi Everyone,  I need to automate Buy or Sell with some condition.I used to get calls like below Buy above or Sell below.At the end of the day,Only one will get executed daily. I need to create a mql4 code to place Buy n Sell order.If any one of the Buy or Sell executed, the other order needs to be...
I have subscribed to a signal and notices that pending orders are not copied. They are only copied once they get triggered. To reduce slippage it would be better if they pending order would already be in the client account to get triggered. Is there a technical reason that this is not done? Thanks...
Hi, If I subscribe a signal which has an open position, will it be copied also? In worst case I would be holding unfavourable position from the start? BR DW
  Momentum on M1?  (3)
What are the best indicators or methods to see the MOMENTUM for correct trending entry on m1? I think I'm doing quite fine understanding TREND direction, I'm using CCI-20 crossing -100 or 0 or 100 as a TRIGGER, but very often I end up catching end of the move. I'd appreciate any advice on how to...
Hey - i have a scanner I've written that scans a lot of symbols for various things and there is something I need to add to the logic but am stumped. I have two points - I need the equation of the line that goes through those two points. I then need to be alerted next time price reaches that line....
Hi On my chart i have the standard deviation value 0.0000618 this is based on the inputs Period=5 MODE_SMA Price_CLOSE Shift=0 And the last 5 close prices, is stated in the picture below (close 0 - close 4). When i calculate i get the value 0.000000000000000014561856 But the correct value shall be 0...
I have acustom indicator I have written. It appears to work - it draws as required in aseparate window and displays Print debug information in the Experts tab to showthat it is working. If I recompile the indicator it reloads and refreshes asexpected. From time to time I suffer from momentary...
Hello all pro Coders, Im new to coding & just wondering that: IS IT POSSIBLE to code an Indicator that will open a  profile with selected name by clicking on a button created on current chart when the indi is attached ? so when I want to change to the other profile ... I just have to click on the...
Hi, I opened a new topic for the ccanvas clock. So voila, the updated version. please try it , tell me if it works. more improvement on the way (minute, hours,etc....:)) The code is a bit crapy , I need to clean it a bit.... but it works on my computer use: click LMB, realese the button, drag where...
Hi all, I'm a newbie to forex, Who can explain for me the progress of creating Highs/Lows on the standard ZiZag indicator on MetaTrader4? How to the depth parameter used from very startup of ZigZag indicator on MetaTrader4 with default setting (12,5,3)? I've attached here two pictures of that,...
Hello, I have a serious problem with ccanvas If I use mycanvas.Destroy() in OnDeinit() it will reset all my globals variables. If I don't use it I will keep all in same place but I loose all information about my canvas ofcourse. It must be created a new time by OnInit with a new object because it...
Hello guys; I have an issue, I am trying to code an Arrow indicator for Moving Average crossover, but I always encounter an "Array out of Range Error" on any line with [i+2], and when i cooment out this lines, I later have the same "Array out of Range Error" on any line with [i+1] && [i+3]. I have...
Hey, I have some calculations to do on a pre-determined number of M1 bars. (120, 240, 360 or 480 or... based on input) and I want to write my first indicator ever. from the new indicator wizard, I have created the source file. added my codes and functions to calculate my variables. but there's...
Hi! I'm trying to get some candle colors, if there is any gap higher or lower, the candle shows up as red or blue, but the chart are not coloring all the candle body, instead there are creating a new candle next to the original. The idea is just get differente between open/close values and color...
I need some help. I did convert the most of codes from mql4 to mql5 but there are still some problems.  Errors: 'IndicatorBuffers' - function not defined test.mq5 33 5 'High' - undeclared identifier test.mq5 113 18 'Low' - undeclared identifier test.mq5 113 50 'High' - undeclared identifier test...
  fibonacci tools  (1)
Hello, does anyone know away to save and load settings for mt4 or mt5 fib tools (ret, fan, channels, timezone and arcs), please regards,
What are some well-known RSI modifications or adaptations? What could be added to this list? * Laguerre RSI * Apirine Slow RSI * RSI within Bollinger Bands.
hi any body help me to calculation about correlation in the code. for example EURUSD, USDCHF How much percentage correlated to each other. Regards Muhammad Mudasir
Day Trading: "Day Trading" EA Trades with Day Trading strategy,has Trailing Stop Loss &Take Profit works on 1D time frame major forex pairs and stocks NASDAQ. Author: Aharon Tzadik
  Experts: ThreeBreaky  (11   1 2)
ThreeBreaky: Multisystem of Volatility Breakout Author: Fabio Cavalloni
theSELLERGBPAUD: Optimized expert opens only sell positions in 5MIN chart on GBPAUD pair. Author: Antonis Michos
New article How to Subscribe to Trading Signals is published: "Signals" in MetaTrader 5 trading platform allow traders to connect to any signal issued by providers. Select and subscribe to any trading signals provider to copy all his or her deals on your account. How to become an investor and...
Smoother momentum MACD with floating levels: Smoother momentum MACD with floating levels Author: Mladen Rakic
Smoother momentum MACD: Smoother momentum MACD Author: Mladen Rakic
Aouto Adjusting: "Aouto Adjusting" modified EA trades with 3 MA's and uses candels for Trailing Stop Loss &Take Profit and has aouto adjusting lot, works best on 4H time frames major forex pairs and stocks NASDAQ. Author: Aharon Tzadik
Pure Price Action+push notifications: Pure Price Action EA trades with "Price Action" strategy,has Trailing Stop Loss &Take Profit works best on 1H time frame major forex pairs and stocks NASDAQ. Author: Aharon Tzadik
CCI - Hull pre-filtered: CCI - standard deviation based using Hull for prices pre-filtering Author: Mladen Rakic
  Libraries: mt-R  (7)
mt-R: Libraries for the interaction of МТ4/5 with R Author: СанСаныч Фоменко
  Experts: Currency Strength EA  (40   1 2 3 4)
Currency Strength EA: This EA opens Buy or Sell trades in strongest or weakest pair. It cannot be backtested. Author: jp_forex
New article Universal Expert Advisor: the Event Model and Trading Strategy Prototype (Part 2) has been published: This article continues the series of publications on a universal Expert Advisor model. This part describes in detail the original event model based on centralized data processing, and...
New article Displaying of Support/Resistance Levels has been published: The article deals with detecting and indicating Support/Resistance Levels in the MetaTrader 4 program. The convenient and universal indicator is based on a simple algorithm. The article also tackles such a useful topic as...
3 Rules MACD: Almost every trader used or at least took a look at Gerald Appel's MACD. Looking at our Old Bag of Tricks we rescued a technique several traders used/use which is adding additional filters to MACD in order to avoid false or weak entry signals over traditional crossovers. We...
  Indicators: XKVO  (1)
XKVO: Klinger Volume Oscillator (KVO) was developed by Stephen Klinger. KVO has two features that may seem opposed to each other at the first glance: it is quite sensitive to the signals of short-term tops and bottoms but at the same time it displays long-term money flows heading to and out of the...
  comment not show  (9)
Hi at all, i'm experimenting a very strange problem, i re-used some code from my old EA but the comment inserted in the OrderSend doesn't appear in Terminal even if the field Comment is selected. The strage thing is that, the same instruction in another EA works. Below the two statements: 1....
Hi guys... Can anyone tell me how to insert a small "1/2" symbol into my Text....  string HalfHourSymbol = "?";string NFP_HeadsUp = "NFP Starts in 1"+HalfHourSymbol+" hours"; ...I'm struggling to work this small thing out... Thanx
Hello everyone, I have a problem with a function I already used in another code and it was working. In this expert, even inserting it does not change anything and does not seem to work, I mean the breakeven....
Good morning everyone, I wrote an expert Advisor in mql4 format which open position at certain time of the day, it calculate number of lots, take profit and stop loss. Now I want to change it because it doesn’t work very well and I want that it open position when the candlestick start (in the...
Hi I have 2 questions. 1-How can I check the last order ,closed with takeprofit or closed manually ? if closed with take profit, for example do something . 2-for every new order , ea check the other open orders ,if difference between ASK price and any order open price is higher than certain amount ,...
Hello, I'm testing a lot of EA in this period and often I observed that SL/TP values are not respected if setted in OrderSend function. Maybe I have to set a SL of 20 pips but, when order will be created, often it differs from 20 pips. I think that this happens because I check multiple time to...
Hi, I just want to write some data to a csv. But I cannot see my mistake I get error 5004 over and over again. It creates the file, but it's size=0. The Timer is set to 5 sec. the "int start()"-function doesn't help either. Thanks in advance void OnTimer(){if (RunEA && IsTradeAllowed()) {   int...
  vertical lines  (3)
hi these codes draw verticale lines (where  datetime t and string p are known) ObjectCreate(0, p, OBJ_VLINE, 0, t, 0);ObjectSetInteger(0, p, OBJPROP_COLOR, clrYellow);ObjectSetInteger(0, p, OBJPROP_STYLE, STYLE_SOLID);ObjectSetInteger(0, p, OBJPROP_SELECTABLE, false); Here are the lines drawn  I...
Hello dear programmers, I am building an EA based on my strategy but as I am still learning how to code properly I ran into some troubles. Would really appreciate your help! So basically lets say that my strategy generates  SELL signals at the price of X and then Y and then Z and so on. How can I...
Hi Guys, I am trying to back test an EA . My friend is reporting success with this EA and I wanted to check it out before dropping onto a chart on my Live account. It will not run on anything other than a Tallinex Live account. I set the Tester to run from 1st Jan 2017 to 25th August 2017 but it...
Hi everyone, I'm a beginner and I'm trying to learn. I have a problem, in this practice expert, I insert the stop loss exactly on the minimum of the candle and I would like the RR ratio to be 1 to 1. I'm trying to calculate the difference in pips between the maximum and the minimum and then add it...
Hi all, Wondering if anyone could tell me why I'm not being able to TRADE anything at all, there's no trade button available. I'm fairly new to all of this so may be something obvious! Many thanks.
If I use a Trailing stop and a stop loss shouldn't take the closer one?
  MT4 platform working slowly  (19   1 2)
Hi I don't know, if this has already been asked here, but I couldn't find it anywhere. My Metatrader4 platform lags big time and I don't know, what to do with it. I tried to google it, but the solutions I found didn't work in my case. I can't see the data in real time, as it refreshes only every...
  New MetaTrader 4 build 1170  (30   1 2 3)
New MetaTrader 4 build 1170 The MetaTrader 4 platform update will be released on December 20, 2018. The update fixes errors and improves the platform stability. We remind you that support for older versions of operating systems, including Windows XP/2003/Vista, has been discontinued. The minimum...