Technical Indicators - page 49

To post a new topic, please log in or register
Hello all, I am facing strange  "Array out of range" error. If any of you have experienced same issue, may I have some advice please?   "array out of range in 'Indicator.mq5'(416, 32)"   This is the error message shown in MT5 terminal. Do you suspect common stack overflow? No, it's not... Here are...
Anyone knows what's the name of the indicator showing current profit in the upper right corner? I will be very thankful for Your help :) 
Are there any indicators that can change the color of the candles or bars in accordance of their placement of a high below a moving average, or a low above the moving average. e.g., the stick's low is above a moving average line -> stick's color is green stick's high is below a moving average ->...
Hi world, I am doing an indicator an want to add an interface to it but have no clue how to do this. Can someone send me some .mq4 file of some indicator with an interface please? If you dont know what i mean, theres an example of an indicator with interface...i cant use this example cause i only...
Hey Folks Anybody who knows what this indicator is? I would like to find the mq4 file. See attached picture, it says it by MetaQuotes @2006. Thanks MasterT
Hello, I am writing an indicator which draws certain objects in the chart. Upon removing the indicator (or changing timeframes or input settings) an OnDeinit() procedure is therefore called to clean up resources by - among freeing arrays and nullifying variables etc. - also remove the drawn objects...
Hello I have a question for mql5 language regarding overlapping Objects. If I make for example an indicator with with four graphical Object (for example rectangles) that are all overlapping in one or more points. How can bring a specific rectangle to the front (or make it second or third) during the...
[Deleted]
Hi, i've been trying to find a good indicator for labelling days on the charts. Out of the many i used, i never found one that actually works properly. Does anyone have one that would label the days on the top of the chart like so?            
I'm writing an indicator that uses OrdersHistoryTotal() in the calculation. I'd like to test it in strategy tester but it's not working. I've attached the indicator to the chart window I am running the test on and the Print statement in the code below returns zero every time. The function works fine...
[Deleted]
Hello, does anyone have a Fibonacci tool for MT4 that allows a different colour to be set to each level like in TradingView?     
I have read an artical about to get  highest value of time series that transfrom mt4 to mt5 ,but i forgot the link and cannot seacher for it ,may someone tell me it ,thank you .
Is there a way to read the order size from the market order window?   Here's an image:      I want to figure out the currently entered Lot Size parameter (encircled in blue) for the next market order programmatically, so i can develop an indicator which displays risk and reward levels accordingly :)...
I have a handy little indicator that puts days of the week on my chart. Since the last upgrade it has stopped working. The problem is 'ANCHOR_BOTTOM' - cannot convert enum the line of code is : input ENUM_ANCHOR_POINT InpAnchor=ANCHOR_BOTTOM; // Anchor type I have fiddled around with...
Hi,  Can anyone help me to code for the following please ? I need a code as in Text format for :   EMA 100 Price (-) current market Price = Required Figure   Ex :  EMA 100 Price is 3050 (minus) Current Market Price is 3077 = Difference value i.e.,  22 pips (or) points  value 
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.
Hi I have a mql5 code which get failed at automatic validation process. Same code & logic works for mql4 with no problem. But in case mql5 is showing Tester too long time error in automatic validation page. In general, this indicator takes 2500msc to compile in mt5 as its a 4000+ line of codes which...
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...
  DMI INDICATOR (7)
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...
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...
  Renko Charts. (4)
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     
  ADR INDICATOR (2)
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...