forex forum for traders and developers

I am just starting to test my EA on VPS but I have one concern, I synchronized everything do I have to keep the Auto Trading button on and do I have to keep my device on too or can I just use it from phone while the VPS runs everything
Hi every one, I need help on my Mac for this error, on Windows it'w working perfect, but On Mac I think I'm doing something wrong, and help or link will be more then welcome, Best Reguards, ZeroCafeine
Hi everyone, Does MQL5 has a functionality to send messages via Webhooks as in TradingView? This could allow any type of MQL5 information to be send to many different outlets (e.g. Discord). I have found several pay apps, but this strikes me as a basic functionality, plus I would like to see the
Starting from September 1, 2023, the maximum number of activations authors can set for their Market products will be changed. Previously, this number was not limited, now the maximum number will be 20 activations. This limit will apply to all existing products and purchases. For example, if you
Hi, I'm trying to create a "trading desktop" using 3 monitors/screens with lots of unanchored charts (I hope this is the name; I use MT5 in Portuguese). When configured, the positions are as follows: So the terminal with 2 anchored charts lies in the middle monitor/screen and the unanchored charts
  How to contact MQL5 team  (49   1 2 3 4 5)
Hi, I try to post a long message through your chat but we can post long message, we are limited at 30 words... what is the email address to send to you a long message? Some MT4 sellers offer bonus atfer purchase of their EA in exchange of positive reviews and it's not acceptable
The major update has brought two important changes significantly enhancing the MetaTrader 5 experience. The new section of advanced trading statistics can help improve results, while the built-in payment service can simplify account top-up. In addition, we have laid the foundation for additional
  MetaTrader 5 API for Python  (11   1 2)
