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, 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
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: //+------------------------------------------------------------------+//|
I want to understand how the MQL5 economic calendar works, but something is not moving very fast. I spent most of yesterday and the beginning of today, but I still don't understand why CalendarValueHistory does not return all events. Or maybe I confuse them, these events a bit... Yesterday I was
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...
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...
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 !
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
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 =...
[Deleted]
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="...
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
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.