MQL5.community forex forum for traders and developers

I did not sign for Automatic Renewal and still get renewed automatically. Please refund my $15
I really don't understand the user rating system on this site, supposedly based on our "Achievements". On Tuesday/Wednesday my rating was 11111. On Wednesday/Thursday it was 10955 and today it is 10892. Besides regularly reading and posting, the ratings are going downwards instead of upwards
  Detet the trend using ZigZag  (16   1 2)
In this code "https://c.mql5.com/3/260/ZigZag_Example.mq5" i learn how to detet ZigZag extremum. How to know if the last detected extremum is high or low? How to code: if last extremum was high then it's downtrend and if it's low then it's downtrend? Thanks
#include <Trade\Trade.mqh> #include <Trade\SymbolInfo.mqh> #include <Trade\AccountInfo.mqh> CTrade trade; //+------------------------------------------------------------------+ //| Expert tick function | //+------------------------------------------------------------------+
Hi there, I've just created an EA using EasyAndFastGUI library . It is good but not as responsive and fast as users expect. Please introduce some perfect libraries for GUI creation in MT5. Can I use QT or PyQT or some other flexible UI libraries? What is the best GUI library for MQL5 ? Thanks all
All lessons of Codersguru: https://www.mql5.com/en/forum/175653 Mql - Metatrader Development Course | www.metatrader.info https://www.mql5.com/en/forum/172885 All Codersguru lessons + questions/replies and so on are on this section Metatrader 4 mql 4 - Development course - Forex-TSD Book: https...
  Please help  (8)
