Technical Indicators - page 24

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
@Vladimir Karputov Alain Verleyen William Roeder I have zigzag based indicator. The code makes sense to me but the objects(HLINE) drawn on screen keep disappearing, please help //+------------------------------------------------------------------+ //|
I want to calculate the win rate retrospectively. Example in the picture Can you help me? I thank you very much for giving me advice
Hello I am new here. I am trying to write my first custom indicator in mql4. This is simple indicator just for purpose of learning. W would like to receive line with only 2 values possible. Idicator equals 1 when conditions are met and 0 when condition is false. Condition is to get 1 when there is
[Deleted]
Dear devels, I am still studying MQL5 and one of my indicator's test I have got that message. Could you comment if I am write the "for loop" correctly and optimized? //--- declaration of local variables int index = 0 ; //--- check for bars count if (rates_total < InpPeriod) return ( 0
[Deleted]
Dear devels, Is it possible to change the default _AppliedPrice for a custom indicator? It always start with Close when inserted in a graph. Anyone knows how to force it initiate with another value
Good day, I am working on a personnal screener project with the fractals. I need to know if the current price is above the last up fractal, or below the last down fractal or flat. i have made this code, and my screener reacts with colors, but the result is totally wrong. Can someone heavily help me
Hi. I want to close only the current chart if the given condition is met in the indicator after sending an alert. So, I tried the following code. But it gives the error message " 'ChartClose' - function declarations are allowed on global, namespace or class scope only". Could someone please help me
If this is in the wrong place, please move, thanks. I am using an indicator (Trend Direction and Force Index) which I downloaded from https://www.mql5.com/en/code/22976. My problem is that when I see the values on the chart (and using a Script), they are not the same as when I run an EA. Can someone
A regression channel is a technical analysis indicator that attempts to forecast where a stock might go next. Watch this video to learn how this indicator might help you determine potential entry signals and price targets, and what price to consider when setting a stop order
Hi I cannot figure out why the array is not working . I have a function int start() { int label_count = 0 ; for ( int i = 0 ; i < SymbolsTotal ( true ); i++) { string symbol_name = SymbolName (i, True); int conditions_met = 0 ; // Condition 1: MA5 crosses over MA8 double ma5 =
[Deleted]
Dear developer, hope you doing well. I've started learning MQL5 a few weeks ago and I am practicing with a lot of examples. But there is something that is causing an issue and I have not identified the cause. I have an indicator working very well: So I am trying to add some new features to improve
I know nothing about coding and I've been using this indicator only to find out it repaints. Any help is appreciated. Here's the code. //+------------------------------------------------------------------+ //| SilverTrend .mq4 | //| SilverTrend rewritten by
I have tried converting mq4 to mq5, but there is a problem with the buffer where the buffer does not match the one in mq4, what's wrong with the source code? please