MQL5.community forex forum for traders and developers

I can't display my graphics, I have already uninstalled and reinstalled several times with no result and I have searched everywhere without ever finding anything about this problem. I can't add any symbols either. My broker is FXCM
My function to count open positions is not working. EDIT: In case it isn't obvious, I want to count a given type, either buy or sell positions. This is how I am placing the trades: void PlaceTrade( int i, int Oper_local, string trigger) { string par_temp=SymbolList[i]; if ( StringLen
Hi, i wrote some own indicators in .mql5 I want to use it in the Webterminal in my own website. Is it somehow possible to use own template on webterminal ? best regards, Daniel
Hi, I have subscribed to a signal on the Metatrader4 2 weeks ago, during this time I even paid a second time for my subscription to continue after one month, on 1.12.21 for some reason my account stopped to take trades and follow that signal and it seems that I am not subscribed anymore and I don't
Hello everyone. I'm trying to create a custom symbol and feed it with custom data that i download from API. I have created an array of MqlRates and put the downloaded data into the array. everything is ok so far, i check the array and all the values are correct. i use CustomRatesUpdate function to
Hello! I didn't find answer on forum. I cannot delete old alerts in Metatrader. Reseting terminal and laptop didn't help. Now I have plenty of old alerts which prevent me to trade. Please help me. Thanks
Hi. :) I am a beginner so please be patient. I have a simple code and I want it to run once so I add two global variables. SELL and BUY. I don't know SELL and BUY it resets and code executes over and over again, but I need the code to execute once
  Lot size limit  (3)
Hello traders, I have recently been funded by a prop firm but unfortunately they have a lot limit requirement for the first 3 months and to give me peace of mind I was curious if there was a lot limit setting or tool within the MT5 terminal. I would be very grateful if someone could provide with the
I got contacted via WhatsApp with a "misdialed number"... off by 1 number and got into chat with a woman from Hong Kong. We talked for almost a week, mostly about trades and how much money she was making in foreign exchange gold trades. She wanted to show me how to do it. So she asked me to download
Hello my entry prices are different in live trading from EA backtesting results, what might be the reason and how can I fix it? The spread used is the same as the time traded, but I get different results in entry hence affecting the results, how can I fix this. The EA is supposed to be opening
I keep getting this error when trying to top up. How do I fix? Soft decline: EMV 3DS Authentication required
As such no error but not able to launch new charts via following script. already created and tested the template. Script should open new charts and apply the associated template. template already has required ea and indicators. void OnStart () { long iChartID_1 = ChartOpen (
Traders! can anyone help me set up MT5? I am not able to purchase and run a virtual server . Configuration for Mac os and windows. My telegram: <...> Thank you in advance. Regards, Paweł
Hi I had rent VPS Subscriptions for 3 months to runing my EA and I already select "Auto Renew" about my EA "My EA had a function that remember the last entry price position and it will be change every time when the condition are met and open another position." My question is when the exparation
From July 1, 2021, we introduce additional requirements for products offered via the Market. Dozens of new applications are published in the Market every day. However, many sellers do not think about how their products appear to users and how customers feel about using their apps. Some descriptions
anybody who knows the mechanism or the maths involved in the background that help the MT5 platform be able to indentify the amount that is going to be lost on a certain stoploss the other way to define this is how to know the amount of money that is going to be lost on a certain stoploss Let me be
Hi All, I need some help here. I'm trying to detect pending order of the same price so that I will not send same PO for the same price but it is not working here is my code double adjustpt = SymbolInfoDouble ( _Symbol , SYMBOL_POINT );
i am a professional trader that have been in the marketplace since 9 years ago . check tens of thousands of EAs , indicators , strategies like price action , ichimuko etc... and can assure you 99% of them not work in long term. because market is unpredictable and full of uncertainty. so no one can
  Can you say forex is gambling?  (87   1 2 3 4 5 ... 8 9)
Joshua Brown, vice president of investments in a renowned New York asset-management firm once said that the forex from his perspective is too risk fraught for an individual investor to engage in preferring to label forex trading as gambling with retail investors in ignorance throwing money into
  Pattern Analyzer  (16   1 2)
Information panel with which you can test Known patterns and Generated patterns. The panel consists of three tabs: Analysis tab. Here is the analysis of Known patterns, Autosearch tab. In this tab, you can analyze the generated patterns, Settings tab. This is where you configure the parameters for...
I have a couple strategies I am testing on demo, mostly ICT, I am curoius if there are other strats being used by others on the forum that are showing nice profits and consistency
Tested on nasdaq from 12th oct to 5th nov using real tick data from my own broker and low risk trades 0.5% per position profit factor and win rate lol
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
What is the most structured way to search effectively for EAs on mql5.com? I am looking for: 1) those that trade profitable. Does not need to be high, but steady. 2) low drawdown 3) during major sessions, not night sessions when non-liquid, high spread/slippage. 4) definitely no crazy dangerous
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...
  Channel trading system  (322   1 2 3 4 5 ... 32 33)
