MQL5.community forex forum for traders and developers

  Coding  (10)
Can somebody tell me how to learn coding !? I want to do EA for my indicator and i don't know how but i want to know 😊 
Hi, please see the following EA: class A { private : string m_name; public : A() { m_name = "Happy Trading" ; PrintFormat ( "%s" , m_name); } ~A() { Print ( "End" ); } }; int OnInit () { A *a; a = new A; return INIT_SUCCEEDED ; } void OnDeinit ( const int reason) {
Why is it i get the "cannot convert enum" error in mql5? but not mql4? In the following i get the error int tf= 0 ; iLow ( _Symbol ,tf, 0 ); But if i type it directly into the parameter there is no error? iLow ( _Symbol , 0 , 0 ); Or even the enumeration directly there is no error? iLow ( _Symbol
So when I run my strategy tester in then normal visualizer mode it runs fast. But when once I upload my template that I have saved (it’s nothing but 33mb, and consists of rsi, adx, atr, pivot points and fractals) it runs very slow. I don’t understand. If I use another one of my saved templates like
I have a parent class Parent_class and I create an instance Parent_class MY_OWN_Parent_class; So far so good. i want a child class Child_of_MY_OWN_Parent_class : public MY_OWN_Parent_class of '' MY_OWN_Parent_class '' instead of creating a child class of '' Parent_class " and then somehow linking
Hello ! With Mt4 when I was running a lot of algo on the same account it was more efficient to install more than one mt4 platform with the EAs on it. For example with an EA on 15 charts. It's much more efficient to install 3 mt4 and put 5 charts on each platform. (this allows to distribute the work
  Swing Trading ideas  (533   1 2 3 4 5 ... 53 54)
thread rules only daily charts any currency must Sl and TP try to explain trade reason No bickering
  Subscriber money  (8)
Hi I am new here and I got first subscriber so I have no idea how it works,, can any one pls enlighten me when do I see the fees money in my account, because right now I can see any money in my account
Hi Friend I am trying to get Trend calculations in a derived class CTrend.mqh. I want to use method of the above class to use into another derived class CBreakOut.mqh. Both the derived classes are coming from same CStrategyBase.mqh class. below I have tried to give some idea of what I am planning to
HI friends ,How do I change the Color of a single candle , last or currently candle not all candles on charts . I have already tried ChartSetInteger but it changes the color of all candles . Thanks in advance
Everytime I have to do an update through the google play store all of my charts are lost. Is there anyway to update it without it deleting all of my charts? I have like 15 charts each with up to 20 indicators on them and i have to re do them every time theres an update. Its a pain in the asss
Hi, I know that the VIX grew substantially last week.... but I saw this bug on my MT5, do you know how to fix it? thank you
Dear people, I have seen that there are already many threads reporting about differences between MT5 visual and non-visual testing. All focused on returns and there were discussions about data feeds, spreads and so on... And I found discussion not applicable to my problem. I have spot an example in
Anybody else having a problem with loading the Metatrader 5 app? The chart loads but nothing is shown moving from over 3 hours ago. Its stuck on what was happening 3 hours ago. And none of the currencies will load on the side. It just shows all the currencies as blank. Then it crashes. Loaded okay
Yesterday the app did the exact same thing it stopped working for no reason after 3 pm, and not until this morning at 9 am when I checked it it went back to working fine again. NOW AGAIN today I go to check the open price for the next day after 5 pm like I usually do with no problem AND IT'S NOT...
Tested on nasdaq from 12th oct to 5th nov using real tick data from my own broker and low risk trades 0.5% per position profit factor and win rate lol
I have a couple strategies I am testing on demo, mostly ICT, I am curoius if there are other strats being used by others on the forum that are showing nice profits and consistency
  Channel trading system  (322   1 2 3 4 5 ... 32 33)
It is simple trading strategies. m217irr mentioned about it here but I did not understand it in that time. This strategy is very good for the beginners and I started my forex with this strategy some years ago. And not me only. I know that Tartan started with this strategy as well and finally we have...
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...
  Simple Ichimoku System  (157   1 2 3 4 5 ... 15 16)
Simple Ichimoku System. Some members remember Ichimoku informational template for Asctrend M5 elite section system thread: https://www.mql5.com/en/forum/174756 and new set of this system from this post. It is so called Ichimoku informational template to check market condition on H4/D1 timeframe...
Hi to all, I have been reading about emotional trading and why it is so nasty, but I am not clear what the symptoms of it are. So what are the feelings you have when you’re under emotional trading?
  MONEY MAKING manual trading system  (538   1 2 3 4 5 ... 53 54)
Dear All, As this is my first post on this forum you may think that i am a newbie which i am for sure in comparing with some forex gurus like Igorad, but after spending couple of years in losing money, researching, losing money, researching and finally earning money i don't feel like one . I...
What is the most structured way to search effectively for EAs on mql5.com? I am looking for: 1) those that trade profitable. Does not need to be high, but steady. 2) low drawdown 3) during major sessions, not night sessions when non-liquid, high spread/slippage. 4) definitely no crazy dangerous
  Forex Strategy  (15   1 2)
