Hi, I need an indicator, if exist, that show boxes when 3 or more consecutive bars close within the range of their respective preceding bar, like in example: Thanks
Can we not nest if statements within OnCalculate? It's causing strange behavior for me. Thanks.
How to check if cursor is in crosshair mode, so I can display additional information next to the built-in ones
Hi, When tried to add 2 OsMAs to 1 window the histograms' center appears to be not aligned. It will overlap when both OsMA's settings are same(which is correct), but if the settings are changed the graph also appears to drift from each other. Please refer to attached pic. How to adjust it to the...
I AM TRYING TO FIND DMI INDICATOR FOR MT4 AND I CANT.PLEASE HELP!!NOT ADX
Hello, i see that various mql4 indicators use a NewBar() function like this: what is the best conversion of this practice to MQL5 ? bool NewBar() static datetime LastTime=0; if(iTime(_Symbol,Period(),0)+time_offset!=LastTime) { LastTime=iTime(_Symbol,Period(),0)+time_offset;...
these variables are not available on mql5 what function can i construct to better emulate these Open[0] High[0] Low[0] Close[0] ?
Hi i try set color for create indicator but not set color void OnStart() { MqlParam params[]; int handle; ArrayResize(params,5); //--- set ma_period params[0].type =TYPE_INT; params[0].integer_value=20; //--- set ma_shift params[1].type...
Can this be done? Thanks.
Dear Coders This is MQL4 questions and not MQL5 questions. My observation is that this simple code line always enable Ray to the right property. ObjectCreate (0, name, OBJ_FIBO, 0, time1, price1, time2, price2); ObjectSetInteger(0, name, OBJPROP_RAY, false); ObjectSetInteger(0, name,...
Hi it's me again, I am almost done with my indicator I only have 2 problem left. So the indicator turn RED when it's a downtrend and is Green when it s an UPTREND. It update automatically when there is a new high or low. My problem is that when the trend change in the middle of the day that fib...
Does anybody know where i can get a Renko Charts Indicator with access to Source Code or that supports EA development...Free would be better.
Hi there I've done my first indicator and have some probleme. The fib high to low of the day work perfectly but the fib low to high of the day doesnt shot the right level. Can someone help me please thank you Whoseen
I'm looking for an ADR indicator which looks like the one on the attached file below. Any help would be much appreciated. Thanks! Ben
Hello. I've been working with some code that does simple things to get a hang of the language and make sure I understand the basic concepts. For instance, I use the following to iterate over the entire bar history to the most current bar for calculations (see code below). My question is how to...
Is there an easy way to place indicator on top of another indicator. For example I would like to smooth out the momentum indicator and would like to do that by calculating moving average of momentum. How do I achieve this
Hi , I have limited my MT5 to 5000 candles. now there are more candles available on the chart than this limit . and at random times the whole chart refreshes and counter bars goes back. please see the attached pic and tell me if there is a solution to this jump backs ? 2016.12.12 19:00:01.539
hi , I am writing an indicator in MQL5, but whatever I write as string name ObejectDelete returns true ! even on an empty chart with no objects! int ObjCount = ObjectsTotal(ChartID(),/*0=main subwindow*/0,/*all objectTypes*/-1); bool deleteResult=ObjectDelete(ChartID(),"non existing object");
Hi guys I want to code an alarm which i can drag from the navigator menu and drop it right on the chart. This "indicator" should place a horizontal line at exactly the price where i dropped it on the chart, giving me an alarm when price rises above (or falls below) that very price. So this is my...
Hello fellow traders, I'm a junior member so I can't make a new thread, so I'm going to add my question to this thread. I'm completely newb with coding and programming, and I need to be able to add an alarm to the black band you see on this indicator. Does somebody know how I have to do this please?...
can someone please send me buy and sell arrow unicross indicator <deleted>
Hi All I am having a small problem and I am pretty new at this #property indicator_chart_window extern color TTT_PH_Color = LawnGreen; extern color TTT_BdL_Color = Red; extern color TTT_PL_Color = Tomato; extern color TTT_p_Color = Orange; extern color TTT_Color = Orange; extern color TTT_v_Color...
[Deleted]
Hello. I am trying to transition from MT4 to MT5 and in order to do that, i need help with an indicator. Can you guys please help me out? I need an indicator that Makes two horizontal lines across the range of the first two 4Hour candlesticks on the H4 Timeframe Chart. I have screenshotted what...
[Deleted]
Hello. I am trying to transition from MT4 to MT5. Do you guys think that you can tell me how i can make the indicator show "YH" and "YL" on the most recent period like in this pic? Here is the code: #property indicator_chart_window #property indicator_buffers 2 #property indicator_plots 2...
[Deleted]
Hello, i would like to start transitioning to MT5 but i use a few indicators that have not been ported to MT5 yet, so is there any chance one of you could help me out please? It's a Daily HiLo indicator.
hello, when i compil this code i have an error that i don t understand : 'Low' - arrays are passed by reference only void minimum(double Low [], int count) { double min = Low[0]; for (int i = 1; i < count; i++) { if (min > Low[i]) min = Low[i]; } thanks for your...
Hey all, I created a very simple indicator similar to a MACD which calculates the distance in pips from MA50 to MA100 and I have used it for opening trades in M15 and has been useful. Hope you enjoy it as well
hello, when a write int CopyLow (string Low,ENUM_TIMEFRAMES PERIOD_M15,int 0,int Bars ,double low_array[]); the compilation send me an error : '0' comma expected i don t understand why thanks for you help
Hi guys I'm trying to add a moving average to an adaptive macd code but I'm having some troubles. In particular the MA is showing but not like if I add it with navigator function (I need to implement a moving average in the MACD code to do another edit). I post a pic to show you the difference...
Hi Below is simple indicator. can some one correct me undelcared identifier of <i>,< LowerWick >& <UpperWick>. I have no idea how to correct it. Thanks //+------------------------------------------------------------------+ //| Jaya Fractals(all)(4x4).mq4 |...
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.