forex forum for traders and developers

I have made some custom symbols of my own but data keeps on missing. Can anyone guide me how do I fix this problem (Please ignore the indicator used)
I've subscribed for a signal, start day was ok and mt4 placed order automatically, but from yesterday I didn't receive any signal and it just placed in journal tab, but there is no trade. what should I do
After MT5 upgraded to it's latest build I have been having issues with my local farm optimizations. I cannot run an optimization for more than 2 years (24 months) with agents automatically becoming disabled. This was never an issue is previous builds and I could regularly optimize over 5 year
My robot stopped making orders by no order of mine. My VPS is paid and the robot was well synched. The status looks ok, but orders are orders are not created. What is wrong? Server is Real07
  signals  (1)
hi can any teach hands on training for signals, thanks
We have updated the 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
In the test, the 20-day moving average will be refreshed continuously. I have repeatedly debugged it and cannot find the reason. Who has encountered this situation
  Disconnected  (4)
My MT5 account is no longer live. It has been disconnected anyone know why this would happen ?? ‘Willy
  Account disabled  (5)
Why the moderator has disabled my seller account? My account has been available more the 1 month as a signal. now,my account is disable due to "innactivity" which i don't understand, as i was checking it every day
Hi, I need an advice (how to or a script) to temporarily disable an indicator in mt4 (it makes a bit of a mess on the screen and i would like to do some work on a cleaner 'sheet'). just deinstalling it doesn't do the job as I'm making a lot of customization and i don't want to repeat it every time
Actually the MT5 on my laptop I can see the update and have done the update. I have 2 installs of MT5 on my VPS and I have gone to do those updates but they show only the old version and no updates available. Can anyone give me any guidance please? Thanks
Greetings ladies and gentlemen. I recently updated my MT5 and since then it keeps shutting itself down. Crashing every now and then. When I open it it takes just a few minutes and then will automatically shut down. I have uninstalled and re-installed but still does not solve my problem. What could
  Forecast and levels for GBP  (259   1 2 3 4 5 ... 25 26)
GBP/USD April-June 2017 Forecast: ranging below Ichimoku cloud for direction W1 price is below Ichimoku cloud for the bearish ranging market condition within the following support/resistance levels: 1.2569 resistance level located near and below Ichimoku cloud in the beginning of the secondary rally...
  Press review  (7092   1 2 3 4 5 ... 709 710)
This link provided to me by RaptorUK, give me the idea that it would be interesting to have a place here on the site to share such links. So I opened a new topic, it will be moderated to follow the rules as usual, but also about the content. Everyone can post but have to provide a quote and the...
  How to start with MQL5  (391   1 2 3 4 5 ... 39 40)
This thread discusses MQL5 code examples. There will be examples of how to get data from indicators, how to program advisors ... in general, any questions from beginner to the MQL5 language. If you are just starting to get acquainted with the MetaTrader 5 terminal, then I can recommend the...
HI, I really don't know how I can get every day the Highest and Lowest price between for example 04:00 AM and 06:00 AM. I'm aware how to find the Highest/Lowest of a range of candle with iHigh and iLow but not for a precis time range Can you please Help me? Thank you very much. Jérôme
What is your opinion/experience on the effectiveness/profitability of 3 take profit method
  VPS server. Questions.  (199   1 2 3 4 5 ... 19 20)
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
My system generates pending orders. This works very well. Now I would like to delete my pending order under certain conditions and if the condition is no longer given, then I would like to use the pending order again. The deletion of the pending order works already. But how can I save the current
  Most profitable Trading System?  (85   1 2 3 4 5 ... 8 9)
I have searched a long time though various trading systems. But I did not find a system which convinced me. Maybe some experienced traders could say me, what is the most profitable trading system, what system makes really sense. You could differ the systems for longer timeframes and for shorter...
  MT4 VPS problem  (2)
Hello, I have been using VPS(New York host) for half year and smooth running without problem. But since last month, Around 10:00 PM HKT the EA is not working on VPS any more, no log/error and sometime will resume normal around 1:00am HKT. But when i change the VPS server to chicago it works prefect
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...
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...
  We CAN NOT predict the market !  (37   1 2 3 4)
