forex forum for traders and developers

hi i try to write a mql code to write macd of symbol for three timeframes in excel with filewrite command. but macd numbers in result excel file is only one-column and all macd data stored in rows. [ size of cells are 1000 x 1 for three time frames] but i want to stored each time frame in a column
  Market product  (1)
I am trying to download [Market product] on to my MetaTrader5, however, after I enter my login and password, the tab closes without downloading [Market product] or logging in. Can anyone help me? Market product name redacted by moderator
Hi all, After seeing warnings in the logs about an outdated version of Wine, I went and downloaded the new OSX installer from MT5 website again and did a fresh install. All ok, except a problem is that window resizing / changing is very slow. Even with a default chart, no indicators loaded, swapping
Good morning, How can I open 2 trading accounts with 2 different brokers on MT5 (using a MAC) at the same time? I want to open MT5 twice, separately for each trading account on a MAC. Does anybody know how to do this? I'd appreciate your input. Thank you
By purchasing a EA, you acquire the right to use it within the scope defined by the terms and agreement which stipulates that you are allowed to install it on 5 different computers (5 activations). - Does the EA continue to work after an author remove it? - What happen to the remaining unused...
I want to formally complain about an indicator that was purchased and removed by the Vendor. I have several activations remaining but the indicator was pulled. What he did was remove all reviews with criticisms so he can continue to sell. When I tried to add a review for my purchase it was not
It happened to me for the 3rd time! An EA was deleted by It can not be installed . Even though several installations are left () Why are you doing this to me multiple times (within 2 years). I am loosing my money and opportunities. When I try to install i get this
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
  Develop  (26   1 2 3)
Wondering what MQL5 interpretation of "Develop" / "Developer" is ? A search on Google has it as ... (dɪˈvɛləp) / verb. to come or bring to a later or more advanced or expanded stage; grow or cause to grow gradually. Are the freelancers here Coders or Developers ? Coding involves implementing the
  MQL5 password -> MT4 issue  (21   1 2 3)
Hey! So I'm connecting to mql5 community through my gmail account. To connect my mql5 acc to my mt4 I need a password, which I don't have (auto login through gmail). My Gmails password doesn't work. Reseting my password just gives me a mail with a link to an error : "Invalid activation code. Please
MetaQuotes has launched new information channels on Facebook, (Twitter), and Telegram. These channels provide daily publications of relevant technical materials from the Articles and CodeBase sections. They are designed to promptly update developers on algorithmic
I need help in mql5 2 dimensional arrays. what i want to achieve, kindly give me hint how to solve this task ? Double PointsToWait = 500; Double MyArray [] []; MyArray [0] [0] = Here we will save the ticket number of the previous open trade. MyArray [0] [1] = Here we will save the Open Price of
  Forecast and levels for CAD  (190   1 2 3 4 5 ... 18 19)
USD/CAD April-June 2017 Forecast: ranging inside kumo waiting for direction of the strong trend to be started W1 price is located inside Ichimoku cloud for the ranging market condition within the following support/resistance levels: 1.3598 resistance level located near and above Senkou Span line...
  Press review  (7240   1 2 3 4 5 ... 723 724)
This link provided to me by RaptorUK, give me the idea that it would be interesting to have a place here on the site to share such links. So I opened a new topic, it will be moderated to follow the rules as usual, but also about the content. Everyone can post but have to provide a quote and the...
Hello guys, i would like to ask is there anyway to show your Ask price on the chart. I don't want it to show only the Ask line like everybody already know, I want it to show as historical candle by candle like normal Bid price on the mt4/5 (or maybe cTrader?) chart, but instead of Bid it's Ask
SMC / ICT Concepts, Retail Trading (SnR, Trend Trading, CSPs), Fundamental Trading (News Trading), Signal Service follower, Still learning to trade
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
For instance, if you have $10,000.00 in your account, how much are you comfortable losing in a day? Is a 3% risk, which amounts to $300.00 per day, too risky
Hi guys, I don't have a successful strategy yet but always wondered, can not the retail brokers monitor your enteries and steal your successful strategy? if yes, how can you protect yourself and they can see all your trades? Any idea please
  What is your favorite strategy ?  (86   1 2 3 4 5 ... 8 9)
