To post a new topic, please log in or register
I have an EA which I have developed to trade on reversal using EMAs and other indicators. The EA works fine, but on a M15 chart, it opens a trade after it closes one because the trade on that candle is still valid. I want it to not open any more trades until a the next reversal.  How can I implement...
So I've found a very good indicator that follows the trend well. I'm currently using a fixed take profit, which works well enough. But I believe it is closing trades much to early, as the trend sometimes continues two times or 3 times the set take profit. I've tried trailing stop, but I'm unable to...
Hi can mql5 be used to login to a web site using username and password and download a page after the login page? In JavaScript, there is the callback "Asynchronous call" and dealing with http redicection, which library mql5 may have for this kind of things? Thanks
Does anyone know of an indicator that will send an alert when a candle has posted above or below the upper or lower bollinger bands? I've seen a few that will alert when it crosses but I'm only interested in when a candle posts above or below the upper or lower bollinger bands. 
  USD/JPY Analysis  (837   1 2 3 4 5 ... 83 84)
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 =) 
#property copyright " "#property link      " "#property description   "Stochastic EA"#property version   "1.0"#property strictextern int MagicNumber=10001;extern double Lots =0.1;extern double StopLoss=50;extern double TakeProfit=100;extern int TrailingStop=30;extern int...
  Traders Joking  (10768   1 2 3 4 5 ... 1076 1077)
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.
  USD/CAD Analysis  (526   1 2 3 4 5 ... 52 53)
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...
  Forecast and levels for AUD  (145   1 2 3 4 5 ... 14 15)
AUD/USD April-June 2017 Forecast: ranging within narrow s/r levels for the ranging bearish reversal or the bullish trend to be resumed W1 price is located above Ichimoku cloud for the bullish ranging market condition within the following support/resistance levels: 0.7749 resistance level located...
Hi All I have a text file the has one record in it with two pieces of information: 5W;100 My read function is only returning "5W"  and I want if to return(read) 5W;100 so that I can parse the information from the whole string.   My Question is: How can I read the whole text file record and not just...
  How to Start with Metatrader 5  (1174   1 2 3 4 5 ... 117 118)
I decided to create this thread to help to myself and to the others to start with Metatrader 5. I am experienced in MT4 and in forex in general (i hope : ) but we traders really need to collect all the information about it in one place. I will make some posts about 'how I am starting with MT5'....
  Where Do I start from?  (35   1 2 3 4)
Hi fam! Am a total newbie in the forex niche... Just signed up here on this platform... Please where do i start from? I need help... Anyone willing to put me through?
  Indonesian Member  (3432   1 2 3 4 5 ... 343 344)
I want to know how many people from Indonesia is joining this forum. If you're from Indonesia, please comment this topic..Thank you..
I have plotted the same real candles as it is from the chart 0 to indicator sub window. The I drag and dropped the bollinger bands on both the windows. I found a hell lot of difference in the bands scale or placement inside the window. I do not understand how to get it right. Please help me. Here is...
Good morning everyone,  I want to write a simple expert advisor, but I don't know how to do it. Can someone help me? I want that my EA do this:   - At "Time T" it opens "Buy" or "Sell" position with "Amount z"   - It close the position when TakeProfit is "x percentage" of "amount z"  or StopLoss is...
  Carry Trade  (26   1 2 3)
Hi Is there anyone who has to deal with the carry Trade ? https://www.mql5.com/en/articles/491
Hello everyone! Some years ago I found on another website, a strategy that works good and I added a little something that makes it even better. Here's the original strategy and then my little addon... <strategy> You make 1 trade per day on the EURUSD Your "day" ends at 4:59EST and starts at 5pm EST...
i am a professional trader that have been in the marketplace since 9 years ago . check tens of thousands of EAs , indicators , strategies like price action , ichimuko etc... and can assure you 99% of them not work in long term. because market is unpredictable and full of uncertainty. so no one can...
  Forex Correlation Theory  (35   1 2 3 4)
