Technical Indicators - page 22

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
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
Hello. We all know ADR or the Average "Daily" Range. Some plots a range high and a range low on MT4 chart. I am trying to find and indicator that plots the high/low range of Average "H4" Range and Average "H1" Range. Please see attached files for idea. Thank you very much
Hello, I'm trying to convert this pine script to MQL5. but I can't find the error can someone help me? // Pinscript C_BodyHi = math.max(close, open) C_BodyLo = math.min(close, open) C_Body = C_BodyHi - C_BodyLo pine_ema(src, length) => alpha = 2 / (length + 1 ) sum = 0.0 sum := na(sum[ 1
Hey everyone, I'm coding some Pivot Points for MetaTrader5 but I'm having trouble drawing the lines. The plan is to draw 7 horizontal lines (PP, R1, S1 etc.) however only the PP line is actually being placed on the chart. I've attached the file below. Any and all help is appreciated
I converted this indicator from mt4 to mt5 it compiles with no error but on chart it only shows a buffer and that's all. Doesn't print anything. Below is the actual mt4 source code and MT5. I can't use the code insert button else it would exceed maximum characters
I want to publish in Market an Expert Adviser that I designed for research and education. Its objective is to understand in practice the different strategies of the Awesome Oscillator indicator. I don't want it to work on real accounts because I consider this a bad idea and I don't want some
  Divergence Indicators  (324   1 2 3 4 5 ... 32 33)
Hi all, I am looking for an Indicator with show Divergence on the macd version i attach below , with a sound alert signal. Can any one programer help out please. Thank you
Good day, for complex reason here --> https://www.mql5.com/en/forum/72215 i need to simulate numpad 5 by code (or rescale y axis). Then my y scale is reinitialized when i change timeframe. Is it possible ? regards
Good day, I am trying to detect the higher/lower of month. I really can't see where i do wrong. Can you help me please ? datetime start_mnth = iTime ( NULL , PERIOD_MN1 , 0 ); MqlDateTime structure_date_mnth; TimeToStruct (start_mnth,structure_date_mnth); //--- week: USD_plus_hi =
Hi,  I can't find in the "help" of MT5 how I can change some properties of an added indicator using the "ChartIndicatorAdd" function. For instance: I've added a standard exponential moving average using the code: indicator_handle = iMA(Symbol(),Period(), 20, 0, MODE_EMA, PRICE_CLOSE); window=0; if...
Hi coders ,can you please help me modify this code . The pip show indicator . It shows pips of open positions but it shows sum of them . I need it to show average amount of them . Currently if there is 2 positions open one at 10 pips and other one at 9 pips it shows 19 pips. I want it to show