Technical Indicators - page 37

To post a new topic, please log in or register
I set up the push notifications in my indicator's settings. notifications get to my mt4 phone app perfectly while running the the computer app. But when I rent a VPS and set all the details and the environment, and finally click migrate, I don't get the notifications when I close the app. I also...
UPDATE: See the workaround below   CopyBuffer() throws an error of 4806 (Indicator data not accessible) when calling an indicator with a different Time-Frame from within the code of an indicator. It happens when calling a valid Indicator handle to a different Time-Frame from the current working...
Hi All, I think I have a drawing problem with my indicator. Works perfectly on my MT4 but doesnt on other peoples. cant suss it out any tips?       Where as on other peoples it does this without the labels:     My Code Draws these labels using this code: and the Show Stochlabels is fixed to True in...
Hello everybody, I need some help because I have trouble in getting the indicator short name within an EA. Here an example of a short indicator mql5 code (draws simply a horizontal line): #property  copyright "Copyright 2015, Bobcat" #property  strict #property  indicator_chart_window...
tdi con allarme ... come funziona ?? 
Hello, I am new, and not know much scripting, I use eabuilder dot come but I can not get the result right, I am using MT4 platform. I have 2 oscillators on my chart, for 1 min, 5 min. 1- stochastic   13, 5, 5 with the level: 80/20 2- Relative Strength index, 14, level: 80/20 I want when the two...
I'm working on my own EA that performs a procedure on several Timeframes which can be selected by user. The common solution for choosing timeframe is to use input parameters and set their value to "true" or "false". Since there are many timeframes in MT5, it is not convenient to do so. I'm thinking...
ZigZag indicator is defined as custom indicator, so it is little bit different from other indicators. Can anyone give sample code how to read data from ZigZag indicator? Thanks!
Hello, for those who have the indicator, we all know the last leg sometimes repaints.How do I confirm the pattern?   Regards 
Hi, I have written an indicator without taking care of the fact it could repaint. I've searched all around the forum but couldn't find how to make it non repainting. So below some code, the code supposed to be responsible of the repainting (bar calculation). How to make it non repainting ? //----...
The Heikin-Ashi technique uses a modified formula: xClose = (Open+High+Low+Close)/4 o Average price of the current barxOpen = [xOpen(Previous Bar) + Close(Previous Bar)]/2 o Midpoint of the previous barxHigh = Max(High, xOpen, xClose) o Highest value in the setxLow = Min(Low, xOpen, xClose) o...
Hi guys,   So here's what i want to do: I want to create an indicator which shows the bars of the higher timeframe in the current timeframe. those higher timeframe bars should be painted behind the current timeframe bars and they should be translucent.   Now if i just draw rectangles with...
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...
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...
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.