forex forum for traders and developers

  CopyRates  (2)
O candle[0] mais atual esta' fechado ou esta' se formando
Is there any detriment to having the desktop app open with signal trading enabled if you are hosted on a VPS server? I just want to make sure I'm not affecting performance by watching in the application
  Need Help  (6)
Greetings, friends. I hope you're all doing well. I'm posting this in order to fill a void. When I try to install "MetaTrader 5" on my Windows 10 PC, I get an error notice that says "problem opening file for writing." Is there anyone who can assist me in resolving this issue? Any and all
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
Sorry if I'm blind, but I can't find a link to the "Blogs" section. If I remember correclty there was a link somewhere. I can access My Blog by typing the URL or searching, but I'm sure I must be missing a link somewhere. All I can see is "Articles" on the top bar. Where did that go? Am I going
  How to start with MQL5  (387   1 2 3 4 5 ... 38 39)
This thread discusses MQL5 code examples. There will be examples of how to get data from indicators, how to program advisors ... in general, any questions from beginner to the MQL5 language. If you are just starting to get acquainted with the MetaTrader 5 terminal, then I can recommend the...
hello, im using this code to print an array positif values, but i finding a difficulty to print a specific values, string text= "" ; for ( int i= 0 ;i<count;i++) { if (ZigzagBuffer[i]!= PLOT_EMPTY_VALUE && ZigzagBuffer[i]!= 0.0 ) //text=text+"\n"+IntegerToString(i)+"
Hi was using the Symbolinfo class libray ask and bid function. I puzzle about why it gives out different result compare to the symbolinfodouble function. Eg. CSymbolInfo sinfo; sinfo.Name("EURUSD"); bool isDataSynch = sinfo.IsSynchronized(); if (isDataSynch) { string sym = "EURUSD";
Please drop links to the best Ea that can pass prop firm challenges and also stay profitable after you are funded
Hi I have question about expert, how I could add option buy or sell or buy and sell. I saw this option on others experts but I would like give this posibbility to my expert. I mean standard expert where I can build in mt5 editor if you know what I mean for example I build expert with one indicator
Good Day Everyone! I am a freetime and hobby programer with not so much experience in MQL5 but I do my best and only ask for help as a last option. Since many days I am trying to solve a problem until I finally have decided to post it in the forum. I will appreciate strongly if you can hep me with
I would like to create a website with balance and percentage information, just like myfxbook does
  MT5 Custom Commission Settings  (21   1 2 3)
I'm not sure what to put for MT5 backtest custom commission settings... specifically under 'commission', 'mode' and 'type'. My broker is alpari and their commission is "0.0016% in USD per Lot". Can anyone help
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
I bought two EAs. <..> Engineer EA, I bought his garbage one months ago, it remain 9 activations. Now, It gone without any reason. Can I ask refund this EA? <..> I got this since 2016, It gone with 4 activations left
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
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
  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...
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
  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
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;
  **** Signal  (6)
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
  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
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
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
I'm working on dialing in EA settings for a MT5 EA and have been utilizing the agents available from MQL. There used to be anywhere from 200 to 500 agents used at any given time as long as I had enough money in my account... However, for the past couple of weeks it starts there and then within an
Need a Session Indicator for MT5 , Should have the 3 sessions customizable
Hi, I had a indicator that was working that no longer works. I ran on metaeditor to see for errors, and I got the following error. 'Period_W1'-cannot convert enum    [on line 22] Any suggestions on a fix? Anyone?
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
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 Mathematics in trading: Sharpe and Sortino ratios has been published: Return on investments is the most obvious indicator which investors and novice traders use for the analysis of trading efficiency. Professional traders use more reliable tools to analyze strategies, such as Sharpe and
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.
The Problem, When coding in MQL4 with setting "Auto list names" enabled MQL4 will reverse the caps lock settings.  For Example, If normally characters are typed in lowercase when caps lock is off and uppercase when caps lock is on it will be reversed to typing uppercase characters when capslock is...
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
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"
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
So i downloaded MT5 3 days ago just fine but when i tried to download MT4 rn it says that its not awailable in my region Does anybody have some information about a potential ban in germany for MT4/5? I checked on another phone and there it seems to be the same case. Thanks for the help
Hi all, is there a function to zoom in and out the view in a .mq4 file in the Editor? Thank you
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
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
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
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