To post a new topic, please log in or register
Hi experienced traders, My Signal subscription shows my signal expiration date is 2020.04.05 07:30. Do you know how to calculate it for local time? My location is Japan. Thank you in advance and best wishes, Sky
Hello everyone, I am trying to print my own values in the Optimization result along with the values originally displayed by it. See the image:   One can see Pass, Result,Profit,TotalTrades, and rsi_period. If I want to add my own values line win percentage, loss percentage, amount left, then how I...
Hello everyone. I have a problem that I can't solve. I use MT5. I am creating a generic EA that I want to use for any product (forex - cfd - commodities - etc.). The problem is that when calculating a Stop Loss or a Take Profit in monetary value I cannot then transform it into the value
Hello, I meet a problem when I try to compile my EA, it return me a error message " '}' - not all control paths return a value" . How can I solve it??
Hi, I need help as my money is locked into a project since early November and the developer is not responding to any messages. Support says I should wait for the developer, but he is not responding OR have even attempted to do th job. Please HELP Thanks
  Traders Joking  (11836   1 2 3 4 5 ... 1183 1184)
Do you have interest or hobby outside trading ?, or some jokes and humor for other forumer ? or maybe something else ?, Well, why don't show it here. Life is NOT all about trading or programming, and so is this topic, and you must participate in this topic ;D.
As talk~ How to open two MT4 with the same broker at the same time? Because I have two account numbers at the same broker all is the MT4 account, but I cannot open two MT4 at the same time. Can anybody help
Be Careful There are some lie in Freelance Market! MetaQuotes should be responsible for it. The final result is after arbitration order it Freelance cancel job. Money not come back to customer. It's my first time put order in freelance market ,the freelance can't finish the job. The freelancer can't
  Decompile Jobs in Freelance  (16   1 2)
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
  Gold could go back down  (213   1 2 3 4 5 ... 21 22)
Gold may try to drop again during this week, but the 1063 level could act as a temporary support. To the upside, the 55 day exponential moving average, which is currently at the 1120 level could act as resistance in case gold retraces to the upside. But the Dollar stays strong and as long as the...
My account has been limited for over 2 days. I have sent message to Financial Operations but no response and this has been over 2 days ago. Can someone help. As I need to pay freelance worker and I have money still locked
Hi, Can the seasoned expert here advice me how these ppl win in Demo trading contest ? I always see winning up to 20000% in one month. Thank you for your sharing
Dear MQL admins and moderators, One of my signals is tagged with two nonsense messages. 1. "No trading activity detected on the Signal's account for the last 6 days" -> In fact, there were enough recently opened trades. The last one this morning. 2. " Signal account leverage was changed 1 time from...
  Service Desk  (8)
Not responding ... No other way of asking for help I need to put $70 in escrow for a job ... My balance is $70 ... Am told ... Not enough money to pay for the work HELP
  signal lost  (1)
Hello, My signal is not working anymore, i don't know why. The password is good. What can i do please? Regard
This Analysis is brought to you by PROFIFOREX AUD/USD Current trend On Monday, the pair was in an upward direction. There is growing pressure on the pair in face of concerns regarding a slowing Chinese economy which gained an increase following the weakening of the Yuan against USD, a percentage...
  Non-Farm Employment Strategy  (39   1 2 3 4)
