To post a new topic, please log in or register
Hi,        The last year of 2018 I sow in the signals/metatrader4/ananit2 that in the months from July to December I have a loss of 100% I can't understand why is that, I made sure to not have this results, and for the last 3 or 4 months I had green numbers, but my surprise that now in January yo...
  USDJPY Ask bug?  (1)
Hi all, I am currently backtesting on USDJPY H1 data. When I hit ~5.12.2014 - 15.01.15 my Ask price line completely separates from the Bid. This completely messes up my Expert, so I was wondering if this is a bug or what prices actually did over this time? Ask price line is the red line following...
  Indonesian Member  (3910   1 2 3 4 5 ... 390 391)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
Hello, Simple question, Has anyone ever compiled a MQ4 file to .exe? the goal is to remove the EA file from all dependencies and allow it to be rapidly tested any insight would be appreciated
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...
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...
GOLD (XAU/USD) April-June 2017 Forecast: ranging inside Ichimoku cloud for the bullish trend to be resumed or to bearish reversal to be started W1 price is located inside Ichimoku cloud for the ranging market condition within the following support/resistance levels: 1,263.79 resistance level located...
  triangular arbitrage  (13   1 2)
hello, ive been studying this method for a while but i dont quite get it what is the requirements for the strategy to work and what are the pairs for that you should use  can someone please list all the pairs ? 
I tried to get the leverage of my account using this code Print(AccountInfoInteger(ACCOUNT_LEVERAGE)); Also saved a report of the history  In all cases the leverage shown is 1:200 My broker confirmed that my account is set to 1:30 following European regulations. Also informed they cannot change the...
 iMA(NULL, PERIOD_CURRENT, 14, 0, MODE_SMA, (iMomentum(NULL, PERIOD_CURRENT, 14, PRICE_CLOSE, 0)), 0); This is what i have but its not working.       
I can't seem to register as a provider.  Every time I fill out this form: (https://www.mql5.com/en/users/t_bot/seller/register) it says "Error saving data".  There's no other messages that come up that tell me which data had errors.  Tried several times and cannot get it to work.  When I submitted a...
Hi all, if you have any ideas about this topic or know articles in this area please share it here
  Trades  (5)
Shall I close all trades at the end of Friday to avoid losses as direction of instruments may change or leave them open until next monday?
The software is using my PC for way much more time than it show's on software and in joining with that is also paying me WAY MUCH LESS than it should be  WHAT TO DO And i didn't found the E-mail for contact 
How do I get the Trend folder in indicators? Id like to find the Moving average so i can get the 'First indicator's Data' parameter. 
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, 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...
  Hedge-ring/triangular/basket  (11   1 2)
