Technical Indicators - page 22

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
In this video, we perform a step by step analysis together. We dissect a price action chart and try to follow the path of the price. The goal of this video is to read the price action by understand the various price action principles to our charts. We look at momentum - the speed of the price
  zigzag peak date  (3)
Hi, I am having trouble getting the zigzag peak date or the date of the candle where the zigzag created a high or low points I have gone through all threads i found talking about the zigzag. This is what I have //+------------------------------------------------------------------+ //| Custom
*edit: I figured out how to do it, it's basically a weighed standard deviation formula instead of a regular standard deviation. And it uses N rather than N-1 (unlike Bollinger Bands). More details in my last reply. ----------------------------------------- Original post: I've been spending a lot of
Hello everyone. When painting horizontal R/S indicator buffers I have to leave an index blank. Else it will draw a funny sloped line to connect the two points. Is there a logical solution
Hi . I have 2 time frame in ST (M5 and H1). I create MACD handle in H1 and chart load in M5 (show Time frame in MT5 is M5) .when I run ST i have 2 chart M5 and H1 (So far everything is correct) . how can I show MACD histogram in H1 time frame in M5 chart window? I have a solution in mind, I don't
  #MarketPrice indikator  (46   1 2 3 4 5)
I'm very in love to this forum (frorex-tsd.com) so I want to give a little contribute to this forum as much as I can.
Hello friends. When applying background colors most of the lines on chart go invisible, no matter how light the background color is! Is there a solution
Hey all, I have an indicator that uses #property indicator_chart_window This property used to ensure that the same indicator can only be applied once to a chart. Is that not true anymore? I just checked in MT 5.00 build 3550 : the same indicator with same settings is only applied once. However
hi every one, i am trying to write a code to draw some graphical objects on chart, because one of the objects is circle, i have fixed the chart scale to 1:1 if (! ChartSetInteger ( 0 , CHART_SCALEFIX_11 , 0 , true )) { //--- display the error message in Experts journal
//+------------------------------------------------------------------+ //| MyATR.mq5 | //| Ashwani Kushwaha | //| https://www.mql5.com |
This indicator loads properly when applying the single time frame mode(use alternate resolution=false) But when applying (use alternate resolution=true) it won't work in closed market. But works properly with strategy tester
Hi guys! Is it possible to put limits on extern vars in the Inputs tab for an indicator? Let's say a var can be from 0 to 200. And you don't want the user to enter a value over 200 or a negative one. I know I can correct this when the indicator starts, but if he enters the value in the Inputs tab...
Dears, Where can I find Elliott wave app
Hello, Following code gives me a number in the -214000000? cant seem to figue out what i do wrong. Looked through the forum but only found people with the same problems. double Fractalshigh[]; double Fractalslow[]; int Fractaldef=iFractals(_Symbol,_Period); ArraySetAsSeries (Fractalshigh,true);...