We cannot predict the direction of the market nor a point of reference for the market. Because basically the market is very dynamic and is determined by humans , not robots. All we can do is only follow the current market trend , and take immediate action when something happens against the direction
HI, I know that true/real HFT with mt4 is impossible due to execution time and how many trades can be placed per ms with mt4. Real STP brokers will have an execution time of 30-100ms where as MM will have execution of 1-10 ms. In order to be truly HFT you would have to have a fix api with a trading
I use MetaTrader 4 - (Released July 2005), I use MetaTrader 5 - (Released September 2010), I use both MetaTrader 4 and MetaTrader 5, I do not use both platform but I only use website
Predict Market Direction (Trade after you predict buy or sell market direction using the technical analysis.), React To Market (Trade if price is pushed to one direction as in support resistance or some sort of breakout trading. You never predict market direction but you react only. ), Both stratgy
is it possible to have EA that places pending or have price levels set at certain points so that if price on chart crosses these set price line it opens orders as follows, buy stop and sell limit when bid prices crosses these set levels and as for sell stop and buy limit open when bid price crosses
Hello everybody, Is there any way to measure cancellations and renewals in the order book (market depth)? I say trades cannot be computed, so I want to measure how players are working passive orders, canceling or renewing orders at a certain price level. does anyone have an idea how to do this
Renko Charts and D1 charts for reality checking have proven to me that it can be a reliable trading strategy for multiple days of trading the daily swing in some markets: the SPX500 and USDollar CFDs are my favorites now. Both CFDs trades during all markets and give repeat Renko chart movement...
Hi, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
  Forecast and levels for Dax Index  (69   1 2 3 4 5 6 7)
