Technical Indicators - page 50

Hi! For some reasons, iMACD is returning 0 on GBPUSD, it's working on other pairs. Any idea why? double array1[]; double array2[]; int indicator = iMACD(_Symbol, MACD_timeframe, MACD_fast_ema_period, MACD_slow_ema_period, MACD_signal_period, MACD_applied_price); ArraySetAsSeries(array1, true);
Please tell us. I am using a translation tool to convert the data into English. Is it possible to load a single signal indicator into iCustom, for example, a buy signal when SMA20 and SMA80 cross golden and a sell signal when they cross dead? I was able to do this in mql4, but not in mql5, so I
Hello, I'm coding a basket indicator which alerts me when/if a pair from the list reaches a round number (000/500). I've been able to obtain the last 3 digits from each pair as string (with StringLen and StringSubstr) but when i try to convert them to double or integer all the zeros got removed from
Please, am having difficulty drawing from the edge of the chart, how do I go about it for point 1 and point 2 in picture below. Thanks
Hi, I'm looking for a Williams AD indicator that includes a SMA of the indicator values for mql5. I've ran across a mql4 version...hoping someone is kind enough to share if they have it. Thanks
Hello, may i ask why i can't set the height, width and position of a chart after opening it? This is the code i use: // General Variables bool ChartSetInteger (); // function void OnChartEvent ( const int id, const long &lparam, const double &dparam, const string &sparam) { if (id==
Hi, I am looking for an indicator which gives an alert when the price is touching or crossing the upper or lower BB line (using 50 BB with 1 devi). I dont know if its possible but it would be good to only show alerts when the price was outside the BB and then touches/crosses the upper or lower BB
How to convert a mt4 indicator to a mt5 one so it works exactly as if you are using it in a mt4 platform
This is one I wasn't ready for – I'm running a simple MA-crossover scheme to test out lookback methods. It's running in a demo account It's an 8-bar SMMA with a 34-bar SMMA (checked and double-checked), but the results are showing for an 8-bar smoothed MA with a 34-bar SIMPLE MA. Does anyone have
thank you guys I want to compare the value of the main line and the signal line in MQL5. i was doing like this in MQL4:-      if((iStochastic(NULL,0,5,3,3,MODE_SMA,1,MODE_MAIN,1)<iStochastic(NULL,0,5,3,3,MODE_SMA,1,MODE_SIGNAL,1))&&(iStochastic(NULL,0,5,3,3,MODE_SMA,1,MODE_MAIN,0)>iStochastic(NULL,0...
I have a MT5 indicator that shows an arrow when a S/R level is broken. Everything on the indicator works, but for some reason it doens't update to show new arrows. I have to manully refresh the chart for new arrows to appear. Can someone please take a look at the code and let me know what is wrong
Hi, I've modified the built in ' Moving Average ' indicator so that it should show a red line when the trend is going down and a green line when the trend is going up. However, the line is always red whether the trend is going up or down. Can anyone see where I'm goin wrong? //--- indicator settings
hello i have been creating simple divergency strategy to my EA that will involve drawing the divergence lines to the main chart and to the indicator window ...using this code void divergence(){ CopyBuffer (rsi_handle, 0 , 0 ,rsi_period,rsi_array); //--- double A= 0 ; double B= 0 ; datetime
When I use the following code to read the bollinger band lower value at the past candle 1, it works fine. int handle; double lower_band[]; ArraySetAsSeries (lower_band,true); handle= iBands ( NULL , 0 , 20 , 0 , 2.0 , PRICE_CLOSE ); CopyBuffer (handle, 2 , 0 , 2 ,lower_band); Print (lower_band[ 1
Hi guys, somebody has a template to start develop an indicator multi timeframes? Where can I find it? thanks
Hi All, I'm experiencing quite strange behavior from the indicator I'm working on. While the calculations and the values in the indicator buffer are correct - the indicator itself plots absolutely fantastic values out of the blue. The logs are showing that the buffer has values that are correct
hello, every body, i use a very good support and resistance indicator, but i have to update it regularly. i want to known if it is possible to reprogram it to stop updating
  iATR in mql5  (8)
hi all, from what i read in the documentation its the Average Trading Range, and as I imagine the value should be a single number. But when i use iATR I reailized that the result value is an array instead, should I only use the first ([0]) value of the array? Thanks
Hello, in mql4 i can set style and color for an indicator dynamically usign function SetIndexStyle(index, DRAW_LINE ,EMPTY, 1 ,my_clr); Is there something similar in mql5 or do i need to use #property indicator_type1 DRAW_LINE #property indicator_color1 Cyan Thank you
I came across with the following functions: CopyTickVolume , CopyTicks , iTickVolume Is there any chance to work with each historical data ? For example if on 1min chart there are 100 ticks, is there any chance i can go through all 100 ticks and sum that volume up ? I just tried to use iTickVolume
Hi! I'm experiencing an issue I don't recall seeing before: when OnCalculate inside a custom indicator is called for the first time, "prev_calculated" comes with 0. Once the first processing happens, the OnCalculate is finished with "return rates_total". So, in the next call of OnCalculate
I bought EA, and when installing it indicated that it was old. I have to do with it? How to update this software. This EA is: <Deleted> Thanks
Dear MQL community for now just sorry for my question. Maybe for you it sounds silly, but there is no other professional which I could ask. My issue: I try to download a Oscillator from one of your developer: <link removed> And also I try to buy another products on the MQL-Market. But when I press...
There is an option for Moving averages named "use on: Previous Indicator's data ". So if we have an indicator which current value is about 1000, but the value of ma indicator is 1.229, the ma value get an offset to be around 1000. (i dont exactly know how this works) This works perfectly on mt5 in
Hi i know about iMA function but my indicator isnt finished like that yet and iMa does not work for my purpose. int inpPeriod = 5; int OnCalculate(const int rates_total, const int prev_calculated, const datetime &time[], const double &open[], const double &high[], const double &low[], const double
[Deleted]
I have been a big fan of accurate reversal indicators which are really useful in joining the trend after a pullback. Over the last few months I figured out that the standard Bollinger Bnads. RSI and Stochastic indicators require some sort of extra enhancements with Fractals to pin point the most...
My custom indicator does not update with new bars. I tried to create a handle that I can use with CopyBuffer() to increment the bars to no avail. Not sure if correct method so I deleted it from source code. Please help
Hi guys, I am looking to draw new bars from the OHLC information of a bar. I want to draw four new bars from the information of open, high, low and close of just one bar. Can someone tell me where to start
  Spread between two futures  (61   1 2 3 4 5 6 7)
Good afternoon everyone! I have written an indicator that draws the spread between two futures. I have two problems: 1) the indicator is wildly glitchy, sometimes it is displayed, sometimes it is not displayed, then it shows some nonsense (I have to press refresh, and then it seems to fall into
Hey , I have not yet worked on indicators that much and therefore I'm now facing a problem that might be easy to solve for soeme or does not make any sense. The Indicator Automatic Trendlines paints a candle which fufills certain criteria in a colour. Now I want to create an indicator thats relys on