Technical Indicators - page 4

I need someone who can guide me on how to code indicators or who can teach me mql5 coding language. I tried to do some searching but I can't get the simple and fast way as a beginner. Thanks in advance for anyone who can give a helping hand
Hello ALL I have created CIndicatorBase, CiMA.mqh and iMA.mq5. The challenge I am facing is as how to use Moving Average Functions for calculating MA on a single Index. I have populated custom price array (for input to the function) for required number of bars needed for MAPeriod. I have tried to
Hi, I am just starting developing in MQL5, I am usually developing Pine Script Strategies. As a learning purpose, I am intending to replicate an Ichimoku EA I have developed in pine script. In my Pine Script EA I am merging the Kijun-Sen & Tenkan-Sen the following way : Pine Script 5 // Smoothing
Hi everyone, I created an expert advisor that loops among all open charts using MQL5's ChartFirst() and ChartNext() functions. The code is organized as follows: GraphId=ChartFirst(); while (GraphId > 0) { GraphSymbol=ChartSymbol(GraphId); // (process graph) GraphId=ChartNext(GraphId); } However, for
[Deleted]
  Multi Timeframe Indicators  (12250   1 2 3 4 5 ... 1224 1225)
Hi all, I've been wanting to have the ability to plot indicators from different timeframes on my chart, but MT doesn't have this capability built in. (Does anyone know of any charting programs that do this natively?) As an example, if you're following the IWCR system, it'd be nice to be able to plot
Hi Traders/Devs, I am trying to create quite a complex indicator that pulls data from the 28 major pairs and I keep getting error 4806 when I try to copy the handle data to the buffer, can you see what is wrong? Pairs is an array with lists of pairs, in this case I tried to get the RSI value for all
Dear all, I created the code for the indicator below, whose objective is to show a theoretical value for the minidollar (WINFUT, which is the USDBRL symbol) depending on the variation of the minidollar (WDOFUT, brazilian main index symbol). The rationale is: if WDOFUT is falling 0.5% I reverse the
I created a script to show the error. When I tried to run it in the original script, it gave me: Error: <4113> [CHART_WINDOW_NOT_FOUND] ... even if I hard-coded the symbol "USDJPY" ( which appears as the first in the list in my Market Watch window in the terminal), and used "_Period" as the
Hello everyone, I am creating a custom indicator for MetaTrader 5, but I am encountering the following compilation error: 'Backtest Balance Display.mq5' Backtest Balance Display.mq5 1 1 ')' - open parenthesis expected Backtest Balance Display.mq5 39 49 1 errors, 0 warnings 2 1 Purpose of the Code
Hello al, I have this code for an indicator that should display the number of manually opened trades during a particular time span, however it gets stuck to 0. I'm using hedging mode and the orders are opened manually. The script compiles without errors however, the totalTrades is always 0. I'm not
Hey guys, I have the following problem and it seem I am not the only one. I cannot change the colors of indicators. I can change text in a text field , but if I double click the color fields, nothing changes. No menu appears. It is with all indicators. What is the solution? Thanks
Hello, How can I, in an indicator, detect when the current bar closes and breaks the current daily high/low? I need to check when a bar closes, if it breaks the daily high/low so far, from the first daily bar to the last bar (not counting the current bar). If I use " iHigh ( NULL , PERIOD_D1 ,0) I
  Pivot indicators  (758   1 2 3 4 5 ... 75 76)
Everything about pivot indicators you may find in this thread. Besides there are some usefull links as well: - how to trade with pivot (manuals) is here . - some trading system based on pivot https://www.forex-tsd.com/forum/trading-systems/1158-pivot-system - pivots, camarilla, high/low etc.... is
I'm working on an custom indicator on the CHART window and there I call the iRSI indicator successfully: I can see all the data and windows in the META-5 main window. My indicator runs in the CHART and the iRSI runs in a separate window and I can see both graphics, my indicator on CHART and RSI in
Hey , I have not yet worked on indicators that much and therefore I'm now facing a problem that might be easy to solve for soeme or does not make any sense. The Indicator Automatic Trendlines paints a candle which fufills certain criteria in a colour. Now I want to create an indicator thats relys on
Hello, I want to use the Heikin Ashi for trailing my stop loss. That is, when i'm in bullish trend if the candle n closes below the opening of the n-2 candle i close the order. Since there is already an HA indicator that has been made can you help me reading this to use it with iCustom ? here's the
I am currently experiencing an issue where the iBarShift function returns a bar position ( pos ) that is outside the expected range when reading date and balance data from a CSV file. Specifically, the bar position often exceeds the actual number of bars. This results in the balance value not being
Been attempting to convert this indicator from proRealTime to mql5 but running into issues with specifically duplicating the AMA to plot higher and lower. There is obviously a way to specify a price for the MA to be plotted but I can't figure out how exactly. The inputs are the same so it should be
Hey buddies, I am looking for code to get 1st 1 Hour candle High and Low for MT5 chart. I am very much new for MT5 coding. Thanks in advance. Rajiv
Hello How can I make the text bolder/thicker on the label? I use this code: string idxLabel="hello";ObjectSetInteger(0,idxLabel,OBJPROP_COLOR,clrBlack);ObjectSetString(0,idxLabel,OBJPROP_TEXT,"Text");ObjectSetInteger(0,idxLabel,OBJPROP_FONTSIZE, 10);ObjectSetString(0,idxLabel,OBJPROP_FONT
Good morning I am developing for my codes, all the smoothing for the moving averages. So how do I say I'm head in the formulas I don't have much to say about the averages SMA, EMA etc. But here I am on the VEMA The Volume Weighted Exponential Moving Average (VEMA) is a moving average that places
  Need help indentifying indicator  (2706   1 2 3 4 5 ... 270 271)
sisi: Hi,Mr. Guru could you please help me to constantly refresh an ea after each tick movement. I have tried everything, But I just can't make it refresh constantly. What lines of code must I insert to keep an ea and indicator refresh after every tick? Tnx I hope you could attach your EA so...
I want to bind trendlines horizontal lines vertical lines rectangle like the cross cursor (ctrl + f) thank you
Good morning Does anyone know what the formula is used by MQL5? I can't find and there are no formulas missing on Google... I wouldn't want to try them all before coming across them by chance THANKS
Some of you might remember this one : originally it was a part of an expensive system. Than it was coded as dots because of the repainting problems in metatrader. Here is a version for metatrader 5 : slightly changed the look of it (Bollinger bands is drawn as the "shadow" in the background) Also...
I already have the IndicatorRelease statements in my OnDeinit, and I'd expect the terminal to be smart enough to run that function before completely shutting down the test run, but I guess that's a no. I'm testing an indicator that calls 13 iCustom indicators. The terminal finally does a force
I am looking for but cannot find a free or low cost, simple Stochastic indicator which alerts when it crosses overbought and oversold areas? Any help appreciated. Thaks
  I need help  (6)
This is my first post here. Please forgive me for my weak language. This indicator gives you a signal for the next candle and appears at the end of the candle. I want help with it appearing and disappearing on the same candle it appears on and not after it is closed. Is it possible to help me with
Hello Are you okay? I am looking for ideas for developing indicators for the dummies . These codes will be put in CodeBase and therefore free. These codes will be very simple and therefore a very good support to start learning because that's the goal. The beginner, or the confirmed can very easily
I've got an indicator that's very similar to other indicators I've written, all of them running super-simple algorithms (90% of the code or more is just about getting the data in) that calculate the slope of another indicator's values between two bars, a simple Y2 - Y1 for a user-selectable period