To post a new topic, please log in or register
I mistakenly removed templates such as Momentum, Popular from the terminal/account. How I can restore
Good day, I need an EA coded. Its pretty simple, well we all know nothing is as simple as it should be but this is basic as it only uses two indicators with specific rules. If you're a coder private message me. or hit me up here on the forum
The first minute today, 0:00 i saw this happened (i am using MT5): I don't know why there is a candle stick like that so i check on some website but no where record that thing: If anyone know why is that, plz explain it to me, thank you. USDCHF
Hi I want to work back test 99% accurately on MT5 platform. But I don't know if it's enough to do it directly on MT5 platform? Or should we use other programs like (Tickstory). I mean, Can we believe 99% accuracy results when doing back test directly on the platform or should we use other programs
is there any tool to tile them in multiple monitors automatically
Hi guys, I am trading since 4 years now, and just decided to offer copy trading. When I try to research it, I cannot find it. I did register as a seller and can see it in my public signals. Are you guys able to see it or not ? Thanks Julien
Hi, I want to know if it's possible to check the position of the stochastic soon as a new candle opens in order to enter a trade or not.... I am busy having someone code an EA from me and they say this is not possible..? Logic tells me the following.... New candle opens
So I want to calculate lot size and in order to do that I need the point value in account currency. How do I do this using the MT5 Python API
1. How can I plot consecutive number (text) with each bar? I want to start "1" at 09:00 and then 2, 3, 4,... I try to use for(int i=1;i>=1;i++) but my mt4 just shuts down. 2. How can I keep the numbers position staying at the bars? It keeps moving, updating to the present bar and the previous bar
Since none of my questions here were answered and all my posts are getting closed by some mysterious anonymous ghosts without any traces, explanations or notifications, my question is: Does MT5 developing company have some kind of help-desk or support somewhere besides that forum
I have just tried to install a purchased EA on a new server and get the message "X installation is failed" in the "Markets" tab, and the following journal entries (I tried twice)... I am aware that the EA is no longer available for purchase, but I have 6 activations left so I would have expected to
Hello. I'm working on a neural network model. I completed a model yesterday and ran a test only to get this error. Any help? edit: same issue on both release and beta version. Log errors JL 2 14 : 22 : 06.829 Neural_Net (GBPUSD,H1) Access violation at 0x00007FF610B6620E read to
hello , my EA is supposed to have a take profit of 50 points , as you see in the pic , the bar was up over 130 points and it didn't take any profits !! i'm controlling the spread to 15 points using " SymbolInfoInteger(_Symbol,SYMBOL_SPREAD) " https://imgur.com/a/CbtaDPo
Have any of you an idea of how many accounts I can add to Metatrader4 terminal, especially the apps, either Android or Apple. The app is very useful in keeping an eye on different accounts. I have 4 at the moment. I intend to add many more acc and wondering if there is a maximum, therefore? Thank
Am i the only one having trouble with the strategy tester in mt5? it has always been working fine until last friday. it simply keeps going but doesnt do anything. i didnt change a thing in settings or on pc....
Need help with installing Pivot Point Extra Indicator into MT4 for Mac OS? Any guide out there to recommend
Hello, I have an EA that can be callibrated in many different ways. I want to publish its signais, but I would like to publish different signals for each callibration. 1) Can I hire multiple VPS servers through MT5 and publish different signals on each of these VPSs? I know I cannot consume more
One strategy I can use is Andrew's fork
Trading and training video (from youtube for example) about forex and financial market in general.  thread for April 2013 - look at this thread,  thread for May 2013 - look at here,for June 2013 is here.July thread 2013 is hereAugust thread 2013 is this oneSeptember thread 2013 is hereOctober thread...
Can anyone tell how to trade ? Open Date Close date Symbol Action Lots SL(Pips) TP(Pips) Open Price Close Price Pips Profit (USD) 12.19.2013 08:53 12.19.2013 15:05 XAUUSD Sell 50 93.4 1204.24 1194.9 93.4 46400 12.19.2013 08:53 12.19.2013 15...
  "No loss" recovery hedging system  (142   1 2 3 4 5 ... 14 15)
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...
SUMMARY In my (fully working) MQL4 EA, when i have an indicator that detects a trend early, how best can I confirm it with another indicator that detects a trend at a later time (at a different bar)? If the second (lagging) indicator is coming late, should i even bother confirming it with one that
  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...
  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...