hey guys, any strategy that I've backtested so far [with EA] hadn't win rate more than 25% ! is it realistic to have 50% win rate in Forex? If yes, how can I achieve it. Thanks
  PriceChannel Parabolic system  (299   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...
Greetings to all I want your help in this matter Now I'm thinking about buying a system for currency tradingBut I do not know better, I need your experienceAll praise his goods dealer and I am confused now Which defines provider exchange signals show me it All thanks and appreciation to you
Hi all, I've been trading a live account for just about 4 weeks now and managed to tripple my account. I started with a $100 account at FXDD and my account balance is now $312.65 with a Floating P/L of -$48.50. This does not bother me much, because I'm sure the EURUSD will go down on Monday. I'm...
  Dashboard123  (1)
scalping techniques m15 and h1 with a chart display on m5 <Deleted> <Deleted>
Fractal Wave is by far the most conformative and practical theory in the technical analysis. However, it is also most underestimated theory too. In my opinion, ironically, this important theory is less popular. Hence, I decided to bring some educational materials here in the direction of making the
Do you know how you can get better trading conditions from a broker if you are a small trader
I was watching a video that shows you can use the DXY with EURUSD for divergence, I was wondering if there is also a market that can be used the same for GBPUSD? Thanks in advance :)
I believe a StopLimit order has 2 components Stop price and Limit price I want to know if the stop price has been reached or not. If it has, what elements of the orders has changed. E.g. Can the StopLimit be modified and how? As this is not a limit order should I update the price? When accessing the
  Crypto Currencies  (12   1 2)
Where can I find the Crypto Currencies like 'Ethereum, Ripple and Bitcoin' ??
as stated here https://en.m.wikipedia.org/wiki/List_of_stock_exchange_trading_hours Most markets are open Monday through Friday and closed on Saturday and Sunday in their respective local time zones,[1] although some such as the Tel Aviv Stock Exchange and the Saudi Stock Exchange shift this to be
Hello guys! I have been observing and analyzing the various currencies, commodities and indices. I feel like the world economy is due for a crash or meltdown. What do you think
  We use Bitcoin ;)  (492   1 2 3 4 5 ... 49 50)
Seems we need a Bitcoin thread to discuss about due the growing popularity of this virtual money. Forex-TSD is studying the idea of take Bitcoins as payment method and having our thread to discuss about pros and cons sounds as good approach. You will find more information on the official Bitcoin...
  Trading stocks  (17   1 2)
