MQL5.community forex forum for traders and developers

Hello, I have a panel (CPanel) above the chart. When I click mouse on panel, sometimes it interracts with the chart behind the panel. So it can happen that the chart moves, while I operate with mouse on my panel. How to avoid it? Regards, Dmitro
can someone please give me some information, or even help me out on this? //+------------------------------------------------------------------+ //| ProjectName | //| Copyright 2012, CompanyName | //|
Hello, I have same panel on MQL4 and MQL5. On MQL4 the elements react very fast, for example the dropdown menu opens immidiatelly on mouse click. But on MQL5 same panel is much slower. It can take up to 1-2 seconds after mouse click. What is the reason and how can it be fixed? Regards, Dmitro
I use tickdata suite . i have noticed there's one ea that can be tested fine using MT4 history quality, but as soon as i tick the "Use tick data" , I can see the ea loading and the green bar moving, however there's nothing happening at all, no trades, nothing in the journal either what could be the
LS, i have rented a Windows 2019 VPS, opened an account at icmarkets, created a demo account first and started the MT4 terminal. I login with my MQL5 credentials (tools/community). I then want to subscribe to a free signal (since demo to demo is possible), but once i click on the button 'Subscribe'
hello, I'm looking for an ATR indicator that is of a personalized period. Currently the ATR indicators take the last bars that you determine and calculate the average, I want to keep this, but for a specific period over the days, for example the opening of london until NY opening of the last 3 days
Hi. There is no yellow bar with word "Real" on it in my MT5 android app while I'm connected to the server. Does anybody know why
I have made a EA to get some data and insert it into my sql database but I got this error when I try to insert , the insert function is in a timer . bool insertMt4Finance(){ string queryInsertMt4String; if(userExist()){ string serveur,currency,createdon,login; double
The updated version of the MetaTrader 5 platform will be released on Thursday, November 26, 2020. The update provides the following changes: Terminal: Fixed platform freezing when using the options board . Freezing could be caused by a zero tick size specified in trading instrument settings
I'm experiencing a strange behaviour in the strategy tester on MT5 and MT4. I'm reading the ATR value with following code which works fine but all though there is no ATR indicator on the testing template and I'm reading the ATR value from inside an expert advisor, that I'm testing, the ATR indicator
Hi, I have bought an EA, and installed on my MT4 account. Since there is a limit to the number of activations. If I want to deinstall it from my account, and claim back that activation, what do I have to do? Thanks
let CryptoJS = require( "crypto-js" ); let request = require( 'request' ); let msg = "The quick brown fox jumps over the lazy dog" ; let secret = "01234567890123456789012345678901" ; let hash = CryptoJS.HmacSHA256(msg, secret) console.log(hash.toString()) let hashInBase64 =
Found on the Forex Factory forum in one of the topics a robot file for gold. I tested it in a tester and the results are very cool. Someone tested it in real time? <*.ex* file deleted>
  MQL Virtual Server  (16   1 2)
Hello Guys I had Just Started My Trial Period of the VPS But i'don't know for sure if it's work fine or not
Hi there, since several builds I always encounter problems with the auto completion of the MT5 editor. Like in the example below. I defined a double array called "level_crossed". Now when I type "level" this variable is not shown in the dropdown list. Auto completion is a nice feature and it would
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...
Hi all, I've been trading a live account for just about 4 weeks now and managed to tripple my account. I started with a $100 account at FXDD and my account balance is now $312.65 with a Floating P/L of -$48.50. This does not bother me much, because I'm sure the EURUSD will go down on Monday. I'm...
  Daily Breakout EA  (137   1 2 3 4 5 ... 13 14)
Hello Trading Fellows. First, look on my strategy: - Everyday on 0:00 GMT I make two pending orders: 1. Buy @ yesterday high 2. Sell @ yesterday low TP and SL for example: TP:20pips SL:15pips end. On GBP/USD, TP: 20pips, SL: 15pips in 32 days I have: 8 loss = -120 pips 25 win = +500 pips On another...
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...
  Simple Ichimoku System  (155   1 2 3 4 5 ... 15 16)
Simple Ichimoku System. Some members remember Ichimoku informational template for Asctrend M5 elite section system thread: https://www.mql5.com/en/forum/174756 and new set of this system from this post. It is so called Ichimoku informational template to check market condition on H4/D1 timeframe...
  Free signals  (1)
Are free trading signals really free? Is there any limitation on them? Where can I find them
  Jurik  (450   1 2 3 4 5 ... 44 45)
Jurik Moving Average . About this indicator and some others read https://www.forex-tsd.com/forum/debates-discussions/197-laguerre-indicator-description
Hi guys, What is more important in your trading strategy? Risk reward (RR) or winrate percent? If we want to have huge RR then entry and SL are very tight which can cause bad winrate... On the other side we have winratio where we need to use wide SL or no SL at all) to get high winrate. I saw many
  Something Interesting to Read  (77   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...
So Im quite new at this stage to systems trading, and I have been reading a lot. But I'm actually wondering I calculate the more basic stuff. I have a bunch of R-multiples(Im using the R system), and know how to calculate the average and variability and so on. But how about maximum drawdown and all
  Brainwashing System / Asctrend System  (244   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...
Hi Everybody, This is my first post. I'm looking for a Support and Resistance indicator doe MT4. Any ideas
  Self-trained MA cross!  (80   1 2 3 4 5 ... 7 8)
Hi folks! I have an idea that I didn't work in yet and want to hear your comments! Moving Average crossing system in my opinion one of the best trading system if it optimized well. My idea is creating self-trained MA cross expert advisor that could learn what the best prameters to use: 1- slow...
  Can you say forex is gambling?  (49   1 2 3 4 5)
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
  Efficient Trading System  (12   1 2)
Good afternoon, could anyone recommend me where I find en efficient trading system, or a platform that provides graphic proof of the efficiency. Any suggestions? I generally operate intraday or with short to medium time trades. Thank you
Hi, Do you guys know any broker which have at least the last 2 years of US500 history data with Real Volume
Hello everybody, I want to trade on Binance broker via an Expert Advisor, written in MT5. Unfortunately, the course data for Binance are not available for the MT5. However, Phyton is able to both retrieve the price data from Binance through an API, as well as trading on Binance. Now there are two
Hello, Sometimes, I would like to bet the decline scenario. But I don't see how to do it, I can only do the basic buy low and take profit at a higher level if it happens. My broker seems to not provide options, and don't want to answere my questions because they look like a "personal advice". Anyone
Hello MQL5 Family, I am looking for the development of a rare EA under Freelance. I haven't submitted the job yet, but I noticed that a customer had previously submitted a job order that is identical to what I have in mind. I was wondering if it's possible for me to get feedback from the customer
Hi, as you see, I can only connect to Binance-Demo server. how can I connect to my real account on Binance in MT5
I was doing a research for low risk and high reward crypto investing ideas and someone suggested Arbtrage<Deleted>.com looks good, anyone got any other suggestions
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...
Dear ALL I find that if I use MT5 for trading the futures, I can't separate multi-strategies independent in the futures symbol. For example: I have 5 strategies with five different magicnumber but all trading in s&p 500. In MT5, it will combine the order to one. And it will rewrite the magicnumber
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...
hello, how can we subscribe to this live data
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...
I really appreciate tesla and it is possible that it could see a lot of growth in Q2 2021
  The CHOP  (2)
Hi Guys question what indicator is best for recognizing the CHOP, sideways price action, other people call it consolidation or accumalation for all time frames? Thanks
  We use Bitcoin ;)  (479   1 2 3 4 5 ... 47 48)
Seems we need a Bitcoin thread to discuss about due the growing popularity of this virtual money. Forex-TSD is studying the idea of take Bitcoins as payment method and having our thread to discuss about pros and cons sounds as good approach. You will find more information on the official Bitcoin...
Problem: User (me) is unable to place futures orders from MT5 Windows/Android platforms, both Android mobile and Windows Desktop attempted. Can the user place orders using a different platform? Yes, User can place orders using Multicharts and any CQG platform. these orders filled as expected. Can
Hi, I'm placing BUY_STOP and SELL_STOP orders. E.g. SELL_STOP oder gets Position/Ticket # 11 When SELL_STOP order triggers, the Open Position has also the Position/Ticket # 11. Now I want to change the the TAKE PROFIT value of this Position. To select the order to be changed, I use this command
I bought EA and it works fine. But when I try to using this EA for another machine with other forex accounts. I installed EA normally and it had a smiley icon in the chart finally. But the number of EA activate doesn't decrease ( 5 number activate for this EA ) and there is no message from Mql5 as
Hello I put print functions in my code to display information, but only some of them are displayed in jurnal . All of them are displayed in MT4 tester but not in MT5. Do I have to change certain settings in MT5 Tester? Help me please. Thanks very much
Hi Everyone I'm brand new to MQL5. I've managed to migrate all my code from MQL4 and it seems to be fine, but as for my trailingstops, the buy TS works fine, but the sell TS doesn't work at all. Will someone please have a look at my code and let me know if there seems to be an obvious problem. Thank
Hello guys My ea creates 2 dimensional structure dynamic array while it is running. How I can save this array into a file and read this file OnInit to recover array, if ea removed and added to terminal
Good Morning everone! How can i doing an EA based on a customer indicator that draws arrows on the chart. Note: the indicator dont have buffers
Hello, I'm writing my first lines of mql5. Please bear with me. I get a "possible loss of data due to type conversion" warning. I've already seen these warnings, but this time I can't spot the problem. Any help would be appreciated. Thanks in advance ! double ATRValue; int CheckATR() { double
  EA - algo trading mql5  (12   1 2)
if we use a EA, algo trading mql5 will be filled? or zero
hi, I coded an ea which detects me patterns of candles and sends me a comment and a signal sounds. what i want to do now is to display on the graph a trace of the signal with an arrow after the playsound. I am really stuck at this step, I have watched several tutorials but I do not fully understand
Hello there! I'm converting my expert advisor to Metatrader 5. With hedging, the handling and calculation of positions is quite reasonable. I might need to stay away from netting accounts. But how do you handle positions with netting accounts? Example 1: You buy 0.1 lots of GBPUSD at 9 am and
Hi I'm creating a custom symbol from BTCUSD. In the custom symbol, it doesn't trade on day 2017.12.30 ( It says markets are closed) , whereas in the original BTCUSD symbol, it does trade on this day. I don't understand how the custom sy m bol can me more restrictive regarding trading times if I copy
I subscribe to two VPS servers provided by MQL5. On each server, I have no EAs or charts... only a signal subscription (one of each server). Setup was easy. I subscribed to the signal on my local PC then subscribed to a VPS, then migrated to the server and enabled automated trading. I did this last...
Hi, I would like to start MT5 and to enable my EA with permissions to change signal settings. So far I use [Experts] AllowLiveTrading=1 AllowDllImport=1 Enabled=1 But this does not allow the EA to modify the signals. When I add the EA manually to a chart, I can set the checkbox "Allow modifications
I want to send limit and regular orders from my Expert Advisor. Can you write the codes
Hi guys Which symbols OnTick function updates, only current one or all symbols in market watch. If any symbol is not in MarketWatch, its Bid or Ask can be fetched on tick
  Zigzag indicators  (639   1 2 3 4 5 ... 63 64)
Different zigzag's indicators please post here.
i am looking for the name of an indicator probably coded by scriptor that scores H L C in three separate lines, almost like trendscore or Advance Decline but including H and L. Thanks for the help already
[Deleted]
  Multi Timeframe Indicators  (12228   1 2 3 4 5 ... 1222 1223)
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...
Hello,anyone are able to add push alerts to this indicator and when message come,saying if trend is up or down? attached mq5 version. thank you
why has simple thing like coding a moving average on RSI to read values from 0 to 100 on the RSI window so hard.....I just can't imagine, no proper documentation. Any help
  AD Smoothing  (6)
Hello everybody, i have this AD indicator and want to apply two moving averages. The first moving average should use the price data from the AD. The second moving average should use the smoothed price data from the first moving average. It´s easy to implement one moving average which uses the buffer
I am looking for a refinement of the zig zag indicator or a zig zag that works with points on the dax
Hello again, I have some problem with an enum Type. Since I am still a beginner, I hope you can help me. I want to implement an indicator, called xdpo into my EA. When i am trying to compile the indicator, this error occurs: It seems to be, that the following function in the SmoothAlgorithms.mqh has
hello sir, I need your help, I am creating a custom indicator, but I have problem with reinitialize the indicator, I did not understand why ArrayFree is not working. if I change my input then it buffer not working properly. I am attached my code , my strategy is , the first buffer is check my
  Volatility Quality Index  (718   1 2 3 4 5 ... 71 72)
  Oscillators  (31   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
The problem is having object created in a TF (e.g the 4H TF) to be displayed on the the 4H TF and lower TF, anything greater than the 4H TF it won't display. I know using OBJ_PERIOD_D1|OBJ_PERIOD_H4 // would get you to display the Object on only the 4H and Daily TF and nothing else but getting it to
  Indicators with alerts/signal  (15878   1 2 3 4 5 ... 1587 1588)
Some indicators with alert/signals with author's comments: - EMA-Crossover_Signal: Enter two Exponential Moving Average periods and it'll tell you when they crossed. - SMA-Crossover_Signal: Enter two Simple Moving Average periods and it'll tell you when they crossed. - SMMA-Crossover_Signal: Enter...
Im a beginner and figuring things out. Apricate if someone help me understand how to add a additional buffer to the below code. Both the divergence buffers gives varying indicator value and i would like a new buffer that has 1 or 0 when the divergence arrow appears
I'm looking for the chaikin money flow for MT5, but I didn't find anything here. If exist, can you share the link to download it
Monthly Weekly Levels: The script displays the monthly and weekly levels on the chart. Author: Taras Slobodyanik
  Indicators: MA_BBands_YXF  (35   1 2 3 4)
MA_BBands_YXF: The indicator is a combination of MA channels and Bollinger Bands. Author: johnsun888
  Indicators: Equity Chart  (84   1 2 3 4 5 ... 8 9)
Equity Chart: The indicator displays the equity and balance charts. Author: transcendreamer
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...
Pivot_Points_Lines_v1.3 MT5 : Draws Pivot Points formulas Author: NickBixy
Send a message from metatrader to telegram : With this script, you can send a message from MetaTrader 4 to Telegram. Author: NabiKAZ
  Indicators: All Pivot Points  (59   1 2 3 4 5 6)
All Pivot Points: An indicator for drawing all important Pivot Points including: "Classic", "Camarilla", "Woodie", "Floor", "Fibonacci", "Fibonacci_Retracement". Author: Hossein Nouri
New article Automatic construction of support and resistance lines has been published: The article deals with automatic construction of support/resistance lines using local tops and bottoms of price charts. The well-known ZigZag indicator is applied to define these extreme values. Support and...
New article Payments and payment methods is published: MQL5.community built-in services offer great opportunities both to MQL5 developers and ordinary traders with no programming skills. But all these features can't be implemented without in-house secure payment system, that provides a convenient
Volume Profile + Range v6.0: Volume Profile + Range v6.0 (former TPO). Distribution of deals by price levels at a given time interval. Displayed as a histogram. Author: Olexiy Polyakov
  Experts: RoNz Auto SL-TS-TP v.2  (323   1 2 3 4 5 ... 32 33)
RoNz Auto SL-TS-TP v.2: EA for Automatic StopLoss, Take Profit, Profit Lock, and Trailing Stop. SL and TP could be hidden. Author: Roni Nafrianto
You can use a lot of combination of indicators in this EA: With this EA, you can make any combination with indicators, you chose what do you want and make your own strategy Author: Rafael Maia de Amorim
TrailingStopAndTake: Simple trailing of stop loss and take profit orders of open positions. Author: Scriptor
  Indicators: Renko 2.0  (17   1 2)
Renko 2.0: A complete Renko chart indicator with wicks for MetaTrader 5. Inspired by Renko for MQL5 by Serhii Ivanenko https://www.mql5.com/en/code/1299 and Renko Live Charts v4.13 for MQL4 by Tim Welch https://www.mql5.com/pt/code/11739 Configure using Tick Size, Pip Size or Points. Author:...
New article Trading Signals in MetaTrader 5: A Better Alternative to PAMM Accounts! is published: We are pleased to announce that MetaTrader 5 now features Trading Signals, thus giving a powerful tool to investors and managers. While you are following the trades of a successful trader, the terminal...
hi guys why this happening in my indicator? i m new, itried to copy some examples from macd, it works for previous times correctly, but see the pic i tagged please! #property copyright "Copyright 2021, MetaQuotes Software Corp." #property link "https://www.mql5.com" #property version "1.00"
I just recently started playing around with MT5 (I live in the U.S. so my options are greatly limited as to brokers who use MT5). I found an indicator in there called TRIX. And I really like it. So I took upon myself to try to convert the MT5 indicator to MT4. I've made modifications to make it
I am working on building an EA to look for the candle to Close either above or below the BB, and ride it up or down. The additional parameters include: Buy Conditions RSI is below upper limit (70), Slow SMA (45) is below Main line of the BB, Candle closes above UpperBB Sell Conditions RSI is above
I can confirm by comments that this code is calculating the desired values but it violates its own rules. For example, for a BUY, even when Close[0] is less then limitBuy it still closes trades. Even when I am printing the values to confirm. Can anyone tell me why that is? Thanks for your time void
How can I change the "speed" of the chart when backtesting in the visual mode....?? When I move the "slider" to 32 it is way too fast....and 31 is like watching paint dry..... too very slow? Does anyone else have this problem??
Hi there, I'm trying to get a list of all pairs with a trade active to finally make a table with a "marketwatch" (to show some stuff on a chart) dinamically adding and removing them from the list. I think creating an array is the right way to go. So, this is my logic: - loop into active trades - get
I want to open orders in multiple charts in a giving condition. example in EURUSD chart ,when price above MA10 and MA15 and no orderstotal , open buy orders. after sometime later , in USDCHF chart ,same signal occurs ,need to open next order . Here problem is how can code orders total counts to open
Hello I need to have 2 Fibo Retracement in MT4 with different level. Can I do it by meta editor
  Elite indicators :)  (15164   1 2 3 4 5 ... 1516 1517)
Hello, Does anyone know where I can find an indicator that takes in price values, which when reached or surpassed will cause the indicator to send a sound alert?
Hello, is to possible to modify a pending order or make a script to be able to have fixed stop loss and take profit(for ex. 15 pips) for buy stop and sell stop orders and execute those trades with one-click? I am sorry if its a stupid question or it was answered here before but I was trying to look
Hi everyone, Is there any sample code of a MACD Line crosses the Signal Line? I use the following code from the documenation but this is not the code that I was expecting: if ( iMACD ( NULL , 0 , 12 , 26 , 9 , PRICE_CLOSE ,MODE_MAIN, 0 ) > iMACD ( NULL , 0 , 12 , 26 , 9 , PRICE_CLOSE ,MODE_SIGNAL, 0
  EA CODING QNs  (1)
Hi how do i write an mql4 ea with the following function: 1. open buy and sell together 2: if(rsi gradient is negative(going down)) close buy order, set x pips tp and y pips sl for the sell order else if ( rsi gradient is positive (going up)) close sell order, set x pips tp and y pips sl for the
Hi, If using an EA running on H1, what is needed to use values from other timeframes? I am currently calling the data using code such as this to call it: iClose ( NULL , PERIOD_M1 , 1 ) Still, I am only getting the H1 closing price. Even when running it on Tick data. What am I missing here? Any help
example: tp pips set 532 . it was hit down to 523 pips already but it was not auto close the trade . anyone have encounter this issue before
Hi guys, I has been working on creating simple indicators based on technical indicator as IMA and IStochastic, this two on particular gave me some troubles, not getting refreshed and have to open their base code and compile it. They are not running complex operations, and just using a simple loop to