Dax Index January-March 2017 Forecast: flat within bullish with key resistance at 11,649 W1 price is located above Ichimoku cloud in the bullish area of the chart. The price broke 11,485 level to above on close weekly bar with 11,649 as a nearest bullish target to re-enter. Thus, the weekly price is...
  Forecast and levels for CAC 40  (25   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...
I was using <Deleted> MT4 connection to trade BTC/USD The spread seems to be very narrow, compared to other brokers. How do they do it? It is a scam
Yes, No, Interested, Not anymore
  MT5 real FUTURES broker  (25   1 2 3)
Hello, is anyone aware of any futures broker that offer its client the MT5 trading platform ? Is there a list of those? I mean real futures, not CFDs. Futures that trade on CME Globex and Eurex exchanges. Thank you
  Forecast and levels for S&P 500  (471   1 2 3 4 5 ... 47 48)
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...
  Crypto Currencies  (20   1 2)
Where can I find the Crypto Currencies like 'Ethereum, Ripple and Bitcoin' ??
  McDonald's  (16   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...
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
All need a help with converting type to enum in the code below input int InpMagicNumber = 1111; // Magic Number input string InpTradeComment = __FILE__; // Trade Comment input double InpVolume = 0.001; // Volume per order ENUM_POSITION_TYPE CurrentTrade;
Good day sir. Please give an instruvtion on how to put a deposite into ag trading flatform. I have already real account on 10Tradefx.Ltd .but i dont know yet on how to pur a deposite. Where do i start. Thank you so much more power. Brgds Abram espejo
  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...
  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
Hi everyone. I wonder if there is an option to hide or switch off somehow the indicators which the EA uses, so that they would not show up when you run the backtesting with "Visulization" enabled. My EA uses a lot of indis and I don't want to "see" them while testing my EA, they take a lot of space,...
Hi all :) Making my own EA according to the No Nonsense Forex method. One of the points in that method is to use a trailing stop based on the ATR score at the time of making the order. My own code was taking the current ATR value instead (Timeframe daily). Largely because i couldnt find how to
How can I get myfxbook on a vps without knowing my password? Or how do I reset my password
I have multi timeframe supertrend indicator with code as below (unfortunately I cannot display all code due to limitation of character to send at forum ................... #property indicator_chart_window #property indicator_buffers 3 #property indicator_color1 clrGreen #property indicator_color2
I need help with how to get the value for this custom indicator . I am looking to get the value for the dots on the bottom line. I am not sure how i would code it since it is either red or blue and not a numeric value that I can think of. Also not sure what mode it would be
hi everyone, please help me to convert string variable to uLong Variable i save the ticket number of the opened buy trade as a string in the database and i want to retrieve it in function in the expert to close that position how can i close that position without using trade.positionClose(symbol)
Hello. I am looking for how can I write a code that will simply allow me to close all positions incurred with an average profit of $ 10 for example, for all sets of negative or positive trades. THANK YOU ***
I want to start a forex copy trading service. How to create a cloud trade copier for that? I want my members to be able to connect slave account to my master account through a server in my website. This should be completely cloud based. Members should be able to copy in the cloud server without VPS
I am attempting to create a simple EA that uses only the Close Price of the Previous bar compared to an MA of 'x' periods. Parameters: If the Close Price of the Previous bar is Higher than MA, then Buy.  Close the trade when the Close Price of the Previous bar is below the MA. If the Close Price of...
I am getting an invalid Stop error when trying out my EA on XAGUSD and BTCEUR , when buying my stoploss is being set to above the buying price and i cant even tell where the issue is in my code : heres the entire code in the pastebin
Hello, just a quick question: In which currency is the profit returned when calling PositionGetDouble(POSITION_PROFIT)? Is it the currency of the user account or is it the quote currency? I could not find the answer in the documentation, so maybe it would be nice to add it. Greetings Christian
Hi everyone,Is it normal to get slightly different resuls when testing a multicurrency ea on different base currencies while using 1 minute ohlc and the ea trades the exact same symbols
Hello everyone, i have a little problem please I want to copy the difference between the last 2 prices in an array, when I display the array , it does not save each price, it saves only the last price in all array cells. as you can see in the attached image void OnTimer () { MqlRates
Hi CopyTicksRange() with COPY_TICKS_ALL seems to providing the correct bid and ask changes but always has zero for the last and volume members I know there have been trades as I am comparing results with a 1 minute bars which have trades. If I run it with COPY_TICKS_TRADE then it returns zero ticks
Hi guys, need an advise. I use tickvalue for calculating lot size. Sometimes that piece of code returns zero: tickVal = SymbolInfoDouble ( Symbol() , SYMBOL_TRADE_TICK_VALUE ); tickVal = NormalizeDouble (tickVal, Digits ()); I'm using tickValue to calculate Stopp Loss pips risked: double Pips_Risked
A little explanation: I made fractal based calculations using High and Low data which I modified a bit. As a result, I have a series of tops and bottoms, for example, taking into account the rules I set for 500 candles backwards from the current price. double "Price Low" [0.71, 0.72, 0.695
Hello everybody, i'm a developer, i've just arrived on mql5 language, i would like to practice on the language, so i've encounter a problem in the mt5 UI it's possible to merge two indicators in a same window, i'm wondering about how can i know that for example, the RSI has cross the MACD
As you can see in the code, I put the high prices into an array and printed it. But there are differences between the output prices and the prices I see in the parity. This applies not only to "high", but also to others. I can't understand why? #property copyright "Copyright 2022, MetaQuotes Ltd."
  Oscillators  (36   1 2 3 4)
Does anyone have a large collection of oscillators (works best in a trading range) that he/she put together? Maybe we could start a thread where all oscillators are gathered. And let's go a little beyound RSI and Stochastic
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...
I have a request for converting an indicator from MT4 to MT5 which I would really appreciate. The problem is this: I started to learn trading and developing my strategy more than a year ago. I manually backtested and forward tested a strategy that includes an indicator called “Cyan 2 High Pass
I'm trying to write a custom indicator that relies on finding the average value over a past number of bars, but I'm having trouble figuring out how to write the function, although it should be simple, but I don't see an "average" function prebuilt into mql4 and I don't think I would need to save
Hi Traders/Devs, I am trying to create quite a complex indicator that pulls data from the 28 major pairs and I keep getting error 4806 when I try to copy the handle data to the buffer, can you see what is wrong? Pairs is an array with lists of pairs, in this case I tried to get the RSI value for all
Hi. I want to check account used margin so I write this code and use it as an indicator: #property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 Blue double Buf_Exposure[]; // Declaring arrays (for indicator buffers)
I think this indicator only draws a line up until bar 2 but I was honestly hoping that it draws up until bar 1, and still be non-repaint. Can this be fixed or is there an alternative similar to this ZigZag-nrp? #property copyright "Copyright 2022, MetaQuotes Software Corp." #property link
[Image] How can I do something like that? With CWnd, CPanel? Or there's another way to do it? Before someone clever says that if I don't post any code blablablabla.. I am now asking for code, I am asking for a way to do it: maybe some article, some example or even some functions to look for that
Hi, i want to get the value of the "SimpleMAOnBuffer(rates_total,prev_calculated,0,InpSignalMA,ExtMacdBuffer,ExtSignalBuffer);" but u only get 105577.0 and i want the value from the curve, can someone explain me how ? //+------------------------------------------------------------------+ //|
Hi, I had a indicator that was working that no longer works. I ran on metaeditor to see for errors, and I got the following error. 'Period_W1'-cannot convert enum    [on line 22] Any suggestions on a fix? Anyone?
Hi everybody, I am trying to organize the "Data Window" of Metatrader by adding some descriptions of indicator_separate_window. Please look at the following screenshot: As you can see, for the Market data there is a short description "EURUSD Daily" but for the separation for the indicators is a
I just need a little help to get off the ground. I'm new to MQL5, and I have copied code from here and there. I am missing something in my code. The code compiles, but the indicator line does not show. Thanks. //+------------------------------------------------------------------+ //|
Relative Volatility Index: Indicator is already multi time frame version with alerts included. Author: Mladen Rakic
Simple Order Panel : Source code of simple order panel Author: Manuel Alejandro Cercos Perez
New article Developing a trading Expert Advisor from scratch (Part 19): New order system (II) has been published: In this article, we will develop a graphical order system of the "look what happens" type. Please note that we are not starting from scratch this time, but we will modify the existing
New article Learn how to design a trading system by Bull's Power has been published: Welcome to a new article in our series about learning how to design a trading system by the most popular technical indicator as we will learn in this article about a new technical indicator and how we can design a
New article Metamodels in machine learning and trading: Original timing of trading orders has been published: Metamodels in machine learning: Auto creation of trading systems with little or no human intervention — The model decides when and how to trade on its own. First, I need to make a small
ATR Bands : Converted ATR Bands by AlexanderTeaH from TradingView to MQL4 Author: Lee Chee Tat
BW-ZoneTrade: The idea of this indicator has been proposed by Bill Williams in his book "New Trading Dimensions: How to Profit from Chaos in Stocks, Bonds and Commodities". It shows the "fourth dimension" of the market - it paints the bar charts with different colors (green, grey and red)...
New article Developing a trading Expert Advisor from scratch has been published: In this article, we will discuss how to develop a trading robot with minimum programming. Of course, MetaTrader 5 provides a high level of control over trading positions. However, using only the manual ability to place
ATR Value Indicator: An indicator for displaying ATR (Average True Range) value in pips or points with option for setting multiplier. Author: Hossein Nouri
  Indicators: All Pivot Points  (64   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
All Pivot Points MT5 : An indicator for drawing all important Pivot Points including: "Classic", "Camarilla", "Woodie", "Floor", "Fibonacci", "Fibonacci_Retracement". Author: Hossein Nouri
Fluctuate: Swing-based Expert Advisor: the EA sets a pending stop order with an increased lot and in the opposite direction. Author: Vladimir Karputov
New article The Price Histogram (Market Profile) and its implementation in MQL5 is published: In this article I will consider Price Histogram - a simplified model of Market Profile, and will describe its implementation in MQL5. Author: Dmitry
Create your own neural network predictor easily (example: MA and RSI Predictors): Ive modified the "Next price predictor" posted by gpwr to allow any developer to create its own BPNN predictor easily, even without understanding how a neural network works. So easy even beginners can do it. Included:...
Does it mean I should write the code under the event handling function? I'm doing it here, but still error. void OnTick () { double takeProfit = NormalizeDouble ( Point *TakeProfitS, Digits ); double stopLoss = NormalizeDouble ( Point *StopLossS, Digits ); double shortStopLoss = Bid + stopLoss;
I have a problem when using string arrays. When I drop my EA on GBPUSD it will not open and others pairs. It only opens on the 1st arrays "EURUSD" and "USDJPY". void BuyTrade() { int Final= 0 ; string Base[]={ "EURUSD" , "GBPUSD" , "AUDUSD" , "NZDUSD" }; for ( int Loop= 0 ;Loop<4;Loop++) {
I dont want it be profit for current opened trades (if I type AccountInfoDouble( ACCOUNT_PROFIT ). I want overall daily profit. How can I do that? Comment ( StringFormat ( "Profit = %.2f" ), // what next
int OnInit () { //--- indicator buffers mapping Comment ( StringFormat ( "Equity = %.2f; Balance = %.2f; Free Margin = %.2f" , AccountInfoDouble ( ACCOUNT_EQUITY ), AccountInfoDouble ( ACCOUNT_BALANCE ), AccountInfoDouble ( ACCOUNT_MARGIN_FREE ) ) ); //--- return ( INIT_SUCCEEDED ); } How to
Hello friends, I have been working on a forex trading bot this summer in the prospect of financial freedom for me and my family also because I like the challenge. I have tried a few trading strategies which are mainly based (Exponential) moving averages combined with RSI on the 1 and 5 minute
I found the multiple line section in documentation, but didn't understand how to separate functions. Comment ( StringFormat ( "Equity is %.2f" , AccountEquity()));
I am trying to display text on a chart but no luck so far. I will appreciate anysuggestions. The following "Comment" and "ObjectCreate" code compiles okbut do not work? Comment("THIS IS A COMMENT"); if(!ObjectCreate("label_object", OBJ_LABEL, 0, 0, 0)) { Print("error: can't create label_object!...
Hello everyone, I desire to auto scale the width of an histogram buffer according the zoom scale's candle. My problem is it only works when i change the time frame. I want it to be directly after zooming in/out. I have put the function in : OnInit + OnCalculate + OnChartEvent ... but, it doesn't...
  Can price != price ?  (81   1 2 3 4 5 ... 8 9)
I'm trying to understand something strange that I am seeing so I can better code round it in the future . . . I noticed something strange happening with one of my Indicators, it wasn't doing what it should have been so I checked the code and it looked correct. So I did a little investigation and
I'm new to MQL4, please help with my code. When I place my 2nd order, both Take profit and stop loss are TOO close to price instead of TP= 7, SL=2. What is the problem??? extern double TakeProfit= 5 ; extern double TakeProfit2= 7 ; extern double StopLoss= 2 ; extern double StopLoss2= 2 ; int
In this thread I want to begin to help those who really want to understand and learn programming in the new MQL4 and want to easily switch to MQL5 - the languages are very similar. This blog will be a good place to discuss tasks, algorithms of their solution and any other questions concerning MT
  Array error  (2)
Hi everyone! I'm trying to figure out how MQL4 arrays work and I stumbled upon a behavior I don't understand. I want an array to hold some undetermined number of elements so I figure out that I should use SetIndexBuffer to let the platform handle it's size. While I can see the elements printed in
Good morning, I need an help to understand how my OANDA demo account works. At 12:28:43 there is a Financing row (-0.19). At the same time a sell stop order is deleted and a buy position was partially closed for the same size of the sell stop order. I am 100% sure my expert didn’t place these
As the title indicates my question is this: Can I make a buy/sell/close button that can trade on multiple instances of the platform instead of doing some copy trading type thing ? Please advise Thanks