MQL5.community forex forum for traders and developers

  Become an Author at MQL5.com!  (169   1 2 3 4 5 ... 16 17)
The new MQL5 Community website at http://www.mql5.com keeps developing. We invite all of you to make your contribution to this development. The new MQL5 is the evolutionary continuation of MQL4. The new language is characterized by the support of object oriented programming, by a higher code
We have updated the MQL5.com 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
Where can I get a Visa or MC Card that is able to receive funds from MQL withdrawal as an EU citizen
Hello I have a confusion about number of the positions! In the documents, it says that there is only one position for a symbol, however, I see more than one position in the terminal and can get same number using positionstotal() function. Is the document outdated and things have changed in the new
You can get general information about a Signal, like balance or equity, using SignalBaseGet...(), but this will not give you full transaction history. Is there a way to get full transaction history for a signal, similar as you would get for your own account with HistoryDealGet...()? There appears
  OnTick  (2)
Hello friends. How do we ensure that an operation is performed only once in the OnTick function
Do you have any experience in Neural Networking or Machine Learning Trading
Imagine my surprise on Friday last weekend when i woke up to withdraw my funds from Mql5 and there were no payment options available for withdrawal !. First they took down PayPal last month and now no webmoney or epayment withdrawals. And i have since sent service desk a message on Friday but no
i have noticed that my first version for this code was working well, now it calls it as if its a custom indicator that i not on mql5 ,could this be a conflict that i already have a cci custom indicator, while i using a standard, I plugged the EA to trade on one pair and it was allowed and still
I bought a trading panel on MQL platform and when I would like to install on my live MT4 platform it always direct me to my demo MT4 account. What can I do to have a choice which trading MT4 account to install the software on
SQLite/ Native handling of SQL databases in MQL5 - MQL5 Articles This article shows an example of how to use struct Person with DatabaseReadBind() function to fill an object from a database. I want to do a similar thing but with Positions, Orders and Deals so I need structs for a Position, an Order
  Profit formula?  (6)
Can anyone give me formula how MetaTrader 5 calculates profit? Probably somehow it depends on price, volume and maybe more arguments. Thanks!
  Off Topic Posts  (702   1 2 3 4 5 ... 70 71)
Comments that do not relate to the "Ask for help", have been moved into this topic
Hi there are instances where code is working properly on demo account taking buy and sell positions as per parameters but when on VPS, once buy exited sell position is taken simultaneously as per code parameters, then VPS is not taking that. As you can see in pic that natural gas sell position
Starting out with MT5 and working with Multiple Monitors I am relatively new on my MetaTrader journey and have decided to get straight into MT5. If anyone has any good tips, or knows of particularly good online learning material, especially videos, etc, I would be interested. My particular focus
Both “Boom” and “Crash”, “Boom” only (not “Crash”), “Crash” only (not “Boom”), No, but I’m interested in knowing more, Never! I don’t have any interest
i have publish a code in codebase, now i want to delete it from codebase, how do i do that, thanks
  Daily Breakout EA  (149   1 2 3 4 5 ... 14 15)
Hello Trading Fellows. First, look on my strategy: - Everyday on 0:00 GMT I make two pending orders: 1. Buy @ yesterday high 2. Sell @ yesterday low TP and SL for example: TP:20pips SL:15pips end. On GBP/USD, TP: 20pips, SL: 15pips in 32 days I have: 8 loss = -120 pips 25 win = +500 pips On another...
  Chaos Theory by Bill Williams  (79   1 2 3 4 5 ... 7 8)
http://www.alpari.co.uk/en/market-analysis-guide/chaos-theory/index.html I had a quick read through and it sounds very impressive. what do other people think? is it good? has an AE been done before based on this theory?
Hi All, It has taken me over 6 years and I've finally become a consistent profitable full time trader thanks to this strategy. The strategy is very simple and would only take a few minutes of screen time per day (using 4HR candles). I'd like to thank 'bigbear3391' for his guidance and inspiration
  Scalping system  (191   1 2 3 4 5 ... 19 20)
Recently I was experimenting with a couple of indicators used for a non-scalping system presented by BigBear - https://www.mql5.com/en/forum/177573 I was debugging one of the indicators when I switched to the M5 chart and noticed a nice setup for a quick short trade... hmmm.... probably a...
  New Dolly  (259   1 2 3 4 5 ... 25 26)
