Hello, What is the custom tooltip size in MT5? Is it smaller, than in MT4? Is it adjustable? After custom indicator was converted from mql4 to mql5, not all info is displaying in tooltip
Deal Fellows If I used following code to dynamically select Real or Tick volume, is there any known issues? // Automatic selection of Volume Type. If real volume data available, we use it in calculation /* vVol = (appliedVolume == VOLUME_REAL) ? (double)aRate.real_volume : (double)aRate.tick_volume;
Hello, I am creating an indicator that uses HTTP requests in the Oninit() function to perform web authentication. This indicator, which is planned for sale, requires a reasonably strict authentication process. The issue I am facing is that "Oninit() is triggered again when the time frame is changed
Hi I'm looking for an EMA indicator that will be plotted based on RTH hours (i.e 9:00-17:45). Rest of the day without EMA at all. Is it possible to do in MT5? I got something like this in TV but I do not have the skill to transform it to MT5. I need it for real trading so creating a custom symbol is
I have an indicator that needs to gather data from several trading instruments before calculating. It uses OnTimer event to make sure everything is updated. However, if the market is closed and the indicator failed to update all the necessary data before the first (and the only one) OnCalculate...
I want to create a custom indicator based on the signal values obtained from different indicators. I mean the signals that are defined in Modules of Trade Signals like Signals of the Oscillator Relative Vigor Index Is the value of these signals accessible and readable for the dedicated indicator? If
Good day.for years now I have always had a question. Say you make an indicator with 4 buffers and 4 plots. All are set to array series true And wen you compile without assigning any values to the buffers, they will be ploted
Hello people, while working with some indicator system I experienced a misrepresentation of the values. More exactly: the custom indicator consists of 7 buffers being used for 4 plots. First I have a fast ma and a slow ma, which are being drawed normally as lines Secondly their data is copied to a
Hey all, I have developed a function to plot prices of interest - however it uses ObjectCreate() which does not visualise nicely when backtesting, so I am in the process of creating it as an indicator. The problem is that the number of prices/levels it returns is variable depending on its
trying to count total number of trades closed. but it shows twice the number for each trade. one when it opens and one as it closes. anyone can help please? int TODAY_TRADES() { datetime CurentTime = TimeCurrent (); datetime PrevTime = iTime ( Symbol (), PERIOD_D1 , 0 ); HistorySelect
Hi, I'm testing some features, and am stuck trying to use data from another indicator using iCustom() The goal is that I want to pass applied price or an indicator handle to iCustom, but in that Indicator it always returns value = 0. My TestMA indicator works without any problem Specifically here, I
hello guys. So I was trying to build an EA that utilises bars of multiple timeframes to gather information for trading. Now i'm struggling with an issue where if I try to run the code on a lower timeframe chart it can't seem to access the adequate number of bars it needs on the higher timeframe
I am trying to code my own triple exponential moving average. Here is what I have: tema1ema1 = MathMean(typical); //typical is an array for the last 20 bars where 0 is the most recent for ( int i= 1 ;i< 20 ;i++) { tema1ema1 = typical[ 19 -i] * . 0952 + tema1ema1 * . 948 ;
I am trying to code an expert advisor but I don't really know how good different indicators are. I'll end up throwing a couple in there and seeing how well it does, but if anyone has any suggestions on where to start I'd appreciate it
Hi, I am looking for a regular macd indicator in which I can set an alert in MT5 when the signal line crosses the 0 line. Regardless of the direction of the 0 line crossing. Signal generated after candle closed. It used to be on the forum, but I've been looking for a few days and haven't found it. I
Sir, I created this Volume Indicator but I am getting error " Array out of Range ". I have some wronged this Source code. Please check this 👇 #property indicator_separate_window #property indicator_minimum 0 #property indicator_buffers 3 #property indicator_color1 clrBlack #property
Hey guys! Title says all. The thing is a want to load an indicator to the chart using ChartIndicatorAdd . Some of them are oscillators - but I don't know which ones I'm loading are oscillators and thus should be loaded on a subwindow. How can I do this? I looked into the documentation, but couldn't
#property strict enum EMyCapitalCalculation { FREEMARGIN = 2 , BALANCE = 4 , EQUITY = 8 , }; enum EMyRiskCalculation { ATR_POINTS = 3 , FIXED_POINTS = 9 , }; class CMyToolkit { protected : virtual void _Name() = NULL ; // A pure virtual function to make this class abstract public
Hello, Can you help identify what the type of the indicator is this? Seems (and in the indicator's description it says so) like just three Moving Averages, the first MA with applied to high prices, the second MA with applied to median prices and the third MA with applied to the low price. But not
Hi everyone I have written a code to create 2 graphical objects of type OBJ_TEXT as per the picture bellow The first object is an arrow (using Wingdings Font Type) placed at the last low and right bellow it is a text. My question is the following . What is an efficient way to determine the spacing
//---- the indicator will be plotted in the main window #property indicator_separate_window //---- three buffers will be used for the calculations and plot of the indicator #property indicator_buffers 4 //---- only one graphic plot is used #property indicator_plots 1 //---- the indicator should be
Hi there! Attached you can see a source code of a good indicator which I am using by myself. Unfortunately this indicator has no push alert option for mobile terminal and I'm not into coding at all. Is there somebody who can please code a push alert into this indicator? I would appreciate it a lot
good day. I recently saw this arrow on a Chart. I searched in Wingdings and I can not seem to find it. how is it placed. and how can i put it into mql4 or mql5
Dear Fellows I am getting following error and have no idea, how to resolve it. Search on forum/google did not help much. 2023.12 . 13 19 : 31 : 45.367 iStochRSI (US30,H1) Not all data of RSI calculated ( 38018 un-calculated bars ) Regards
Honestly I doubt anybody can find the loogical flaw in this source code
#property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Yellow #property indicator_color2 Yellow #property indicator_width1 2 #property indicator_width2 2 // Input parameters input int RsiPeriod = 14 ; // Indicator buffers double ResistanceBuffer[]; double
All the indicators which are helping the detection the trend please post here. The first indicator is sinTrend. The value of about zero is the float, the trend is started if the value of indicator is equal or above 0.0015 or minus 0.0015, the value of above 0 is uptrend, below 0 - downtrend
I realized there are some characters in the wingding code that cannot be displayed properly, it always displays as a square. I use the example in the documentation with several inputs but it's still the same. void OnStart () { //--- string up_arrow= "up_arrow" ; datetime time= TimeCurrent ();
Help: array out of range, though in do...while loop I have tried to check error and exit
(38 1 2 3 4)
Dear Fellows I am getting frequent '2024.01.21 16:20:11.328 iSessionVP v1.99 (XAUUSD,M15) array out of range in 'SessionVPHisto.mqh' (258,23) error. //+---------------------------------------------------------------------------------------------------------------------------+ //| We
Good morning I found a workaround, but would like some explanation on how ibarshift() works My code is in oncalculate(). Time[i] is therefore just the constant and "i" an iteration of For The goal was to recover X bars on a higher timeframe i_UpIndEnd = iBarShift ( gf_symbol, gf_TFDef

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.