Technical Indicators - page 32

Hello guys, I'm trying to code some ideas in mql5 rather than mql4 in order to better test my multicurrency indicators and experts but I've big issues accessing indicator values (ex. MA) of symbols. I read all documentation deeply and looked also on the forum I'm getting very confused. This is my
I have many indicators which I use in my EA at the moment. Could be very stupid question but what you guys are suggesting? Is there any big difference if I call all indictors in EA or I call all indicators in one indicator and then using this one master indicator for EA
Hi there fam! I've been searching for this all over the place, but couldn't find anything related to it. Maybe someone is willing to share a solution, if there is any. A simplified version of what im trying to do: Create an iMA, then IMAonArray using the first iMA, and an additional iMAonArray using
Hi, I just wanted to know if any experienced developer has made post / topic about best practices and patterns about creating I ndicators. Since information about EA/MQL5/Indicator is spread out across forum posts/articles/MQL5 documentation, I thought someone may already have created post about
Hello. We all know ADR or the Average "Daily" Range. Some plots a range high and a range low on MT4 chart. I am trying to find and indicator that plots the high/low range of Average "H4" Range and Average "H1" Range. Please see attached files for idea. Thank you very much
Hello, I'm trying to convert this pine script to MQL5. but I can't find the error can someone help me? // Pinscript C_BodyHi = math.max(close, open) C_BodyLo = math.min(close, open) C_Body = C_BodyHi - C_BodyLo pine_ema(src, length) => alpha = 2 / (length + 1 ) sum = 0.0 sum := na(sum[ 1
Hey everyone, I'm coding some Pivot Points for MetaTrader5 but I'm having trouble drawing the lines. The plan is to draw 7 horizontal lines (PP, R1, S1 etc.) however only the PP line is actually being placed on the chart. I've attached the file below. Any and all help is appreciated
I converted this indicator from mt4 to mt5 it compiles with no error but on chart it only shows a buffer and that's all. Doesn't print anything. Below is the actual mt4 source code and MT5. I can't use the code insert button else it would exceed maximum characters
I want to publish in Market an Expert Adviser that I designed for research and education. Its objective is to understand in practice the different strategies of the Awesome Oscillator indicator. I don't want it to work on real accounts because I consider this a bad idea and I don't want some
Good day, for complex reason here --> https://www.mql5.com/en/forum/72215 i need to simulate numpad 5 by code (or rescale y axis). Then my y scale is reinitialized when i change timeframe. Is it possible ? regards
Good day, I am trying to detect the higher/lower of month. I really can't see where i do wrong. Can you help me please ? datetime start_mnth = iTime ( NULL , PERIOD_MN1 , 0 ); MqlDateTime structure_date_mnth; TimeToStruct (start_mnth,structure_date_mnth); //--- week: USD_plus_hi =
Hi,  I can't find in the "help" of MT5 how I can change some properties of an added indicator using the "ChartIndicatorAdd" function. For instance: I've added a standard exponential moving average using the code: indicator_handle = iMA(Symbol(),Period(), 20, 0, MODE_EMA, PRICE_CLOSE); window=0; if...
Hi coders ,can you please help me modify this code . The pip show indicator . It shows pips of open positions but it shows sum of them . I need it to show average amount of them . Currently if there is 2 positions open one at 10 pips and other one at 9 pips it shows 19 pips. I want it to show
Good day, i am writting an indicator of simple levels display. i can change the value true or false by a button. but when i change the time frame, the bool always return false. How i can fix it please ? Regards. nb : i have declared my bool in global, then tried in local but no success. //---
Hi, Can anyone recommend a good indicator for MT4 ? I have tried many and cannot find any good ones. Appreciate your help, Thanks, Robin
I am trying to use certain indicators that require another file to be added to the \MQL5\Include\ folder. However I am having issues For this example, this indicator needs to have \MQL5\Include\ smoothalgorithms.mqh placed in it. https://www.mql5.com/en/code/434 The steps I did was put the
Hi I cannot display both the high and low daily lines with the next code Please help Thanks void Dayly_High_Low_Lines() { double Low_price=iLow(Symbol(),PERIOD_D1,0); ObjectCreate(0,Symbol(),OBJ_HLINE,0,0,Low_price); ObjectSet(Symbol(),OBJPROP_COLOR,clrRed); // changing the color of the
Hello, I am trying to make an indicator from CCI. It has to return 1 blue when CCI is above 0, and 1 red when CCI is below 0. Very easy stuff. But I would like it to takes value from a different symbol. So i have use : input string Symb = " EURUSD "; I don't know how to put that in
Hey, I am trying to make a custom indicator but for some reason it does not show up on chart when added and data window shows 0 value anywhere i hover on the chart, as if indicator was not calculated at all. If i start debugging i can see indicator line while debugging is running, but when debugging
I've been trying to convert an mql4 indicator to mql5. I've successful changes the code it compiles and runs but the indicator doesn't display on chart. I do get a buffer showing in the data window no error logs anywhere so I'm pretty much confused at this point how to move forward Below is some
Greetings, I am using the following code attempting to calculate the slope of a drawn trendline...however it seems flawed as the values I am getting seem ridiculously small. Can somebody please verify if my calculations are correct (probably not) and...assuming they are incorrect provide a
Hello together! How can i combine the RSI and the Envelope indicator in a separate window with the Metaeditor5? Who can help me please? Thank you ! Regards Carsten
  Vix 75  (1)
Good day, can anyone assist with good set of indicators to trade volatility 75? Regards JP
Hello I put 2 EMAs on the chart, EMA 50 and EMA 100. I am preparing indicator to indicate by value when EMA 50 is below EMA 100. I wrote the code attached below. It almost works but I noticed that it shows line only when corosover of EMAs is visible on the chart. When there isn't any crossover
Greetings, I am new to MQL5 and I am not sure if the following is possible. If I draw some 'Trend' lines on a chart (using 'ObjectCreate') and have them extend out to the edge of chart boundaries (using ' OBJPROP_RAY_RIGHT') is it possible to obtain the 'TIME PERIOD' AND 'PRICE' for the drawn line
Hello, I am fairly new to MQL5 and I'm working on my first small project and so for some very strange reason I've been trying to get my compiler to open the <Technical\Technical.mqh> include file but it just won't work no matter what I do. I've tried reinstalling MT5 several times already. My code
Hello, I used the original code from the RSI indicator provided bei MetaQuotes and tried to adjust it to print two RSI in the same window. I basically copied and pasted the original code and added "_1" and "_2". The first indicator is drawn and seems to work but the other is not and I do not
I want to calculate the EMA of the RSI with using handles as much as possible. So I just create one iRSI handle, one iMA handle which takes the Handle_RSI of course but then I do not know how to print only the iMA(iRSI) on the screen
Hi everyone, I'm new in mql5, I'm trying to run a script that get the value of the moving average IMA. but the problem that it always return me the value of 10 i know that mql5 is different than mql4, and i have to use the function Copybuffer . i tried but no result if anyone can help me please
[Deleted]
Please recommend me any code if you know exists in codebase for mql5 which draws horizontal lines of highest and lowest price of visible bars in chart. When you zoom in and zoom out chart, it updates high low as data of available bar changes