After repeated requests to update Dolly to handle the new extra digit platforms i have decided to totally rewrite Dolly ( 2400 lines of code ) and i have taken the opportunity to include many new features to make the use of Dolly more user friendly, features such as 3 built in trend MAs / Entry Exit...
Hi I use the following indicators when trading for an Intraday. - 8SMA and 34EMA - STOCHASTIC with 0.15 and 0.85 BUY - When 8SMA crossed above 34EMA and STOCH is above 0.85, Go Long and Exit when the 2 MAS crosses again. - When 8SMA crossed below 34EMA and STOCH is below 0.15, Go Short and Exit when
I bought two EAs. <..> Engineer EA, I bought his garbage one months ago, it remain 9 activations. Now, It gone without any reason. Can I ask refund this EA? <..> I got this since 2016, It gone with 4 activations left
The main purpose of this topic is for the general discussion of the VIX CFDs. In order to adhere to the forum rules, I respectfully request that there be no discussion about brokers, market products , signals, nor any 3rd party references. You are free to discuss how these markets behave, your
  Does a safe Martingale exist ?  (190   1 2 3 4 5 ... 18 19)
Hi, With this topic I would like to contribute in a very serious way to the world of the martingale "believers". For those who don't know me or doubt my intentions google on "fxigor". So I hope with this topic that I can make a new wind blowing in martingaling. Let me first answer the question to...
  Stochastic  (100   1 2 3 4 5 ... 9 10)
I decided to make some indicators' review based on trading experience and using them inside manual trading systems. So, please find the first thread about Stochastic Oscillator. Feel free to add or write any comments concerning this indicator about how to use it inside trading systes, how to trade
This thread won't be about a question or problem, but rather about the anouncement of the presentation and documentation of an exciting trading concept. I plan to do a series of postings here in order to keep you guys updated. Anybody who has an opinion on the topic, please don't hesitate to comment...
Hi I am not able to perform migration of one of my accounts data on VPS server. 1 of them is migrated successfully. Can someone advise. Regards Sajid
I've had two trades already. It's still giving me this error. What's going on? How long does it take
  Crypto Currencies  (21   1 2 3)
Where can I find the Crypto Currencies like 'Ethereum, Ripple and Bitcoin' ??
Yes, No, Interested, Not anymore
  SPX trading  (5)
$SPX break above 3681 so no r:r for shorts--I am considering the possibility of W-3 being completed with us having a very shallow W-5 of (3)--Like I said I will not try to long this W-4 so I'll be watching only as this wave tends to burn both sides
I should like trade binary options with any broker , admitting orders from Spain. Is it possible
Good day sir. Please give an instruvtion on how to put a deposite into ag trading flatform. I have already real account on 10Tradefx.Ltd .but i dont know yet on how to pur a deposite. Where do i start. Thank you so much more power. Brgds Abram espejo
I was using <Deleted> MT4 connection to trade BTC/USD The spread seems to be very narrow, compared to other brokers. How do they do it? It is a scam
  MT5 real FUTURES broker  (25   1 2 3)
Hello, is anyone aware of any futures broker that offer its client the MT5 trading platform ? Is there a list of those? I mean real futures, not CFDs. Futures that trade on CME Globex and Eurex exchanges. Thank you
  Forecast and levels for Dax Index  (70   1 2 3 4 5 6 7)
Dax Index January-March 2017 Forecast: flat within bullish with key resistance at 11,649 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 11,485 level to above on close weekly bar with 11,649 as a nearest bullish target to re-enter. Thus, the weekly price is...
  Forecast and levels for S&P 500  (471   1 2 3 4 5 ... 47 48)
S&P 500 January-March 2017 Forecast: long-term bullish ranging within the narrow s/r levels for direction W1 price is located far above Ichimoku cloud in the bullish area of the chart. The price is on ranging within the following narrow support/resistance levels for the bullish trend to be resumed...
  Forecast and levels for Nikkei  (40   1 2 3 4)
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.24 17:18 Nikkei Q1 2017 Fundamental Forecast: Bullish (based on the article) Fundamental Analysis  "The Bank of Japan has been buying stocks for over two years now. And in September, the...
How do I get equities prices / data on platform
DJIA January-March 2017 Forecast: long-term bullish; resistance level at 19,987 is the key W1 price is located above Ichimoku cloud in the bullish area of the chart: the price is on testing 19,987 resistance lkevel to above for the primary bullish market condition to be continuing. The price is
Hi, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
  Forecast and levels for CAC 40  (25   1 2 3)
