Technical Indicators - page 5

Hey guys, I made a small indicator which shows inside candles. Now I want to check if the candle's close is above or below the open price and I want to change the color of the dot accordingly. I know how to do this with two buffers but I want to know if it's possible with one buffer and how I could
Hello MQL5 Community, I would like to know if there is any risk reward indicator for download in Metatrader 5, or a way to calculate the risk reward ratio easily without having to compute it manually. Please let me know :)
Hello Coders, I am using MACD Oscillator which Envelope insteads of MA line in MT4 platform. Currently, I want to continue using this Oscillator in MT5 but I don't know how to code Envelope-On-Array with MQL5, I hope Coders will guide me to code this tool with MQL5, thank you
  Everything about RSI  (1465   1 2 3 4 5 ... 146 147)
RSI indicator We are continuing discussion about the indicators. We have the following thread: Parabolic SAR indicator Momentum indicator Stochastic Oscillator Divergence Indicator Now we are talking about RSI. "Technical Analysis from A to Z": Overview The Relative Strength Index ("RSI") is a
Hi, I copied a Donchian channel indicator from online resources. I want to plot the Upper and Lower at US market open. The values should only change at US market open. Then remain the same value after 16:30(IC market server time at US open). But I failed to do so. #property indicator_chart_window
Hello, I'm developing a Bollinger Bands indicator with sound alerts, and I'm facing an issue with custom sound playback. Issue: 1. In MT5's default price alerts (Tools > Options > Events), we can select and play ANY .wav file from the Sounds folder 2. However, in my custom indicator , I can only
I am relatively new to metatrader and have written the attached indicator(EMA_slope-v1.3.mq5). It seems to be ok when running as an indicator, but the performance seems poor when running against a strategy. Can someone give me some advice on how to improve the performance of this
Hi there, I'm just curious as to how to proceed with calculating the EMA for a LinearRegression calculation. So I have adopted a LinearRegression from mladen (credits to the owner). And this seems to be working, what i wish to do next is to calculate the EMA of the resulting LinearRegression. Below
I'm a newbie here, the question is how to add a rounded rectangle, currently I can only add rectangles
Hey, can anyone help me understand how i can draw objects on indicator_separate_window. What i want to draw is a chart graphical object. It displays a mini chart. If i use the ObjectCreate function, it draws it in the main chart not the indicator window. Can anyone help
Hi guys, I've created an indicator with a panel, using CappDialog class.. The problem is that each time i change the time frame on the chart, the panel is like reloaded at its default position and settings. I tried two different approaches, the first one where eveything is on the same file and the
  Max Daily DD  (2)
Hello, Do you know any scripts or indicators to monitor Daily max Drawdown (DD) for MT5? Best, Murat Y
Hello Assume an arrow (draw type) buffer in an indicator. The arrow is drawn by placing the center of the character at the specified time at the price in the buffer. The PLOT_ARROW_SHIFT value that shifts arrows up or down in a plot is specified in pixels while the size of the arrow in the arrow
  Keltner Channel  (75   1 2 3 4 5 ... 7 8)
Hi. Anybody got Keltner Channel with deviation settings? I have keltner channel but unable to set the diviation. Any input would be grateful. Thanks
  Code problem!  (3)
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
  Fibonacci Channel  (10)
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
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