PRACTICAL USE of the Correlation Theory This article is focused on explaining how currency correlations can be used in a very practical way. Our goal is not to dive into theory or theoretical models but show how correlations can help solve practical trading-related decisions. The Forex Correlation...
5%10%20%30%40%50%50% - 100%
Is it able to build a EA using LSTM RNN model in Metatrader?  I have done some research and found something called FANN, however it seems to work with simple neural network only. 
Hi guys I am trying some experts on Activtrades but They give only 6 months of history.  Can You help me please? only for EUR USD....  minimun 2 years  in .csv frame: 1 min 5min 15min 30min 60min 240min 1 day thanks in advance for helpful
Hi I am new forex trader.tell me your opinions. Thanks. 
Does anyone know what is the name of the EA using in the photo above? It seem like this robot is quite aggressive in entry as you can see there are quite a lot of red arrow and blue arrow in the chart area. I just guessing those arrows are means for buy and sell location, and you can see there are...
Hi guys, I just start a trading discussion about what the best method to identify trend. We know there are three type of trend: 1. Up Trend 2. Down Trend 3. Sideway. How we identify Trend? Thanks in Advanced.
I have been trying out different strategies from internet, however, I can't seem to get out of losing cycle. I am already overwhelmed because I lost my money in forex. It was my fault that I lost money. I have tried my best to educate myself (babypips, books, articles) and find the best trading...
  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...
Hey. I made a successful bitcoin trading bot. Bot has earned me about 16 btc in fees during last 8 months, but it requires many external dlls, so I cant sell it normally on the market. (it trades btc against all avaliable altcoins on Poloniex or Bittrex, that meet certain conditions) Would it be...
Pivot Point Scalper The Logic Behind This Strategy: Fifteen to one hour after the market has open, if price is above or below the Pivot point, Price Action will strongly tend to remain above or below the Pivot point for the whole session. If the market opens above the pivot point, the probability of...
  Forecast and levels for S&P 500  (407   1 2 3 4 5 ... 40 41)
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...
  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...
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. 
  Bermaui Analysis  (154   1 2 3 4 5 ... 15 16)
A Bullish RSI14 Reversal Signal for Dow Jones Industrial.
Trade ideas and market outlooks welcome. 
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...
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...
CAC 40 January-March 2017 Forecast: bullish with key resistance at 4924.69 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 4860.85 resistance level to above on close weekly bar with 4924.69 as a nearest bullish target to re-enter. Thus, the weekly price is...
Download Link: https://www.dropbox.com/s/h3f859ghwf58v5l/BinaryEasy%20Dolly%2015%20FibBreakOut.rar After watching different youtube videos about different systems It came into my mind to try an build an binary options strategy towards CJA's (TSD) Dolly 15 system. Make an breakout strategy that...
  MT5 real FUTURES broker  (24   1 2 3)
Hello, is anyone aware of any futures broker that offer its client the MT5 trading platform? Is there a list of those? I mean real futures, not CFDs. Futures that trade on CME Globex and Eurex exchanges. Thank you.
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
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...
Cliff notes: TLDR, how do you automatically switch off a griding EA stopping it from even starting a grid when the account is being smashed for margin by another EA, one MT4 terminal on one account.    Hello, Would  any appreciate any help, or any inputs. Pretty standard Forex situation.  You have...
I'm pretty new to this and I keep getting these error messages.  Can someone tell me why and how i fix them?  I would appreciate any help. 2018.09.20 10:25:38.411 '20958125': Signal - subscription disabled 2018.09.20 10:25:38.360 '20958125': Signal - account complies with NFA FIFO regulations
I'm looking for someone to help me, I want a EA that can : open and close buy and sell stop orders, and trail the price with a certain amount of points, but it has to use TIME as Reason to adjust the pending order to the predefined distance from price. I found an EA that can trail the order but it...
CAN ANYONE HELP ME WITH THE CODE TO CANCEL PENDING ORDERS ONCE THERE ARE NO TRADES IN THE OPPOSITE DIRECTION OPEN?
All, How to close all opened positions in MQL5. Need your sample please
  Anyone have MACD EA?  (16   1 2)
