To post a new topic, please log in or register
Hi everyone, I wanted to build a new pc for real-time trading but I'm really undecided on which cpu to take for my use. I premise that the idea would also be to keep the PC for 7/8 years and the main use at the time I would do would be to run 10/12 MT4 (no backtesting,10 to 50 open real time charts...
Dependable/reputable broker with highest margin?
The code below triggers a warning called:  expression has no effect FX5.mq5 547 64 However FX5_CloseAll() may close all orders and positions, and if it did so, line 547 will become relevant.
Hello; can someone explain to me what i received from a broker that have no sens for me about MT5 and buy limit and sell limit? https://forum.ampglobal.com/hc/en-us/articles/360011785174-MetaTrader-5-MT5-Order-Types-Order-Execution-Logic Thks
hi there.  i am trying to create a trendline with an angle. for example, if i wanted to draw a trendline from point (x1,y1) with specified angle to point (x2,y2). how would i calculate y2 coordinate assuming that i know time(x2)? i would greatly appreciate any help. 21:
The beta version of the updated MetaTrader 5 platform will be released on February 15, 2019. We invite traders to join testing and to evaluate updated platform features, as well as help developers fix errors. To update the MetaTrader 5 platform up to build 1995, navigate to Help \ Check Desktop...
Hi, I want to rent a VPS in MT4, but when I select a payment method, an error occurred , This Error notify mw that " An Error occurred in the script of this page" The screenshot of it is attached, Please help me to solve this. Best regards
My friend deposits $18 via credit card for test use, she wants to withdraw $18 but she can't find a way to withdraw it. Only two options (Webmoney & Paypal) are available but can't proceed. Could you do me a favor?
MT5: push notifications to my mobile phone stopped working out of the blue (CPU use is below 10%). i did not change anything in the settings. not even sending Test notification gets to my phone, despite showing "notification successfully queued!" (see attached picture). MT4:  always worked but now...
Is there a problem with android app mt4 and mt5 with push notifications? I will only receive the notifications when i open the app. Anyone having problems?
i already logged in on my platform. when opening the terminal, going to signals and clicking on any signal or clicking on FREE nothing happens. what's wrong??
  Indonesian Member  (3919   1 2 3 4 5 ... 391 392)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
What is the current price shown on the chart is it bid price or ask price.Or an average of these two? I have an expert that do a job when the current price reach a predefined price how to define the current price? For example I open a long position And I use ask price to open this position Do I have...
Hi programmers, I try to read a Json file and get somes values from it. For that I use the JAson.mqh library (for MQL5). It works perfectly for a little file which not exceed 255 characters (max allowed for a string value). But for a larger file, that cause an issue because the string value is...
  Press review  (6320   1 2 3 4 5 ... 631 632)
