To post a new topic, please log in or register
  MQL4
I just have a basic question cause I'm new in programming... Is there any way to arrange lines in mql4 when nested operation is used? for example in MatLab when you press ctrl+i all "if" ,"for" and... that are inside each other would be arranged. 
Good evening everyone. I have a question to ask about sending the e-mail from Metatrader4. I installed the Metatrader4 application on my pc; I opened a demo account; I opened charts of currencies on which I am interested in operating; I downloaded a free robot trading which I then applied to each...
MT5 have buy-stop-limit / sell-stop-limit , but why not have  buy-limit-stop / sell-limit-stop. I think this is also usefull. I suggest add it.
  Stop all trades  (6)
Is there a way to stop trades at a point? 
sir can anyone help me to send link for 15 minute hi low candle indicators pls
  Indonesian Member  (3655   1 2 3 4 5 ... 365 366)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
  Which method is better ?  (36   1 2 3 4)
Single Currency Multi Currency
Hey guys, I want to set an alert on chart and configure it to open a buy stop order with fixed lot size, TP and SL in points. Can it be done and if so, how? Thanks Sal
Whenever Windows Updates, the Platforms I have opened all disappear, and I have to reload all of them again.  In your next update for MT5 Hedged Platform, please incorporate something that will automatically save the MT5 platforms I created so there will be no need to re-create all of my platforms....
Hi, I have accounts with different brokers. I wanted to know is there a way/software that I can use to trade these at the same time? For example, place a trade once and have it duplicated across all my accounts ?  Thanks. 
  Coders joking :-D  (48   1 2 3 4 5)
i bought a vps inside mt4 from mql5. The amount was drawn from my account  but the confirmation page about payment was struggle. How can i see the status of the vps?
Hi Everyone, I am trying to make a simple test on Custom Symbol. I am using CopyTicks to get ticks' data from standard symbol and create a new custom symbol via CustomTicksAdd . The funny thing is that the CustomTicksAdd manage to add tick when it returns a value 1. However, when I check it at the...
Description Experience Level: Expert I am looking to work with an experienced Tensor flow programmer to explore financial trading strategies within MT4. I will create multi input data environments within MT4 with MQL4 code – you will build an AI module that reads the data and provides an...
Hello Guys, My name is Greg and I am new to trading on the FOREX market, so I thought I would introduce myself to the forum members.   I am gaining knowledge, and have a friend that has been trading for a little while, and I find trading in the FOREX to be an exciting and great opportunity. I live...
Hiya to all, I would like to get opinions form fellow traders , and lots of help !!! I have an EA hedge system that i purchased, it can profit up to 150$ per day depending on markets , but the issue i am having is when i back test this, the trends  blow the account, as its using a trade multiplier...
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 currently have my EA calculate values on the last x amount of bars - this however creates a huge lag during back testing - because of the "for loop" it looks like it executes on every tick. This is how the value check stars: //CHECK ID10T VALUES FOR BUY OR SELL if(BUY_ORDER   == 0 && SELL_ORDER...
  BRAINWASHING SYSTEM/ASCTREND SYSTEM  (220   1 2 3 4 5 ... 21 22)
This is the thread about Brainwashing system. We will start with original version of this system and will improve it later. ========== Just something about the history. There are 3 famous signals system (manual trading systems based on signal indicators): Asctrend, BrainTrend and Brainwashing. First...
  Signal Systems  (350   1 2 3 4 5 ... 34 35)
