Technical Indicators - page 12

Hello, I want to have a chart with an indicator that will only display information that I give. So, for efficiency purposes I would like to know if there is a way to "kill" that chart and only respond to my functions. That way, it won't have to calculate anything nor draw anything except when I
Hi everyone I have written an expert that runs custom macdonrsi indicator on 3500 Renko charts with different size candles. In the end, when I want to delete the expert or change the profile, it automatically tries to close all these indicator handles at once, and that's why it hangs and I have to
  Forecasting indicators  (344   1 2 3 4 5 ... 34 35)
Please find some indicators which are forecasting something. First is i-DRProjections_v.0.1. This indicator shows the support and resistance of current day forecasting on the base of previous day. All the calculation is based on Thomas R. DeMark book "New Science of Technical Analysis".
Hi Can someone please help me have a look why is it on my computer(first image) the MCDX blue lines matching the bullish candlle which is WRONG, but the(second image) on someone elses computer the MCDX blue lines matching the bearish candle which is CORRECT, why is there 1 bar delay? Thanks in
Hello, refactoring my code I've found a place where instead of comparing two symbols with StringCompare, I was doing == of both ChartSymbol(chartID). Suposedly ChartSymbol() returns a string and when comparing two strings if == is used, only returns true if both string are pointing to the same
This indicator keeps track of the time remaining before the 4hr candle opens. The time can be specified by the user in intervals of 15 minutes such that the total time does not exceed 4 hours (i.e. 240 minutes). The indicator is supposed to draw a rectangle once the countdown to the remaining time
I'm trying to create a recency-weighted performance indicator that averages the annualized performance of various lookback periods. For each lookback period, it uses a 5-day moving average to avoid the problem of idiosyncratic results depending on the daily results of the specific lookback day. I'm
Greetings, Below I have a function intended to determine the intersection of 2 ('Object Trend') lines drawn on a chart. The issue is that the 'intersection time' being reported does not seem to equal what I am seeing visually on the chart. In the function the 'time' of the intersection is set as
Hello, I've been all morning stuck with this problem. My indicator has a function to draw a rectangle label and a label so it shows a label with background. The problem comes that when I use the ObjectGetInteger to get the xSize of the label to apply it to the rectangle label it doesn't work. Tried
Hello everyone, I hope you're well. I'm still a beginner and I'm finding that when I remove an expert advisor then I still see the comments, so I did a quick search and found this solution , so I added an empty comment in the OnDeinit function: void OnDeinit ( const int reason) { Comment ( "" );
Hello everyone, can anybody please explain to me, why there is a limitation of the width and size of objects within MQL5, where MQL4 didnt have these limitations? In MQL4 you can size objects like you want to, but within MQL5 there´s a limitation to width 5 for example. I can´t see the reason behind
for ( int i=start; i<rates_total && ! IsStopped (); i++) { ExtSignalBuffer[i]=( low[i]-open[i])* 1000000 ; if (open[i]-close[i] > 0 ) // in case bear indicator_type2 [i] = clrAqua ; //change color ExtSignalBuffer[i]=(low[i]-close[i])* 1000000 ; }
This indicator is similar to the RSI. The idea is to calculate net_profit / [sum(positive returns) + abs(sum(negative returns))] in a rolling window. But after I changed the code in the main loop, the terminal says: 'for' expressions are not allowed on a global scope //--- the main loop of
Hi, I'd like to use my Mt5 custom indicators also on Mt4. They compiled with 0 Errors on Metaeditor 4, however, when applied to a Mt4 chart I get the unspecific error message: "indicator on custom buffer is not supported yet" What does that mean? Thanks, Tim
  RSI MAKER  (3)
I want my indicator to mark all bearish candles that have RSI below 30 and all bullish candles that have RSI above 70. I'm not sure where the issue is. //+------------------------------------------------------------------+ //| RSI_Marker.mq5 | //|
hi guys . I'm new in indicator and English language too.I've tried to convert an indicator from MT4 to MT5 . i downloaded an include file ("<mql4_2_mql5.mqh>") to make my work easier . this is my code that give me "array out of range in Line ( 171:18 )" error will you help me to solve my problem
hi this code is mql5 script and print the ma value of D1 period and work as it expected: void OnStart () { int mahandle; mahandle= iMA ( NULL , PERIOD_D1 , 1 , 0 , MODE_SMA , PRICE_MEDIAN ); double mavalue[ 1 ]; CopyBuffer (mahandle, 0 , 0 , 1 ,mavalue); Print (mavalue[ 0 ]); } but same
Dear Fellow Members The documentation says: ERR_INDICATOR_WRONG_HANDLE 4807 Wrong indicator handle I have included following check, but still in live chart I get error 4807 though none of handles return no error: if (mHandleFast == INVALID_HANDLE || mHandleMid == INVALID_HANDLE ||
can anyone help with this datetime time6= D'2024.07.10 07:15' ; string symbol= "EURUSD" ; ENUM_TIMEFRAMES tf= PERIOD_M5 ; bool exact= false ; //--- If there is no bar at the specified time, iBarShift will return the index of the nearest bar int bar_index=iBarShift(symbol,tf,time6,exact);
Trying to convert an mql4 to mql5 breakeven indicator but nothing is drawn on the chart. My mql5 conversion What is wrong ? //+------------------------------------------------------------------+ //| Average Price v3.0.mq4 | //|
I have two custom indicators for MQL4 that both fluctuate with a median value of 0. When I put both these indicators into the same SUBCHART, their respective 0 lines do not overlap. Is there any way to overlap the 0 lines? The pic shows two 0 lines are not overlap. Thank you for your help in
Here's what I see when I start the MT5 terminal, also when its running but my internet connection is interrupted. The indicator plot shows briefly (subsecond) and then disappears: All I need to do is switch the timeframe of the chart to anything and then back and the window shows up like it should
Hi Not sure if this question is in the correct topic area. If not apologize for it I have a small script (NOT EA) and would like to apply chart templates when a change occurs. In the end I even tried FUL path yet I keep getting error 5002 (sometimes 5019) string templateFolder =
Hi. I've created a new indicator with MQL5 by using the wizard. I need three buffers for my logic, but only the first one is created. This is my code: #include <MovingAverages.mqh> //--- input parameters input uint ShortInterval= 10 ; input uint LongInterval= 30 ; //--- indicator buffers
Hello, recently I starting coding my own indicator and I'm stuck so I decided to post here as this site is where I got all the information and answers before by looking to other users questions. But now I can't find one solution in this forum that works for me and I would like to understand why is
  can not sync trend line  (15   1 2)
Hi, if someone faced this issue before. Please advise me. I created trend line indicator which has start date and end date of moving vertical line. Indicator works correct. I run it at 1h timeframe and it drawn trend line. Then I applied synchronizer at 1h and 5minute timeframe. trend line could
Hello. I am trying to get the pixel values from a chart to use in a convolutional neural network but I don't know where to begin. How do I get the pixel values
Here's what I print out when an iCustom() fails: ChartID < 133608959982095523> symbol < USDJPY > TF < PERIOD_M12 > : [Slope of MA Signals MJM.mq5 [OnInit] LINE 272 - Indy >>Slope(1) of iMA(7,CLOSE) < < failed! Error<4002> [WRONG_INTERNAL_PARAMETER] sSymbol < USDJPY > eChrt_TF < PERIOD_M12 >
Hi friends, I am doing a multisymbol indicator that is already working OK for two symbols that have the SAME market hours. My problem is for multi symbols with different market hours. At first I want just to plot the close price of the second symbol in a separated screen, but later on I want to