Hello. I have searched everywhere but except some samples I found on Metatrader I couldn't find any tutorials or something about implementing Indicators & Experts based on Standard Library . To be exact, there is a way to create an indicator that inherits from the CIndicator class. Also, there is a
extern string font_name = "Arial" ; // extern int font_size1 = 10 ; // extern int font_size2 = 9 ; // extern int labs_corner = 1 ; // extern int labs_xdist = 5 ; // extern int labs_ydist = 10 ; // extern int
Hi, How do you run WebRequests from an Indicator on a MT5 running on MacOS? It seems to me that since Metatrader 5 doesnt have a native MacOS application and its using a WINE instance that the port forwarding doesnt work out of the box. I have tried forwarding ports to Wine using socat and enabled
I have drawn a trend line in the bellow chart. I want to know the angle of this trendline so I can use it to trade based on some other conditions. but I don't know how to calculate it. do you have any idea how to do this. I don't need you to code for me. give me an idea how to do this. Your help is
Hey does anyone know why this zigzag indicator is behaving like this. Not marking proper swings? shown by red arrows. zigzag values are - 7,5,3 timeframe 5 minute is there any solution to avoid this fake swings or weird swings
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, I have been looking for an MT5 indicator which would give an alert when price crosses upper or lower bollinger band. The alerts i prefer are an arrow/dot on the chart, pop up and an push notification. Something like this famous MT4 indicator BolliToucher would be ideal. <advertising...
Hello, I need to have the same exact indicator named envelops that exists on the Metatrader 5 platform , please how do I get it
Hey guys, I've got a question regarding CopyClose where I copy close prices from a VIX symbol (e.g. UsaVixMar25) into the current chart (e.g. Usa500). Here's my customized ComputeBuffers method: int CVix::ComputeBuffers( const int rates_total, const int prev_calculated, const datetime &time[]
I got my indicator published but not searchable on MQL5, please what could I have got wrong? Thanks in advance
Hello, MetaTrader 5 Team and Community, I would like to suggest a new feature that would improve the charting experience in MT5: the ability to lock drawing tools (trend lines, horizontal & vertical lines, Fibonacci tools, etc.). Currently, when drawing a line near other objects, it is easy to
I tried bellow code, nothing is happening. When I check object list, arrow object has created but it's not visible anyway in the sub window no matter how. the object's time coordinates are always showing as 1970.01.01 not matter how I try to set it to the current date time. the arrows I'm trying to
I set out to do a practice conversion to convert a more tedious MQL4 indicator to MQL5. This wasn't for anything other than practice, and because I'm focusing on MT5 now. I thought, maybe I can do it in 30 minutes... but no, this wasn't the case at all. I have tried numerous times to convert it
Hi, I'm trying to get a draw line to change colours - green when the line has a positive slope, red when the line slope is negative. What I'm trying to achieve is essentially a multi coloured line drawn over the candles to indicate the change in a value over time. I've tried both the DRAW_LINE and
Can anyone create a modified Heiken Ashi indicator that is based on a moving average instead of raw price data? Basing the Heiken Ashi on a JMA, T3 or Hull Moving average filters out whipsaws and makes the indicator extremely effective at pinpointing turning points. Almost too good to be true. The
if the chart height is 250 pixels and width is 450 pixels when my indicator applies to the chart, I want my indicator to resize the chart height to 450 pixels and width to 720 pixels. How can I achieve this? I have tried to do this way, but nothing is working. it is possible to resize the chart size
Hello. Are the buffer codes of all indicators that give buy or sell signals the same? For buy, the buffer number is 0 and for sell, it is 1? Because I want to automate the suggested signal of a strategy that tells the direction of price movement with up and down arrows
I wanted to create a text object to measure the "power" on the last histogram bar for the bears power and bulls power indicators. It seems that there are no issues with the placement of the text object if I load one single indicator on the chart (either bulls or bears). Chart with only bears
I don't why the lines are distorted when there is re-connection of the terminal, can someone please help me out. //+------------------------------------------------------------------+ //| Custom indicator iteration function |
last 2 lines in this code, Tow almost identical IF condition. The first draw candles in one color which is not the required output. The second if you removed the remark "//" will show candles in 2 colors The task simply is to show the first 5 candles in different colors. What can I do? Thank you
doing a visual test on h1 and the system loads up to 01.01.2024 always. The indicator needs more past data available in order to be tested properly. Is this possible ? Thanks
How To Convert MT4 indicator file to MT5
Hi In all indicators, I'm unable to change colors that can normally be changed. I can change other parameters, but not the colors... Any idea why colors fields don't react when I click on them ? Wil
Hey guys, I made a small indicator which shows inside candles. Now I want to check if the candle's close is above or below the open price and I want to change the color of the dot accordingly. I know how to do this with two buffers but I want to know if it's possible with one buffer and how I could
[Deleted]
Hello MQL5 Community, I would like to know if there is any risk reward indicator for download in Metatrader 5, or a way to calculate the risk reward ratio easily without having to compute it manually. Please let me know :)
Hello Coders, I am using MACD Oscillator which Envelope insteads of MA line in MT4 platform. Currently, I want to continue using this Oscillator in MT5 but I don't know how to code Envelope-On-Array with MQL5, I hope Coders will guide me to code this tool with MQL5, thank you
Hi, I copied a Donchian channel indicator from online resources. I want to plot the Upper and Lower at US market open. The values should only change at US market open. Then remain the same value after 16:30(IC market server time at US open). But I failed to do so. #property indicator_chart_window
Hello, I'm developing a Bollinger Bands indicator with sound alerts, and I'm facing an issue with custom sound playback. Issue: 1. In MT5's default price alerts (Tools > Options > Events), we can select and play ANY .wav file from the Sounds folder 2. However, in my custom indicator , I can only
I am relatively new to metatrader and have written the attached indicator(EMA_slope-v1.3.mq5). It seems to be ok when running as an indicator, but the performance seems poor when running against a strategy. Can someone give me some advice on how to improve the performance of this
Hi there, I'm just curious as to how to proceed with calculating the EMA for a LinearRegression calculation. So I have adopted a LinearRegression from mladen (credits to the owner). And this seems to be working, what i wish to do next is to calculate the EMA of the resulting LinearRegression. Below
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.