forex forum for traders and developers

Does anyone know if there's any way to get the MT5 python integration to work on Mac M1 (arm). Python installs and runs fine on a Mac, but unsurprisingly, when I try: pip install MetaTrader5 I get: ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none)
Hi to all How can I download historical data from a specific broker? I have an account with the broker but when I download the data is not the same when you compare the data in the chart vs the data downloaded Is there any expert / utility to use? How can I get the Historical Data from a broker from
Hi all I use the GRAPHICAL INTERFACES XI: INTEGRATING THE STANDARD GRAPHICS LIBRARY (BUILD 16) as my origenal model , and try to modify it to my panel that I need. The panel look like this so far, and I wish it can show some useful information such like event log , error message and trading...
My indicator flickers when chart is zoomed or height is adjusted I am wondering what actions are called when chart is zoomed in / out or its height is adjusted? Does it call OnInit
when i create my signal i got this message(Suspicious growth value. High risk for subscribers) so my signal is not listed in mt4 signals i have nothing suspicious you can check it i worked hard for my strategy follow me yourself and see ,ican show myfxbook from 2020 and 2021 ,some brokers disable
void orderfunction::coverbuyspecific_order( string symbol_name, ENUM_POSITION_TYPE positiontype, string comment, int magic) { int pt = PositionsTotal (); for ( int i = pt - 1 ; i >= 0 ; i--) // for(int i = 0; i <= pt; i++) { ulong Pticket= PositionGetTicket (i); if (Pticket > 0
Hello, I get some data using API for BTCUSDT price and save those data in mysql. is it possible to connect that to mql5 in order to view chart and send trade signal? is there any available document
Hello guys, can someone tell my why this code doesn't work correctly? #property indicator_chart_window #property indicator_buffers 1 #property indicator_plots 1 #property indicator_type1 DRAW_LINE #property indicator_color1 clrBlack #property indicator_width1 1 double buf[];
A simple attempt to synchronize the OnTimer() call to TimeLocal to be called at around the next second has revealed a question, I cannot wrap my head around. So I tried to analyze the behaviour and found that GetTickCount64() and GetMicrosecondCount() give confusing results, as can be seen in the
When we used optimization, how to get the total number of optimizations use code? Just like picture, how to get 9 number use code
Hi, i am creating an indicator that will draw a box with Object Create command, but by default uses blue color, any one knows how to change the color ? Thanks
So I'm trying to make a bullish/bearish divergence here but halfway through, the line on the MACD is just a horizontal. Would it be possible to make it the same as the trendline in the chart as in the attached picture
Hello, is it possible to make a backtest with Renko charts where the prices of the Renko chart and the normal chart match
Hello traders hope you guys are doing well. I wanted to ask if anyone knows where I can find a free divergence indicator that has alerts. Thanks
Hello, my question is related to the usage of DLL inside the EA(Expert Advisor). Though we have tried to use DLL file by importing it inside the EA, but we get the error message this: "Cannot load 'Example.dll' [126]". The dll file is created in C#. Does anyone knows the solution for this? Thank you
Hello, If I change a Server will any trades open, close? If my platform is restarted for what ever reason, all my trades, which there are several, will close and likely at a lost. If there is doubt I will wait until the EA has closed everything and then change. Thanks and regards
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...
  Something Interesting to Read  (92   1 2 3 4 5 ... 9 10)
This is the thread about books related for stocks, forex, financial market and economics. Please make a post about books with possible cover image, short description and official link to buy (amazon for example). Posts without books' presentation, without official link to buy and with refferal links...
Hi My bot is taking trade everytime once condition meet. I want my bot to take only 1 trade untill TP or stopless hit Can anyone guide
  Brainwashing System / Asctrend System  (247   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
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...
Under construction - Stay tuned ! MT5 platform. Famous traders / Interviews. Indicators. Not yet Classified. Trading and The Laws of Abundance - Video about trading psychology How to Control Your Emotions When Trading. Part 1 How to Control Your Emotions When Trading. Part 2 What the forex...
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
There are two paths to make money in Forex trading. Path Number 1/- You can catch your own fish in Forex Trading! Learn Forex trading. Now, this takes a lot of time, money and effort to fully understand and learn a profitable trading system or Price pattern. This is a short cut to hunt for dollars...
  Bitcoin miner  (1606   1 2 3 4 5 ... 160 161)
Hi! Let's say I bought MINING RIGS 500 NVIDIA - ROI EXPERT RIGS (500MH/S) and started receiving Bitcoins. The following questions arise: 1. How many bitcoins I will receive per day? 2. How do I cash them out
  Trade Assistant  (43   1 2 3 4 5)
Here is a new indicator I threw together this weekend. This is the beginning, I'm going to add more indicators to this one as I go along. Basically, this indicator gives buy and sell signals on multiple timeframes based upon stochastics and RSI. I was going to wait until I posted this one but even...
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
  Can you say forex is gambling?  (92   1 2 3 4 5 ... 9 10)
Joshua Brown, vice president of investments in a renowned New York asset-management firm once said that the forex from his perspective is too risk fraught for an individual investor to engage in preferring to label forex trading as gambling with retail investors in ignorance throwing money into
  VPS server. Questions.  (190   1 2 3 4 5 ... 18 19)
Good time! Questions about VPS server operation 1. How do I stop an EA which is on VPS hosting? Point of the Rules of Usage "IV. Rental of virtual terminal The user may temporarily stop and restart the Virtual Terminal from his client terminal and the lease term is not extended. All terminal
  Rent VPS  (1)
how can i rent VPS to install my MT4 and setup my EA ? Thanks
Yes, No, Interested, Not anymore
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...
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...
  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
  Market closed  (111   1 2 3 4 5 ... 11 12)
You guys are the developers! When are you going to synchronise the terminal time with the Exchange time? 2017.01 . 13 10 : 00 : 03.969 Trades 'xxxxx': buy limit 2.00 ED- 6.17 at 1.0642 2017.01 . 13 10 : 00 : 03.969 Trades 'xxxxx': sell limit 1.00 ED- 6.17 at 1.0813 2017.01 . 13 10 : 00 : 03.975
Good afternoon! Question to those who trade with the MT5 robot. What is the order execution time? What is the ping in the terminal
At the 19th of October Ak Investment,one of Turkey's largest brokers, officially launched the MetaTrader 4 platform for Forex and CFD trading. The companynow offers its traders access to the rich functionality of thepopular platform — everything traders need from trading and analytical functions, to...
i wanted to ask this to the website admin but there's no way to contact them other than the chat bot. does anybody know if as a signal provider i can sell stock signals or is it only for forex
Hi, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
New article Creating a trading robot for Moscow Exchange. Where to start? has been published: Many traders on Moscow Exchange would like to automate their trading algorithms, but they do not know where to start. The MQL5 language offers a huge range of trading functions, and it additionally...
The international broker has expanded its exchange trading offering. Using the multi-asset platform, traders can invest in securities of global corporations, such as Allianz, BMW, Bayer, Siemens, Heineken and Royal Dutch Shell. This addition to the previously available portfolio of US stocks, brings...
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 guys! I have developed an EA, with HFT strategy type, and the signals are working well, tested in scripts and single run, but when I am trying to do optimization, the results are coming as 0 trades in forex symbols and index symbols are working well . Does anyone have any idea? PS: I'm
hellow, Probably this is a newbie question but here we go. I regardless the discussion whether this is a good idea or not, what I want to do is the following as below : Instead of a stoploss, once my long or short order is triggered I want to set a sellstop (in case the long order is triggered) or a
Hello, I would like to understand how the TP works... If I open a request to open a trade like this: request = { "action" : mt5. TRADE_ACTION_DEAL , "symbol" : "GOLDmicro" , "volume" : 0.1 , "type" : mt5. ORDER_TYPE_BUY , "price" : mt5.symbol_info_tick(
Update NOTE: this thread I have SOLVED out by using a for..loop and if..loop to filter out NON Zero Values and got the Index of Bar(s) with price data. Need guidance how I can use Structured Array for index and price data, and create a new thread for it. Dear Members I have a double SwingHigh[] with
Hello everyone, I want to link a trial account to my trial account on the MT5 platform, but I am not getting any response from the platform. It does not give an error, but it does not connect. My English is not good. I couldn't search the forum. I am sad. please someone help
I am trying to backtest an expert advisor and limit the number of pending orders to 1. However, when I place an order using the CTrade class, OrdersTotal() is still returning 0. I found this forum post but to no avail. Here's the function I'm running and the output: void Buy() { double sl = iOpen
I am trying to follow the code this person is providing in his example (Code pasted below) #include<Trade\Trade.mqh> Ctrade trade;input int SmallMovingAverage=20;input int BigMovingAverage=50; void OnTick() { // Calculate Ask price double
Hello, I am stuck right now on my script. I can open an order (see first picture attached) but i can not define a Take profit. I tried with a number (like 2000 for exemple), I tried with a variable etc. Everytime my order is opened but the TP is 0.0 So, I tried to open my trade and to modify the TP
Let's say I have 50$ to spend on single position. It is 1/100 of my account - this is my strategy (EA). How can I calculate size of position in lots based on FIAT? I'd like to use the same EA for different markets - I don't want to hardcode position size
When tested to be traded why? Compiled Many times Changed the location return Comment out traded method Delete .mq5 file The result does not change //+------------------------------------------------------------------+ //| FXModel_exp.mq5 | //|
I want to have several buttons on the chart window and when I click on each of them, the Draw Rectangle toolbar will be activated
I'm having trouble getting subplots to appear for expert advisors. I only have this problem while testing on live data - when backtesting on historical data everything works fine. Is there a setting that disables subplots from showing? I am a relatively new user, so maybe I'm missing something here
Hi friends, what's the proper way to have a persistent SQL connection during Optimizer passes? I tried opening, writing to and closing the database after each pass using MQL5 native commands but it didn't work. It did work when using the EA normally. Thank you for your comments
I declare arrays open,high, low and close and use copyopen to copyclose to get details of previous candles. I dont declare ontick() but use OnTimer() with a timer value same as timeframe of chart. this helps me get these details of any number of previous candles. Now suppose i am working in 15m with
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
I found this indicator on github. It loads in terminal just fine. When called via EA it fails. Alert: Error 0 while getting handle on Price_Density I replicated the error by using a test EA. Any help would be much appreciated. This is sample code of EA getting handle in OnInit, that generates an
  Divergence Indicators  (323   1 2 3 4 5 ... 32 33)
Hi all, I am looking for an Indicator with show Divergence on the macd version i attach below , with a sound alert signal. Can any one programer help out please. Thank you
  Parabolic SAR indicator  (287   1 2 3 4 5 ... 28 29)
I am continuing posting information about indicators. So, we have information about Stochastic indicator We have the thread about Momentum indicator Now something about Parabolic SAR. OverviewThe Parabolic Time/Price System,...
Hello all. I would like a simple text note that I can put on a chart and decide where on the chart it will be and stay there (like upper center). I have such indicator for MT4, but no way I can find anything for MT5. All search results keep taking me back to how to code it, and I don't know how to
Hi community, I am fairly new to MT5 and started trading in MT5 since about a month back. I had two trades open on Silver Today and for some reason the value dropped for a second and all my funds were wiped out! Looking at Silver on other platform the value did not drop like it shows in MT5, it
  Please Help!  (24   1 2 3)
The following indicator appears to have a bug. When switching to a higher time frame than the Daily, the indicator gives a series of Error messages informing the user that the "Chart period is greater than 1 day." Can someone fix this
I'm looking for versions of on chart MACD for MT5. Kindly post if you have any. Or post links to where I may find some. Most appreciated
  &quot;3d&quot; indicator.  (16   1 2)
I found this indicator, and i think it has a really nice potential. I think there could be an expert programmed on the basis of this indicator. The simplest is to do the expert that would do the following: Long position opens at the close of the bar during which the cross has taken place . Or on...
Hi all, I'm trying to copy only 2 years of history to my indicator buffer (I want to conduct some study on the 2 years of history of values) My problem is that when I run below code and check size of copied array it returns over 100'000 of 1 hour bars which is probably almost entire available
  Or function  (3)
please advise where I am making a mistake int OnInit () { //--- indicator buffers mapping string Pair = "EURUSD" || "GBPUSD" ; if ( Symbol ()!=Pair) { Alert ( "Wrong Pair. Please use EURUSD, GBPUSD Only" ); return ( INIT_FAILED ); } //---
  Multi-indics indicator  (468   1 2 3 4 5 ... 46 47)
Hi there, I come to present an indicator to you which I created and who could be useful to some people here. If you are interested, I would be happy to share it. You can see it attached below. Let me know what you think about it and i will be back with the code and instructions. For the moment, the...
Hello everyone, Do someone have the code for Daily and Weekly pivot point please? Thank you a lot
  Moving Average  (1544   1 2 3 4 5 ... 154 155)
Post all MA indicators here
Am coding a polynomial regression dashboard when price breaks the upper or lower channel line. Am using the i-Regr-2.0.mq5 indicator published here The indicator has 2 buffers for the upper channel line and lower line as below; SetIndexBuffer ( 0 ,hBuffer
I'm Looking for this color fill ma for MT5. Does anyone have it? Or one that is similar? Thanks.
DeMarker gaining position volume 2 : Version 2: extended functionality (added a few extra options) Author: Vladimir Karputov
Price_Channel: It's a well-known indicator that shows maximal and minimal prices (and average values) of the last n bars. Author: Александр
MT4 Account details : This code simply prints the account details for a MT4 account. Author: Satyam Shivam
Channel N Bars : Channel of 'N' bars at 'Low' and 'High' prices Author: Vladimir Karputov
New article Video: Simple automated trading – How to create a simple Expert Advisor with MQL5 has been published: The majority of students in my courses felt that MQL5 was really difficult to understand. In addition to this, they were searching for a straightforward method to automate a few
New article - User Memo is published: In this article we have prepared some hands-on tips that will help you to get accustomed in and to take full advantage of it's available features. Author: MetaQuotes Software Corp.
New article How to Prepare a Trading Account for Migration to Virtual Hosting has been published: MetaTrader client terminal is perfect for automating trading strategies. It has all tools necessary for trading robot developers ‒ powerful C++ based MQL4/MQL5 programming language, convenient...
CCI of Moving Average with Dynamic Signal Lines : CCI of Moving Average with Dynamic Signal Lines Author: maximo
CComment Class: The ССomment class was designed to extend the capabilities of the standard Comment function. Its purpose is to display a multi-line comment on a panel. Methods of this class allow you to specify text color, font, style and line spacing. You can move the panel within the screen space...
Adaptive grid : Adaptive grid expert for mt4 Author: Kenneth Parling
  Experts: DeMarker Pending 2  (12   1 2)
DeMarker Pending 2 : Development of the first version. Added parameters 'Maximum number of positions' and 'Minimum step of positions' Author: Vladimir Karputov
Half Trend New Alert : Trend indicator. Added alerts (Sound, Alert, email, push) Author: Vladimir Karputov
New article Learn how to design a trading system by Envelopes has been published: In this article, I will share with you one of the methods of how to trade bands. This time we will consider Envelopes and will see how easy it is to create some strategies based on the Envelopes. As this indicator is a
New article Learn how to design a trading system by Stochastic has been published: In this article, we continue our learning series — this time we will learn how to design a trading system using one of the most popular and useful indicators, which is the Stochastic Oscillator indicator, to build a
New article Learn how to design a trading system by CCI has been published: In this new article from our series for learning how to design trading systems, I will present the Commodities Channel Index (CCI), explain its specifics, and share with you how to create a trading system based on this
  Download history in MQL4 EA  (44   1 2 3 4 5)
I need 15M 1H 4H 1D 1W  for all 28 pairs for 30 periods back in my EA. I have used a very good tool in MQL5 published  here but is there a way of doing this in MQl4?
Hey all, I have written the following code to check if there is an open order with a matching symbol and magic number within my multi-symbol EA, but it does not prevent multiple orders from opening. The OpenTradeOrderTicket is a global array that is meant to store a 1 or 0 depending on whether there
The MetaTrader 4 platform update will be released on Thursday, October 14, 2021. This version provides error fixes and platform stability improvements. The update will be available through the Live Update system
Hello, I am trying to code to have neutral bars in the bears-bulls histogram similar to the CCI histogram indicator. I added the exern Int neutral but don't know what to do after that. here's the code. Credit to the original author
I attempted to register my MT4 account on a VPS provided by MQL4, but it did not work. I contacted my broker, who advised me to contact the VPS provider. Thr problem is no desk help for MQL
Hello, I'm coding a strategy based on 3 indicators Bollinger, RSI and STOCH! The win rate can be %99! The strategy is simple but effective! Since I'm newbie in MQL4 language, please help to code this and then we can use its signal all together :) The Logic is like this: When the candles touch lower
Hello MQL5 Community, I am currently developing an EA based on two MAs and CCI Cross conditions. I'd like to implement a time-based trading strategy and would appreciate your assistance. As I am in the process of learning coding. I've received helpful advice from the community as well as materials
The Ctrl+Tab (or Ctrl+F6) doesn't always move through the tabs in the same order. It started out working one after the other, from left to right (LTR) and then loop back to the first again. Then it started reversing on me, moving from right to left (RTL). Then it seemed as if I would do something in...
It is quite disappointing that Metaquote will attach Mt5 to both mt5 installer and mt4 installer. I need an mt4 that is not tied to a specific broker. I hate having too many mt4 on my pc. Any useful link would be appreciated
How come the comments looks weird when downloading mq4 in this website
Hi. The following code gives buy or sell signal with alert when bSetup or sSetup equel to 5 . I want to have buy and sell signals with alert when sSetup or bSetup equel to 5, 11, 13, 15. Can anyone solve the problem? //+-------------------------------------------n-----------------------+ //|
Hi, Can someone please tell how to put some text vertically or diagnolly starting from the High of each bar on the current chart I tried below code but it it showing somewhere in the middel of chart. ObjectCreate("test",OBJ_LABEL,0,Time[1],Close[1]);ObjectSetText("test",DoubleToStr(AccountBalance()...
Does MQL let you program volume as a perimeter? if (Volume[ 0 ] > Volume[ 1 ]) { res= OrderSend ( Symbol (),OP_SELL,SetLotSize(),Bid, 1 ,Bid+StopLoss* _Point ,Bid-TakeProfit* Point , NULL , 0 , 0 ,Green); } or if (Volume[ 0 ] > 300 )
  iHigh iClose  (12   1 2)
Dear Friends I was using this codes to get todays high and yesterdays low values in MT4. double ToDayHigh=iHigh(NULL,1440,0); double YesterDayLow=iLow(NULL,1440,1); Whats the code in MQL5 for the same. Thanks Noufel
Hello I was reading the documents. In the description section of the ArrayCopySeries() function, I did not understand this part well. What is meant by "Excluded are arrays that are assigned as indexed ones in custom indicators" ? When is the array copied? Do you mean arrays mapped to the buffer