forex forum for traders and developers

hello all i have developed an EA which catches boom candles on deriv mt5 broker on the boom 500 sythentic index... the problem is that my orders are delayed when accepted by the broker which causes losses on my side. in most cases my tp and stop losses are reqouted ..can i perhaps have the order
hi, all I am having issue with my AMP future Account, my EA was working fine on MNQZ20 and MESH20 index future symbols and it works fine on MNQH21 and MESH21 until yesterday (JAN 20 2021) but suddenly its just stop working , its not opening any order on any of new symbol of future index, if anyone
hey everybody :) im currently trading mt5 using standard lots. have been finding out what lot size should be before entering the trade, by taking the stop loss pips and using an app (ok for forex and gold lot calculation result). however it (the app) does not display lot amount calculated for
I've runned a complete optimization of 521 passes on the mql5 cloud network and i think something went wrong. I've noticed after 10 minutes, more or less, no task was started on the cloud network, but there was hundreds of errors on the journal like these: HG 0 14 : 54 : 43.744 MQL5 Cloud
I downloaded the app Metatrader5 in my Samsung phone ( Google play). Someone can tell me if i can make transactions when i am in Shanghai - China? Thank you
I was using the cloud for the optimization of EA and as it appears the balance went into minus state. What the locked number means? Is this a bug
Hello I have been rejected as a seller and I am not sure why. MQL was not able to give reason for this, so in this case I am unable to rectify what the cause might be? Is there a list of reason why this might be so and in this case I can filter then=m to find what it may be. Best Regards and thanks
Imagine my surprise on Friday last weekend when i woke up to withdraw my funds from Mql5 and there were no payment options available for withdrawal !. First they took down PayPal last month and now no webmoney or epayment withdrawals. And i have since sent service desk a message on Friday but no
My funds are there and it did not renew even with the check mark. please help
The MetaTrader 5 platform update will be released on Friday, January the 15th, 2021. The new version features the following changes: Terminal: Revised Popup Prices window which allows viewing financial symbol prices on any screen size. The window now supports multi-column presentation, enabling the
Hi all I'm trying to run Moonlight on Metatrader VPS but I keep getting this error
What is the code to get the Moving Average indicator value
  Compling error  (2)
Keep getting the error below when I try to complie a sinper robot code variable 'Ls_unused_0' not used
How can I do,if I want to buy same indicator?Because I don't see "Buy button"
if (! FileIsExist (appName)) { bool isCreated = FolderCreate (appName); if (!isCreated) { Print ( "Error! The folder was not created" ); } } When I run my EA on real data, a folder is created. When I run the EA with same code on the "debug on
Hi All, It has taken me over 6 years and I've finally become a consistent profitable full time trader thanks to this strategy. The strategy is very simple and would only take a few minutes of screen time per day (using 4HR candles). I'd like to thank 'bigbear3391' for his guidance and inspiration!...
hello A good indication I did not find here so I offer it to benefit from it <* ex. * files deleted>
i am a professional trader that have been in the marketplace since 9 years ago . check tens of thousands of EAs , indicators , strategies like price action , ichimuko etc... and can assure you 99% of them not work in long term. because market is unpredictable and full of uncertainty. so no one can...
Hi. It is simple trading system. Indicator Stochastic oscillator standard setting Indicator Alligator for TP. Time M15 TP 100-200 SL 100-200 Check reault
  Kevinator 5m retracement system  (88   1 2 3 4 5 ... 8 9)
Hello I will trade this system live so you will see how to trade it correctly.Please..leave the negative comments at the door and only constructive criticism allowed.Well lets begin............. 5m Kevinator retracement system Majors only (eurusd * usd / chf * gbpusd * aud / usd * usd / cad) 5 m...
Hi, I want to ask you how you use the TDI indicator according to your path. You can see one way to use it for position opening decisions like the picture, I took the picture in XAUUSD on January 14th 2021 TF 5 minutes. - First crossing. red circle. - Waiting for bouncing / touching the support -
Locked-in Range Analysis (abbr. LRA) is the futures market analysis method, described in the ebook "Locked-in Range Analysis: Why most traders must lose money in the futures market (Forex)" by Tom Leksey, which minimizes an uncertainty in the futures market. LRA is the method of interpreting the...
The railway tracks pattern forex trading strategy is another price action trading strategy that is based on analyzing the lengths of two candlesticks of similar lengths and one of the candlestick must be bullish and the other one is bearish.When you see them together they look like railways tracks
  Something Interesting to Read  (74   1 2 3 4 5 ... 7 8)
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...
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...
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...
  SYNERGY Trading Method  (837   1 2 3 4 5 ... 83 84)