Does a strategy must be profitable on all symbols to be considered a good one? I'm developing a lot of different strategies for each forex pairs and metals and I always got different results. What's your experience
HI, if Profit less than account balance is that mean order close? and what next ...negative profit
Trading Silver with PSAR SUPERTREND EA plus ZigandZag & PSAR Oscillator Confirming My interest presently is in trading precious metals, primarily Silver & Gold. Recently I downloaded the PSar Supertrend EA and ZigAndZag indicator from the Trading System Forex blog, plus the PSAR Oscillator from...
Discover in 15 Minutes: Watch the Video about Trading Signals in MetaTrader 4 and MetaTrader 5 The most frequently asked questions related to the Signals service will be collected and processed in this topic. The list of questions will be updated from time to time. Soon we will try to give answers...
HI,Which strategy is best for BTCUSD?
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...
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 far as I know , there are three kind of bar, time, tick and volumn. time bar--prints a bar for every x number of time, such as seconds, minutes,hours and so on. tick bar--prints a bar for every x number of trades,If someone trades 1 contract in a transaction, that counts as one trade. If someone
  Welcome to the new section!  (21   1 2 3)
Inspired by comments and reviews received from MQL5.community members, we have added a new forum section called "Trading stocks, futures, options and other exchange instruments". Share your ideas and trading experience with the website visitors. Reach out to MetaTrader 5 developers if you have...
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
  McDonald's  (14   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...
  Forecast and levels for Dax Index  (64   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...
Hello all, I am new to this forum and I have recently downloaded MT5. Now I want data for Indian Stocks. Can someone help me who are authorized data vendor for India Exchange NSE for MT5. There are many data vendors for Amibroker and Ninjatrader in India but not for MT5. How I can import historical...
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...
  Apple  (38   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...
The Worst Stocks Of 2016: First Solar It was decreased from 72 to 28 for this 2016!
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...
  Forecast and levels for S&P 500  (466   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...
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
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
Hi guys. Im kinda new to coding EAs in Mql5. But i am trying to get the absolute values of variables, mainly my 'Loss'. I know that the MathAbs() function can solve the problem but i don't know how to execute it. Here is where i am at: double Loss = (1 + total pips for loss) double MathAbs ( double
So i try to place an order with mql5 it gives me an error 2020.07.10 13:25:30.158 2020.01.03 17:32:36 CTrade::OrderSend: market buy 1.00 @EP sl: 3016.35 tp: 3022.55 [invalid stops] double SL = (Ask - 2.4 ); double PT = (Ask + 3.8 ); if (price > above) { if (runningmacdsignal > 0 ){
Any help would be much appreciated. //+------------------------------------------------------------------+ //| Expert tick function | //+------------------------------------------------------------------+ void OnTick () { //--- // Ask & Bid double Ask=
hi all, I'm a new member, Can you help me how to create an application for auto trading on MT5 ? Thanks all you
#property copyright "Adam"#property link      "https://mql5.com"#property version   "1.00"int bbHandle;void OnInit(){   bbHandle = iBands(Symbol(),PERIOD_CURRENT,20,2,0,PRICE_CLOSE);   }void OnTick(){   double upbb[];   double lwbb[];   double mibb[];      ArraySetAsSeries(upbb,true);...
I've been trying to check my open trade if there is an open trade then dont trade , i only want one trade to be open, I also wanna create a buy order but it doesnt work it gives me i "2020.07.09 18:11:45.128 2020.01.03 17:36:15 CTrade::OrderSend: market buy 0.01 @EP sl: 3017.35 tp: 3023.35 [
I'm writing an Expert Advisor that closes trades on his own, given a stop loss or a take profit using OrderSend. double tp = price + point * slTpDeviation; request.tp = tp; OrderSend (request,result) I have a boolean variable, that depends on whether or not the agent currently has an active trade or
Hi, There's a way to iterate over all indicators to remove them all? Thanks.
Hi, I am trying to have multiple copies of the same EA run in the same symbol with different magic numbers. I already found older topics that mention this but I did not find any solutions yet. I want one EA to know if for his magic number he is bought or sold, for instance. For this, I use: bool
Hi there, this code is triggered 4 times when I'm closing one position. It's important for me to do ( // do something ) in the following code only one time. But how? void OnTradeTransaction ( const MqlTradeTransaction & trans, const MqlTradeRequest & request
Dear All, I just rented my first VPS from MQL5 via my MT4 platform today.  I set up my charts with the EAs that I wanted to upload to the VPS as demonstrated on the video: https://www.youtube.com/watch?v=NGSHrX-QAOU&index=2&list=PLltlMLQ7OLeKRRhrpy-pZ6REWYUf6W3SV As near as I can tell from the...
  solved  (8)
solved!
Hi All, Hoping there's something really obvious someone can point out to me. I have an EA that performs perfectly on backtests, and almost perfect on live trades - except for one key feature. At 2pm the EA analyses whether the current day price range is within the previous day price range. That
Hello everyone! So I have a stop loss check in the Ontick function like this: Some part of the code is hide away for simplicity. //+------------------------------------------------------------------+ //| Expert tick function |
I'm offering one of my own EA creation for people who want to explore martingale type of system. Because this is written by me, so it would be relatively easy for me to modify and expand it if I see the requests. I have written a lot of grid system for people in the past, some are martingale, some...
Please how can i lock an indicator to an account number and also add expiry date to the indicator
Good day, I hope someone could please advise me. In MQL5 I initialize my Boilinger bands with the iBands call: fastBoilinger_handle = iBands(_Symbol, _Period, 20, 0, 0, PRICE_CLOSE); I then try to get the upper, middle and lower band values for the past 3 time frames as follows: double BM[], BU[]
Not sure if this exists... If not maybe I will try and make it. Let me try to explain... Within the space of a minute, the price may move up and down dozens of times. Adding up all the separate micro-movements, you might see it travelled 30 pips in total, 20 up and 10 down. But the 1m bar/candle
  CCI Woodie like  (265   1 2 3 4 5 ... 26 27)
  pivot high  (1)
hi I want to convert this code to metatrader study( "PivotHigh" , overlay= true ) leftBars = input ( 1 ) rightBars= input ( 0 ) ph = pivothigh(leftBars, rightBars) plot(ph, style=cross, linewidth= 3 , color = red, offset=-rightBars)
  Indicators with alerts/signal  (15856   1 2 3 4 5 ... 1585 1586)
Some indicators with alert/signals with author's comments: - EMA-Crossover_Signal: Enter two Exponential Moving Average periods and it'll tell you when they crossed. - SMA-Crossover_Signal: Enter two Simple Moving Average periods and it'll tell you when they crossed. - SMMA-Crossover_Signal: Enter...
Hi, if we use top bottom reverse trading technique hundred of times it's giving me a huge profit but sometime if the spike will not come out and market is continuing going down or up what should we do? Can we close the trades or we place more trades? how can we recover the loss? If Anyone is using
Does anyone know an indicator for a new window only with arrows? Price up and down daily with green/red arrows only
Hello My Good fellow, does anyone know or make a script Pending Order at specific time with adjustable Stop loss, Take profit and lot??? Please help.... -Auto Pending Order closed candlestick at specific time (e.g: 1100 am Pending Order at shadow closed candle.) -Adjustable Take profit -Adjustable
Hi, every one .. Kindly be generous with info. Lately I changed my platform to meta trader 4 & I was struggling to convert my indicators to mql4 ,, as it is a new language to me , so after a lot of work & advises ,, at last I built something but unfortunately there is a little problem as mentioned
Hi, I was advised to update my indicator. However, I can't find the update tab. Does anyone know how to do this? Appreciate all responses. thanks, attila
Greetings all. I'm just learning to code and have few questions. Can someone tell me please how to do this thing; 1- How to prevent my custom indicator being duplicated? If it's already on the chart and I will drop it on to the chart again, I want it to detect the first one and abort launching the
Hi everyone, I'm still fairly new to MQL5 but feel I'm making good progress. I've now come to the next level and am looking for a way to retrieve the last bar's RSI at close. Anyone there who can give me a direction? ;-) Thanks a lot in advance and happy trading
  Multi Timeframe Indicators  (12211   1 2 3 4 5 ... 1221 1222)
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...
I need the High for PastBars BarPos is always correct giving me the position of the highest high during the last PastBars but the Highest Bar figure BarHigh2 is always wrong. Can some one explain why CopyHigh is not working for me please? int PastBars = 10; // Number of past bars to find highest
New article Moving Mini-Max: a New Indicator for Technical Analysis and Its Implementation in MQL5 is published: In the following article I am describing a process of implementing Moving Mini-Max indicator based on a paper by Z.G.Silagadze 'Moving Mini-max: a new indicator for technical analysis'....
Elliott Wave Oscillator: A good oscillator for helping you count Elliot waves. Author: Hossein Nouri 
The Puncher: Trades using indicators: iStochastic (Stochastic Oscillator) and iRSI (Relative Strength Index, RSI). Author: Vladimir Karputov
New article Exploring Trading Strategy Classes of the Standard Library - Customizing Strategies is published: This article is intended for novice/beginner users who want to approach some kind of customization with functionality and without writing an EA from scratch. In MetaTrader 5 we have a...
Keltner Channel: Keltner Channel is volatility-based envelopes set above and below an exponential moving average.  The indicator is named after its author Chester Keltner who first described his system based on the 10-period moving average in his 1960 book "How to make money in Commodities". The...
New article Multicurrency monitoring of trading signals (Part 4): Enhancing functionality and improving the signal search system has been published: In this part, we expand the trading signal searching and editing system, as well as introduce the possibility to use custom indicators and add program
  Indicators: FivePattern  (25   1 2 3)
FivePattern: This indicator shows М & W Wave Patterns by Merrill and support/resistance levels on a chart. The indicator is recalculated on each new history bar (to save CPU time when rendering objects). The names of all objects are pseudo-random. The indicator calculates the predicted price...
  Experts: Ilan 1.6 Dynamic HT  (11   1 2)
Ilan 1.6 Dynamic HT: Thanks to its advanced formula capital management Legendary Ilan 1.6 Dynamic allows us to go even from the notoriously unprofitable positions in plus. Now Ilan 1.6 Dynamic is available in source code for MetaTrader 5. The basic algorithm underlying Ilan Dynamic 1.6 HT...
Arbitrage: The multi-currency arbitrage tactics. The necessary arbitrage does not require explanation. In this case a similar strategy is proposed. The difference is that in the real arbitrage the trades are performed only when there is a profitable price difference between the commodity and the...
Heiken Ashi Smoothed: Heiken Ashi Smoothed indicator. Author: John Smith
Divergence: Implementation of a trading system based on divergence detection. The Expert Advisor uses signals provided by the DivergenceViewer indicator. Author: Ihor Herasko
New article Mathematics in Trading: How to Estimate Trade Results has been published: We all are aware of that "No profit obtained in the past will guarantee any success in future". However, it is still very actual to be able to estimate trading systems. This article deals with some simple and...
New article Library for easy and quick development of MetaTrader programs (part XII): "Account" object class and collection of account objects has been published: In the previous article, we defined position closure events for MQL4 in the library and got rid of the unused order properties. Here we
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...
FolowLineEA: It's an expert to help any user to find better settings for FolowLine indicator. Expert works only with FolowLine indicator. Author: Nikolaos Pantzos
Hi everyone I just come across this Youtube channel where they test different strategies for 100 times. I kinda like the concept and would like to know if there is any other Youtube channel or website that offers such content. Thanks
Hello, for to copy text to clipboard, I tried the solution of ricx on https://forum.mql4.com/30795 It's running through without error, but in the clipboard there only is the first character of the input string. I tried to find an explanation and a solution and then replaced "CF_TEXT" with...
Hi everyone .. I created this indicator but I don't understand why the whole Metatrader slows down .. This only happens with the iMaOnArray function ... Can anyone help me ?? Thanks Ciao a tutti .. Ho creato questo indicatore ma non capisco perché l'intero Metatrader rallenta .. Questo succede solo
hi everyone i want to make full background picture with OBJ_BITMAP_LABEL i want to get width and length of main window and resize the picture to fit in it ? i mean there is a way to resize the input picture in mql4
Hi guys, I am testing a strategy on MT4, and have noticed a very strange phenomena. When In the strategy tester I choose "H1 Period", and in the EA code I use data from 5 min period indicators, the results are steady and great, it grows 3K deposit into 7.5 millions! But when I use the same period in
I'm a newbie and am lost in regards to what platform I am using. I downloaded MT5 for windows. I see a login to trade account. What is this? I have an ig.com account but don't understand the difference between that and my windows MT5 software? Do I still need the ig.com account? My goal is to learn
Hi, I've got this EA here that uses the MA and stochastic to enter trades and has a set TP in pips but I'd like to add an orderclose function that would close the sell trades when the stochastic goes below 20 and close buy trades when it goes above 80. Unfortunately when I tried to do this the order
Hi, can anybody please give an advice where to add this code snippet below to my EA to make it work? I tried it on several positions of code and I also can compile it but it had no effect. Thanks a lot. int SetOrder( int type) { double price = 0 , sl = 0 , tp = 0 ; color col = clrNONE ; bool
void CheckForMATrade() { string signal; double CurrentFast = iMA ( NULL , 0 ,FastMA,FastMAShift,FastMAMethod,FastMAAppliedTo, 1 ); double CurrentSlow = iMA ( NULL , 0 ,SlowMA,SlowMAShift,SlowMAMethod,SlowMAAppliedTo, 1 ); double PreviousFast = iMA ( NULL , 0
Hi, I'm kinda' new to using Scripts, and am running into a problem. Using the standard (or any other) scripts on my InterbankFX demo account worksfine, but I recently set up a live acount and whenever I try to execute a scriptI get an error message in the Expert Log that gives number 4109 - which...
I am learning EA. I want to get the high and low values of this custom indicator, how can I get them? Any one can give me some help? with my appreciate. //+------------------------------------------------------------------+ //| Swing_ZZ_v3.6.mq4 |
  Placed By Expert  (2)
I have a SCRIPT that opens a Buy order via OrderSend. Then calls OrderModify to set SL and TP. When I hover over the new position in the Terminal window, it shows "Placed by expert". There is no Expert ID shown. Since I am opening the position manually, why does it show "Placed by expert"
Hi, I have a question. I want to record the current profit and if the profit is more than current profit, then I want to update the price. Current $10 5min later, it changed to $20, So I want to monitor this value. static double MaxProfit; if (MaxProfit<ProfitCheck() ){MaxProfit=ProfitCheck();}
I have " Authorization failed. Please check trading account data.What to do
  control points  (9)
does higher time frame has more control points than lower time frame in optimization?