To post a new topic, please log in or register
Boa tarde Alguem poderia me ajudar? No meu codigo abaixo, o meu stoploss nao e executado quando o preco atinge a linha so stoploss. Teria algum erro no codigo? Grato por qualquer ajuda. //+------------------------------------------------------------------+//|   INPUTS DE...
  refund  (1)
need to be refunded for that product  how i get that refund?
There is no clean way to detect the object type of the CObject derivatives, this is highly needed when iterating through items of a CObject array or a CArrayObj instance. The "Type(void)" public method is defined virtually in the base class CObject. class CObject  {public:   //--- method of...
Hello Community, I have just started coding my own EA and have stumbled upon this problem: Whenever I try to back-test my EA, It takes a LOT of time to complete, to a point where I just manually stop it after 2 hours and notice that barely 5% of it was finished. Now I know that complex EAs may...
  USD/JPY Analysis  (886   1 2 3 4 5 ... 88 89)
Well, the asset moves as I’ve predicted. I think that I can earn even more on USD/JPY! Definitely, the show must go on =) 
Hi everyone. If you notice the market always peaks with somesort of volume increase. Currently Im using Volumen Reversal V1 (attached), but I do not like it since I dont think is very accurate, sometimes it signals big volumes other times it does not even few bars later volumes are bigger for...
Hello everybody, I have a problem about reading some double values from a csv file. This is the content of my csv file I'm using as example: 3;0;0.01;6;11.91346 63;1;0.02;5;2.786357 and this is my algorithm: void OnStart()   {    filehandle = FileOpen("WTI.csv",FILE_READ|FILE_CSV,';',CP_ACP);...
  USD/CAD Analysis  (557   1 2 3 4 5 ... 55 56)
The USD/CAD keeps its bullish trend, the next resistance may be the 1.3458 level and from there the price may try to stall or even break to the downside, but if oil keeps dropping, then we may see a breakout of that level. A breakdown of the bullish trendline may indicate a change in direction, but...
  GBP/USD forecast  (1177   1 2 3 4 5 ... 117 118)
I’m having a little loss right now, but I think I’ll close the deal with profit.  
  Eur/usd news  (6317   1 2 3 4 5 ... 631 632)
Hey dear members... Could you please tell me wich NEWS of economic calender will have a big impact on the EUR/USD Like yesterday the USD Unemployment Rate (FEB), USD Change in Non-farm Payrolls (FEB)? I need to know wich news will make the eur fall or rise that much ! Thx
  Traders Joking  (11061   1 2 3 4 5 ... 1106 1107)
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.
Hi The article about multidimensional arrays has a mistake. https://www.mql5.com/en/articles/567 It should be the other way around. The first index contains the number of ROWS. The second index contains the number of COLUMNS. double Variable[10][3] ==> double Variable[3][10]
  Indicator help  (10)
Hello, At times, the attached indicator does not change color according to the MA cross. For the correct color to appear, I have to change the time frame of the chart and bring it back to the relevant time frame. Appreciate it if someone could have a look at it and make the necessary...
I am new to MT4, Is there a way to create a scanner to list all the stocks from the watchlist where Open=Low and Open=High.If there is a ready MQL4, that will really help. Also I am looking forward to start learning MT4 and MQL, so what is the best learning point.
Is there a code to insert an SL order into the stone after executing the sales or purchase order? I using the Trade.mqh in my expert code.
Hello everyone, I'm having a problem to get pass the automatic validation to put my EA in the market. I've tried several things, and I have erros like "wrong lot", after fix it "not enought money". I do not know what to do anymore. Can you help me please? 
  The Only Pivot  (2694   1 2 3 4 5 ... 269 270)
Shinigami ask me to put my latest indicators and templates.. so if you are new for reading this thread, please use this indy and template because this is what i use now after download this zip file, just go to page number....... (i forgot, sorry ) the rule is using h1 1. if 2 SMMA WEIGHTED CLOSE...
Hi guys, I have been running an EA since the start of May 2018 that has been performing better in the live market than in the strategy tester. I use a broker that averages a EUR/USD spread of 0.1 pips so I set a spread of "1" in the strategy tester. The backtest results for the EA over the past 2...
Hey guys, I have question, it can sounds ridicilious but im new here so please don t hate me.  The question is, can i use EA on real account, like can i use EA with real money account. Thank you very much, kind regards :)
I notice ATR is being used to compute the average pip movement for the market, and has been used as a volatility indicator. Anyone knows if there are other indicators that can perform the same function or better? Thanks. Provide links here if you have.
  PANTHERea.....100% win ratio  (103   1 2 3 4 5 ... 10 11)
