To post a new topic, please log in or register
  Looking for Yoda  (23   1 2 3)
Hi all!! As funny as the topic might sound, its true. I'm looking for a "master Yoda" thats willing to teach me. I'm pretty new to MQL5 and trading, but I'm full dedicated at this (~15 hrs/day). That huge number of hours a day it's because I needed to learn MQL5 and understand what things do, some...
  Indonesian Member  (3926   1 2 3 4 5 ... 392 393)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
Dear MQL5. Please help to check my mt5 account <Deleted> -live , the program that I bought is not running. You have successfully subscribed to <Deleted>: Account <Deleted>, period 2019.02.17 18:24:13-2019.03.17 18:24:13. Please note that in order to copy signals, the subscriber's trading platform...
Hi! I was wondering if it is possible to "change the logic" of a strategy to work with OHLC parameters. I'm looking forward this because I have to very different results with the same code on different backtesting modes. So what I understandis that "the market is telling me that I should do the...
This isn't really a question per se. It's more of a comment on something that tripped me up for a bit. I found a work around, but maybe you can comment on a better work around. So, CArray has a Sort() method that looks like this: void CArray::Sort(const int mode)  {//--- check...
How can I get other Symbol Rates inside OnCalculate()? Thank you
Hello I can see that is possible, but it doesn't say is what happens when you do: can anyone advise. I don't want to unsubscribe, just pause. I know I can pause the VPS server but I'm intrigued as to what suspending the service means, and if I can then just unsuspend it again. Thanks a lot.
Hi all,I recently purchased an EA and although happy with the mechanics of it I simply don't have the time to sit and watch it all day so would like to add an automated bot to it. My question is am I allowed to do this as I'll be effecting somebody else's work? I'll ask here before posting an add in...
Hello everyone, We know that the bigger the amount of bull figures in the news on investing.com will be the impact on the market in the currency equivalent, until then ok Now, regarding the coins in the image below: GBP; EUR; RUB USD; NZD; JPY and AUD what would your other pairs be? Thanks...
I have subscribed MT4 Signal. "Synchronize positions without confirmation" is not ticked, so is disabled. Using VPS. When I close some trades manually using mobile version of MT4, the trades sync and reopen again with the Signal ones in few seconds. Any idea how to prevent this reopening? Thanks
  mql5.com support?  (28   1 2 3)
Does anyone know if there is a support email? I think there is an update problem with one of the signals that I am following. Who can I contact about this?
While CopyTicks() give me the TICK_FLAG_BUY / TICK_FLAG_SELL flags, SymbolInfoTick() does not. Market: Brazil / B3 exchange / Futures / Broker: Modal With SymbolInfoTick() I only get BID/ASK/LAST flags... and an "unknown" flag (0=zero). Is this behavior correct? And, is this Zero flag expected from...
I have posted a message here but it was deleted, can i know why? if you delete this message you have to give reason other wise i will post it on facebook and social media to have answear. the message is : Is it true what i red in the link bellow? <Link Deleted>
Hi I have opened  VPS server on my accout. In fact 2 different same result. I get4109 errors as long the VPS is running, no problems when running local  no errors on VPS server I have tryied on 2 different servers for now rented both with no good outcome My account support says there are is no...
How good is the MT5 tick data? Or should I import my TDS (TickDataSuite) MT4 Tick Data instead and use that to test?
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 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...
  Trading System by Xard777  (3885   1 2 3 4 5 ... 388 389)
Here is a suggestion for a possible trading system... System one is MT4-Xard777.rar and System two is XARD-BOX.rar Enjoy... All the best Xard777
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...
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...
  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...
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...
Hello I recently subscribed to a signal provider and have it all set up in MT4. I've checked the journal and noticed signals are being "skipped" because "no symbol found". For example, a buy order on EURUSD. My broker lists each symbol with .r suffix, e.g. EURSUD.r. Is this the problem? How do i fix...
Hi, WHat is the replaced function of WindowExpertName() in MQL5 ? How can i get expert name in MQL5? Thanks
Hello. In my EA I use comments to identify my orders. However when I partially close an order, it seems, that it closes the old order and opens new order with the remaining lot size, but the comment is no longer there. Is there a way how to carry on the comment when partially closing an order?
I'm newbie. Please help. If no trade (1st condition) BUY Should be open by default (Default SL 10 pips, Default TP 10 PIPS), 0.01 lot size 2nd condition)SELL STOP pending order should be open simultaneously at SL price of Open order with 0.03 lot size (3 times of Opened order lot size, 3*0.01=0.03)...
Subscribing a signal and config 0.5 deviation/slippage means the order will not be copyed if difference betwwen signal provider and signal copyer is not bigger then 0.5 , thats right ? Thank you!
Hello, i want to catch market orders in OnBookEvent(). But all i get are limit orders of the market depth. My Code: //+------------------------------------------------------------------+//|                                                     testbook.mq5...
In MT4 to hide indicator during backtesting using this script inside EA : int init() {   HideTestIndicators(TRUE);   return (0);} How to write similar code in MT5?
Hello, I have a VPS and many EAs active on the latter. 30$ available on my mql5 account and I would like to know if it is possible to see if the VPS server is on autorenew mode ? Thanks in advance. Stefano.
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: //+------------------------------------------------------------------+ //|                                                        | //|                    //|...
I'm pretty sure I saw an EA a while ago (probably a year ago). I think it was a free EA. It checked the account and closed trades that were in a loss, but at the same time closing one that was in profit with around the same amount. So, if I had one trade with -10$ then it would close another trade...
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)...
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...
  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.