I was affraid to open this thread. Why? because it is difficult to manage many threads on one forum. Anyway - I will try :) So, we are talking about SIGNAL SYSTEMS
I have a trading system that i been using for quite sometimes now and its very profitably reliable. This system is very simple and straight, just some simple calculations. I need a good coder/programmer that would be able to convert it to EA. I will share the strategy, trade rules and the EA rules...
I closed my platform to test the VPS operation using mytrade receiver. Once I saw trades placed on another platform, I opened the VPSplatform and the trades did not execute until I opened the VPS platform. I havesynced experts, indicators and signal. Will allowing DLL imports stop the VPSfrom...
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...
How to Trade the Gold Silver Ratio ?
i have an login for an fund management account the problem is i cant see the running trades but the history gets updated even without showing the trades on the terminal window ! is there any ways to see the running trades on terminal window ?
Dear ALL Is backtest using M1 time frame (derived from tick data suite) reliable ?  I mean 99.9% quality ? Is it trustworthy ? 
i am a professional trader that have been in the marketplace since 9 years ago . check tens of thousands of EAs , indicators , strategies like price action , ichimuko etc... and can assure you 99% of them not work in long term. because market is unpredictable and full of uncertainty. so no one can...
Hello everyone, Is there a very simple EA that check if there are open orders, and if not, immediately opens one in the trend direction ? So an ea that trades only if there is no open order, quite simply. Thanks for any help about this guys, regards
Hi, I have sreached that many people have asked about the question regarding " symbol found" problem, but didn't found an answer for it. Some of the reply for other people's answer is change broker and many reply regarding to change broker is that it doesn't help Please help or direct me how to...
  Forecast and levels for S&P 500  (453   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...
  Bermaui Analysis  (211   1 2 3 4 5 ... 21 22)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
  Google  (14   1 2)
Google April-June 2017 Forecast: weekly ranging to be stated or the secondary correction to be continuing; 853 resistance is the key The weekly shares price is on secondary correctional movement within the primary bullish market condition: the price is located above Ichimoku cloud for the correction...
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...
  Volume and Tick chart  (22   1 2 3)
Hello, I am currently using MT5 for futures and I was wondering if there would be any updated version where I can use charts based on volume or tick and not time. Ninjatrader, or TradeStation, Sierra all have this capability, but not Metatrader 5. Any help would be appreciated!
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...
  Apple  (27   1 2 3)
AAPL Technical AnalysisL daily bullsh with 120.35 resistance to be testing for the bullish trend to be resumed Daily share price is located far above 200 SMA in the bullish area of the chart: the price is on testing resistance level at 120.35 to above for the bullsh trend to be continuing. If the...
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...
New article Creating a trading robot for Moscow Exchange. Where to start? has been published: Many traders on Moscow Exchange would like to automate their trading algorithms, but they do not know where to start. The MQL5 language offers a huge range of trading functions, and it additionally...
  Welcome to the new section!  (21   1 2 3)
Inspired by comments and reviews received from MQL5.community members, we have added a new forum section called "Trading stocks, futures, options and other exchange instruments". Share your ideas and trading experience with the website visitors. Reach out to MetaTrader 5 developers if you have...
You must be willing to be open to a good working relationship. I am still somewhat a novice trader but I have two years experience. I'm self taught so just hmu with your cool with this.
Hi, I am quite new to MT4. Trading from the UK, I am more share and stock CFD person than Forex. By this, I would prefer to trade share prices than anything else.  My questions are as follow:  1) Do you guys know any betting companies with a great variety of shares and stocks on the MT4. Noticeably,...
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...
I was wondering does metatrader 5 support stocks? not cfd stocks.   If so, which brokers supply stocks? 
  Forecast and levels for Nikkei  (30   1 2 3)
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...
Hi. Last week, I experienced one my subscribed signal made a huge error leading the big loss. The worst part is that somehow it repeated opening and closing the same trade on my end, and if I didn't manually disable the signal, it would have blown my whole account. My question is, is there any way...
Does any one know why is this happening? I have two MT5 instaled with two diferent brokers and neither seem to run anithing on Strategy Tester. My mt5 is connected to the broker and I get this log everytime i run something.
Does anyone compared the backtest time performance, using the same computer EA and database, between Windows and Linux?
Does any one know if there is a way to check the Mql5 username of a logged in user? I realize that we can use the TerminalInfoInteger to retrieve a bool about whether there is a connection to the mql5 community using the TERMINAL_COMMUNITY_CONNECTION identifier and also whether there is any data...
Hi, I am very new on this topic. What I like to do is to write a neural network system, for automated trading on MT5. I know how to write a NN in Matlab or C++, but I don't know is it possible and good idea to learn MQL5 and try to write the NN in this language or not? Is MT5 IDE powerful enough for...
Hi everyone, In an EA using Protrader I have a Dictionary type, that I can store key | value where value can be any type, inclusive arrays. So, I can do something like this: Dictionary<string, bool[]> positionParcial;positionParcial = new Dictionary<string, bool[]>();positionParcial.Add(_ordId,...
  Reports  (1)
If I run multiple EAs on the same MT4 platform will I be able to produce individual reports/graphs for each one or will I only be able to get one with all results combined?
Hello, i have developed this EA that is working on daily charts, i just put my price action concept on EA. I am experienced in trading but Newbie in backtesting. I would like some insight before i put this working. Are there are any other parameters i should investigate? The results are from the...
Windows Update could disables  the EA's  activation every month... If you set the  OS update stopped, the computer will find that and fix it to update "these days"!!( I'm using my home PC , and  also ,sometimes VPS.) The  EA Invalidation occured to  MT4 by the Update of this time! (2018/12/12) Then,...
I implemented a EA that uses OnTradeTransaction on stock markets. My intention was to remove the SLTP check from the OnTick function and improve the speed of my optimizations. Firstly I noticed that the events are extremely different among simulation, demo and real environments. The amount of...
hey :) totsday I observed a massive ddivergence displaying candle patterns in mt4 and mt5.  while mt4 shows a normal bearish trend, mt5 displays a massive gap where candle theory says to be closed again. anyway, if charts do differ so heavily which one to rely on? mt4 or mt5 or neither? please...
is there any broker that Guarantee order opening price? because wen i put a pending order it is possible that my order openes in higher or lower price than i want
Hello, I have bought an EA and it allows me to activate it to 5 devices. I have activated it to my primary device and it has 4 left. I plan to purchase a VPS and plan to transfer the indicator to the said device (VPS). My question is, how do I transfer the EA to the newer device (VPS) without...
This is my first time coding in MQL4 I'm not sure what the error is, I was following a video of youtube, and it seems my code has multiple errors even though it was the same, could this be because it was an old video and mql4 language updated? Here is the code below...
hey :) I have an EA that creates signals for possible buy/sell entries by placing an arrow above/under the signal candle. my issue is, that depending on the chart wjere the EA is loaded thr arrows are placed too far away or too closely. please review attached images for examples. In case of a sell...
  Fibo & Gann variations  (340   1 2 3 4 5 ... 33 34)
