Technical Indicators - page 20

On tradingview, there's a script called Bollinger Bands With User Selectable MA On mql5, have there been any articles on an MT4 indicator in which we can use Bollinger Bands based on WMA/LWMA, HMA, etc? I recently found an article on EMA-based BB https://www.mql5.com/en/code/20902 How about the
Hello Friends Please I'm working on an indicator that is supposed to draw_filling on the chart just like a rectangle. Its not working. I tried rectangle create with thesame calculations and it works perfectly. Please help me look into my code
Hello all, I trying to build indicator relax with sessions open and close. Input time setting is UTC, so i need to convert each time[i] (broker time) to UTC time. My ideal is hourshift=( int )( TimeCurrent ()- TimeGMT ())/ 3600 ; Print ( "hourshift: " ,hourshift); or MqlDateTime tc,tgmt; TimeCurrent
Hello i tried to get some indicator data of a Regression Indicator (Code Below) i tried to get the color and the value in this case valc and val , i tried variations like iCustom(NULL,0,INDICATORNAME,0,1) but it doesnt work. thx for help
  MT5 chart grid  (16   1 2)
Hello all. Please, is it possible to access the values that appear to the right of the grid matching chart ? If yes, can you give me an example ? I want to use it in indicator
Greetings Fellows I have created a custom indicator to display tick volume as histogram and average volume as line. The indicator is drawing the histogram but not the line. Data Window though shows both values are calculated. Screenshot and Code attached. Any clues what I am doing wrong will highly
lets say i want to add the BB indicator to my chart using my indicator code everytime i change timeframe , another instance of the indicator BB is added again and again what am i doing wrong ? here is part of the code int bbhandle ; int OnInit () { bbhandle = iCustom ( _Symbol , _Period , "BB"
Hello developers, I have MTF CCI indicato. I need one modification. I want to add color fill option between the levels. i.e. I want to fill blue color between +100 to -100. Can someone help me in this regard? Thanks.
Hello, I coded what was supposed to be a simple indicator to add specific indicators to the chart, unfortunately when I change the period or timeframe of any of the indicators, it duplicates, I checked on the forum for a solution and was told to add the indicators in the OnInit, I have done so but
//--- input parameters input int minRangePips = 200 ; // Minimal range in pips input int maxRangePips = 500 ; // Maximal range in pips //--- indicator buffers double BuyBuffer[]; double SellBuffer[]; //+------------------------------------------------------------------+ //| Custom indicator
Which master has this indicator
Hi Everyone, I want to apply kijunsen of Ichimoku for iEnvelope instead of close price double ichimokuHandle = iIchimoku ( m_symbol . Name (), Period (), Inp_tenkan_sen , kjLength , Inp_senkou_span_b ); But in this line, I don't know put anything in ??? iEnvelopes ( m_symbol . Name (), Period (), 10
[Deleted]
I am trying to make Renko work like tradingview with same settings on both MT5 and tradingview but its not plotting same as tradingview, What modification would be needed for it? Link for tradingview renko formula (tradingviewdotcom/support/solutions/43000502284-renko-charts/) Source code attached
Hello everyone, I'm struggling finding a way to write the code for a custom indicator based on volumes where there's an EMA that is calculated based on the volumes of the volumes indicator, hope I was clear with my request! If you can provide the code I'll be the happiest man alive! thanks a lot for
Comments that do not relate to the " Learning the code syntax ", have been moved into this topic
#property link "https://www.mql5.com" #property indicator_chart_window #property indicator_buffers 2 #property indicator_plots 1 #property indicator_label1 "mColorLine" #property indicator_type1 DRAW_COLOR_LINE #property indicator_color1 clrRed , clrGreen , clrGray , clrBlue #property
[Deleted]
The Erros i get when I try to validate the indicator "© IG" before the upload i get "Validation state: Validation completed with errors " are the following: test on EURUSD,H1 (hedging) CR 0 22:20:06.527 Core 1 2020.05.04 01:00:00 Alert: Tester - © IG / EURUSD « H1 » ( SELL = 1.09705 ) IN 0
Hi, if I draw more than 59 lines in the chart, and I want to eliminate those objects specifically when the OnDeinit () function is activated (when the profile is changed or when the terminal is closed) it only deletes 59 objects. As I use a random variable to define the name of the object, in the...
Hi, I have a custom indicator, which currently plots onto a chart by using _Period. What I want to do is have one instance of the indicator calculated on PERIOD_H1 and another instance of the indicator plotted on PERIOD_D1. I want both indicators to be shown on a 1hour chart. As you...
Hi everyone, I'm looking for a solution regarding two different Ichimoku indicators build into MT4. One is called ichimoku kinko hyo and it's embedded into MT4 and not editable. The other one is open source that comes with MT4 and anyone can tweek it's code. The problem is that both of them behave
Hi guys I'm so thankful for the work that coders are doing for us honestly i don't have money 😭 I'm kindly asking for help, please i attached a picture, please view it, it's well labelled where the arrow should appear on the main chart when the colour changes on the itrend indicator in window 1
Hi guys, Could you help in fixing this error. The error is in ( input(title="Naked Forex - Kangaroo Tail & Big Shadow Indicator", overlay = true) i keep getting declaration without type. //+------------------------------------------------------------------+//|
i am trying to code the indicator Momentum, this Momentum Indicator isn´t the same as the Metatrader Momentum indicator. //+------------------------------------------------------------------+ //| ADX.mq5 | //| Copyright
[Deleted]
If in 200 visible bars of history, there are 10 bullish engulf pattern, and in these 10 patterns, 5 are those patterns where low of bullish engulf is broken by close of a bear candle so how can I write a loop to show only those patterns where low is not broken by close of candlestick in the visible
I have some simple problem: I draw a moving average through a custom indicator buffer on the chart. The problem is that is covers price bars, which I don't want. What can I do to prevent that indicator from being in the foreground
Hi guys, i'm new here and I am new in forex trading. I am using rsi and bollinger bands as my primary indicators. I buy if the the price hits the lower band and the rsi hits 30 or below. I sell when the price hits the upper band and rsi hits 70 or above. is there any other way to tell when to buy or...
As the title says, I am looking for suggestions on a good exit indicator for trend trading. Please link to codebase
  Camarilla  (32   1 2 3 4)
Camarilla indicator. And an other camarilla (camarilladt2) created by DanielTyrkiel. All the description here: https://www.mql5.com/en/forum/173143
Due to the horrendous state of the MT5 Toolbox I'm looking to make an indicator that can act as an alternative. The Trade, History, and Calendar tabs should be easy enough. That data can all be accessed readily as far as I can tell. The problem lies with a couple of the other tabs I'm interested
In Zigzag indicator . What mean of ExtDepth, ExtDeviation ,ExtBackstep ? thank you