forex forum for traders and developers

  Hello  (1)
I active vps but its not worked when i close mt4 at night and day. What must be problem? When i make migracion on files its done butcwhen i close its not worked
I had an EA built which has lots of information displayed in the chart. The EA performs extremely slow on strategy tester. Would it run faster if the EA did not have to display all the information. Or is it irrelevant. Thanks for some insight
i have an account under the name Ahmed Rashad , it had 6 signals on and they are very successful , all of the sudden , .. i got banned for 10 years and i couldnt even find a way to contact the developers to ask why is that !! it is written next to the Ban message Spam PM , i didnt spam , i was
Hello, I am a newby with mql5, i tried to create an Expert Advisor and it seems to works on last 5 years. I would want to know if i turn on this EA with MT5, if i turn off my computer does the EA still works ? If no, is that possible to have an EA who trade even if i turn of my computer ? Thanks
hi any one why the send request failed [12002], kindly advise how to resolve
  Become an Author at!  (147   1 2 3 4 5 ... 14 15)
Thenew MQL5 Community website at 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, guys, pls, how to change modus of display a TP and SL of a open order as e.g +30 EUR TP or - 30 EUR SL at mobile MT5, on chart? like attachement, i dont have arrow, too. maybe i can update or developer options. i had that option displayed, at first installation. now, i deleted app and
I revived notification associate with my signal as " Authorization failed, please check on your account" , I am not able to identify what is the issue
In an EA, what code will I use to make BUY/SELL signal appear as options in the EA control panel: This s required because the stategy can only work fo BUYs or SELLs on different indices and not both at the same time
Hello guys, I think MT has a probably bug in my account. The thing is that my market watch is invisible. NOT hidden, It absolutely transparent 100%. It exist but can not be seen by user. If I double click in white field there the pair window for trading prompt. The strange is that when I turn on MT4
  OpenCL  (3)
Hello community! Some cool guy could please share an example of OpenCl code? Very basic EA, using some indicator buffer , just to understand it better. Thanks! Edit: I just forgot to say something: I've seen all these topics and links, that's why I opened this topic. There's no complete example
What is the difference between MQL5 pointer and C++ pointer
The account disconnected on windows 10 platform, but is running fine on Android. can the settings of android be connected to telegram <Deleted>
Greeting everyone! I want to put my Expert Advisor for sale, however, during automatic testing, the Expert Advisor does not open orders, because in order to open an order, you need to set the EA up first, and only then it opens an order. Of course, the question is easy solvable, however there are a
Dear experienced product providers Do you know the best way(easiest way) to make a product video? Just need a way to record the back-test and add a little bit music. The win10's record feature makes large size video, maybe not good. Thank you in advance and best wishes
Bought this EA from a seller(iceforex) and no support was given to improve the product due to bad rating
i am a professional trader that have been in the marketplace since 9 years ago . check tens of thousands of EAs , indicators , strategies like price action , ichimuko etc... and can assure you 99% of them not work in long term. because market is unpredictable and full of uncertainty. so no one can...
  Kevinator 5m retracement system  (88   1 2 3 4 5 ... 8 9)
Hello I will trade this system live so you will see how to trade it correctly.Please..leave the negative comments at the door and only constructive criticism allowed.Well lets begin............. 5m Kevinator retracement system Majors only (eurusd * usd / chf * gbpusd * aud / usd * usd / cad) 5 m...
Hi, I want to ask you how you use the TDI indicator according to your path. You can see one way to use it for position opening decisions like the picture, I took the picture in XAUUSD on January 14th 2021 TF 5 minutes. - First crossing. red circle. - Waiting for bouncing / touching the support -
Locked-in Range Analysis (abbr. LRA) is the futures market analysis method, described in the ebook "Locked-in Range Analysis: Why most traders must lose money in the futures market (Forex)" by Tom Leksey, which minimizes an uncertainty in the futures market. LRA is the method of interpreting the...
The railway tracks pattern forex trading strategy is another price action trading strategy that is based on analyzing the lengths of two candlesticks of similar lengths and one of the candlestick must be bullish and the other one is bearish.When you see them together they look like railways tracks
  Something Interesting to Read  (74   1 2 3 4 5 ... 7 8)
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...
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...
Hi. It is simple trading system. Indicator Stochastic oscillator standard setting Indicator Alligator for TP. Time M15 TP 100-200 SL 100-200 Check reault
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...
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...
  SYNERGY Trading Method  (837   1 2 3 4 5 ... 83 84)