The Synergy Trading Method was developed by Dean Malone and is an effective Forex trading method developed to simplify trading decisions with high probability precision. It combines the market forces of Price Action, Trend, Momentum and Market Strength to produce higher probability trades. The...
In this thread we will build our own Bollinger Band strategy by combining our heads together. Let's discuss: DISCUSS: - what do you think is the best way to recognize RANGED and BREAKOUT? - what other indicators complement the Bollinger Band? - what is in your experience the best timeframe for...
Basically, I've been trying to set my TP in order to maximize my reward, which would be TP*P ( TP). After some math, taking into account the mean and Std deviation, I end up with a TP of 2.6 something pips, which, of course, maximizes the probability of hitting TP because is so small. On
Hi, Do you guys know any broker which have at least the last 2 years of US500 history data with Real Volume
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...
New article Principles of Exchange Pricing through the Example of Moscow Exchange's Derivatives Market has been published: This article describes the theory of exchange pricing and clearing specifics of Moscow Exchange's Derivatives Market. This is a comprehensive article for beginners who want to...
  Cryptocurrencies  (9)
Dear To whom it may concern, How to add cryptocurrencies to the mt5
Hello, Can any one please suggest me the best indicator for binary options trading? Thanks...
I'm quite new to COF trading. Anybody else here trading on Amazon, NVDA, Google, Netflix, Tesla, Facebook, Apple etc
I have a MT5 account with real stocks, no margin, no shortselling. My positions are separate, with each buy as a separate record. I recently wanted to partially close a position (i.e. Sell limit order on a partial number of stocks). However I realized I do not know how to do that. When I right click
  Order routing - EUREX  (12   1 2)
Hello everybody I trade FDAX with MT5 via AMP at EUREX. EUREX accepts stop-market orders for futures trading in addition to the native order types: market and limit. QUESTION: Does anybody know if the MT5 Gateway transmits a STOP-Market order to EUREX? Maybe we have to distinguish between simple
  Bonds  (4)
Introduction to Bonds (Part I) 1. Principal: This is the face value of the bond; the amount that the first bond buyer initially loaned to the company or government issuing the bond. This is also known as the par value. 2. Coupon Payment: This is the numeric amount of interest payments that are...
  LME product  (10)
Hello,Is their any broker who provide LME product to trade on mt5. Lead,zinc,aluminium, copper,nickel...
  Crypto Trading  (1)
