Standard Library Why in the MQL5 standard library, class CAccountInfo or CPositionInfo, derives from class CObject? What is the role of the CObject class
I have an MQL VPS account linked to a Demo account because I wanted to see the quality of the VPS It is showing a speed of 233.06 ms That seems as though the VPS is not working at all. Am I correct
Hi everybody, Let me explain the situation: between 11 p.m. and 12 a.m.(french hours), the spreads can hit the sl of my positions when the forex market is closed. So, each time, I remove my sl before 11pm and put them back after midnight. Problem, I don't want to set an alarm clock at 00:00 all the
VPS not working  (274   1 2 3 4 5 ... 27 28)
Seem like my VPS can't trade since Friday. MQL5 London 7 .....
Hi, may I ask. It's possible to change the default template to one of my own so I don't need to apply it everytime I want a new chart? Thanks in advance for your possible answers.
I have discovered a bug in one of the Standard Libraries: \Include\Indicators\Series.mqh in function CheckLoadHistory. How do I contact Service Desk? There is no link for Service Desk on my profile menu as some pages indicate. Other pages tell me to install TeamWox but provide no sign in details
Hi Guys, Hope someone can help. Installed the MT4 Premium Upgrade tools onto my Oanda MT4 Demo platform. All the indicators and expert advisors work perfectly except the Oanda Orderbook 2_36_E expert advisor. I have contacted Oanda via email and chat but despite all their instructions i still get
Does anyone know how to submit an MQL5.com Bug to Service Desk? They deal only with financially related issues and refer to these forums for other issues that are not financially related. Thank you, Scott
Hi people, I nedd read into an extern file bt it doesn't work FileHandle= FileOpen ( "C:\Data\Text.txt" , FILE_READ|FILE_WRITE|FILE_TXT ,';'); FileSeek (FileHandle,0, SEEK_SET ); if(FileHandle!= INVALID_HANDLE ){ while(! FileIsEnding (FileHandle)){ res= FileReadString (FileHandle); } }
Hello, Using code , How can i read trade history ( direct from broker ) and upload it into Database , same as Myfxbook ? Note sure if this is the right place to ask if not kindly advice
Hi everyone, Here’s the question: I get buffers from example indicator multiple buffers like iEnvelopes correctly through numbering in CopyBuffer handle1 = iEnvelopes ( NULL , 0 , period, 0 , method, price, deviation); CopyBuffer (handle1, buffer= 0 , 0 , 3 , arrayUpper)> 0 ) CopyBuffer (handle1
Hi all, in the last month I've notice a drastic reduction of download of my products and sadly discovered that my stars are disappeared. I wrote to the service desk and they redirected me here. Any clue whats going on, did happens also to you? Thanks for your feedback
Hello everybody. I am a new user and need help please ... how do i create a chart overlay for free for MT5? thanks a lot Mario
HI, my mql5 is connected to an old plattform of a broker which i dont work with anymore how do i register my mql5 account to my new broker plattform? thanks
Attached is an image describing my problem. Thank you Scott <...>
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...
I am an experienced programmer, but new to MQL, I am trying save some private data in comment of position to track later. As it's undocumented clearly in dcoument, I googled and did a lot tests, finally get the conclusion disappointly: 1. The comment is filled when creating order, and can NOT be
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...
One strategy I can use is Andrew's fork
Brainwashing System / Asctrend System  (242   1 2 3 4 5 ... 24 25)
This is the thread about Brainwashing system. We will start with original version of this system and will improve it later. ========== Just something about the history. There are 3 famous signals system (manual trading systems based on signal indicators): Asctrend, BrainTrend and Brainwashing. First...
Hi given that this forum is called trading systems, I would like to ask you for help on how I look for my profitable trading system that I can later automate So far I only know about the "Observation" look and see what pattern is repeated and then do "backtesting" but beyond that or some other
Mr.Nims, Renko Ashi Scalping System.  (3546   1 2 3 4 5 ... 354 355)
Renko Ashi Trading System 2 Please read the pdf manual for this system. Good luck everyone. PS: Reuploaded the fixed ma in applied price indicator. Special thanks to FXchaser PS: Reuploaded the fixed macd alert indicator. Special thanks to Puzzlebird PS: Reuploaded a Special Settings Template for...
Forex Correlation Theory  (36   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...
PriceChannel Parabolic system  (295   1 2 3 4 5 ... 29 30)
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...
I just started this thread as a continuation of the talking made on this topic (we can read it). Or ...to 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...
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...
Raw Ideas  (1146   1 2 3 4 5 ... 114 115)
Very simple trading system of two indicators with alert (see download area). I tried to trade manually using this system but seems it is difficult. Necessary to add some filter and program EA. So, this system is for discussion and future possible improvement.
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...
Systematic Trading is the selection and execution of trades based on a predetermined set of rules generally drawn from a body of work known as technical analysis. In futures markets, such analysis utilizes a data base that includes market price, volume and open interest information. In the case of
Hello, I test Experts who come from the Market ... some work well on MetaTrader Demo Account. and have good result. when you test them on the other accounts it returns error messages. is there an explanation? can we trust
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...
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
The Best Stocks Of 2016: Nvidia (based on the article) The price was increased by 10% just for December only!
hi im looking for AstraZ# whichich broker has it
Forecast and levels for S&P 500  (467   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...
I just created a demo account with INGOT Brokerage on MT5. The demo provides a single leverage option of 1:100. I deposited $10,000 and decided to use most of my margin which I assumed to be$1,000,000 based on the broker leverage. At the time, the stock was trading at $2030 (10 shares/lot) so I So I've been using MT5 for the past couple of weeks. I opened a several demo accounts with a local brokerage and I was testing various positions. One of the demo accounts I setup just to test stock splits so I bought some TSLA at$2201. Yesterday the split went through and I woke up to find my
Forecast and levels for Nikkei  (35   1 2 3 4)
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.24 17:18 Nikkei Q1 2017 Fundamental Forecast: Bullish (based on the article) Fundamental Analysis  "The Bank of Japan has been buying stocks for over two years now. And in September, the...
Forecast and levels for CAC 40  (21   1 2 3)
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...
Hello, Where can I find an example of EA to trade stocks or ETFs? An EA based on a moving average would be fine. Thanks in advance, Pierre
Apple  (40   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...
So i have tried to buy few 3x etfs but all the time it shows only position closing is allowed
I've searched through the internet, but did not find a documentation or informal data on proper order book (Depth of Market, DOM) structure and content. There are numerous articles about what the order book is in general and many examples of trading by it. But there's no exact information what is...
I am trying to find an MT5 order entry tool that has features such as custom order templates, Market/Pending orders, OCO orders, and/or hot keys to speed up order entry. It would also be great if you could choose to enter your SL and Target using ticks instead of price. I have looked at quite a few
Hi everyone. I'm trying to obtain the value of the "modelling" field in the strategy tester settings form shown below: Does anyone know if this is possible and easy in MQl5. I can't find any way to do it. Many thanks, E
Hi, I have written a Trailing Stop function but I get the error code 4756 and return code 10013 during test. The code below is just for the BUY orders for simplicity (same applies for SELL orders). I call the function from the OnTick() when there are some conditions meet. void TS_pips() {
Hi, I'm facing a strange issue here. I have an Expert Advisor, "Main EA", which loads a custom indicator , "MW MSSS Rev Hammer.ex5" with iCustom. The whole code is stable for weeks and for weeks I have been doing backtestings without changing the indicator's source file, only the Main EA and even so
I would like to draw line like the chart above. (It's from MT4). Does anyone know how? Thanks
Hi there is a function that give me a outpot if the matket is open or closed ? (my broker is pepperstone) thank you
Hi, I'm using MT5 terminal build 1730 64-bit. I'm running EA in strategy tester (visual mode). This EA has panel with buttons BUY and SELL for manual trading. Why buttons aren't changing state (pressed or not) when I'm clicking it during testing as it works in MT4?
I wanna to use specific RSI levels for another indicator like alligator (like below picture). For example I wanna to use tow level of RSI indicator (30, 70) and when alligator cross these levels then open trade. How can I use that in mql code
I purchased some EA's for MT4. They worked fine on backtester in my demo account. Couldn't get them working for backtest in live account. I've had them running in the live account for several days now with no executed trades, and no attempted trades (no error messages)
My copy account lot size varies between 0.05 and 0.15 lots whereas signal providers lots size is always 1.0 ( in the same period ). Providers account is 7 times larger than mine -----so my lot size should be 1.0 divided by 7.0 = 0.143lots . Same margin. Why is this occurring
i am trying to make an EA for auto risk calculation but still not successful. i am trying to calculate risk from Stoploss value in pip. Example my stoploss is 10pip &amp; i want to take the risk of 5% of my total Account balance. it should calculate from these two parameters... Here is my code i...
Hello, i want to use a parameter file for my strategy. param.txt The param file is in MQL5/files. When i open datafolder/MQL5/files, i can see the file there. Also, the file loaded correctly when applying strategy to chart. Loading fails when backtesting, even i have the test file directive in the
Distance of Moving average  (12   1 2)
Hi guys, Would it be possible for someone to help me find a way to tell me EA to only execute trades when there is a specific distance between two moving averages? For example  double ma50=iMA(Symbol(),0,50,0,1,0,0); double ma200=iMA(Symbol(),0,200,0,1,0,0); I basically want to know which command i...
Hello. I need to modify an EA that makes simple (orders one at a time) to be able to close all orders made by it at a pre-defined time (23h50). Any idea how to it? Maybe something like this? https://www.mql5.com/en/forum/139654 ps: I only started with mql5 two days ago, tried to implement it, but
Hi all, I am trying to add elements (values of an indicator), tick by tick, to an array. I managed to do it with the following code but I imagine there is a more practical way without all of the shifting. And obviously the code below results in some lagging. #include <Arrays\ArrayDouble.mqh>
Hello, I’m testing Tradefields MT5, I and I have an issue with it : - Everytime I test my strategy on another year the EA stops in the middle of the month or the year and give me incomplete results. - The software’s owner told me, there a file to delete each time. It’s a waste of
Indicators with alerts/signal  (15864   1 2 3 4 5 ... 1586 1587)
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...
I have a bar number that points to some specific time in history bar_number I'm running the chart in H1. Could you help me understand why: close[bar_number] returns a correct value, iClose(_Symbol, PERIOD_H1, bar_number) - returns always 0.0. The error is 4401. Do you see why, since it's the same
Execution of this line of code is freezing the thread for exactly 50 seconds. if ( CalendarValueHistory (mqlcalendar_value, iTime ( "EURUSD" , PERIOD_D1 ,1),iTime("EURUSD",PERIOD_D1,0), NULL , NULL )) Thereafter, the program continues without error but also without returning calendar values. I have
Hi everyone. A while ago, I've downloaded and start trading with this indicator: https://www.mql5.com/pt/code/20852 It was coded by Patrick Muniz, based on a trading system of a brazilian trader called André Machado. The indicator just paints the candles based on the position of a moving average
Hi! I'm trying to create a visual indicator (MT5) but I'm having difficulties (I only know the basics). I tried to modify a code available on the site, but without success (https://www.mql5.com/en/code/1349). What I would like is: Candle Green: Close is higher than the previous high: (C2 > H3) or
Pivot indicators  (753   1 2 3 4 5 ... 75 76)
Everything about pivot indicators you may find in this thread. Besides there are some usefull links as well: - how to trade with pivot (manuals) is here. - some trading system based on pivot https://www.forex-tsd.com/forum/trading-systems/1158-pivot-system - pivots, camarilla, high/low etc.... is...
Hi there, My name is Revazi, I am trying to made MultiTimeframe indicator based on Custom indicator called Traditional MACD from MQL5 Market(https://www.mql5.com/en/market/product/2593). I am using this indicators main line and as soon as line crosses above 0 level I want to make blue
T3  (678   1 2 3 4 5 ... 67 68)
Some T3 indicators.
excel rtd  (2)
I want to export tick data from a certain chart and have installed a sample excel rtd file from another broker. Someone said, that the broker is not important for the functionality of the rtd file. Unfortunately I get data that looks like this. Can anybody tell me, what i do wrong? Windows10
Hello, in Metatrader 5 when you choose a Moving Average with the exponential method there is no parameter for the \alpha coefficient that is in the definition formula. So what is his value and how can we change it...? Thx
hey guys,good day to you all I have a few scripts from tradingview that i like, i want to see if it can be edited and tweaked into an ea is that possible? does anyone do freelance work on etf stocks?like combining unique indicators to make a special algo script for signals
The feature of MT5 of 'Show real time history of deals on chart' is a great idea, however, it can cause a lot of screen clutter especially when trading on short timeframes eg 5min, then changing the time period to say daily to look at daily levels, trendlines etc. Is there some easy way to enable...
Tick Indicator and EAs  (243   1 2 3 4 5 ... 24 25)
hi, a cool indicator Tick_on_Chart i all TimeFrames :cool: only Live Tick !!!
EMA with alert?  (40   1 2 3 4)
Does anyone know of an indicator that alerts when price is within a specified range of 34 EMA? I have searched but can only find cross alerts.
Can't seem to find an example anywhere. For example, I'd like to have the RSI indicator with a moving average on top of it. Any oscillator is fine, once I have an example I can adapt it to my own needs. Thanks
New article Calculating mathematical expressions (Part 2). Pratt and shunting yard parsers has been published: In this article, we consider the principles of mathematical expression parsing and evaluation using parsers based on operator precedence. We will implement Pratt and shunting-yard parser
CloseProfit v2: Closing positions and removing pending orders when reaching a specified profit or loss. Author: Vladimir Karputov
DreamBot - Fully working trading robot : Any account type,leverage and deposit Author: Kenneth Parling
Experts: Hedging Martingale  (33   1 2 3 4)
Hedging Martingale: Hedging Martingale opens two trades of buy and sell together,and uses the martingale method. Author: Aharon Tzadik
New article Timeseries in DoEasy library (part 46): Multi-period multi-symbol indicator buffers has been published: In this article, I am going to improve the classes of indicator buffer objects to work in the multi-symbol mode. This will pave the way for creating multi-symbol multi-period
Iterator - behavioral design pattern : Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation Author: DMITRII PECHERITSA
PivotPointsLines _v1.1 : Draws Pivot Points Level Lines for formula's Floor,Fibonacci,Camarilla,Woodie Author: NickBixy
Candles, arbitrary seconds: This is an indicator that generates simulated data for any period - but in seconds Author: Automated-Trading
Strategy - Set And Forget (with anti-Martingale system) : This strategy is the well known set & forget accompanied by the anti-martingale system. It is very useful if you are very busy in which you don't have time, you want to trade the London session while you are sleeping in USA, etc. Author
Market_Sessions: Indicator Market Session Author: Scriptor
Fraktrak xonax: A trading system based on breaking through iFractals Author: Vladimir Karputov
New article Studying candlestick analysis techniques (Part II): Auto search for new patterns has been published: In the previous article, we analyzed 14 patterns selected from a large variety of existing candlestick formations. It is impossible to analyze all the patterns one by one, therefore...
WatchDog - An EA monitoring script. : WatchDog sends an e-mail when things go wrong, an order has opened or closed, on requotes, on log errors, on server shut down... Just drag the script in a chart window. Author: Erich Pribitzer
Strategy - Set And Forget (with Martingale system) MT4 : This strategy is the well known set & forget accompanied by the martingale system. It is very useful if you are very busy in which you don't have time, you want to trade the London session while you are sleeping in USA, etc. Author: Mario
Copy Tick and History From MT4 to MT5 real time.: You can copy the ticks and history from the MetaTrader 4 to MetaTrader 5 Author: jaffer wilson
I see a message on my chart that says : Waiting for next tick ? Any idea why i am getting this message
Hi! I m new.. I need help please! I m a begginer of mql..very begginner. My experiment with EA don t work. it open only OP_Buy. Are two days that i try to understand what is the problem. I m blind. Please help! Thank you
I am working with MT4 on Galaxy Note 10+. I am unable to exit application, I must everytime kill the app to exit. Why
Hello - I have copied a snippet of my code below. It is attempting to write a bunch of order information to file upon closing a trade. The order functions I use (OrderTicket(),OrderSymbol(),Order_Type,OrderOpenPrice(),OrderClosePrice(), etc) all write the correct values to file. However
I'm using MT4 Build 900 on a WindowsXP. Today the Visual Mode and tabs at the bottom have disappeared. I've checked with two brokers. Same issue. I'd be grateful for any suggestions on how on a fix this.
Ichimoku  (376   1 2 3 4 5 ... 37 38)
I started to test some Ishimoku EA and suddenly recognized that it is necessary to have more information about it. Thus we start this thread. I will try to post everything about Ishimoku indicator here.
Hello everyone~ I want to use MT4 to call the DLL developed by C# But i have a problem I organize my development process below Hope everyone can help me solve this problem 1. I am using Visual Studio 2017 (My windows operating system is Windows 7 64-bit) I create a new project, the project type is
Hi I am trying to code a method to avoid volatility either side of Non Farm Payrol (NFP). I would like to be able to select to trade or not trade the following. 1. Trade or not Trade NFP. I have this code that seems to work extern bool NFP_Friday = true; if (DayOfWeek() == 5 && Day() < 8 &&
Who can help me convert old version Indicator to new MQL4 version(build 600) Thanks //+------------------------------------------------------------------+ //| Nina_StepMA_1.mq4 | //+------------------------------------------------------------------+ #property
Hi, I have created an indicator with displays and buttons that change variables, but now I want to create an edit button on the chart. I have managed to get the button on the chart, but I can't seem to figure out how to get the entry (number) to transfer to my variable. //=====================Input
Hi.. in MT4, I want to check current running orders and want to place a condition that if there is NO current running order(either BUY or SELL) then OrderSend(...) in MT4 Regards
Hi all My EA should open one trade if the ADX crosses a level from below. Most time it works fine but sometimes it opens multible Trades. All at the same time in same symbol. I think the problem occours in this part of code. This part should just watch if the adx crossed the adx_low_level from below
I would like to create a variable that when it touches the moving average has the value of 1 and after it performs an operation it becomes 0 and only allows new operations when it is worth 1 (touches the average)
Hey friends, im trying to find two level of Higher Low and Lower Low in a specified time frame and also two level of Lower High and Higher High i tried to find it by this following code but it seems not working and it just specifies Lower Low and Higher High, Does anyone have an algorithm to do that
Good morning, I have a problem and need help please. I recover ... open = iOpen (Symbol (), PERIOD_M1, 1); close = iClose (Symbol (), PERIOD_M1, 1); I need open and close with 5 decimal places, but I come with 4 decimal places and if the string step puiedo not operate with them, and I need you...