Ok guys, this is the end of my forex path...... It took me 5 years to make this(coding lasted for few days), but the method itself was developed for years. Bassicaly I took all of my knowledge, mixed it, coded it, optimize it........and done that for last 3 years. This ea is something with the...
  Expert  (37   1 2 3 4)
What features should be a good expert ?
  Renko Power System - Very Profitable  (153   1 2 3 4 5 ... 15 16)
Hello Guys, I hope, everything is fine with you all. (First, I would like to thank Nick [aka mr.nims] to get me into Renko Trading, then finally i found something interesting, with which we can all earn decent amount of pips and ofcourse, Money) Important Notice: This is not a...
Hello everyone, The application of Artificial Intelligence (AI) in robots for Forex/Stock Markets/etc. grows more and more, much upon AI hype. My suggestion is to keep the focus on reducing market uncertainty, as the proposal of this thread. However, I have received requests regarding Artificial...
Well from my point of view day trading can be risky and can make a millionaire too. All depends upon your working strategy. 
  Forecasting indicators  (335   1 2 3 4 5 ... 33 34)
Please find some indicators which are forecasting something. First is i-DRProjections_v.0.1. This indicator shows the support and resistance of current day forecasting on the base of previous day. All the calculation is based on Thomas R. DeMark book "New Science of Technical Analysis".
Locked-in Range Analysis (abbr. LRA) is the futures market analysis method, described in the ebook "Locked-in Range Analysis: Why most traders must lose money in the futures market (Forex)" by Tom Leksey, which minimizes an uncertainty in the futures market. LRA is the method of interpreting the...
  PriceChannel Parabolic system  (285   1 2 3 4 5 ... 28 29)
Some people asked me on the other forums about re-enter. But I am not using any indicator for re-enter. So I decided to create some simple trading system with re-enter based on indicator's arrow on the chart. Let's name it as PriceChannel Parabolic system. M1 timeframe. This is image for EURUSD...
  ASCTrend system  (1304   1 2 3 4 5 ... 130 131)
Some people say that it is the best signal system in the world. It is very famous system and it was developed in the interesting way: Russians recognized this system for MetaTrader some years ago and this western trading system was not very profitable (I am talking about MetaTrader only) but had as...
This is Ilan-TrioKS v1.45 - /English Version/ - The new SUPER Expert Advisor. Working with all pairs. TimeFrame - M15. Please test it.
  Bermaui Analysis  (164   1 2 3 4 5 ... 16 17)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