Hi guys anyone have crypto trading ideas? Share knowledge to others
How do you determine Dow via ZigZag indicator, which settings best for you
I've searched Google and this forum but found no straightforward answer to this question. It seems like some U.S. stocks can be traded with CFD only. It seems like there's a IB plugin to use but it doesn't look like historical data is provided to backtest. Has someone ever tried it with success? I
I cannot see the crypto icon to add crypto pairs to my trading platform. Is there something I need to upload to a folder? I have read where I should be add to trade the main pairs, BTC/USD and ETH/USD as an example
Hello guys Is it possible to connect Nest trader to MT4 for real time data... for technical analysis in mt4? Please help
hi everybody, I have (for my mind) a bit more of a complex solution. 1. I open a grid of five pending orders. 2. at some event i take all unopened orders away, so the ones which haven't been triggered 3. at another event I want to put the five pending orders again, apart from the ones which were
As dumb as the question is, I've spent nearly 3 hours looking for an answer. My OnTick function reads and stores 2 consecutive tick values in 2 variable A and B, I then want to store B somewhere and then compare it with the new value of A and B when a new tick occurs, and again store B and so on
#include<Trade\Trade. Mqh> CTrade trade; Void OnTick() { double Ask=NormalizeDouble(SymbolInfoDouble(_Symbol, SYMBOL_ASK), Digits) ; double Balance=AccountInfoDouble(ACCOUNT_BALANCE); double Equity=AccountInfoDouble(ACCOUNT_EQUITY) ; If (Equity==Balance) ; { trade.BuyStop(0.01,Ask+100*_Point
After download the "EA name removed" demo and doing some strategy testing. I found it was trading in the background of my demo broker account over night and lost almost $10,000. I just found this when my broker sent me a daliy confirmation email. there is no History of it in the toolbox History tab
THE CODE I WRITTEN TO STOP LOSS is not working My purpose of using price close is to make transactions according to the last price of the bar. if((CountOpenedPositions("buy") !=0 && (((InitialBalance)-(PRICE_CLOSE) ))/InitialBalance >= ( CloseLossPercent)/100 ||
  EA with vps  (7)
Hi, I'm very new to all of this, I don't know it when I'm running bots in the vps (and its doing trading while having opend orders), and I configure a new templete and synchronize it, those orders that where opened before, the will get under control of the new template or I should close them...
I'm trying to run some code if in a tester optimization. My code below doesn't seem to work and MQLInfoInteger(MQL_OPTIMIZATION) seems to be false. The function is called from OnTesterPass. Should that make a difference? Cheers E void WriteTestResultsToFile( string & parameters_list[], int pass
Hi, i have a problem with backtesting that maybe someone would be willing to help me with. When i try to backtest my EA it cannot load an indicator, i tried with multiple custom and built-in, niether worked. I run backtests on multiple pairs, usually more than 20, on 10-15 years of daily data. The
some one tell me why my bot suddently not be able push notification? i trade on MT4 of IC Market. thanks alot
  trade.Buy help  (1)
Hi, I use this line of code to open a buy in mt5. trade.Buy(volumeSet,_Symbol,0,(candleOpen-slDifference),(candleOpen+tpDifference)); the issue I get is a new buy would overwrite the previous open position buy sl and tp. Is there a way to not have the overwriting? Any help is much appreciated
I'm still learning so I thought about printing the value of a tick as it occurs using this code: void OnTick () { double price = SymbolInfoDouble ( _Symbol , SYMBOL_ASK ); Print (price); } But Instead of Showing one tick value, it instead shows me all tick values from 2021-01-01 till now
Hello, I would like to create a descendant class of CExpertSignal. I plan to use make it callable by the EA wizard, as demonstrated here: . An instance of this class will be added as a filter in the CExpertSignal generated. In addition to giving a buy or sell
Hello, It's possible to check the price every second (or whatever time you whant) and register on an array? I wanna check the price of the last second and register it. If so, can anyone help me out? Thanks in advance
So I'm totally new to MetaEditor 5 and I've searched for this everywhere but couldn't really understand. All I want to do is to check the value of the last tick and store it in a variable and then store the current tick value on another variable, compare them, decide either to Buy/Sell and reset the
Hi folks, I would like to check every hour or every 30 minutes if VPS I'm using for my EA is working. I wrote the following code, but I think there is some better way to input "times" every time that the function was called, instead of one line for each hour. What do you guys think
I'm finding that the Language Reference Manual (MQL5) is not much use to me – most often the thing I'm looking for is not in the index,and I don't really need to colour candles randomly or make my indicators change colour every 8 ticks. So I'm having trouble finding things out. Could anyone tell me
Good day, What happens when I call the Sleep function in the OnCalculate method in my Indicator? The reason I'm asking is due to an issue I'm picking up in multiple Symbol trading m(on a single PC) with my EA which seems to make erroneous trades (luckily not too often) that are not according to its
Please help me identify the error why my custom indicator is displaying upside down. Dodger Blue line is original indicator and GoldenRod color my custom indicator in the attached screen shot. Also, I have not set LEVEL anywhere in code, yet in chart it is displayed. May be that is causing the
Hi friends I try to create a Pivot Standard Indicator as a practice. I want to set 7 level in this Indicator.(R3-R2-R1-P-S1-S2-S3) Do I need to set "indicator_buffers property =7 " AND "indicator_plots property=7" for these levels? if the answer is NO , How should I set property for my indicator
Hi! For some reasons, iMACD is returning 0 on GBPUSD, it's working on other pairs. Any idea why? double array1[]; double array2[]; int indicator = iMACD(_Symbol, MACD_timeframe, MACD_fast_ema_period, MACD_slow_ema_period, MACD_signal_period, MACD_applied_price); ArraySetAsSeries(array1, true);
Please tell us. I am using a translation tool to convert the data into English. Is it possible to load a single signal indicator into iCustom, for example, a buy signal when SMA20 and SMA80 cross golden and a sell signal when they cross dead? I was able to do this in mql4, but not in mql5, so I
Hello, I'm coding a basket indicator which alerts me when/if a pair from the list reaches a round number (000/500). I've been able to obtain the last 3 digits from each pair as string (with StringLen and StringSubstr) but when i try to convert them to double or integer all the zeros got removed from
Hello Everyone, I am currently in the process of translating one of my mt4 codes to mt5. I've noticed something unusual when working with my code and its that when having an event take place in OnChartEvent, the event isn't processed until after a new tick. The code below shows the isolated
Hi everyone, When we creat Fibonacci Retracement manually on chart, we can get its level value(50%, 100% etc) as below. Then how is it possilbe to get the actual price of each level value ? Thank you X :-) void OnChartEvent(const int id, const long&amp; lparam,...
  All John Ehlers Indicators...  (943   1 2 3 4 5 ... 94 95)
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...
  MACD indicator  (1515   1 2 3 4 5 ... 151 152)
We are continuing discussion about the indicators. We have the following thread: https...
Please, am having difficulty drawing from the edge of the chart, how do I go about it for point 1 and point 2 in picture below. Thanks
Hi, I'm looking for a Williams AD indicator that includes a SMA of the indicator values for mql5. I've ran across a mql4 version...hoping someone is kind enough to share if they have it. Thanks
Hello, may i ask why i can't set the height, width and position of a chart after opening it? This is the code i use: // General Variables bool ChartSetInteger (); // function void OnChartEvent ( const int id, const long &lparam, const double &dparam, const string &sparam) { if (id==
  Multi Timeframe Indicators  (12220   1 2 3 4 5 ... 1221 1222)
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...
New article Manual charting and trading toolkit (Part II). Chart graphics drawing tools has been published: This is the next article within the series, in which I show how I created a convenient library for manual application of chart graphics by utilizing keyboard shortcuts. The tools used include
New article MetaQuotes ID in MetaTrader Mobile Terminal is published: Android and iOS powered devices offer us many features we do not even know about. One of these features is push notifications allowing us to receive personal messages, regardless of our phone number or mobile network operator....
New article How to Subscribe to Trading Signals is published: "Signals" in MetaTrader 5 trading platform allow traders to connect to any signal issued by providers. Select and subscribe to any trading signals provider to copy all his or her deals on your account. How to become an investor and...
New article Creating Multi-Expert Advisors on the basis of Trading Models is published: Using the object-oriented approach in MQL5 greatly simplifies the creation of multi-currency/multi-system /multi-time-frame Expert Advisors. Just imagine, your single EA trades on several dozens of trading...
  Experts: Cidomo  (15   1 2)
Cidomo: The Expert Advisor uses Buy Stop and Sell Stop pending orders. Author: Vladimir Karputov
New article How to Buy a Trading Robot on MQL5 Market? is published: Now you also can use trading robots and any technical indicators with MetaTrader 5. All you need to do is to launch MetaTrader 5 trading terminal and open Market tab of Toolbox window. Author: MetaQuotes
The colored volumes (English Version) : Colored volumes at the bottom of the chart Author: ROMAN KIVERIN
  Experts: RSI EA  (21   1 2 3)
RSI EA: RSI EA - trading based on overbought/oversold zones determined by the iRSI (Relative Strength Index, RSI) indicator. ‌ Author: Vladimir Karputov
Smart Forex System Open Version : Force=((Bid-close)/close)*10000; Author: Szymon Palczynski
  Indicators: NRTR  (1)
NRTR: A variation of a well-known Nick Rypock Trailing Reverse indicator. Author: MetaQuotes Software Corp.
Four clicks to draw an arc-shaped channel: A quick way to draw an arc-shaped channel in 4 mouse clicks. Author: Nikolai Semko
EasyAndFastGUI library for creating graphical interfaces: The EasyAndFastGUI library allows creating graphical interfaces for custom MQL programs. Author: Anatoli Kazharski
Flag and Pennant patterns: This indicator shows Flag and Pennant patterns. Author: fxborg
Weis Waves: Volume Wave indicator originally idealized by Richard D. Wyckoff. Author: Minions Labs
New article Brute force approach to pattern search has been published: In this article, we will search for market patterns, create Expert Advisors based on the identified patterns, and check how long these patterns remain valid, if they ever retain their validity. A neural network is essentially
Hi, I am trying to code a way to release orders, but it is not working. Does anybody know the logic? //+------------------------------------------------------------------+ //| Profit loop |
Greetings everyone, I try to get a specific symbol information (in my case it's GBPUSD) in a tester while testing another pair (EURUSD). When i try to get the information about how many symbol digits the GBPUSD pair has, i get '0'. The used code: SymbolInfoInteger(symbol,SYMBOL_DIGITS) Is it
Hi all, I am trying to write script for opening additional orders instead of setting stoploss. For example: 1 Buy Order is placed and it is going loss, if openprice is reaches the distance (eg:300pips), it will open another buy order. Then, Order 2 is making profit more than account balance or
Please any Help is appreciated I am new to to MQL in General and I have been trying to figure out this problem. After opening a trade It does not close with my condition and I do not why? if(total<1){ if(dayOpen > dayClose && prevDayOpen > prevDayClose) { SellTrade(); } else if(dayOpen
I want to make EA like this EA takes position when price during above 20ma and does not exit before price once goes down below 20ma then exits when price comes back above 20ma. But my EA exits soon after taking position because price is above 20ma. If someone knows how to fix this, It would be very
Hi, I need to update an old indicator (T3 Trix) to the current language. As I understand, the old language uses functions like init() and start(), the newer language I'm needing is more like Onlnit() and OnCalculate(). If anyone could point me the the right direction it would be much appreciated
Pre-600 code generating this error on compilation. What doesnt the new MQL4 compiler not like?
If you try to use a multicurrency indicator like this one: Free download of the 'DXYvsEXY for MT4' indicator by '3rjfx' for MetaTrader 4 in the MQL5 Code Base, 2020.08.20 The results are distorted over time, as you can see from the images here attached. It is not possible to correctly verify the
  How do i shorten this code  (16   1 2)
I've been trying out things but i really can't seem to figure it out, i tried doing loops but i'm probably doing something wrong. What i wanted to happen is to only do a sell signal when all 10 candles is below the moving average. Here is the photo to visualize more : double
Hi, I'm trying to stop the EA if the TimeCurrent is greater than a defined Date1. The program is working fine IF the two date are different , But once the dates are identical and the difference is only in time, it's not working (eg: TimeCurrent is: 2021.01.24 01:47 and Defined date is: 2021.01.24
I am trying to create EA(MQL4) And Critical error Array out of range in EA error appeared. In fact, I'm trying to turn an indicator into an expert. I have done this before. But in this case, I encountered an error in the title. This problem occurred after adding void FindZones (). This part of the
Hello I am looking for the Bollinger bands indicator with color change of the sup and inf bands according to their direction for MT4 like the one below version mt5 thanks
  Will Code EA for Free  (41   1 2 3 4 5)
Hi all. I am new to this forum, but have been around trading and programming for over five years. I love both trading and programming. I was a trader first and learned to code to build my own trading systems. I have programmed in MQL4, Excel/VBA, C#.NET, and a little C++ I am looking to offer up...
Hi Guys, please help, none of my EA'S seems to be working? any suggestions would be appreciated
How can I calculate length of a trend line? I have a user created trend line on the chart. how can I get time1_price1 of the trend's first point, and time2_price2 of the trend's second point. anyone have idea