#property strict #property copyright "Copyright 2018" #property link "https://www.mql5.com/" #property version "1.0" #property indicator_separate_window #property indicator_minimum 0 #property indicator_buffers 2 #property indicator_plots 2 //--- plot upVolume #property...
Hello. This MQL4 alert indicator gives alerts everytime the price touches the horizontal lines or trendlines you drew. I converted it to MQL5, and it doesn't work at all. Can anyone help me with this problem, please? Thank you in advance. //MQL4#define PriceMAX 999999#property...
I'm trying to fill the area between histograms. I have already seen this article: https://www.mql5.com/en/forum/138945 And this: https://www.mql5.com/en/forum/119974 Neither of which have a good answer. Using the Ichimoku Kinko Hyo indicator as a sample, it would appear that their built-in operates...
I want to plot a moving average of say the Rate of Change indicator in the ROC indicator window. For excample an 8EMA of the ROC plotted over the ROC It is possible on tradingview for instance to plot a indicator of the indicator. Could not do it on Metatrader though
hi guys, may you help me on this code please : string total_modes() { string ret=""; int sum=0; ulong i=0; int interest=1; bool allnotfull=false; for(int y=1;y<=currencynumber;y++) currencyinerest[y]=interest; while(sum<currencynumber*100)...
Here are almost 1000 MT4 indicators to get you started.
Hi I'm learning to code custom indicators, I am trying to do one for Ichimoku where the indicator must meet a checklist of 4 items: 1) TK Cross 2) Price relative to cloud 3) Favourable cloud (bullish/bearish) 4) Lag span above cloud I have the following code with no errors however critical Array out...
In this article - https://www.mql5.com/en/articles/135 there is not writen, how color-buffers are assigned to specific buffer. for example: SetIndexBuffer(0,buffer_line1,INDICATOR_DATA); PlotIndexSetInteger(0,PLOT_LINE_COLOR,0, clrGreen); PlotIndexSetInteger(0,PLOT_LINE_COLOR,1, clrRed);...
Hello, can anyone suggest a good Range or Renko Bars indicator that calculates the range or brick size based on ATR?
Hi Folks, any of you have the RSL indicator for MT4 ? Many thanks in advance Gowi
I have a problem with indicator "DPO" when i call with iCustom, i can't to indicator parameters modification in apply to:PRICE_TYPICAL
I need help to convert " if (ObjectType(name) != OBJ_HLINE); " into MQL5 format. I couldn't find any informations about it. Thank you in advance.
Hi Folks, I am adapting an indicator but i am not able to do the following task. The indicator must be drawn until (rates_total-X) ....what I get is ok but at rates_total-X a vertical line is drown and the folliwing values are 0. How can I draw the line until (rates_total-X) skipping drawing the...
Is there a way to programmatically hide the indicator name and current buffer values of an indicator? Some sort of ChartSetInteger() or IndicatorSetInteger() value? I'm not even sure what this line is called. (See attached image). This information isn't necessarily problematic—it's just clutter on...
Hi everyone, I'm new to mql5 and I'm working on an indicator that, by design, needs a dynamic amount of lines on the graph and I'm not sure if it is possible. The mql5 manual specifies that you use #property indicator_plots N to specify how many lines you will draw, but what if the amount changes...
Hi, I searched google for a while, but i couldnt find the solution. I have 2 charts 15m and 1H. If i change the symbol of the 15M chart, i want the 1H chart to automatically change to that symbol as well. for MT5 Does anybody know how to make this work. Script?
hello , Is there a program that gives audio alarm when the price of bollinger band SMA20 arrives ??
Hi all, anyone knows any good indicator which can detect situation like below where price is flat but volume building up or having high values? Regards
There are 5 colored ribbons or boundaries or whatever you wish to call it. With pre-specified high and low prices. I suppose it is very simple. User will specify those ribbons low and high prices in indicator setting and indicator should draw those regions. I just don't know how to draw a ribbon...
Hello Group, I found this indicator for bar numbering which was written in MT4 https://www.mql5.com/en/code/19248 I tried to convert it to MT5 however am getting lot of compilation errors, can some of you gurus out here please help convert this MT5, will be greatly appreciated. Thanks.
Hi all, sorry for my basic programming skills and I apologies if I am asking a stupid question For some reason I cannot loop over multiple quantities in a single loop. for example the code line for(int i=limit;i>=0;i--)a[i]=Volume[i]; works fine but if I try for two variables for(int...
DRAW_HISTOGRAM2 To Mark Candles not working. Seems like an Issue with the time series access method.
(4)
Hi guys, I am trying to convert some code from mql4, and I can't get the HISTROGRAM2 drawing to work properly. I wrote this simple test indicator, but I am getting the completely wrong prices in the print statement, almost like an error resulting in accessing a time series data in a non-series array...
Is possible show/hide input indicator parameter in the initialization of the indicator based in another parameter? For example i have a main parameter from a list and for each option of the lista have a lot of secondarie paramters. In this case i want show a group of secondarie parameters based on...
Hi. Is it possible to hide indicator property window upon adding it on chart? I don't need to change any values. The goal is to add indicator with default values with minimum clicks.
Hi, I am trying to link buttons states according each other. When I press (true) a button, all the others are unpressed (false). bool TLR_Button_1_State =ObjectGetInteger(0,"TLR_Button_1" ,OBJPROP_STATE); bool TLR_Button_2_State =ObjectGetInteger(0,"TLR_Button_2"...
Hello I'm looking for a non-repaint single-line MA to build into an indicator. Are there any genuine non-repainters out there? Grateful for any help, thank you very much.
Hello MLaden or anyone that can help, Could you please give me the link to the latest version of MLaden's Currency Strength MTF Indicator. I downloaded a version from the Elite Indicators thread but it is not working on the current MT4 build. Many thanks to all who contribute to this wonderful...
Hi, I'm trying to convert this custom indicator that I originally coded in MQL4 into a new MQL5 custom indicator. However, the IndicatorCounted() function that I previously used doesn't exist in MQL5... I read multiple posts regarding this subject but none of them seemed to be able to replace this...
Hi All What is your favorite indicator, that makes you a constant profit? thanks for sharing
Hi there, I need to find time after a "datetime". Exactly 15 min after a by-hand-pre-defined datetime. The datetime is not a multiple of "15 min". It begins 1 min before the previous hour and it ends 15 min after. here in the image below what i need to do : How can I do this please ? Kind regards.
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.