Technical Indicators - page 7

I am trying to code an expert advisor but I don't really know how good different indicators are. I'll end up throwing a couple in there and seeing how well it does, but if anyone has any suggestions on where to start I'd appreciate it
Hi, I am looking for a regular macd indicator in which I can set an alert in MT5 when the signal line crosses the 0 line. Regardless of the direction of the 0 line crossing. Signal generated after candle closed. It used to be on the forum, but I've been looking for a few days and haven't found it. I
Sir, I created this Volume Indicator but I am getting error " Array out of Range ". I have some wronged this Source code. Please check this 👇 #property indicator_separate_window #property indicator_minimum 0 #property indicator_buffers 3 #property indicator_color1 clrBlack #property
Hey guys! Title says all. The thing is a want to load an indicator to the chart using ChartIndicatorAdd . Some of them are oscillators - but I don't know which ones I'm loading are oscillators and thus should be loaded on a subwindow. How can I do this? I looked into the documentation, but couldn't
#property strict enum EMyCapitalCalculation { FREEMARGIN = 2 , BALANCE = 4 , EQUITY = 8 , }; enum EMyRiskCalculation { ATR_POINTS = 3 , FIXED_POINTS = 9 , }; class CMyToolkit { protected : virtual void _Name() = NULL ; // A pure virtual function to make this class abstract public
Hello, Can you help identify what the type of the indicator is this? Seems (and in the indicator's description it says so) like just three Moving Averages, the first MA with applied to high prices, the second MA with applied to median prices and the third MA with applied to the low price. But not
Hi everyone I have written a code to create 2 graphical objects of type OBJ_TEXT as per the picture bellow The first object is an arrow (using Wingdings Font Type) placed at the last low and right bellow it is a text. My question is the following . What is an efficient way to determine the spacing
//---- the indicator will be plotted in the main window #property indicator_separate_window //---- three buffers will be used for the calculations and plot of the indicator #property indicator_buffers 4 //---- only one graphic plot is used #property indicator_plots 1 //---- the indicator should be
Hi there! Attached you can see a source code of a good indicator which I am using by myself. Unfortunately this indicator has no push alert option for mobile terminal and I'm not into coding at all. Is there somebody who can please code a push alert into this indicator? I would appreciate it a lot
good day. I recently saw this arrow on a Chart. I searched in Wingdings and I can not seem to find it. how is it placed. and how can i put it into mql4 or mql5
Dear Fellows I am getting following error and have no idea, how to resolve it. Search on forum/google did not help much. 2023.12 . 13 19 : 31 : 45.367 iStochRSI (US30,H1) Not all data of RSI calculated ( 38018 un-calculated bars ) Regards
Honestly I doubt anybody can find the loogical flaw in this source code
#property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Yellow #property indicator_color2 Yellow #property indicator_width1 2 #property indicator_width2 2 // Input parameters input int RsiPeriod = 14 ; // Indicator buffers double ResistanceBuffer[]; double
  Trend indicators  (515   1 2 3 4 5 ... 51 52)
All the indicators which are helping the detection the trend please post here. The first indicator is sinTrend. The value of about zero is the float, the trend is started if the value of indicator is equal or above 0.0015 or minus 0.0015, the value of above 0 is uptrend, below 0 - downtrend
I realized there are some characters in the wingding code that cannot be displayed properly, it always displays as a square. I use the example in the documentation with several inputs but it's still the same. void OnStart () { //--- string up_arrow= "up_arrow" ; datetime time= TimeCurrent ();
Dear Fellows I am getting frequent '2024.01.21 16:20:11.328 iSessionVP v1.99 (XAUUSD,M15) array out of range in 'SessionVPHisto.mqh' (258,23) error. //+---------------------------------------------------------------------------------------------------------------------------+ //| We
Good morning I found a workaround, but would like some explanation on how ibarshift() works My code is in oncalculate(). Time[i] is therefore just the constant and "i" an iteration of For The goal was to recover X bars on a higher timeframe i_UpIndEnd = iBarShift ( gf_symbol, gf_TFDef
  Daily Vertical Lines in MT5  (24   1 2 3)
Hello altogether, I used to trade via MT4 (that was a while back). Now I wanted to start trading again and installed the MT5 Software. Back in my MT4 times I used this indicator --> https://www.mql5.com/de/code/12266 <-- to display certain times in my chart, which was (and hopefully will be again)...
Hello all. So, I've been messing with the iFractals indicator for like 7 hours straight now and it's driving me nuts. The visual arrows that are placed on the chart by the indicator are exactly what I'd like to use/obtain. What I have posted below works about 90% or so, but the logic also returns an
Hi, I am trying to delete an indicator created using the class CiMA in MT5 with no success. Always when I recompile my indicator, the message "1 object of type CiMA left" appears in the experts tab. Can somebody help me to delete correctly this object. Thanks in advance. My code is: #include
Hello everyone! I am transferring this squeezer indicator from mt4 (which I have always worked with) to mt5 and the truth is I am quite lost... I have mostly passed it, but I don't quite understand what is the correct way I have to do to obtain iMA data. Going from the simplicity of mt4 to mt5 is a
I have an indicator and it has a problem. It does not work in real time, and it is behind a several candles from real time Also in the tests it is almost stopped, it appears only at the start of the test and does not interact with the new badges What is the solution please
Good day, I am trying to make an indicator that shows up and down arrows when an engulfing pattern is formed. The bearish engulfing pattern is confirmed if either of the 2 candles before the engulfed candle are bullish and similar for the bullish engulfing pattern is confirmed if the either of the 2
Good day. I am looking for a basic MQL MT5 indicator code that applies the iMA function, calculates the arithmetic average of the last dozen candles and draws a chart
My time and sales window is not opening, It's showing a greyish button. Screenshot attached, Can anybody help
hi all, the simple formulation (pseudo code) below gives you a very good idea about slope of an EMA (substraction the last ema value from the previous one), but because pip value af all currencies are different I need to equate the result for all pairs using a constant number could you help me to
Hi, How can I determine the index value of the most recently closed bar. For instance, this indicator calculates data on the index that is currently being formed. The result is the display of upward and downward arrows if both conditions are met during the formation. Ideally, only one arrow should
if (maFilter == 0 || maFilter == 1 ) if (cl > xATRTrailingStop[i] && crossUp == true ) ArrowUp[i + s] = low[i + s] - p * Point ; // Sell Signal if (maFilter == 0 || maFilter == - 1 ) if (cl < xATRTrailingStop[i] && crossDn == true ) ArrowDn[i +
Hey everyone I'm looking for a good trend indicator ( I trade the trend.. A nice basic easy to read one :) Cheers
Good morning In the doc, it is not specifically said that oncalculate is asynchronous. It is said that the event is launched at each tick Am I correct in thinking that the instructions in oncalculate are synchronous and each tick launches a new instance of oncalculate? Instances of Oncalculate