Hi, I am doing an indicator for stock market that starts at 9 AM. So I want get the first price of day and start or restart the calculation at 9 AM. I have tried this into OnCalculate, but it is not working MqlDateTime curDate;TimeCurrent(curDate);      if (curDate.hour < 9)      return 0; I...
Masters, Inside one Symbol indicator, in OnCalculate(), I need to bring volume information of another Symbol. As I researched, I´ll need to use CopyRates(), but I don´t know the number of values I will need to bring from the another Symbol array. How can I use CopyRates() without knowing this? By...
I have a question about if something is possible on MT4 relating to Renko charts and a Currency Symbol Changer. This might not be possible like how I want it however. Is there a way to use Renko charts, but to use a Currency Symbol Changer so when I select a new FX pair on the Currency Symbol...
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.
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...
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...
Trend Line: "Trend Line" EA draws Gann Fan on chart and trades with its trend,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ. Author: Aharon Tzadik
Fibo Bar MT5: Indicator that draws Fibonacci levels based on the last bar. Author: Taras Slobodyanik
Channel20: high-low channel Author: 862699
Donchian channel - extended: Donchian channel - extended Author: Mladen Rakic
  Experts: TryME  (7)
TryME: try me... Author: Antonis Michos
RSI swings: RSI swings Author: Mladen Rakic
  Experts: VFX London Breakout  (160   1 2 3 4 5 ... 15 16)
VFX London Breakout: Expert Advisor which trades breakouts in several pairs during the London Session. Author: Vinicius de Oliveira
New article Analyzing trading results using HTML reports has been published: The MetaTrader 5 platform features functionality for saving trading reports and Expert Advisor testing and optimization reports. Trading and testing reports can be saved in two formats: XLSX and HTML, while the optimization...
Harmonic Pattern Finder V3: Indicator to display existent and emerging harmonic chart patterns. Author: Andre Enger
New article How to Order an Expert Advisor and Obtain the Desired Result is published: How to write correctly the Requirement Specifications? What should and should not be expected from a programmer when ordering an Expert Advisor or an indicator? How to keep a dialog, what moments to pay special...
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...
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"; //...
void hedger(){   int buy_trades_number = _get_number_of_trades(OP_BUY);   int sell_trades_number = _get_number_of_trades(OP_SELL);   int numberofhedgedbuys = _get_number_of_trades_hedge_buy(OP_BUY);   int numberofhedgedsells = _get_number_of_trades_hedge_sell(OP_SELL);   for(int n=OrdersTotal()-1;...
Dear forum, I'm trying to get the previous two, fixed ZigZag values -- I've tried the method found here, but it doesn't seem to work. What I have now is this:    for(int k = 1; k < Bars; k++){   // Get most recent ZigZag      if(iCustom(NULL, 0, "ZigZag", Depth, 5, 3, k) > 0){         ZigZag =...
Hi,   I've been searching through the articles, and I've written a couple of Expert Advisors.   I would like to incorporate built-in Indicators into a new EA I am writing.  (I hope these questions aren't dumb). How do you force a draw on your current chart of a built-indicator?When you force the...
  ObjectGetValueByTime  (17   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...
Hi guys,  I create objects on different charts (same symbol). Afterwards when iterating through all open charts in order to collect ALL objects mt4 does NOT return all !! Any ideas ?     long chartID = ChartFirst();    while ( chartID > -1 )    {      if ( ChartSymbol(chartID) == Symbol()...
  Coding help  (7764   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
string cfgFilename = "myfile.cfg"; string page = "";   int h = FileOpen(cfgFilename, FILE_READ|FILE_BIN);   if(h < 1)   {         Alert("[ERROR] "+Symbol()+" Cannot read file: "+cfgFilename);         return (false);   }   else      {         int len = FileReadInteger(h, LONG_VALUE);...
Hello community, something unfortunate happened to me. I lost my phone SIM card and got a new one, but I forgot that my old number is still saved in here. Now I finally got accepted as a seller a week ago and remembered this issue. Is there any way to change my phone number without having access to...
  Leverage for each symbol  (31   1 2 3 4)
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...
Guys i need help with the following... I am trying to open a buy order 2 or 3 bars after fast ma crosses slow ma and when the rsi is greater than 50 as well as when both stochastic lines are greater than 50. A sell order for the opposite. The code below is an attempt at a buy order for the 1 minute...
I have just installed Meta trader 4 and copied ex4 files into the "MQL4/Experts" folder as instructed. After restarting the program I still can't see these indicators. Any suggestions?
Hello, I develop a simple little strategy that consists of opening 6 orders at a time from different pairs, and I want that when two pairs with the same magic number reach a certain profit on money together they close without touching the 4 remaining orders, after closing both first i also want them...
  Traders joking, the beginning  (7410   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...
for( int n=0; n<total; n++ ){      if( !OrderSelect(n,SELECT_BY_POS,MODE_TRADES) )      if(OrderMagicNumber()!=333 && number_of_buys == 7) OrderSend(Symbol(),OP_SELL,50,Bid,3,0,0,"hedged",333,0,clrRed);      if(OrderMagicNumber()!=334 && number_of_sells == 7) OrderSend(Symbol(),OP_BUY,50,Ask,3,0,0...
  global initialization failed!!!!!!!  (68   1 2 3 4 5 6 7)
If anyone could help...I run an expert advisor for 4 chart pairs, and for running it for the 5th, after loading succesfully, i have global initialization failed, and then removed... I would appreciate at least a guidance what to look for.. Thanks...