Technical Indicators - page 3

Hello everyone, My MQL5 indicator is supposed to import trade data from a CSV file and display them on the chart. The CSV file is properly exported and placed in the Terminal/Common/Files folder, but the indicator keeps returning error 5002 saying the file doesn't exist. The file is definitely
// SimpleLinregRSI_v4_fixed_XAU_TF15.mq5 #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Gold #property indicator_color2 Crimson #property indicator_width1 2 #property indicator_width2 2 input int LinregPeriod = 18 ; //
It goes past steps 1, 2 and 3. Then after submitting the code and screenshot it just hangs on step 4 saying "Code 20%" without any informative messages as to what the problem is. I've googled and searched like crazy and can see quite a few people have had the same/similar problem without any
Hi, this is my report on a problem that started to happen with me some days ago and also the solution I found. I hope it might reach Metaquotes so they find a solution to this obvious bug (even though my situation with another of such problems gives me little hope for that). So what happened is that
I want to combine the clean look of Renko with the details of candle sticks. So what I`m looking for is Renko bricks drawn over candlesticks. The bricks always have the same height as is common with Renko. But the width of a brink can vary greatly because inside are the candle sticks that formed is
Hi- are there any MT5 indicators for these Spectrometer, Fast Fourier & Goertzel Browser
I found this very nice indicator for MQL4 that takes the iFractals indicator to different time frames. I found an excellent version for MQL5 HERE , which unfortunately does not include the option for different timeframes. This appears to be a basic indicator, and I wonder if anyone has already a
Hello MetaQuotes team, I have encountered an issue with RSI when combining it with a 1-period EMA in MT5. Before April 2025, this setup worked fine for me as a confirmation tool in my strategy. After the April 2025 update, I started seeing strange behavior. Description of the problem I apply RSI
hello there im looking for an mt5 version of this indicator. its called the value chart oma / overbought oversold candlesticks
  Parabolic SAR indicator  (298   1 2 3 4 5 ... 29 30)
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,...
I'm trying to create an indicator that uses my own custom indicators and so the master indicator needs to pass _AppliedTo to the slave indicators. In the documentation it says _AppliedTo should be passed as the last parameter after the all the indicators other parameters. What I'm finding is
Hello, I am new to programming with MT5 and MetaEditor. With the help of a YT video I was able to create a ORB EA, which exactly does what a ORB indicator does but just as an EA. The original intention of the creator was a EA initiating long and short positions when breaking out of the OR-zone. But
This indicator is similar to the RSI. The idea is to calculate net_profit / [sum(positive returns) + abs(sum(negative returns))] in a rolling window. But after I changed the code in the main loop, the terminal says: 'for' expressions are not allowed on a global scope //--- the main loop of
I am currently practicing the implementation of a simple Simple Moving Average (SMA) indicator using a ring buffer in MT5, as part of my effort to better understand and become proficient with the ring buffer method. The logic is divided into two main parts: When a new bar appears , and When
i want to calculate sum high and lows just after latest(most recent) price crossing sma 50 but i don't know how to get that index of candle that price cross MA in most recent cross thanks
I coded a custom indicator that plots arrows on M1 candles when all higher timeframes (M5, M15, M30, H1, H4, D1) agree with the candle direction. The arrows appear shifted or misplaced or don't appear at all. I think the problem is with the loop. I am adding the for loop in OnCalculate function
  OrderCalcMargin  (7)
hello, The instruction OrderCalcMargin () works perfectly when written in script But when used in an indicator we got Error n° 4014 ERR_FUNCTION_NOT_ALLOWED Is this instruction works on script but not in indicator regards
  help better understand MACD?  (12   1 2)
where it is MACD line? Signal LINE understand
Even if candlesticks appear to be the same at first glance, there are differences in the frequency of value updates when tick value movements are included. By adding up the range of price movements (either up or down) when a single candlestick is formed and visualizing it as a histogram, I thought
Hi all, I plotted an horizontal line as Object with an indicator, but I would like to change the level color, from black to white, for better viewing. Is there an option under ObjectSet functions to do this? Thank you
Hello, I am a newbie MQL5 coder - but not new to coding or trading. I understand to access the open time of the most recent bar inside a custom indicator , in OnCalculate, I need to access time[0]. However this is giving me a time in May (13), while today is August 22. The data window in the chart
Hi, I'm new to MQL5 and would like to make an indicator that identify the swing & internal points of the chart. I read that in order for you to find the swing/internal points then you need to identify the HH/HL/LL/LH of the chart. I want to collect some algorithm ideas on how to do this. Thanks
Greeting, Given MQL5 (or 4), is there a way to store the values choosen by a user so the next time my indicator is used those values are in the input form? Hope to hear, Adriaan
Hello, I'm trading on MT5. I'm looking for ideas to write an indicator(or EA). In fact each symbol got specifications From there I want to extract these datas : 1) value of "½ Minimal volume" 2) value of "eur/lot" from "Margin rates : ½ Market buy" 3) value of "eur/lot" from "Margin rates : ½
Dear MQL5 Community, Hello, I’m reaching out regarding an issue affecting some of my clients. Several have reported being unable to download one of my products after purchase, despite successful transactions. The returned error is 29111 not found in the database. Additionally, my MQL5 Service Desk
Hi all, Lots of traders wonder if an indicator they find is a "repainter". To determine this is actually very easy. But first, let's define what 'repainting' means, as most people seem confused by the correct definition. Definition A true 'repainter' is either a badly coded indicator or an indicator...
Hi, why in my script ,the high[] not return a good high ? //+------------------------------------------------------------------+ //| supertrend.mq5 | //+------------------------------------------------------------------+ #property version "1.02"
I am using the following EMA set up. emaFastCloseHandle = iMA ( _Symbol , _Period , emaFastPeriod, 0 , MODE_EMA , PRICE_CLOSE ); emaSlowCloseHandle = iMA ( _Symbol , _Period , emaSlowPeriod, 0 , MODE_EMA , PRICE_CLOSE ); My initial thoughts were doing the following double fastEma[ 2 ];
Hi All, Can anybody add the needed code (to the attached short script) which will make this script work on all open charts. I would like to be able to fix the chart position of all open charts with just one click. The attached script works only on one (the current) chart. Thanks a lot in advance
I’ve noticed that MetaTrader 5 has been very sluggish—it’s taking too long to open charts, and whenever a custom indicator is added to the chart, it almost never loads, even though it appears as added. Is something similar happening to you as well