The Synergy Trading Method was developed by Dean Malone and is an effective Forex trading method developed to simplify trading decisions with high probability precision. It combines the market forces of Price Action, Trend, Momentum and Market Strength to produce higher probability trades. The...
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...
Hi, I need advice: where can i download or buy a best historical data
Basically, I've been trying to set my TP in order to maximize my reward, which would be TP*P ( TP). After some math, taking into account the mean and Std deviation, I end up with a TP of 2.6 something pips, which, of course, maximizes the probability of hitting TP because is so small. On
Hello, I'm surprised, it's not possible to set my limit price above my stop price, when using Buy Stop Limit. Usually, you anticipate that the price will go higher, so you put your Stop Price and then the Limit Price a few cents above, so that you don't have to buy at Market Price which, usually
New article Principles of Exchange Pricing through the Example of Moscow Exchange's Derivatives Market has been published: This article describes the theory of exchange pricing and clearing specifics of Moscow Exchange's Derivatives Market. This is a comprehensive article for beginners who want to...
  Cryptocurrencies  (9)
Dear To whom it may concern, How to add cryptocurrencies to the mt5
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
I'm quite new to COF trading. Anybody else here trading on Amazon, NVDA, Google, Netflix, Tesla, Facebook, Apple etc
I have a MT5 account with real stocks, no margin, no shortselling. My positions are separate, with each buy as a separate record. I recently wanted to partially close a position (i.e. Sell limit order on a partial number of stocks). However I realized I do not know how to do that. When I right click
  Order routing - EUREX  (12   1 2)
Hello everybody I trade FDAX with MT5 via AMP at EUREX. EUREX accepts stop-market orders for futures trading in addition to the native order types: market and limit. QUESTION: Does anybody know if the MT5 Gateway transmits a STOP-Market order to EUREX? Maybe we have to distinguish between simple
  Bonds  (4)
Introduction to Bonds (Part I) 1. Principal: This is the face value of the bond; the amount that the first bond buyer initially loaned to the company or government issuing the bond. This is also known as the par value. 2. Coupon Payment: This is the numeric amount of interest payments that are...
  LME product  (10)
Hello,Is their any broker who provide LME product to trade on mt5. Lead,zinc,aluminium, copper,nickel...
  Crypto Trading  (1)
Hi guys anyone have crypto trading ideas? Share knowledge to others
How do you determine Dow via ZigZag indicator, which settings best for you
I've searched Google and this forum but found no straightforward answer to this question. It seems like some U.S. stocks can be traded with CFD only. It seems like there's a IB plugin to use but it doesn't look like historical data is provided to backtest. Has someone ever tried it with success? I
I cannot see the crypto icon to add crypto pairs to my trading platform. Is there something I need to upload to a folder? I have read where I should be add to trade the main pairs, BTC/USD and ETH/USD as an example
Hello guys Is it possible to connect Nest trader to MT4 for real time data... for technical analysis in mt4? Please help
Hello guys new member here so do tell me if I made any mistake in writing my query. I have recently got interested in algo trading and was wondering if someone more experienced than me could guide me. I decided on subscribing ***. Anyone here heard about it or uses it? Do guide me, it will be really
  Beginer in mql5  (2)
