Technical Indicators - page 15

To post a new topic, please log in or register
Hi there, I found this code for the 3-10 Momentum Oscillator threeMA = MA(C, 3); tenMA = MA(C, 10); threeTen = threeMA - tenMA; trendLine = MA(threeTen, 10); Plot(threeTen, "3-10 Line", colorGreen, styleLine, Null, Null, 0, 0, 2); Plot(threeTen, "3-10 Line", colorGreen, styleHistogram + styleNoLabel...
Usually I find 3 x ATR(14) in open source scripts, but I think it is too narrow for 1m trading. 6? 7? (I mainly trade EURUSD, but happy to learn about other markets too)
Hi Traders/Devs, I am trying to create quite a complex indicator that pulls data from the 28 major pairs and I keep getting error 4806 when I try to copy the handle data to the buffer, can you see what is wrong? Pairs is an array with lists of pairs, in this case I tried to get the RSI value for all
Hi, I have a simple MT4 trendline indicator which shows pipcount on chart which I need converted to MT5. Is there anyone who can do this for me? Thanks, Sharon
help: value gap in the all pivot indicator help maybe here anyone can help me add / edit how many gaps issued all pivot indicators for camarilla https://www.mql5.com/en/code/15777 well, my desire is to be like this: https://ibb.co/1nvpNSY so, from R4 to R3 the gap value is 149 from R3 to R2 50 and
  Nrtr (28   1 2 3)
NRTR (Nick Rypock Trailing Reverse). There are a lot of modifications of this indicator for mt3 and mt4 as well. But original idea came from here - see image attached. It was the good trading system in 2001.
I was hoping someone would be willing to help me with a problem I'm having. As the title suggests, I'm trying to draw arrows when a moving average crosses a line that is drawn by an array. I'm working with the Center of Gravity indicator, trying to understand it actually. I thought it would be nice...
I am trying to find a Candle Volume Indicator on MT5. Is that available ? Also would like to see that X-Axis(time) is adjusted according to the size of the Bar. Some of the indicators that I have see do not properly calculate the x-axis and see that they are static/fixed
I'm trying to create an indicator that uses zigzag as it's base and adds some extra features on top of that. but the zigzag lines don't show up correctly. here's my code: //+------------------------------------------------------------------+//|
Hi, I wrote an indicator that works fine with live data, but it doesn't draw forward on the strategy tester (prints attached). Can someone please point out what am I getting wrong? I'm looking for answers for days but couldn't find any.. Thank
This indicator draw multi time frame data in a separate window. When it run in 1 Minute chart, other trend lines are draw as straight lines. It only draw correctly 1 minute trend line. When i change the time frame or reload the indicator, then it redraw correctly. I know the reason for that. But i...
I am am looking for a function that will be able to return to me the highest/lowest value of indicator values,  iHighest returns shift of the highest bar  I want a function like that but doesnt use bars but indicator value; //---int Indicator_Lowest(int count=end,int Start=begin) //to return the...
It's the same trading species but the MACD is quite different. Why they are different? The calculation of the MACD is different? How to make the MACD of MT5 the same with the other trading platform? Thanks
I am looking for someone to code a very simple indicator. I would like to combine several oscillators and average their values. 1. RSI 2. Stochastic Oscillator (Baseline) 3. William's Percent Range 4. Money Flow Index 5. RMI It should be fairly simple as all indicators already have values of 0 - 100...
  MTF CCI Bar Indicators (64   1 2 3 4 5 6 7)
Some more bar type indicators this time they are CCI and you can load 2 different CCI onto the same chart as per the screenshot provided. cci_bars.ex4 cci_bars_2.ex4 24/06/2007 I have recoded this CCI Bars indicator and added in a Multi Number which can be accessed in inputs, simply change the Multi...
hi guys, im trying to catch zigzag values for each symbol, but i get the "Array out of range" error on the loop that is using for catching zigzag values. here is the function for catching zigzag: //+--------------------------------------------------------------void zig(string symbol, int Depth,int...
Bill Williams / Profitunity indicators also includes a "squat bar" which is coloured blue. I presume this is based off the MFI so if the MFI bar is blue then the price bar would be blue is there a way to have the candle / price bar turn blue to match the MFI? (tick vol inc MFI dec) The squat bar is...
Hello, I m trying to publish a multi currency dashboard indicator under metatrader 4 experts section. During the validation I receive an error saying " test 30302 Oninit return code is INIT_FAILED  cannot initialize indicator disconnected" .  So how can i solve this issue ? Can you please advise i...
Hello, How can draw a color dot on the chart to represent maybe my stop loss.   I see how to do a cross but I like dots...
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...
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...