MQL5.community forex forum for traders and developers

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
Hello, How do I know if my charts have successfully migrated to the vps. I tried checking the logs but it is not updating it keeps on saying that no logs received. Hope u guys can help me thank you
Hello dear, im new to this forum, i need to ask you how to invite moderators to a thread so i can know their answers and opinions... Kind regards
Hi. today I try to register as seller. When I uploaded my ID card, the system says: "It appears that your card has been expired", but my card expiration day is 30/12/2030 !!! After I uploaded my selfie and many seconds past, this message appeared :" Your application has been rejected Sorry, your
How can I save a chart properties for future use with a different symbol, without having to go through the tidious job of re-selecting the same properties again
Hello. The font sizes for many things such as the points measure is VERY small! Please add a settings option to increase the font size. Thanks
How i can receive xauusd signals? Thanks
Hi, I have already placed positions with certain magic numbers, along the way i want to be able to change the magic numbers as i go. Is there a way to do it through coding? I know that there is no way manually. But i hope MT has thought about this and gave us the ability to change through code. I
Hi, I Accidently canceled my Subscription. How can it be made active again
Hi, If I have a data list below: Bars 7 6 5 4 3 2 1 0 MODE_HIGH 111 99 111 88 77 66 33 55 Does iHighest(symbol,tf,MODE_HIGH,amount,0) return 7 or 5? If it returns 5, how can I get 7 from these specific number of bars ? Thank you
The MetaTrader 5 platform update will be released on Friday, April the 2nd, 2021. The update provides improvements and fixes based on the feedback we have received after the previous MetaTrader 5 build 2860 release : Terminal: Fixed a bug which caused updated MQL5 standard programs to be copied to
Hi There, Can anyone please advise why i have this message when i start my MT5 software? Tester: "cloud servers switched off". I cannot use the strategy tester because of this issue. Thanks
i have subcribe to a signal but its not coping, i contact with signal guy he say unsubcribe then i can get refund if not coping , 2 days already i didnot receive money
Hi all, I've been trying for days and my MQL5 cloud will not run. Agents available, cash in the account and nothing. Can someone shed any light as to what the reason maybe please? Thank you
Hi, I've a similar question to this thread: hhd or ssd for optimization? - MT5 - General - MQL5 programming forum . In my case, I've a limited 256Gb SSD where Windows is installed and where I'd like to install video games. Plus, I have a full of free space HDD just for common software installation
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...
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...
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...
  Free signals  (1)
