There has been a lot of discussion regarding repainting indicators. i thought to be a good idea to gather all the information in a separate thread. here some popular indicators that i know to repaint: Zigzags SilverTrend all Fisher , Solar and what ever they are called BrainTrend indicators: be
Hello i modified an indicator and got values in static array which is non dependent on bar number qnd i want to give this array's 0 value to indicator buffer array's 0 value and as you know indicator buffer array is dynamic and time dependent array. İ equaled [0] value of each array in indcator but
Good day! I wrote the code (attached below) for the indicator, everything counts correctly. However, only during initialization, during further drawing - the information is drawn incorrectly. I tried to use start () instead of a calculator, but everything is the same. Only 1 return;
How to write a code to plot ichimoku indicator onto RSI indicator at period 1, when RSI indicator is only needed for levels
Hello, I'm new to mql5. I'm doing this as a practice project. I need help on, how to hide the MA line from chart when I click on the button which I've implemented to my custom indicator. I tried by turning the MA line to the same color as the chart background color. But the line is still showing on
Please help me correct this code error on line 59. Here is the code in the attachment. The error is 'WPR_Period' - cannot convert enum
I feel like this shouldnt be this hard, but i am just learning in my journey and trying to work out how to draw a rectangle when there is imbalance there. I know i could just use an indicator already in the market but then i don't learn anything. I have gone through the forums and tried to
Hi Guys can you please help i am trying to find current tick value on the RSI Here is my code so far: int RSiHandle; RSiHandle = iRSI ( _Symbol , PERIOD_M1 , 14 , PRICE_CLOSE ); double rsi [ 2 ]; CopyBuffer (RSiHandle, 0 , 1 , 2 ,rsi); double RSICurrent =(rsi[ 0 ]); double RSIPrevious =(rsi [ 1 ]);
I'm trying to read the price value of an angled line one bar right of its anchor point using the ObjectGetValueByShift() function - and it's giving me garbage! Can't figure out why. Here is my code from the indicator I'm working on
Hello, I am implementing an EA based on smooth moving averages (the four colored lines below) and I want to have another indicator to prevent to enter (long) when price starts to falter (i.e. to slow down, to be "out of breath" etc.) Best way to illustrate this is with a chart: So, is there an
Hi, I'm developing this indicator, an ADR for MT5. The algorithm is, get the sum of daily range high and low from last N days (14 in my sample), begining from yesterday, and divide it into N periods (14). Getting the average. I don't know which is the problem but I'm comparing with an MT4 indicator
I'm trying to convert a particular QQE indicator written in pine language (TradingView) to MQ5 for MT5 and facing issues
(21 1 2 3)
Hi, I'm new to MQL5 programming and have been going through different API functions trying to see what works. Unfortunately I'm facing a lot of trouble in trying to convert the logic from a basic QQE indicator (written in pine) to an MT5 indicator. The indicator should just plot two lines. The trend
Does anybody have a ichimoku that signals when the cloud changes or Span A crosses Span B. Arrows would be nice. I found one called Ichimoku Arrow Signals Alert but it doesnt show anything when selecting only Span A cross Span B
Hello I would like to know how to have the line characteristics in the indicator properties I didn’t want to set up a buffer to make these lines, but rather go through the command #property indicator_level3 70 It appears well in the “input data” tab but not at all in the “colors” tab It has no name
It is the best scalping indicator with 1 minute time frame according to me. It has best winning trade rate with EXNESS broker. When trendline colour changes from green to gray - give buy order, and when trendline colour changed from red to gray - give sell order. Happy trading.
Hi, I have this ... but don't manage to make it work. what's wrong? what am I missing? array out of range when testing... #property indicator_separate_window #property indicator_buffers 3 #property indicator_plots 1 #property indicator_type1 DRAW_LINE #property indicator_color1 clrRed
Hello I have a code for an indicator in MQL5, that I would like to try to rent with payment per month or per year. I think it is also possible to limit the number of simultaneous uses and that these services were easily accessible via a commission to be paid to Metaquotes, which is not a problem for
Hi, Was hoping someone else could tell me why my oscillator has 0 values at the more recent index positions. The code essentially creates a bunch of RSI's of different periods. Then aims to create a multi length average. Yet for some reason the values plot to 0 in the more recent candles. I cannot
Hi, I can't seem to delete or edit this thread I created: https://www.mql5.com/en/forum/449680 There is private code here which I decided I don't want to be in public, I would appreciate if I could either edit the posts to remove the pasted code, or if the thread could be removed
Hi, I don't understand why I'm getting an array error when testing. Can some one tell me whats happening? //+------------------------------------------------------------------+ //| .mq5 | //| Copyright 2010, MetaQuotes
https://www.mql5.com/en/code/39683 this is an awesome indi for my strat as i can use these HTF candles over the top of my LTF chart However i need to know whether the HTF candle is Bull or Bear ... and this just paints it all red i think i need to change these but im not sure what exactly i need to
hi
what do they count? do they count every variation of price on every tick, or on each bar? for example here: #property indicator_separate_window #property indicator_minimum 1 #property indicator_maximum 100 #property indicator_buffers 1 #property indicator_plots 1 //--- plot TII #property
Hi all, I would like to access the source code (mq5) of the indicator iBands (to see its details including the structure of the generated handle) or the source code of any other built-in indicator (to use them properly in a EA). How could I do it? Nb: In the local folder
Hi, Essentially I am using the following RSI periods: 10,14,21 Now I want to create three plots using the averages from the three periods as follows: Values of (10 + 14 + 21) / 3 (For example) Then take the average of this and add it to an array at position [i] This is all relatively straight
Hello everyone, I hope this message finds you well. I'm new to programming and MQL5, and I've been trying to create a smoothed Heiken Ashi indicator. While I have successfully obtained all the required values, I'm encountering a challenge when it comes to plotting the indicator on the chart
[Deleted]
I want to DRAW_COLOR_LINE if for ( int i= 0 ; i> 100 ; i++) { if (open[i]>=close[i+ 1 ]) // continue this until the condition becomes false for multiple bars //DRAW COLOR LINE } Currently its being done using OBJ_TREND objects which make chart laggy and slow and load objects slow sometimes so i
hi I wrote this code: #include <Indicators\TimeSeries.mqh> void OnStart () { CiOpen op; op.Create( _Symbol , PERIOD_CURRENT ); op.Refresh(); double value = op.GetData( 0 ); value = NormalizeDouble (value, 5 ); Print ( DoubleToString (value, 5 )); Print (
MQL5 简介:如何编写简单的EA 交易和自定义指标 - MQL5文章 Write it according to the article. It was found that the two lines of code in red swapped positions, resulting in the curve not being displayed. It's really strange. //+------------------------------------------------------------------+ //|
Does anyone know a MT5 vertions of this MT4 MTF Fibo Channel ? (or a similar MT5 MTF Fibo Channel)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.