forex forum for traders and developers

I get an error saying: "array out of range" I am new to coding and MQL5 so I am trying to understand the basics. #property copyright "Copyright 2021, NENFB LLC" #property link "" #property version "2.00"
Hi, I'm familiar with python and using code such as the following to post some information to an api: response = requests . post ( url , json = dict_data , headers = headers , auth=HTTPBasicAuth(C_API_UNAME, C_API_PWD)) I wasn't sure how to authorise (ie HTTPBasicAuth above) using MQL5 WebRequest
I did choose a developer for a job and he failed to deliver the job. I applied for arbitration and he never even bothered to respond. What I can do I this regard
  MQL5 VPS  (5)
I've read in previous posts that the above VPS is only suitable for one MT4 account, albeit several platforms within that account. Is this still the case? I am in need of a VPS that allows 2 different brokers and several MT4 accounts
  Something Interesting  (523   1 2 3 4 5 ... 52 53)
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.
Hi all, Been trying to copy signal from this website but every time I tried I get the error message as shown in the picture attached. The is no search function in the mt4 for the signal I am looking for and one have to scroll through thousands if he is lucky enough to find it. Anyone knows the guide
Over the course of 12 years, has turned into a powerful community, bringing together hundreds of thousands of people. Its members want to know more about trading, MQL4/5 programming, automated trading systems, strategy testing and technical indicators. The full language description
Hi, when closing the terminal it seems the process terminal64.exe isn't properly ended. The terminal window closes normally but in the task manager it still shows with either 0% or a very low cpu % and about 100MB of RAM usage.While this process is running I can't restart the terminal. After I end...
We have recently released a DMG package for easy MetaTrader 5 installation on macOS computers. With this package, the platform can be installed similarly to any other application: simply drag the platform icon to Applications and wait for the installation to complete. The package includes the 64-bit
Hello, I am new to coding and am having a problem. I made one robot, compiled it, ran it, and everything worked as it should. Then I tried to code another robot and when I compiled it I got an error saying unsupported file extension. I then tried to create a few more robots thinking that it was just
Hello everyoneI rented a vps from the metaquotes where I installed an EA .how can I stop and restart my EA keeping the vps?
Hello mql5 developers, I am getting a lot of feedbacks from users asking me why MT5 rectangle extenders don't have 4 edges for drag and drop. With only 2 edges it is very hard for supply demand and zone traders to make analysis in MT5, because MT4 is much better because of this. Please make 4 edges
Hello, I have this message, I use same login/password as this forum. It's working on my personal computer but not on my VPS, whyt
or are differences in buying and selling signal , between a standard micro account
  How to Start with Metatrader 5  (1347   1 2 3 4 5 ... 134 135)
I decided to create this thread to help to myself and to the others to start with Metatrader 5. I am experienced in MT4 and in forex in general (i hope : ) but we traders really need to collect all the information about it in one place. I will make some posts about 'how I am starting with MT5'....
  Channel trading system  (321   1 2 3 4 5 ... 32 33)
It is simple trading strategies. m217irr mentioned about it here but I did not understand it in that time. This strategy is very good for the beginners and I started my forex with this strategy some years ago. And not me only. I know that Tartan started with this strategy as well and finally we have...
What is the one and most important rule in FOREX to make one successful
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...
  Harmonic Trading  (5985   1 2 3 4 5 ... 598 599)
