Technical Indicators - page 15

How do you apply an indicator on a multi-buffered indicator in MQL5 in general? For example, Moving Average applied on Bollinger Bands. First, I create the variables: int Bands_handle; int MA_handle; double MA[]; Then I create the indicator handles in the OnInit() function (note that Bands_handle
  TickValue in mq5  (19   1 2)
please what is the correct formula for mq5 when mq4 is like this ? MarketInfo(ExtSymbols[i], MODE_TICKVALUE)
Hello. So I have an indicator and a structure I'm using in it. In OnChartEvent() function I call for some function of the structure. This function changes some variables inside the structure object. It works for the first time, and for the second one constructor of the structure object is called for
Hello, Basically I would like to use a symbol as an indicator in another chart. For example, in my EURUSD chart, i'd like to have an indicator below that rapresent GBPUSD price. Simple as that. I couldn't fine the code in the codebase section... Can you help me with this? Thanks
Hello guys, I am testing in custom indicator to get screenshots of all currency pairs and all time frames in a chart open. I used CharOpen() function. But some price charts take too long time to load prices and bar data. I only got the " Loading " message in screenshot. I use Sleep(5000); to wait
Hi everyone, this is my first post and im asking experienced programmers if its possible to be able to change the indicator moving average in steps of .25 the EMA SHIFT instead in steps of 1. ? If my question is not clear , please let me know. cheers Serge
Hello. In MT4 I had a MTF MA indicator and it is working nice. The problem is that I can't find any sample in MT5 which works the similar. Simply, I want to use 1 min chart and I want to attach to that chart SMA calculated on 15 min chart. I can't solve that. Any help will be very useful. Thanks
Is it feasible on a theoretical level?: A chart that uses control points during active trading
There may be a common bug in MQL5 indicator functions or I'm missing something. The problem arises when I try to apply any indicator on any custom indicator. For example, in MQL4, you calculate the moving average of any indicator by first filling an array with the indicator and then calling the
The Indicator I'm making works this way, it reads the Histogram bars of this custom indicator I made (MACD from TradingView). It finds the previous 4 chunks of bars separated by groups of above or below 0, then inside each group it finds the highest candle in the Price chart (if bars are above 0)
I am having trouble coming up with the specific code that I need. What I am desiring is for an up Arrow for the below condition: On the 15 min time frame, when the candlestick closes above a given EMA by a certain Pip range. Say, 1-10 Pips for example. Any help would be greatly appreciated
I wanted to port Kase Peak Oscillator indicator from mt4 to mt5 because couldn't find it by googling. I am new to mql that is why I don't know much about it but I have a little experience with coding. Below I've provided a code which I modified from mql4 using this guide
  Cycle indicators  (241   1 2 3 4 5 ... 24 25)
Are there any indicators/tools/methods for determining cycles? I am interested in finding daily cycles and also finding cycles on shorter time frames as well. As a side note:Does anyone know of certain times of the day when price is likely to reverse its direction? thank you
Hi, I'm trying build a tick indicator and while debugging I run in to this problem. So I create a test code as below. The code below get latest tick data from SymbolInfoTick and CopyTick then compare the time in msc if it is the same tick or not which it should always be the same since it is the
Hi guys, could someone please suggest a command to draw an indicator in foreground? I tried ObjectSetInteger(0,"My-indicator",OBJPROP_BACK,false); but the line is still projected under the candles
Hello, Grasping at straws here, but does anyone know a faster way to get an Objects type than good ol' ObjectGetInteger(chart_id, objname, OBJPROP_TYPE) ? Always seems to be the slowest part of any indicator or script I create. Thanks in advance :)
So, i've coded many EAs, but i'm a bit new on indicators. I made a Donchian Channels indicator for MT5, but i want to make an EMA of the BASE line and i can't find how, i already checked the Custom Moving Average indicator source without luck. So any help would be great, thanks :) In short: how to
Dear Fellows Greetings. I have created an indicator class and following methods are defined to get value on single index bar. //+-----------------------------------------------------------------------------------------------------------------------------+ //| METHOD: GetIndexTSV()
Dear Fellow I am having challenge to figure out why there is 2 bar shift when I send bar[index] to Indicator class. Even after two days for debugging I have failed to find the reason for it. The code and screen shot is attached for ready reference herewith. You will also notice that Hammer/Shooting
Hi Guys I wanna make inside my own custom indicator some modifications to the existing chart & period data, and save the results in my own series arrays (let's say: cust_open[], cust_close[], cust_high[], cust_low[], cust_time[], cust_tick_volume[], cust_volume[], cust_spread[]). so it's technically
Hello everyone, I tried to setup an Expert-Advisor in mql5 trading with several Indicator-Signals using the Signal-Classes from StdLib. I've searched a lot for examples, but can only find complete Trading-Systems with objects of "CExpert" (propably just made with a wizard). But I cannot find any
Hi, I want to create CSignalRSI class object to get signal result. I've create object, but how can I set my symbol and period to get LongCondition() and ShortCondition()? I've created SignalRSI object, but how I can set my symbol and time period to get signal result? SignalRSI = new CSignalRSI;
I am just beginning to learn MQL5, and wonder if I can get your help with a problem I encounter. Lets consider an example in which I want to calculate the median price of the last 10 days, I collect one array of the low prices and other for the high prices of the last 10 days. One could loop over
Hi there, I'm looking for an indicator just like the atas system for meta trader. I see there is a volume order book on (Alt+B) orderbook section which is only working on win10 or above. ( maybe good if it's useable on win 8.1 as well, but not relevant it this case ) So is there any kind of
Hello, In MQL4 there was IndicatorCounted () whose equivalent in MQL5 is prev_calculated. But the big difference is that IndicatorCounted () is accessible from anywhere in the program, whereas prev_calculated is only accessible from the OnCalculate event. Is there an equivalent function in MQL5 to...
How to use Fibonacci time zone
Hello everyone I have a mql4 code who paint an arrow when (CCI shift = 2) and CCI(shift =1) > CCI (shift = 2) and I want to convert it into mql5. In mql4it's possible to include the shift but with mql5, iCCI can only use 4 arguments(no shift) Can anyone help me on how can I do it The mql4 code is
As my first project I've started by trying to convert the following to MT5. // // @author LazyBear // If you use this code in its orignal/modified form, do drop me a note. // // Modified by Bromley study( "TDI - Traders Dynamic Index [Goldminds]" , shorttitle= "TDIGM" ) rsiPeriod = input ( 11
Hi, this is my report on a problem that started to happen with me some days ago and also the solution I found. I hope it might reach Metaquotes so they find a solution to this obvious bug (even though my situation with another of such problems gives me little hope for that). So what happened is that
I have written an indicator that colors candles based on The Strat method. The indicator works as I intended coloring the 1 candles yellow and they 3 candles Magenta. Unfortunately this overrides the chart's default settings for Bull/Bear candles. I like for my Bull candles to be hollow and I am