Technical Indicators - page 57

To post a new topic, please log in or register
i have already mtf super-signal but cant use it at my mt4
Hello, Can somebody code and give the value of SUPERTREND of all time frame one the chart screen (Green if up on anytimeframe and Red if down on anytime frame). The reason is we need not scroll to different timeframe to know the value. Thankyou. Regards, KRIHSNA
I want to change line length. At the moment line is full line from the left side of the screen to the right side of the screen. I want them from today to the right side. At the moment lines made by OBJ_HLINE but I saw somewhere was recommendation to use OBJ_TREND instead of. But If I just change...
Hi, Im trying to implement alerts into my script but im not aware of howto. It should alert when two MA's crosses. Most of the script is already working, its drawing the arrows at the right spot, but i also want to implement alerts when it crosses. Right now my script is stressed out when i try...
Hi, I have a stochastic alert for MT4...I only want it to fire an alert if ADX is less than something like 25. How on earth can this be done? It must be very simple if you know a bit about coding... I have googled for quite some time on this but just can't find out how to do it. Thanks in...
Is someone able to detect why this Pivot Confluence indicator won't print text? It only draws lines but it should also print line name and price. Holding cursor on the line it shows label and price but it also should show same information on the lines.
I tried to change the color of the 2 iMA lines below, but failed. What's wrong with the codes? How to fix? Thanks. double MAShortCur=iMA(NULL,MaPeriod,MaShort,0,MaMode,MaPrice,0); double MAShortPar=iMA(NULL,MaPeriod,MaShort,0,MaMode,MaPrice,1); double MALongCur=iMA(NULL,MaPeriod,MaLong...
Hello,  I use the indicator ZigZag in my Expert Advisor and I noticed that this indicator gives me a wrong value in Strategy Tester for the period 2015.01.05 - 2015.01.06 (EURUSD - H1).  Everything works fine until 2015.01.09 at 06:00 (see screenshot 1), but then the last high...
Hi ... My code is the following ... and I'm getting an error saying that "array out of range in '1.mq5' (66,33)" It is the hand-numbered row in the code. How can I correct this error? Thanks a lot. //+------------------------------------------------------------------+//|...
I manually add two indicators from my expert advisor as given below. The idea is to add separate sub windows to the chart and if the expert advisore is removed from the chart, so should all the indicaotrs it created. int handle1;int handle2;int OnInit(){ handle1 = iCustom(Symbol(), Period(),...
The example CPanelDialog(PanelDialog.mqh) show how to create, set an event and delete these objects. I tried, BUT i understood nothing i'm new in the programming. Someone could explain it in a simple way to how use the classes for the dialogs, ty.
i have the moving average shifted 10 and with sma i know his value(price) but it's possible get the datetime of the shifted period too? thanks in advance! double sma = iMA(NULL,PERIOD_CURRENT,16,0,MODE_SMA,PRICE_CLOSE,10);
As a newbie, I try to understand the general logic of creating indicators. As far as I can understand, we can apply only short form indicators to other indicators. So, if we want to apply an indicator to another indicator, we should design it by using short form of OnCalculate ... is that right...
Hi, I'm trying to catch a trend from MA to the indicator but it doesn't work. It should drow the label when ma 3 bars back is higher than ma 1 bar back. The code is like this: MA6=iMA(Symbol(),0,ma_fast_period,0,ma_fast_method,ma_fast_price,1); MA6_2=iMA(Symbol(),0,ma_fast_period,0...
Hi Could some one please tell me how to code the following. I want to place the maximum spread ABOVE each bar. I can easily find the spread double x=MarketInfo(Symbol(),MODE_SPREAD); but don't know how to place it above the bar Many thanks
Hi all, Has anyone got the bool CWndContainer::OnActivate to fire? I need to know when the container is active so I can put a highlight around the control, but i just can't seem to get it to fire and I have tried lots of different methods. Any help will be greatly appreciated. Kind...
Hi everyone! I tried to code the Chaikin Volatility indicator but it does not work at all. I know that there is plenty of examples of such an indicator, but my point is to understand what I am missing and whether I got the MQL language. The problem I am encountering is the following: no data is...
Please anyone has any idea or know hoe i can get an email alert on my email whenever my indicator gives an alert on my chart. I have already set up my email with metatrader 4 and i have successfully sent test message applying all the SMTP settings.Thanks....
I need an indicator for MT5 that shows the average daily range. Please can anyone suggest where I can find one or how if I could create one?
I have tried to generate a custom indicator that is based on a ema indicator which would draw multiple lines all based on the same period value but shifting the plot up and down based on the closing price multiplied by a percent value. the code compiles but only prints one of the waves requested any...
Hello, Indices of currencies such as the US $ Index, the index €, GBP index etc. indices are calculated from geometric means different currency pairs, which is variable is the weights of these pairs. Is it possible to have these indices as indicators MT4 is configurable on which to apply other...
Hello, is it possible to set index buffer to class type? Thanks, in advance. I have a class: class SupportResistanceClass { public: double High; double Low; double CandleLowHigh; }; Variable: SupportResistanceClass _support[]; And I want to set index buffer to the support, I...
Hello Color arrow indicator works fine in main window (plots the arrows), but not in tester.(it shows the value but not the arrows) What is the problem? Thanks, G //---- plot indicator in a separate window #property indicator_separate_window //---- indicator buffers #property...
Hello, I was wondering if someone could tell me how to translate the following into MQL4: Mov(H-L,period,S) It's the simple moving average of 'H-L' with the parameter "period". That I understand. What I don't is how to calculate it over "H-L"...
hi. I need some help or clerefiance why my indicator does not work all around the clock. I have made a small indicator that is writing to a file every four minute. and I have a chrome extenssion that is reading this file. it works but after a fiew hours It stops working. this is how it's done....
Hello all. I am working on a test for multiple timeframe indicator and starting with a simple dummy code, as below, results in no bar calculation at all. The only way for this code to work is selecting D1 timeframe, but I need this information in other timeframes such as M5 and M2. Any help and...
Hello all, at the moment I'm traying to create an indicator. The indicator should plot every bar the maximum and the minimum of the last 50 bars to the chart-window. Also it should calculate the difference of maximum and minimum. I tried it like this: #property copyright ""//--- indicator...
I have an indicator that has worked for me for quite some time with consistent profits. Am seeking to to improve it as it requires me watching the charts for the whole time. I would like to just add sound alerts every time  an arrow  appears on a chart. If there is any one who can help me...
Hi, How can we put a price line in the "Three line break" MT4 indicator window please? A price line is present in the MT5 version but not in the MT4 one. Many thanks MT5 version with price line in the indicator window (https://www.mql5.com/en/code/1298) MT4 version without price line in...
I can see on my smartphone when the daily range ist full... maybe someone can help me... i can not program correctly sorry for my google translatorenglish :-) thank you very very much