Hello, i'm begin to create my first EA. BUT i try now with Ichimoku indocator. my code //+------------------------------------------------------------------+ //| Ichimoku_Siuko.mq5 | //| Copyright 2021, MetaQuotes Software Corp. |
Hello everyone, I'm adapting an EA from B3 (Brazilian stock market) to the Forex and I know that the price information is a bit different. But I don't know why I try send a sell stop under the bid and get the error invalid price. I tried sent the price with and without spread and I got the same
Good day everyone Please someone should help me write EA based on 5 custom indicators signal Actually I don't know how to approach this issue Conditions of the EA _________________EA CONDITIONS 👇__________________ The conditions will be when two, three, four, or five indicator indicates same signal
Hi! I am looking for an AE capable of automatically opening and closing a position without needing any strategy. Just open and close a position according to the hour + minute + second that's all! But to handle repetitive every 40 minutes for example. Example: To open sell US30 SL: nothing TP =
Hi, I have three different EAs and insert them on three different symbols. However, at a time just one of them can open trade. I want all of them can work independently. I have used bellow code to open trade in all my programs: ************** if (signal=="sell" && PositionsTotal()<1) ************* I
hi any one can help me the EA of the attached file of indicator Buy when Ma change to green and Sell When MA change to Red #include<Trade\Trade.mqh> CTrade trade; MqlTick Tick; int ma_colored; datetime MAXIMO= D'2021.10.16 00:00' ; double MaBuffer[]; input double VOLUME= 0.01 ; //Lot input double
hope you are all doing fine.first of all i need to ensure is the ea robust, market dynamics change time to time can my ea survive that i read somewhere in the forum if the optimization result are cluster together the ea is robust. Can you guys take a look into my ea and comment about that. the
I code EA and backtesting until got profits million but when testing on Live demo it is fail How to debug on Live demo? please help to guide line or have any article recommend to read and study
Hi all, I am trying to send WebRequest in MQL5 to API via POST method. The request received at API end however, headers and data dont. following is my code: // JSON text to send string strJsonText = "{\r\n\"key\": \"value\"\r\n}" ; // Text must be converted to a uchar array. Note that
Hello everyone, pls I'm new to the mql5 programming....Please I need your help with applying the inbuilt experttrailingstop classes in adding a trailing Stop to my's been really hard trying to understand how to apply it...thanks
Hello Is it possible to help me add code for any expert until you become like in the picture Thank you For example, when you press the buy button, it becomes red, so the expert does not buy
Hello, i published new EA today (18.1.2021) but like my other EA's i published before, this EA didnt shown on new tab on MT5 market. Any ideas why that happen ? <Deleted>
I have a problem with upgrading the ea version. I want to ask how to publish while the validation has been passed but there is no publish button
I want to provide signals om I have more than 5 EA's running but i would only like to send signals from specific EA with specific magic number and NOT send signals from the rest. How would I achieve this
Hi all, for the purpose of history trade analysis (forex), I write a script to save screenshot of every closed trade to see its progress. I typically open a trade manually at market price and after that I manually set SL/TP and let it run... At the trade screenshot I have enabled the 'Trade history'
Please, am having difficulty drawing from the edge of the chart, how do I go about it for point 1 and point 2 in picture below. Thanks
Hello Everyone, I am currently in the process of translating one of my mt4 codes to mt5. I've noticed something unusual when working with my code and its that when having an event take place in OnChartEvent, the event isn't processed until after a new tick. The code below shows the isolated
Hi, I'm looking for a Williams AD indicator that includes a SMA of the indicator values for mql5. I've ran across a mql4 version...hoping someone is kind enough to share if they have it. Thanks
Hello, may i ask why i can't set the height, width and position of a chart after opening it? This is the code i use: // General Variables bool ChartSetInteger (); // function void OnChartEvent ( const int id, const long &lparam, const double &dparam, const string &sparam) { if (id==
  Multi Timeframe Indicators  (12220   1 2 3 4 5 ... 1221 1222)
