Technical Indicators - page 20

Hi, Could someone tell me what lines should I write into the basic RSI indicator's code to get the result on the pic? At moment I draw rectangles to get the colored zones. Basically I want colored zones at the backround of the indicator regardless of the timeframe. I hope it's not difficult. Thanx
Hi guys, I recently develop an indicator that detects support and resistance levels of the 100 previous peaks and troughs. I am trying to implement the data and calculations of this indicator to an EA I am trying to develop but I am having some problems. Since the indicator detects structure levels
Good day, I tried for days to code a master candle indicator by myself, with no success. I need to draw the high/low of each master candle available on historical datas. Can someone help me very please. here is the function OnCalculate Regards. int shift, bar, limit= 0 ; //--- if
I found something strange in copybuffer atr indicator. the value return EMPTY_VALUE if shift is far from current. Anyone get this problem? //+------------------------------------------------------------------+ //| TestCopyATR.mq5 | //|
Good afternoon! I'm trying to build an indicator that stores the price of each second ago in an array. Then, I intend to get the price of, for example, 5 seconds ago, accessing the array L[5].... I made this code below, but I can't access the array. If it's L[0], then it works.... Where am I going
I am idealizing an indicator with two plots, where one plot would be attached to the chart window (indicator_chart_window) and the other plot to its own subwindow (indicator_separate_window). Is it possible to do this in a single code or do I need to build different indicators
ExtMapBuffer1[i] = giao dịch == 1 && giao dịch[ 1 ] != 1 ? 1.0 : giao dịch == - 1 && giao dịch[ 1 ] != - 1 ? - 1 , 0 : 0 , 0 ; ExtMapBuffer2[i] = giao dịch == 1 && giao dịch[ 1 ] != 1 ? 1.0 : giao dịch == - 1 && giao dịch[ 1 ] != - 1 ? - 1 , 0 : 0 , 0 ; please fix me
[Deleted]
Hello, I am writing a function to get 10 RSI values from copybuffer, how do return the function as an array/pointer? double RSI[] ( int Position, int RSI _Period , int RSI_Apply) { int Handle; double Values; Handle = iRSI ( Symbol (), Period (), RSI _Period , RSI I_Apply); CopyBuffer
Hello guys I hope anyone know the name of this indicator I used to have it on my mt5 . after I changed my pc I lost all my data so I don't remember from which site I download it from. so by seeing these picture anyone know what is this indicator ?? It may look like super signals but it's not . I
Hello, I try to get data ( a value of a moving from another M5 ) and use it with data in Current time frame but it has repaint please help me to solve the problem double moving_val_M1 = 0 , moving_val_M5 = 0 ; for ( int i = candles; i>= 0 ; i--) // Bars-1 { int m1 = iBarShift ( NULL
why has simple thing like coding a moving average on RSI to read values from 0 to 100 on the RSI window so hard.....I just can't imagine, no proper documentation. Any help
I am new to coding and I added a magic number to this Indicator. I get no errors but when I put the Indicator on 2 charts with 2 different EAs the Indicators TakeProfit Left and StopLoss Left only works with one of the EAs. Any help would be appreciated
Hi Guys it is me again I started reading the documentation and I can't fix these 2 errors '}' - unexpected end of program '{' - unbalanced parentheses Can someone help me thanks
[Deleted]
#property indicator_separate_window #property indicator_buffers 4 #property indicator_plots 1 #property strict //--- plot #property indicator_label1 "N" #property indicator_type1 DRAW_NONE #property indicator_color1 C'8,153,129' #property indicator_style1 STYLE_SOLID #property
Hi, May I ask a question about how to write a function that gets a moving average value of any symbol regardless of what chart the indicator is placed on I have attached the test files and see below attempt I made, but it returns a value of zero. Thanks! double GetEMAValue( string symbol) {
  Parabolic SAR indicator  (289   1 2 3 4 5 ... 28 29)
I am continuing posting information about indicators. So, we have information about Stochastic indicator https://www.mql5.com/en/forum/177239 We have the thread about Momentum indicator https://www.mql5.com/en/forum/176430 Now something about Parabolic SAR. OverviewThe Parabolic Time/Price System,...
[Deleted]
  mq4 to mq5  (1)
Hi Traders and programmers, i need help converting this indicator to mq5 , its called "_BAMSBUNG-NO REPAINT_mods_" , because i stuggle using the H12 in mt4 it has 2 dll files with it and this is the link : https://drive.google.com/drive/folders/1Ezu4ra-Xw8x2rQ7dzW7Ruk2_aa4e_Tkq?usp=share_link Thanks
  ADX code  (10)
The ADX coded in metaquotes is different then most other trading softwares... The ADX value is always much higher giving false signals about the trend... Does anybody could tell me where the problem comes from, and provide me wth instruction on modifying the indicators ... Thank you
//+------------------------------------------------------------------+ //| Second Indicator.mq5 | //| Joy D Moyo | //| joydmoyo@gmail.com |
Hi everyone I'm using crossover strategy and sendnotification() function . after crossing MAs , for 60 seconds(in every Tick in Bar[0]) it sends notification. How can I limit it to only once ? I used NewBar function but it doesn't work at all. Please help if you know
Hi there, I am new to MT5 and I have been trading Bitcoin on Binance using their Stochastic on an RSI indicator. Is There a good simple Expert Advisor I could use to replicate this on MT5 without having to write code? Cheers
I noticed that a MA and a CCI indicator gives some interesting early VISUAL signals if displayed in the same window, but the crossing lines have completely different scales and values. So I got this naive idea to merge the two and then wanted somehow adapt the different scales and use it in my EA. I
Hello im new to code , so can someone help me out to solve the errors given by the code bellow? Thanks. //+------------------------------------------------------------------+ //| CumulativeDeltaVolume.mq5 | //| Copyright 2021, Your Name Here
As title, i intend to build an indicator that all-in-one include rsi and moving average and parabolic SAR, like this below. But I know how to to include all the indicators into one file. I dont want to invoke too much files because it affect to backtesting time. Please any one give me some
Hey everyone, I am trying to build an EA that uses Detrended Price Oscillator. I am using the iCustom() function. I've read a lot of posts and the documentation as well, but it's not working and I cannot understand something. In the documentation it says: iCustom "[in] Custom indicator name. If the
Hi If an indicator uses multiple classes and functions, as one might have if writing a non-simplistic indicator, then the lack of support for array pointers makes it necessary to pass references to data arrays from class to class and function to function for every class and function that needs to
I'm working on an EA in MQL5. I have tried just about every variation of parentheses I can on these lines, and I keep getting some variation of "open parentheses expected" errors. Here's the minimalist version with only the parentheses required by if, plus one required by the logic grouping: if (bid
Hi. I am struggling on how to create a way to plot on the main chart lines showing the close prices of different timeframes in an indicator made on MQL5. Any tips? How to create an array to fill it with the close prices of different timeframes
Hi I have an indicator that processes a lot of data. It published successfully around a year to 18 months ago. Now I get Tester Takes Too Long during publish validation. The code is already highly optimised. Is there anything I can do to get it published? Thank you
how can i create multicolored in multi time like 3 clock time red ,4 clock time green