Technical Indicators - page 8

Hi, I have an indicator which prints alternatively on the chart, that is if one buffer has a value the other one has an empty value. Values are printed till the second last bar (current bar 0 is the rightmost bar), only when a new bar appears on the chart. The indicator works properly till the next
  MTF Arrows:  (4)
Hello I tried to make an arrow indicator to be multi timeframe and used the tutorial from the codebase about Multi timeframe indicators. Unfortunately, when I changed timeframe from current, the indicator returns the error "Array Out of Range". Please how can I solve this? Kindly assist. Here is the
Hello guys, This is my first time using MQL 5. But the goal for this indictor is just checking the `current value vs the previous` to determine the color coding for the BB Lines ( Middle, Upper and Lower ). Currently the only way I was able to make progress was using the COPYBUFFER to get some
Hi everyone, I (mis)use the Fibonacci tool by either changing the values to use it to estimate risk/reward, or changing the values to use my own retracement and target values. Switching between the two sets of values every time is annoying though. Is it possible to duplicate the internal Fibonacci
Hi, Is anyone else working or experienced in advanced metrics? I have generated some analytics (that can analyse signals on this platform based on being able to export the historical trade data) that include metrics like: gain per volume: normalising gains (e.g. what % gain per 0.01 lot
Hi, I'm making an indicator with the option to display COLOR_LINE or COLOR_CANDLES. Everything goes 100% if I load the indicator and choose the desired mode (COLOR_LINE or COLOR_CANDLES), but if it is already loaded and running and I try to change its DRAW mode, all of the indicator buffers
Dear Fellow I am looking to add transparency to chart objects such as rectangle / triangles as achieved as shown in the Example.png for Butterfly pattern. I have come across https://www.mql5.com/en/articles/1341 and https://www.mql5.com/en/articles/4575 articles but not sure if they will be help
Hello! Is there an indicator that would show how much the percentage increased or decreased for each forex candle at every timeframe
Hi coding expert friends, Please help to combine 2 RSI in ONE Indi like attached picture. Thanks, anton
Hello, Could you please add shortcut to deselect all objects on chart in MT5? This could be really helpfull. Best regards, Pawel
[Deleted]
When i code an indicator it blocks the candlestick tooltip so i find inconvenient to read OHLC info as it does not work for OHLC but it shows indicator occupied info So how can i remove showing any info overridden by indicator and continue showing default tooltip on each candles
Hello, before suggesting me to search I already did search on the market and on google. I'm looking for an indicator that places a line every 5 pips in the chart for mt5. I'm able to do this on Tradingview but not MT5 and I'm trying to only use metatrader for better execution because I often find my
I feel stupid. The Copy Buffer is the wrong way around.. But why? In Copy Buffer.png Attachment , you can see the Moving Average for the second last candle , should be [2]. In the top left corner , you see the comment. The first, which is the same value, is the array position [0]. Code: int OnInit
What is the code to get the Moving Average indicator value
I searched everywhere in the documentation but didn't find a clear information about this: How does Metatrader 5 exactly handle the Chart ID? Are they numbered from 0 to 999? and what happens with the ID of chart number 1 if I close the chart number 0? does the chart 1 turn in to 0? And what is
Hi guys! I'm trying to code a simple indicator that identifies a pattern of 4 bullish/bearish candles in a particular order and whenever it finds one of the 3 patterns, it should set a buffer for buying/Selling at the Close price of the last candle, drawing arrows. But I can't make it work and I
Hello guys and girls, I'm trying to build an Indicator and please find the part of the code below I'm finding problems with. Hope you can help! The 2 errors are copied below the script. int OnInit () { // Link buffers with indicator data SetIndexBuffer ( 0 , currentBidBuffer, INDICATOR_DATA );
Hello and Thanks for your time to look at my post. I have tried a lot of different approaches to plot a simple arrow when bb middle line is above ma 200 and vice versa but It did not work or even plots. I hope you help figure out what I am missing Thanks
Hi, I have a question regarding MQL5 and stocks. Is there a way to make Financial indicators using MQL5 like ordering the companies based on the profitability or Net income. Many thanks
In one of my indicators, I am using the command ObjectSetInteger(0,name,OBJPROP_TIME,1,TimeCurrent()); to automatically extend an existing trendline up to the current time. Unfortunately, the slope is changed in the process, rendering the trendline unusable or requiring manual correction. Is this
Hello guys, i'm new to mt5 coding i am currently working on creating a system, does any one has an idea how to create a template or indicator that paints 1. Any TWO consecutive buy candlesticks a certain color 2.Any TWO consecutive candles red a certain color All other candles will not be affected
Hello, I am attempting to create an exponential moving average indicator but i am having an issue with the performance. I am using tradingview.com with the indicator "deloreanEMA" it has 5 EMA indicators. sample of 5, 13, 50, 200 and 800. The 15 minute chart below shows what the ema indicators look
I try to add heiken Ashi price close handle in IMA. But i don't know how to do. For example like this : ha = heikinashi(tickerid) ha_close = security(ha, res, close[1]) ma = ema(ha_close[1], 30) Thank you all
Hi, I'm trying to port ATR function with RMA smoothing from mt4. Code I have is below. I'm getting '{' - function definition unexpected ATR-RMA.mq5 108 3 error but can't find out why? I double checked { } and looks ok. I new to MQL5, have very small experience in MQL4. Could anyone help me solve
Hi all, Is it possible to send the horizontal levels in an indicator window to the background? It seems by default they show on top of the indicator. I'd like the indicator value to be on top and the horizontal in the background. I don't think this is possible, but wanted to check. TIA. Rob
[Deleted]
My code : int lowestbody_index= iLowest ( NULL , 0 , MODE_CLOSE , 50 , 1 ); It returns the index of Lowest Close but its a bullish candle, I am only interested if candle is bearish, How can i solve this
Hello, is it possible to show a chart of another symbol (same period) in the sub window? I want to see correlations and compare both symbols this way
I am new to MQL5, so as far as know, there are two types of indicators, one is a built-in indicator like `iMA` function, another is the custom's indicator which should be created by the trader themselves within a separate indicator file. My target is to show these two types of indicators onto the
hello everyone i have been receiving wrong values of an indicator when calling a custom indicator using the iCustom function as it gives me huge values not corresponding to the indicator ...anyone to offer assistance please
#property indicator_chart_window #property indicator_buffers 3 // Increase buffers to 3 #property indicator_plots 3 // Increase plots to 3 #property indicator_label1 "Daily open line" #property indicator_label2 "Above Open line" #property indicator_label3 "Below Open line" #property