Technical Indicators - page 7

this is the code that i combined PVI and iMA but it doesn't show them correctly like the attached image. how to correct the code? //+------------------------------------------------------------------+ //| Demo_iMA.mq5 | //|
If I have only one chart open in the terminal (build 4755) and add any indicator to the chart that should be displayed in the terminal window, it will be displayed correctly: If I open another chart and try to add an indicator, the indicator will open in a separate window above the price chart: In
  fibonacci spiral  (1)
Good afternoon, if anyone has an indicator like in the screenshot "fibonacci spiral" on mt 4 or mt 5, please drop it)))))
If I need to have synchronized data in the indicator, I perform a synchronization check. Unfortunately, if there is no next tick coming (e.g. on weekends), there is no further call to OnCalculate and the indicator is not calculated. I helped myself by calling the ChartSetSymbolPeriod function. In
In MT4 - multiple offline charts can be created with only 1 RangeBar indicator which is attached to M1 regular chart For example - created 10 pip RangeBars chart as M21 offline timeframe and 50 pip RangeBars chart as M31 offline timeframe Then attached Multi Time Frame (MTF) indicator on both
  iVWMA()  (2)
I miss MQL5 indicator iVWMA(). It is useful, but reference to programmed one is not comfortable
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
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