Hi! I have today been thinking about some hedge-ideas. I know that there is something that calls hedge-ring that includes more then 2 pairs to hedge up for one another. I have read somewere (don't remeber were) that this kind of rings works best with AUD/USD involved. Anyway... I can't find any...
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 ?
  Something Interesting to Read  (45   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...
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...
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.
  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
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...
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...
  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!
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...
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 all, I am new to this forum and I have recently downloaded MT5. Now I want data for Indian Stocks. Can someone help me who are authorized data vendor for India Exchange NSE for MT5. There are many data vendors for Amibroker and Ninjatrader in India but not for MT5. How I can import historical...
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? 
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, 
The code below is a simple (simple) moving average cross coupled with a pinbar, and yet im failing to get results on the strategy tester! Please help... string Symb=Symbol();                       // Security name//--------------------------------------------------------------- 2 --int...
I want to sell signals. Do I need to hire VPS?
Hello, I've found a bug with Bars function, it worked great until build 1978. Description: Bars function call hangs on a newly created custom symbol or empty data symbol. Bug started from build 1983 and later. How to reproduce: Open a random chart and run the following piece of code (script): void...
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...
Hi, Since the beginning of the week, the Trades copy of the signal that I paid for does not work while the subscription to the signal and the VPS is ok. What’s the matter ? Is there an opportunity to recover the lost money ?
Hi, do i need to keep my trading account open if i use metatrader vps?
Hi there just noticed that :     double rates[];   printf("**** Rates : %g",CopyClose("EURUSD",PERIOD_M1,0,1440,rates)); ... as a script returned :  2019.02.15 13:22:07.867 Test (USDJPY,M1)        **** Rates : 1440 ... as a service returned :  2019.02.15 13:23:53.451 Data    **** Rates : -1 Same...
Hi. I have an EA that calculates lot size based on account balance and other static variables. My question is: The lot size of subscriber will be calculated the same way based on it's account balance and these static variables?
Hi, I'm curious what would be the best method of implementing these 2 platforms together? Binance has an API available here: https://www.binance.com/restapipub.html And Metatrader 5 is amazing because of it's cloud-enabled EA optimizations. Looking forward to a suggestion. Thank you.
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...
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.
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...
Hi there, Does anyone have an indicator that is similar to ADR, but it shows the average movement in pips? I mean the up down daily movement in pips?  For example if the ADM is 300 pips (and ADR is 100 pips), then you would have something on the corner of the screen saying "ADM - 300 (200...
Hello MT4 programmers out there!  I needed help on changing some codes in this indicator. A kind trader provided this indicator in one of the forum for trading Binary Options.  The indicator is able to provide an accurate CALL or PUT signal but the problem is, the signal came later after the candle...
Hello. I have these indicators that in the metatrader 4 I do not go. How come? I followed the ingo in this linkma does not go the same. https://fileinfo.com/extension/mqh Is it faulty or something wrong? Thanks a lot. Good trading.
MACD 1 MIN SCALPER: MACD 1 MIN SCALPER uses two moving averages and "MACD" indicator on 1 min time frame Author: Aharon Tzadik
555 Scalper: 555 Scalper EA trades with two 5 exponential moving averages works on 5 minute frame major forex pairs. 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
Kalman filter - generalized version: Kalman filter - generalized version Author: Mladen Rakic
New article How to Become a Signals Provider for MetaTrader 4 and MetaTrader 5 is published: Do you want to offer your trading signals and make profit? Register on MQL5.com website as a Seller and specify your trading account to offer your signals to traders. Keep in mind that you can create only...
Lilith goes to Hollywood: An antimartingale which tries to maximise the gain/risk ratio. I have a 5 digits account, let me know if you have any problem with this. Author: Bluesky
Volume Profil & Range V6: Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram. The width of the histogram at the level means the number of transactions carried out on it.If a broker provides data on a real volume, the...
New article 50,000 completed orders in the MQL5.com Freelance service has been published: Members of the official MetaTrader Freelance service have completed more than 50,000 orders as at October 2018. This is the world's largest Freelance site for MQL programmers: more than a thousand developers,...
Tro_Range: Indicator Tro_Range. Author: John Smith
New article How to Subscribe to Trading Signals is published: "Signals" in MetaTrader 5 trading platform allow traders to connect to any signal issued by providers. Select and subscribe to any trading signals provider to copy all his or her deals on your account. How to become an investor and...
New article False trigger protection for Trading Robot has been published: Profitability of trading systems is defined not only by logic and precision of analyzing the financial instrument dynamics, but also by the quality of the performance algorithm of this logic. False trigger is typical for low...
Andrews Pitchfork: "Andrews Pitchfork" EA draws Andrews Pitchfork 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
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 
Hi, As far as I know the close price for the current, not yet completed bar is the last price. Therefore the close price is constantly changing with each tick. I can see this happen when simulating indicators of other people. But of course not my indicator. It looks like it immediately jumps to the...
Hello community, please my "else" statement is not printing on the mt4. Below is the code: void OnStart()   { //---    int x = 10;    int y = 100;        if (x == 10) {       Print(x);       Print("I hate Mondays");       Print("I love Fridays");        if(y == 100) {          Print("I just printed...
  ObjectGetValueByTime  (15   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...
  accoount balance history  (13   1 2)
how to get the account balance of the last 10 trades? thank you
Hy,is it possible to force my EA to reload itself, everytime the Timeframe on the Chart is switched? //+------------------------------------------------------------------+//|                                            RefreshYourselfEA.mq4 |//|...
  Leverage for each symbol  (21   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...
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__...
Hi there! How can I update my 2018 historical data, after I have downloaded from Tickstory 2016 and 2017 data (for all timeframes). Downloading 2018 from Tickstory overwrites 2016 and 2017 data. Or is there a way to download without overwriting? Thank you in advance!
  Traders joking, the beginning  (7408   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...
Hi, first I tried this - which works fine: ...extern ENUM_MA_METHOD      Ma1_Method = 0;... Now I wanted to add (for the tester easy to vary) another not standard moving average, so I wrote: enum ma {   SMA =0, // Simple moving average,    EMA =1, // Exponential moving average,    SMMA=2, //...
  New MetaTrader 4 build 1170  (33   1 2 3 4)
New MetaTrader 4 build 1170 The MetaTrader 4 platform update will be released on December 20, 2018. The update fixes errors and improves the platform stability. We remind you that support for older versions of operating systems, including Windows XP/2003/Vista, has been discontinued. The minimum...
  Coding help  (7762   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
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...
Guys i need help with the following code... 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...