Hi friends, I am doing a multisymbol indicator that is already working OK for two symbols that have the SAME market hours. My problem is for multi symbols with different market hours. At first I want just to plot the close price of the second symbol in a separated screen, but later on I want to
hi I want create MACD Classic in MQL 5. in this macd the signal line also should the create with Mode_EMA. (all of other indicator i find the Signal line in sma mode and can not be changed). My entire code is like below. I do not have the syntax error, But the indicator not run. please help
in Indicator Data window,the numbers (after dot) show bunch of zeroes: i need to be shown there only 2 decimals after dot. used this function , but still doesnt help, there are still ZEROes shown... double RoundNumber(double number, int digits) { number = MathRound(number * MathPow(10, digits));
Dear Traders, How do i create such indicators on the top screen shown in the screen shot? The one i have is for MT4. wanted to incorporated in MT5 kinda doing mapping and got tired to kept selecting the text button. wanted to establish a custom wording for my analysis. can any one help please
--------------------------------------------------------------+ //| adx screener.mq5 | //| Copyright 2023, MetaQuotes Ltd. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2024, MetaQuotes Software Corp." #property
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
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
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
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
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
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
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

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.