Hi! I'm trying to install MetaTrader5 Library for Python using pip, but there was errors: ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none) ERROR: No matching distribution found for MetaTrader5 Anyone else with this issue? Thank you
Good day. I got these 2 messages a few minutes ago. are they safe or they are dangerous
I have MT5 account with FxPro and currently staying in Spain. I asked question: "How to change time zone in MT5?" and got the following answer: "Unfortunately this is not possible, time zone is set as default GMT+3" Is it true? And MT5 not allowed to change time zone? Please clarify
Dear trades, I hope you are well This will sound very simple and basic but the thing is that I'm very confused. Lets start. I use Roboforex and live in the UK. At the moment its 10:00AM in the UK and on my VPS marks 12:00PM. Now, my question, is my offset -2 or +2 ? I thought my offset was -2 as the
For traders MT5 user interface If you can't view the calendar tab, probably it's a choice a your broker : This tab may be missing if the economic calendar is disabled on a trade server. Video : How to delete Calendar Events from charts ? Video : How to disable Calendar Events from charts ? Video
A new version of the MetaTrader 5 mobile platform has become available in the App Store on March 6, 2023. The update provides a plethora of new features and improvements: Added ability to place stop and stop-limit orders from the chart. Only limit orders were available in earlier versions. Select
Hi, I am looking to get the specific ticket position of orders when they hit a take profit or a stop loss. I wrote the following code to store the tickets whenever a new position is opened: if (trade.Buy(lot_min, _Symbol , ask, stop_loss, take_profit)) { Print ( "TICKET OPEN: " , PositionGetTicket (
Hi all Does anyone know a fix to get MT5 to work on Mac OS ±Monterey ? Thanks Clinton
  What is your favorite strategy ?  (72   1 2 3 4 5 ... 7 8)
MartingaleGridHedgingScalpingNewsTrendOther ( write in comments )
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...
Im looking for more alternatives to no SL strategys. Here a few examples of no SL strategys / trade management: grid, martingale, zone recovery or hedging. Im looking for more ideas or examples, smarter aporoaches wich have less risk. I appreciate any idea, the goal is to comapre them all and See
Since there are restrictions on talking about brokers, I can't share much, but I am looking for something that breaks even. Basically I earn by volumes of trades placed. For every standard lot, I earn $6 for FX pairs / $7 for metals. Indices and others are lower so it'll not be worth my time. I have
Hello 😊 Do you know of methods like the triple screen but with even more timeframes like 4 or 6 timeframes to optimize inputs for algorithmic trading for example? For those who don't know, let me give you the example of Alexandre Elder's triptych. Thanks in advance for your insights 😊
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
Which strategy is best to close profitable positions
Do you think there is any trading system suitable in all circumstance
I'm contemplating a strategy that involves using multiple signals for trade entry, possibly incorporating up to seven different signals across various currency pairs. The rationale behind considering multiple pairs is to enable the use of a Global Take Profit approach. This means that if the
What strategies and techniques do you recommend for increasing the stability and robustness of automated trading robots in financial markets? Can you share your experiences and insights? In automated trading, maintaining stability and robustness is crucial for long-term success. It would be great
  Trading System by Xard777  (3897   1 2 3 4 5 ... 389 390)
Here is a suggestion for a possible trading system... System one is MT4-Xard777.rar and System two is XARD-BOX.rar Enjoy... All the best Xard777
  Brainwashing System / Asctrend System  (256   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
Hello Scalpers, I am wondering if scalping can be profitably due to slippage using one of the major CFD brokers out there scalping indices such as the SP500 or the NASDAQ on a 5 seconds timeframe? Any experiences? Also, if one is using BuyStop orders do they really have a chance to be executed at
  Programming tutorials  (174   1 2 3 4 5 ... 17 18)
In our technologically advanced world, programming and computer science have become transformative disciplines that drive innovation and shape society. Programming, as an art form, combines creativity, logic, and problem solving to create elegant and efficient solutions. Fusion of science and
I just started this thread as a continuation of the talking made on this topic (we can read it). Or make it shorter: it was some discussion about forecasting/predicting of the next candle or direction of the movement or market condition evaluation. And it was around standard indiocators in
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...
  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...
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
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
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
  Forecast and levels for Dax Index  (73   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...
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 CAC 40  (29   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...
Hi, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
Hello there I'm encountering an issue with the AppDialog standard library in MQL5 and would appreciate some assistance in resolving it. The problem I'm facing is related to the unexpected change in the panel name during program initialization, specifically within the CWndContainer module. Here's a
Hi I've been looking at this indicator and while all the other components seem to work as expected, the .ChinkouSpan seems incorrect. While the tooltip and display look 'sensible' the value returned from the .ChinkouSpan(26) function seems to be stuck at 1.79+308? Even with this simple version from
Hi, could someone help me? I'm trying to write a code to modify a position with up and down buttons. The button are correctly working but the attempt to modify the position ends in unknown retcode 0. Here's the code for ( int i = PositionsTotal () - 1 ; i >= 0 ; i--) // loop all Open Positions { if
The MetaTrader 5 Python package offers the order_send() function, analogous to MQL5's OrderSend() . This is a synchronous function; the caller has to wait for the MT5 server response before proceeding. When a trading strategy necessitates multiple orders at varying prices or symbols, using the
Hi, I've this error 2023.09.24 08:02:56.564 2021.07.19 10:05:54 take profit triggered #39 sell 0.01 GBPUSD 1.37469 sl: 1.37339 tp: 1.37269 [#40 buy 0.01 GBPUSD at 1.37269] 2023.09.24 08:02:56.564 2021.07.19 10:05:54 deal #27 buy 0.01 GBPUSD at 1.37269 done (based on order #40) 2023.09.24
HI all, is there someone who can help me to developp an EA that prevent to stop trading for the day whenever I reach my daily loss max or got 2 SL. MT4 blocks me for any new trade and can only trade the next open market. MANY thanks in advance
Some of my Windows VPS range from 98% to 100%. My Mac shows 0% History Quality. Ouch... Someone let me know how to improve history quality. Thanks
Hi I have this code to close position when reach a specific profit(0.50) e loss(-10) buy when i run strategy tester i get profits like 2,3,4 and losses like -23,-12 Can someone help me, double TargetLoss=- 10 ; double TargetProfit= 0.50 ; double profit= AccountInfoDouble ( ACCOUNT_EQUITY )-
Hello, I would like to ask for help with my Expert Advisor that runs only first time after compilation. Every other attempt to run EA fails with OnInit with runtime error code 5035 . For example: I make no change in my Expert Advisor mql5 file I compile EA mql5 file I run the Single test in Strategy
Hi, When I make more MT5 EA backtest with enabled ZigZag indicator filter with same settings on my EA panel, sometimes I get different backtest result. If I made a backtest with same EA settings on same data I must get same backtest result no matter how many times I do it. This is a serious problem
This post is about a some weirdly related (I think) bugs that happen when forward testing optimized results. Please read through it all. The first bug is that the displayed results from the top section of backtesting passes in forward tab are wrong. (Highest scoring passes in the backtest category
Hi Everyone, I'm facing a problem with my MT5. When I click on button to start an optimisation using a hedge demo account it simply doesn't start. My memory goes to 100%, and my HD working until get full, but the optimisation not start after 1 hour. I'm trying do this optimisation in a dual xeon
  error  (5)
hi there how can i fix this problem? i just write this code and mql5 tell me: '&&' - operand expected EMA1.mq5 55 86 if (High1>Open1>Close1>Low1 && High1-Open1<= 10 * Point && Close1-Low1<= 10 * Point && High1>High2 && Close1>Close2) { } Improperly formatted code edited by moderator
I have looked everywhere but I cannot find an answer to this. When I am testing a bot and looking at the optimization results , in the result column the numbers are different colors. What does that mean/indicate
Hello, I developed an EA (account Netting ) which uses pending orders SellLimi t and BuyLimit instead of MT5 native TakeProfit . The reason for this was to avoid the slippage that occurs when using MT5's TP and SP, since they close market positions and not with book orders. EA Places Orders
I need help in this case: ERROR: '-' - open parenthesis expected 73: 43 { // Calcular médias móveis int limit = MathMin (rates_total, ( Bars - prev_calculated)); if (limit <= 0 ) return ( 0 ); for ( int i = prev_calculated; i < limit; i++) { EMA9Buffer[i] = iMA ( _Symbol , 0
Dear MQL5 Experts, I am encountering a challenge in the development of an AUTO-FIBO indicator and seek your expertise and guidance. Currently, my indicator operates by specifying a "BarsBack" parameter, and it subsequently draws a Fibonacci retracement for the specified bar to the current bar. My
Hi, I am building an indicator to display several visual objects on the graph. I have a problem getting the high and low defined by ZigZag from a higher timeframe. My indicator will not use a buffer to save data, I want it to plot objects on the chart and will do the object plotting on
This is RSI indicator in MT5 and I need to write my own one. only change the Symbol. But I can't find where to change from current symbol to another Symbol help me please #property indicator_separate_window #property indicator_minimum 0 #property indicator_maximum 100 #property indicator_level1 30
Hi all, I have a problem with compiling MQL project files(*.mqproj) from the command line. I generated a basic a custom indicator using the MetaEditor wizard, and named "macd" (without any modifications). When compiling it in the MetaEditor IDE itself, it compiles without any errors. However, when I
  Everything about RSI  (1458   1 2 3 4 5 ... 145 146)
RSI indicator We are continuing discussion about the indicators. We have the following thread: Parabolic SAR indicator Momentum indicator Stochastic Oscillator Divergence Indicator Now we are talking about RSI. "Technical Analysis from A to Z": Overview The Relative Strength Index ("RSI") is a
//+------------------------------------------------------------------+ //| Setka.mq5 | //| Copyright Privalov S.V. | //| |
Dear Fellows I have created a custom Indicator iVSA, which uses CScanVSA.method to get DataBuffer values. I need to lookback indicator buffers e.g. PreliminarySupply buffer to confirm BuyingClimax in CScanVSA. To achieve this I am using following Method to pass in BufferArrays to the Class. void
Hello forum members, I'm seeking help regarding text alignment displayed on a candlestick chart. I've encountered an issue where the labels are overlapping with the right candlestick and not displaying properly (please refer to the attached image). Upon reviewing my code, I'm struggling to identify
Hi all, I am a beginner and I'm trying to port in MQL5 an indicator I know in Pinescript and MQL4, the G-Channel made by god coder Alex Grover. I think I've done all I had to, but the indicators doesn't work as it should... Here is the code
I am new to MQL5 coding, but found a function called DRAW_FILLING that can be used to fill between lines of indicators (e.g. Bollinger, two emas, etc.). However, the outputs do not look nice when you have two buffers overlapping (e.g. when you want to see two types of Bollinger) because the filling
Hi everyone, Can I draw a rectangle on a Daily time frame and see the same drawing on H4 ? Or do I have to draw 2 different rectangles each on a time frame ? somethink like on this photo : Is there a native solution on the Metatrader software, or do I have to use a paid indicator? Best Reguards
Hi everyone, I am looking in vain for the code of this MESA projective indicator to be placed on the price that draws in the future the length of the cycle; Has anybody worked on that or know where to find it? I am looking for this indicator able to: take advantage of the adaptative cycles from J
I am new on MT5. There is more than 2500 species on MT5. I make an indicator (and EA) including an "Alert" . Is it possible to scan all stocks ( more than 2500) using the indicator to find the one I wanted
Hi I created an indicator that, when executed, draws a Fibonacci tool on the chart. With the help of a button, the display of Fibonacci lines is turned on and off. The problem is that I get the following error at the beginning of the program execution. But by changing the time frame, the indicator
AO - Awesome Oscillator - without iAO() code for beginners by William210 : AO - Awesome Oscillator - without iAO() beginner tutorial to learn how to code in MQL5 Author: Gerard Willia G J B M Dinh Sy
Marubozu : A Marubozo is a long-bodied candlestick with no shadow, from the Japanese word meaning "close-cropped". Candlestick charts look at the opening and closing price on a single day and are used by technical traders. Author: Rajesh Kumar Nait
Super Scalper EMAs : Low risk, max profit, winning strategy EA. Based upon Super Scalper EMAs indicator Author: Alessio Fabiani
AMA - Adaptive Moving Average - code for beginners by William210 : AMA - Adaptive Moving Average - beginner tutorial to learn how to code in MQL5 Author: Gerard Willia G J B M Dinh Sy
New article Dealing with Time (Part 1): The Basics has been published: Functions and code snippets that simplify and clarify the handling of time, broker offset, and the changes to summer or winter time. Accurate timing may be a crucial element in trading. At the current hour, is the stock exchange
Ichimoku code for beginners by William210 : Ichimoku beginner tutorial to learn how to code in MQL5 Author: Gerard Willia G J B M Dinh Sy
Alligator code for beginners by William210 : Alligator beginner tutorial to learn how to code in MQL5 Author: Gerard Willia G J B M Dinh Sy
Simple Macd memory : Trade executed on Tick Macd memory. 3 type of execute trade Ninja, Scalper, and Swing. Highest Sell and Lowest Buy will not close. Author: Mohd Najib Jailani
New article MQL5: Create Your Own Indicator is published: By describing creation of True Strength Index, the author shows how to write indicators in MQL5. Author: MetaQuotes
  Experts: Forex Calculators  (27   1 2 3)
Forex Calculators: Margin Calculator, Point Value Calculator, Profit Calculator and Swap Calculator. Author: amrali
RL algorithms: Libraries based on the article "Random decision forest in reinforcement learning" Author: Maxim Dmitrievsky
Gaussian Bands: StDev Bands with gaussian smoothing Author: zzuegg
New article Migrating from MQL4 to MQL5 is published: Many developers have accumulated a lot of indicators and trading strategies written in MQL4. To use them in Metatrader 5, they should be converted to MQL5. It's not so easy to rewrite all programs in MQL5. It would be much easier to convert them...
  Indicators: ADXm  (2)
ADXm: ADXm - version for MetaTrader 5 Author: Mladen Rakic
Reverse No Repair: The Reverse No Repair indicator can show bullish arrows and bearish arrows. Author: Qianru Gao
  Dialog  (28   1 2 3)
Does anyone know how to establish a connection between input and the output? For example, user types in the input box "hello" and on the output the hello appears along with the response from the program like this. User: Hello! Program: Hi
Hello, What is the function equivalent to OrderCalcMargin from mql5, for mql4? Thank you
  MT4 End Of Life  (46   1 2 3 4 5)
Hi all I have heard reports that MT4 is soon to become 'End of Life' with no active support or updates. Can anyone explain what the future holds for MT4 and the vast array of millions of ex4 Indicators, Scripts and EA's? Any plans to provide a port or emulator for these to help transition over to
Hello, I am new to alerts but I need an alert that lets me know my Emma’s cross. I am trying the 13, 21, 55 Ema 8 strategy. Strategy: When 55 is on top/bottom enter trade and hold until 55 is on bottom/top Is there a way to make an alert to alert me when the 55 is above or below all 3 of the other
Hi there I want to read "only long, only short, long & short" from Expert Advisors Properties\common tab and comment on the chart, but I don't know which function is doing this action. please guide me. thanks
Hi, thank you in advance for helping me. I'm new to this. what i want to do is when my ma cross in the 15 minutes the ea will go to another condition which is wait for my another ma cross in the 5 minutes chart then the trade will be closed. my code is working if i only have 1 ma cross but if i need
Hi there, I have noticed that when I load/Apply/create a new profile the Bot's (expert's) Entry position disappears along with the "Smile" in upper right of Chart/Pair. I would like to know how I can get this indicator for the Bot's entry position to reappear no matter what profile I use. I would
Hi Guys, Recently I experienced a weird behaviour when trying to load an older EA version of a commercial expert from "MT4 Market" here on I moved to a new server and - of course - I had to spend another "Activation" unit because of that when loading my expert the first time on a new
Hello,  Is it possible to add in color transparency to an object?  Eg.  I want to take a rectangle and instead of making it while #ffffff i wanted to make it transparent.     I was wondering if anyone can show me some example code to do this?   Thank you 
I need help from moderator to confirm that this EA is function or not. Because i hire some developer. But this EA is not function at all. i told him to make EA just to be ONE file .mt4 and .mt5 .. He as developer click demo to give testing EA. I already test no function. I add EA file into experts
Hello everybody, for a couple of days my terminal window is an external, really small window, when I open it. I can't see much on it and want to reset it (bottom of the window - full length from the bottom left to the bottom right corner) somehow. I tried already a lot of things in the settings but
Hello, is there a way to reset variables automatically after disabling AutoTrading (or after enabling it)? Example: variable = 0 and then it's equal to 1 because of the code. I decide to disable AutoTrading and after one hour I decide to enable AutoTrading. I want the variable to be equal to 0
Hey guys right now I have two servers running on my mt4... I also have 2 EA's. One for each server. How do I make sure that the EA's are exclusive to their servers they are on? I recently saw that one of my EA's was trying to trade with the other server but couldn't due to lack of funds. How do I
The MetaTrader 4 platform update will be released on Friday, March 24, 2023. This version provides error fixes and platform stability improvements. The update will be available through the Live Update system
Hello everybody, I hope you are doing great. ***Dear admins, please check this message. I really need your attention.*** Recently I received an Indicator and a template. When I attached the indicator on my chart, the Windows Defender alerts for a treat. I double checked and re attached the indicator