Hello I'm trying to separate dates for statistical analysis. I have two dates arrays, I want to separate dates that are in Array2 but not in Array1. I think my code compare each array's index by index. How can I take Array2 index then loop the whole Array1 to find a match and if there's non, then
// Buy entry if (MABuyFilter&&CCIBuyFilter) { //here we are assuming that the TakeProfit and StopLoss are entered in Pips ticket = OrderSend ( Symbol (), OP_BUY, Lots, Ask, vSlippage, Bid - StopLoss * vPoint, Bid + TakeProfit *
How do I shift the chart to get an open space at the right edge? I see this feature in MT4 or smartphone apps by tap and holding, but does it have a similar feature in iPad MT5
HiIm trying to migrate MQL5 to a new account within MT5 with a different firm/and broker. Formerly i was able to migrater to a different account in MT5, with the same broker, within MQL5 profile/hosting/ move account. This time. with a new account AND different broker it doesn't seem to migrate, in
Hi, I am trying to get the price the last time the RSI equaled a specific reading anyone know if there is an array storing the price at that reading? For example I can use my own variable and say when 1 hour rsi=50, myvar=current price but if the app or computer gets turned off you lose those
Hi community, For somes EA which are a bit complicated, multi timeframe & multi currency, sometimes the queue of events which are pending to process (Onchartevent, etc...) could increase and maybe overflow. Is there any solutions to acess to this queue ? That could help to improve stability of
Hi, experts New to mql5 scripting here. I come across this issue where pending order keep on activated because I cannot seem to stop it using OrdersTotal() function. The script should be, pending order can only open 1 at a time. It would be nice to have workaround for this issue. Thanks, Amir H
We have updated the MQL5.com Chat to further enhance the user conversation experience. Check out the new service interface and updated functions, such as the revised friending logic. Create groups on financial topics, join existing channels, discuss current issues with fellow traders in group chats
Hey guys, I have the sbt indicators that help for overlaying charts on another one. I have one for the line chart and one for candle chart. I know there is a way to put them together in one indicator so that when clicking a button for line it launches the line chart version and then when clicking
For a while now I've been working on creating an algorithm based on a short term moving average crossing a longer term moving average (and a bunch of filters on top of this). Initially the result can look great. However, when I then went back in time I always see that the algorithm that worked so
Technical Analysis Mastering, Risk Management, Psychological Skills, The three are equally important
Can anyone teach me how I can manage multiple mt4 account with a single account for free ? Kindly help me out with this
What is the one and most important rule in FOREX to make one successful
Hi i want create EA that calculete entry volume for each postion according the risk percentage. i use belowcode: Input_Volume= (((UserBalance*(Risk_Money/ 100 ))/(Stoploss_point/ 100 )) * ( SymbolInfoDouble ( Symbol (), SYMBOL_TRADE_TICK_VALUE ))) / ( 100000 / AccountInfoInteger ( ACCOUNT_LEVERAGE
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...
15 min forex trading system with stochastic momentum index <Deleted>
A good strategy should answer 5 questions: 1. Does our entry occurs in decent volume zone ? 2. Is there enough space for Candlestick to grow? (Avoiding OverBought and OverSold Zones). 3. Are we Aligned with trend? 4. Can we evaluate easily with naked eyes? 5. Is there low Risk Involves.? And Here's
Hi, Is there a comprehensive list of Brokers that support MT5? Regards, Kirk
Hello guys I have been trading for some years,,, but almost I spent my time just to exercise and master my strategy,, Some months ago, I interested to join mql5 forum for getting new idea, while make my strategy better and better One of some point that I notice regarding compare my account with
In MT5's strategy tester,  What is the difference between  "Every tick" and "Every tick based on real ticks"   Which one is the most Accurate? 
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 - rules for the systems. Introduction. This indicator was created by Tokyo newspaper writer before World War II who had the pseudonym called Ichimoku Sanjin which we can translate as “a glance of a mountain man”. Ichimoku means “one look”; a chart of this style is referred to...
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...
Most of trader pursue profit and forget a risk behind of their trading so, i came here to know your opinion guys.... what is really important in your trading or signal that u will copy, is it profitable or Minimize the Risk ?? Thank you guys
I am searching for volatile stock where it is good to scalp anyone who know the best stock to scalp ? let me know thank you
Yes, No, Interested, Not anymore
  Crypto Currencies  (20   1 2)
Where can I find the Crypto Currencies like 'Ethereum, Ripple and Bitcoin' ??
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
  Forecast and levels for Nikkei  (39   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...
Hi, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
  Apple  (43   1 2 3 4 5)
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
Is it possible to get binance futures historical data and live feed on metatrader5 ? if yes, how would I go about doing it
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...
Hi, How can I get de expiration date from a Future Index, like the Description window (attached image)? I tried use the code below, however dind't work. datetime m_Expiration = (datetime) SymbolInfoInteger (_Symbol, SYMBOL_EXPIRATION_TIME); the date returned is D'1970.01.01 00:00:00'
Forum on trading, automated trading systems and testing trading strategies Press review Sergey Golubev, 2016.12.25 06:50 Hang Seng Index Q1 2017 Forecast (based on the article) "Underlying sentiment surrounding Hong Kong stocks has remained negative with underlying concerns surrounding...
  Forecast and levels for CAC 40  (24   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...
  The fastest economic calendar.  (66   1 2 3 4 5 6 7)
Hi all, can you tell me the fastest economic calendar where news are published online (forecast, current events)
Happy New Year. So as not to have to open a theme every month, I made one for the year at once. Just under 5,000, but it looks like 5,000 is coming
  How To Create EA MQL5  (11   1 2)
Hi I need your help... i need E-books or learning material of how to create an Expert Adviser using mql5
Hello all, I am new to MT and looking to automate a strategy for MT4. Freelancing is not an option because there is no way to verify whether a developer can build it. The platform locks the money until it is done and could be locked forever. Thank you
Hi, My orders go through almost all the time but one order did not overnight and the only thing it says is Request rejected. Along with a retcode of 10006. It doesn't offer anymore details on it. I just tried another order and it went through fine, so I'm a little puzzled by this? I recently went
Hello, I am writing a code to close trades when Account Equity is greater that Account Balance. My target is to reduce risk for another martingale EA. so I exit at neutral point (No Loss / Profit) after the EA open 5 trades or more. My question is: is there is any way to close orders based on the
from my observations tick size SymbolInfoDouble (symbol, SYMBOL_TRADE_TICK_SIZE ); is the same as Point() for a specific symbol,100% though I'm not sure why they are being called and defined as different things on the docs, but the point I'm trying to make is that using Point() to calculate
I have an EA in which i need to get the result of the latest deal, to see if it closed in profit or loss which works perfectly in a graph, however, when running the strategy tester, as soon as it reaches the code to check the deal history the tester permanently freezes. The code only runs once
Dear Friends, Is it possible to run "Bulk Operations" commands with MQL code? I ask because these functions (e.g. Close All Positions) are much faster than closing positions one by one with the Expert Advisor. Thank you for you help in advance
Hello Community :) This is my first Topic here so i come for help .. I know there are some guys here who are very advanced . The problem i face is i couldn't compare if Macd main/signal line is above/below Momentum . I can't write .. "if(iMomentum>iMACD) " Because as you know each indicator...
Hi all, I developing an EA and I am using multiple currencies in it and I want to show arrow object on each chart for which I need chart id. The problem I am facing is I am unable to get chart if of the chart other then first chart while back testing. I am using following script to chartid of the
  Symbol Point Value  (28   1 2 3)
Morning! Can someone tell me how MT5 calculates the symbol point value using the SYMBOL_POINT enum. For example the result of the following: // GET POINT VALUE OF CURRENT SYMBOL double symbolPointVal = SymbolInfoDouble (CurrentSymbol, SYMBOL_POINT ); What is the calculation that it is doing to get
Hi, My OrderSendAsync returns true (sent ok) but the order isn't executed. I suppose this is because of request.deviation (because if I put a higher value, then orders are executed). How can I determine, for sure , that my orders are rejected because of a request.deviation that is too low? Thanks
Maybe I am not using the right search terms in google or on this forum (if so, please enlighten me so I can find the golden key). I cannot find easy solutions to aligning my timezone with my broker's timezone in the strategy tester ... and take into account DST. So, I kludged my way through it as
Hi, I have tried several panels to help me react faster than the buy and sell option built into MQ5, but regularly, the panel does not respond anymore, I am forced to delete it and add it again to be able to use it... and I don't know why, I have tested without putting any indicators, only the panel
Is it possible to create a drop down menu that shows you available pairs and changes an indicator's values depending on what pair you pick from the EA settings drop down menu? Would that be variables? I haven't even tried messing with variables yet as I don't understand what that's about. I only
Hello Guys Regarding with my scalping strategy, in very short time I am looking for script to close all order whether it profit or loss... with one click.. Thank you
Hi for instance when I use iMACD function, I can only pass the open, high, low or close price as a applied price I want to know how can I pass other indicator data as a applied price. I want to pass an iEMA values to iMACD for example. Is there any way to do that
I found an old indicator online which I would like to convert in mt5, I tried by myself, however they give me different results and after days of testing I'm not able to find the right solution. I attach the two files. Thank you for your help
  Momentum indicator  (280   1 2 3 4 5 ... 27 28)
Can someone guide me to some info on the use of this wild looking thing, I understand it can help determine the change in the slop of a MA.
If anyone could help clarify if this is possible would be greatly appreciated! Thank you in advance
  Everything about RSI  (1453   1 2 3 4 5 ... 145 146)
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
  Parabolic SAR indicator  (288   1 2 3 4 5 ... 28 29)
I am continuing posting information about indicators. So, we have information about Stochastic indicator https://www.mql5.com/en/forum/177239 We have the thread about Momentum indicator https://www.mql5.com/en/forum/176430 Now something about Parabolic SAR. OverviewThe Parabolic Time/Price System,...
Hello all, I created an MT5 indicator lately that is drawn in a subwindow. For some reason, a bar is drawn the subwindow that I do not expect. See image below: I converted this indicator from MQL4. The multi-colored line at the bottom of the subwindow should not be there. I hope you can help me spot
  please give me a help  (13   1 2)
Good morning. I wrote a code, but MT5 tell me ——2022.06.07 10:03:04.912 ask (USDJPY,H1) array out of range in 'ask.mq5' (276,22); I add a line at 275: ArrayResize(sig_USD,shiftbars); but it does not work anyway. can you give me a help please
I have tried dragging and dropping stochastic on RSI but it doesn't show me "apply to" option in stochastic. What can I do? Thank you
  iMAOnArray  (4)
Hi everybody! What does mean items, Total, and elements in iMAOnArray? double iMAOnArray( double array[], // array with data int total, // number of elements int ma_period, // MA averaging period int ma_shift, // MA
As they say all new is long forgotten old. I have not seen good indicators for a long time, almost all indicators are being redesigned, for example I can find more than 100 varieties of RSI on the Internet, although it is the same RSI, just arrows, lines, etc. This applies not only to the RSI but
Hi guys. I had this indicator on MT4 and now I need x MT5. Anyway able to code x it? It just mark the "raids", wick of candles that took a swing liquidity. I got the mql code x MT4 but I'm not able to bring to MT5. Thanks in advance x ur help
Hi again, So this is my second indicator. And this indicator is created to be able to follow Jperl's Market Statistics thread on Traders Laboratory. Please read this summary document of that thread first. After reading that document lets discuss how can we use this approach in Forex trading... I am...
Hi community. I would like to have a 2 buffer histogram on a separate chart so that I can display bars with 2 types of styling from the 2 buffers. In reality, only one bar will be displayed at a time for an index as one of them will have a zero value for that index. This is just like how it would be
  QQE Cross over alerts on screen  (46   1 2 3 4 5)
Hi Can anyone modify the QQE to place an arrow when there is a crossover ? Thanks
New article Developing a trading Expert Advisor from scratch (Part 12): Times and Trade (I) has been published: Today we will create Times & Trade with fast interpretation to read the order flow. It is the first part in which we will build the system. In the next article, we will complete the system
RSI Dual Cloud : Two RSI (Relative Strength Index, RSI) lines - 'Fast' and 'Slow'. Filling areas from the window borders to these lines Author: Vladimir Karputov
PivotPoint: Pivot Points are always very useful for trading, this is a simple way to have some idea of where the market is heading during the day. The indicator also provides the first three supports and resistances. The orange line is the pivot point of the day, the red lines are supports and...
Detecting the start of a new bar or candle : Detecting the start of a new bar or candle, in the OnTick() event handler of an expert advisor. Author: Fernando Carreiro
ATR Bands : Converted ATR Bands by AlexanderTeaH from TradingView to MQL4 Author: Lee Chee Tat
RSI Dual Cloud EA : Strategy based on custom indicator 'RSI Dual Cloud'. Four types of signals Author: Vladimir Karputov
Trend Direction Force Index : Converted Trend Direction Force Index v2 - TDFI [wm] from TradingView to MQL4 Author: Lee Chee Tat
SSL Channel (TradingView) : Converted SSL Channel by MissTricky from TradingView to MQL4 Author: Lee Chee Tat
  Libraries: WinSock  (17   1 2)
WinSock: A WinSock library and a client/server example Author: rob
  Indicators: All Pivot Points  (63   1 2 3 4 5 6 7)
All Pivot Points: An indicator for drawing all important Pivot Points including: "Classic", "Camarilla", "Woodie", "Floor", "Fibonacci", "Fibonacci_Retracement". Author: Hossein Nouri
New article Data Science and Machine Learning (Part 05): Decision Trees has been published: Decision trees imitate the way humans think to classify data, let's see how to build a tree and use them to classify and predict some data. The main goal of the decision trees algorithm is to separate the
Support Vector Machine Learning Trader: This Expert Advisor uses support vector machine learning to analyze historical price data and signal future trades. Author: Josh Readhead
cheduecoglioni: The EA waits for a TP or SL to trigger, and then opens a position in the opposite direction. It checks if there is enough money before sending a trade request. OnTradeTransaction. Author: Vladimir Karputov
At random Full : The Expert Advisor is a joke: the position is opened randomly. Now there is a Stop Loss, Take Profit and much more Author: Vladimir Karputov
  Indicators: Harmonic Pattern Finder V3  (84   1 2 3 4 5 ... 8 9)
Harmonic Pattern Finder V3: Indicator to display existent and emerging harmonic chart patterns. Author: Andre Enger
Hello Members, I am trying to get onclick event for the panel and dialogue CButton . But is not working. Its working for other control types like Combo box etc. But not working with buttons. How to solve this issue? #include <Controls\Dialog.mqh> #include <Controls\Label.mqh> #include
So I have what seems to be a tricky indicator. to code. On the 5 min time frame I have a multi RSI indicator of 15 min and 30 min. On the 5 min chart when either the 15 min or 30 min RSI goes into an overbought area (above 70 level) then I have an arrow paint on the 5 min chart. So to trade , I
I have an error in values in one of my downloaded and modified Pivot point indicator. When I load the template, all values are correct. But when I clicked my MT4.exe to run the program, sometimes the values are wrong. I need to load my saved template to make it correct. Any one experience this
[Deleted]
I am studying mql4 programming. Now I want to plot sin wave in separate window. My code as below,It does not work,it shows nothing. Anyone help to revise ? Thanks a lot. //+------------------------------------------------------------------+ //|...
hi there, i am new here and new to coding. I am trying to set a button that can automatically set a SL/TP based on points or ATR multiplier. So far I have managed to get the SL based on points using the properties as a way to change it. I have a code at the end to capture the ATR, however I have not
I am searching something that would close all positions when a profit is targeted or a %, but without removing my robot that open positions. It can also be a % in the balance account to be targeted). Is it something possible on MT4? I search the net but I found only another Expert Advisor. So I have
Hi, I want help on configured EA which works on RSI 12 period (30-70) with cross over 200 EMA. From the above pic RSI period 12 (30-70) is giving confirmation and also 200 EMA is giving confimration so, this EA took trade exactly at the the border of 200 EMA. That i dont want. I want this to execute
I think I am familiar with daily manual trading of MT4. I am learning MQL4 hard, still at the beginning level. What should I do to learn from this community? Please advise me. Thank you
Morning, So I have a diagnostics email set up which contains the data on all the criteria needed to execute a position, it's to ensure that the EA is meeting all of the criteria and using ternary to give it a "PASS" or a "FAIL". It's pretty neat if I do say so myself.! For some reason, MQL4 has
When the alert window pops up and you use the scroll feature on the top half it does not work, in fact if you use the scroll feature on the bottom the top half creates a BIG space for what??  See attached. HOW CAN I GET RID OF THAT BIG SPACE THAT DOES NOTHING, IN FACT HOW CAN I TURN OFF ALERTS...
Hello guys... anyone has a tool to test indicators at a specific time of the day....for example: if i have indicator give trades all time of the day but i want to test signals come at a specific time of the day not all signals... is there any free or paid tool can do that i hope any one can help me
Hi Fellow coding enthusiasts, I am trying to return the value of the upper bollinger band when the price last crossed it using a function (below) I am checking the code by getting it to comment on the chart what should be the price. not sure were I am going wrong any help appreciated thanks. double
Morning all, So I'm working with StringFormat() and wanting to pass various double figures (i.e. prices, moving averages etc) into a string format. I know how StringFormat() works in MQL4 except how to accommodate for 5 an 3 decimal place prices. I have the following: StringFormat("Moving Average
i am getting this error " implicit conversion from 'number' to 'string' i am still new to coding and i am trying to figure out why this would cause this error. Section below is where the error is being generated SetIndexLabel( 0 , "Fibo(" +BandsPeriod+ ")[" +TimeFrame+ "]" ); SetIndexLabel( 1
I need to send my MT4 trades to CTrader. How do I run this files