Technical Indicators - page 10

Hi, I'm trying to port ATR function with RMA smoothing from mt4. Code I have is below. I'm getting '{' - function definition unexpected ATR-RMA.mq5 108 3 error but can't find out why? I double checked { } and looks ok. I new to MQL5, have very small experience in MQL4. Could anyone help me solve
Hi all, Is it possible to send the horizontal levels in an indicator window to the background? It seems by default they show on top of the indicator. I'd like the indicator value to be on top and the horizontal in the background. I don't think this is possible, but wanted to check. TIA. Rob
[Deleted]
My code : int lowestbody_index= iLowest ( NULL , 0 , MODE_CLOSE , 50 , 1 ); It returns the index of Lowest Close but its a bullish candle, I am only interested if candle is bearish, How can i solve this
Hello, is it possible to show a chart of another symbol (same period) in the sub window? I want to see correlations and compare both symbols this way
I am new to MQL5, so as far as know, there are two types of indicators, one is a built-in indicator like `iMA` function, another is the custom's indicator which should be created by the trader themselves within a separate indicator file. My target is to show these two types of indicators onto the
hello everyone i have been receiving wrong values of an indicator when calling a custom indicator using the iCustom function as it gives me huge values not corresponding to the indicator ...anyone to offer assistance please
#property indicator_chart_window #property indicator_buffers 3 // Increase buffers to 3 #property indicator_plots 3 // Increase plots to 3 #property indicator_label1 "Daily open line" #property indicator_label2 "Above Open line" #property indicator_label3 "Below Open line" #property
Hi friends, I have a question. I have designed a personal indicator that I use the RSI indicator inside.When I first drop the indicator on the chart and set its initial parameters, it works fine . It shows the signals on the chart, but when I reset the input parameters, the indicator erases the
Good morning people, everything fine? I looked for an indicator to show on the charts or swap, but I didn't find it, only for Spread, but I would like one that shows both. If someone just has SWAP for me, it would help me a lot. - Remembering that it is for MT5. Thank you very much
Hello, Can someone please refer me to a plain and straightforward exponential moving average (EMA) indicator written in MQL5. As I am currently learning the ins and outs of the MQL5 language, I believe it would be beneficial to study and understand how things work with this specific type of
I need an indicator that plots 3 lines: a horizontal line from daily open to close, another line certain number of points above the daily open & another line certain number of points below the daily open. Be able to set number of days which to draw lines. Simple. Be able to set number of points to
Hello everyone, I'm learning how to get indicator data from another timeframe. Currently I'm still copying data one by one in a loop. // Call this function in a loop double CopyDataHandle( int &handle, datetime startTime, int bufferIndex= 0 ) { double data[ 1 ]; int copy; copy = CopyBuffer
Hello, Is there any code that Search for an Specific Object Description and replace the new "Description" on chart? for example, if an expert; create an "edit" object, with randome names; and same "Description"; how can I add an indicator on chart that replace my description on that "edit" object
#property link "" #property indicator_separate_window #property strict #property indicator_buffers 105 #property indicator_plots 105 #property indicator_color44 clrRed #property indicator_type44 DRAW_LINE #property indicator_width44 1 #property indicator_color45 clrOrange #property
Hi guys, I'm trying to understand one of Mladen fibo indicator calculations and plots. So todays fibo lines are calculated by yesterday range in this simple way: if ( Bars ( _Symbol , _Period )<rates_total) return (- 1 ); MqlRates dailyRates[]; int dailyRatesCopied= CopyRates ( _Symbol
Hello, I want to create an indicator that retrieves multi timeframe data of a custom indicator. Due to the original program is bulky so I have recreated it in a shorter version to reproduce the error, My intention is copy MACD data from different timeframes, the size of those buffers based on M1
Hello everyone I work on a custom indicator and begin learning coding following tutorials and articles, after several months some limitations persist and I thought getting your opinion could help me. Please excuse any possible beginner's mistakes, the basic idea of the indicator may seem simple
Hey, I have a Simple CDialog panel With Buttons on it, I am using it with an Indicator and Objects on the chart that I can Move and place on required price, I can't get it working in the BackTester(Visualisation), Searched on google but could not find Anything that helps, I would like to know how I
hi guy, why this code didn't work : #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Blue #property indicator_color2 Red input ENUM_TIMEFRAMES TimeFrame1 = PERIOD_M5 ; // Timeframe 1 input ENUM_TIMEFRAMES TimeFrame2 = PERIOD_M15 ; // Timeframe 2 input
I am currently using an indicator I found in the codebase. When it loads in the chart it displays fine (Left figure), but when I change the TimeFrame, the indicator disappear (middle figure); when I add any other indicator ,the original indicator appears with the updated change (left figure). Like
Hi guys, I've created a set of HLINEs on my chart, which i'm able to modify as expected. Except when it comes to opacity, it just seems to be ignored. In this example, there is no change of colour whatsoever: for ( int x= 5 ;x>= 1 ;x--) { double dhigh = iHigh ( _Symbol , PERIOD_D1 , x);
[Deleted]
Hi, I am working with MACD+stoch +Bollinger band settings. MACD (default) Bollinger band (20,2) Stoch (14,3,3) EMA 10 and a MACD cross over alert indicator. Now,the problem is, sometimes it works great,but sometimes not specially in Asian session on EUR/USD. I get lot of whipsaw,To avoid it
Hi. I've tried to find an indicator that's active or selected to no avail trying to get rid of the line chart at the bottom (see attachment). It's driving me nuts! Any suggestions please? Much appreciated
This is my draw function: void DrawSwingLow( datetime time_to){ string objName = "Swing Low " + TimeToString (time); if ( ObjectFind ( 0 ,objName) < 0 ){ ObjectCreate ( 0 ,objName, OBJ_TREND , 0 ,time,candleLowPrice,time_to,candleLowPrice); ObjectSetInteger ( 0
I am trying to loop through the candles to find the highest high and lowest lowest low between time A and time B. How could I go about doing this in MQL5
iCustom(symbol,0,"indicator") works only as the symbol matches the symbol of the chart. In all other cases it returns 0; Where can I find the solution
Hi Guy, I want to add MTF calculating option to a fractal indicator ; anyone can help me please? thanks
Hello. I'd love some pointers on what I might be doing wrong with this value mapping function. I want my indicator line to always scale to the chart's Y axis (as if it had its own axis). I'm sure this is a common problem and I've looked around quite a bit to find a workable solution but I'm still
  Set Limit Hours For An Indicator  (49   1 2 3 4 5)
Hello, I Want To Set an Time Limitation For My Indicator. (MT5) How Can I Do That? For Example, I Want to Start Calculating From 9:00 To 00:00. Thanks
Hello, I am new to this platform. Been searching around for ways to get footprint chart or some form of number bars to display the chart, instead of the typical candlesticks. Does anyone have experience in achieving this? Much appreciated