Hi all what is your NFP strategy ? today is NFP FriAug 212:50amJPY Monetary Base y/y 38.0%43.2%36.0% 2:30amAUD PPI q/q 0.1%0.5%0.3% 7:00amGBP Nationwide HPI m/m 0.4%0.3% 8:00amEUR Spanish Unemployment Change -80.0K-127.2K 8:30amCHF SVME PMI 53.151.9 9:30amGBP Construction...
Hello: I have developed a trading strategy and would like to put into code. I don't want to learn MQL5. I am willing to trade the strategy for the code. Use it if you like it. I have almost finished the faux code and can make it available privately. All the Best Chris
I would be very grateful if someone could help me with converting the RSI and MACD below to mql5. I have seen an article on the forum on converting mql4 code to mql5 which has helped me in some other cases but I don't seem to get how to do it for the RSI and MACD. Please see the code below
static double utick;double price = (Ask+Bid)/2;double diff = utick - price ; Comment("Utick:"+utick+" ** Price:"+price+" ** Dif:"+diff);utick=price; The output of the comment is Utick: 1.121195 ** Price:1.121205 ** Dif:-1.000000000006551e-05 But the correct output should be: 1.121195 - 1.121205 =
I have written some code that uses CTrade to open a buy or sell trade (only one trade for now). I want to know the type of trade before I close it and from what I've read it seems I should be using CPositionInfo to determine whether it's a buy or sell. How can I use this CPositionInfo to check the
Hey everyone, Do you prefer automatic Forex Trading Signals or a Forex Trading automated EA? Please vote & state some feel free to post here to say why! Thanks =)
In this thread we will build our own Bollinger Band strategy by combining our heads together. Let's discuss: DISCUSS: - what do you think is the best way to recognize RANGED and BREAKOUT? - what other indicators complement the Bollinger Band? - what is in your experience the best timeframe for...
Hello everyone. How can I open an order with a predefined stop loss size in pips? How do I do that, regardless of the price at which the stop loss will fall, I want to open an order with a pre-defined "x" pips stop loss. I didn't see any similar option in Metatrader, there I need to enter a price
Hi, i work with many good traders and i want to sell their signals with my profile...is possible to do it? Example: mql5 account owned by me - mt4 account linked to mql5 owned from one of my partners. Best regards
  'Close all'/'Open' tools  (586   1 2 3 4 5 ... 58 59)
'Close all' scripts for MT4.
  Write ea for free  (20   1 2)
