forex forum for traders and developers

We have updated the Chat to further enhance the user conversation experience. Check out the new service interface and updated functions, such as the revised friending logic. Create groups on financial topics, join existing channels, discuss current issues with fellow traders in group chats
Guys, for days, I've been trying to solve this problem, but without success, so far nothing. Can someone help me. All questions and doubts on this topic, there was no objective answer or respect. From the MT5 help, it seems simple. But, when trying to solve the following steps, it does not connect
Hi, I bought an EA, and the amount is showing under payments (Ref: 10432569), but it's not showing in purchased items and I cannot activate it? Regards
The screen has become very slow, the 1 minute chart is not progressing. Please, correct it. Everything was working fine in the previous version
Hi, I have a live broker account that is connected to a trading bot that takes in and out trades for a duration of 30-40 secondes per trade, ive tried to attach a few copy trader to my live account to duplicate the trades but non of them are duplicating the trades. my live account is in profit and
Hello, please I need assistance. I don't know why my percentage profit is showing a negative 100% even though I have made much profits; From my deposit and balance, you can see that the profit percentage should be close to positive 100%
Hello, Let's say I would like to copy trades from mutiple masters accounts to 1 follower account. Here on mql5 or wherever. I would like to know how could I choose an equal allocation for each master ? EA, website, script or whatever. I will try to explain : Let's say I have 2 masters accounts that
is there any chance to add indicators to metatrader web terminal like position calculator guys
Given an example class below, I would like to be able to use it with values, pointers and structs. This issue is that structs can only be passed by reference which gives me a lot of headaches trying to make my own personal library. See the simple Queue class below which is templated. template <
Hello guys. The problem here is really simple: When I delete an object from the chart (using "canc" on the keyboead or mouse>right click>delete) apparently OnCharEvent does not detect the event as the Object has been deleted. void OnChartEvent ( const int id, const long & lparam, const double &
Hi, today I stumbled on a problem with pending orders. Please see the following EA doing the following steps: trading the currency pair USDCHF as soon as the market is open two buy limit pendig orders will be placed: at 1.06800 and 1.06500 #include <Trade/Trade.mqh> bool OrderOpened; bool
I want to disable or delete an account in mql5 market , How can i do that. Thanks in advance
I am subscribing a signal. The balance ratio was 460% When the signal opened an order, signal platform opened two orders in my account. One is 0.46 lots and another is 0.33 lots. After a while, 0.46 lots order was closed and the 0.33 lots order remained. However, the log file has no clue for the
How is the Reliability of a signal calculated ? As an example, compare <Deleted> and <Deleted> . The first one has maximum drawdown, percentage of profit trades and recovery factor all worse but still it has higher Reliability
I have finished registration as a seller but verification with phone number is not working I am not getting code to finish up the verification can someone help me out
  Does a safe Martingale exist ?  (190   1 2 3 4 5 ... 18 19)
Hi, With this topic I would like to contribute in a very serious way to the world of the martingale "believers". For those who don't know me or doubt my intentions google on "fxigor". So I hope with this topic that I can make a new wind blowing in martingaling. Let me first answer the question to...
The main purpose of this topic is for the general discussion of the VIX CFDs. In order to adhere to the forum rules, I respectfully request that there be no discussion about brokers, market products , signals, nor any 3rd party references. You are free to discuss how these markets behave, your
Hi All, It has taken me over 6 years and I've finally become a consistent profitable full time trader thanks to this strategy. The strategy is very simple and would only take a few minutes of screen time per day (using 4HR candles). I'd like to thank 'bigbear3391' for his guidance and inspiration
Both “Boom” and “Crash”, “Boom” only (not “Crash”), “Crash” only (not “Boom”), No, but I’m interested in knowing more, Never! I don’t have any interest
  Stochastic  (100   1 2 3 4 5 ... 9 10)
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
  Daily Breakout EA  (148   1 2 3 4 5 ... 14 15)
Hello Trading Fellows. First, look on my strategy: - Everyday on 0:00 GMT I make two pending orders: 1. Buy @ yesterday high 2. Sell @ yesterday low TP and SL for example: TP:20pips SL:15pips end. On GBP/USD, TP: 20pips, SL: 15pips in 32 days I have: 8 loss = -120 pips 25 win = +500 pips On another...
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 I am not able to perform migration of one of my accounts data on VPS server. 1 of them is migrated successfully. Can someone advise. Regards Sajid
I've had two trades already. It's still giving me this error. What's going on? How long does it take
Hi All, need help with transforming a Source File into a running program for MT5. It's my first time. Thanks
  We CAN NOT predict the market !  (38   1 2 3 4)
We cannot predict the direction of the market nor a point of reference for the market. Because basically the market is very dynamic and is determined by humans , not robots. All we can do is only follow the current market trend , and take immediate action when something happens against the direction
Hello i would like to find an EA to try this strategy in becktest
  Copy Trading  (2)
Does Copy Trading grantees consistent profits in the long-term period of time
Hi , My VPS expire on 22/9/2022 BUT MQL5 system did not renew for me automatically although I have selected auto renewal previously . How Can I renew by manual or how to contact admin to deduct my wallet money to renew the VPS ? The MQL5 helper is just a robot , totally cannot solve question and
  E&A Standard Trading System  (551   1 2 3 4 5 ... 55 56)
Hello All, I have developed a simple trading system that I call the E&A Standard. It works on any currency (I prefer low pip spread currencies for obvious reasons) and any time frame (Though any time frame less than 5M is not recommended). It uses SSL Channels and ADX Crosses. When the Indicators...
Yes, No, Interested, Not anymore
  Crypto Currencies  (21   1 2 3)
Where can I find the Crypto Currencies like 'Ethereum, Ripple and Bitcoin' ??
Good day sir. Please give an instruvtion on how to put a deposite into ag trading flatform. I have already real account on 10Tradefx.Ltd .but i dont know yet on how to pur a deposite. Where do i start. Thank you so much more power. Brgds Abram espejo
  Forecast and levels for Dax Index  (70   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...
How do I get equities prices / data on platform
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
  Forecast and levels for Nikkei  (40   1 2 3 4)
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...
  Forecast and levels for S&P 500  (471   1 2 3 4 5 ... 47 48)
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, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
  Forecast and levels for CAC 40  (25   1 2 3)
CAC 40 January-March 2017 Forecast: bullish with key resistance at 4924.69 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 4860.85 resistance level to above on close weekly bar with 4924.69 as a nearest bullish target to re-enter. Thus, the weekly price is...
I was using <Deleted> MT4 connection to trade BTC/USD The spread seems to be very narrow, compared to other brokers. How do they do it? It is a scam
  MT5 real FUTURES broker  (25   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
  McDonald's  (16   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...
All need a help with converting type to enum in the code below input int InpMagicNumber = 1111; // Magic Number input string InpTradeComment = __FILE__; // Trade Comment input double InpVolume = 0.001; // Volume per order ENUM_POSITION_TYPE CurrentTrade;
  Top 3 signals  (1)
From a Friday to Monday, top 3 signal, 2 vanished, 1 badly hurt. Actually it not surprised me at all. If you at this place more than 5 yrs, you will know this happened again and again. People don't know how to trade, what to expect, fond to martingale, this is the destination, sooner or later
  Roffild's Library  (48   1 2 3 4 5) Please do not delete or move this topic.
I've been trying to create an Expert using the envelope indicator. Since adding automatic lot sizing it doesn't place anymore trades. Can someone send me in the general direction? As I'm not a programmer but willing to learn and dedicate a lot of time. It opens a buy and a sell and then it stops
I'm trying to load a custom EA when running on portable mode, but I didn't manage to even load the EA in the chart. I managed to login, open the chart but for some reason even the examples EA like ExpertMACD.ex5 doesn't work. Anyone has a valid config file example or know how to solve the issue
  **** Signal  (4)
I was subscribed to **** signal. last friday many positions were opened and last night at 3:14 am the signal was CANCELED, it seems not existing no more. Mt4 closed all position with a huge loss. Trading is risky but why signal providers abandon their subscribers just like that in difficult times
Hello! Thanks for taking the time to look at my topic. First of all I want to know how I could save the the SL and TP values of a recently opened order so I can use these values for opening a new trade. For example: I open a long(1) trade and the TP= 10 and SL=5, After this I want to open a new
input int Mode = 6 ; input double K = 1.0 ; input double Sharp = 1.0 ; void OnTick () { for ( int b= OrdersTotal ()- 1 ;b>= 0 ;b--) { if ( OrderSelect (b,SELECT_BY_POS,MODE_TRADES)) if (OrderSymbol() == _Symbol ) {
I posted another similar question but maybe it's too complicated. Trying here for a related, but different/simpler question... The MQL5 documentation on this page gives an example of a python script that can communicate with a broker, get some ticks and other data, and then operate on it -- all in
Hi, My futures broker provides real ticks in MT5, I want to know if MarketBook data (i.e Depth of Market) available during Backtesting? Thanks Abhay
Hi, I'm facing a strange problem. First, I developed an indicator that has nothing special to it: 4 buffers, two with data and two with colors, that plot buy and sell arrows in the chart. The following picture is the indicator attached to a chart of the WDO$N symbol (Brazil) in 2019: As you can see
Hi, So far yes, my code is full of options where I check if the trading is allowed, then do something, else do otherwise, but I was just wondering... do I really need it? I mean, isn't Metatrader "smart enough" to not allow the EA to trade if AutoTrading is not checked? In other words, what I'm
Dear All, I have question .. Why are MT5 backtest 'everytick' and 'everytick base on real ticks' so different? Which is more representative? thanks
I am so happy to join you guys. pliz anyone who is patient and willing to help me build a robot based on the zigzag indicator . even though i am not a professional, my strategy is so powerful with lots of wins than losses
Hi guys, I am using an EA to go through a few symbols in a list and also a few time frames, it worked good ,but lately i get a few errors for invalid request. I am using the CTrade library to open and manage the trades, and considering i dont work with the request struct directly i dont understand...
  The Ultimate AI EA Project  (54   1 2 3 4 5 6)
Hello everyone. I would like to call upon every worthy programmer and trader to a crucial mission. A scientific project of a respectable standard, with the aim of easing the developing MQL programs using every tool available. A good start would be creating a public project then let anyone willing to
Hello, What is the custom tooltip size in MT5? Is it smaller, than in MT4? Is it adjustable? After custom indicator was converted from mql4 to mql5, not all info is displaying in tooltip
Hi, I am looking for a TDFI with alerts for MT5. Does anyone use one or know where I can find one
Hey everyone, I'm currently writing code for an indicator that uses the price[i] version of OnCalculate instead of open[i],high[i],low[i],close[i] version because that's the simplest way I found, so far, to be able to choose to apply the indicator to another indicator if I want, using the parameters
  Fisher  (256   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
Hi all, I've been using this indicator on MT4 but am switching to MT5. I found that it's a great indicator for entries and exits. Can anyone help me convert this for MT5? Thank you <ex4 file deleted>
Hey all, I've been using Ehler's Fisher Transform in my system and I found it has great use for an entry and exit indicator. Is there anyone that can convert this for MetaTrader5? Thank you <ex4 file deleted>
  Oscillators  (38   1 2 3 4)
Does anyone have a large collection of oscillators (works best in a trading range) that he/she put together? Maybe we could start a thread where all oscillators are gathered. And let's go a little beyound RSI and Stochastic
Hello everyone. Is there a way to get the maximum and minimum in a range of Hours from the current day to the next day? Example From Current Day Time 15:00 Until Next Day Time 14:00. Thanks for the help
Hello friends As you know, there are types of indicators I would like to know the exact definition of each Can you give a precise definition of the types of indicators? A brief definition of just a few sentences Thanks
Hello, please, can someone help with these indicators in the images? They are fot MT4. I would like to find the developers and understand if its possible to customize same for MT5? Or, if someone knows the codes and can share.. Thanks so much! MACD ATR Arrows XARDFX-38 STI OBOS
Hi, I'm a JavaScript/TypeScript dev with some Java, C experience. I'm interested in creating custom indicator/indicators. I wish to manipulate the main chart to have some indicators on candle side and on the bottom of the chart. I want to ask more experience MQL devs on what approach would be
  Indicators with alerts/signal  (15912   1 2 3 4 5 ... 1591 1592)
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...
Hi Traders/Devs, I am trying to create quite a complex indicator that pulls data from the 28 major pairs and I keep getting error 4806 when I try to copy the handle data to the buffer, can you see what is wrong? Pairs is an array with lists of pairs, in this case I tried to get the RSI value for all
Hi gang, I have started using metatrader 5 and would really like to be able to effortlessly set take profit and stop loss as effortlessly as they do on youtube, a simple click and drag and they are done. When I set a stop loss or take profit I don't even get a line to show where my stop loss is!! I
Hello guys, I cant find any indi or script like periodcon or p4con or "advanced candle" but for metatrader5. Can someone point me where I can get it please? It's an indi that changes the start time of candles, ie 15min candles starts not every 15min round but eg. at :03 (3minutes later of default
ATR Value Indicator: An indicator for displaying ATR (Average True Range) value in pips or points with option for setting multiplier. Author: Hossein Nouri
New article MQL5 Wizard techniques you should know (Part 03): Shannon's Entropy has been published: Todays trader is a philomath who is almost always looking up new ideas, trying them out, choosing to modify them or discard them; an exploratory process that should cost a fair amount of diligence
New article MQL5 Cookbook: Processing of the TradeTransaction Event has been published: In this article I would like to introduce one of the ways to control trade events using the means of MQL5. I must mention that a few articles have already been dedicated to this topic. "Processing of trade...
Elite eFibo Trader: Grid with a constant step. Grid lot sizes based on Fibonacci. Author: Vladimir Karputov
New article Matrix and Vector operations in MQL5 has been published: Matrices and vectors have been introduced in MQL5 for efficient operations with mathematical solutions. The new types offer built-in methods for creating concise and understandable code that is close to mathematical notation
New article CCI indicator. Upgrade and new features has been published: In this article, I will consider the possibility of upgrading the CCI indicator. Besides, I will present a modification of the indicator. But there are also areas where the difference is quite noticeable. A small Expert Advisor
Trailing Stop that can do everything: The Expert Advisor moves the Stop Loss in the direction of the price movement using various methods. Author: Vladimir Khlystov
The Restoring Pull Indicator : The Restoring Pull Indicator was created by John Ehlers (Stocks & Commodities V.11:10 (395-400)) Author: Andrei Novichkov
1 Click To Close All Open Positions at Current Attached Chart: 1 Click "Close Button" to close all open positions at current attached chart. Author: grandaevus
2 MA Crossing : For the purpose of learning to create an EA, I will share how to make an EA that uses 2 cross moving average indicators as a trading position entry signal. Author: Yulianto Hiu
XXDPO_Candle: Indicator XXDPO represented as candles Author: Nikolay Kositsin
RSD_Histogram(Relative Strength Divergence) : Short description. RSD_Histogram uses MACD Formula. but using RSI, 13SMA on RSI, 9 EMA on RSD. it even checks equilibrium in relation to RSD and Histogram and zero line and do alerts of all kinds, next version will include Divergence of Histogram and
New article How to Create Your Own Trailing Stop is published: The basic rule of trader - let profit to grow, cut off losses! This article considers one of the basic techniques, allowing to follow this rule - moving the protective stop level (Stop loss level) after increasing position profit, i.e....
New article - User Memo is published: In this article we have prepared some hands-on tips that will help you to get accustomed in and to take full advantage of it's available features. Author: MetaQuotes Software Corp.
  Indicators: CycleIdentifier  (12   1 2)
CycleIdentifier: Indicator CycleIdentifier. Author: John Smith
Currently, mql4 can only provide time down to the nearest second for incoming ticks. We use the following function: MarketInfo(Symbol(), MODE_TIME) 1) Is there a different function that can provide millisecond time stamp or can be used to determine milliseconds for tick data coming to the platform
Newbie with some questions to ask 1) In MetaTrader 4, if an EA is used, Is there some way to set the initial "Investment Amount" so that MetaTrader 4 will use only this amount to trade for the full Trading Session ? 2) In MetaTrader 4, if an EA is used, Is there some way to set a "Flag" such that
Hi, array out of range in 'test.mq4' (15,9) (15,9: Array[0] = 1.0; ) void OnStart () { double Array[]; ArrayResize (Array, 3 ); Array[ 0 ] = 1.0 ; Array[ 1 ] = 1.0 ; Array[ 2 ] = 4.0 ; double ma = iMAOnArray(Array, 3 , 3 , 0 , MODE_SMA , 0 ); Alert ( "result = " , ma); } Why does it
Hi all, is there a function to zoom in and out the view in a .mq4 file in the Editor? Thank you
EDIT #1: I've set the max spread allowed to 0.0 in the input settings following the recommendation of @ Fernando Carreiro (thanks!). I've also added a function to close the trades I'm opening on every tick (I wasn't closing them before). Finally there was an issue in the "RunChecksBeforeOrderSend"
I have put my EA into my MT4, when I am gonna run it, it says the EA can't be load. Is there any fix for that? I am running it on a VPS, with Windows Server 2012 R2. Any help will be appreciated
I'm trying to get a shape to appear above the opening bar of each opening, which I can do on a day period, but when I switch between other periods --- I cannot figure out where the opening bar is on each opening bar because of the way bars are number in reverse --- 0,1,2,3, etc.. except for the Day
The MetaTrader 4 platform update will be released on Friday, December 10, 2021. This build provides the following changes: The minimum supported desktop client terminal version has been increased to 1340. Older terminals will not be able to connect to updated broker servers. General fixes and
Hi, I had developped a number of expert indicators, scripts etc. back in the day. I have kept a copy of them and I want to use them again. My question: are old MQL4 indicators still compatible with the current version of MT4? If so, when can I copy my old files, in order to have them work? I ask
This is the problem : I get an Array witch has collected the R/R of potentials trades . its name is "atd_RRCandid [Symbol] [SetUp] [TypeTrade]" . I have to precise that the precedent function has transmit the real data (not relative one) , like in Function( string fsSymbol, int fiSetUp, Int
Hi Coders, I have issues with this compile error,   'if' - expressions are not allowed on a global scope   see attachment added    can any one help?
Hello, I am trying to Modify or Delete the old Order and Create a new Order for a Pending order if prices moves in my favor giving me a better entry price. Initially I want to open a BuyStop 5pips above the current Ask. Then if price moves lower keep reducing the gap maintaining a 5 pip gap. If...
  Copy string to clipboard  (16   1 2)
Hello, for to copy text to clipboard, I tried the solution of ricx on It's running through without error, but in the clipboard there only is the first character of the input string. I tried to find an explanation and a solution and then replaced "CF_TEXT" with
The manual says about TranslateKey: "Returns a Unicode character by a virtual key code considering the current input language and the status of control keys." Does that mean I can print Unicode characters in my labels and buttons, for example? Apparently, not. I couldn't find a single Unicode
  Elite indicators :)  (15180   1 2 3 4 5 ... 1517 1518)
Hello, Does anyone know where I can find an indicator that takes in price values, which when reached or surpassed will cause the indicator to send a sound alert