Anyone have MACD EA? Macd histogram above zero line is buy signal. Macd histogram below zero line is sell signal. Open buy when histogram closed above zero line, and closed trade when sell signal occured. And sell when histogram closed below zero line, and closed trade when buy signal occured. Maybe...
All, I need some help with the coding iAlligator indicator    double jaw= iAlligator( NULL,0,J_Period,J_Shift,T_Period,T_Shift,L_Period,L_Shift,MODE_SMMA,PRICE_CLOSE,MODE_GATORJAW,1);    double teeth= iAlligator( NULL,0,J_Period,J_Shift,T_Period,T_Shift,L_Period,L_Shift,MODE_SMMA,PRICE_CLOSE...
Hi there, i was running experts on my demo account and also want to use some on my real account. But when i change something in demo it also changes in real and vicevera. same with closing windows it does it in both accounts. is this normal? Anyway to work around this? else the demo account is kind...
I am new incoding and hope find helps and insights with respect to my problem. I downloadesan EA using ADX as indicator for buy and sell signal. I added a secondindicator (still ADX) but with different timeframes (5 minutes). The idea is whenboth ADX (1 minutes and 5 minutes) are higher than a...
Should I login to my account before sending orders in MT5? I mean before using commands like: Ordersend(), should I send user information to server? should I do somehting else? because the server rejects all of my orders, but when I manually put them there is no error.
Hi, I would like to run 3 to 5 EAs simultanously on one MT4 Terminal. But I cannot optimize their input parameters so that they handle their trade accordingly to just a part of the balance on the account. If for ex. the margin stop out level of the whole account is at 50%, I would like to instruct...
  i need help  (3)
Please the Brothers programmers modify the EA attachment EA  opens deals when a sell signal appears and opens a sell when a buy signal appears to open a buy Required: Do not repeat transactions above some or in close proximity to some .. Meaning When a buy signal appears, there is an old buyout at...
hello i have attach my account to vps server on mql5.com website. but there is an error. when i click on  stop auto trading button on my platform , and close each opened positions by EA . EA instantly open another position instead of that. another problem is when i install my EA on only 1 or 2...
  iCustom error  (1)
Hello. I'm trying to use the icustom command to utilize the bollingerbandwidth % indicator i got free from the market however i get this error 2018.09.18 14:32:25.062 2017.01.04 21:28:24  cannot open file 'C...
hello guys i need your advice . i am panning to place a section in my EA code. that should place sell stop and buy stop in some places. but i don't want to get trapped by gaps , fast market movements  etc...and after slippage those will active in bad place . and sometimes , some of them will...
Hello, I'm trying to add a WebRequest() to my indicator but keep getting 'Error in WebRequest. Error code  =4060'. I have already added the URL https://google.com to Tools > Options > Expert Advisors. Does WebRequest() work only with expert advisors? Thanks! int OnCalculate(const int rates_total...
Hi All, I would like to convert directional movement indicator from TradingView Pine script to mq4? Can anyone do it? Tradingview directional movement indicator is more accurate than mt4 ADX indicator. Tradingview directional movement indicator has both settings for ADX and Directional movement. 
  Stochastic Oscillator, the beginning  (1280   1 2 3 4 5 ... 127 128)
I tryed to collect everything about one indicator: Stochastic Oscillator. "Technical Analysis from A to Z": OverviewSto.chas.tic (sto kas'tik) adj. 2. Math. designating a process having an infinite progression of jointly distributed random variables. --- Webster's New World Dictionary The Stochastic...
Hello Pro Coders, Im aPhong, new to FX & Im learning coding as well. Could anyone share a MQ4 file of whatever scanner you have like Pinbar , Harmonic ... scanner that will work on different pairs & multi timeframes without loading lots of charts? Im tring to code simple Pinbar scanner but after a...
Hi everyone Please help me to add alert to this arrows indicator for MT5. I tried but I'm not programmer  thank you in advance guys
  Which is a better indicator ?  (59   1 2 3 4 5 6)
Which is a better indicator ?
  Wingdings Error  (21   1 2 3)
Hi, A HAPPY NEW YEAR! Guys :) I'm struggling with Wingdings input int Code = 221;void OnStart()&nbsp;&nbsp;{ ObjectCreate(0,"TEST",OBJ_LABEL,0,0,0); ObjectSetInteger(0,"TEST",OBJPROP_XDISTANCE,200); ObjectSetInteger(0,"TEST",OBJPROP_YDISTANCE,200); ObjectSetInteger(0,"TEST"...
Below is a simple test script. It uses CopyHigh() to grab the high of the week so that I can create an envelope around the daily highs. Thus, it runs on PERIOD_D1 chart and pulls PERIOD_W1 values. It works as I would expect on the chart (picture 1). But in the Visualization window of the Tester, I...
Hi all, I'm new to MQL5 and I have a question about getting indicator data from another timeframe. Let's say I want to draw H1 Envelopes no matter what interval is displayed (M5, M15, M30 etc.). It means that for example on M15 the lines of the indicator should have the same value (or not?). For now...
#property strict#property indicator_separate_window#property indicator_buffers 2#property indicator_plots   2//--- plot bbwidth#property indicator_label1  "bbwidth"#property indicator_type1   DRAW_NONE#property indicator_color1  clrGreenYellow#property indicator_style1  STYLE_SOLID#property...
Here there are the differences between Prev_calculated and Prev_calculated-1 in bars loop using prev_calculated-1 int OnCalculate(const int rates_total,                const int prev_calculated,                const datetime &time[],                const double &open[],                const double...
Hello I am looking for the Bollinger bands indicator with color change of the sup and inf bands according to their direction for MT4 like the one below version mt5 https://www.mql5.com/en/code/16489 https://c.mql5.com/18/53/BB_filled.png thanks
I'm receiving this error when debugging and indicator. I'm using MT4 build 1090 19 May 2017. I've tried the  class CFix { } ExtFix; fix but this did not work for me. Any further ideas/fixes please? 
Dear All, I develope an arrow alert custom indicator, but there is an issue First I explained the rules of this custom indicator : On TF H1 - Buy, when previous candle Close is higher than 2nd candle High on the day - Sell, when previous candle Close is lower than 2nd candle Low on the day The issue...
Hi guys,  i apreciate any help. I am stuck, i think this is little problem, that i can't see because my inexperience, even to search about my problem. I start a indicator, that plots on chart an arrow from technical indexes from 2 indicators. It actually analizes the crossing of 2 EMA's and and...
  Experts: Tipu EA  (10)
Tipu EA: A simple EA based on Tipu Trend indicator and Tipu Stops indicator. Author: Kaleem Haider
Get trend: Short-term trends. Two iMA indicators, one iStochastic. Author: Vladimir Karputov
New article Using Self-Organizing Feature Maps (Kohonen Maps) in MetaTrader 5 is published: One of the most interesting aspects of Self-Organizing Feature Maps (Kohonen maps) is that they learn to classify data without supervision. In its basic form it produces a similarity map of input data...
High frequency volatility trader: Expert advisor uses the difference between bar closes and a close moving average to detect unusual activity, it will then buy arbitrary volatility spikes. This is a prototype that I will be expanding on in the future, at the moment the user can input an arbitrary...
Bear_Bulls_Power_Candle: A candlestick-based chart based on histograms Bear_Bulls_Power calculated on the Open, High, Low, and Close timeseries of the price chart. Author: Nikolay Kositsin
Swing_Shift: Indicator Swing Shift. Author: Scriptor
ATR adaptive JMA: ATR adaptive JMA Author: Mladen Rakic
RSX range expansion index: RSX range expansion index Author: Mladen Rakic
New article Developing stock indicators featuring volume control through the example of the delta indicator has been published: The article deals with the algorithm of developing stock indicators based on real volumes using the CopyTicks() and CopyTicksRange() functions. Some subtle aspects of...
New article Universal RSI indicator for working in two directions simultaneously has been published: When developing trading algorithms, we often encounter a problem: how to determine where a trend/flat begins and ends? In this article, we try to create a universal indicator, in which we try to...
Headley's acceleration bands: Headley's acceleration bands Author: Mladen Rakic
New article A Quick Start Or a Short Guide for Beginners is published: Hello dear reader! In this article, I will try to explain and show you how you can easily and quickly get the hang of the principles of creating Expert Advisors, working with indicators, etc. It is beginner-oriented and will not...
Trading Sessions Open - Close: This is a trading sessions indicator. Author: Mladen Rakic
Stochastic trading: When the stochastic enters the overbought or oversold area, the first lot is opened, if the chart is reversed, then operate with one lot. Author: андрей
New article Interview with Achmad Hidayat (ATC 2012) is published: Throughout the entire duration of the Automated Trading Championship 2012, we will be providing live coverage of the events - hot reports and interviews every week. This report spotlights Achmad Hidayat (achidayat), the participant...
Hello all guys. I was wondering if there is any change to develop an algorithm to detect support and resistance. I wanted to try to make one to use for a future development of an expert advisor. May I ask you to contribute to this post and add your code or articles or concepts as basic line ? The...
Is it possible to pause the timer. It looks like EventTimeKiller(); only works with DeInit. I would like to pause the timer while I execute some orders and then restart the timer once I have finished executing my orders.
Dear friends, please read carefully, this is not the same question that has been asked before and is meant to be answered only by MQL5 staff. I suggest not to comment because if MQL5 answers their answer will be buried in comments and is something that we all should know. I ask here in forum because...
Hey. I'm trying to create a bot executing trades in MT4 based on alerts coming from TradingView. There is tool called AutoView, which executes trades on 1broker.com and variety of crypto exchanges, but it doesn't support MT4 brokers like Tickmill or ICMarkets. So how can I get similar functionality...
  Usefull links/threads/tools  (47   1 2 3 4 5)
The thread about threads: what's going around the forum everywhere    ============ MT5, mql5, mql5.com suggestions for improvement thread ============ Requests & Ideas The beginning Requests & Ideas, the beginning - the thread &nbsp, Suggestions for Trading System thread  After Requests & Ideas...
Hi everyone,  Thanks in advance for you help. I have 2 questions 1. I was wondering if I could write something like :  if Period_CURRENT = PERIOD_H1 {... }  if Period_CURRENT = PERIOD_H2 {... } 2. I have an additional question: the PERIOD_M40 do not exist right? Thanks again, Luciole
I am using the Strategy Tester for the first time and just wanted to test a basic EA to get a feel for the function, but am having some trouble in getting my EA to actually work on there.  I have downloaded the required data from the History Centre and have used the Strategy Tester to test the...
Hi all, is there a function to get Total Open Orders for one Symbol only? As far as I know TotalsOrder() will return all Open Orders for all symbols. Thanks in advance pob
  Expiry date in EA  (24   1 2 3)
How I can implement a validation of EA based on a date, if it is greater than that date show a message "the EA has expired..."?
I have done a great EA which gives me excelent results when simulating on strategy tester of mt4. On real account it doesn't give me the same results...
I want my EA to print arrows on the chart to indicate where a trade was opened/closed. Is there anyway that we can draw multiple of the same object at different points in the chart? For example I might want to create an arrow on the current bar: Created = ObjectCreate(ChartID(),"Sell_Arrow"...
Hello, Im having some trouble building trend lines around a RSI indicator - what seems to be the problem is the "time" coordinate for setting  lines. The result is :    This is the first time i build such indicator ! Hope you can help ! The code is below :    int limit;   int...
I test me EA on my own broker it works okay. But when I send in for validation I get the following : test on EURUSD,H1 there are no trading operations test on NZDUSD,H1 there are no trading operations test on GBPUSDcheck,M30 there are no trading operations test on XAUUSDcheck,Daily there are no...
I have been learning to trade on MT4 for a few months on demo. I decided to mive on to an actual live account, so, I signed up and deposited 10 dollars to start trading. Later, I found that the decision I made was premature. In fact, I cannot trade live through the mobile demo app and went with...
Hi  I hav an indicator which shows trend . UpTrend is green and down trend is red. As I know some of this kind of indicators are drawing 2 lines .one of them green and the other one red . and when they want to show green one they make red one equal to zero and And conversely if they want red one so...