CAC 40 January-March 2017 Forecast: bullish with key resistance at 4924.69 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 4860.85 resistance level to above on close weekly bar with 4924.69 as a nearest bullish target to re-enter. Thus, the weekly price is...
Can the volume of a market or position order be modified
My first bot to ever record profit is showing huge loss amounts. How can I circumvent this by reducing the cost of the loss? I have modified Stop Loss all over the place and still get the same results. I am using H8 BTCUSD. I have also tried the Intraday filter to try prevent trades on Thursday as
Happy Weekend I am trying to use "switch-case" operator and have following issue. I have defined timeFrames locally as ENUM_TIMEFRAMES. If I pass in this variable case mTFH01 , I get error 'mTFH01' - constant expression required and if I pass in case PERIOD_H1 , I get inconsistent results e.g
Dear Members I have created a nested for loop shown in below in code section. I want to exit (break) when variable idxFB = j is found. Currently it do break of inner loop on satisfying the condition but then goes to first outer loop and loop again for inner loop. seeking advise from experts here
How this code would be for MT5?double totalBuyLots = 0;      double totalSellLots = 0;            for(int i=0; i < OrdersTotal(); i++)      {                 if(OrderSelect(i, SELECT_BY_POS, MODE_TRADES) == true)         {            // match the symbol EUR/USD or EUR/CHF,...
  detaching charts  (3)
Hey guys in MT4 I used to have a very helpful script where it would detach my charts so I could use them on my multiple screens. is there anything like that for MT5? thank you
Hello everyone 🥳 I’ve got some EA that work good for me, but I want to add more setting to this EA so I talk with the owner of this EA and he doesn’t want to sell/give me the source code of this EA. Basically what I want is to add option for profit target and when it’s reach this target the
Good evening, First of all, thank you for taking your time on this topic. I have problems with this code. The EA is programmed to insert stoploss automatically once a trade is opened in the same exchange (both automatic and manual). With some brokers I have no problem while with others it returns
When I hired VPS from MT5, it auto set the host server to a country I didn't choose. I have tried changing the host server multiple times, but nothing works. VPS can be turned off or on, connected or disconnected, after I come back to the VPS subscriptions page, the host server is in the same
Hello, I've created an EA and passed the auto-validation, and I'm just trying to get ahead of any potential issue with this topic with the human-validation. Let me explain: my EA works fine when the initial lot size is 0.01. Raising that by just one miniLot is risking too much. Therefore I'm
  Better NN EA development  (839   1 2 3 4 5 ... 83 84)
Hello everyone, I will start this thread by first stating that if you are a beginner and have no high level programming experience you are better off reading other threads. I intend this thread to be for the very experienced programmers with some Artificial Intelligence background. I am attaching...
  Better NN EA  (112   1 2 3 4 5 ... 11 12)
Hi Better has really good EA and is winning the championship Participants - Automated Trading Championship 2007 Profile Better - Automated Trading Championship 2007 What is NN ? Where are the NN threads in this forum? Can anyone here make this EA El cid
Is anyone able to please help me with this code? I'm trying to have key "R" to cycle down through 4 timeframes (D1,H1,M5,M1) and key "F" to cycle up through the same 4 timeframes. My issue is that sometimes it seems to be working but mostly the ChartPeriod(); of the current chart is not returning
The graphics card is NVDIA GTX550TI, the latest driver of this model is installed, and CUDA 9.1 is also installed, but after opening MT5, the following picture is still displayed, please advise how to install it to use opencl normally, thank you
Hello traders, am looking to develop a neural network to analyse some charts that already have an EA running on them. I want the network learn from the EA and be able to predict future prices and possible areas the EA may take a trade
After some in depth debugging, I realized I've been using CiCustom wrong. The documentation is unclear but by implementation it is now apparent that CiCustom was intended to derive subclasses. Making custom indicator classes is very easy of you use the following pattern. Inherit CiCustom Make a
  Please help me  (3)
//+------------------------------------------------------------------+ //| My first.mq5 | //| Chioma J. Obunadike | //| https://wa.me/+2349124641304 |
If you don't want to waste cpu when you don't need to calculate indicator values for all available rates, is it best to fill all values you want to skip with empty values or is it better to just use PLOT_DRAW_BEGIN to set where you want to start and make your calculation cycle start on that index
  Indicators with alerts/signal  (15913   1 2 3 4 5 ... 1591 1592)
Some indicators with alert/signals with author's comments: - EMA-Crossover_Signal: Enter two Exponential Moving Average periods and it'll tell you when they crossed. - SMA-Crossover_Signal: Enter two Simple Moving Average periods and it'll tell you when they crossed. - SMMA-Crossover_Signal: Enter...
handleAdx = iADX ( _Symbol , _Period , 14 ); I can get the main ADX value. But I need +DI and - DI values. Is there a way to get these values without calculating manually
//+------------------------------------------------------------------+ //| Label.mq5 | //| Copyright 2022, Label Ltd. | //| https://www.mql5.com |
I found this simple code that extends any box drawn to the right edge of the screen. Can someone kind enough please help me convert it to mql5. Much Appreciated. //+------------------------------------------------------------------+ //| Rectangle Extender.mq4
I have been trying to rectify an issue I've had for a while now and could really do with some help please. I am trying to create an indicator that shows the Bearish/Bullish Engulfing patterns (trying to build up my skills). I first created a similar FindHammerPattern() function which worked really
Hi, I'm trying to port ATR function with RMA smoothing from mt4. Code I have is below. I'm getting '{' - function definition unexpected ATR-RMA.mq5 108 3 error but can't find out why? I double checked { } and looks ok. I new to MQL5, have very small experience in MQL4. Could anyone help me solve
Hi, I would like to change this indicator. I would like to attach it to any chart but it has to work on the chosen market. For example, I attack the indicator on the EUR / USD chart but I set the indicator on USD / JPY. Thank you all
Hi, where can I find the ehlers instantaneous indicator on mt5? I found one on the forum, but it does not work, while the other one does not have the option to select the price at which the line will be sent, for example, the opening price or the highest price of a given candle Thanks for help
Need a Session Indicator for MT5 , Should have the 3 sessions customizable
Hi, I had a indicator that was working that no longer works. I ran on metaeditor to see for errors, and I got the following error. 'Period_W1'-cannot convert enum    [on line 22] Any suggestions on a fix? Anyone?
Hello, What is the custom tooltip size in MT5? Is it smaller, than in MT4? Is it adjustable? After custom indicator was converted from mql4 to mql5, not all info is displaying in tooltip
Hi, I am looking for a TDFI with alerts for MT5. Does anyone use one or know where I can find one
Hey everyone, I'm currently writing code for an indicator that uses the price[i] version of OnCalculate instead of open[i],high[i],low[i],close[i] version because that's the simplest way I found, so far, to be able to choose to apply the indicator to another indicator if I want, using the parameters
  Indicators: Chandelier exit  (14   1 2)
Chandelier exit: Developed by Charles Le Beau and featured in Alexander Elder's books, the Chandelier Exit sets a trailing stop-loss based on the Average True Range (ATR). The indicator is designed to keep traders in a trend and prevent an early exit as long as the trend extends. Typically,...
T3Taotra_HTF: T3Taotra indicator with the timeframe selection option available in input parameters. Author: Nikolay Kositsin
RSD_Histogram(Relative Strength Divergence) : Short description. RSD_Histogram uses MACD Formula. but using RSI, 13SMA on RSI, 9 EMA on RSD. it even checks equilibrium in relation to RSD and Histogram and zero line and do alerts of all kinds, next version will include Divergence of Histogram and
EasyAndFastGUI library for creating graphical interfaces: The EasyAndFastGUI library allows creating graphical interfaces for custom MQL programs. Author: Anatoli Kazharski
Half Trend New Alert : Trend indicator. Added alerts (Sound, Alert, email, push) Author: Vladimir Karputov
High Volume Bars : Colors bars when their volume has exceeded more than a standard deviation, or a multiple of it. Volume is commonly used as confirmation for a break of a significant level. Author: maximo
T3Taotra: This elegant fan based on the five T3 moving averages strongly resembles Alligator of Bill Williams and is used for market analysis in a similar way. Author: Nikolay Kositsin
IND - RiskPerTrade - MT5 : Building good trading habits by seeing things in terms of percentage not in terms of money. Author: Rodi Chamii
Currency Strenght Meter : The currency strength meter is a trading tool that is used to identify trending and consolidating markets based on the percentage rate of change in price from one period to the next. Author: Rodi Chamii
New article Using WinInet in MQL5. Part 2: POST Requests and Files is published: In this article, we continue studying the principles of working with Internet using HTTP requests and exchange of information with server. It describes new functions of the CMqlNet class, methods of sending...
New article DoEasy. Controls (Part 10): WinForms objects — Animating the interface has been published: It is time to animate the graphical interface by implementing the functionality for object interaction with users and objects. The new functionality will also be necessary to let more complex
Strategy - Set And Forget (with anti-Martingale system) MT4 : This strategy is the well known set & forget accompanied by the anti-martingale system. It is very useful if you are very busy in which you don't have time, you want to trade the London session while you are sleeping in USA, etc. Author
  Scripts: Close-All  (32   1 2 3 4)
Close-All: A script to close all market positions and/or pending orders. Author: amrali
  Libraries: MT4Orders  (28   1 2 3)
MT4Orders: Parallel use of the MetaTrader 4 and MetaTrader 5 order systems. Author: fxsaber
Equal garden Arrow : The indicator shows the position of two indicators (iMA and iStochastic) Author: Vladimir Karputov
Hello. I have two MT4 terminals running on a VPS at the same time, on the same broker, etc. The broker GMT is +3. I have an EA where I calculate the offset in the OnInit() function, that is only once, and then I use it for my news filter is order to compare the news time (plus GMT offset) with MT4
  Elite indicators :)  (15180   1 2 3 4 5 ... 1517 1518)
Hello, Does anyone know where I can find an indicator that takes in price values, which when reached or surpassed will cause the indicator to send a sound alert
  EA copier slave  (2)
Please can someone advise me how to modify the ea to copy the SL aTP and not close the trade according to the master ea? Thank you
TimeDay( TimeCurrent ())!= 1 &&TimeDay( TimeCurrent ())!= 2 &&TimeDay( TimeCurrent ())!= 3 &&TimeDay( TimeCurrent ())!= 4 &&TimeDay( TimeCurrent ())!= 5 TimeDay( TimeCurrent ())!=( 1 || 2 || 3 || 4 || 5 ) I want to write a code that does not entry date of 1, 2, 3, 4, 5, but the codes becomes long. I
Hi, all! I currently have a burning question. When back-testing an Expert Advisor I use the OnTick() function to check for the entry/close signal. This works fine when back-testing on Open Prices Only , however I know that this won't be the case when it will be set up on a live environment since it
Hi All, I am creating an economic calendar indicator that display the event name in the object description of the vertical line. However if the character count exceed certain limit, the text will not be fully displayed for Object Description. Hence, I would like to seek recommendation on
Hi I was wondering if anybody could help me? How do you release a handle on MQL4. I know the command on MQL5 but it seems to be different on MQL4
void Download_News() { if ( FileGetInteger ( "FFC-ffcal_week_this" + _Symbol + ".xml" , FILE_MODIFY_DATE , false )+ 4 * 60 * 60 < TimeLocal () || ! FileIsExist ( "FFC-ffcal_week_this" + _Symbol + ".xml" , 0 )) { string cookie= NULL , headers; string reqheaders= "User-Agent
Hi I have read in this thread that the mt4 macd is actually not the same MACD as for example tradingview and other sources, the 12, 26, 9 period is ema(12), ema(26) and sma(9). How can I change the signal line to a 9 ema, the bar lags compared to the ema MACD. Also I have looked at the default MACD
This is just an information, not a question. Since I can't find the documentation in MQL4/MQL5 site, I decided to write it at here. If you try to show an ampersand character (&) in object's tooltip text like this: ObjectSetString ( 0 ,obj_name, OBJPROP_TOOLTIP , "A & B" ); It won't work, the "&"
  Usefull links/threads/tools  (54   1 2 3 4 5 6)
The thread about threads: what's going around the forum everywhere ============ MT5, mql5, mql5.com suggestions for improvement thread ============ Requests & Ideas The beginning Requests & Ideas, the beginning - the thread Suggestions for Trading System thread After Requests & Ideas (MQL5
Hello, I created an EA that was already approved or passed and saved it as a draft, but today I changed the version date of my EA and submitted it again, but it is no longer approving. For testing, I created another EA with the same settings except the strategy, but I noticed that it sometimes
Good Day guys, I know this is rather a weird question to ask but I need for my clients. I am currently running 50 mt4 terminals on a Dell laptop with 32gb ram and i7 6600u processor. The laptop is been pushed to its limits and I want to upgrade to a desktop pc which can handle 1000 mt4 terminals
Hi guys, As described in the title, I want to find the bar of one day ago at exactly the same time. So e.g. the time now is 20:23 on the 06.10.2017 which is covered by the 20:20 M5-bar. I want to find the M5 that covers yesterday's (05.10.2017) period of 20:20. How would you do it? Thanks :)
I want to add current alert on this indicator if someone can help !!! :( @ Mladen Rakic do you have time to take a look please