MQL5.community forex forum for traders and developers

hi every body, I have very simple question: How to check out indicator just on some timeframes ? If indicator is attached to chart, I could select time frames but I want to be checked Indicator on some timeframe and results will show in alerts. But is it possible to select timeframes in indicator
I have opened a new account however duw to old account i can not properly setup my new account can someone advise how to close old account and delete it? thank you very much
hi friends may i ask if its possible to withdraw money to webmoney account different from my webmoney account that i'm using usually for withdrawal the reason that i have to pay a friend and i want to reduce the fees paid regards
  No symbol found  (2)
Trying to copy a signal, but it won't trade, and my log keeps saying... "2021.12.01 15:33:17.021 '6009201': Signal - #1369631 buy 0.20 XAUUSD.orc at 1779.95 skipped as no symbol found" However, I do have XAUUSD.Inst on my market watch, and it's not hidden. I don't know why it's not copying? I have
  Indonesian Member  (5511   1 2 3 4 5 ... 551 552)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
Can MT4/MT5 be added to WinGet (https://github.com/microsoft/winget-pkgs) so it can be installed and updated from the WinGet cli. This will be very useful in setting up VPS
  Swing Trading ideas  (535   1 2 3 4 5 ... 53 54)
thread rules only daily charts any currency must Sl and TP try to explain trade reason No bickering
Hi @ all I published a signal of my trading bot which is on an older real account. The signal shows now the complete history of this account. How can I adjust the start point of shown signal. Thanks in advance of your help Regards Cristiana
https://github.com/AminHP/gym-mtsim MtSim is a simulator for the MetaTrader 5 trading platform alongside an OpenAI Gym environment for reinforcement learning-based trading algorithms. It helps to develop new strategies in a much faster way and then switch to the MetaTrader platform for real-world
I have an issue with my account, lumistefanescu, regarding the item Signals. Please find bellow a print screen. Please solve it and let me know when it is solved. Thank you! Best regards
Hi, I'm new to the online webterminal but am trying to connect to my mt4 broker and I'm not getting any options except metaquotes demo. Am I missing something? Thanks. I had no issues about 3-4 weeks ago
HI friends ,How do I change the Color of a single candle , last or currently candle not all candles on charts . I have already tried ChartSetInteger but it changes the color of all candles . Thanks in advance
  hyperactive EA trading  (19   1 2)
Good day to All, I have small inquiry if anyone have the experience to help me out I’ll be so happy I received an email from my broker asking me to reduce the massages sent throw my EA to mql5 server as limited to 2000 msgs per a day and they told me they might close my account as hyperactive
Hi My Bot Can not order And displays this error CTrade:: OrderSend : instant sell 0.10 GBPUSD at 1.32136 sl: 1.32636 tp: 1.31136 [requote ( 1.32182 / 1.32191 )] MN 0 19 : 35 : 12.486 (GBPUSD,M5) # 3 Sell -> false . Result Retcode: 10004 , description of result: requote ( 1.32182 /
  Become an Author at MQL5.com!  (162   1 2 3 4 5 ... 16 17)
Thenew MQL5 Community website at http://www.mql5.com keeps developing. Weinvite all of you to make your contribution to this development. Thenew MQL5is the evolutionary continuation of MQL4. The new language ischaracterized by the support of object oriented programming, by ahigher code execution...
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
Python For Finance: Algorithmic Trading - for : >> quick data loading from Quandl or Yahoo, >> testing ideas >> & with rich stuff for the evaluation & visualization of TS results... (including sklearn(_LIB) for classifications & regressions & Statsmodels(_LIB) opportunities ) -- seems very
  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?
  MONEY MAKING manual trading system  (538   1 2 3 4 5 ... 53 54)
Dear All, As this is my first post on this forum you may think that i am a newbie which i am for sure in comparing with some forex gurus like Igorad, but after spending couple of years in losing money, researching, losing money, researching and finally earning money i don't feel like one . I...
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
  Forex Strategy  (15   1 2)
hey guys, any strategy that I've backtested so far [with EA] hadn't win rate more than 25% ! is it realistic to have 50% win rate in Forex? If yes, how can I achieve it. Thanks
  PriceChannel Parabolic system  (299   1 2 3 4 5 ... 29 30)
Some people asked me on the other forums about re-enter. But I am not using any indicator for re-enter. So I decided to create some simple trading system with re-enter based on indicator's arrow on the chart. Let's name it as PriceChannel Parabolic system. M1 timeframe. This is image for EURUSD...
Greetings to all I want your help in this matter Now I'm thinking about buying a system for currency tradingBut I do not know better, I need your experienceAll praise his goods dealer and I am confused now Which defines provider exchange signals show me it All thanks and appreciation to you
Hi all, I've been trading a live account for just about 4 weeks now and managed to tripple my account. I started with a $100 account at FXDD and my account balance is now $312.65 with a Floating P/L of -$48.50. This does not bother me much, because I'm sure the EURUSD will go down on Monday. I'm...
  Dashboard123  (1)
scalping techniques m15 and h1 with a chart display on m5 <Deleted> <Deleted>
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
Do you know how you can get better trading conditions from a broker if you are a small trader
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 :)
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' ??
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
  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
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...
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
Is it possible to get binance futures historical data and live feed on metatrader5 ? if yes, how would I go about doing it
  McDonald's  (15   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...