Fibo Levels indicator. Fully forecasting.
Hello, I've been modifying the dema example indicator and I dont understand what I'm doing wrong, I've read and re-read references but I still dont get it. Please help! I've tried both  setting #property   parameters and what you see in the code below, what am I doing wrong ?...
Hi. From your experience. What tools are the most useful since developed by John Ehlers? Regards.
Hi guys, I wrote a test indicator and every start I got an error message (CopyBuffer 4806 error), I don't know why and hope, You can help me to solve it. The code: int macd_handle_m5, macd_handle_m10;double macd_values_m5[], macd_values_m10[];int OnInit()  {   ArraySetAsSeries(macd_values_m5,...
  Indicators with alerts/signal  (15806   1 2 3 4 5 ... 1580 1581)
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...
Obviously length and offset can me changed, but I was thinking about changing the curve "on-the-go". Is that even possible? Why? When a fast trend reaches its peak, linear regression curve will cut it nicely, but if an opposite trend goes fast too (and right after previous peak), linear curve will...
Guys, what is the best indicator showing trend? I tried many and either they are too delayed or too vulnerable to pullbacks. I've have best experience building my own trendiness using - ADX 15x higher timeframe - CCI 15x higher timeframe I'm working with 1m timeframe. A trick which also works great...
  Which is a better indicator ?  (70   1 2 3 4 5 6 7)
Which is a better indicator ?
Hi there guys, Does anyone have this indicator to share? Where you can choose the type of MAs? I wanted one with VWMA (volume weighted moving average) crossing over SMA. Something similar to the indicator attached to this post. thanks
Hello, I'm in the process of writing an indicator with Moving Averages. The goal should be that the indicator will give an alert as soon as the wick of a closed candle touches a moving average. Roughly speaking, it should give a signal as soon as a retest has been done on a Moving Average candle by...
Hi. I am creating an indicator called Squeeze that uses the Bollinger Band and Keltner Channel. The Keltner Channel indicator is one that I got from the internet (for now), since it's not included in MQL5. https://gist.github.com/Industrial/8f98a5e360132a6faba38e02a137f6c0 I have several questions:...
  Gann Grid & Fan  (3)
I've been trying to set up my Gann Grid and Fan for over a year now but I can not. I read articles on this forum but still without result. Someone who wants to help me with this? How many pips per bar? Set date? etc..
  Filters indicators  (309   1 2 3 4 5 ... 30 31)
Some indicators which can be a filter to avoid big losses. If you have a great idea so you need a filter. To avoid any trading in none-trading zone. Please post your filters here. And please find the filter ... let's say ... 4 in one: FATL, SATL, RSTL, RFTL. In one indicator.
Hello, is it possible to define (return) the price level when (& where) two MA's cross (which is not the current price !) ? if so, how or where can I find information (code) ?
Hi there brothers. I think I opened a thread in the wrong forum, I am opening here then, which is the right place. I have this indicator here which I found at forexfactory called zigzag counter, which displays the total volume of each leg of the zigzag. What I wanted was for it to show the AVERAGE...
Hedging Martingale: Hedging Martingale opens two trades of buy and sell together,and uses the martingale method. Author: Aharon Tzadik
Accelerator Trailing SL&TP: "Accelerator Trailing SL&TP" EA trades with "Accelerator" indicator and has Trailing Stop Loss &Take Profit works on all time frames major forex pairs. Author: Aharon Tzadik
New article An Example of Developing a Spread Strategy for Moscow Exchange Futures has been published: The MetaTrader 5 platform allows developing and testing trading robots that simultaneously trade multiple financial instruments. The built-in Strategy Tester automatically downloads required tick...
Support and Resistance Trader: Expert adviser scans past 500 closing bars and looks for common closing regions as entries. Author: QuantStrategies
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...
New article The Price Histogram (Market Profile) and its implementation in MQL5 is published: In this article I will consider Price Histogram - a simplified model of Market Profile, and will describe its implementation in MQL5. Author: Dmitry
Multi Time Frame Trader: The Expert Advisor trades based on the i-Regr indicator signals. Author: Vladimir Karputov
  Libraries: CDictionary class  (11   1 2)
