Hi. Anybody got Keltner Channel with deviation settings? I have keltner channel but unable to set the diviation. Any input would be grateful. Thanks
I have a problem that I don't know how to solve. I have code for an indicator, one of its functions is to show what the price is at a specific point - in this case, the value at the last closed bar. The problem is that the indicator recognizes the start and end trend-line coordinates as the same and
hey. last night I installed the indicator on a device, today I realized that it does not work. in order to fix the problem I uninstalled the meta trader 4 and reinstalled it and installed the indicator again. this time it worked but it counted as a new device on the indicator install limitation. the
Hello, I'm programming several indicators for an expert advisor. Looking at other expert advisors I use as reference, I noticed that indicator signals usually happen only after the bar is closed, not during open bars. I could only reproduce this behavior using 'rates_total-1' in the loop I use for
Hi, This code used to work in MT4 and it was working in MT5 but not anymore. It's the code that execute another program ex:Script from the code. Is there anyone who know how to make it work in MQL5? #import "user32.dll" int RegisterWindowMessageW(string MessageName); int SendMessageW (int hwnd,...
MT's original volume indicator is useless, coming behind 40 years of this business. When want to add external volume indicator those are available in MQL5, all are making the terminal collapse at some point. Terminal simply freezes then collapses. Don't same me usual response like update the
Greetings fellas, I created an indicator that calculate the specific symbol, for example XAUUSD. I want to attach this indicator to XAGUSD but then I found the indicator timeshift is not quite right since XAU open at 01.00 server time and XAG open at 00.00 server time. How to correct the indicator
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

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.