Hi, I noticed that the included indicator Moving Average has no Inputs nor Colors tab but nicely done Parameters tab. Please look at the attached screenshot. There is no code for that Indicator. I asked google and chatGPT but didn't find anything of value. If you know how to make the Inputs and
Is it possible to show the program build date as a property description (line at Common tab of my indicator)? I tried this: static const string MY_BUILD_DATE = TimeToString ( __DATETIME__ ); #property description "BUILD: " #property description MY_BUILD_DATE ...but I get "constant expected" build
Hi. Suddenly the indicators that I have written have become flatter. That is to say, they don't fill the entire screen... REALLY frustrating
Hi everyone . How can I draw a rectangle that shows me the pips value in the corner? In fact, the mql5 code as an indicator that displays the pips value of each rectangle I drew. I have attached a photo as an example
Hello, I need the MT5 source code of RSI with a moving average in order to add it as a custom indicator on mt5. Can you help
Good evening Are there any limitations with #resource? In an indicator I have two resources #resource "\\Indicators\\Ressources\\Dev - Dev Team - Stochastic MTF.ex5" ; string g_Path_Stoc = "::Indicators\\Ressources\\Dev - Dev Team - Stochastic MTF" ; #resource
Hello everybody, I was trying to solve this well-known problem explained by Fabio Cavalloni and others, when I have discovered some really strange behaviour in OnCalculate. I have written a small sample program that reads the closing value in a different timeframe. Inside onCalculate, I check
How can I implement RSI and Alligator on the same chart? I am developing a robot in Python to automate trading operations. I saw that RSI works in a range from 0 to 100 while Alligator works around the maximum and minimum value of the candles. However, I saw that in MetaTrader 5 on the cell phone it
hi gyse. i want convert auto pivot sourse mq4 to auto mq5
I used two VWAP indicators for daily time frame but I couldn't understand why they are difference ? anybody can explain? they are working opposite each other :(
This is what I have so far: //+------------------------------------------------------------------+ //| SpikeCalculator.mq5 | //| Guilherme Cunha Rodrigues | //|
Hi! I just got an "array out of range" in the following code: int evalPos = 0 ; if (checkByTimer) evalPos = glAlertInfo.lastTickBarPos; else if (checkByNewTickIsOfNewBar) evalPos = glAlertInfo.lastTickBarPos; if (evalPos > 0 )
ADX values (DI+, DI- and ADX) on MT5 are different from those on other platforms. I compared "Exponential" moving average with 14 period. Can some one help with the right ADX indicator or EA code please. Thanks in advance
Please help me find Predicted_TP&SL_Labels_v1.3 - Indicator or converting it from mt4 to mt5
hi i want to add transparency to my rectangles in mql4 , which code should i use
Which is your opinion about Heikin-Ashi candlesticks representations and how to create a strategy for this kind of charts
Hello, I’ve developed a custom MQL5 indicator that opens a subwindow to display the RSI under the main chart. It works perfectly on live charts, but during a visual backtest in the MT5 Strategy Tester, the subwindow does not appear. Is there a specific limitation with subwindow indicators during
Good morning Without being the holy grail , I think it is still a step or two in its direction. Here is my opinion It is practically impossible to fit into a time frame even with a lot of information. Often it's trying to make a decision on 1 bar How to choose a bar among many others? I think the
Hello Guys, Hope you had a real nice weekend? I have a little problem trying to upload my custom indicator to the market but the system was telling me something about the file contained native code. I don;t real understand that, may be somebody who have come across such challenge can help me out...
Hi, I am working with an indicator that I am not able to solve a problem with the M1 timeframe. The example of the indicator is like this: #property description "PruebaM1" //--- indicator settings #property indicator_separate_window #property indicator_minimum 0 #property indicator_maximum 100
hi there i need a code that calculates a lines length ( t2 - t1 ) and if it is bigger that t1 then alert ( t1 = time of first candle , t2 = time of second candle ) my indicator draws it in every candle but it may fail due to some calculations and wont continue to next candle but next candle also
Hello. I have to caode indicator with 15 color lines on chart. In attachment screenshot and code. Why I can read data buffers in Data Window and can't see all line on chart? Is there any limitation for draw color lines or I'm coded something wrong. In Data window values for all 15 lines and on chart
hi copy rates function copy only a number of successive bars in a mqlrates array is there any way to save specific non successive bars rates in a array think you
Hi, im new here and have a problem trying to conect mt5 with python; i have this code: import MetaTrader5 as mt5 import pandas as pd mt5 .initialize() And this is the result: # Intenta inicializar MetaTrader 5 mt5.initialize(path) Out[ 3 ]: False Does anyone know what the problem is? I've been
Greets, Would appreciate any comment on where I might be going wrong here. Creating an indicator works as expected. However, I would like to parameterize the two horizontal levels (eg, 80% and 20%) instead of using the usual #property indicator_level1 lines which are hard coded). Here's the sample
Hello, community! I am developing a project to integrate my trading environment in MetaTrader 5 with Python, aiming to train a Machine Learning model that can optimize my trading strategy. I already have my trade history and a custom indicator in MQL5. I would like to collect this data and prepare
I'm trying to build an indicator using multiple fractals in order to spot support and resistance levels . The thing is I want multiple consecutive fractals to be close to each other in order to form a valid level, like if we draw a line linking them; it needs to appear nearly horizontal. But "close
I need to know the RSI value for a specific date, for example "2024.10.24 09:16". How could I do this from that information? What would be the most efficient way to get it
if (! ObjectCreate ( 0 , "Candle" + IntegerToString (i), OBJ_RECTANGLE , 0 ,candleStructure.mtime + multiplier,candleStructure.mopen,candleStructure.mtime + multiplier + 600 ,candleStructure.mclose)) Print ( __FUNCTION__ , ": failed to create candle body! Error code = "

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.