It is simple trading strategies. m217irr mentioned about it here but I did not understand it in that time. This strategy is very good for the beginners and I started my forex with this strategy some years ago. And not me only. I know that Tartan started with this strategy as well and finally we have...
I just started this thread as a continuation of the talking made on this topic (we can read it). Or ...to 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...
  Simple Ichimoku System  (157   1 2 3 4 5 ... 15 16)
Simple Ichimoku System. Some members remember Ichimoku informational template for Asctrend M5 elite section system thread: https://www.mql5.com/en/forum/174756 and new set of this system from this post. It is so called Ichimoku informational template to check market condition on H4/D1 timeframe...
Hi to all, I have been reading about emotional trading and why it is so nasty, but I am not clear what the symptoms of it are. So what are the feelings you have when you’re under emotional trading?
I was watching a video that shows you can use the DXY with EURUSD for divergence, I was wondering if there is also a market that can be used the same for GBPUSD? Thanks in advance :)
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
as stated here https://en.m.wikipedia.org/wiki/List_of_stock_exchange_trading_hours Most markets are open Monday through Friday and closed on Saturday and Sunday in their respective local time zones,[1] although some such as the Tel Aviv Stock Exchange and the Saudi Stock Exchange shift this to be
Bitcoin vs USD January-March 2017 Forecast: key resistance level at 850.15 to be broken for the bullish trend to be continuing Weekly (W1) price is located above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following support/resistance levels: 850.15...
The quote tab, history tab, setting tab , chart tab , all blue , but trade tab is Ted. I have buy and sell positions opened, can’t close them. Please help
AMP Futures has officially announced the launch of the MetaTrader 5 platform for trading futures. AMP Futures is a US regulated Chicago-based Futures Commission Merchant (FCM) providing access to the global electronic futures markets for individual traders, as well as US and foreign Introducing...
Hello guys! I have been observing and analyzing the various currencies, commodities and indices. I feel like the world economy is due for a crash or meltdown. What do you think
[Deleted]
Do you know how you can get better trading conditions from a broker if you are a small trader
I believe a StopLimit order has 2 components Stop price and Limit price I want to know if the stop price has been reached or not. If it has, what elements of the orders has changed. E.g. Can the StopLimit be modified and how? As this is not a limit order should I update the price? When accessing the
  Crypto Currencies  (12   1 2)
Where can I find the Crypto Currencies like 'Ethereum, Ripple and Bitcoin' ??
  We use Bitcoin ;)  (492   1 2 3 4 5 ... 49 50)
Seems we need a Bitcoin thread to discuss about due the growing popularity of this virtual money. Forex-TSD is studying the idea of take Bitcoins as payment method and having our thread to discuss about pros and cons sounds as good approach. You will find more information on the official Bitcoin...
  Trading stocks  (17   1 2)
Hi there, I am new here and i want to trade stocks rather than forex/currency. I have not been able top find out where and how buy/sell platform Anyone please guide me Thanks \ JC
Hi all I'm about as new here as one can be. Both to trading and to this forum and is my first post here. Hoping I can get a answer to a question. Google hasn't been able to help. I want to know how can I calculate my lot size for opening a trade on NAS100. Is there a known formula? For forex pairs
Hello everybody, I want to trade on Binance broker via an Expert Advisor, written in MT5. Unfortunately, the course data for Binance are not available for the MT5. However, Phyton is able to both retrieve the price data from Binance through an API, as well as trading on Binance. Now there are two
Steps to reproduce: 1. Take an MT5 account for which broker have disabled the trading 2. Place an async trade via EA Actual results: 1. Terminal prints Trade disabled error in the logs, as expected 2. OnTradeTransaction never invoked on this error, so that EA hangs/times out waiting for a trade
Hello, is it possible to use an allready existing indicator for an expert advisor without having the sourcecode (its not a default mt5 indicator)
  Requests & Ideas (MQL5 only!)  (655   1 2 3 4 5 ... 65 66)