Hello all I have tested many strategies and many other stuff but i did not found them more accurant then basic analysis of the market. i mean,the Price Patterns. 1. harmony indicators: here and here. 2. candelsticks reversal patternsis here. 3. Price Patterns: - Price Patterns (Gartley,Butterfly,Bat...
I just started this thread as a continuation of the talking made on this topic (we can read it). Or 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...
  Brainwashing System / Asctrend System  (246   1 2 3 4 5 ... 24 25)
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...
  Short-Term.....Swing Trade (Set-Ups)  (149   1 2 3 4 5 ... 14 15)
SHORT TERM TRADE SET-UPS FOR ALL ! Swing trading is actually one of the best trading styles for the beginning trader to get his or her feet wet, and still offers significant profit potential for the intermediate and advanced traders. THIS THREAD IS BEING SET UP AS REFERENCE TO WHAT IS GOING ON IN...
  Trading strategies/patterns  (11   1 2)
Hello everyone, Hope all is well during these time. Anyway, I would like to know anything you guys have for any strategies and patterns you might poses to help out one another. I have been studying some channels on you tube and got a hold of like the Scalping Strategy, Bat Pattern, Gartley Pattern
  Can you say forex is gambling?  (82   1 2 3 4 5 ... 8 9)
Joshua Brown, vice president of investments in a renowned New York asset-management firm once said that the forex from his perspective is too risk fraught for an individual investor to engage in preferring to label forex trading as gambling with retail investors in ignorance throwing money into
This thread won't be about a question or problem, but rather about the anouncement of the presentation and documentation of an exciting trading concept. I plan to do a series of postings here in order to keep you guys updated. Anybody who has an opinion on the topic, please don't hesitate to comment...
Recently seen on the net .... "What if we told you there was a hamster who has been trading cryptocurrencies since June — and recently was doing better than Warren Buffett and the S&P 500?" About Mr. Goxx Mr. Goxx is a hamster living in a loving and caring environment. Unlike other hamsters, he owns
Hi guys, What is more important in your trading strategy? Risk reward (RR) or winrate percent? If we want to have huge RR then entry and SL are very tight which can cause bad winrate... On the other side we have winratio where we need to use wide SL or no SL at all) to get high winrate. I saw many
Fractal Wave is by far the most conformative and practical theory in the technical analysis. However, it is also most underestimated theory too. In my opinion, ironically, this important theory is less popular. Hence, I decided to bring some educational materials here in the direction of making the
I am successfully subscribed to 2 signals from my VPS -based MT5. There is a 3rd signal I also want to subscribe to, here: My problem is, my MT5 Signals Marketplace does not list this signal. When I sort them alphabetically ( "Signal / Equity" ) it skips it. Any ideas? Do I need to (and is there a
  Crypto Currencies  (11   1 2)
Where can I find the Crypto Currencies like 'Ethereum, Ripple and Bitcoin' ??
  We use Bitcoin ;)  (490   1 2 3 4 5 ... 48 49)
Seems we need a Bitcoin thread to discuss about due the growing popularity of this virtual money. Forex-TSD is studying the idea of take Bitcoins as payment method and having our thread to discuss about pros and cons sounds as good approach. You will find more information on the official Bitcoin...
Is it possible to get binance futures historical data and live feed on metatrader5 ? if yes, how would I go about doing it
Hi all I'm about as new here as one can be. Both to trading and to this forum and is my first post here. Hoping I can get a answer to a question. Google hasn't been able to help. I want to know how can I calculate my lot size for opening a trade on NAS100. Is there a known formula? For forex pairs
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...
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...
  Trading stocks  (14   1 2)
Hi there, I am new here and i want to trade stocks rather than forex/currency. I have not been able top find out where and how buy/sell platform Anyone please guide me Thanks \ JC
Hello guys! I have been observing and analyzing the various currencies, commodities and indices. I feel like the world economy is due for a crash or meltdown. What do you think
  Forecast and levels for S&P 500  (468   1 2 3 4 5 ... 46 47)
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...
Hi sorry but I'm really in the beginning ... I can't see the stock market but only currency exchange. Depends on the server where I am connected or wrong? Thank you
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...
Hi, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
Hi, I need futures exchange data to use a volume profile indicator on MT5. I've only found a broker with futures data, but this broker gives the DAX data delayed on the demo account . Do you know if exists another broker that provides futures data on demo account with DAX real time? In the other
  Forecast and levels for Dax Index  (66   1 2 3 4 5 6 7)
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...
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...
Dear all, an unusual problem occurred with an EA that I have been using for some time. This EA, linked to a EURUSD chart with 1 minute Timeframe, suddenly stopped performing its functions. The Expert was regularly hooked to the chart, but just didn't do anything anymore. The Log file normally
I have a problem with my EA because the spread of the currency that im trading is 5 , so, when the indicator give something ending with other number than 5 or 0, the error ocurrs   2016.10.22 13:29:38.787 2016.10.03 11:55:00   failed exchange sell 1.00 WINZ16 at 60739 sl: 60834 tp: 60584...
Hi all, Is it possible to input a variable from one EA-currency into another EA-currency in multiple currency backtesting? I mean my EA on EURUSD fill the variable x=10 during the backtest, then send it to my EA on GBPUSD. So the GBPUSD EA been feed by EURUSD EA. Is it possible? How? Could it be
So I just made a robot quickly to try for trading ETH/USD and I did some backtesting but the robot only trade during the week. I'm currently able to trade ETH/USD on the weekend by myself but my bot is not able to start trading during the weekend. Does anyone knows how to enable a bot to trade
Hello everyone, good day! I am starting making an EA and I just want to include the Volumes on every candles. I just wanna ask some help in making codes for a function that will return the Average Volume of the last 50 candlesticks so that it can add and refine the present strategies in opening...
I found a solution for the many charts that the strategy tester opens automatically in MT5. Till now I closed them one by one with Ctrl F4 and than clicking on the next chart tab. But this goes faster: On your keyboard: Alt W ... this opens the Windows List. Now select the first of the charts you
  How do I ??  (7)