Hi there, I am new here and i want to trade stocks rather than forex/currency. I have not been able top find out where and how buy/sell platform Anyone please guide me Thanks \ JC
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...
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
Hello everybody, I want to trade on Binance broker via an Expert Advisor, written in MT5. Unfortunately, the course data for Binance are not available for the MT5. However, Phyton is able to both retrieve the price data from Binance through an API, as well as trading on Binance. Now there are two
Is it possible to get binance futures historical data and live feed on metatrader5 ? if yes, how would I go about doing it
  McDonald's  (15   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...
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...
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...
I am running a long-only strategy that opens multiple long trades, and then sells them off one by one. The first position it sells should correspond with the ticket of the first position it had opened. I have been browsing the forums for literally hours on end, as well as documentation, but have
I tried 100x to upload my EA in MQL5 market place. Always bringing a error msg when i do upload. Can someone help me in this one
Hi AFAIK it's not possible to open a trade withing the candle duration on Open Prices . other systems allow that. it's just a matter of checking if the price asked for entry is within high and low of the bar, then computing the Drawdown as if price went the opoosite way and came back (worst case
I'm having a problem back testing my EA which opens 2 (or more) pending buy limit orders for the same symbol in a netting account. The deals associated with the 2 orders have different DEAL_TICKET and DEAL_ORDER values, but the same DEAL_POSITION_ID value. As a result, when a Take Profit (or Stop
  Tape Reading  (1)
Is it possible to create a robot that does tape reading? Check the order book, times and trade and the volume at price
Does anyone know where I can get a 3 HMA Crossover EA that sends long trade when: -1st Fast HMA crosses up the 2nd slower HMA - 2nd HMA crosses up 3rd slowest HMA -Enter Buy trade on the first Bull candle that closes above the 2nd slower HMA Any help is greatly appreciated
Hello Everyone, I'm trying to store tickdata and not sure what would be the most effective way to store this data. The Tick Data I want to store will be up to 1 minute of data and based on this I would like to do some calculations therefore I will require to access that data at any millisecond time
Hi everyone, I found a script for MT5 which automatically and immediately adds a predefined stoploss to active positions. Is there a way modify it, so also non-triggered stop and limit orders receive a SL? It's mainly a safety issue for me, because I trade on the 1m and I am worried my internet
Hello, I am looking for an EA that can trade Volatility 75 index from the broker Deriv. I have not found any, but was wondering if anyone knew of any that have been tested and proven to be profitable? Thank you, C
Hello, I am searching for an EA which will duplicate my trades in the same account as buy/sell limit orders in predefined distance. For example when I open a trade, I want the ea to create order XX amounts of pips from the initial price. May you recommend something? Thanks
Please, how I can check if market is open or closed in MT5, I cant find answer. something similar to MT4 - MarketInfo(Symbol(),MODE_TRADEALLOWED) this command doesn't exist in MT5 anymore. Thank you
  Requests & Ideas (MQL5 only!)  (653   1 2 3 4 5 ... 65 66)
Terms and Conditions: You describe (you provide) the idea. I place an open MQL5 code in this branch. I place this code in a CodeBase. I specify the author of the idea and the author of a MQL5 code in a code. The coding services are provided "as is" and you use them at your own risk. List of ideas
Hello everyone, I need some advices to avoid Backtesting biases or misleading some of old traders don't trust Expert advisors even if they see it's giant results of backtest because some actions in backtesting are not the same of real trading (even if it's every tick) What about your opinions
Hi all, I am just wondering if it is possible to modify a trade I opened manually using an EA that I wrote after the trade by using orderID or something of the like. For example, long trade is opened manually at 8pm and I would love to insert EA conditions that will guide when to take profit on this
I am searching for a way to Fill an Array with some values in brackets so I don't have to mess around with indices for doing that like string array[1]="name1"; string array[2]="name2"; string array[3]="name3"; and so on... I got the idea in a python tutorial and now I have a similar problem in MQL5
  Pivot indicators  (756   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...
I can get and identify current crossover by using 1 and 2 buffer of the two MA indicators. But i want to get the previous crossover and the corresponding X candle. Should i run the crossover check on every newBar and re assign a value on every tick? please pardon my english
I am new to the community and just wanted to say hi! I recently rented several indicators from ***! I am currently going through the manuals to learn the proper way to use them. Hopefully, I am commenting in the correct place. I was instructed to comment in the indicator page of the MQL5 forum to I
Hello I'm trying to use Bollinger bands indicator with data from MA indicator. I read in the documentation that I can use iBands to handle buffer of data from my MA indicator, but the example seems complex o me. can anyone please explain me how to do this? Let's say I used this code to calculate the
Hello every one; I'm rather new to indicator writing and trying to write a cross over indicator to use with ichimoku. It is supposed to shows the condition of Kijunsen and Tenkansen relative to each other if Kijunsen<Tenkan the color will be Red .. if Kijunsen>Tenkan the color will be Blue and if
  ATR Trailing Stop - Help  (95   1 2 3 4 5 ... 9 10)
Hi everyone: I have absolutely no coding experience in mq4 indicators, and am asking for help in creating an indicator. The volatility trailing stop that uses a multiple of ATR has been of great use to me in Metastock when I used to trade equities, and I've been looking for an equivalent in...
  Everything about RSI  (1446   1 2 3 4 5 ... 144 145)
RSI indicator We are continuing discussion about the indicators. We have the following thread: Parabolic SAR indicator Momentum indicator Stochastic Oscillator Divergence Indicator Now we are talking about RSI. "Technical Analysis from A to Z": Overview The Relative Strength Index ("RSI") is a
I heard someone in Vienna made an indicator taking the Stochastic 108 for the SELL signal on and 65 to end the signal. It's quite popular among the journalists despite of the price of 10,000€ for the real indicator. Some Goethe Institute students in Argentine learned the quick way of getting the
  All John Ehlers Indicators...  (955   1 2 3 4 5 ... 95 96)
Hi all... I'm dedicating this thread to all indicators by John Ehler's in the hope that we can get/make as many of them for MT4 as possible. Please post any MT4 John Ehlers indicators that you have here as outlined in his books "Rocket Science for Traders", "Cybernetic Analysis for Stocks and...
[Deleted]
  Multi Timeframe Indicators  (12236   1 2 3 4 5 ... 1223 1224)
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...
  Indicators with alerts/signal  (15896   1 2 3 4 5 ... 1589 1590)
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...
Any recommendations for Overbought / oversold indicator? apart from the obvious, RSI, MACD etc
Hi,while uploading to metaquotes a new indicator,I receive the following error message:test on EURUSD,H1 (netting)not synchronized with trade serverwhat does it means?thank you
When we use Chart Shift, there will be a space in right part of a chart. It seems that many tool display info here. Most of the functions are developed by Objects. But, to deal with objects in MQL4, there are so many functions and some of them has the same results. E.g, shiould I use...
Hello , i have created a simple program on MQL5 but i keep getting array out of range . Could you tell me how i can fix it please? int OnCalculate ( const int rates_total, const int prev_calculated, const datetime &time[], const double &open[]
So there is this include Math/Alglib/matrix.mqh in which you find the methods for setting the height and width of a matrix, but I can't find where to just place values inside a given place in a matrix or where can I read values from a matrix
Dynamic pivots - any time frame : Short description. Author: Mladen Rakic
Dynamic pivots - any time frame : Dynamic pivots - any time frame Author: Mladen Rakic
Volatility Quality EA: This expert advisor is based on the Volatility Quality Index indicator created by raff1410. Author: bobby
Market_Sessions: Indicator Market Session Author: Scriptor
BB SWING: BB SWING EA trades with "BOLINGER BANDS" indicator and swing strategy works best on 1H & 4H time frame major forex pairs. Author: Aharon Tzadik
News EA Template without DLL: Template EA that downloads news without the use of DLL. Author: Yurij Izyumov
New article Working with sockets in MQL, or How to become a signal provider has been published: Sockets… What in our IT world could possibly exist without them? Dating back to 1982, and hardly changed up to the present time, they smoothly work for us every second. This is the foundation of network,...
New article Trading Signals in MetaTrader 5: A Better Alternative to PAMM Accounts! is published: We are pleased to announce that MetaTrader 5 now features Trading Signals, thus giving a powerful tool to investors and managers. While you are following the trades of a successful trader, the terminal...
New article Use MQL5.community channels and group chats has been published: The MQL5.com website brings together traders from all over the world. Users publish articles, share free codes, sell products in the Market, perform Freelance orders and copy trading signals. You can communicate with them on
New article Native Twitter Client for MT4 and MT5 without DLL has been published: Ever wanted to access tweets and/or post your trade signals on Twitter ? Search no more, these on-going article series will show you how to do it without using any DLL. Enjoy the journey of implementing Tweeter API
New article Payments and payment methods is published: MQL5.community built-in services offer great opportunities both to MQL5 developers and ordinary traders with no programming skills. But all these features can't be implemented without in-house secure payment system, that provides a convenient
Price Line : Shows Last Price, Daily percentage change and Time based on Input selection to the Price Line Author: Dark Ryd3r
New article Swaps (Part I): Locking and Synthetic Positions has been published: In this article I will try to expand the classic concept of swap trading methods. I will explain why I have come to the conclusion that this concept deserves special attention and is absolutely recommended for study. I
New article Fix PriceAction Stoploss or Fixed RSI (Smart StopLoss) has been published: Stop-loss are a major tool when it comes to money management in trading. Effective use of stop-loss, take profit and lot size can make a trader more consistent in trading and over all more profitable. Although
  ORDER SEND !  (1)
hi guys , do u know how this could happen? i tested my strategy in strategy tester then i expected only one sell there but it open some sells and some buys, price didnt reach to the buy position even if ( where == 1 ) { if (Bid>bala_hemayat) {
Hi I want to make an alarm like this My expert has 1 or more positions at the same time. When the indicator gives the exit signal, the positions are closed. I want to give an alarm when the positions close 1- Close 1 position Eurusd +$20 Profit Comment Currency Position type Number of positions
Hi, I've been trying to figure out why I'm getting a OrderSend #130 error. I'm familiar with the error and have resolved similar errors in the past however I'm unable to debug this one. I could use a 2nd pair of eyes to review the code to figure out what the issue is. Below is a summary of the code
Hi! Im new in meta Editor, I tried to make a custom Indicator that shows the commulative sum, in my case the commulative sum of mcs[]; here is my code: //+------------------------------------------------------------------+ //| Volume Momentum Cummulative.mq4 | //|
Hello, I am trying to use this indicator in a EA that I am currently building I got the indicator here : https://www.bullforyou.com/Sourcecode/Indicators/153735942715023.html My problem here is that this divergencesType always return 2147483647.0 divergencesType = iCustom ( NULL , 0
Hi, I'm trying to get ticket number after sending an order int ticket= OrderSend ( Symbol (),OP_BUY,volume,Ask, 3 ,stoploss,takeprofit,"My order", 0 , 0 , clrGreen ); if (ticket< 0 ) { Print (" OrderSend failed with error #", GetLastError ()); } else { Print (
  Mql4 Function  (1)
Good morning, is there any mql4 function that restarts any of thesel, or similar: Terminal, or the connection of the terminal with the server, or the data of open orders? I have a problem regarding orders, some pending orders are activated but the terminal does not update the order, and there is an
Hi Traders, I need your expert help once again, I am trying to put together a simple code to change the timeframes, below is what I did, is working fine but I am getting the message "Do you really want to stop script?" every time I run it, it is a bit annoying. Any advise on how I can get rid of
  Semi Manual EA  (1)
Hi guys i have coded EA trade management. It automatically set my trailing stops when it reach a certain percent on gain. To activate it i need to manually open a trade, after manually opening a trade i run the EA so it can adjust my trailing stops. It works perfectly on one pair. The problem comes
Hello everyone, I hope you're all doing very good... I found an issue while trying to create an array of MyPoint objects and then add it to the Vector Object but all my attempts and researches failed... This small code gives an error of "Parameter conversion not allowed" and "Invalid Access Array"
Cananybody help me, please? I tried to changechart template and then create a graphical object (horizontal line) in the chart byMQL4.   For example: ChartApplyTemplate(0,”template_name.tpl”); ObjectCreate(0,obj_name,obj_type,0,obj_time,obj_price);   The Template haschanged successfully, but the...
It's been for months that I manually need to adjust the width value of the Heiken Ashi indicator, every time MetaTrader 4 starts...3 times for 3 graphs. This is necessary because if you zoom the graph while using this indicator you need to change the width of the bars of this indicator in it's...
Hi, I created this price ticker as I wanted to use the Market Watch prices and to reduce the quote to one less decimal place but still see the fractional element. It works great but the only snag is the colour doesn't change. What have a i missed? Thanks in advance. #property...
Hi guys! I'm a newbie to coding. Just getting started. This is the second program I now code. Here is my current issue with the below coding: 1/ Why does the system give me the high of the candle from 1970.01.01 and this twice (see print statements in terminal) ? 2/ Why my high_price_array[] seems