Hi Guys,
Migrating my standard libs from MQ4 to MQ5 is about to drive me crazy! At the moment I'm trying to find replacements for functions iStdDevOnArray and iMAOnArray - see code snippet.
It's the purpose of this function to normalize value inArray[sh] by standard deviation related to the...
Two friends of mine directed me in this direction : it turned out that we do not have a Constance Browns composite index indicator coded .... yet _____________________________ A quote from Constance Brown regarding composite index : The Composite Index was developed to solve the divergence failure...
I believe this to be a bug in Include\Indicators\Series.mqh method CheckLoadHistory currently: if ( MQL5InfoInteger ( MQL5_PROGRAM_TYPE )== PROGRAM_INDICATOR && Period ()==m_period && Symbol ()==m_symbol) return ( true ); should be: if ( MQL5InfoInteger ( MQL5_PROGRAM_TYPE )==
I have an indicator that uses iCustom and CopyBuffer to load the data from another indicator (same symbol, different timeframe). CopyBuffer will usually return -1 on the first call of OnCalculate(), meaning data is not yet available. This is not usually a problem as I return 0 and on the next call
When the metatrader app for WINDOWS MOBILE was still available, all the TECHNICAL INDICATOR VALUES for each PAST AND PRESENT line chart/ bar / candlestick on each timeframe were available. The current ANDROID app has technical indicator values of the present (current) line chart / bar / candlestick
For example, the following code works as expected. The first plot, with plot index 0 uses data from buffer 0 and the second plot with index 1 uses data from buffer 1. Does this mean that the plot is associated with it's buffer by it's index number? eg. Plot 0 = Buffer 0, Plot 1 = Buffer 1. Or, is
Hi Dear Could you please change the alert message of attached indicator to show the time frame in the Alert. right now it is showing alert but It is unclear which time-frame condition was alerted. If the indicator was active in the different time-frames of same symbol. the presented alert is
Hi. My EA trades multiple pairs simultaneously and I encountered a situation today I am trying to understand. Using a custom keltner channel indicator, I received a "BUY"(Long) trade signal from each of these pairs: EURUSD , EURJPY, EURCHF, CADJPY, CHFJPY, AUDJPY within seconds of each other, after
Good day all, I inserted MACD in my chart and after entering the parameter of 7,9,7 and clicked ok, it launched in the indicator window but plain without signal line and histogram, so I write to be directed on how to solve the problem. Regards
Hello traders, I would like to create a sound alert on an indicator I use when the price closes under or below the indicator lines. It is a volatility indicator : //+------------------------------------------------------------------+//| Guppy CBL...
Hello :) I am searching for a possibility to set free alerts in metatrader 5 for the stoch indicator. I have used the forum and google but only managed to find several examples for metatrader 4. Can anyone help me please
I have an indicator that creates several chart objects as part of the indicator, OBJ_TREND, OBJ_HLINE, etc. I then create a template of a chart using this indicator. I then open a new chart on the same or different timeframe and load this template. The chart objects saved as part of the template are
This line of code relates to a wingding that is responsive to RSI. Here are the relevant lines of code: item02 = Custom_Name + "DIR002"; CCI5W[i] = iRSI ( NULL , PERIOD_M5 , CCI5_Period, PRICE_TYPICAL , i); double CCI5WP = iRSI ( NULL , PERIOD_M5 , CCI5_Period, PRICE_TYPICAL
I have been studying the buffers section of the documentation. It appears that they are only used to draw lines (or maybe text also) to the screen. Is this a correct assumption
There is a setting in the client terminal to limit the number of bars on the chart. Mine is currently set to 100,000. How does this affect rates_total, prev_calculated and the time series arrays passed to OnCalculate? For most on the calls, rates_total and the time series arrays will grow in size as
Hi! Can someone send me an MTF MA that is not wrong? Without exception all the defects that are above .. most indis write this error: Not all data of ExtHandle1 is calculated (-1bars). Error4806 and this averages _-_ mtf (# GDAXI, H1) array out of range in 'averages _-_ mtf.mq5' (170,48) as wrote
hi i have this indicator to export MA and ATR, but after adding BID and ASK price it stops working. copied it from code base. what am i missing? thank you very much! //+------------------------------------------------------------------+
If you close the client terminal with a chart and indicator open and then re-open the client terminal, the chart with indicator will appear as expected. The indicator will receive its first call to OnCalculate with prev_calculated = 0 as expected. However, on the next call OnCalculate will pass 0 a
I have no clue how to create an Indicator but i am looking for something very simple that will just place lines for certain times of the day colour coated, as well as notifications when price is reaching a specific point. if you can help please reply
Hello, I have been looking for an indicator that draws a line where the net profit line should be, lets say i have two orders in on the same pair, somewhere in between the two is the net profit line, I would greatly appreciate any help with this. Thanks
Hello I am looking for an indicator, which alerts you when a support or resistance is broken only with the body closing price Can someone an indicator like this help me
I feel that MetaQuopes should provide the traditional MACD in their suite of indicators provided with MT5 as a lot of traders find the version of MACD provided by MQ to be unsatifacory in that it hasn't got crossover lines and the hisogram behaves a whole lot differently. I have got a new MT5