To post a new topic, please log in or register
I'm limited to withdraw my balance after i have this message (from sistem).Anyone can explain to me? How to solve this?
Hi, Im new to mql5 and was wondering about multi-optimization. What im asking is, let us say that i im optimizing for a specific currency pair and found let us say 100 good parameters, how could i move forward on taking another sample data and use all 100 parameters into the next test? Im grateful
Looking for high quality 1 min tick data from 2004 - present. Or 2006 - present is okay too. We will be testing the data to make sure it is the quality we need, but if it is, we will be happy to pay for the advice. Thank you
I try to upload a new version but I get this error. Please recompile your product with new compiler
hi everyone. my EA dont have any error during compaile. but in back test I get the error "OnTick critical error" please advice me. thanks. //+------------------------------------------------------------------+//| plot MA indicator.mq5 |//|
After asking a 20 of programmers without receiving an answer I understand that the question is very difficult Premise a long long long time ago 1 tick = 1 price movement therefore there were reliable tick indicators in 2020, however, ticks are the average so they are tick = zero movements tick = 2
hello guys i have a problem, i have to log into my broker acc every time i turn mt4 on my pc and every time i log in algo trading is beeing turned off and i get message that algo was disabled becouse i changed acc. i have only one acc on it, i use mql5 vps, what can be the reason? can it be becouse
I contacted support but it is not canceled. Will it take a few days
i have commission shown in trading tab of toolbox but why not on mt5
  Broker  (2)
I configured my EA to trade a Maximum Lot of 0.02,but each time it launches a trade on a particular Broker platform it goes as high as 4 Lots.This is quite disturbing.Is there any thing that can be done to make it stick to the Lot setting of 0.02?This problem does not occur in other Broker
Any new software inevitably contains bugs that are not alwayspossible to detect even under the most rigorous in-house testing. Wetherefore attach great importance to all user reports about issues inour programs and try to answer each one of them. In order to improve feedback from MetaTrader 5 end...
Hi everyone, I'm new in MQL5/Metatrader, I'm wiritng my first EA and I'm a bit confused with Takeprofit calculation. I want to place a buy order with 60pips take profit target, looking at some example and documentation I thought the code below was correct, but it creates orders with take profit of 6
My question is Why doesn't use Metatrader the GPU? reguards
As you can see in the picture. I've started a SELL position at 1.12954 in UERUSD chart. I set the TP to 1.12854(The red line below the green line). But as you can see the price got below the red line and the position didn't close. I don't know why this happened because the difference between Bid and
  Simple code  (5)