This link provided to me by RaptorUK, give me the idea that it would be interesting to have a place here on the site to share such links. So I opened a new topic, it will be moderated to follow the rules as usual, but also about the content. Everyone can post but have to provide a quote and the...
Hi all, I don't know if FxPro is 5-day New York Close Charts? Anyone can help? Thanks
Hi, I have developed successfully scalping strategiesfor the 60/30/15 minutes EUR/USD charts (1:1 risk/reward scalping strategies).But because of the Spread I cannot find any winning strategies for the 1/5minutes charts. Can anyone give a hint of what to think about for1/5 minutes charts (using...
Hi all, I have publihed my EA's signal on the mql5 four days ago. I read that there is no data under the slippage tabs on my signal. We know that low slippages is more suitable for subscribers. However, what does "No Data" mean? Good or bad? Best, Murat Y.
  Something Interesting to Read  (46   1 2 3 4 5)
This is the thread about books related for stocks, forex, financial market and economics. Please make a post about books with possible cover image, short description and official link to buy (amazon for example). Posts without books' presentation, without official link to buy and with refferal links...
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...
Hi all, My EA is running on EURUSD, GBPUSD, USDCHF, USDCAD and AUDUSD. My EA's traling stop doesn't work on only AUDUSD. It works well on the other currincies. It also works well about take profit and stoploss on AUDUSD. Have you never been face to face this problem. Best.
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...
I place an order with take profit and stop loss within an EA. Is it possible to be notified of the stop loss execution of a placed order in the EA, without looking at the trade history? If I have to look at history, I must send a PostMessageA(main, WM_COMMAND, MT4_WMCMD_ALL_HISTORY, 0); that...
  Delete My Signals  (13   1 2)
Anyone help me to how to delete my signals ?
Trading and training video (from youtube for example) about forex and financial market in general.  thread for April 2013 - look at this thread,  thread for May 2013 - look at here,for June 2013 is here.July thread 2013 is hereAugust thread 2013 is this oneSeptember thread 2013 is hereOctober thread...
This is the thread about books related for stocks, forex, financial market and economics. Please make a post about books with possible cover image, short description and official link to buy (amazon for example). Posts without books' presentation, without official link to buy and with refferal links...
i have wanted to test some indicators from the market for MT4. but backtest engine produces error. as shown, it expects "EURUSD5" but correct sintax is "EURUSD,M5" this problem occures during the test of the indicators which is from the market. there is no problem for unprotected indicators. is this...
  ATR Trailing Stop - Help  (85   1 2 3 4 5 ... 8 9)
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...
Is it possible to disable manual trading (i.e. closing EA opened positions) when the EA is running in order to not interfere with the EA?
I am looking for MT5 version of the OSMA divergence. Attached is the MT4 version: Can anyone help? Thanks
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...
RecentlyMetaQuotes Software introduced MetaFintech as its new representative office in theUAE.The company now announces its further expansion: Derivative System Technologies will act as its agent in South Africa. Thenew representative office will be responsible for the promotion of theMetaTrader...
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, I'm willing to put  Sell Limit / Buy Limit with specified date on Exchange. I can do by the terminal manually but PositionOpen does not accept entering time. https://www.mql5.com/en/docs/standardlibrary/tradeclasses/ctrade/ctradepositionopen Only OrderOpen accepts entering time but it'll not be...
  LME product  (10)
Hello,Is their any broker who provide LME product to trade on mt5. Lead,zinc,aluminium, copper,nickel...
  Bonds  (2)
Introduction to Bonds (Part I) 1. Principal: This is the face value of the bond; the amount that the first bond buyer initially loaned to the company or government issuing the bond. This is also known as the par value. 2. Coupon Payment: This is the numeric amount of interest payments that are...
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...
  Forecast and levels for S&P 500  (456   1 2 3 4 5 ... 45 46)
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...
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...
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
Hi all,    In my search for option stragy builders i came across this link HERE but i just cant find in my MT5 platform this option. I cant find in builds news any update disabling this functionality. So... How can i use the Option Strategy Builder in MT5 ?? Thank you guys
The Worst Stocks Of 2016: First Solar It was decreased from 72 to 28 for this 2016!
  Bermaui Analysis  (239   1 2 3 4 5 ... 23 24)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
  McDonald's  (13   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...
haii .. i have 2 problems i ask for help .. first i want to know why mt4 / 5 on pc can not be used to open an account InstaForex-USA2.com .. i new trader and real account is an InstaForex broker..when i open my account at MT5 pc, MT5 can not read my account ......... my second problem is demo...
I'm studying OOP and I've come across the following problem. I use a class based on CAppDialog to build the interface. CDialog -> CAppDialog -> CfxwAppDialog. I want to change the appearance of the m_caption element. The m_caption element and the CreateCaption method belong to the CDialog class and...
Can I run 2 signals from the same PC?  I share my laptop with my brother and he wants to use signals, is it possible for him to open his account and run it at the same time as mine in the same device? Thanks, 
Hi all, I have an EA. It runs on 5 currencies (eurusd, gbpusd, usdchf, usdcad, and, audusd). When the EA has a trade or sometimes trades on a currency forexample on eurusd, it must not open trades on the other currencies. How can I code that? Best. Or, How can I manage total trades for above...
hello, i have this EA and is not working in real acount, order are not open on real. i have the same broker. this is the code: //+------------------------------------------------------------------+ //|                                                        | //|                    //|...
  Import External files to MT5  (14   1 2)
Hello, Is it possible to import an external data file(csv or excel for example) to MT5?  Let's say that I have csv file with data about some symbol and I want to Import it to work with it on the strategy tester, is it possible? Thank you, Yu.
I am currently testing an EA which I have converted from MQL4 code to new MQL5 code. Things generally work but the lot size calculation (based on a fixed risk percentage) is off: double subGetLotSize (const string sSymbol, const double dRiskPercent, const bool bAccountIsMicro=false)...
While testing an EA, I've got the following results. It's completely unrealistic and it mirrors a HUGE flaw at strategy tester, using every tick based on real ticks: when testing limit orders, orders are always placed at first at the book, so it's gets immediate execution. At demo accounts too. As...
Hello good day, i am trying draw line in the windows chart with the class CCanvas, want connect two points for one line, how follow: CCanvas        miLineaUp; atrhighVal[2]=maVal[2]+atrVal[2]*2.5;   // EMA(21) + ATR(14)*2.5 atrhighVal[1]=maVal[1]+atrVal[1]*2.5;   // EMA(21) + ATR(14)*2.5...
Hi all, I have just seen that some EAs on the signal opens second  trade when it has an opned trade. Forexample, An EA has EURUSD buy at 02:30. It sometimes opens second trade as EURUSD buy at 02:35 altough its first trade is open. Why?
Hey Guys   Is there a function for an EA that gets triggered when a profit target is hit for a certain position? I can't find one :(   Thanks for  helping me out :)
hello everybody, if i have more then 1 sell orders opened, i want to set TakeProfit for all sell orders except the highest one, any idea how can i do that? below is my code but it failed aswell ... double highest(int op)   {    double c=0;    for (int cnt=0; cnt<OrdersTotal(); cnt++)      {...
Hi Every one... I have a system that works semi-automatic and I need to be able to click on the tester chart and change the angle of trend line but it seems that the CHART_CONTEXT_MENU is false while testing and ChartSetInteger(0,CHART_CONTEXT_MENU,true); does not work any idea what can i do about...
Hi everyone I rent a server with MT5 and i migrated chart and EA on that. One of the product that i trade expire every month and i need to realod EA monthly. My question is easy: If i reload ONLY the EA for this product, i need to reload the others? (the others are FX and didn't expire) Thx to all
Hello Community, has anyone else experienced that the Chart options Fixed Maximum and Fixed Minimum are not working at all? Regardless what values I put, after closing and reopening the Option panel, the set values are gone and replaced by the current visible min and max seen in the chart. This...
I am having problem with Comment Blocks being inserted into the code every time I compile. It appears to happen after For Loops. else statements, and other random locations. Using MetaEditor Version 5.00 Build 1384, in  MetaTrader 4, Build 1010. Is there a way to prevent it? 
Some of you might remember this one : originally it was a part of an expensive system. Than it was coded as dots because of the repainting problems in metatrader. Here is a version for metatrader 5 : slightly changed the look of it (Bollinger bands is drawn as the "shadow" in the background) Also...
I need to study historical values of many indicators from metatrader. Is the a way to save for example in 1 minute interval , similar to format like in History center? Thanks for help.
Hi - I hope someone can help. I want to overlay an oscillator I've coded located in the bottom chart pane onto price - the top panel. The oscillator ranges between -10 and +10 with zero the centre point. When overlayed I'm not expecting it to align to price and will expect the line to 'float' over...
Hi everyone, It's a lot of time that I follow various threads here and you're so interesting! thanks for your indirect help! Anyway, now is the time to ask the comunity for a conspicuous help to build a personalized signal indicator based mainly on the Heikin Ashi and Demarker indicators! Can...
Hi all, Thanks for looking at this thread. I'm looking to develop a custom indicator and it appears to be printing out the correct value initially but it just stops when a new candle appears! I don't know why and this is giving me a real headache!!! Thanks for your help :)...
MetaTrader 5 provides two similar indicators: ADX and ADX Wilder. Apparently the latter is smoother. Which one is more useful? Is ADX Wilder less advanced, since it is the original version?
Hello friends, how are you? I'm a beginner and I'm creating a custom EA that opens and closes orders on the market by changing the color of the indicator line but I ran into "SetIndexBuffer" and "iCustom" to open buy and sell orders ... Has anyone ever gone through this obstacle? Anyone who has a...
What is wrong with this alert? That sound never ends and finally it freezes MT5.         manageAlerts(time[rates_total-1],rates_total);            return(rates_total);           }         //+------------------------------------------------------------------+         void manageAlerts(datetime...
I am looking for an indicator of the ADX that also has a MA in the indicator window. I want to be able to use it to say if ADX is above the MA(14) then it is okay to execute trades. I have been looking around for this but didn't have any luck. I am new here and if someone could help point me in the...
Hello, I am just getting started building indicators, and I am confused with indicator buffers. I understand that these are the values that are sent to the terminal and can be used by other indicators/expert advisors, but the documentation is confusing me. I am trying to create a very simple...
I'm trying to find a good indicator(s) to use for daytrading. Most indicators I've seen out there are lagging indicators.
Hello everybody, I'm a beginner in the programmation, and I have a question. At each new bar, the text of my programm shifts a little more to the left, and I would like to keep it on the right side of the chart. Unfortunately I didn't found the solution. I know that's is simple but... Would someone...
Hello friends, is there a way of expressing the values of the classic Bears Power and Bull Power MT4 indicators into a 0 to 100 range oscillator (or histogram), where the level 50 would replace the level 0, like in RSI ? The purpose is to keep the characteristics of the values, and the basic...
Why do some signal provider ask to not check the option 'copy stop loss and take profit'? What is the worst that can happen? Will the stop levels not synchronise if the signal provider decides to change them during a trade? Will trades be closed anyway when they are closed in the provider account?
Hello, can someone tell why I can not check previous colored bar(ColorT[bar+1], ColorT[bar+2], etc...) Indicator is using ADX values and according to them colors solid candles. I would like to play with these colored candles. Do I need another loop for this or how to solve it? for(bar=limit; bar>=0...
Aroon oscillator - multi time frame version: Aroon oscillator - multi time frame version Author: Mladen Rakic
Aroon - multi time frame version: Aroon - multi time frame version Author: Mladen Rakic
ConsecutiveRSI: Set the number of consecutive candles along with RSI level for a valid signal. Author: John Davis
JSON Serialization and Deserialization (native MQL): Serialization and deserialization of JSON protocol. The code is ported from a high-speed С++ library. Practical example: authorization on a website and parsing the response CJAVal jv;jv["login"]="Login"; // loginjv["password"]="Pass"; //...
New article MetaTrader 5 features hedging position accounting system has been published: The MetaTrader 5 platform was originally designed for trading within the netting position accounting system. The netting system allows having only one position per financial instrument meaning that all further...
Multi Forex Scanner: Instead of having to analyze each pair individually, you can see at a glance what are the most promising pairs according to your own criteria. Author: Carlos Oliveira
New article Selection and navigation utility in MQL5 and MQL4: Adding auto search for patterns and displaying detected symbols has been published: In this article, we continue expanding the features of the utility for collecting and navigating through symbols. This time, we will create new tabs...
  Experts: TryME  (4)
TryME: try me... Author: Antonis Michos
Kalman filter velocity: Kalman filter velocity Author: Mladen Rakic
555 Scalper: 555 Scalper EA trades with two 5 exponential moving averages works on 5 minute frame major forex pairs. Author: Aharon Tzadik
MACD 1 MIN SCALPER: MACD 1 MIN SCALPER uses two moving averages and "MACD" indicator on 1 min time frame Author: Aharon Tzadik
Kalman filter - with candles or bars: Kalman filter - with candles or bars, multi time frame version Author: Mladen Rakic
Export trade history to CSV v2: This script will export the trade history from MT5 selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software. Current version 1.0 does not add the takeprofit and stoploss. Any advice to improve this is welcomed....
Kalman velocity - multi time frame version: Kalman velocity - multi time frame version Author: Mladen Rakic
Kalman filter - multi time frame version: Short description. Author: Mladen Rakic
  Elite indicators :)  (15102   1 2 3 4 5 ... 1510 1511)
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?
I have an indicator shown in a separate window and I want to place a text label in the window. The code I have is: void CreateTradeLabel(){ string name = "tradelabel"; int chart_ID = 0; if(ObjectFind(0,name) != 0) { if(!ObjectCreate(chart_ID,name,OBJ_LABEL,1,0,0))     {      Print(__FUNCTION__...
I'm working with this library (https://github.com/dingmaotu/mql4-lib/blob/master/Collection/HashMap.mqh) And I need to create a dictionary with different types (the value could be a string, double or integer) I found out that there is a variant type for C++ (https://stackoverflow...
  accoount balance history  (15   1 2)
how to get the account balance of the last 10 trades? thank you
Good day,  I want to be notified of any change in account balance so I made a function that is called on every tick and checks if there is any difference in account balance between consecutive ticks.  The function is then suppose to send a push notification on mobile device but no notification is...
I am trying to display text on a chart with OPAQUE background but no luck so far. I will appreciate anysuggestions.
Hello I want to Disable / Enable Expert (Auto Trading) button programmably as if i click on it to enable or disable Expert according to condition. I am searching MQL4 code to do that but i did not find. Any help please.
People who uses MT4 ou MT5 on Apple System can't download EA or Sygnals from the website. When you click the button to confirm, nothing happen. Is ther any other way?
  Leverage for each symbol  (23   1 2 3)
I know it isn't a new problem but with new ESMA rules (about leverages) it became "interesting" for me. Generally now we have a different leverage for each symbol. But I know only the function AccountLeverage() (or with the same result AccountInfoInteger(ACCOUNT_LEVERAGE) ) that provides something...
Hello,  If I want to open a trade after x amount of bars ( say 10 bars )  , then close it after y amount of bars (say 20 bars ) , is that possible  How to achieve that while avoid placing trades during Saturdays / Sundays and a void having the trade open though the weekends 
  ObjectGetValueByTime  (16   1 2)
I have these code here to get ObjectGetValueByTime, for OBJ_REGRESSION  https://docs.mql4.com/constants/objectconstants/enum_object/obj_regression https://docs.mql4.com/objects/objectgetvaluebytime it has been discuss before, and yet I still can't manage to get double return value, as it always...
  Traders joking, the beginning  (7409   1 2 3 4 5 ... 740 741)
They say that an average trader can work for about twothree years. Then he has enough money to buy Ferrari and spend the rest of the money on psychoanalyst and antidepressants. Well, drive your Ferrari and save the rest of the money by reading our next column. Making money is one of the funniest...
  Coding help  (7763   1 2 3 4 5 ... 776 777)
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
  Multiple inheritance  (16   1 2)
The Normal syntax doesnt seem to register, does mql cater for multiple inheritance or do i have to work around it?  I was attempting a partial MVC, well different adaptation but essentially wanted a controller class between MarketIndicator and Trader, they both inherit statistics class but for...
Hy,is it possible to force my EA to reload itself, everytime the Timeframe on the Chart is switched? //+------------------------------------------------------------------+//|                                            RefreshYourselfEA.mq4 |//|...