Are free trading signals really free? Is there any limitation on them? Where can I find them
  Daily Breakout EA  (136   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...
  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
Hello everyone, I am having problems with the strategy tester and would like to verify my point of view on the issue. I am backtesting an EA and I get following log output in the journal. Could somebody shed some light on this maybe, because i simply dont understand why this situation comes up
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
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
I want to check the volume of every order. Please help me how. Thanks
greeting to all please i want very simple code when price go up for 5 points place a buy order take profit after 20 points and stop after 15 points when price go down for 5 points place a sell order take profit after 20 points and stop after 15 points without indicator ***
When I right click and click on details or journal, everything looks fine and the EA is attached. However, it is not Thanks. opening or closing trades even after valid signals. MQL5 are happy to charge for hosting but the support provided is non-existent at best. Can anyone help? If not, I have just
Hi, I have the robot (combination of SAR and MA), which is doing the following (attaching the code): 1. enter into position using MA crossover confirmed with SAR. 2. exit and enter the opposite direction whenever the signal changes (hence you always have one position opened). However, the problem is
Hello I'm working into a new grid and I use PositionVolume to calculate a proper take profit. Main loop is backcounter (i--), previously I've coded a forward counter (i++) to get values from the first opened position: //+------------------------------------------ Internal loop ---
Hi there due to my expert it's not getting profitable due to spend on commissions my question is the following: How to save on commissions by using PositionCloseBy? Made a test by using this code but it's not working the same as the original version (less profit): int OrdersCount= 0 ;
Hi i'm new to mql so sorry for my question if it is a dump I want to know the current time of broker server in miliseconds How i can do this? Can i findout server time when market is closed? Thanks For reading this
Correct me if I am wrong I understand that… 1 Frame is the resulting data from 1 optimization pass the Tester event and the TesterPass event both occur after a single optimization pass OnTester() is mainly used for returning custom criterion ( often using TesterStatistics() ) OnTesterPass() is
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...
void closeall( ulong magic) { int total = PositionsTotal (); for ( int i= 0 ; i < total ;i++ ) { ulong ticket = PositionGetTicket (i); Print ( "symbol =" , PositionGetString ( POSITION_SYMBOL ) ); trade.PositionClose(ticket,- 1 ); // CTrade trade } } Hello my EA is Multicurrency trdaing. I have
Can anyone share to me how to get the price of latest open position if I have 2 or more open positions. double OpenTrade = PositionGetDouble(POSITION_PRICE_OPEN); I guess this code does not get the latest open position I opened
Hi Everyone, I’ve been doing some research into machine learning and specifically LSTM’s for some time and I wondered if anyone had deployed any models within metatrader 5 and how they think is the best way to go about it? I’ve got models made in python with tensorflow which are currently being
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
  AD Smoothing  (1)
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
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
  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
Hello, I try to create a indicator , but i did not understand Why my arrow behave like that , check the attached screenshot . Please suggest me to resolve this issue. thank you in adavance
Some of you might remember this one : originally it was a part of an expensive system. Than it was coded as dots because of the repainting problems in metatrader. Here is a version for metatrader 5 : slightly changed the look of it (Bollinger bands is drawn as the "shadow" in the background) Also...
HI, could anyone be nice enough to help me add notification alerts to this mt5 indicator.am just learning how to code .its a very basic trend indicator .thanks
I know this language just enough to code EA based on given indicators and condition, and nothing about coding indicators or scripts. So i was studying few of my backtests to find few logical errors. and it would be helpful if my chart was highlighted in red or green when conditions ma1>ma2 and
  R-Indicator  (3)
Hello Everyone, I would like to share this indicator with you today. I have developed it in March 2020 after the flash crash in FX. The initial intention was to get an indication for when markets go "out of band". So my attempt was to find some support and resistance levels as well as the
  Vwap with stdev  (1)
Hi, im looking for vwap with standard devation band in mql4 or mql5? Maybe someone have
New article Developing a self-adapting algorithm (Part II): Improving efficiency has been published: In this article, I will continue the development of the topic by improving the flexibility of the previously created algorithm. The algorithm became more stable with an increase in the number of
New article Prices in DoEasy library (part 64): Depth of Market, classes of DOM snapshot and snapshot series objects has been published: In this article, I will create two classes (the class of DOM snapshot object and the class of DOM snapshot series object) and test creation of the DOM data series
CronexChaikin: The MACD Indicator, in which the price series is replaced by the series of values of the Chaikin Oscillator technical indicator. It is drawn in the form of a colored cloud. Author: Nikolay Kositsin
Bollinger Bands as Support & Resistance: Example of Buy Limit & Sell Limit pending orders with Bollinger Bands. Author: Mohammad Soubra
TrendСontinuation: This indicator is created to determine the trend and its direction. Fig.1 The TrendСontinuation indicator Author: Nikolay Kositsin
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...
New article Self-adapting algorithm (Part IV): Additional functionality and tests has been published: I continue filling the algorithm with the minimum necessary functionality and testing the results. The profitability is quite low but the articles demonstrate the model of the fully automated
Advance_Decline_Line: Indicator ADL (Advances/Declines Line) shows the ratio of positive and negative price increments over a specified time interval. Author: Scriptor
New article MetaTrader 5 and Python integration: receiving and sending data has been published: Comprehensive data processing requires extensive tools and is often beyond the sandbox of one single application. Specialized programming languages are used for processing and analyzing data, statistics...
New article Useful and exotic techniques for automated trading has been published: In this article I will demonstrate some very interesting and useful techniques for automated trading. Some of them may be familiar to you. I will try to cover the most interesting methods and will explain why they are
  Experts: RoNz Auto SL-TS-TP v.2  (321   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
PDFma: PDFma — average using probability density function for average calculation. Author: Mladen Rakic
3D Moving Average: The first really 3D indicator "Moving Average". Author: Nikolai Semko
Rainbow Oscillator - Binary: Based on Mel Widner's Rainbow Average (that is similar to Guppy MMA), here is a binary version of Rainbow Oscillator. It shows only two states: state up. state down. That makes it suitable for cases when a simple access to indicator values is required...
Heiken Ashi Smoothed: Heiken Ashi Smoothed indicator. Author: John Smith
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
Hope Metaquotes will answer: i can't install the MT4 Manager and i want know if the api1.mql5.com working or not (Ping is ok but the download don't work). Version 5.0.0.1398
  MT4 Broker  (1)
Hello, It's my first topic and I would like to ask if you could name a Broker which has got server platform set on UTC/GMT+0 time (operates in UTC/GMT+0 timezone) and has got possibility to trade with Crypto on MT4 and guarantees negative balance protection polic. Thank you for answer
hello i cant add my account for signal creation. because i cant see fort financial broker server in list
Hi, I tried these TerminalInfoIntegers, but without success: TERMINAL_MEMORY_PHYSICAL Physical memory in the system, Mb This gives wrong value TERMINAL_MEMORY_TOTAL Memory available to the process of the terminal , Mb This gives wrong value TERMINAL_MEMORY_AVAILABLE Free memory of the terminal
hi all i always thought that if you trade the same exact lot size together with the same exact stop loss in points, you should always lose the same amount of money, so i've done the simplest EA where it opens an order at market price on every new candle, fix lot of 0.1, stop loss of 50pips, no
hi guys my notification dont play any sound in my phone, i guess i should use special format for my alert, what format i should use
hello my friends, i have developed an EA for the first time. it took me about 6 mounts to built it. now that its over and compiled , i see that it dose not attach to the chart. in fact it dose not even open the small window , that always opens before attaching EAs. also every other EA that i had
hello my EA is only taking 1 trade at a time maybe there is something wrong in the order counter section code do I need to change something its a simple code thought to get help here //+------------------------------------------------------------------+ //| Order Counter
How to find out the reason for the stop? There is no log changes in the logs
  adding buffer  (2)
hi, I have this "...." indicator and I would like the levels, which change continuously according to the market, to be inserted between the buffers. it's possible? thank you <Decompiled file removed.>
  Usefull links/threads/tools  (54   1 2 3 4 5 6)
The thread about threads: what's going around the forum everywhere ============ MT5, mql5, mql5.com suggestions for improvement thread ============ Requests & Ideas The beginning Requests & Ideas, the beginning - the thread Suggestions for Trading System thread After Requests & Ideas (MQL5
Hi Guys, i had an Indicator on MT4 several years ago which allowed me to backtest on several timeframes simultaneously. i'm not able to find it anymore. does anybody kow something similar available now? Thnks
  Reversal order  (4)
Hello everyone, i have one simple script which makes buy and sell, i wanna change to direction of order while last order completed with stop loss. how can i do this, what should i add as a code thank you for helping string direction= "buy" ; input int TakeProfitPoints = 50 ; input int StoplossPoints
Hi, I'm new to programming, so far I have been able to overcome everything but I have been blocked for a month. the indicator stops working for me and I think this is when I try to split 2 buffers. I would be very grateful if you can help me I put a code that does not work for me Thanks #property