hi i wrote a script as below but it has ('[' - invalid index value ) error can someone help me thanks int HowManySymbols= SymbolsTotal ( true ); long hh [ MathFloor (HowManySymbols/ 6 )];
United States Nonfarm Payroll: unexpectedly improves A closely watched report released by the Labor Department on Friday claimed employment in the U.S. unexpectedly showed a substantial rebound in the month of May.: "Total nonfarm payroll employment rose by 2.5 million in May, and the unemployment
German Industrial Orders fall German manufacturing orders fell even more than expected in April, highlighting the impact of the coronavirus pandemic on Europe’s largest economy. On Friday, the Ministry of Economics reported that industrial orders fell 25.8% in April compared with the previous month
European stocks: waiting for Non-Farm Payrolls European stocks were rebounding waiting for Non-Farm Payrollon on Friday. There are the following figures in the beginning of the trading day: The Stoxx Europe 600 rose 1.20%, German DAX rose 1.79%, FTSE 100 index rose 0.8%, Lufthansa rose 3.29%
Nasdaq-100 index hits record high The Nasdaq-100 index rose to a record high on Thursday, becoming the first major U.S. stock index to fully erase its losses from the coronavirus pandemic sell-off. The index, which is made up of the 100-largest nonfinancial stocks in the Nasdaq Composite, traded
European Central Bank keeps interest rates; PEPP was increased The central bank left key interest rates unchanged as expected. As stated in ECB report - "The interest rate on the main refinancing operations and the interest rates on the marginal lending facility and the deposit facility will remain
Weekly Initial Unemployment Claims decrease to 1.877 million First-time claims for U.S. unemployment benefits pulled back further off their recent record high in the week ended May 30th, according to a report released by the Labor Department on Thursday. The report said initial jobless claims
The German government adopted a second stimulus package to brings Total Support to €1.3 Trillion Germany will plough 130 billion euros ($146 billion) into a stimulus package to kick-start an economy severely hit by the coronavirus pandemic, Chancellor Angela Merkel said Wednesday. "The size of the
Wall Street firm Evercore Partners will pay junior bankers up to $25,000 to delay starting their jobs Evercore Partners Inc. is offering to pay incoming junior bankers up to $25,000 to delay starting their jobs during the coronavirus pandemic, according to external recruiters, a move that hasn’t
USD Overview (04 June 2020) Yesterday, USD weakened against most major currencies except JPY. The ADP Non-Farm Employment Change data (Actual: -2760, Forecast: -9000K, Previous: -20236K) released yesterday indicated that job loss has eased in May. Also, the ISM Non-Manufacturing PMI data (Actual
Boeing +13% after winning listing in Third Point Offshore Fund for the month of May Boeing (BA +12.6%) soars to the top of the Dow Jones index after a performance update from Daniel S. Loeb Dan Loeb's Third Point Offshore Fund listed the stock as one of its winners for the month of May. Although
Wall Street: Hopes for Economic Recovery A jump in Boeing shares led Wall Street higher on Wednesday, with investors hoping to recover from the economic downturn caused by the coronavirus. Boeing Co (BA.N) jumped 8.5% and was the top boost to the blue-chip Dow Jones index. Microchip Technology Inc
Chicago Board Options Exchange (CBOE) to delay reopening the trading floor by one week CBOE Global Markets Inc. made an announcement on Wednesday about delay of reopening of its options exchange trading floor in Chicago by one week because of continued COVID-19-related closures across the city and
Eurozone: unemployment at 7.3%; industrial producer prices down by 2.0% Eurostat, the statistical office of the European Union, were published the following figures on Wednesday: "In April 2020, the second month after COVID-19 containment measures were implemented by most Member States, the euro
World Economic Forum in Davos will still go ahead next January World leaders are expected to converge on Davos in January for a planned meeting of the World Economic Forum, that will be a combination of in-person and virtual conferences. Several global events have been cancelled over ongoing
US stock again closed higher yesterday, and forex market also reflected the optimism: Aussie and New Zealand dollar gained over 1% at one point, and WTI closed 4.03% higher. Dow Jones Index, S&P500 and NASDAQ gained 1.05%, 0.82% and 0.59% respectively upon closing yesterday. The upbeat mood of Wall
Hi guys, i`m developing an EA and I need to know how much money I have available to open more positions. The idea is, if I have already a position open, I would like to know how much money do I have left to buy other stocks. I`m using, inside OnTick the AccountInfoDouble() method. While the first
hi I am kind of beginner in coding , i try to code my first serious EA , i try to calculate the maximum value of an indicator at current candle not for previous candles i want to calculate maximum cci value on the current candle and keeps the value of maximum i tried to make a dynamic array which
I've been working sooo very long on trying to creat a successful forex system. I've bought tuns and tuns of systems and have downloaded thousands of indicators. My history is 3 years in the forex trading world and have had some successes and many failures, mostly due to poor money management for the...
I am using this method to catch only big moves. It works well but needs some tweaking espescially for exit. 30 Min and 1 Hr time frames are suitable. Indicator Setup Bullspower default setting (13) Bears Powerdefault setting (13) Accelerator default setting Buy Rules Bulls Power increasing and...
  Hull Moving Average's Trend System  (116   1 2 3 4 5 ... 11 12)
The system was posted by bradman when he needed this system coded. The system is simple. Long when HMA trend is up, and short when HMA trend is down. Attached is the EA, automated script for metatrader 4, and indicator of this system. You must install both of them. This expert advisor features: You...
  Is There Any Strategy?  (22   1 2 3)
There are many articles about the benefits of having a trade strategy, and articles are abounded by advises like these: Have you strategy of trading. If you have not a distinct Trade strategy, you lost all your money ... And so on But when I was searching for a strategy I only founds not useful
  "No loss" recovery hedging system  (136   1 2 3 4 5 ... 13 14)
Question: Would you be willing to trade any system or strategy you want on your $10000 account and turn every trade you take into a win trade (of $200 or $20) or a breakeven trade and have only a small theoretical chance of losing let's say $600 in worst case scenario? Some traders would probably...
This thread won't be about a question or problem, but rather about the anouncement of the presentation and documentation of an exciting trading concept. I plan to do a series of postings here in order to keep you guys updated. Anybody who has an opinion on the topic, please don't hesitate to comment...
  My New Free System[abha Sv038]  (103   1 2 3 4 5 ... 10 11)
Hi dear moderators, Would it be possible to manage this section more carefully ? This section is intended for topics about trading strategies, so trading discussions. Eventually accompanied with relevant code. I highlighted, on the top 14 topics, all the ones which are NOT related to trading systems
  The Murrey Math Trading System  (1709   1 2 3 4 5 ... 170 171)
Description of trading system (zip'ed html file) and some indicators (with the description inside the code - use MetaEditor to read).
I just started this thread as a continuation of the talking made on this topic (we can read it). Or 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...
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...
  Something Interesting to Read  (72   1 2 3 4 5 ... 7 8)
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...
Mtf,price action,market strength,momentum,trend,range,support and resistance,and volatility are the key elements that make up the synergy system.Pdf included for more indepth description of system components as well as entry criteria
Hello everyone, I would like to ask if it is possible to link or import multiple symbols from excel file to metatrader 5 at once without having to do it one at a time. If it possible, could you show me how? Also, what format would the content of the excel file be e.g. Date, Time, Open, high, low
Hi, Are there any brokers allow trading both FX and stocks/index for the Hong Kong markets? Thank you in advance
Good day everyone, I am new to this business of Forex and Binary and in a short time I have incurred some losses and currently looking for the best approach to this market. I am particularly interested in Binary Tick Trade. Does anyone here know if there is any indicator or strategy applicable to...
  Options Trading  (1)
Hi, Is there any way to access Options Trading in MT5 Platform
A variety of integration gateways to liquidity providers and stock exchanges have recently been developed for MetaTrader 5 trading platform. Using these solutions, brokers now can greatly improve their business and enter new markets. We have decided to summarize the first integration results and...
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...
I have downloaded mql5 but it only showing me Forex and metal in can add Indian stocks to MarketWatch
The Worst Stocks Of 2016: First Solar It was decreased from 72 to 28 for this 2016!
  Forecast and levels for S&P 500  (465   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...
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
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...
as stated here 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
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
  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...
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...
Hi All, first post! I wanted some help understanding Classes and Objects in MQL4. I have a question around making correct usage of them. Is it possible to declare a Global Object from a Class as you can do with normal variables? I can create them OnTick and they persist until OnDeinit where I need
Hello everybody.I am new here and am discovering mql5.I tried to open mql5 wizard on my mt5 account but automatically the assistant mql5 dossier opens.Can you help me
Hi everyone, I just started learning how to code yesterday so i'm fairly new to all of this. I'm sorry if this is a stupid mistake but here is the problem i'm trying to solve. input double MarginPercent= 300 ; //User input for the margin percentage the user wants to trade with input double
I am a neophyte in MQL programming and have been trying to develop my own EA. It has a pretty good performance on Strategy Tester, but loses money when it goes live. This week was the ultimate test. I left it running for the whole week in a demo account and it lost money consistently, every day
Hi, I'm having a problem with my EA and I would like some help with it. I developed an EA that places a limit buy order when the asset price reaches a determined price. For instance: if Asset A reaches 10.00, the EA will add a limit buy order at 9.50. As I'm using this strategy on many assets (
  .  (2)
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;
I have been trying to open a chart (CChart) during the "int OnInit()" phase of my EA. It doesn't work. I tried using the old MT4, non object oriented, version of this function, ChartOpen, and still no joy. I get an error ID. I can't find any more documentation or example code on this anywhere. This
I've been trying to code my strategy into an EA and i use all symbols and all timeframes when using my scalping strategy, i've been trying to do the same with the EA and end up with some error, i am still a little new to coding and my code may be completely wrong but someone help me out. If im using
Hiya, i'm new to this, so please forgive me if its obvious :) If i write the MACD code, double MACD = iMACD (_Symbol, _Period, 12, 26, 9, PRICE_CLOSE, MODE_MAIN, 0); How can i get a MACD line and the Signal line alert at cross over? What i would like to make is, When the price is Above the 200EMA
I'm consistently receiving error 5273 when invoking SocketRead MQL5 API. I connect to the server from an MT terminal and would like to check periodically if some data have arrived from the server. Here is my code: if(client==INVALID_HANDLE) return false; uchar rbuf[512]; uint rlen=512;
Hello everyone, I was wondering if its possible to receive some of this events from Python code using the Python Integration . I've searched in the docs but found no clue of how to do it... In the case of not being possible, is there any way to redirect MQL5 events to trigger Python code? If so
I have a bare bones vps from another project that has spare capacity. It has no browser or GUI installed. Is it possibel to install WINE and MT on this type ob box and run it, or do I need Ubuntu with a GUI ? (If so, is a free one from Amazon suitable - mainly for demoing an ea I have developed at
Hello, everybody. I would like to know if any of you have a dashboard with the 28 forex pairs and a "buy" and "sell" button for each pair? For MT4 Thank you
Thank you in advance for helping me! I'm coding automatic trading system in python. I'd like to get positions and close them automatically. However, mt5.order_send() returns None(not any errors but 'None'!) if request['position'] is input from pd.Series data. When I directly input position id code
Hello is it possible to create an indicator that sends an email with a screenshot of the graph when the price touches a rectangle that I have drawn manually? Thanks for the replies
//+------------------------------------------------------------------+ //| Mcgee's indicator.mq4 | //| McNilly Goshomi | //| |
  Heiken Ashi  (2)
Hi, I have been reading about the indicator and confused as how to call the indicator correctly. I have seen the first instance (below) but not sure the significance of the colors The second statement appears to work fine (i is the shift). Heiken Ashi is the spelling I use and reflect the indicator
I'm running MT4 and using MQL4. I need to access the price values at the bar thats at the Fixed Chart Position. CHART_FIXED_POSITION seems to be a place to start but thats a percentage of the screen. I need the bar offset (FixedChartBar) so that I can enter it in one of the pricing functions like
I have buy an Indicator and this is not working well for me. I want to give it back and want to become my money back, beacouse I will not use it
Hi, Does anyone know the precise indicator name of the SD indicator/s in the image attached? If you do please let me know. Thanks
Equidistant ChannelStandard Deviations ChannelLinear Regression ChannelAndrew's Pitchfork (let it be too)Another channel. Will write about it in the commentsNoneI do not have an opinion on the topicI just want to see the answer
  All John Ehlers Indicators...  (941   1 2 3 4 5 ... 94 95)
Hi all... I'm dedicating this thread to all indicators by John Ehler's in the hope that we can get/make as many of them for MT4 as possible. Please post any MT4 John Ehlers indicators that you have here as outlined in his books "Rocket Science for Traders", "Cybernetic Analysis for Stocks and...
Dear Forum Members, I am trying to code regular version of HAO into MTF one, but without solid programming background, I am not successful in that. Sorry guys... Could someone update the code of regular HAO (attached) to get its Higher timeframe capability please? To make that simpler, can use
  adding price tag  (1)
hi how can i add price tag to a custom indicator
Hello, Please, I am finding it difficult to repeat the box drawn on "x" amount of days, then also change the time to the current time in my plot, Using print function it is showing my time is 1970.01.01. Am still learning and this is the first code am writing with mql 5. int OnCalculate ( const int
This one is for those that use metatrader 5 Metatrader 5, unfortunately, did some things that hardly are logical. One of the things done by it is that builtin averages (and all the other builtin indicators) are not functions any more. That is as big a nonsense as it can get. Instead of making...
Hi Folks, I'm trying to figure out how to create an alert for when the CRSI goes above 70 and below 30. Can someone point me in the right direction? I can only figure out how to create alerts based on bids and asks. Thanks in advance and apologies if this was answered in another thread
how to put two indicators in the same window
I'm looking for a simple code/indicator just for those functions described in the image I sent, that while the EA is active, this information appears in the corner of the screen. it doesn't have to be weekly, just the information for the day. Thank you in advance
Fibo For Yesterday and Last Week: Using Golden Section Analysis of the market for yesterday and last week. Author: XueFei Xiong
Forex_Spread_Meter: MetaTrader 5 indicator that displays the spread meter on the chart. Author: amrali
  Experts: Plan X  (4)
Plan X: The EA compares the difference between the Close price of bar #1 and the Close price of bar #Candle shift. Author: Vladimir Karputov
  Experts: Expert adviser Easy Robot  (55   1 2 3 4 5 6)
Expert adviser Easy Robot: Fully operational ea for real/demo accounts or educational purpose Author: Kenneth Parling
KeyLevels: The indicator of price levels with round numbers 00, 20, 50, 80. Author: Olexiy Polyakov
Basic Moving Average template: A ready made expert adviser template to use for further development or use 'as is' Author: Kenneth Parling
New article Continuous Walk-Forward Optimization (Part 4): Optimization Manager (Auto Optimizer) has been published: The main purpose of the article is to describe the mechanism of working with our application and its capabilities. Thus the article can be treated as an instruction on how to use the
  Experts: MACD Sample I  (13   1 2)
MACD Sample I: classic MACD Sample EA with a little twist Author: Aharon Tzadik
New article Timeseries in DoEasy library (part 36): Object of timeseries for all used symbol periods has been published: In this article, we will consider combining the lists of bar objects for each used symbol period into a single symbol timeseries object. Thus, each symbol will have an object
New article How to create Requirements Specification for ordering a trading robot has been published: Are you trading using your own strategy? If your system rules can be formally described as software algorithms, it is better to entrust trading to an automated Expert Advisor. A robot does not need...
New article How to Access the MySQL Database from MQL5 (MQL4) has been published: The article describes the development of an interface between MQL and the MySQL database. It discusses existing practical solutions and offers a more convenient way to implement a library for working with databases....
New article Visual strategy builder. Creating trading robots without programming has been published: This article presents a visual strategy builder. It is shown how any user can create trading robots and utilities without programming. Created Expert Advisors are fully functional and can be tested...
TradePad_Sample: Here are some examples of objects implementation to build a table of trade symbols. By pressing the symbol on graphic object Chart (OBJ_CHART) the price data of this symbol are loaded. Each symbol panel has color that shows the current trend of the timeframe specified. The colors...
Awesome Oscillator Trader 2 - Continuation of modification: Expert adviser that use a custom modified Awesome Oscillator indicator Author: Kenneth Parling
No Nonsense Backtester: This EA is for testing No Nonsense Forex algos. With this EA you can test your algos much faster than eyeballing, using Soft4x or using any other EAs in Strategy tester. Author: Karel Nagel
Hi Friends, I've created a custom button and my intent is that when I press it, it creates a horizontal line with preset parameters. May I ask if it is possible to create OBJ_HLINE without any price anchor point so that I can place it on a chart wherever I wish, just like I would with the draw
hi guys i try to compare the time frame for exclude 3 type of time frame but not work i tryed also with use a second like but nothing , whats wrong ? sinput ENUM_TIMEFRAMES TimeFrameChoice= PERIOD_CURRENT ; // Timeframe void OnInit () { Print ( "il periodo e questo " +TimeFrameChoice); if ((
Hi, I want to pick up the most recent object color. I have the indicator of rectangle. and I can read the color of the object and time of object draw. string name; for ( int i= ObjectsTotal ()- 1 ;i>= 0 ;i--){ name = ObjectName (i); if (ObjectType(name) == OBJ_RECTANGLE ) {
Hi friends, I'm writing a code in my EA to export the opened orders data from my trading account in a single CSV file. Through the OnTick function, with any new tick comes, the EA checks the file to see whether a newly order has just opened or not, and if there is a new opened order that has not
  Coding help  (1)
Hi there, i have created EA but some reason it is now opening any trade, any suggestion? how to sort this out? I have attached EA and indicator
Dear community, 6-7 months ago I was contacted by a lady in China. She convinced me to invest in XAU trading and guide me thru how to deposit money in company account (where she works). I wanted to withdraw rest of my money. I requested from their portal withdrawal request but I can't trace or see
Hi, I am learning programming mql4 as newbie I know only simple basic. but deep advanced that i still not sure. My project is 1) counted total iBar in select Date/Time from Start to End. I able to do this. 2) counted total of range = iHigh - iLow = total range. I able to do this. 3) Calculated Pips
hi guys i have this part of script return me error '!=' - l-value required but why i used it sinput ENUM_TIMEFRAMES TimeFrameChoice= PERIOD_CURRENT ; // Timeframe void OnInit () { if ((TimeFrameChoice!= PERIOD_W1 )|=(TimeFrameChoice!= PERIOD_MN1 )|=(TimeFrameChoice!= PERIOD_D1 )) { if
Hey, I wanna visualize the M5 trend (sma 20 and sma 500) by drawing rectangles on the full chart height. This should be draw for example for the current week. if M5 sma 20 is over sma 500, draw a green rectangle if M5 sma 20 is under sma500, draw a rectangle in for example peach This should work in
Good evening to everyone, I'm desperate. I need to take the color of the candle (heikin ashi), how can I do? Thank you in advance
Hi! I recently created a EA that sends push notification when certain patterns occur. However, they are sometimes (not always!) getting sent out late (to my iPhone), meaning 5 - 20 minutes late, which makes it useless. When I try to "test" the push notification in mt4 I receive the alert instantly
In my opinion MT4 is probably the best charting package available for forex traders today. Lets make some suggestions for any improvements that you think would be of help to you and to keep it number 1. I for one really need floating windows. So my suggestion to the developers is to make floating...
  Metatrader API  (9)
Is  Metatrader API service free or paid? how to get API service?
Hi, Indicators are usually posted on the upper left corner on the MQL5 site. Below the indicator there is a Download button. However, when I press the "download' button nothing happens. Long time ago I could download these indicators, but not anymore. What could be the problem? thanks in advance
Hello, I subscibed to a VPS to automatically copy the trades of a signals but since more than 1 week no trades are copied. In the history of the signal, I saw that trades have been done but nothing in my account. I checked parameters and everything seems ok, can someone help me? Thank you in advance