Hi When i run the indicator below the chart becomes extremely laggy: #property indicator_buffers 2 #property indicator_plots 1 #property indicator_chart_window //+------------------------------------------------------------------+ //| Custom indicator initialization function |
I want to know why the volume fields of the mqltick struct are always giving 0.0, both "volume_real" and "volume" are not giving any data. The "tick_volumes" buffer is plotting fine in this small example I made, but not volume from Mqltick struct. #property indicator_separate_window #property
I am in the process of converting a large multi-currency EA into MQL5 and I am finding problems with using iOpen, iHigh, & iLow but not iClose.. The problem manifests itself when the MAX BARS IN CHART, 5000, is less than the number of data bars of history. iClose works properly but iOpen, iHigh
Hi dear masters. Visually, when the Fibonacci Channel tool is drawn on a high or low in MetaTrader by mouse, the third point is automatically set by default itself. How can we program the calculations for this default configuration that is handled within MetaTrader’s internal buffer? It doesn’t
Add 'Ray Left' and 'Ray Right' options for rectangle objects. I think it would be more convenient for users
I have this chart on Boom 1000. The goal is to have the RSI and the Envelopes on the same indicator window. Once I drag the Envelopes on the RSI chart I get this popup asking to choose the Apply to. So now what Im trying to figure out is how to code the exact same thing using MQL5 but still apply
Hi everyone, my first post here. I'm a C++ programmer and decided to dip in MQL5 programming the past few years but an important issue I noticed with Meta Trader 5 is that when there is a lot of tick data eg. more than the last 5 years of XAUUSD worth of ticks I'm seeing CopyRates and CopyRatesRange
Hello I want to hide some built-in indicator lines in my EA when I use Visual Mode on Strategy tester . For example I want to hide iATR() lines but show iMA() lines. I usually use 3 ATRs in my EAs, and hence each opens in a new sub-window, it is too disturbing. I don't want to use
Hi traders,i am new in trading so no idea about market and you guys are expert in it,anyone knows non repaint indicator with buy and sell signal for 1m or 5m chart which is gives accurate signal,i tried 2-3 signal indicator but those are all repainted,if anyone knows then please do let me know,i'll...
When I call an indicator like the simple moving average it's not the same as the line shows on the chart. Here's my code, Alert ( "Symbole : " , _Symbol ); Alert ( "Timeframe : " , PERIOD_CURRENT ); int handle = iMA ( _Symbol , PERIOD_CURRENT , 21 , 0 , MODE_SMA , MODE_CLOSE ); double ma_arr[];
Hi everyone, I made myself an indicator which, however, needs a lot of time(too much?) for calculation. I like to use it on lower timeframes with many(can be ~1000) intervals to calculate. Indicator values, once calculated in history(index values 1 and higher in time series ) do not change and
Good Day everyone, i have been not been long on this forum but ever since joining and ive been reading some amazing content ya'll is posting. however i yet to find a topic on how to covert a .ex file to a .mq5 file. there is a indicator that i got but its only a .ex file and when i open my
Hello I have this system which is supposed to wait until a number of bars has been loaded on the chart of the indicator. (or that's what i think it achieves) Why ? the calculation that has to "result" in a "signal" has to be done strictly in a sequence and with a minimum required amount of
I would like to ask for your opinion. I am currently analyzing historical data and using it to predict future customer behavior (non-FX industry). This is a so-called big data analysis. I am thinking about a scalping indicator that would be based on historical market behavior. Creating a history of
As from the title, how can I prevent chart objects from being seen in foreground in MQL5? I have also tried with OBJ_RECTANGLE_LABEL by setting different foreground properties of the chart and of the rectangle object, but without success. As soon as I drag my EA (with the rectangle object) onto
I have found that placing one Object within OnInit() exponentially improves the loading of all other Objects created within a custom function or anywhere below OnInit(). Up top in the global scope: bool initialized; Inside OnInit(): ObjectCreate ( 0 , "Initial_Object" , OBJ_LABEL , 0 , 0 , 0 );
Please, I am unable to locate the indicator coloring buffers that I will leave attached, could someone help me
Hi Guys, Metatrader 5 Version: 5.00 Build 1940 02 nov 2018 I Created a trend line by angle like it: #include <ChartObjects\ChartObjectsLines.mqh>CChartObjectTrendByAngle trend;trend.Create(0,"HowGetAngle",0,time1, price1, time2, price2)); When I try get a angle: double trend_angle = trend.Angle();...
Good day fellas Can someone kindly assist me in coding a RSI(10) with a [SMA(10), Apply To: Previous Indicators Data...] Like so: (iRSI(NULL,0,10,PRICE_CLOSE,0)>iMA(NULL,0,10,0,MODE_SMA,.......,0) The blank part I want it to be Applied To: Previous Indicators Data. Your assistance will be highly...
i create Trend line by angle with code ObjectCreate ( 0 , "a" , OBJ_TRENDBYANGLE , 0 , iTime ( _Symbol , PERIOD_H1 , 10 ), iClose ( _Symbol , PERIOD_H1 , 10 ), iTime ( _Symbol , PERIOD_H1 , 15 ), iClose ( _Symbol , PERIOD_H1 , 15 )); ObjectSetInteger ( 0 , "a" , OBJPROP_COLOR , clrBlue );
Hi! What type of data should I have to create my own live graph like the Trading View in MQL5/MQL4? And where can I find the code to display it and make it alive? Thank you for reading my question at least
hi - so possibly an uber-noob question, but i would like the values of the MA's im using to show on the y-axes of my chart - similar like how the current bid/ask is shown in grey/red - but then in the colour of that particular MA. Anybody have an idea on how to go about this? Thanks
Hi, I Add some levels to Fibonacci Retracement but now I can not use F Retracement tool and it is locked. how can I fix the problem
Hello, a function of my indicator is to get history data and visualize the information of the History tab of MT5 to make it easier for me. The thing is that after some tries I realized I was getting double the number of positions that I had in the MT5 history tab. although I was getting the correct
Is there any better way to add custom timeframe rather than creating an indicator for that? The problem with this approach is to modify existing indicators to work/get data of the first indicator
So I wanted to use a Bollinger Band Width indicator in mt5 but the only one available for free measured it in a weird ticksize so using it in optimizations or multisymbol EAs is not possible because of the huge difference in values. So I took the one from tradingview and tried to convert it into a
void drawlr( string points) { string res[]; StringSplit (points, ',' , res); Print ( "res[0]" ,res[ 0 ]); Print ( "res[1]" ,res[ 1 ]); if ( ArraySize (res)== 2 ) { double close_array[ 1 ]; CopyClose ( _Symbol , PERIOD_H1 , 0 , 1 , close_array); datetime todays_time = iTime ( NULL
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
Hello everybody, I'm trying to set the color and degree properties for an Elliott Wave object with the following code ObjectSetInteger(0,"ElliottWaveMotive",OBJPROP_COLOR, clrWhite); ObjectSetInteger(0,"ElliottWaveMotive",OBJPROP_DEGREE,ELLIOTT_INTERMEDIATE); However, the color and degree are not
Hi I bought 3 indicators and downloaded them without any problem, but later on I am unable to install my indicators. When I click to download the page go to the payment page, but when I click to download the free indicator they can download fine. Can you help me to solve this problem, I can not

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.