Technical Indicators - page 5

  Oscillators  (41   1 2 3 4 5)
Does anyone have a large collection of oscillators (works best in a trading range) that he/she put together? Maybe we could start a thread where all oscillators are gathered. And let's go a little beyound RSI and Stochastic
I have no idea why the statement " double dD10th = 4.1 ;" would result in the value "4.0999999999999996", but oh well. So I'm trying to round it back to what I originally assigned it, "4.1". I tried " double dRnd10th = NormalizeDouble (dD10th, 1 );" but that did nothing: Not sure why 4.1 <>
Hi there, i found this script to remove all windows borders. But infortunately, it does not work. Can you please help me (or fix it for the community) ? Regards //#property script_show_inputs #import "user32.dll" int SetWindowLongA( int hWnd, int nIndex, int dwNewLong); int GetWindowLongA( int
Suppose I am running indicator_1 in EURUSD chart. The indicator_1 code opens a GBPUSD chart and adds indicator_2 to that chart using ChartIndicatorAdd . The objects in indicator_2 are appeared in EURUSD chart and not GBPUSD. Is it normal behavior? Can I avoid this? long chart_id= ChartOpen
Hi, I created a simple custom indicator to display a ratio between 2 instruments. It's display a line, calcul is ok. But now i want to add an EMA7 on this custom indicator and when i try it display nothing. Could you help me? Thanks in advance :) My code
Obviously, I'm doing something wrong, but I can't see it for the life of me. I'm testing against AUDUSD on a 5-minute chart. (FYI - I name my variables so their types are evident: dVARIABLENAME for double, iVARIABLENAME for integer, s VARIABLENAME for string, etc.) iDfnRngBars = 5; dDgts =
I found a Pivot indicator, that identifies the highest candle among a set or before and after candles. It only marks the position of the pivot candle. This is the same idea of the fractal indicator, with the difference that the pivot indicator is flexible on how many candles on the right and left to
Hi Can someone help me to know which piece of code is causing Zero Divide error, so I can fix it. 2024.03.09 13:30:06.707 login (build 4153) 2024.03.09 13:30:06.722 template file tester.tpl added. 7012 bytes loaded 2024.03.09 13:30:06.725 expert file added: Experts\Algo\EAToTest\TestEA_iVP-v6.ex5
  mql4 to mql5  (4)
i tried to convert this indicator code from mql4 to mql5. mql5 code shows nothing. what is mql5 code problem? mql4 code: //+------------------------------------------------------------------+ //| WelchHMABB.mq4 | //|
Hi All, I wrote the simple indicator. I want this indicator in the separated windows. the first run in OnCalculated function is working correct. But the updated the value is not proper as shown in the picture. It seems it just show the closed value in green. #property indicator_separate_window
Hello, What is the custom tooltip size in MT5? Is it smaller, than in MT4? Is it adjustable? After custom indicator was converted from mql4 to mql5, not all info is displaying in tooltip
Deal Fellows If I used following code to dynamically select Real or Tick volume, is there any known issues? // Automatic selection of Volume Type. If real volume data available, we use it in calculation /* vVol = (appliedVolume == VOLUME_REAL) ? (double)aRate.real_volume : (double)aRate.tick_volume;
Hello, I am creating an indicator that uses HTTP requests in the Oninit() function to perform web authentication. This indicator, which is planned for sale, requires a reasonably strict authentication process. The issue I am facing is that "Oninit() is triggered again when the time frame is changed
Hi I'm looking for an EMA indicator that will be plotted based on RTH hours (i.e 9:00-17:45). Rest of the day without EMA at all. Is it possible to do in MT5? I got something like this in TV but I do not have the skill to transform it to MT5. I need it for real trading so creating a custom symbol is
I have an indicator that needs to gather data from several trading instruments before calculating. It uses OnTimer event to make sure everything is updated. However, if the market is closed and the indicator failed to update all the necessary data before the first (and the only one) OnCalculate...
I want to create a custom indicator based on the signal values obtained from different indicators. I mean the signals that are defined in Modules of Trade Signals like Signals of the Oscillator Relative Vigor Index Is the value of these signals accessible and readable for the dedicated indicator? If
Good day.for years now I have always had a question. Say you make an indicator with 4 buffers and 4 plots. All are set to array series true And wen you compile without assigning any values to the buffers, they will be ploted
Hello people, while working with some indicator system I experienced a misrepresentation of the values. More exactly: the custom indicator consists of 7 buffers being used for 4 plots. First I have a fast ma and a slow ma, which are being drawed normally as lines Secondly their data is copied to a
Hey all, I have developed a function to plot prices of interest - however it uses ObjectCreate() which does not visualise nicely when backtesting, so I am in the process of creating it as an indicator. The problem is that the number of prices/levels it returns is variable depending on its
trying to count total number of trades closed. but it shows twice the number for each trade. one when it opens and one as it closes. anyone can help please? int TODAY_TRADES() { datetime CurentTime = TimeCurrent (); datetime PrevTime = iTime ( Symbol (), PERIOD_D1 , 0 ); HistorySelect
Hi, I'm testing some features, and am stuck trying to use data from another indicator using iCustom() The goal is that I want to pass applied price or an indicator handle to iCustom, but in that Indicator it always returns value = 0. My TestMA indicator works without any problem Specifically here, I
hello guys. So I was trying to build an EA that utilises bars of multiple timeframes to gather information for trading. Now i'm struggling with an issue where if I try to run the code on a lower timeframe chart it can't seem to access the adequate number of bars it needs on the higher timeframe
I am trying to code my own triple exponential moving average. Here is what I have: tema1ema1 = MathMean(typical); //typical is an array for the last 20 bars where 0 is the most recent for ( int i= 1 ;i< 20 ;i++) { tema1ema1 = typical[ 19 -i] * . 0952 + tema1ema1 * . 948 ;
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