Technical Indicators - page 44

  Automatic Validation problem  (21   1 2 3)
Hi I have a mql5 code which get failed at automatic validation process. Same code & logic works for mql4 with no problem. But in case mql5 is showing Tester too long time error in automatic validation page. In general, this indicator takes 2500msc to compile in mt5 as its a 4000+ line of codes which...
Hello Folks, I'm making an indicators that draws Daily Moving average and a horizontal line at the value of the last bar of the moving average I made a boolean variable (switch) for each line to control when both lines should be drawn (when the value of the switch =True then draw the lines on the
Hi, when it comes to trading forex, we want to look for momentum to show us that the pair we are intrested in has any potential movement , I have been all over the internet looking for this simple indicator to show me when the candle has moved from the open price to the close price a certain amount...
Hi. I Have 2 Button on my chart and I want calculate and draw something base on the candles high and low when the button state is true or false. I want use this code in OnCalculate fanction so i can access to high and low of every candles and draw my shapes until the button state is true, but this
Hello dear, I am new mq5 developer. I am trying to convert one good indicator to mq5 but I am facing problems. I attached the equivalence mq4 file. The mq5 file is what I did. Can someone help me please to fix the mq5 file? The label (HH HL LL LH) is not updating when you loaded in the chart Many
Hi! Most of the time, custom indicators will require some basic structure with code that are so common that can be used for ctrl+c/ctrl+v purposes. Up until now, the basic structure I've been using for the OnCalculate is as follows: int OnCalculate ( const int rates_total, const int
Hello to the forum I recently learned the mql5 programming language. I needed to create a Hall Moving Average indicator with the ability to adjust the average type. I made it with difficulty, but the indicator does not draw the next points after the first candlestick. Can anyone help me
[Deleted]
Dear Members and Administration of Forum 22-03-2012 on one of the Western Forex forum there was placed during one day screenshots of indicator, which is able to predict price movement on 1H charts (and any others!!!) up to 12 bars upfront... During the trading (22-03-2012) day we published our...
I have a very simple indicator I would like to MQL5 but, I don't know MQL5. Are there any people who can help me with this or, will I need to study a tutorial to learn
Hi guys, i'm trying to convert an indicator from mt4 to mt5 i managed to solve all error, and compiled the code, but when i attach the indicator on chart i get a blank indicator window could you plz help me .. it's really urgent and important for me, Thanks in Advance #property copyright ""
I am trying to make an indicator that will be used to plot accordingly with the timeframe chosen by the user. Example: the indicator has 2 buffers, one to plot a line according to the chart timeframe, and another to plot a line according to which timeframe the user choses. Let's say he choses a H1
Hi, is possible to draw with an indicator, candles with more than one color? Like this Is so, any piece of sample code? Thank you
[Deleted]
Hello, is there a more elegant way to limit the number of bars for calculation , for both counting up and counting down  ?  i.e //---- main indicator calculation loop   for(bar=limit; bar>=0 && !IsStopped(); bar--)     {    if (bar >= MathMin(3-bar, rates_total-1-50)) continue; Please suggest,...
Hello, I have an indicator that displays messages. I would like a sound instead. So I replaced this if (SoundON== true && i== 1 && CrossUp[i] < CrossDown[i] && alertTag!=Time[ 0 ]){ Alert ( "EMA Cross Trend going Up on " , Symbol (), " " , Period ()); alertTag = Time[ 0 ]; }
I have an object OBJ_VLINE (vertical line) on chart with name "vline" with datetime 2021.06.08 00:00:00 I see I can not use ObjectGetTimebyValue as it does not support OBJ_VLINE So how can i get datetime value of OBJ_VLINE
What's the difference in the indicators listed on https://www.mql5.com/en/code/mt4/indicators vs https://www.mql5.com/en/market/mt4/indicator/free? Are the same indicators listed in both places or are the "free" market indicators just lite or demo versions of a "pro for purchase" version
[Deleted]
Dear Members My indicator is in Indicators\Final Version\iFx VW_3EMAs.mq5 There is a file MQL5 \Experts\AKTAdvisor\Auxiliary\Enums.mqh , which I want to include into the Indicator. How can I define this path as file is in Expert Folder and not in Indicators Folder ? #include "C:\Users\Anil
Hi Everyone, I am currently looking for a viable - non repainting (HP filter is a repainting indicator) indicator that would leave same (or very similar) data as the Hodrick prescott filter. Could anyone help me with my search? I have already gone through a couple hundred indicators, none of which
Does anyone have ffcal indicator update I use this indicators in my EA. It give this error. My EA not read data. If you have any working new ffcal indicator Drop here. thanks
Hi i have 21 indicator line . I want show entire some of them and 4 of them only show the 0 to 9 of the buffer. how can i do it? I know for showing entire line we should use this code: int bars = rates_total- 1 ; if (prev_calculated> 0 ) {bars=rates_total-(prev_calculated- 1 );} for ( int
CopyBuffer only copy INDICATOR_DATA buffer not copy INDICATOR_CALCULATIONS buffer ??? is that right ?
  Spread Indicator  (27   1 2 3)
Hi traders, several times traders from forums ask if there is an indicator simply showing the current pair's spread. I already programmed such an indicator for my own use and decided to contribute it to the community. Feel free to comment! By the way, it's also posted @ codebase.mql4.com Indicator...
I am trying to make a very simple indicator. I just want to see if the last candle of each period is a bear or a bull. I want to represent it with dot (red or blue). But this does not work. I don't see anything on the indicator. IOpen and IClose does not work. I get this error (ERR_HISTORY_NOT_FOUND
Hello, I have an EA that I added an indicator codded to it. When running the EA, the indicator opens in a separate window from the main chart. I would like to know if there is any way to disable the possibility of the user right-click on the Indicator screen, and change the parameters there. (Not
Hi Everyone, I recently stumbled onto a very particular old indicator (Hodrick prescott filter - attached) - the historical data it leaves is working extremely well with my other indicators for the gold market, however the indicator has one very serious problem - it is a repainting indicator (the
Hi, I have plan to feed custom timeframe like 45 minutes to indicator and get output. lets say Heiken-Ashi. Can you show me an standard method to do this. just a hint is more than enough thanks. int handle = iCustom (_symbol, PERIOD_M45, "\\Indicators\\Examples\\Heiken_Ashi" ); double buffers[];
Hi i write an Indicator that Draw to many rectangle objects on main chart. i want delete all the rectangle after close my indicator. I use this code but the object not remove and remain on chart void OnDeinit ( const int reason) { int qq= 0 , if (reason == 1 ) { while ( ObjectFind (
I've been working in oscillator based strategies for a long time but the result is always the same, when the volatility appears the oscillators just can't lead the price and this could happen at any hour so the time filter may help but doesn't seem to be enough. The main logic is to try ADX but it's
I GIVE YOU THE ULTIMATE TOOL FOR IDENTIFYING TRENDS AND RANGES! Interpretation: While price is Black - price is in range. When price turns Greentrend is present. Change 'Length' to control the sensitivity of the indicator. Download here.
Hey I was researching something and realized that I would want to export all the settings in the market watch window to a CSV file for a given server platform. When you go to Market Watch window and Right Click on an instrument, and press specifications it brings up a small window with information