Technical Indicators - page 2

To post a new topic, please log in or register
How do I change the chart time axis display settings? For example on my lower timeframe charts such as 5 min or 15 min I would like there to be no date and only time values corresponding to the timeframe. If its an 8 hour chart then dates are fine.  Thank you!
I am working on an indicator A that is supposed to operate on the values computed by another indicator B. I have implemented B with 6 buffers 5 of which are plotted. B works great when I attach it to any chart. It takes 8 parameters. The first 3 parameters are as for a moving average and then it...
I want to add rectangle between particulate two HLINE like R1-R2 and s1-S2. and my HLines are coming on full of chart i need it from yesterdays low or high to current candle only. please help me to do this. #property indicator_chart_window #property strict //---- input parameters extern int GMTshift...
Hi, I am getting this error: '[' -array required I am using ObjectCreate - the documentation is not very clear about the types of params I should be passing. Here is the code:    int i = 5;   // the following line is throwing the error:      ObjectCreate(0,"tr"+string(i),OBJ_TREND,0,Time[1]...
Hi, I am having a few unexpected issues assigning previous values on a buffer. I get the array out of range error. I am sharing the code : for(int i=1;i<Bars(Symbol(),PERIOD_M1)-1;i++)        {        for(int k=ArraySize(info)-2;k>=0;k--)         {        // Print("1 ",info[k].symb," 2 ",info[k]...
color assigncolor(double adx_time,double ADX_trend_level,double di_p_time,double di_m_time) { if (adx_time < ADX_trend_level) { return (LightSkyBlue); } else if (di_p_time > di_m_time) { return (Lime); } else {return (Red); } } color assignCCIcolor(double cci_time) { if...
Hi all, I using a very helpful MT5 indicator which I found it free in this website, I use it in my daily trading, but I see it will be great if I can choose which time frame should the indicator collect data from, for example I attach it to daily chart but I want the indicator showing results based...
Greetings to all, I am attempting to code an indicator that outputs the moving average based on certain parameters. The field that I am more so interested in changing is the "Apply to" field to create my own. For instance I would like to use an OHCC. Can someone provide a little guidance on this. I...
Hello traders, I would like to create a sound alert on an indicator I use when the price closes under or below the indicator lines. It is a volatility indicator : //+------------------------------------------------------------------+//|                                                    Guppy CBL...
Hi, I am not sure if this question is in the correct space or not (please advise if not). Is it possible to accept the price feed in MQL5 and redraw the bars? I would like to remove the pipette data and have the pricing rounded to pips. This will make the bars a little more blocky but the aim is to...
Hi, how can i optimize an indicator in the strategy tester of the MT4? I mean optimize all the parameters like an EA for the best settings and results. Is there any EA where i can put my indicator into ?  Sorry, i am not a programmer, so please an easy solution... ;) Thanks !
On Balance Volume The on-balance volume indicator (OBV) is one of the most well-known momentum indicators and was developed in 1963 by Joseph E. Granville whose new book ‘HOW TO READ THE STOCK MARKET’ outlines his entire OBV theor The OBV stresses the importance of volume and its relationship to the...
Hi guys, New here and i'm looking for some information on MVI i'm looking to find out how it is calculated so i can improve the data into excel. Any help would be greatly appreciated. Thanks, adboy14
  Momentum indicator (278   1 2 3 4 5 ... 27 28)
Can someone guide me to some info on the use of this wild looking thing, I understand it can help determine the change in the slop of a MA.
Hi all, i'm learning MQL5 and i have a problem with a simple indicator. Indicator take the highest value of last 5 (you can change it by input window but it's default value) close candles for each period. Debugging the program show that all variables are correctly calculated but when i add the...
Hello, I am trying to export just the today's data from every stock from my watch list (around 250 assets) using the following code (based on https://www.mql5.com/pt/code/1252). void OnStart(){        uint start = GetTickCount();//--- Get symbols from list        string strSymbols =...
Hello altogether, I used to trade via MT4 (that was a while back). Now I wanted to start trading again and installed the MT5 Software. Back in my MT4 times I used this indicator --> https://www.mql5.com/de/code/12266 <-- to display certain times in my chart, which was (and hopefully will be again)...
datetime openTodayTime=iTime(Symbol(),PERIOD_D1,0); datetime openYesterdayTime=iTime(Symbol(),PERIOD_D1,1); int openTodayBar=iBarShift(Symbol(),PERIOD_M15,openTodayTime);int openYesterdayBar=iBarShift(Symbol(),PERIOD_M15,openYesterdayTime);Print("openTodayBar="...
  Currency Strength Formula (11   1 2)
Hello Guys I need help in creating the Currency strength formula that works on comparing the correlation of 8 major pairs that looks like below 50 is neutral, below 40 is weak currency, above 60 is strong currency Anyone can help on giving the formula on how to calculate those? thanks
  Dynamic zone indicators ... (1584   1 2 3 4 5 ... 158 159)
It seems that David Stendahl can not help him self Where his name appears "attached" to some indicator or TA way, it sure is worth trying it out and studying it. The basis for these were originally published in the Stocks & Commodities July 1996 issue (attached the original article here). Do not be...
Hi, I got a csv file with a list of data: Datetime, and values. These are the values of an indicator at certain moments, calculated in excel/mathlab. How can I import these data to appear on my screen (either oin the main window or separate one) ? Thnx in advance for you help ! Twoci
  Renko (5)
Hello I'm getting confused as how to apply renko to MT4 - I've read quite a lot, but it's not getting through my stupid head :-) Can anyone help please? Is there just an indicator I can drop onto the chart? Thanks so much.
  Overlaying indicators (68   1 2 3 4 5 6 7)
Is it possible to overlay a BB onto the CCI indicator without special/unique coding? My coding skills are rudimentary at best. I thought perhaps it would just drag and drop, but that did not seem to work.
Hi, I need help in coding an indicator to show the interest rate chart of 2 different countries eg. Euro interest rate and US interest rate the indicator shall retrieve the date and interest rate from a CSV file. anyone able to help me with this? Thank you very much in advance.
  RSI indicator (1426   1 2 3 4 5 ... 142 143)
RSI indicator We are continuing discussion about the indicators. We have the following thread: Parabolic SAR indicator Momentum indicator Stochastic Oscillator Divergence Indicator Now we are talking about RSI. "Technical Analysis from A to Z": OverviewThe Relative Strength Index ("RSI") is a...
Dear MQL community for now just sorry for my question. Maybe for you it sounds silly, but there is no other professional which I could ask. My issue: I try to download a Oscillator from one of your developer: <link removed> And also I try to buy another products on the MQL-Market. But when I press...
Hi guys, i am using a struct to save DoM data into a file(TXT), but it has a problem, it is for passing a struct object , not a link or a reference. I tried doing that but didnt work. I am sending the code if someone can help.    Datefile file;   file.symb=_Symbol;   file.ask_volume=Ask;   file...
  Venom.1 (9)
Located here is trade indicator VENOM.enjoy
  Wrong Values (9)
Good evening, I created an EA of Long/Short, that consists in buy and sell from two different symbols that have a good correlation. So, I use an indicator with the ratio, average and bollinger bands. The EA works fine, but the indicator sometimes need to be refreshed to show the correct values....
Hello All, I have two codes one Doda stochastic and EMA cross over alert, i have combined both. ( i have set correctly i guess the buffer values, setindex and all but because of two "for loops" i am stuck and two counter in same code), I have modified code as much as i could. (compiled when counter...