I have written hundreds of EAs for traders. No matter how complicated they can be, I can write them if necessary. I will write EAs for free to work together for stable profitability.Friends in need please post here
  Something Interesting to Read  (70   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...
The DD% in the tester optimization is "Equity DD% Maximal", but I want to see "Equity DD% Relative", what should I do? please help, thank you
Hello dear Traders! Who can help me with an script for one click trading, or something help me? I Trade index and Nasdaq with Us30 go in the same direction. If I am on the nasdaq and I click buy on the 'one click trade', I need in the same time, an script make click buy on the US in the same time
as stated here https://en.m.wikipedia.org/wiki/List_of_stock_exchange_trading_hours Most markets are open Monday through Friday and closed on Saturday and Sunday in their respective local time zones,[1] although some such as the Tel Aviv Stock Exchange and the Saudi Stock Exchange shift this to be
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...
I have downloaded mql5 but it only showing me Forex and metal in MarketWatch...how can add Indian stocks to MarketWatch
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
I am looking for what are the best ways to make money with cryptocurrency
  Forecast and levels for Nikkei  (34   1 2 3 4)
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...
  Forecast and levels for Dax Index  (63   1 2 3 4 5 6 7)
Dax Index January-March 2017 Forecast: flat within bullish with key resistance at 11,649 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 11,485 level to above on close weekly bar with 11,649 as a nearest bullish target to re-enter. Thus, the weekly price is...
  Apple  (36   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...
  Forecast and levels for S&P 500  (463   1 2 3 4 5 ... 46 47)
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...
  Google  (16   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...
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
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...
  Bonds  (3)
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...
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
Hi.. am trying to make a version of trailing pending order for mt5 always get order modify error mql4 working pending trailing order void TrailPendingOrders() { if(Order_Type==Stop_Order && Mode==trail){ double price; int total,totalTrades=0;//---- total=OrdersTotal();//---- bool ordmdf;
HI, I tried using the cloud network to optimise my EA. I have 29USD in my balance and I start the optimisation, enter the password and then it says "processing" next to MQL5 Cloud Network Europe. Then after some time it says "failed". It tries the same thing with the same result with MQL5 Cloud
  Timestamp  (1)
Hey, I am just wondering if someone can help me out. I am trying to create my first EA and I am wondering how I can get a specific timestamp on a candle bar if the statement is true
Hello everyone ! I'm setting up an script using the following code to make a buy on market price: trade.Buy(lote,_Symbol,0,0,0,"buy"); I'd like to set this action with an automated SL and TP line, aprox. 100 points above and below the buying point. something like this
Hi guys. Not sure what's going on here, maybe I'm just a noob. I want to do testing on an EA. When I download MT5 from MetaQuotes site, I can demo and test any EA and it works fine, even without downloading full bar and tick data for the symbol (in CTRL + U menu). So part 1 is complete, I want to
Sometimes an order get executed on the server-side while my EA is on the way of processing a modify on that order. Everytime that happens it needs to wait full 3 minutes until a 'timeout' error returns, because I figure my server is simply not good on handling that. What I need is setting a way for
There was a way to set min margin level for optimization passes in MT4: However, in MT5 I don't see such a possibility. Could you point me to the equivalent feature in MetaTrader 5? If there is no such feature, then please consider the following use case. During the optimization, some passes (sets
Hi guys, today I experienced a very strange EA behavior when i tried to read from a txt file in the MT5 tester. The file is located in the "normal" terminal folder and should be loaded by using #property tester_file. Since it did not work with the txt file I also tried opening a csv file. Now the
Hello, i hope you can help me because i have a strange problem, my idea is to open a buy order whenever the ADX value is greater than a preset ADX value and the D+ value crosses the D- value of the ADX. This works fine in the simulation, but not in the live account. I do not even get an error
I can't remember if I ever could change the input parameters just before starting to debug. It seems that I can when using real-time data but not when using historical data (which I always use). But it's not a big deal because I thought I could just change the value in the source and recompile. But
Are there any rules of where one can place a PRINT statement and where not? I find that sometimes the ST does not see the PRINT statement until I move it to another position. But that presents a problem because I want to see the values of certain variables st a particular place in the execution of
  Problem with  (1)
Hello, i want to check day of week using TimeToStruct within OnTick, when new bar occurs. The problem: Day of week is constant. TimeToStruct on latest completed bar fetched with CopyRates, returns no error an also the bar date is changing. void OnTick(){ if(new_bar() == true) {
Hope everyone are keeping safe during this time. I have a question regarding copying trades. I have and mt5 account with a signal provider. He enters the trades into my mt5 account from his own VPS and EAs. What I want is when he enters a trade into my account, I want that trade to be duplicated in
I have written an EA and it seemed to work just fine until i noticed some wrong trades when tested or run on a demo account. I have put a delay on the next transaction after one has been executed by using a variable int HoursDelay. The value of this variable is set as HoursDelay = 4. The variables I
I'm hoping someone can help. This array was fine but all of a sudden I get this warning: possible use of uninitialized variable 'candles'. Not sure why the error. int getPattern(){ if(Bars < 4) { return(0); } int candles[4]; for(int i=0; i<4; i++) { candles[i] =
Hi there everyone, I'm looking for a reasonably straightforward indicator but can't seem to find one. I've tried coding it myself but am struggling with the alerting side of things. I'd like an alert when: - 6 ema > 9 ema > 50 ema > 200 sma - 6 ema has just crossed over the 9ema (so, the previous
Hi there, I noticed something weird happening when I want to place two indicators on top of each other. In this case below, I have two CCI indicators in the same indicator window but, as you can see on the attached image, their vertical axes are not aligned. For example the level 0 of the slower CCI
Hi. I have been creating and testing a few EAs and sometimes they can be a bit confusing when it comes to inputs. Sometimes, I accidentally put information into the wrong input. I figured that changing the appearance of the input boxes would help with this. As you know, the entries of the input tab
High, which is the biggest amount of buffers (indicator_buffers) and plots (indicator_plots) an indicator can have
  Multi Timeframe Indicators  (12204   1 2 3 4 5 ... 1220 1221)
Hi all, I've been wanting to have the ability to plot indicators from different timeframes on my chart, but MT doesn't have this capability built in. (Does anyone know of any charting programs that do this natively?) As an example, if you're following the IWCR system, it'd be nice to be able to...
Hi, I want my indicator to play a series of sounds, not just one. For that, I initially tested calling 3 PlaySound() one after the other hoping that the second would only start playing after the first was finished and the same for the third. Unfortunately I was wrong: in such conditions, even though
Hello I use an indicator for its alert. It works fine when symbols are in English but for my this particular use, the symbols names are in Persian. How do you fix this? I need help please. Thank you in advance. Here is a file attached about the problem
Hi All, I'm installing some indicators and wondering why some won't keep the settings. For instance, I'll click/check the Allow DLL Imports box and click OK but when I go to another tab like Inputs and come back, the Allow DLL Imports box is no longer checked. This also happens in other tabs and
Hi guys, I was wondering how to create a sizeable, draggable object. It will be a sine wave. It should be also deformed ( not only contained in a rectangular box but the box could become a translated trapeze Thanks
  Market Indicator  (1)
How can I move a paid for indicator from one mql5 account to another ... Both accounts are mine Thank You For Your Time :)
  RSI indicator  (1430   1 2 3 4 5 ... 142 143)
RSI indicator We are continuing discussion about the indicators. We have the following thread: Parabolic SAR indicator Momentum indicator Stochastic Oscillator Divergence Indicator Now we are talking about RSI. "Technical Analysis from A to Z": OverviewThe Relative Strength Index ("RSI") is a...
  RSI Cross  (2)
Hi Guys I was wondering if anyone has an indicator that draws an arrow when the RSI cross above the OB and below the OS. All i can find is arrows or alerts when the RSI enters the OB or OS zone. Im after an indicator that draws when the RSI exits the zones and candle closes. Many Thanks
Hello, my MTF (multi-timeframe) indicator works fine on opened market (when new ticks are received -> starting OnCalculate() function). E.g.: I see D1 moving average values on 10min chart... Problem is on the closed market where no new ticks are received. I get error 4806 (BarsCalculated function...
  Asctrend indicator in depth  (49   1 2 3 4 5)
With newdigital, and its topic about Signal System, I started to get interested in Asctrend indicator. The oldest traders certainly knows this indicator, but personally, being a novice trader, I had never heard before. As a programmer, I decided to start this thread to share my analysis of this...
  MQL5 Cloud network.  (16   1 2)
Hi, I'm a complete beginner here, and I've been trying to create an account and a connection to the agents, but I can't find my account number, I don't know where to look?Is there anyone here who can help me step by step
New article Create Your Own Trading Robot in 6 Steps! is published: If you don't know how trade classes are constructed, and are scared of the words "Object Oriented Programming", then this article is for you. In fact, you do not need to know the details to write your own module of trading signals....
EA For Stochastic Cross: The expert you see for cross-at Stochastic Designed.In this expert I used Stop and Target inputs for security.At the same time, there is a trade in between the two indicators.And it makes three SELL or BAY deals and can hold that trades until the next cross or target you
Micro Trend breakouts: "Micro Trend breakouts"naked trading price action EA draws 4 Trend Lines with "Fractals"(2main+2small) on chart and trades with Trend breakouts,has Trailing Stop Loss &Take Profit works with all time frames major forex pairs and stocks NASDAQ. Author: Aharon Tzadik
Multi Forex Scanner: Instead of having to analyze each pair individually, you can see at a glance what are the most promising pairs according to your own criteria. Author: Carlos Oliveira 
Refresh 28 Charts: This code extracts tick data from the broker's server and refreshes the 28 charts of the 8 commonly traded currencies in MT4. Author: Joel Protusada
Condition Scanner: Scan for conditions in which you have an interest. Show where the condition arose historically on the current Symbol and timeframe. On a separate panel, show where the condition has currently arisen for any of your chosen symbols and timeframes. Author: michael
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...
Instance ID script for MT4/MT5: This script allows a user to find out instance_id of the running MetaTrader instance/installation. Author: Stanislav Korotky
Smoothed_ADX: Indicator Smoothed ADX Author: Scriptor
New article MetaTrader 5 and Python integration: receiving and sending data has been published: Comprehensive data processing requires extensive tools and is often beyond the sandbox of one single application. Specialized programming languages are used for processing and analyzing data, statistics...
stoplos and takprofit: By running this expert, it puts Stop Las and tack profit for the open position Author: MASOUD SAFIZADEH
Stochastic with support / resistance levels: Stochastic with support / resistance levels Author: Mladen Rakic
Closing profitable positions based on the dollar: This code closes when your position is based on dollars Author: MASOUD SAFIZADEH
New article Econometric approach to finding market patterns: Autocorrelation, Heat Maps and Scatter Plots has been published: The article presents an extended study of seasonal characteristics: autocorrelation heat maps and scatter plots. The purpose of the article is to show that "market memory" is
Volume Profile + Range v6.0: Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram. Author: Olexiy Polyakov
Hello guys, I use this code snippet in my EA: #import "user32.dll" void keybd_event(int bVk, int bScan, int dwFlags,int dwExtraInfo); #import if (!IsTradeAllowed()) { keybd_event(0x76, 0, 0, 0); // press virtual key F7 keybd_event(0x76, 0, 0x0002, 0); // release virtual
Playsound in MT4 MQL4 has a bad error: Playsound does not work inside of loops. .. Playsound ("catsway"); // works well for (i=0; i...; i++) { if (i==...) // about once per hour { Playsound (dog.wav") // never works } Who can help me with an idea or better a workaround. Please send me an
When I first run MT4 or first attach the EA to a chart, the EA is loaded and initialized, but after removing the EA by "Close(x)" button of the standard library CAppDialog, the next time I attach it, it is loaded successfully but not initialized and does nothing until I change the time frame or
hello guys please i need your help, i developed this EA that uses CCI and moving average filter it was all good but my problem now is that it opens trade on every bar for example if you place it on a 1H chart it will open trade on every 1 hour. please how do i prevent this from happening. Let me
Hi All, In the last couple of days the emailing from the Metatrader platform has stopped working for me. Every time my EA tries to send an email I got a 'failed' message and this happens even when I try to send a Test message. Automatic emailing has been working well on 2 different accounts with 2
  Traders joking, the beginning  (7795   1 2 3 4 5 ... 779 780)
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 i used CHARTEVENT_OBJECT_CREATE to change color and the name of every trend line user draw on chart and i used a Counter to add number to a origin name and put it on trend line but it's cause a endless loop and Counter don't stop Counting
  error 130  (1)
I have been getting this error and I cant seem to figure out the cause. I have been trying for the last 3 days to figure it out. I assume its because of my send order operation so I have adjusted everything I can think of. Nothing seems to stop it from appearing in my journal during backtesting. one
  Elite indicators :)  (15143   1 2 3 4 5 ... 1514 1515)
Hello, Does anyone know where I can find an indicator that takes in price values, which when reached or surpassed will cause the indicator to send a sound alert?
  Indicators Time  (6)
Hi everybody... How we can made a function in mt4 editor to count time as a common clock second by second independent of tick value from the broker
Greetings everyone, I need a little help from you .//---- ma_angle_mtf.mql4//---- indicator settings#property indicator_separate_window#property indicator_buffers 3#property indicator_color1 LimeGreen#property indicator_color2 FireBrick #property indicator_color3 Yellow#property indicator_width1
Hi, does anyone know where I can find a tutorial on how to send telegram forex signals to my mt4 plaform ? Thanks
Hi I had downloaded MTsetup64.exe but my choise is for 4 version. why even if I choose version 4 does it install version 5? I'm interested in using language version 4: is it possible with mt5? Thanks Best regards Massimo
Hello I got many charts opened(USDJPY,GBPUSD,...) at the same time in my mt4 plateforme In one of this chart ,runs an EA Visually we can see in which chart it runs But is it possible programly to know the chart ID number in which the EA runs between all others Regards
When I opened MT4 today I was asked to login again and all the indicators and templates I added were lost. I have no idea what happened here. Everything was still working fine yesterday and I didn't need to login when I open MT4. I have to start adding the indicators and templates I use all over