Technical Indicators - page 10

Hi everybody, I'm trying to get the value from the "average angle" indicator. But the value of the indicator displayed on the chart is different from the value of the indicator taken from iCustom. I am very confused with this problem Please help me fix my code. Thanks in advance
It's clear that there are a lot of interesting, experimental, and useful indicators on the MQL codebase. Do *you* like to collect and support these programs? In my opinion, we don't have time to code everything, and we don't always have the same ideas, so it's good to support other people's codes
Hello. I am not a developer but do need help and will highly appreciate somebody guiding me in a correct direction. I have two indicators installed(with source codes ) and i want one indicator outputs to serve as inputs data for other. Both indicators are custom. Indicator that should provide data
when i want to get value of first buffer, it always shows empty value but in Data window shows that it ( buffer 0 ) has a value! this is the code of indicator: //+--------------------------------------------------------------------------------------+ //|
Hi to all, simple question: is it possible to create a custom MQL5-indicator with multiple (sub-)windows , with plot lines e.g. in the main chart and in two subwindows (so 3 in all)? I'm not talking about drawing objects, I'm talking about INDICATOR_DATA. Thaks
  Profit Labels  (7)
Hello, can somebody explain how to add this "Profit Lables" to show on a chart? how to code it into an EA or as a indicator? thx
  EMA with alert?  (41   1 2 3 4 5)
Does anyone know of an indicator that alerts when price is within a specified range of 34 EMA? I have searched but can only find cross alerts.
Hi guys, I used iRSI function in following format int iRSI( string symbol, // symbol name ENUM_TIMEFRAMES period, // period int ma_period, // averaging period ENUM_APPLIED_PRICE applied_price // type of price or...
this is the code that i combined PVI and iMA but it doesn't show them correctly like the attached image. how to correct the code? //+------------------------------------------------------------------+ //| Demo_iMA.mq5 | //|
If I have only one chart open in the terminal (build 4755) and add any indicator to the chart that should be displayed in the terminal window, it will be displayed correctly: If I open another chart and try to add an indicator, the indicator will open in a separate window above the price chart: In
  fibonacci spiral  (1)
Good afternoon, if anyone has an indicator like in the screenshot "fibonacci spiral" on mt 4 or mt 5, please drop it)))))
If I need to have synchronized data in the indicator, I perform a synchronization check. Unfortunately, if there is no next tick coming (e.g. on weekends), there is no further call to OnCalculate and the indicator is not calculated. I helped myself by calling the ChartSetSymbolPeriod function. In
In MT4 - multiple offline charts can be created with only 1 RangeBar indicator which is attached to M1 regular chart For example - created 10 pip RangeBars chart as M21 offline timeframe and 50 pip RangeBars chart as M31 offline timeframe Then attached Multi Time Frame (MTF) indicator on both
  iVWMA()  (2)
I miss MQL5 indicator iVWMA(). It is useful, but reference to programmed one is not comfortable
Hello, I want to ask if someone also has the similar problem. When I attach my indicator on the chart, alert comes up when there is no signal yet, here is my pseudocode datetime last_alert_time = 0 ; if (time[ 0 ] != last_alert_time){ Alert ( "Buy Signal Detected" ); // Alert for Buy
Can someone show me how to make a rectangle/label with background cover the position history markers that mt5 automatically plots on the chart. Here is my code. On the image you can see what i mean. those little blue and red arrows are popping through the black background of the panel. I have tried
  Tick volume vs Real volume  (18   1 2)
MQ5 offers these two. What is the difference between them?
I want to implement a DRAW_HISTOGRAM2 indicator that can hide all bars. I use the following API to change the width. PlotIndexSetInteger(0, PLOT_LINE_WIDTH, g_width); // g_width is from 1 to 5 I found that it reacts with 1 and 2, and if g_width is more than 2, nothing changes. As a result, the bars
I am building a Indicator to look at Tick Imbalances. However, sometimes the indicator works while other times it crashes the terminal. I have narrowed down the issue to be the call to CopyTick calls. More specifically this function Code: int get_ticks( const datetime from, const datetime to
This is my code, could anyone explain or give any reasons as to why it doesnt just print the high low open and close of the previous candle, it just produces other incorrect values. candleIndex is set to 1 double openPrice = iOpen ( NULL , 0 , 1 ); // Open price of the specified indexed candle
Hello, I've been making an indicator and I see this issue in the Experts tab of X undeleted dynamic objects found: x objects of class A... So after reading some posts and this article https://www.mql5.com/en/articles/28 I still don't understand how it works. From my understanding if I don't use
How to create labels like in the image? Mql5 is outdated #property indicator_type1 DRAW_ARROW #property indicator_width1 5 #property indicator_color1 0xFF0015 #property indicator_label1 "Buy" Buffer1[i] = Low[i] - ATR[i]; //Set indicator value at Candlestick Low - Average True Range if (i ==
Hi guys,I changed the Ichimoku indicator to customize the shift in kumo cloud, and use this as a custom indicator with iCustom function in OnTick function of my expert. the problem is that it makes the EA very slow in the backtest, however, if I use the in built Ichimoku indicator the same way the
Hi, I noticed that the included indicator Moving Average has no Inputs nor Colors tab but nicely done Parameters tab. Please look at the attached screenshot. There is no code for that Indicator. I asked google and chatGPT but didn't find anything of value. If you know how to make the Inputs and
Is it possible to show the program build date as a property description (line at Common tab of my indicator)? I tried this: static const string MY_BUILD_DATE = TimeToString ( __DATETIME__ ); #property description "BUILD: " #property description MY_BUILD_DATE ...but I get "constant expected" build
Hi. Suddenly the indicators that I have written have become flatter. That is to say, they don't fill the entire screen... REALLY frustrating
Hi everyone . How can I draw a rectangle that shows me the pips value in the corner? In fact, the mql5 code as an indicator that displays the pips value of each rectangle I drew. I have attached a photo as an example
  RSI with MA on MT5  (23   1 2 3)
Hello, I need the MT5 source code of RSI with a moving average in order to add it as a custom indicator on mt5. Can you help
  #resource  (22   1 2 3)
Good evening Are there any limitations with #resource? In an indicator I have two resources #resource "\\Indicators\\Ressources\\Dev - Dev Team - Stochastic MTF.ex5" ; string g_Path_Stoc = "::Indicators\\Ressources\\Dev - Dev Team - Stochastic MTF" ; #resource
Hello everybody, I was trying to solve this well-known problem explained by Fabio Cavalloni and others, when I have discovered some really strange behaviour in OnCalculate. I have written a small sample program that reads the closing value in a different timeframe. Inside onCalculate, I check