To post a new topic, please log in or register
  EST time  (1)
Hey guys, Is there any indicator I can use which take current candle time and convert it to EST from GMT and show on left corner of chart? I am backtestingand this GMT time is a bit of issue for me and slows down things. Thanks for all your help :) Sach
  Become an Author at MQL5.com!  (144   1 2 3 4 5 ... 14 15)
Thenew MQL5 Community website at http://www.mql5.com keeps developing. Weinvite all of you to make your contribution to this development. Thenew MQL5is the evolutionary continuation of MQL4. The new language ischaracterized by the support of object oriented programming, by ahigher code execution...
If the seller are selling productswhich don't work from their own web sites, can MQL5 remove the Seller from postings? I purchased a robot EA <Deleted> and his EA doesn't work at all - each order is with order price $1.1 higher than the current EUR/USD price. (Attached file is the screenshot of
several months ago I got to know how a decompiled code looks like after I got banned. So I have just been curious on to Jobs that I see in the freelance section with statements Convert ex4 to mq4 and also on the question that do the freelance moderators view files sent via zip files as I have Just
  VPS not working  (7)
Hi, Few days back, my server was switched. I managed to move VPS to new server site....by I think the VPS is frozen. Please advise, as to how I can get it back to work. Thanks
Thanks for taking the time to look at my post. I Need to understand why the results from my Optimization, output in the way shown in the Picture attatched. In the picture there are a lot of plots at the top of the result graph that show the Tester ran a Pass with pofitable settings. There are approx
On May 21, Microsoft officially released a major update of their operating system Windows 10 May 2019 Update (Version 1903). This update affects configurations and encryption keys similar to the installation of a new Windows operating system. In order to protect Market products, the MetaTrader...
As a trader logged in to MT4/5 client terminal, I want to be able to login to my broker account and deposit money so that I can have the money to my trading account and cover my opened positions faster (rather than going to my broker's website, loging to client area, deposit to the master account
Hi, I've been looking for this answer in the forums but most articles and topics are dated since MQL5 accepted only the default class constructor. Now it is possible to have different constructors with different parameters. But, try to inherit a base class whose only constructor has arguments...
  Deposit Problem  (3)
I am facing problem everytime when I deposit funds with my Debit Card. The error is showing 'Desclined' How can i solve this and there is no other way to deposit funds..? Why don't accept Skrill
  Automated EA launch.  (12   1 2)
Hello. Is it possible to attach an EA to a chart through another EA
This may sound like a stupid question, but what is the definition of a good strategy? The ultimate fantasy would be a strategy trades at a massive Profit Factor, with almost 0 drawdown, that has many trades, and works on all Forex pairs on multiple timeframes. But is that realistic? I have found
test on EURUSD,H1 (netting) 2017.04.07 15:31:38 failed instant sell 4.95 EURUSD at 1.06500 sl: 1.06600 [Volume limit reached] 2017.04.07 15:31:38 failed instant sell 4.95 EURUSD at 1.06499 sl: 1.06599 [Volume limit reached] 2017.04.07 15:31:38 failed instant sell 4.95 EURUSD at 1.06498 sl: 1...
I use to be able to do this in MQL4, but now I can not do this in MQL5. I found many 1/2 answers or how to's, but none works. If anybody would be so kind as to perhaps so me the full code. Just place text on x,y with color, nothing complicated... Thank you kindly for any assistance. 
This thread about how to fix some tools (indicators, EAs, scripts) which may stop working with new 2265 build The information about new build - New MetaTrader 5 Platform build 2265: DirectX functions for 3D visualization in MQL5 and symbol settings in Strategy Tester
  problem in robot  (1)
Hi, I used a robot and it worked well, but the problem is that the balance is decreasing even though all the deals are winning. Please help me
  mq4 or mq5?  (9)
i will learn the mql programming it's better that i learn mq4 or mq5 programming what is your suggestion
  Signal Systems  (393   1 2 3 4 5 ... 39 40)
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
  Trading Signal  (1)
Hello house, please i would appreciate it if someone could show me a reliable fx free signal provider. Thank
  Brainwashing System / Asctrend System  (239   1 2 3 4 5 ... 23 24)
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...
I am a newbie trader who wants to use an EA. I installed a VPS on my terminal yesterday and intend to install an EA on Monday. My friend told me that I did it all wrong. That if I install the EA after the VPS the VPS might not recognize the EA and that I might have to reinstall the VPS after the EA
Hello, I have been curious as to why we have signals and EAs for currency/forex, but not for stocks. What is the reason for this - it would be great to know the historical reasons as well. MT4 itself is a decade in, so what are the reasons developers or strategists don't offer stock indicators/EAs
  Something Interesting to Read  (63   1 2 3 4 5 6 7)
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...
Hello everyone! I'm trying to create /find an EA that's capable of doing many trades in one month (the more it makes, the better). It doesn't need to be profitable, as long as it doesn't destroy the account. For example, in 1 year, it should not lose more than 20% of the initial deposit. I have
Dear Forum Members, please post any Fibonacci Based Indicators for MT4 or MT5. share here
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 programmed a pointer, but when I upload it, this error appears to me, as in the picture Note that the file format is correct ex4
Hello. Happy holidays. Please forgive me if I am asking a newbie question because I am a newbie. Now, I have this EA that I discovered on the internet that I want to use. When I launched the EA on a chart I discovered that it has no magic numer. All other EAs that I have been using have magic
257 Pips, One Afternoon, One Rusty Old Indicator (--- spreads = 225 pips ---) DISCOVER SCALP TO FREEDOM K.I.S.S. (Keep It Simple Sweetie) FOREX TRADING SYSTEM Let's give 6 pips average from not getting out at best --- below still seems to give: 177 pips in an afternoon?? I put the good old indicator...
Hi Everybody, This is my first post. I'm looking for a Support and Resistance indicator doe MT4. Any ideas
Downloaded the MT5 platform on my PC, I'm trying to access US stock market data. I've searched the web for the how-to's and all of them say to go to the symbols list under marketwatch. But I'm not seeing a list of markets as opposed to what is being shown in these how-to guides for getting stock
  Beginner's club  (8)
Hey I'm new to this website I really wanna learn how to trade in and out Can someone help me from where should I start and keep doing something consistently so as to get a brief idea of how to trade A help would be much appreciated...thank you
Just curious about anyone trading preferences, I mean what do you prefer to trade Forex, Stocks, Futures? Is well known that Forex is the greatest market hands down, but unfortunately it doesn't offer certain analysis tools such as true volume, the book or TRIN, TICK, VIX tools which can be very...
Hey guys, What is your analysis of oil market. Thank you
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...
Hi all I'm about as new here as one can be. Both to trading and to this forum and is my first post here. Hoping I can get a answer to a question. Google hasn't been able to help. I want to know how can I calculate my lot size for opening a trade on NAS100. Is there a known formula? For forex pairs
Hi I'm hoping someone can help my to explain what all these contract specifications mean. (Looking at the NAS100) I took a snippet from two brokers. (I only list the specifications I am unsure about) AxiTrader: JP Markets: Stops level: 1 4 Profit Calculation mode: CFD CFD Margin Calculation mode
Am a python programmer i programmed a triangular arbitrage bots for cryptocurrency. Now a good deal drove me to forex trading i want to build a triangular arbitrage bot. i tried to understand how to do triangular arbitrage manually on MT5 before building the EA bot for it but i understand None. i
  Apple  (34   1 2 3 4)
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...
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...
to start your weekly trading i advice you guys to go to favorite symbol chart and draw daily support and resistance and weekly support and resistance as well and write it down or keep it on different colors on your charts. whatever your strategy you should know these points
At the 19th of October Ak Investment,one of Turkey's largest brokers, officially launched the MetaTrader 4 platform for Forex and CFD trading. The companynow offers its traders access to the rich functionality of thepopular platform — everything traders need from trading and analytical functions, to...
At the end of the last year, we informed you about the first MetaTrader 5 launched in Thailand. One of the leading Thailand brokers Apple Wealth started offering the terminal in demo mode. Recently, the company has undertaken yet another step - now, its clients trade shares at SET (Stock Exchange of...
I've been searching for the above but haven't been able to come across any brokers. I would really appreciate some help
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...
There's a popular belief that trading robots "don't work". I know they can be profitable but how much really? For a few dozens of dollars you can buy EAs that theoretically perform several times better than the best stock market indices, but if they were doing really well in live trading, the
I am trying to follow the code this person is providing in his example (Code pasted below) #include<Trade\Trade.mqh> Ctrade trade;input int SmallMovingAverage=20;input int BigMovingAverage=50; void OnTick() { // Calculate Ask price double
Hello, I have written an EA that should trade 36 symbols of the market watch at the same time. This works in the strategy tester exactly as expected, so it executes exactly the program. However, when I want to run the program live in the demo account, it stops at a certain point. Basically, the
Hello friends, I'm writing an EA but I'm having trouble with the programming logic part. The EA should do the following: At each candle check if the fast moving average of 05 has crossed from low to high the slow ones of 75 and 85, if it has, check if MacD has changed from negative to positive for
Hello, Is there any function in Expert Advisor that the signal is received only when each candle starts? (i.e. I am looking for a function to control that each signal works every 30 minute when each candle (30M) starts? Best, S. Green
  vps trouble  (12   1 2)
Hi guys I have a ea that I want to run on a vps but I am having difficulty setting up the vps. I went trough all the steps to migrate and to synchronize the vps with my mt4 account but it does not seem to be working. The EA works when my pc is on it enters and exits trades but not when I turn the pc...
i cann't use more local computer to optimize my EA, but system‘s macd can be used....why?help! thank you
Hi everyone Does anybody know of any EAs what use hurst cycle analysis? Or even a system based on FLDs? It's something that interests me but I dont have the slightest idea of coding
Good morning, I'm trying to learn the MQL4 language. I downloaded the MT4 platform. I downloaded all the data (F2). I created a program and did the tests. I tried to search for operations on MT5 and the values (RSI, MA, BID etc etc) do not always coincide. So if I change platforms or brokers the
If you have a $10,000 balance 1:100 demo account with a risk percentage input in you EA, and if you input say 10% then is the trade size $1000 when your first trade is found or is the 1:100 leverage automatically applied so the trade size becomes 100,000 (1lot)? Any info helps thanks
Hi guys, I hace several questions about OnDeinit function When close MT5 does this function works? I mean, I use 100 charts, each one with the same indicator. If I create a function that deletes all indicators of all those 100 charts into OnInit, It will work? My problem is that I use the same 3
Can you see what is wrong here? I get some operator is needed when calling this function. I want to scan orders on other currency pairs on other charts and see what type the other orders are, and set it to a number of 1 if it is active. So I call it two times one for buy and one for sell. But it is
  Day Counter  (6)
Merry Christmas everyone! I have been trying to figure out how to code when a day has passed, add one to the candle counter then determine if trading is allowed for that day. Any help will be greatly appreciated. A comment function for the day counter may also be helpful
Hi. I coded an expert to calculate the new lot size after every position. Problem is, the calculated lot is not used in the immediate next trade. It comes second. Can anyone help me find a better way of doing it? Seems I have been using a wrong approach, for way too long. I can't think no more. D(
Hello Community, Is there a way to view and track your P/L for each EA that I am running? I am currently running 3 EA's on 6 currency pairs on one account (so 18 charts in total). Even though the net result is that I am making steady gains I need to know which EA is the most profitable. In other
Hi, Please help. What does this indicator count for values? It reminds me of RSI but it is a little different. Thank you for help double tempPrice; double f88, f90; double f0, v4, v8, vC, v10, v14, v18, v20; double f8, f10, f18, f20, f28, f30, f38, f48, v1C; double f50, f58, f60, f68, f70, f78
Hello everyone I have a problem to solve How to display the technical indicator values of two time zones on a chart? The following picture is an example Current chart is H1 There are two KD technical indicators opened below Hope the second KD technical indicator is to show the value of the H4 time
Here is my giving back to the community for my success.Here is indicator SSRC the best trend indicator.enjoy
I’m trying to code an indicator that displays an arrow if the close of candle [i] is > the close of a ‘specified’ number of previous candles (ie if it closes above the previous number of specified candles) but I can’t find my way out of this. Kindly help community. int OnInit() {//--- indicator
Hi, I am looking for an indicator where one Moving Avarage is divided by another. For example 20SMA divided by 10EMA, or similar. Does anybody know if such a thing already exists? Thanks, h4rry
Hi, I have the following questions on user defined function: Question 1. Can I put a if statement within the function as I want to combine two functions into one ? Question 2. Can I use the same variable (a and b) in two different functions, does it confuse the program . In the main program we have
while(pos>=0) { // ******** SLmin Function ********** double Func_SLmin (iCxu) { j=0; SLmin=3000; while(iLow(Symbol(),PERIOD_H1,j)<iCxu) { if (iLow(Symbol(),PERIOD_H1,j)<SLmin ) SLmin=iLow(Symbol(),PERIOD_H1,j); //Print (Symbol()+"SLmin = "+SLmin);
I have a company
Hi All I am trying to create a ROC indicator, but for some reason, it doesn't get displayed, the code is below double ROC, CurrentClose, PrevClose;double RateOfChange[]; CurrentClose = iClose(Symbol(), 0, i); PrevClose = iClose(Symbol(), 0, i + n_Period); ROC = CurrentClose -
This is a bollinger band with -4 offset. The idea is that we sell when it hits the top and buy when it hits the bottom. For some reason this looks way too perfect. Problem is... It will never actually trigger a trade because of the -4 offset. Price has nothing to come in contact with. Is there a way
  Indicators with alerts/signal  (15834   1 2 3 4 5 ... 1583 1584)
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...
Hi, I think the picture says it all. Its the standard Bollinger, inserted from the menu, and it was like that after some hours. Totally impossible ... actually. SMA goes up but price goes down? No way. But it confirms some other problems that I have after some hours when reading bar data and do own
  Currency Strength Formula  (15   1 2)
Hello Guys I need help in creating the Currency strength formula that works on comparing the correlation of 8 major pairs that looks like below 50 is neutral, below 40 is weak currency, above 60 is strong currency Anyone can help on giving the formula on how to calculate those? thanks
Hello guys, In attachment you can see a screen with some indicator. Have you ever seen it? If yes so where can i find it and what is the name of it ? B.R Jurina
  File Function  (2)
handle=FileOpen("File1.csv",FILE_CSV|FILE_READ|FILE_WRITE,','); FileSeek(handle,0,SEEK_END); FileWrite(handle,Symbol(),TimeToStr(CurTime(),TIME_DATE|TIME_SECONDS),Profit); FileClose(handle); handle=FileOpen("File1.csv",FILE_CSV|FILE_READ|FILE_WRITE,','); FileSeek(handle,0,SEEK_END);
New article Exploring Trading Strategy Classes of the Standard Library - Customizing Strategies is published: This article is intended for novice/beginner users who want to approach some kind of customization with functionality and without writing an EA from scratch. In MetaTrader 5 we have a...
CHistoryPositionInfo Class: A class for easy access to the closed position properties. Author: amrali
Dserg - LinRegression Breakout: The indicator for automatic drawing of consolidation areas and channels based on the linear regression Fig.1 Dserg - LinRegression Breakout Author: Nikolay Kositsin
BitMEX Trading API Header files: BitMEX Trading API Header files and example codes to trade on BitMEX exchange. Author: Romeu Bertho
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 MetaQuotes ID in MetaTrader Mobile Terminal is published: Android and iOS powered devices offer us many features we do not even know about. One of these features is push notifications allowing us to receive personal messages, regardless of our phone number or mobile network operator....
New article Library for easy and quick development of MetaTrader programs (part II). Collection of historical orders and deals has been published: In the first part, we started creating a large cross-platform library simplifying the development of programs for MetaTrader 5 and MetaTrader 4 platforms...
New article MetaTrader 5 on Mac OS is published: Apple products have become very popular. MetaQuotes Software Corp. attentively follows the progress of the IT industry and has already released the special mobile applications for iOS-based devices - MetaTrader 4 for iPhone and MetaTrader 5 for...
New article Limitations and Verifications in Expert Advisors is published: Is it allowed to trade this symbol on Monday? Is there enough money to open position? How big is the loss if Stop Loss triggers? How to limit the number of pending orders? Was the trade operation executed at the current bar...
New article Tips for an Effective Product Presentation on the Market has been published: Selling programs to traders effectively does not only require writing an efficient and useful product and then publishing it on the Market. It is vital to provide a comprehensive, detailed description and good...
Safe Trend Scalp: Safe Trend Scalp is an automatic robot that trades with automatic Trend lines that ea crated with market history. Author: Faeze Bakhshayesh
  Experts: 5MinutesScalpingEA  (17   1 2)
5MinutesScalpingEA: 5MinutesScalpingEA uses indicators (5) from 5MinutesScalpingSystem.This expert is to help any user of the system to try some different settings of indicators easy and quickly.Expert need indicators to generate signals. Has the ability to use all of the indicators, or some of
  Experts: RoNz Auto SL-TS-TP v.2  (216   1 2 3 4 5 ... 21 22)
RoNz Auto SL-TS-TP v.2: EA for Automatic StopLoss, Take Profit, Profit Lock, and Trailing Stop. SL and TP could be hidden. Author: Roni Nafrianto
Basic expert adviser with trailing stop: A basic ea template with trailing stop for further development Author: Kenneth Parling
Dynamic Stop Loss: Dynamic Stop-Loss is a tool for traders who trade without a stop-loss. It gives the traders a trick to trade as if there is no stop-loss but actually using one. Author: Joel Protusada
Hii Guys This is my first ea,.. It should delete any bending orders after hitting the target,.. i surrender ... i do not know why it does not work. any help guys extern double Lot = 0.01;extern double Lot2 = 0.01;extern double LotFactor = 2;extern int StopLoss = 40;extern int TakeProfit = 40;extern
Hi, I am trying to get nth prev candle's open and display it on the current candle. But my code does the opposite. Puts the current candle's open on nth candle. Couldn't figure out what I am doing wrong. void start() { int i, Counted_bars; Counted_bars = IndicatorCounted();
//+------------------------------------------------------------------+//| ProjectName |//| Copyright 2018, CompanyName |//| http://www.companyname.net
Before developing Neural Network systems for Metatrader we experimented with Volume Spread Analysis(VSA). What we've done with this trade assistant is taken the VSA trade setups that signal the largest movements in the market, simplified them for the non-VSA expert, and modified the VSA concepts...
Hello, i just started studying MQL4 programing, i am working on my first EA, but it wont open any trades. It is a Scalper for the USDJPY, and the premise is simple, it should launch an order if the price is 15 points above an 8 period MA (it shoul buy) or 15 points below an 8 period MA, it should
The MetaTrader 4 platform update will be released on Friday, September 13, 2019. The new build features the following changes: MetaTrader 4 Client Terminal build 1220 Fixed occasional slowdown caused by operations with a large number of graphical objects from MQL4 programs. Fixed passing of
HI all, I have a bit of an issue with just one broker as it seems that the last EA attached with a chart reactivates itself after havin been closed whenever MT4 is started. A quick example would help: EA is attached and running on one chart. During the day I stop the EA and detach it from the chart
Hi All, I have an issue with the function below. It is part of an EA. When a certain profit is attained for a grid and for a specific cross, the fuction is called and is supposed to close all the current orders and delete all the pending ones for the specific cross. It seems to be working till a
Hi guys   As I started Meta Trader 4 this morning, I'm suddenly not able to select periods and tools for a chart. These buttons are all greyed out.   This picture explains what I mean:     I also noticed that I have no connection to the broker server. Maybe this has something to do with it?   Does...
  Traders joking, the beginning  (7728   1 2 3 4 5 ... 772 773)
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 When the ZigZag indicator was "fixed" from v600, it effectively made it difficult to use this indicator in an EA with strategy Tester and optimization, unless you isolate Backstep and don't include this in the optimization. I use Zigzag in my Ea using icustom to call it. And therefore when
Stop Loss calculated from money given is useful in two cases: 1. Fixing a Stop Loss to a predefined value to risk. Let's say $80. 2. Stop Loss as percentage of the current account balance. Here is the formula for calculating stop pips from account percentage: ////// The Account Percent Stop limits...
It's weird again. I was testing my EA and then suddenly I couldn't replicate the results on the same time range with the same parameters. I wasn't editing the code, just changing very few parameters. Even optimization gave at best only 75% of the previous profits. Why did this happen? I wish I knew
Hi, How can I detect a double click event on a Chart ? I can do it for a single click using : void OnChartEvent(const int id,                   const long &lparam,                   const double &dparam,                   const string &sparam) { //new logic    if(id==CHARTEVENT_CLICK)    { .........
I don't understand. I have an EA that is working on one symbol, but not the other. I copied the code from the good one and all I have to do is change the symbol and the magic number. The error happens for both buy and sell. For instance, I got this error: "Buy USDCHF at Price: 0.98184, SL: 0.98084"