CDictionary class: An implementation of the dictionary (associative array) data structure in MQL5, based on CArrayObj and CList. Hash Function FNV-1a Usage Primitives: CDictionary *dict=new CDictionary();//settingdict.Set<string>("costarring","liquid");dict.Set<double>("liquid",0.1);//getting -...
Moving Average EA: Open and close when fast moving average line cross slow moving average line. Author: luo jun
New article How to Post a Product in the Market is published: Publish your interesting applications in the Market, and they will be immediately available to all traders who use MetaTrader 5 worldwide. The Market is a great opportunity to earn, with an immediate transfer to the account and convenient...
VHF adaptive ADXm: Short description. Author: Mladen Rakic
RAD - Rapid Application Development library: Rapid Application Development library. Author: Andrew Gomanchuk
Easy Canvas: The library and iCanvas class simplify writing programs using Canvas. Author: Nikolai Semko
StochasticAlerts: StochasticAlerts is base of the Indicator Stochastic Oscillator by MetaQuotes Software Corp. with alert and email alert and option to display trader info and signal. Author: Roberto Jacobs
ParabolicAlert: Parabolic Stop-And-Reversal system with Alert is base of the Indicator Parabolic by MetaQuotes Software Corp. with alert and email alert and option to display trader info and signal. Author: Roberto Jacobs
  New MetaTrader 4 build 1160  (34   1 2 3 4)
New MetaTrader 4 build 1160 The updated version of the MetaTrader 4 platform will be released on December 14, 2018. The update will feature the following changes: Changed MQL5 Storage operation protocol in MetaEditor To support shared projects, we have updated the protocol of operation with the...
hi, can someone help me to insert a rectangle coloured object area on this indicator attached like my image?the condition must be this -The rectangle must be with the same withd of the ma segment line(adapt on each timeframe) -height of rectangle is given by the distance between the two lines...
Hello everybody, I am trying to find out the exact formula allowing to compute the required margin to open a trade, given a certain size (especially for what regards metals). I already looked around the web and forum's topics and I found examples. Unfortunately all of them, in some cases, does not...
  MQL4 CheatSheet  (1)
Introduction Hello MQL5 Community, I am here to share a small amount of knowledge with anyone who may find it useful. Below, you will find a large list of code snippets that can be used to make your first EA! 90% of this has been sourced from online blogs, here in the forum, or the MQL4...
Hello all With regard to the protocol for communicating to a broker from MT4 - ie the communication side of what happens when you place a trade and close a trade, is this documented anywhere? I am trying to find out if there is any difference between trading manually and trading via an EA - ie...
The live update for the build 1160 do not work. Can you help me.
  Traders joking, the beginning  (7350   1 2 3 4 5 ... 734 735)
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...
Is it possible to know if the order was closed by 1. normal tp/sl 2. Manual close 3. closed by **pip 4. closed by profit dollers. etc..... Is it possible to put mark (comments?) when CloseOrder? If it is possible to leave a foot print, I think I can know the order was closed by 1 or 2 or 3. Any good...
ask for help For payment please check Order number: 919895545 [...]
Sorry, this is a temporary entry that will be deleted just to format the below as code on the web in order to make use of the Google Chrome "Highlight all on dblclick" extension. If you know a better place/way to do so please share.-2down...
Hello. How can I make RSI be calculated for all stocks and then I filter stocks by their RSI?
Hi there,   I don't have a MAC, but want to know if it is at all possible Wininet functions on a MAC?   I have an indicator, that I want to use to check if an account is active/inactive via a URL, but WebRequest() is not available for indicators.   I have the following code running successfully for...
Hello Everyone, While I am doing chart analysis I realized that MA, BB and some other indicators does not show on back history bars (even if I downloaded all History data for years , and Activated chart history bars to maximum) it happens when I am using EMA 500 or above, BB 99 or above any...
Hi guys, is it somehow possible to change the default creation of an OBJ_FIBO with only 38/50/61 levels? I tried to delete one level by using OBJPROP_LEVELS but this value is always zero after creating an OBJ_FIBO. Any ideas? Maybe I can change the original code from Metaquotes in the library...
TheRumpledOne is now coding FREE indicators for MT4 I am having a blast!!