Stock Market A To Z: 26 Names, Themes And Trends To Watch (based on the article) A is for Apple "The stock trailed the broader market in 2016, but there may be tailwinds in 2017. Tax reform may include a provision that incentivizes the company to deploy its billions in foreign cash back to...
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...
Hello, my first post here :) Im working on a robot for US500, but the backtesting quality with every tick is mostly n/a so I can not trust. The open trade is around 50% which is also way to unsecure. I need a 99% quality when I make a backtesting on MT4. I have tried to download 3 years history from
Hello, I asked a question earlier and got enough to write this. What I'm trying to do is to Trail Stop and Partial Close on a Ticket and only do it once. As currently its closing partially twice. How do I add the ticket to the array and check if ticket[i] != array then we can move sl and close
Hi, please can someone help. I do not think this is a code issue, I think a terminal issue or 'another' problem. I'm developing an EA and under testing (strategy tester) everything worked as expected until two days ago. Now, whenever I run an EA under test it will not complete an order giving the...
When the product was not validated the error was failed instant sell 10 GBPUSD [Volume limit reached]. //Checks before any position is opened bool CheckLotForMinMax( double Trade) { double min_volume = NormalizeDouble ( SymbolInfoDouble ( _Symbol , SYMBOL_VOLUME_MIN ), _Digits ); double
Hello MQL5 developer team or to whom it may concern, to see the problem, under any recent version of Metatrader 5 launch the MQL5 script inside of the attached ZIP-file, setting breakpoints at lines 69 and 114050 (almost at the bottom of the file). Try observing the variables (especially pComplete
I've read this post. But I am still not clear. Here is my log when stop loss is executed in strategy tester. Now I have a position. It looks like OnTradeTransaction() is triggered 3 times. The MqlTradeTransaction is: TRADE_TRANSACTION_HISTORY_ADD The MqlTradeTransaction is:...
Hi, I'm working on linux, and I rarely use IDE's, especially their text editors. So I have a directory with my EA in it, say, at the path home/lrdprdx/projects/experts/dummy . I can open it in the MQL5Editor and compile. But I cannot debug it (the buttons are inactive). So I have to copy my . mq5
  MagicNumber  (1)
Hi guys! About Magic Number… I read materials about Magic Number using, but just before I do changes in my EA I would like an opinion. So I have one EA that is opened on each particular pair. I do not use it on same pair twice ( like different timeframes). So in this case, can I remove Magic Number
I just noticed that MetaQuotes' own Commission () -function no longer works, because its code is... double CPositionInfo::Commission ( void ) const { return ( PositionGetDouble ( POSITION_COMMISSION )); } ...and POSITION_COMMISSION seems to no longer be a member of
Pressing the f7 key turns turn airplane mode and does not compile the ex5 file thanks in advance for any help
Hello, I'm modifying a position once profit reaches a certain level and taking 2 lots of volume out of 4 lots and letting the trade ride. However I'm getting some odd behavior that it will close my second position as well a short time later. Anyone got any ideas
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 Everyone, I'm trying to store tickdata and not sure what would be the most effective way to store this data. The Tick Data I want to store will be up to 1 minute of data and based on this I would like to do some calculations therefore I will require to access that data at any millisecond time
I am running a long-only strategy that opens multiple long trades, and then sells them off one by one. The first position it sells should correspond with the ticket of the first position it had opened. I have been browsing the forums for literally hours on end, as well as documentation, but have
//+------------------------------------------------------------------+ //| Test01.mq4 | //| Copyright 2021, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2021, MetaQuotes Software Corp."
Hello, i try to detect a stop execution in my EA. Unfortunately, i get only DEAL_ENTRY_IN provided by MqlTradeTransaction passed to OnTradeTransaction. This seems only to be the case in backtest. Anyone know how to reliable detect a triggered stop in backtest - best along with price and...
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
  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
Hello every one; I'm rather new to indicator writing and trying to write a cross over indicator to use with ichimoku. It is supposed to shows the condition of Kijunsen and Tenkansen relative to each other if Kijunsen<Tenkan the color will be Red .. if Kijunsen>Tenkan the color will be Blue and if
  ATR Trailing Stop - Help  (95   1 2 3 4 5 ... 9 10)
Hi everyone: I have absolutely no coding experience in mq4 indicators, and am asking for help in creating an indicator. The volatility trailing stop that uses a multiple of ATR has been of great use to me in Metastock when I used to trade equities, and I've been looking for an equivalent in...
  Everything about RSI  (1446   1 2 3 4 5 ... 144 145)
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
I heard someone in Vienna made an indicator taking the Stochastic 108 for the SELL signal on and 65 to end the signal. It's quite popular among the journalists despite of the price of 10,000€ for the real indicator. Some Goethe Institute students in Argentine learned the quick way of getting the
  All John Ehlers Indicators...  (955   1 2 3 4 5 ... 95 96)
Hi all... I'm dedicating this thread to all indicators by John Ehler's in the hope that we can get/make as many of them for MT4 as possible. Please post any MT4 John Ehlers indicators that you have here as outlined in his books "Rocket Science for Traders", "Cybernetic Analysis for Stocks and...
[Deleted]
  Multi Timeframe Indicators  (12236   1 2 3 4 5 ... 1223 1224)
Hi all, I've been wanting to have the ability to plot indicators from different timeframes on my chart, but MT doesn't have this capability built in. (Does anyone know of any charting programs that do this natively?) As an example, if you're following the IWCR system, it'd be nice to be able to...
  Indicators with alerts/signal  (15896   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...
Any recommendations for Overbought / oversold indicator? apart from the obvious, RSI, MACD etc
So there is this include Math/Alglib/matrix.mqh in which you find the methods for setting the height and width of a matrix, but I can't find where to just place values inside a given place in a matrix or where can I read values from a matrix
Convert iExposure.mq4 From MetaQuotes : iExposure will show the opening of trading positions in tabular form in the sub-window below the main window. This allows the trader to see at a glance the positions in the market including the profit value and the amount of risk for each position. The
  Experts: Martin  (12   1 2)
Martin: A trading system based on the Martingale technique. Author: Vladimir Karputov
New article Using AutoIt With MQL5 has been published: Short description. In this article we will explore scripting the MetraTrader 5 terminal by integrating MQL5 with AutoIt. In it we will cover how to automate various tasks by manipulating the terminals' user interface and also present a class
Smoothed_RSI and RSI_of_MA: Smoothed RSI indicator and RSI of Moving Average. Author: ffoorr
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
MAM_Crossover: The Crossover Moving Average Mirror user, completed with Sound Alert. Author: andy tjatur
Pair Or Symbol And Time Frame With Watermark : Displays the current timeframe and symbol name in large font on the chart background. Useful when hopping between several charts with different symbols at the same time. Author: Dwi Sudarsono
Pair Or Symbol And Time Frame With Watermark : Displays the current timeframe and symbol name in large font on the chart background. Useful when hopping between several charts with different symbols at the same time. Author: Dwi Sudarsono
Binance API Library MT5 : Binance API Library MT5 Author: Denys Babiak
Clean up all drawings ( Delete All Object Comment etc ) : The script is best use to clean up all drawings ( Delete All Object, Comment, horizontal line, vertical line, arrows etc) on current chart. Please feel free to modify based on your needs. Author: Dwi Sudarsono
Clean up all drawings ( Delete All Object Comment etc ) : The script is best use to clean up all drawings ( Delete All Object, Comment, horizontal line, vertical line, arrows etc) on current chart. Please feel free to modify based on your needs. Author: Dwi Sudarsono
EasyAndFastGUI library for creating graphical interfaces: The EasyAndFastGUI library allows creating graphical interfaces for custom MQL programs. Author: Anatoli Kazharski
SymbolsLib: The library contain several functions to get an additional information about the symbols, loaded into the client terminal. ATTENTION: Undocummented solution, it may not work in the other versions of MetaTrader Author: Ильнур Иксанов
Squeeze Break Indicator: This indicator uses a combination of Bollinger Bands and Keltner Channels to capture moves from low to high volatility. Author: Desmond ORegan
Hello, Right now I have two values for the high and open for the last bar but when trying to subtract them it gives very different results and I have trying for hours to discover why this happens with no luck :(. I'm a beginner so i know I'm missing something. HIGH OPEN 113.4999999999995
The MetaTrader 4 platform update will be released on Thursday, October 14, 2021. This version provides error fixes and platform stability improvements. The update will be available through the Live Update system
hi guys, i need to (where )parameter be 0 just for 2*5m candle closes, so i wrote this, but it seems to where be 0 after last order close, whats the problem you think? i wrote this at first of on tick, my bot worked well, before this if ( OrderSelect (OrdersHistoryTotal()- 1
I'm trying to draw a box at the same time every day. The start and end of the box will be at the same time but the top and bottom of the box will be of the highest high and lowest low during that time period, respectively. I'm still relatively new to writing code, which will probably be obvious and
Read this forum MT4 developers? Is possible contact developers via this forum? On MT4 is actually no possible login into Market to download any indicator or EA!!! If I paste the same login email and password how on web version mql5.com, it write error "incorrect password". On MT5 platform work login
Hi all, Hope you are all well. Can anyone recommend any free addon to MT4 to improve charting i.e. drawing tools etc.? I need to go back to MT4 from trading view. Thanks
Hello everyone, I hope you're all doing very good... I found an issue while trying to create an array of MyPoint objects and then add it to the Vector Object but all my attempts and researches failed... This small code gives an error of "Parameter conversion not allowed" and "Invalid Access Array"
  ORDER SEND !  (2)
hi guys , do u know how this could happen? i tested my strategy in strategy tester then i expected only one sell there but it open some sells and some buys, price didnt reach to the buy position even if ( where == 1 ) { if (Bid>bala_hemayat) {
Hello everyone, I have this weird issue when reconstructing a date it is showing the seconds 00. Sometimes it doesnt do that and shows it properly. I honestly have no idea why its working and not working but here is my code. datetime DateRecon= TimeLocal (); int year,day,month,hour; year =
  open orders with 10pip gap  (63   1 2 3 4 5 6 7)
please help me with handy code to open position and open another one after 10pips.thanks see what i have tried but no success with the code please help if( ma1 > Ask + (10*Point)&& CurrentTime != Time[1])  {      Opn_B=true;     }
I'm getting trades as in the picture through out the backing testing of a simple candlestick pattern . I only get this error when I run backtesting on 30min or less. I'm using on every tick. Is it bad data somehow? It seems buggy. Has anyone had a similar issue
I can't seem to find info on how to set up alerts using the android tablet app. all of the info I can find either covers just the mobile app or the desktop app. Can someone clue me into how to set up alerts using my tablet
Hello, I am a bit lost with the error "Error create canvas=4025" I even don't know what a "canvas" is. Does some had the failure as well? I have no idea where to start looking for a solution in my code as the failure occures random. Thanks in advance
New article Step-by-Step Guide to Writing an Expert Advisor in MQL5 for Beginners is published at mql5.com: The Expert Advisors programming in MQL5 is simple, and you can learn it easy. In this step by step guide, you will see the basic steps required in writing a simple Expert Advisor based on a...
  MT4 trade stopping problem  (14   1 2)
My MT4 and MT5 software on a VPS has been functioning funny since a few days ago. Yesterday, I experienced AUS200 strange screen on my MT5 program. The visual trouble started from yesterday and before was the frequent trouble with the saved user data use of one icon click MT4 and MT5 opening. I