Terms and Conditions: You describe (you provide) the idea. I place an open MQL5 code in this branch. I place this code in a CodeBase. I specify the author of the idea and the author of a MQL5 code in a code. The coding services are provided "as is" and you use them at your own risk. List of ideas
Hello, is it possible to check if market is open or closed for a symbol using Metatrader5 python API? Thanks for help
Hi, I have purchased an EA. My existing activation is not working because my Windows OS has been updated. I am trying to reinstall the EA. I can see it on the tab purchased in my MT5 and it shows that I have 5 remaining activations. But there is no button to update or download it. How do I access
Hi, my broker Blueberry Markets has floating StopLevel, so I can't check it. If I check: StopLevel = SymbolInfoInteger(_Symbol, SYMBOL_TRADE_STOPS_LEVEL) * _Point; the result of this function is every time = 0. In my indicator I calculate: input int iSLPoints
int StopLoss = 10; double openPrice = PositionOpenPrice(glSellTicket); double point = SymbolInfoDouble ( _Symbol , SYMBOL_POINT ); double stopLoss = openPrice + point*StopLoss; stopLoss = NormalizeDouble (stopLoss, int (digits)); Print ( __FUNCTION__ , " Sell Stop Loss Normalized
Hello This EA has been developed, is highly flexible and does have profitable settings. I'm (bravely/stupidly) opening it out for people to test and share any profitable strategies they might find. It's not coded for MQL Marketplace yet, so it can't be sold on or used to develop a signal service
Is there a 'Click-To-Confirm-Trade' function for EA's. Thanks Michael
I have recently designed an EA that I would like to start using in real time. I had it all set up and the got the Trade is disable message. Not really sure why. I use Oanda and have contacted them and they have said there is nothing they have to do to enable trades. Trades worked fine in the Tester
greeting to all please i want very simple code when price go up for 5 points place a buy order take profit after 20 points and stop after 15 points when price go down for 5 points place a sell order take profit after 20 points and stop after 15 points without indicator ***
Dear people, There is a lot of "literature" in the forum about this, one above all the clarification offered by William Roeder here: https://www.mql5.com/en/forum/321335 . Thus, please, can anybody explain this? //+----------------------------------------------------------------------------+ //|
Dear people, After having read several times the other thread , I am fighting for understanding what's wrong in my backtesting. Let's say that I want to test a strategy on EURUSD, daily bars, using 1 minute OHLC precision. On my broker's (Darwinex) platform, market times for this instrument are
Hello, how do i convert moving average value into points so i can set up my stop loss properly in EA
Please Help Please advise this error suddenly appeared. Is there a way to disable auto update ? RE 2 16:30:52.832 AiFetchV2.03 (EURGBP,M5) Access violation at 0x0000024A29BF7215 read to 0xFFFFFFFFFFFFFFFF in 'C...
  How to detect a new bar  (34   1 2 3 4)
Hi All, I'm a complete newbie to MQL5 but I've done a fair bit of coding for other platforms. I'm wondering why it is so difficult for an EA to execute only on a new bar. I've had a look at some of the articles, including the "new bar" event handler, and it seems very difficult. If that won't...
  Indicators with alerts/signal  (15898   1 2 3 4 5 ... 1589 1590)
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...
  Polyline  (1)
Guys i need little help as i could not get hold of polyline. If there is any sample code please share. I have array both x and x arrays. 1. Dates (x array) 2. Price Levels (y array) i want to draw a polyine using that information but i could not find any code on polyline. it would be huge if someone
Hi, why on the following do i get error "wrong timeframe request in open prices testing mode error" when i test on the 15m timeframe? double lowprice_i= iLow ( _Symbol ,( ENUM_TIMEFRAMES ) 5 , iLowest ( _Symbol , ( ENUM_TIMEFRAMES ) 5 , MODE_LOW , 11 , 1 )); How do you look at different timeframes
Hi All, As per the title of this thread. Do any of you know of a dashboard or utility that can fulfill my requirements? Cheers
Hi, Can anyone point me in the right direction for where the error in the code is? Am trying to get the RSI divergence plotted on the chart however, the arrows are all over the place. Thank you. Regards, John Doe //+------------------------------------------------------------------+ //|
  best indicator  (24   1 2 3)
hi  i want best indicator,Can anyone help me؟؟؟
Hi, //+------------------------------------------------------------------+ //| Read_Buffer.mq5 | //| Copyright 2021, Dark Ryd3r | //| https://t.me/DarkRyd3r |
  Moving Average  (1538   1 2 3 4 5 ... 153 154)
Post all MA indicators here.
Hello, I have had an indicator for many years, I would like to try and understand the logic of how the code is working. I am looking for someone who knows MQL5 that would be willing to go through the parts of the indicator with me to explain the logic. It is a pretty simple indicator using the ADX
Hi  I am trying to add Up and Down non repainting arrows at the points shown by the red lines in the screenshot above to the FX_Sniper's_Ergodic_CCI_Trigger indicator but I am failing to do this correctly. My efforts at coding only add arrows on the new candle formed. Basically i am trying to add...
  Pivot indicators  (756   1 2 3 4 5 ... 75 76)
Everything about pivot indicators you may find in this thread. Besides there are some usefull links as well: - how to trade with pivot (manuals) is here. - some trading system based on pivot https://www.forex-tsd.com/forum/trading-systems/1158-pivot-system - pivots, camarilla, high/low etc.... is...
I can get and identify current crossover by using 1 and 2 buffer of the two MA indicators. But i want to get the previous crossover and the corresponding X candle. Should i run the crossover check on every newBar and re assign a value on every tick? please pardon my english
I am new to the community and just wanted to say hi! I recently rented several indicators from ***! I am currently going through the manuals to learn the proper way to use them. Hopefully, I am commenting in the correct place. I was instructed to comment in the indicator page of the MQL5 forum to I
Hello I'm trying to use Bollinger bands indicator with data from MA indicator. I read in the documentation that I can use iBands to handle buffer of data from my MA indicator, but the example seems complex o me. can anyone please explain me how to do this? Let's say I used this code to calculate the
New article Self-adapting algorithm (Part III): Abandoning optimization has been published: It is impossible to get a truly stable algorithm if we use optimization based on historical data to select parameters. A stable algorithm should be aware of what parameters are needed when working on any
RSI Extreme Zone : The indicator highlights the value in "over Sold" and "over Bought" zones. Author: Alexander Chertnik
Nadaraya-Watson estimator : Nadaraya-Watson estimator - metatrader 4 version Author: Mladen Rakic
New article How to Buy a Trading Robot on MQL5 Market? is published: Now you also can use trading robots and any technical indicators with MetaTrader 5. All you need to do is to launch MetaTrader 5 trading terminal and open Market tab of Toolbox window. Author: MetaQuotes
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
New article Fix PriceAction Stoploss or Fixed RSI (Smart StopLoss) has been published: Stop-loss are a major tool when it comes to money management in trading. Effective use of stop-loss, take profit and lot size can make a trader more consistent in trading and over all more profitable. Although
New article How to Subscribe to Trading Signals is published: "Signals" in MetaTrader 5 trading platform allow traders to connect to any signal issued by providers. Select and subscribe to any trading signals provider to copy all his or her deals on your account. How to become an investor and...
MQL_Easy: A cross platform library/framework Author: Dionisis Nikolopoulos
QG Futures/CFD Intermarket Spread : This is a simple script to chart the intermarket spread between 2 different futures or CFD contracts. The spread trading is a popular futures trading strategy and can be done using CFDs more easily as there is no formal expiry date. Author: QuantGlobal
Bobokus Fibonacci : Select Timeframe to draw Bobokus Fibonacci and add any custom fibonacci levels you want Author: Dark Ryd3r
New article MQL5.community - User Memo is published: In this article we have prepared some hands-on tips that will help you to get accustomed in MQL5.community and to take full advantage of it's available features. Author: MetaQuotes Software Corp.
  Experts: TST  (3)
TST: The Expert Advisor does not use any indicators. It only uses the current price and the OHLC of zero bar. Author: Vladimir Karputov
RSI Levels Expert Advisor: Classic trading strategy based on RSI levels. Buys when RSI is oversold and sells when RSI is overbought. Code is automatically generated with Visual strategy builder Mission Automate. More info: https://www.mql5.com/en/articles/4951 Author: Andrey Barinov
Scalper Assistant v1.0 : When you scalp manually, a simple EA could be an assistant to set StopLoss / TakeProfit for each trade you open. Author: Mohsen Nazari
EasyAndFastGUI library for creating graphical interfaces: The EasyAndFastGUI library allows creating graphical interfaces for custom MQL programs. Author: Anatoli Kazharski
Hi pals, Hope you are doing fabulous. What data my broker has access to gather from me from these four?(for example my IP, hardware ID, etc.) 1. By logging in to my broker website. 2. By visiting its website. 3. by logging in to my trading account via MT4. 4. By sending an order to its server via
  Last OrderType  (2)
Hello Folks, I am trying to get last Ordertype. (MQL4) Below code only keeps on working when first buy position is opened. but when first Sell position is opened it always gives 0 regardless of what type of position are opened further. I have no idea what's going on. any help would be appreciated
Hi guys! I've wrote this code: double the_rsi = iRSI ( Symbol (), 0 , 14 , PRICE_CLOSE , 0 ); Print (the_rsi); and when I run this code in the backtest, the printed value is different than the value that I read in the indicator. What I'm wrong? Thank you
Hi guys! So I have below code: bool oldOrder() { datetime now= TimeCurrent (); for ( int i= OrdersTotal ()- 1 ; i>= 0 ; i--) { bool select = OrderSelect (i,SELECT_BY_POS,MODE_TRADES);int ticket = OrderTicket(); if (ticket == OrderTicket() && OrderSymbol()== _Symbol
  Coding help  (7854   1 2 3 4 5 ... 785 786)
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
Try to run a script every so often to remove TP and SL on all open orders
Hello all Please shed some light on this discrepancy with iBands and the bands on the chart. Print (iBands(_Symbol,PERIOD_M5, 20,3,0,Ask, MODE_UPPER,0)); This line should give me the current upper value of the Bollinger Band on the 5min chart (with 3 standard deviations ). The result is printed as
How to get all pending orders with prices and volumes in Broker? e.g. XAUUSD buy: 1850: buy volume: 100lots, sell volume: 20lots 1845: buy volume: 500lots, sell volume: 10lots
hi there happy people, i want to be able to type in point numbers and not price number in an OBJ_EDIT to use to modify my active trades sl and tp, any help on the lines of code onhow to go about this
I currently coded an EA all in the OnTick function. Similar to this template: void OnTick() { bool longSignal = check MACD cross up; bool shortSignal = check MACD cross down; if (OrdersTotal() > 0) { if (shortSignal) OrderClose(Buy orders); if (longSignal) OrderClose(Sell orders); } if
the function below only calculates the dollar amount of the last open trade. I am looking to calculate the dollar amount of all open trades for the currency the EA is on. I can not find what I am doing wrong. can I get some help? thanks in advance. double LastBuyProfit()   {   for(int...
Hi all, My MT4 in my macbook suddenly cannot launch. Before activating the terminal, a window pop up saying shutting down the app. Anybody knows how to fix this? Thank you in advance. Josh
Hi everyone. I just begun testing my strategies on FOREX and there is a doubt I can not answer. This doubt is due to the difference between the candlesticks data retrieved from the broker and the same data retrieved from the metatrader server. This difference concerns both the data values themselves
[Deleted]
Can anyone explain to me why MT4 in the account history does not have the entry NET PROFIT (or similar) which also calculates the costs (swaps and commissions)? It is absurd that such an important thing is missing. What's the reason? Advice on how to do it
Hi, I use PSAR indi on my EA. When I tried to found where the indi forming (upper or under the bars) I found that the indicator always late within one bar to show reversal on strategy tester. Is there anyone knows why this is happened