Hello everyone, How do I write a code based on the example below. For example: If current price CLOSE is above EMA 5 HIGH take buy trade If current price CLOSE is below EMA 5 LOW take sell trade
hi I've wrote a simple expert that runs(buy and sell) correctly on EUR/USD backtest but in mt5 strategy tester when I change the symbol to Iranian stocks symbols it doesn't work and I can see in visual mode that the price and RSI and CCI go to buy or sell condition but it doesn't do the job! I've
Hello all, I usually load a new EA in *mq5-format into the data folder MQL5->Experts, re-start MT5 (Mac) and then an additional *ex5-file will be created and the EA is appearing. From one day to another this way does not work anymore. When I insert the *mq5-file nothing happens. It will not be
Is it possible to use property as string? #property version "2.21" When I make some changes in EA, then I want to be sure that new version is used in tester. So one way is to see its version number ("2.21") immediately on chart, so first I have to convert that property to string probably and
Can someone help me with MQL5 coding, I have tried thousand ways to get the profit and deal type from the history for the last 3 deals (last, before the last and the before before-the-last) but always failed. Would be grateful for any help with code
I would like to know if it's possible to create and run a EA when trading binary options. If so, what platform or broker can help me achieve that? Thanks in advance
Hi All, as a newbie with mt5, I tried to write an ea an get error saying invalid stops, here is the code of my ea for opening position: void TryCreatePosition( ENUM_ORDER_TYPE type) { double pOpen = (type == ORDER_TYPE_BUY ? _Ask : _Bid); double sl = 0 , tp = 0 ; CalcSLTP(type, pOpen, sl
Hi, I have 2 problems that i can´t solve. I hope you guys can help me work it out. Problem 1: I have an EA that works fine on demo account. It places trades and the profitability is very good. I let it run all day on demo account and it works like it should. But when i switch to real/live account,...
Hello At MQL5 What about making Expert working on another chart? for ex: running my expert at (EURUSD chart M5 timefram), and it must opening all positions at (EURCAD,EURAUD....,15M,H1 ....etc) Is this possible ? How can i do this on this code: // ----- > column_table < ---------- // $name = name
  Moving Average  (1537   1 2 3 4 5 ... 153 154)
Post all MA indicators here.
Hi, in the following code i fail to see why im getting an array out of range error? //--- indicator settings #property indicator_separate_window #property indicator_buffers 1 #property indicator_plots 1 // Buffers double MAOsc[]; // Global variables int fastMA;
  super-signals  (34   1 2 3 4)
Hi. I'm loking for some modifikations of super-signals indikatores. I know, that some are calling them ,,joke'', but they are build on a good idea and some of tham have to be good working with grid sell/buy using. Please, if u have some modification of them, poste tham here. I have only base one,...
Hey guys, I have been using a really nice RSI divergence indicator which helps me mostly to avoid reversals. The problem is it doesn't have alerts or notification function which could have been really useful. Can anyone help me add those two functions to the indicator
  Indicators with alerts/signal  (15894   1 2 3 4 5 ... 1589 1590)
Some indicators with alert/signals with author's comments: - EMA-Crossover_Signal: Enter two Exponential Moving Average periods and it'll tell you when they crossed. - SMA-Crossover_Signal: Enter two Simple Moving Average periods and it'll tell you when they crossed. - SMMA-Crossover_Signal: Enter...
It should be easy to reach this, but i need help on the way. I wonna just draw a moving average line on a Chart likes this. (Orange Line)   My result is just like this. The lines going are endless to the bottom instead connecting each point to a line. (Red)  ObjectCreate( "movav" +...
  Fisher  (254   1 2 3 4 5 ... 25 26)
Hi! A friend of mine has allowed me to upload this Fisher . Do not get overexcited. You'll see why. But it might be fixed. Don't you think
Hello, Does anyone have an MACD indicator that alerts, preferrably with email and sound, when the MACD line crosses 0? Thanks in advance
Hello If i have an expert and i want to run it at all time-frames and symbols, Do I have to open more than 1 chart to run this expert? What if i want to open one chart and run this expert at all time-frames and symbols
  Everything about RSI  (1444   1 2 3 4 5 ... 144 145)
RSI indicator We are continuing discussion about the indicators. We have the following thread: Parabolic SAR indicator Momentum indicator Stochastic Oscillator Divergence Indicator Now we are talking about RSI. "Technical Analysis from A to Z": Overview The Relative Strength Index ("RSI") is a
Hello Folks, I'm new to MQL5 , I have been trying to code the HMA of the monthly timeframe but no success, I coded it to be calculated on the current timeframe then changed the interval to PERIOD_MN1 but no success here's my code, I'd really appreciate it if someone told me what I could be doing
Hello I am a beginner in coding. I want to ask: Why when i put"input" this code dose not work? string symbols[]= { "GBPUSD" }; ENUM_TIMEFRAMES TimeFrames[]={ PERIOD_M1 , PERIOD_M2 , PERIOD_M3 , PERIOD_M4 , PERIOD_M5 , PERIOD_M6 , PERIOD_M10 , PERIOD_M12 , PERIOD_M15 , PERIOD_M20 , PERIOD_M30
Hello, gentlemen. I am looking for an indicator that is able to automatically move Stop Loss to Entry. Also, the ability to set multiple Take Profits from a single trade volume. Something very similar to the Advanced Protection found in cTrader. Does anything of this kind exist for the MT5 platform
Similar to a session indicator...but simply a horizontal line on the chart that signifies daily whatever time you have specified into the inputs. Is there anything like this out there? Would be great if it had the ability to place multiple lines in different colors in desired
I have a DLL that will return a pointer to an array of structs: struct dataSet{        //some random variables}; dataSet* RandomFunction(const int ratesTotal, const double price[]) {         //some random calculations} However, I do not know how to import this function in mql5. I have tried doing...
New article Payments and payment methods is published: 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
QQE of CCI: QQE (Quantitative Qualitative Estimation) is normally made using RSI (Relative Strength Index) as a "basic" indicator. This version is using CCI (Commodity Channel Index) instead. It seems that the job done by the QQE calculation is making a useful indicator and that it is useful...
  Experts: CCI and Martin  (12   1 2)
CCI and Martin: The EA based on iCCI (Commodity Channel Index, CCI) indicator plus managing position volumes using martingale. The EA uses iCCI (Commodity Channel Index, CCI) indicator value on the last four bars and Open/Close prices on the last three bars. A position opening signal is checked if...
Moving Average Bands : Moving Average Bands Author: Mladen Rakic
Forex_Market_Hours_GMT_v4.0: The good old MT4 indicator! Now for MetaTrader 5. Author: amrali
New article General information on Trading Signals for MetaTrader 4 and MetaTrader 5 is published: MetaTrader 4 / MetaTrader 5 Trading Signals is a service allowing traders to copy trading operations of a Signals Provider. Our goal was to develop the new massively used service protecting...
StdScore v4.2 : An oscillator that duplicates the chart of a selected asset in a separate window in three ways: line, bars and candles. This is essentially an indicator Bollinger bands, displayed in a separate window. In my opinion, it will be useful for beginners as a way to look at various
Nadaraya-Watson estimator : Nadaraya-Watson estimator Author: Mladen Rakic
New article Using Self-Organizing Feature Maps (Kohonen Maps) in MetaTrader 5 is published: One of the most interesting aspects of Self-Organizing Feature Maps (Kohonen maps) is that they learn to classify data without supervision. In its basic form it produces a similarity map of input data...
New article Combination scalping: analyzing trades from the past to increase the performance of future trades has been published: The article provides the description of the technology aimed at increasing the effectiveness of any automated trading system. It provides a brief explanation of the idea
Extended Heikin Ashi Indicator : Extended version of the original Heikin Ashi indicator. Author: Dominik Egert
  Indicators: Harmonic Pattern Finder V3  (81   1 2 3 4 5 ... 8 9)
Harmonic Pattern Finder V3: Indicator to display existent and emerging harmonic chart patterns. Author: Andre Enger
New article Programming a Deep Neural Network from Scratch using MQL Language has been published: This article aims to teach the reader how to make a Deep Neural Network from scratch using the MQL4/5 language. It begins with the basic unit of a neural network: a single neuron. In this article, I
Volatility Pivot: Volatility Pivot indicator calculates "pivots" (support/resistance lines) based on current symbol/timeframe Average True Range calculated volatility. Author: Mladen Rakic
New article Exploring options for creating multicolored candlesticks has been published: In this article I will address the possibilities of creating customized indicators with candlesticks, pointing out their advantages and disadvantages. The great advantage of this last method is that we will have
Hi, I would like to know how the Relative Drawdown is calculated. I have googled and read other explanations, but it seems everybody has a different answer and opinion. I know that Absolute Drawdown is the maximum amount under the initial deposit we got in the simulation. Also, I have understand...
input DateTime Date1; if (TimeDayOfYear(Date1) == TimeDayOfYear( TimeCurrent ())) { Print ( "It is the same day" ); } if ((TimeDayOfYear(Date1) - 1 day) == TimeDayOfYear( TimeCurrent ())){ { Print ( "It is 1 day before Today" ); } (TimeDayOfYear(Date1) -1 day) is causing error. What
Hi, can you suggest an indicator for mt4 that shows the hourly bars in histogram format for any pair. Any timeframe
Message: Hi folks, I am unable to download historical data. when i attempt, i get the message: there are no new data for symbol. I have not previously downloaded any data. I've tried this on both real and demo accounts Could you please advise. Best regards
Hi, How can I find market Open or Close? dunction GetLastError()? What value return function? Or other function/way? Other solution? Thank you.
Hi Everyone, This is my first post, except for some code I posted to help someone determine if the market is open. So I guess I mean this is my first new topic post. I am trying to code a trailing stoploss and got hung up for a few hours on something that should be pretty simple for me (I have been
Hello everyone this morning on the ea logs that I activated yesterday I got this error but having not touched anything on these code I do not understand what it is due to I'll show you in what string it gives me the error double _get_lot_size( double SLpips) { double AcFrMar, MoneyRisk
Hi, I have an array BuyClosePrice[i][x] which "x" dimension represents the symbol in this multi currency EA, and "i" dimension represents the position between that same symbol closed orders(through Buys). I set GVs by this code: GlobalVariableSet (( "BuyClosePrice[" + IntegerToString (i)+ "][" +
Hi guys and merry christmas. I'm finding indicator can show the stoploss, tp and price entry on chart. Do we have any indicator or EA like it on MT4. Thank so much . 
Sir,I\'ve a demo account but I cannotsell.Whenever I give a sell order it shows please verify operationparameters and try again later.I am novice please guide.
Hi, Would someone please tell me if there is available, for this MQL5 com website, any list of freelance service providers, preferably filtered on Rating score and/or quantity of done projects? Whatever I check in Freelance section, the name of developers are not given so I cannot contact them to
Hello, how can I put the source code of an indicator, inside the source code of an EA. The idea is to unify the two in a single code. can someone help me? thank you
My question : I worry hacker hack into my mt4 account and simply open big lot size trade causing huge loss causing all investors losing money. How to set to block the ip if people try 3 attempt login with wrong password on my mt4 account? My question : Even if I often change acc password, but the
Hi there, Hope you are doing well. I want to detect minimum variable among several variables and add 10 to it. How can I do this in the quickest way? For example: a=2, b=5, c=9, d=11; in the above example, I want to find "d" and make it d=21; Your advice is greatly appreciated
Developer from Hell. I requested a simple job on Freelance Market. After promising that what I wanted was a simple job, he proceeded to take 6 months before held completing the job. 3 months after the job completed the developer went back onto my website deleted the work. So now I am left with