Technical Indicators - page 6

Hello, I want to ask if someone also has the similar problem. When I attach my indicator on the chart, alert comes up when there is no signal yet, here is my pseudocode datetime last_alert_time = 0 ; if (time[ 0 ] != last_alert_time){ Alert ( "Buy Signal Detected" ); // Alert for Buy
Can someone show me how to make a rectangle/label with background cover the position history markers that mt5 automatically plots on the chart. Here is my code. On the image you can see what i mean. those little blue and red arrows are popping through the black background of the panel. I have tried
  Tick volume vs Real volume  (18   1 2)
MQ5 offers these two. What is the difference between them?
I want to implement a DRAW_HISTOGRAM2 indicator that can hide all bars. I use the following API to change the width. PlotIndexSetInteger(0, PLOT_LINE_WIDTH, g_width); // g_width is from 1 to 5 I found that it reacts with 1 and 2, and if g_width is more than 2, nothing changes. As a result, the bars
I am building a Indicator to look at Tick Imbalances. However, sometimes the indicator works while other times it crashes the terminal. I have narrowed down the issue to be the call to CopyTick calls. More specifically this function Code: int get_ticks( const datetime from, const datetime to
This is my code, could anyone explain or give any reasons as to why it doesnt just print the high low open and close of the previous candle, it just produces other incorrect values. candleIndex is set to 1 double openPrice = iOpen ( NULL , 0 , 1 ); // Open price of the specified indexed candle
Hello, I've been making an indicator and I see this issue in the Experts tab of X undeleted dynamic objects found: x objects of class A... So after reading some posts and this article https://www.mql5.com/en/articles/28 I still don't understand how it works. From my understanding if I don't use
How to create labels like in the image? Mql5 is outdated #property indicator_type1 DRAW_ARROW #property indicator_width1 5 #property indicator_color1 0xFF0015 #property indicator_label1 "Buy" Buffer1[i] = Low[i] - ATR[i]; //Set indicator value at Candlestick Low - Average True Range if (i ==
Hi guys,I changed the Ichimoku indicator to customize the shift in kumo cloud, and use this as a custom indicator with iCustom function in OnTick function of my expert. the problem is that it makes the EA very slow in the backtest, however, if I use the in built Ichimoku indicator the same way the
I’m working on an MQL5 custom indicator and I’ve extracted this part of the code to test why the arrows aren’t showing up on the chart. The main logic of the indicator is working as expected, but the plotting is not. Note that this is just a part I extracted from my indicator and I’ve given random
Hi, I noticed that the included indicator Moving Average has no Inputs nor Colors tab but nicely done Parameters tab. Please look at the attached screenshot. There is no code for that Indicator. I asked google and chatGPT but didn't find anything of value. If you know how to make the Inputs and
Is it possible to show the program build date as a property description (line at Common tab of my indicator)? I tried this: static const string MY_BUILD_DATE = TimeToString ( __DATETIME__ ); #property description "BUILD: " #property description MY_BUILD_DATE ...but I get "constant expected" build
Hi. Suddenly the indicators that I have written have become flatter. That is to say, they don't fill the entire screen... REALLY frustrating
Hi everyone . How can I draw a rectangle that shows me the pips value in the corner? In fact, the mql5 code as an indicator that displays the pips value of each rectangle I drew. I have attached a photo as an example
  RSI with MA on MT5  (23   1 2 3)
Hello, I need the MT5 source code of RSI with a moving average in order to add it as a custom indicator on mt5. Can you help
  #resource  (22   1 2 3)
Good evening Are there any limitations with #resource? In an indicator I have two resources #resource "\\Indicators\\Ressources\\Dev - Dev Team - Stochastic MTF.ex5" ; string g_Path_Stoc = "::Indicators\\Ressources\\Dev - Dev Team - Stochastic MTF" ; #resource
Hello everybody, I was trying to solve this well-known problem explained by Fabio Cavalloni and others, when I have discovered some really strange behaviour in OnCalculate. I have written a small sample program that reads the closing value in a different timeframe. Inside onCalculate, I check
How can I implement RSI and Alligator on the same chart? I am developing a robot in Python to automate trading operations. I saw that RSI works in a range from 0 to 100 while Alligator works around the maximum and minimum value of the candles. However, I saw that in MetaTrader 5 on the cell phone it
hi gyse. i want convert auto pivot sourse mq4 to auto mq5
  VWAP indicator  (2)
I used two VWAP indicators for daily time frame but I couldn't understand why they are difference ? anybody can explain? they are working opposite each other :(
This is what I have so far: //+------------------------------------------------------------------+ //| SpikeCalculator.mq5 | //| Guilherme Cunha Rodrigues | //|
Hi! I just got an "array out of range" in the following code: int evalPos = 0 ; if (checkByTimer) evalPos = glAlertInfo.lastTickBarPos; else if (checkByNewTickIsOfNewBar) evalPos = glAlertInfo.lastTickBarPos; if (evalPos > 0 )
ADX values (DI+, DI- and ADX) on MT5 are different from those on other platforms. I compared "Exponential" moving average with 14 period. Can some one help with the right ADX indicator or EA code please. Thanks in advance
Please help me find Predicted_TP&SL_Labels_v1.3 - Indicator or converting it from mt4 to mt5
hi i want to add transparency to my rectangles in mql4 , which code should i use
Which is your opinion about Heikin-Ashi candlesticks representations and how to create a strategy for this kind of charts
Hello, I’ve developed a custom MQL5 indicator that opens a subwindow to display the RSI under the main chart. It works perfectly on live charts, but during a visual backtest in the MT5 Strategy Tester, the subwindow does not appear. Is there a specific limitation with subwindow indicators during
Hello, how to paint Vertical line like at pictures
Good morning Without being the holy grail , I think it is still a step or two in its direction. Here is my opinion It is practically impossible to fit into a time frame even with a lot of information. Often it's trying to make a decision on 1 bar How to choose a bar among many others? I think the
Hello Guys, Hope you had a real nice weekend? I have a little problem trying to upload my custom indicator to the market but the system was telling me something about the file contained native code. I don;t real understand that, may be somebody who have come across such challenge can help me out...