It is very sad that majority of the people that get involved in the forex business end up losing their money but I will explain the major reasons why this happens below: 1. Leverage and Margin - Trading on margin seems like a fast way to make quick profit however, this gives birth to greed as a...
Was trying to work on something and I was stuck because I couldn't really understand what volume on Mt4 platform truly represent . Don't get me wrong, I know volume represents the average trade activities for a particular period of time . But my question, does volume simply represent the number of...
  Forecast and levels for S&P 500  (423   1 2 3 4 5 ... 42 43)
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...
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...
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...
  Volume and Tick chart  (21   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!
  Forecast and levels for Dax Index  (50   1 2 3 4 5)
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...
Can anybody help me? This is an example of an American Stock's CFD. -3.32% every day for me doesn't make sense. Thank you
If I have a certain balance in my account, when trading with UK100 for example, will having 1:500 leverage reduce my margin requirement for the trade rather than 1:50 leverage? I already know what leverage does but I just want to know if it decrease margin required for a trade. 
  Apple  (25   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...
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...
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...
  McDonald's  (12   1 2)
The weekly share price stopped the bearish reversal and it was bounced from 110.32 support level to above to came back to Ichimoku cloud to the ranging market condition. Fow now, the price is on testing 121.85 resistance level to above for the reversal to the trendy primary bullish market condition...
  Google  (13   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...
Assuming that the backtesting is done at a fixed spread, from date X to date Y, with tick data, and that the platform is not connected to the internet from the start to the end of the tests (to avoid the quote currency exchange rate differential at different points of the test), is there any reason...
Hi everyone, I'm new to this, so here is my question. If you buy a expert advisor only comes with the ex4 or it also comes with the scrips, so that you can change or add more code?
Hello, Testing MQL5 VPS. Is it possible to access via Microsoft remote desktop? I primarily use a Mac, and I access my other VPS VIA Remote Desktop. 
There have been similar topics discussed on here but I haven't seen one where this specific question has been fully answered. When using the open prices only method in the strategy tester, if a stop loss and take profit were set on the previous bar, and the market trades at or below the stop loss...
Hi there, I understand that things work a little different in MT5... Here is my understanding: An order results in a deal. A deal effects the net position. StopLoss (SL) and TakeProfit (TP) are on position level. What I need is that, as in MT4, I can set SL and TP based on deal level. Having an open...
I have attach my EA to 5 charts, all different currencies. My question is how to make an EA to check EA on all other charts if have already open an order, before opening a new order? This is to ensure that I'll not blow my account by opening too many orders. FYI, my lotsize will depends on the risk....
Hi ,  I bought an EA on the market. This one didn't work at all ( zero trade ) . this EA was deleted from the market 2 days after publishing it . The name was "Removed" .  I can see my purshase pending for 6 another day . After that the seller will have my money.  Any refund in this case ? MQL5...
hello everyone! & How to code a label object to stay on top of another label objects as will? Please Im new to mql4. Recently, I read alot of object properties in mql articles & searched for solutions on google. unfortunately, I cant find out how to code a label object to stay on top of another...
Hi, I try to create an EA with mql4. I need create a table and then I can update it from time to time. But I don't know how I can create a table and array.  My table is 22x7 matrix. table[state,action] = np.zeros((22,7))   // 22*7 matrix including all elements as zero. And, How can I update this...
In MQL4, I can write: void StringFunc(string &ArrayRes[][]) and it's no compile error, but in MQL5, StringFunc(string &ArrayRes[][]) has this compile error: '[' - invalid index value. How to write multi-dimention array as a function parameter in MQL5? Is there anything changed?
  orders not executed in real  (15   1 2)
Hi, given that I am using a broker where the ability to place orders via an EA is enabled. I use the ordersend function followed by ordermodify, which handles errors inside the EA and there are no errors in the diary. If I run the EA in test opens positions, while in real no. Example: On the day you...
Hallo, I dont understand what is wrong this : Here you can see actual value in comment but its different than value of MA-line on chart :( void OnTick() { Comment ("Linear MA = ",MA_Linear()," ","Exponential MA = ",MA_Exponential()); }double MA_Linear(){   double MA_Linear_Array [];...
I bought an expert advisor here on the market. However if I click install on terminal, the ea does not install on MT4.Mt4 does open but I dont see the expert advisor anywhere, not down at purchased in Market. Refresh doesn't help either. I did login on MT4 to mql5.
Hi people! I am still a newbie (35 days) of MQL5, so please be patient. I assembled a simple EA with the Wizard -> Expert Advisor (generate), using intraday time filter (ITF), trailing and fixed trailing volume. However, I want all trades be closed as 16:00, and decided to change the code: void...
Hello, I need a macro or a programme which can export 1000 last bars for a given list of currency pairs and time  frames (eg EURUSD, USDCAD,USDCHF AND GBPCAD) - DAILY AND HOURLY TIMEFRAMES, I need this as fast as possible - can you help me?? Dave
Hello altogether, I used to trade via MT4 (that was a while back). Now I wanted to start trading again and installed the MT5 Software. Back in my MT4 times I used this indicator --> https://www.mql5.com/de/code/12266 <-- to display certain times in my chart, which was (and hopefully will be again)...
  Which is a better indicator ?  (60   1 2 3 4 5 6)
Which is a better indicator ?
Hello, I need help about indicator. 1)  I have an indicator with the name file "test.mq4". 2) I load /link it with a chart EURUSD, all is good 3) now I do the same as before (line 2) 4) I got 2 identical indicators in the same chart 5) question :  how to stop the second loading before it run ?? I...
  Pips Counter  (1)
Hi guys, can any1 help me for create a simple indicator? I try to search but not found anything. I need to create a indicator that show in windows the pips differenze from last candle to Tenkan (ichimoku).  Like this..  Thaks Alot guys!
  Filters indicators  (305   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.
Hi Does anyone know MT5 version or can Translate it. Atached is the MQ4 version That can be opened on the Meta Editor. Thanks
Does anyone have the weis wave, with the number of batches used within a specified stride? for mql5 and mql4
Hi everyone, Im new to mql4 & I got some problem working with object property. Let's say I want to access to property "PRICE1" of Rectangles of all open charts if availalble. My code looks fine :) & have no errors but there is something wrong & It doesnt work. I think it may be these lines: .......
Hello, I have been looking for an MT5 indicator which would give an alert when price crosses upper or lower bollinger band. The alerts i prefer are an arrow/dot on the chart, pop up and an push notification. Something like this famous MT4 indicator BolliToucher would be ideal.  <advertising...
Guys, can you recommend any good logic/indicator for determining swing points marked on this chart? Strong downtrend, seeing correction up, possible reversal into uptrend, but then it just changes direction and continues down. RSI usually between 30 and 60 so nowhere close to being overBought. Would...
  Signal_Bars_v7  (336   1 2 3 4 5 ... 33 34)
Signal Bars has come of age so i thought that i would start a new thread with the latest version This version Signal Bars v7 has some new features, the User can select which Timeframes they want displayed and the indicator can now be placed into any indicator window to help free up chart space. One...
  BB-Fibs  (3)
New at programming, need help programming a Bollinger Bands - Fibonacci Indicator. It is like a regular BBs but instead of using standard deviation as the measure of volatility, a Wilders Smoothed ATR is used in its place. The middle band remains the same. UpperBand3:= MidPoint + (factor3 *...
Hello, is there a guide that teaches to add distance of arrows from price in MT5? Thank you
hi, Could someone tell me if we can code an indicator with existing indicator output value instead of candle bar value? For example, a MA based on BBand (up/low band) value on main chart. see pic, red line is MA of upper band, aqua line is MA of lower band thx
I hope I'm posting this in the right location, but I didn't see a thread strictly dedicated to technical issues. Anyway, I just purchased two separate indicators, and each time I received the message "product[....] not found in the database". Also, in my journal I received the message: "failed to...
  Experts: Smart Tunel Trading  (14   1 2)
Smart Tunel Trading: The Smart tunnel is a smart robot for trading with an automatically drawn trend line to act with it and market movement.Enjoy :) Author: Ali Sabbaghi
Leader EMA: Leader EMA Author: Mladen Rakic
Spread Of Symbols: The indicator shows the chart of the difference (sum) of trading symbols' prices. It is suitable for visual estimation of trading symbols' correlation. It will be very useful for traders interested in pairs trading (spread trading). Indicator bars are synchronized by time with...
Precision trend (histo): Precision trend (histo) - MetaTrader 4 Author: Mladen Rakic
Phase accumulation adaptive RSX: Short description. Author: Mladen Rakic
Phase accumulation adaptive EMA: Hilbert transform phase accumulation adaptive EMA Author: Mladen Rakic
Market Open-Close Hours Indicator: Displays a line when the markets are opened. Author: Edwin Artunduaga
RSI and Bollinger Bands: A trading strategy based on RSI and Bollinger Bands. Author: Vladimir Karputov
Awesome Oscillator (AO): Bill Williams's Awesome Oscillator (AO) is a 34-period simple moving average, plotted through the middle points of the bars (H+L)/2, which is subtracted from the 5-period simple moving average, built across the central points of the bars (H+L)/2. It shows us quite clearly...
  Experts: Price Action EA  (132   1 2 3 4 5 ... 13 14)
Price Action EA: Amazing EA that does not use any indicator. Instead, it follows the price action. Tested from 18 August 1995 to 29th January 2014. It has managed to turn $10,000 to 11,958,183.37. Author: heao
New article Bi-Directional Trading and Hedging of Positions in MetaTrader 5 Using the HedgeTerminal API, Part 2 has been published: This article is a continuation of the first part "Bi-Directional Trading and Hedging of Positions in MetaTrader 5 Using the HedgeTerminal Panel, Part 1". In the second...
Normalized smoothed MACD: Normalized smoothed MACD Author: Mladen Rakic
Dōteki Heikin Ashi (Dynamic Average Leg): A dynamic version of the standard Heikin Ashi indicator (code compatible with both MQL4 or MQL5). Author: Fernando Carreiro
Dōteki Heikin Ashi (Dynamic Average Leg): A dynamic version of the standard Heikin Ashi indicator (code compatible with both MQL4 or MQL5). Author: Fernando Carreiro
Simple oscillator: Simple oscillator Author: Mladen Rakic
Hey, is there a way to get a notification via email or push to mobile devices if the MetaTrader client running on a server goes offline (no connection bottom right corner)? This would avoid offline times and missing action form the trading signal. Thx!
int start() {   int limit, i, counter;   double RSI, RSIp, CCI;   double Range, AvgRange;   int counted_bars=IndicatorCounted();//---- check for possible errors   if(counted_bars<0) return(-1);//---- last counted bar will be recounted   if(counted_bars>0) counted_bars--;   limit=Bars-counted_bars;...
While experimenting with various versionsof the “CCFp” indicator, by Semen Semenich, I tried to incorporate such anindicator in an EA. The problem is that the MT4 strategy tester seems to beusing different values than those I see on the chart.  My last attempts were made with “CCFp mtf& alerts 2.03...
Hi guys, I have a problem with a 2d array, i have never worked with 2d arrays before, so its kinda  expected. I read a lot, both forum and google, but found nothing .  I have a 2d array  to store ticket numbers for past orders, the orders are divided by series, this is why i have a second dimension....
  MetaEditor MQL4  (7)
Hi, i'm using MQL4 for a customer.  I saw that it is possible to compile with the cloud protector in the editor. My question is simple, does it work with MQL4? I ask why it is written "Compile with MQL5 cloud protector" even though I have downloaded Metatrader 4.
Hi all, I am a new one on the mql4 programer. I try to write an EA. I have a table called updated_Q with 6*6 matrix (updated_Q[6][6]. This table is updated in EA according to some rules. I want to write it my file called updated_Q as csv. However, I don't know how I can do this. Can you help me...
  Code For Bollinger Squeeze  (11   1 2)
Hi, Im trying to make an indicator that will identify conditions when the market is ranging. I want to use the squeeze of the bollinger bands to tell me when the market is ranging. Can anybody help me with a peice of code to do that? I can finish the rest of the indicator myself I just need the...
  Supertrend -> Icustom  (15   1 2)
Hi I have read many threads about this, but i still can find a solution... I wanted to try this common and very popular indicator, the "supertrend"...but still not finding the right way... actually I'm in stall with this code... double val_super_trend_up = iCustom(NULL, 5, "SuperTrend_plus", 10, 3...
Hello, this is my first post. Does anyone have experience in using MT4 using Parallels software? I've successfully installed MT4 on my Mac, and the MT4 runs without any problem. However, the number displayed on the grid as well as the font menu is displayed too tiny that it's unable for me to read...
its nearly impossible to connect to the mt5 trading server when i using wireless network,anybody else have the same problem?or maybe something wrong with my network...
Good evening to the mql4 community, I was trying to modify an open position, to close 80% of the position to be precise. And with those instructions an error message appear :  "some operator expected" if (MarketInfo(Symbol(), MODE_BID) <= profit)               {                   if(OrderSelect...
  Lot size  (24   1 2 3)
Hi everyone, I aim to code something saying that only 80% of the position will be closed when reaching TP1. I am scared that the value will not accepted by the broker. Ho to tell the EA to choose a value around 80%.. Do you have any suggestions? or link to help me through this step. Thanks for you...
Good evening everyone, I would to code something corresponding to this sentence "if the currency pair on the current chart is one of those : USDJPY or EURJPY or CADJPY". Is someone can help? Luciole
How to make an indicator use the Close or Open value of another indicator (that is in a separate window) such as a Stochastic or RSI, instead of price?? (in mql4) Thank you.
hi guys whats up i wanna to write code in buy open buy after price moved up 7 points in 5 secound open sell after price moved down 7 point in 5 secound thanks alot