Hi all, I've been wanting to have the ability to plot indicators from different timeframes on my chart, but MT doesn't have this capability built in. (Does anyone know of any charting programs that do this natively?) As an example, if you're following the IWCR system, it'd be nice to be able to...
Hi, I am looking for an indicator which gives an alert when the price is touching or crossing the upper or lower BB line (using 50 BB with 1 devi). I dont know if its possible but it would be good to only show alerts when the price was outside the BB and then touches/crosses the upper or lower BB
Hello! When chart scale is set to fixed it is possible to drag the chart up and down, however when changing neighborly timeframes (especially the 1, 3 or 5 minutes) the margin to drag is way too little as it is probably calculated as the possible minimum to show the price action on the current...
How to convert a mt4 indicator to a mt5 one so it works exactly as if you are using it in a mt4 platform
  Indicators with alerts/signal  (15868   1 2 3 4 5 ... 1586 1587)
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...
This is one I wasn't ready for – I'm running a simple MA-crossover scheme to test out lookback methods. It's running in a demo account It's an 8-bar SMMA with a 34-bar SMMA (checked and double-checked), but the results are showing for an 8-bar smoothed MA with a 34-bar SIMPLE MA. Does anyone have
thank you guys I want to compare the value of the main line and the signal line in MQL5. i was doing like this in MQL4:-      if((iStochastic(NULL,0,5,3,3,MODE_SMA,1,MODE_MAIN,1)<iStochastic(NULL,0,5,3,3,MODE_SMA,1,MODE_SIGNAL,1))&&(iStochastic(NULL,0,5,3,3,MODE_SMA,1,MODE_MAIN,0)>iStochastic(NULL,0...
I have a MT5 indicator that shows an arrow when a S/R level is broken. Everything on the indicator works, but for some reason it doens't update to show new arrows. I have to manully refresh the chart for new arrows to appear. Can someone please take a look at the code and let me know what is wrong
Hi, I've modified the built in 'Moving Average' indicator so that it should show a red line when the trend is going down and a green line when the trend is going up. However, the line is always red whether the trend is going up or down. Can anyone see where I'm goin wrong? //--- indicator settings
Hello, I'm coding a basket indicator which alerts me when/if a pair from the list reaches a round number (000/500). I've been able to obtain the last 3 digits from each pair as string (with StringLen and StringSubstr) but when i try to convert them to double or integer all the zeros got removed from
hello i have been creating simple divergency strategy to my EA that will involve drawing the divergence lines to the main chart and to the indicator window ...using this code void divergence(){ CopyBuffer (rsi_handle, 0 , 0 ,rsi_period,rsi_array); //--- double A= 0 ; double B= 0 ; datetime
Heiken-Ashi: The Heiken-Ashi indicator is looks like the candlestick chart, but it has some difference.The advantage of the Heiken-Ashi charts is a simple trend determination, the upward trend candles are blue,the downward trend candles are red. Author: MetaQuotes Software Corp.
selection sort - array sorting algorithm : an in-place comparison sorting algorithm Author: DMITRII PECHERITSA
New article How to Make Money from MetaTrader AppStore and Trading Signals Services If You Are Not a Seller or a Provider has been published: It is possible to start making money on right now without having to be a seller of Market applications or a profitable signals provider. Select the...
New article How to Order an Expert Advisor and Obtain the Desired Result is published: How to write correctly the Requirement Specifications? What should and should not be expected from a programmer when ordering an Expert Advisor or an indicator? How to keep a dialog, what moments to pay special...
Dollar Index Candles: The U.S. Dollar Index (USDX, DXY, DX) is an index (or measure) of the value of the United States dollar relative to a basket of foreign currencies, often referred to as a basket of U.S. trade partners' currencies. The Index goes up when the U.S. dollar gains "strength"...
hi guys i need a scripte to importe GBPUSD price and stock it in Pair1 and import price of EURUSD and stock it in Pair 2 can some one help me
  Indicators: FivePattern  (29   1 2 3)
FivePattern: This indicator shows М & W Wave Patterns by Merrill and support/resistance levels on a chart. The indicator is recalculated on each new history bar (to save CPU time when rendering objects). The names of all objects are pseudo-random. The indicator calculates the predicted price...
Adding password protection to your Indicator / Expert Advisor: Several methods of protecting your code have been proposed over the past, but were either too simple (less secure), required re-compilation of your code for each new customer (ok if you only plan on having a dozen or so customers) or...
New article Visual strategy builder. Creating trading robots without programming has been published: This article presents a visual strategy builder. It is shown how any user can create trading robots and utilities without programming. Created Expert Advisors are fully functional and can be tested...
Support Resistance Trader: Support and Resistance lines are used with the Standard Deviation indicator for generating trade signals. Author: raposter 
SDX-TzPivots: Calculation of pivot and similar levels based on time zones. Author: Aleh Sasonka
Corrected moving averages : Corrected moving averages Author: Navdeep Singh
New article Trading Signals in MetaTrader 5: A Better Alternative to PAMM Accounts! is published: We are pleased to announce that MetaTrader 5 now features Trading Signals, thus giving a powerful tool to investors and managers. While you are following the trades of a successful trader, the terminal...
Arbitrage Synthetic: A trading robot for performing arbitrage between EURGBP and its synthetic quotes (triangular arbitrage). Author: Maxim Dmitrievsky
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
Hello Members, I am trying to get onclick event for the panel and dialogue CButton. But is not working. Its working for other control types like Combo box etc. But not working with buttons. How to solve this issue? #include <Controls\Dialog.mqh> #include <Controls\Label.mqh> #include
This is just some information, rather than a question, but I thought I'd share it since I've been wondering how to do this for some time. The standard BITMAP and BITMAP_LABEL objects allow us to load bitmap images on to the chart, but do not support 32-bit images (with alpha channel). This means if...
I want to get the Minimum value from the following external variables excluding the empty fields. It could be something like this: A = 1.354; B = 3.762; C = 0.0; D = 0.0 Below the external variables and the formula: extern double A = 0.0; extern double B = 0.0; extern double C = 0.0; extern
Hi, I am making an expert advisor that runs on every tick. I am trying to find a way to end the execution of the script prematurely when a condition is met early on in the script, and then the script won't execute again until the next tick. I know I could just put the entire code after the condition
Hello I have a script I run every time I trade and so I want to make it quicker by assigning a hotkey to the attachment of that script to the focussed chart.  How can I do this?
Hello I've attached an image of a test indicator applied to a live chart and to a strategy test - The same indicator stored in a template EA The image shows different results , this is the test code below Can anyone help me understand what the issue is ? #property copyright "" #property link
  Spreads on mt4  (7)
Hi Sergey and /or Eleni, I am using mt4 and am curious about how the spread works between mt4 and my broker. How is the mt4 spread determined? Is it a direct feed from my broker? If I change brokers will I get a different feed (hopefully with a smaller spread)? Below is the display on my mt4. Does
do { int entry_buy() { Close[0]>Main_Trend; Close[0]>Sub_Trend; Close[0]>Third_Trend; Close[0]>Fourth_Trend; Close[0]>Fifth_Trend; Close[0]>Sixth_Trend; Close[0]>Seventh_Trend; Close[0]>Eighth_Trend;
Need to code a simple MACD Cross over and U turn of MACD.......however EA is not picking the right spots for closing the trades. Sell trade opens, when MACD cross below Signal line while MACD is above zero line Close must happen when MACD Cross zero line from below, or when MACD turns down signal
I have an EA that I run on 2 live accounts with 2 different brokers. With the first broker the EA has been running for more than 6 months and I have perhaps seen this problem appear maybe once or twice. With the second broker which i have been using for just more than a month now the problem has
Hello, I want to announce the BUG on the MetaQuotes website here: The download link for MetaTrader4 is wrong, it downloads the setup file that installs MetaTrader5
From the topic u will get fast my problem I'm a beginner EA programmer, this is my first EA pls see my Code I really dont get why its still not working, I mean why do I get still "invalid error" //+------------------------------------------------------------------+ //|
I have a custom chart software made for my iMac using API trading. Now i am wondering if it is possible to use a custom MT4 indicator. I fully understand that my software need some kind of core library to even understand .ex4/.mq4 files. But to go any further, is it even possible
After registering or deleting the EA or indicator, the name may not be displayed in the navigator even if MT4 is restarted. When I open the file and check it, it is maintained normally. Also, even if the name is not displayed, it is displayed normally on the previously registered chart. It just
  Bug with my mt4  (3)
Hi, I copy a signal called "<Deleted>" on mql5. I'm running my mT4 on a vps dedicated to this task. I have a mt4's second instance running also. Sometimes, my instance doesn't take into account new trades although it is correct on the second instance. Do you encounter such this issue previously ? An