Technical Indicators - page 20

[Deleted]
#property version "1.00" #property indicator_chart_window #property indicator_buffers 1 #property indicator_plots 0 int handle; int hix,lix,lvb,_fvb,_clb,fvb=- 1 ,clb=- 1 ; double buff[]; //+------------------------------------------------------------------+ //| Custom indicator initialization
Hi I need an indicator that is able to detect major and minor Swing highs and lows, I found a perfect one but they didn't set the buffer values right so It is not possible to read any values and I would like to be able to read the values to build an EA, anyone has a similar indicator that ouputs the
Hello Guys! The OnCalculate() function is called when a new tick is received. Is it possible to call it at a specific timing? Example: int OnCalculate(const int rates_total, const int prev_calculated, const datetime &time[], const double...
Does anybody has or know where to find this indicator ( https://www.mql5.com/en/code/21161 ) for MT4 (preferably as mq4)? I was not able to find such a file anywhere... Thank you in advance. OK, after further search, found it here: https://fxcodebase.com/code/viewtopic.php?f=38&t=61233
  signal indicator  (1)
Hello, Greeting, I want to design a simple signal indicator at the of overbought and oversold of an oscillator on "indicator_separate_window" using arrow; Do you know a similar code in the CodeBase section? Or can you advise what keywords I should search for similar codes
//+------------------------------------------------------------------+ //| RSI.mq5 | //| Copyright 2009-2017, MetaQuotes Software Corp. | //| http://www.mql5.com |
[Deleted]
Hey, I'm trying to plot a custom ADX line that plots a different coloured ADX line based on DI+ > DI- or vice versa. For some reason it wont change the colour when plotting on chart, could someone give me an example on how to do that? thank you for your time
[Deleted]
I am trying to fix an indicator which i converted into mq5 from mq4 however there is some error which breaks flags with error "array out of range" when i change period to 8 or switch timeframe, any help on fixing this is appreciated
Hello, It's the firs time im writing on this as a thread, I don't know if its correct but someone knows about having the normal ATR(14) indicator on the Daily period to count the past data without the current open candle? because it can mislead the calculations of the ATR if i look at it after 2h of
Hi i wrote this indicator starting from another more simple one... When i lauch it or changing TF or refreshing everything is fine, but after that moment the result are wrong. i've made a comparison of values between a freshly launched one and another one running for a while and results are
Dear Experts I'm new in programing and i need the maximum Upper Williams Fractals between 6 last Upper Fractals @ daily timeframe. So i tried to code these lines below: double Fractals_Daily_UPPER_LINE[] ; double Fractals_Daily_LOWER_LINE[] ; ArraySetAsSeries (Fractals_Daily_UPPER_LINE, true )
Couldn't find the calculations online. Does anybody know where I can find this
Hello everyone, I'm a new member. I hope you can help me to solve this problem. I would like to create a daily channel using .csv data format I create this data using excel and would like to use it in my charts. To be clear, I'm posting an image. Thank you for your attention and help. Paul
Hi all, I was having an issue with a HTF moving average calculating the entire rates_total on every loop due to a badly designed for loop. I have created an indicator to help debug this and redesign the loop so that I am only calculating the most recent bar (after the intial loop through the whole
  PLOT_ARROW  (1)
In indicators, you can use a code function to change the drawing type of the points on the chart. In fact, this happens using the following function: PlotIndexSetInteger(0, PLOT_ARROW, 230); Where can I get the list of these numbers and the shapes that appear on the chart by applying each of these
  Fibo & Gann variations  (352   1 2 3 4 5 ... 35 36)
Fibo Levels indicator. Fully forecasting.
I'm trying to use SetSymbol indicator on MT5. After attaching indicator everything seems to work but then suddenly indicator disappears from the chart. Indicator window still shows indicator and also there is no error showing. SetSymbol.cpp #define PROPERTY_COPYRIGHT "Copyright © by iDiamond @
  RSI Cross  (3)
Hi Guys I was wondering if anyone has an indicator that draws an arrow when the RSI cross above the OB and below the OS. All i can find is arrows or alerts when the RSI enters the OB or OS zone. Im after an indicator that draws when the RSI exits the zones and candle closes. Many Thanks
Hi I'm looking to someone that can convert this indicator into an MT5 : If you help me, I will share my strategy with you :-D Thanks // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // @version=5 indicator( 'Test' , overlay= true
Hi, I have create a new indicator, it is my first one and I have an issue to display the value in my chart. The value is stock in my array Buffer_yhat1 and the value comes from my function -> nadaraya(close, ArraySize(close), h) Can you help me ? Here is the code
Hello, can anyone code fractals indicator counter? If lower fractal is lower then previous lower fractal then number is 2, if another lower fractal is lower then previous fractal then number is 3 and so on. If lower fractal is higher then previous lower fractal then number is 1 again. It will be
  News Reader Indicator!  (80   1 2 3 4 5 ... 7 8)
Well, I'm not the creator of this simple indicator but I enhanced it! The indicator reads a .csv file (you have to place the .csv file in EXPERTS/FILESfolder). And dipsply the news on the chart. And alerts you 10 minutes (optional) before the news. The format of the .csv file have to be look like...
hello all the gurus out there, I am new to mq5. My mql5 file compile with NO error, but won't plot, can someone please tell me what is wrong and help me fix it. thanks. #property copyright "" #property link "" #property version "1.00" #property indicator_chart_window #property indicator_buffers 4
A few years ago, I found a very strange phenomenon in the process of writing MT5 indicators ->> Let me first talk about my code entry process: 1. The refresh of controls written by MT5 will flicker. When I started writing the trading assistant panel, I found that when I used the CANVAS sketchpad to
Hi.. i have issues to get the name of object with Pivot Point Indicator The indicator only have Object Label, using PlotIndexSet String : string labels[7] = {"R3","R2","R1","Pivot","S1","S2","S3"}; for ( int i= 0 ; i<steps; i++) { PlotIndexSetInteger (i, PLOT_DRAW_TYPE , DRAW_LINE );
Hello, to be a little more specific about my request, I would like someone to tell me and mark on the graph where the price must go to reach my overall position tp but the sell and buy each separate their tp thank you
Hello guys, I'm trying to code some ideas in mql5 rather than mql4 in order to better test my multicurrency indicators and experts but I've big issues accessing indicator values (ex. MA) of symbols. I read all documentation deeply and looked also on the forum I'm getting very confused. This is my
I have many indicators which I use in my EA at the moment. Could be very stupid question but what you guys are suggesting? Is there any big difference if I call all indictors in EA or I call all indicators in one indicator and then using this one master indicator for EA
Hi there fam! I've been searching for this all over the place, but couldn't find anything related to it. Maybe someone is willing to share a solution, if there is any. A simplified version of what im trying to do: Create an iMA, then IMAonArray using the first iMA, and an additional iMAonArray using
Hi, I just wanted to know if any experienced developer has made post / topic about best practices and patterns about creating I ndicators. Since information about EA/MQL5/Indicator is spread out across forum posts/articles/MQL5 documentation, I thought someone may already have created post about