MartingaleGridHedgingScalpingNewsTrendOther ( write in comments )
What is the reason
I was wondering if anyone out there could make suggestions for a strategy playbook that I could trade with. Currently, I trade using supply and demand techniques. I find a probable zone, I like there to be a gap in the impulsive move and a break of structure, I only trade with the trend and so if
  Brainwashing System / Asctrend System  (258   1 2 3 4 5 ... 25 26)
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
  ICT SmartMoney:)  (16   1 2)
Let's think how we can automate it. If there is someone who's using this strategy, could you show key-points of it? Let's check together if the strategy is working
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
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...
Discussion about Systems that Work in Backtest but Fail in Real Account: Why? Hello everyone, I wanted to start a discussion about systems that seem to work wonderfully in backtests but do not perform the same in a real account. I'm talking about situations where there is no overfitting involved
Has anyone actually used an EA for passing their prop firm challenge and maintaining their prop firm accounts over a long period of time? If so, do you have proof? Trade history on myfxbook, for example? Thanks
Which do you prefer Currency pairs or synthetic indicies Kindly explain why you prefer your choice
Hi, interested in hearing your opinions on this... I day trade NASDAQ, and since I work on small timeframes, I need to be able to make decisions quickly. I sometimes look at correlating instruments as indicators to inform my trade decisions, examples of what I will look at: -VWAPs -Pivot Points -MFI
  Forecast and levels for Dax Index  (74   1 2 3 4 5 ... 7 8)
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...
  Forecast and levels for CAC 40  (30   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...
On which MT5 platform can I find the S&P 500, Nasdaq, and Dow Jones index? It's not the type of CFD, it's the real S&P 500, Nasdaq, and Dow Jones indices on the exchange
'sym' - parameter conversion not allowed. How to correct this error
Hi, I have recently started learning MQL5 language and all the tutorials are only focused on Forex market. I have been trading Futures contracts(manually) with <Deleted>. So, my question is If i keep learning Mql5 language, will I be able to develop EA for Futures market(with <Deleted>)? Thank you
  Welcome to the new section!  (22   1 2 3)
Inspired by comments and reviews received from members, we have added a new forum section called "Trading stocks, futures, options and other exchange instruments". Share your ideas and trading experience with the website visitors. Reach out to MetaTrader 5 developers if you have...
I have recently started using MT5 and am a US resident but I am having difficulty finding a broker that supports MT5. Is there a way around this? I have heard some people using Tradingview and pine connector but looking for the best way to setup MT5 with a US broker. If anyone can help it would be
I have been trading price action for over 14 years and in this YouTube course I am sharing my most important tips and provide a step-by-step approach to mastering any price chart. ►Timestamps: 0:00 Start 2:28 Chapter 1: Candlesticks 15:37 Chapter 2: Chart Patterns 32:51 Chapter 3: Trend Analysis
  Forecast and levels for S&P 500  (474   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...
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.25 06:50 Hang Seng Index Q1 2017 Forecast (based on the article) "Underlying sentiment surrounding Hong Kong stocks has remained negative with underlying concerns surrounding...
We have Symbols like the S&P500 opening between 09:30 and 16:30, Mon-Fri. -> The Bar Rythm stays constant, because the bar rythm restarts every weekday at 9:30. We have Symbols like the EURUSD (usually) trading non-stop from monday morning till Friday night. -> The
Hello all, I have a few questions for anyone with knowledge and/or experience trading futures. Any input would be greatly appreciated. From experience scalping in live market conditions, how does slippage and spread compare to trading CFD in markets such as FX? Is there a notable difference, and
  Forecast and levels for Nikkei  (43   1 2 3 4 5)
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...
I want to demo Options board on MT5 but cant find ANY one who offers it? Where can i try the MT5 options board? Who is currently demo/ real trading with MT5 options platform? its ridiculous i cant find ANY information on how to actually do it/ who offers it. Its almost as if it doesnt exist/ noone
Hi all! I need your help. I need load data from csv to EA MT5. This is signal for EA decide BUY/SELL. This is sample csv data: time trade_Symbol trade_Type rule_Choose kTP kSL ATR 1/4/2023 0:25 EURUSD Sell ASK25 < ASK02 2 1.5 0.000299294 Please help, or give more sugessttion. Thank you so much
Hello everyone. l realize many people buying the same product from market and apply it with same settings to pass challenges of the same firm. How could this be possible? isn't it close to what they call copy trading which is not allowed in prop firms
I still have 4 activations left for the EAs I bought 4 weeks ago but the author got banned and his EA's are removed. According to the rules, even if the EA's are removed from the market for rent or sale, the purchased EA's are still in the account of the buyer and can still be activated until the
how to 'track' error CHistoryPositionInfo::HistoryPositionCheck > Error: the selected position is still open. Just don't know how to figure out where this is occurring and how to fix the problem. Should I be 'closing' something, somewhere Any pointers appreciated
int num_cycles = 4 ; int index_cycles = 0 ; double close_price = 0.0 ; // these are just some simple calculations to make it clear double sl_price = 0.0 ; // that after fulfilling the condition for expert removal double tp_price = 0.0 ; // the
  MQL-Obfuscator  (7)
I created an obfuscator for MQL (encryption of source code) for my own purposes and would like to know, if there is any kind of a general/common interest. The obfuscator works so far without problems, but surely has some restrictions which would become visible with other code than mine. I could
hello can someone assist me in telling me how to do a running(cummulative) sum that refreshes after a certain time period ,,,, for example a daily running sum or monthly running sum
Hello, I want to ask the experienced traders and MT5 users, about how accurate is the strategy tester based on real ticks in MT5 in comparance with live trading? Best Regards, Dmitry
long positionType( string symbol = _Symbol ); Error: '_Symbol' - constant expected. Can someone explain why I can't assigning it as a default value
I am trying to use FileIsExist to search the common directory of MQL, which is, C:\Users\Jim\AppData\Roaming\MetaQuotes\Terminal\9B101088254A9C260A9790D5079A7B11\MQL5\Files. In the code below, it always defaults to the "else" statement even if the file does not yet exist. if the file does not exist
Hello, I had a theory on a winning strategy so I went ahead and created an EA to implement it. This is my first time doing backtesting or using the Strategy Tester. Was hoping to get some feedback if these numbers are considered good and what could use improvement to be viable. Here is the
Let's look at the results of the tests on one and a few characters. The tests will be conducted in All ticks mode. You can use your own multisymbol EA schemes to reproduce the problem and share your results. Let us denote the problem. For example, if you test one symbol, the test time takes 1
I'm developing trading program in MT5, when I tested the strategy, whatever strategy I developed, it always execute an other order after taking profit or stop loss. Anyone know why and how to stop it, thanks very much for your help
It means i have a ea and in that EA Trailing stop is mandatory for profitability but my brokers Spread are not allowing the trail to workout! I want to add Live Spread into Trailing stop how can i do that
in this simple snippet I get the following compilation error: 'ticket' - undeclared identifier An idea how to resolve? Improperly formatted code removed by moderator
Hello Are you okay? I am looking for ideas for developing indicators for the dummies . These codes will be put in CodeBase and therefore free. These codes will be very simple and therefore a very good support to start learning because that's the goal. The beginner, or the confirmed can very easily
  Need help indentifying indicator  (2697   1 2 3 4 5 ... 269 270)
sisi: Hi,Mr. Guru could you please help me to constantly refresh an ea after each tick movement. I have tried everything, But I just can't make it refresh constantly. What lines of code must I insert to keep an ea and indicator refresh after every tick? Tnx I hope you could attach your EA so...
Is there any indicator that records the first movement of the candle? Example: After the opening of the 5 min candle, if the movement is upward, this information will be recorded and in the same way, if the movement is downward. I have an operation based on this first movement, I have to be
Hey guys, there is a bug in this tool I created which is causing the file it creates to be overwritten, without an apparent reason. The utility is supposed to grab the new data from a site, then it updates the existing historical file it creates, so you have continuous historical data. For some
Greetings, MT5 enthusiasts. First forum post, so please be gentle with me. 🙂 In , there's a list of situations when an indicator gets loaded or unloaded. I suggest adding the case when a custom indicator is updated from the Market. Here's the scenario
Hi! I'm facing a problem here that is getting me crazy! I have an INDICATOR that works on the last close price (like Close[1]), and everything is functioning perfectly, either with TESTER or using real-time charts. I have no problem at all changing Timeframe and so forth. The problem: if I close the
Can you share the MACD with 2 moving averages cross for meta trader 5
Hi, i have the following system: An indicator working on M15 period acting only when a new bar is created, using a system similar to the one below bool isNewBar() { static datetime PeriodLastBarOpenTime; datetime CurrentBarOpenTime = iTime ( Symbol (), Period (), 0 ); if
  Help mql coding  (1)
Hi I been trying to make horizontal line indicator that draw in spesific candle in the olhc but the line need to be shorter when i make it all the way longer so my chart full of horizontal line
I cannot change the color of the ZigZag indicator
in Indicator Data window,the numbers (after dot) show bunch of zeroes: i need to be shown there only 2 decimals after dot. used this function , but still doesnt help, there are still ZEROes shown... double RoundNumber(double number, int digits) { number = MathRound(number * MathPow(10, digits));
Who has ever this problem? Indicator buffer is over value at sometime. Getting strange values even though we didn't set that value. I don't know where it gets the value from
"[MT5 bug]" removed from the title by moderator Download indicator file and include file. Then try run on your MT5. Then remove it from chart. You will see log still run in Expert tab even close chart. Way to stop process is only close terminal. I want to tell this to the Metaquotes dev for solve
"[MQL5 bug]" removed from topic title by moderator. Indicator call function like iMA(), iRSI(), iCustom() .... etc. It's strict must call only in OnInit() ? If call in other event like OnCalculate(), Buffer value will be distorted. (From code the red line buffer should be equal as moving average
I wrote an object label for my indicator signals. It looks great! BUT when my friend attaches it on their PC, the labels get mumbled up. <see pictures attached> Is there any explanation for this please. If so, how can I solve it? Thank you
BinanceQuotesDownloader : Display Binance quotes in real-time mode Author: Yuriy Lyachshenko
Check out the new article: Developing a Replay System — Market simulation (Part 17): Ticks and more ticks (I) . Here we will see how to implement something really interesting, but at the same time very difficult due to certain points that can be very confusing. The worst thing that can happen is
wd.Range_DailyAvg : This indicator helps user estimate the potential price movement for the current day, based on 20 days historical data and market trends. Author: Widy Prasetyo
Waddah Attar Explosion: The indicator shows the moments of the market acceleration. Besides, it indicates appropriate time for buying, selling and market exit. Author: Nikolay Kositsin
Check out the new article: Developing a Replay System — Market simulation (Part 16): New class system . We need to organize our work better. The code is growing, and if this is not done now, then it will become impossible. Let's divide and conquer. MQL5 allows the use of classes which will assist in
  Experts: AK-47 Scalper EA  (27   1 2 3)
AK-47 Scalper EA : The AK-47 Scalper EA is fully automated. It employs a strategy of continuously entering Sell Stop orders and will modify them when the price moves against the pending orders. Author: Nguyen Quoc Hung
Export trade history to CSV v2: This script will export the trade history from MT5 selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software. Current version 1.0 does not add the takeprofit and stoploss. Any advice to improve this is welcomed....
Check out the new article: Neural networks made easy (Part 52): Research with optimism and distribution correction . As the model is trained based on the experience reproduction buffer, the current Actor policy moves further and further away from the stored examples, which reduces the efficiency of
Position Size Calculator : MT5 Indicator for Position Size Calculation Author: ErangaG
Envelopes beginner tutorial By William210 : Envelopes beginner tutorial to learn how to code in MQL5 Author: Gerard Willia G J B M Dinh Sy
Check out the new article: The case for using a Composite Data Set this Q4 in weighing SPDR XLY's next performance . We consider XLY, SPDR’s consumer discretionary spending ETF and see if with tools in MetaTrader’s IDE we can sift through an array of data sets in selecting what could work with a
Horizontal Grid Controller : Horizontal Grid Controller with KeyEvents Author: Rajesh Kumar Nait
RSI Peak & Bottom: It showed the peak/bottom at rsi14 Author: Ahmad Yahya
New article How to use ONNX models in MQL5 has been published: ONNX (Open Neural Network Exchange) is an open format built to represent machine learning models. In this article, we will consider how to create a CNN-LSTM model to forecast financial timeseries. We will also show how to use the created
Ichimoku: Ichimoku EA trades with "Ichimoku " and "Parabolic" indicators works with all time frames major forex pairs. Author: Aharon Tzadik
#property icon "MyIcon.ico" What is the maximum .ico file size allowed?
I use multiple MT4 platforms. On them, I run my own EAs and indicators that are continuously evolving. To avoid having to update all platforms every time I make a change to the software, I use the Windows "directory symbolic link" command to link the directory where I code as the source with the
  MT4 Freeze  (8)
Hello, I connected my *** Fx demo account and since my mt4 account is like this Apparently it comes from the connection but mt5 works very well and before connecting the demo account it was perfect. Does anyone have any solutions
When you try to update a product purchased from you, if you enter the login and password correctly, the market window in the terminal and in the upper right corner of the MQL 5 window are empty, the icons are inactive. Accordingly, I can’t go to purchases and make an update. The number of
Ask for help.. Why is there a statement using M1, even though the period above has been set to M5? Thank You
OrdersHistoryTotal() and OrderSelect() doesn't work for strategy tester . Saving to CSV and Reading from CSV doesn't work for strategy tester. Is what I'm trying to do possible for MT4? Any guidance is appreciated
i have a program statement that places an OP_SELLLIMIT. It is being accepted as an order with no errors, but when the price target is hit, the order just disappears from the screen. Never does show up as a 'sell' order. tia, Keith Sell_ticket=OrderSend(Symbol(),OP_SELLLIMIT,Lots,SellAt,3,0,0,""...
Hello, I have an issue about my expert. When i test it with backtester in mq4, all is right. At a certain point, the robot is closed, but not by my robot, but by the tester. I can't find the problem, knowing that everything works fine except for a specific date and time. What could the problem be
The MetaTrader 4 platform update will be released on Friday, November 10, 2023. Terminal: Improved Market security system. Now, in order to run the product, the user must be authorized in the platform with the same MQL5 account via which the product was purchased. The account must be specified under
Someone know i can disable autoupdate on mt4
Hello, Today i transferd my VPS form to a diffrent mt4 account but since then every time i try to start it it wont start. And it said Stopped, Freezes up. Does anyone maybe have an fix for this problem
This might be out of place, but I don't know where to post this though. I am looking for the creator of this EA. All I know it is called "<Deleted>" and made by "<Deleted>" on the EA description. Any help will be appreciated. <ex4 file deleted>
I'm trying to make an indicator that draws arrows on certain bars at their close prices. What I don't understand is the array buffers in mql4 are only to do with price instead of price and datetime. My logic is to find the bars which satisfies the requirements then store their datetime and close
  GSelector  (1)
hai... friend... i am new here.. i have buy this ea from russia pls check it weather its good or not... i has amazing result... they said
  Off-topic MT4/mql4 questions.  (418   1 2 3 4 5 ... 41 42)
I apologise for digressing from the main topic of the forum. I want to write a program, but I don't know where to start. I need to read some data from a webpage and based on that data perform certain actions on that page, simply put I need a bot. Please advise who knows, in what programming language