Technical Indicators - page 3

can anyone help with this datetime time6= D'2024.07.10 07:15' ; string symbol= "EURUSD" ; ENUM_TIMEFRAMES tf= PERIOD_M5 ; bool exact= false ; //--- If there is no bar at the specified time, iBarShift will return the index of the nearest bar int bar_index=iBarShift(symbol,tf,time6,exact);
Trying to convert an mql4 to mql5 breakeven indicator but nothing is drawn on the chart. My mql5 conversion What is wrong ? //+------------------------------------------------------------------+ //| Average Price v3.0.mq4 | //|
I have two custom indicators for MQL4 that both fluctuate with a median value of 0. When I put both these indicators into the same SUBCHART, their respective 0 lines do not overlap. Is there any way to overlap the 0 lines? The pic shows two 0 lines are not overlap. Thank you for your help in
Here's what I see when I start the MT5 terminal, also when its running but my internet connection is interrupted. The indicator plot shows briefly (subsecond) and then disappears: All I need to do is switch the timeframe of the chart to anything and then back and the window shows up like it should
Hi Not sure if this question is in the correct topic area. If not apologize for it I have a small script (NOT EA) and would like to apply chart templates when a change occurs. In the end I even tried FUL path yet I keep getting error 5002 (sometimes 5019) string templateFolder =
Hi. I've created a new indicator with MQL5 by using the wizard. I need three buffers for my logic, but only the first one is created. This is my code: #include <MovingAverages.mqh> //--- input parameters input uint ShortInterval= 10 ; input uint LongInterval= 30 ; //--- indicator buffers
Hello, recently I starting coding my own indicator and I'm stuck so I decided to post here as this site is where I got all the information and answers before by looking to other users questions. But now I can't find one solution in this forum that works for me and I would like to understand why is
  can not sync trend line  (15   1 2)
Hi, if someone faced this issue before. Please advise me. I created trend line indicator which has start date and end date of moving vertical line. Indicator works correct. I run it at 1h timeframe and it drawn trend line. Then I applied synchronizer at 1h and 5minute timeframe. trend line could
Hello. I am trying to get the pixel values from a chart to use in a convolutional neural network but I don't know where to begin. How do I get the pixel values
Here's what I print out when an iCustom() fails: ChartID < 133608959982095523> symbol < USDJPY > TF < PERIOD_M12 > : [Slope of MA Signals MJM.mq5 [OnInit] LINE 272 - Indy >>Slope(1) of iMA(7,CLOSE) < < failed! Error<4002> [WRONG_INTERNAL_PARAMETER] sSymbol < USDJPY > eChrt_TF < PERIOD_M12 >
Hi friends, I am doing a multisymbol indicator that is already working OK for two symbols that have the SAME market hours. My problem is for multi symbols with different market hours. At first I want just to plot the close price of the second symbol in a separated screen, but later on I want to
hi I want create MACD Classic in MQL 5. in this macd the signal line also should the create with Mode_EMA. (all of other indicator i find the Signal line in sma mode and can not be changed). My entire code is like below. I do not have the syntax error, But the indicator not run. please help
in Indicator Data window,the numbers (after dot) show bunch of zeroes: i need to be shown there only 2 decimals after dot. used this function , but still doesnt help, there are still ZEROes shown... double RoundNumber(double number, int digits) { number = MathRound(number * MathPow(10, digits));
Dear Traders, How do i create such indicators on the top screen shown in the screen shot? The one i have is for MT4. wanted to incorporated in MT5 kinda doing mapping and got tired to kept selecting the text button. wanted to establish a custom wording for my analysis. can any one help please
--------------------------------------------------------------+ //| adx screener.mq5 | //| Copyright 2023, MetaQuotes Ltd. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2024, MetaQuotes Software Corp." #property
I need someone who can guide me on how to code indicators or who can teach me mql5 coding language. I tried to do some searching but I can't get the simple and fast way as a beginner. Thanks in advance for anyone who can give a helping hand
Hello ALL I have created CIndicatorBase, CiMA.mqh and iMA.mq5. The challenge I am facing is as how to use Moving Average Functions for calculating MA on a single Index. I have populated custom price array (for input to the function) for required number of bars needed for MAPeriod. I have tried to
Hi, I am just starting developing in MQL5, I am usually developing Pine Script Strategies. As a learning purpose, I am intending to replicate an Ichimoku EA I have developed in pine script. In my Pine Script EA I am merging the Kijun-Sen & Tenkan-Sen the following way : Pine Script 5 // Smoothing
Hi everyone, I created an expert advisor that loops among all open charts using MQL5's ChartFirst() and ChartNext() functions. The code is organized as follows: GraphId=ChartFirst(); while (GraphId > 0) { GraphSymbol=ChartSymbol(GraphId); // (process graph) GraphId=ChartNext(GraphId); } However, for
[Deleted]
  Multi Timeframe Indicators  (12250   1 2 3 4 5 ... 1224 1225)
Hi all, I've been wanting to have the ability to plot indicators from different timeframes on my chart, but MT doesn't have this capability built in. (Does anyone know of any charting programs that do this natively?) As an example, if you're following the IWCR system, it'd be nice to be able to plot
Hi Traders/Devs, I am trying to create quite a complex indicator that pulls data from the 28 major pairs and I keep getting error 4806 when I try to copy the handle data to the buffer, can you see what is wrong? Pairs is an array with lists of pairs, in this case I tried to get the RSI value for all
Dear all, I created the code for the indicator below, whose objective is to show a theoretical value for the minidollar (WINFUT, which is the USDBRL symbol) depending on the variation of the minidollar (WDOFUT, brazilian main index symbol). The rationale is: if WDOFUT is falling 0.5% I reverse the
I created a script to show the error. When I tried to run it in the original script, it gave me: Error: <4113> [CHART_WINDOW_NOT_FOUND] ... even if I hard-coded the symbol "USDJPY" ( which appears as the first in the list in my Market Watch window in the terminal), and used "_Period" as the
Hello everyone, I am creating a custom indicator for MetaTrader 5, but I am encountering the following compilation error: 'Backtest Balance Display.mq5' Backtest Balance Display.mq5 1 1 ')' - open parenthesis expected Backtest Balance Display.mq5 39 49 1 errors, 0 warnings 2 1 Purpose of the Code
Hello al, I have this code for an indicator that should display the number of manually opened trades during a particular time span, however it gets stuck to 0. I'm using hedging mode and the orders are opened manually. The script compiles without errors however, the totalTrades is always 0. I'm not
Hey guys, I have the following problem and it seem I am not the only one. I cannot change the colors of indicators. I can change text in a text field , but if I double click the color fields, nothing changes. No menu appears. It is with all indicators. What is the solution? Thanks
Hello, How can I, in an indicator, detect when the current bar closes and breaks the current daily high/low? I need to check when a bar closes, if it breaks the daily high/low so far, from the first daily bar to the last bar (not counting the current bar). If I use " iHigh ( NULL , PERIOD_D1 ,0) I
  Pivot indicators  (758   1 2 3 4 5 ... 75 76)
Everything about pivot indicators you may find in this thread. Besides there are some usefull links as well: - how to trade with pivot (manuals) is here . - some trading system based on pivot https://www.forex-tsd.com/forum/trading-systems/1158-pivot-system - pivots, camarilla, high/low etc.... is
I'm working on an custom indicator on the CHART window and there I call the iRSI indicator successfully: I can see all the data and windows in the META-5 main window. My indicator runs in the CHART and the iRSI runs in a separate window and I can see both graphics, my indicator on CHART and RSI in
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